@kombo-api/sdk 1.0.1 → 1.0.2

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 (319) hide show
  1. package/README.md +7 -3
  2. package/esm/funcs/assessmentUpdateOrderResult.js.map +1 -1
  3. package/esm/funcs/atsAddApplicationAttachment.js.map +1 -1
  4. package/esm/funcs/atsAddApplicationNote.js.map +1 -1
  5. package/esm/funcs/atsAddApplicationResultLink.js.map +1 -1
  6. package/esm/funcs/atsAddCandidateAttachment.js.map +1 -1
  7. package/esm/funcs/atsAddCandidateResultLink.js.map +1 -1
  8. package/esm/funcs/atsAddCandidateTag.js.map +1 -1
  9. package/esm/funcs/atsCreateApplication.js.map +1 -1
  10. package/esm/funcs/atsGetApplicationAttachments.js.map +1 -1
  11. package/esm/funcs/atsGetCandidateAttachments.js.map +1 -1
  12. package/esm/funcs/atsGetRoles.d.ts +25 -0
  13. package/esm/funcs/atsGetRoles.d.ts.map +1 -0
  14. package/esm/funcs/atsGetRoles.js +125 -0
  15. package/esm/funcs/atsGetRoles.js.map +1 -0
  16. package/esm/funcs/atsMoveApplicationToStage.d.ts +2 -1
  17. package/esm/funcs/atsMoveApplicationToStage.d.ts.map +1 -1
  18. package/esm/funcs/atsMoveApplicationToStage.js +2 -1
  19. package/esm/funcs/atsMoveApplicationToStage.js.map +1 -1
  20. package/esm/funcs/atsRejectApplication.js.map +1 -1
  21. package/esm/funcs/atsRemoveCandidateTag.js.map +1 -1
  22. package/esm/funcs/connectGetIntegrationByToken.js.map +1 -1
  23. package/esm/funcs/generalCreateReconnectionLink.js.map +1 -1
  24. package/esm/funcs/generalDeleteIntegration.js.map +1 -1
  25. package/esm/funcs/generalGetCustomFields.js.map +1 -1
  26. package/esm/funcs/generalGetIntegrationDetails.js.map +1 -1
  27. package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
  28. package/esm/funcs/generalGetTools.js.map +1 -1
  29. package/esm/funcs/generalSendPassthroughRequest.d.ts +18 -5
  30. package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
  31. package/esm/funcs/generalSendPassthroughRequest.js +18 -5
  32. package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
  33. package/esm/funcs/generalSetIntegrationEnabled.js.map +1 -1
  34. package/esm/funcs/generalUpdateCustomFieldMapping.js.map +1 -1
  35. package/esm/funcs/generalUpdateIntegrationField.js.map +1 -1
  36. package/esm/funcs/hrisAddEmployeeDocument.js.map +1 -1
  37. package/esm/funcs/hrisDeleteAbsence.js.map +1 -1
  38. package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts +0 -2
  39. package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts.map +1 -1
  40. package/esm/funcs/hrisGetPerformanceReviewCycles.js +0 -2
  41. package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
  42. package/esm/funcs/hrisGetPerformanceReviews.d.ts +0 -2
  43. package/esm/funcs/hrisGetPerformanceReviews.d.ts.map +1 -1
  44. package/esm/funcs/hrisGetPerformanceReviews.js +0 -2
  45. package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
  46. package/esm/funcs/hrisGetStaffingEntities.d.ts +33 -0
  47. package/esm/funcs/hrisGetStaffingEntities.d.ts.map +1 -0
  48. package/esm/funcs/hrisGetStaffingEntities.js +134 -0
  49. package/esm/funcs/hrisGetStaffingEntities.js.map +1 -0
  50. package/esm/lib/config.d.ts +3 -3
  51. package/esm/lib/config.js +3 -3
  52. package/esm/lib/config.js.map +1 -1
  53. package/esm/lib/encodings.d.ts.map +1 -1
  54. package/esm/lib/encodings.js +20 -5
  55. package/esm/lib/encodings.js.map +1 -1
  56. package/esm/lib/files.d.ts +13 -0
  57. package/esm/lib/files.d.ts.map +1 -1
  58. package/esm/lib/files.js +18 -0
  59. package/esm/lib/files.js.map +1 -1
  60. package/esm/lib/matchers.d.ts.map +1 -1
  61. package/esm/lib/matchers.js +0 -1
  62. package/esm/lib/matchers.js.map +1 -1
  63. package/esm/lib/sdks.d.ts.map +1 -1
  64. package/esm/lib/sdks.js +8 -4
  65. package/esm/lib/sdks.js.map +1 -1
  66. package/esm/lib/security.d.ts.map +1 -1
  67. package/esm/lib/security.js +1 -2
  68. package/esm/lib/security.js.map +1 -1
  69. package/esm/lib/url.d.ts.map +1 -1
  70. package/esm/lib/url.js +4 -2
  71. package/esm/lib/url.js.map +1 -1
  72. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -2
  73. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  74. package/esm/models/assessmentorderreceivedwebhookpayload.js +5 -2
  75. package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
  76. package/esm/models/datachangedwebhookpayload.d.ts +7 -0
  77. package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
  78. package/esm/models/datachangedwebhookpayload.js +7 -0
  79. package/esm/models/datachangedwebhookpayload.js.map +1 -1
  80. package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -1
  81. package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
  82. package/esm/models/getassessmentordersopenpositiveresponse.js +4 -1
  83. package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
  84. package/esm/models/getatsjobspositiveresponse.d.ts +67 -1
  85. package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
  86. package/esm/models/getatsjobspositiveresponse.js +36 -0
  87. package/esm/models/getatsjobspositiveresponse.js.map +1 -1
  88. package/esm/models/getatsrolespositiveresponse.d.ts +85 -0
  89. package/esm/models/getatsrolespositiveresponse.d.ts.map +1 -0
  90. package/esm/models/getatsrolespositiveresponse.js +57 -0
  91. package/esm/models/getatsrolespositiveresponse.js.map +1 -0
  92. package/esm/models/getatsuserspositiveresponse.d.ts +61 -0
  93. package/esm/models/getatsuserspositiveresponse.d.ts.map +1 -1
  94. package/esm/models/getatsuserspositiveresponse.js +33 -0
  95. package/esm/models/getatsuserspositiveresponse.js.map +1 -1
  96. package/esm/models/gethrisemployeespositiveresponse.d.ts +12 -12
  97. package/esm/models/gethrisemployeespositiveresponse.d.ts.map +1 -1
  98. package/esm/models/gethrisemployeespositiveresponse.js +12 -13
  99. package/esm/models/gethrisemployeespositiveresponse.js.map +1 -1
  100. package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts +261 -0
  101. package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts.map +1 -0
  102. package/esm/models/gethrisstaffingentitiespositiveresponse.js +143 -0
  103. package/esm/models/gethrisstaffingentitiespositiveresponse.js.map +1 -0
  104. package/esm/models/index.d.ts +2 -0
  105. package/esm/models/index.d.ts.map +1 -1
  106. package/esm/models/index.js +2 -0
  107. package/esm/models/index.js.map +1 -1
  108. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -2
  109. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  110. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +5 -2
  111. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
  112. package/esm/models/komboatserror.d.ts +1 -0
  113. package/esm/models/komboatserror.d.ts.map +1 -1
  114. package/esm/models/komboatserror.js +1 -0
  115. package/esm/models/komboatserror.js.map +1 -1
  116. package/esm/models/kombogeneralerror.d.ts +1 -0
  117. package/esm/models/kombogeneralerror.d.ts.map +1 -1
  118. package/esm/models/kombogeneralerror.js +1 -0
  119. package/esm/models/kombogeneralerror.js.map +1 -1
  120. package/esm/models/kombohriserror.d.ts +1 -0
  121. package/esm/models/kombohriserror.d.ts.map +1 -1
  122. package/esm/models/kombohriserror.js +1 -0
  123. package/esm/models/kombohriserror.js.map +1 -1
  124. package/esm/models/operations/getatsapplications.d.ts +9 -0
  125. package/esm/models/operations/getatsapplications.d.ts.map +1 -1
  126. package/esm/models/operations/getatsapplications.js.map +1 -1
  127. package/esm/models/operations/getatsapplicationstages.d.ts +2 -0
  128. package/esm/models/operations/getatsapplicationstages.d.ts.map +1 -1
  129. package/esm/models/operations/getatsapplicationstages.js.map +1 -1
  130. package/esm/models/operations/getatscandidates.d.ts +8 -0
  131. package/esm/models/operations/getatscandidates.d.ts.map +1 -1
  132. package/esm/models/operations/getatscandidates.js.map +1 -1
  133. package/esm/models/operations/getatsinterviews.d.ts +8 -0
  134. package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
  135. package/esm/models/operations/getatsinterviews.js.map +1 -1
  136. package/esm/models/operations/getatsjobs.d.ts +11 -0
  137. package/esm/models/operations/getatsjobs.d.ts.map +1 -1
  138. package/esm/models/operations/getatsjobs.js.map +1 -1
  139. package/esm/models/operations/getatsoffers.d.ts +6 -0
  140. package/esm/models/operations/getatsoffers.d.ts.map +1 -1
  141. package/esm/models/operations/getatsoffers.js.map +1 -1
  142. package/esm/models/operations/getatsrejectionreasons.d.ts +2 -0
  143. package/esm/models/operations/getatsrejectionreasons.d.ts.map +1 -1
  144. package/esm/models/operations/getatsrejectionreasons.js.map +1 -1
  145. package/esm/models/operations/getatsroles.d.ts +79 -0
  146. package/esm/models/operations/getatsroles.d.ts.map +1 -0
  147. package/esm/models/operations/getatsroles.js +33 -0
  148. package/esm/models/operations/getatsroles.js.map +1 -0
  149. package/esm/models/operations/getatstags.d.ts +2 -0
  150. package/esm/models/operations/getatstags.d.ts.map +1 -1
  151. package/esm/models/operations/getatstags.js.map +1 -1
  152. package/esm/models/operations/getatsusers.d.ts +5 -0
  153. package/esm/models/operations/getatsusers.d.ts.map +1 -1
  154. package/esm/models/operations/getatsusers.js.map +1 -1
  155. package/esm/models/operations/gethrisabsences.d.ts +4 -0
  156. package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
  157. package/esm/models/operations/gethrisabsences.js.map +1 -1
  158. package/esm/models/operations/gethrisabsencetypes.d.ts +2 -0
  159. package/esm/models/operations/gethrisabsencetypes.d.ts.map +1 -1
  160. package/esm/models/operations/gethrisabsencetypes.js.map +1 -1
  161. package/esm/models/operations/gethrisemployeedocumentcategories.d.ts +2 -0
  162. package/esm/models/operations/gethrisemployeedocumentcategories.d.ts.map +1 -1
  163. package/esm/models/operations/gethrisemployeedocumentcategories.js.map +1 -1
  164. package/esm/models/operations/gethrisemployees.d.ts +10 -0
  165. package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
  166. package/esm/models/operations/gethrisemployees.js.map +1 -1
  167. package/esm/models/operations/gethrisemployments.d.ts +2 -0
  168. package/esm/models/operations/gethrisemployments.d.ts.map +1 -1
  169. package/esm/models/operations/gethrisemployments.js.map +1 -1
  170. package/esm/models/operations/gethrisgroups.d.ts +2 -0
  171. package/esm/models/operations/gethrisgroups.d.ts.map +1 -1
  172. package/esm/models/operations/gethrisgroups.js.map +1 -1
  173. package/esm/models/operations/gethrislegalentities.d.ts +2 -0
  174. package/esm/models/operations/gethrislegalentities.d.ts.map +1 -1
  175. package/esm/models/operations/gethrislegalentities.js.map +1 -1
  176. package/esm/models/operations/gethrislocations.d.ts +2 -0
  177. package/esm/models/operations/gethrislocations.d.ts.map +1 -1
  178. package/esm/models/operations/gethrislocations.js.map +1 -1
  179. package/esm/models/operations/gethrisperformancereviewcycles.d.ts +2 -0
  180. package/esm/models/operations/gethrisperformancereviewcycles.d.ts.map +1 -1
  181. package/esm/models/operations/gethrisperformancereviewcycles.js.map +1 -1
  182. package/esm/models/operations/gethrisperformancereviews.d.ts +6 -0
  183. package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
  184. package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
  185. package/esm/models/operations/gethrisstaffingentities.d.ts +93 -0
  186. package/esm/models/operations/gethrisstaffingentities.d.ts.map +1 -0
  187. package/esm/models/operations/gethrisstaffingentities.js +34 -0
  188. package/esm/models/operations/gethrisstaffingentities.js.map +1 -0
  189. package/esm/models/operations/gethristimeoffbalances.d.ts +4 -0
  190. package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
  191. package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
  192. package/esm/models/operations/gethristimesheets.d.ts +2 -0
  193. package/esm/models/operations/gethristimesheets.d.ts.map +1 -1
  194. package/esm/models/operations/gethristimesheets.js.map +1 -1
  195. package/esm/models/operations/index.d.ts +2 -0
  196. package/esm/models/operations/index.d.ts.map +1 -1
  197. package/esm/models/operations/index.js +2 -0
  198. package/esm/models/operations/index.js.map +1 -1
  199. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts +21 -0
  200. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts.map +1 -1
  201. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js +8 -0
  202. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js.map +1 -1
  203. package/esm/models/postatscandidatesrequestbody.d.ts +60 -0
  204. package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
  205. package/esm/models/postatscandidatesrequestbody.js +30 -0
  206. package/esm/models/postatscandidatesrequestbody.js.map +1 -1
  207. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +60 -0
  208. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
  209. package/esm/models/postatsjobsjobidapplicationsrequestbody.js +30 -0
  210. package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
  211. package/esm/models/postconnectcreatelinkrequestbody.d.ts +4 -0
  212. package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
  213. package/esm/models/postconnectcreatelinkrequestbody.js +4 -0
  214. package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
  215. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +15 -0
  216. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
  217. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +9 -0
  218. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
  219. package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts +40 -0
  220. package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts.map +1 -1
  221. package/esm/models/putatsapplicationsapplicationidstagerequestbody.js +24 -0
  222. package/esm/models/putatsapplicationsapplicationidstagerequestbody.js.map +1 -1
  223. package/esm/sdk/ats.d.ts +15 -1
  224. package/esm/sdk/ats.d.ts.map +1 -1
  225. package/esm/sdk/ats.js +16 -1
  226. package/esm/sdk/ats.js.map +1 -1
  227. package/esm/sdk/general.d.ts +18 -5
  228. package/esm/sdk/general.d.ts.map +1 -1
  229. package/esm/sdk/general.js +18 -5
  230. package/esm/sdk/general.js.map +1 -1
  231. package/esm/sdk/hris.d.ts +21 -4
  232. package/esm/sdk/hris.d.ts.map +1 -1
  233. package/esm/sdk/hris.js +22 -4
  234. package/esm/sdk/hris.js.map +1 -1
  235. package/jsr.json +1 -1
  236. package/package.json +1 -1
  237. package/src/funcs/assessmentUpdateOrderResult.ts +0 -1
  238. package/src/funcs/atsAddApplicationAttachment.ts +0 -1
  239. package/src/funcs/atsAddApplicationNote.ts +0 -1
  240. package/src/funcs/atsAddApplicationResultLink.ts +0 -1
  241. package/src/funcs/atsAddCandidateAttachment.ts +0 -1
  242. package/src/funcs/atsAddCandidateResultLink.ts +0 -1
  243. package/src/funcs/atsAddCandidateTag.ts +0 -1
  244. package/src/funcs/atsCreateApplication.ts +0 -1
  245. package/src/funcs/atsGetApplicationAttachments.ts +0 -1
  246. package/src/funcs/atsGetCandidateAttachments.ts +0 -1
  247. package/src/funcs/atsGetRoles.ts +256 -0
  248. package/src/funcs/atsMoveApplicationToStage.ts +2 -2
  249. package/src/funcs/atsRejectApplication.ts +0 -1
  250. package/src/funcs/atsRemoveCandidateTag.ts +0 -1
  251. package/src/funcs/connectGetIntegrationByToken.ts +0 -1
  252. package/src/funcs/generalCreateReconnectionLink.ts +0 -1
  253. package/src/funcs/generalDeleteIntegration.ts +0 -1
  254. package/src/funcs/generalGetCustomFields.ts +0 -1
  255. package/src/funcs/generalGetIntegrationDetails.ts +0 -1
  256. package/src/funcs/generalGetIntegrationFields.ts +0 -1
  257. package/src/funcs/generalGetTools.ts +0 -1
  258. package/src/funcs/generalSendPassthroughRequest.ts +18 -6
  259. package/src/funcs/generalSetIntegrationEnabled.ts +0 -1
  260. package/src/funcs/generalUpdateCustomFieldMapping.ts +0 -1
  261. package/src/funcs/generalUpdateIntegrationField.ts +0 -1
  262. package/src/funcs/hrisAddEmployeeDocument.ts +0 -1
  263. package/src/funcs/hrisDeleteAbsence.ts +0 -1
  264. package/src/funcs/hrisGetPerformanceReviewCycles.ts +0 -2
  265. package/src/funcs/hrisGetPerformanceReviews.ts +0 -2
  266. package/src/funcs/hrisGetStaffingEntities.ts +267 -0
  267. package/src/lib/config.ts +3 -3
  268. package/src/lib/encodings.ts +23 -4
  269. package/src/lib/files.ts +22 -0
  270. package/src/lib/matchers.ts +3 -2
  271. package/src/lib/sdks.ts +7 -5
  272. package/src/lib/security.ts +1 -2
  273. package/src/lib/url.ts +16 -14
  274. package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -4
  275. package/src/models/datachangedwebhookpayload.ts +8 -0
  276. package/src/models/getassessmentordersopenpositiveresponse.ts +5 -2
  277. package/src/models/getatsjobspositiveresponse.ts +100 -1
  278. package/src/models/getatsrolespositiveresponse.ts +167 -0
  279. package/src/models/getatsuserspositiveresponse.ts +97 -0
  280. package/src/models/gethrisemployeespositiveresponse.ts +55 -37
  281. package/src/models/gethrisstaffingentitiespositiveresponse.ts +509 -0
  282. package/src/models/index.ts +2 -0
  283. package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -4
  284. package/src/models/komboatserror.ts +1 -0
  285. package/src/models/kombogeneralerror.ts +1 -0
  286. package/src/models/kombohriserror.ts +1 -0
  287. package/src/models/operations/getatsapplications.ts +9 -0
  288. package/src/models/operations/getatsapplicationstages.ts +2 -0
  289. package/src/models/operations/getatscandidates.ts +8 -0
  290. package/src/models/operations/getatsinterviews.ts +8 -0
  291. package/src/models/operations/getatsjobs.ts +11 -0
  292. package/src/models/operations/getatsoffers.ts +6 -0
  293. package/src/models/operations/getatsrejectionreasons.ts +2 -0
  294. package/src/models/operations/getatsroles.ts +129 -0
  295. package/src/models/operations/getatstags.ts +2 -0
  296. package/src/models/operations/getatsusers.ts +5 -0
  297. package/src/models/operations/gethrisabsences.ts +4 -0
  298. package/src/models/operations/gethrisabsencetypes.ts +2 -0
  299. package/src/models/operations/gethrisemployeedocumentcategories.ts +2 -0
  300. package/src/models/operations/gethrisemployees.ts +10 -0
  301. package/src/models/operations/gethrisemployments.ts +2 -0
  302. package/src/models/operations/gethrisgroups.ts +2 -0
  303. package/src/models/operations/gethrislegalentities.ts +2 -0
  304. package/src/models/operations/gethrislocations.ts +2 -0
  305. package/src/models/operations/gethrisperformancereviewcycles.ts +2 -0
  306. package/src/models/operations/gethrisperformancereviews.ts +6 -0
  307. package/src/models/operations/gethrisstaffingentities.ts +146 -0
  308. package/src/models/operations/gethristimeoffbalances.ts +4 -0
  309. package/src/models/operations/gethristimesheets.ts +2 -0
  310. package/src/models/operations/index.ts +2 -0
  311. package/src/models/postatsapplicationsapplicationidnotesrequestbody.ts +46 -0
  312. package/src/models/postatscandidatesrequestbody.ts +110 -0
  313. package/src/models/postatsjobsjobidapplicationsrequestbody.ts +114 -0
  314. package/src/models/postconnectcreatelinkrequestbody.ts +4 -0
  315. package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +42 -0
  316. package/src/models/putatsapplicationsapplicationidstagerequestbody.ts +74 -0
  317. package/src/sdk/ats.ts +24 -1
  318. package/src/sdk/general.ts +18 -5
  319. package/src/sdk/hris.ts +32 -4
@@ -683,6 +683,17 @@ export type PostAtsCandidatesRequestBodyBullhorn = {
683
683
  job_submission?: { [k: string]: any } | undefined;
684
684
  };
685
685
 
686
+ /**
687
+ * The consent decisions for the candidate. SmartRecruiters supports two consent models: 'Single' (use the `SINGLE` key) and 'Separated' (use `SMART_RECRUIT`, `SMART_CRM`, `SMART_MESSAGE_SMS`, and/or `SMART_MESSAGE_WHATSAPP` keys). When this field is provided, it takes precedence over the `gdpr_consent` field for the `consentDecisions` property. See: https://developers.smartrecruiters.com/docs/partners-post-an-application
688
+ */
689
+ export type PostAtsCandidatesRequestBodyConsentDecisions = {
690
+ single?: boolean | undefined;
691
+ smart_recruit?: boolean | undefined;
692
+ smart_crm?: boolean | undefined;
693
+ smart_message_sms?: boolean | undefined;
694
+ smart_message_whatsapp?: boolean | undefined;
695
+ };
696
+
686
697
  /**
687
698
  * Fields specific to SmartRecruiters.
688
699
  */
@@ -703,6 +714,10 @@ export type PostAtsCandidatesRequestBodySmartrecruiters = {
703
714
  * Fields that we will pass through to the SmartRecruiters's `Candidate` object. This API is used: https://developers.smartrecruiters.com/reference/createcandidate-1
704
715
  */
705
716
  candidate?: { [k: string]: any } | undefined;
717
+ /**
718
+ * The consent decisions for the candidate. SmartRecruiters supports two consent models: 'Single' (use the `SINGLE` key) and 'Separated' (use `SMART_RECRUIT`, `SMART_CRM`, `SMART_MESSAGE_SMS`, and/or `SMART_MESSAGE_WHATSAPP` keys). When this field is provided, it takes precedence over the `gdpr_consent` field for the `consentDecisions` property. See: https://developers.smartrecruiters.com/docs/partners-post-an-application
719
+ */
720
+ consent_decisions?: PostAtsCandidatesRequestBodyConsentDecisions | undefined;
706
721
  };
707
722
 
708
723
  /**
@@ -733,6 +748,10 @@ export type PostAtsCandidatesRequestBodyDvinci = {
733
748
  * Fields that we will pass through to d.vinci's application object. This API is used: https://static.dvinci-easy.com/files/d.vinci%20application-apply-api.html#jobs__id__applyApi_post
734
749
  */
735
750
  application?: { [k: string]: any } | undefined;
751
+ /**
752
+ * Fields that we will pass through to d.vinci's candidate/application payload as top-level fields (e.g., dateOfBirth).
753
+ */
754
+ candidate?: { [k: string]: any } | undefined;
736
755
  };
737
756
 
738
757
  /**
@@ -797,6 +816,16 @@ export type PostAtsCandidatesRequestBodyRecruitee = {
797
816
  candidate?: PostAtsCandidatesRequestBodyRecruiteeCandidate | undefined;
798
817
  };
799
818
 
819
+ /**
820
+ * Fields specific to Rexx.
821
+ */
822
+ export type PostAtsCandidatesRequestBodyRexx = {
823
+ /**
824
+ * Fields that we will pass through to Rexx's application form fields.
825
+ */
826
+ candidate?: { [k: string]: any } | undefined;
827
+ };
828
+
800
829
  /**
801
830
  * Fields specific to Abacus Umantis.
802
831
  */
@@ -930,6 +959,10 @@ export type PostAtsCandidatesRequestBodyRemoteFields = {
930
959
  * Fields specific to Recruitee.
931
960
  */
932
961
  recruitee?: PostAtsCandidatesRequestBodyRecruitee | undefined;
962
+ /**
963
+ * Fields specific to Rexx.
964
+ */
965
+ rexx?: PostAtsCandidatesRequestBodyRexx | undefined;
933
966
  /**
934
967
  * Fields specific to Abacus Umantis.
935
968
  */
@@ -2728,11 +2761,56 @@ export function postAtsCandidatesRequestBodyBullhornToJSON(
2728
2761
  );
2729
2762
  }
2730
2763
 
2764
+ /** @internal */
2765
+ export type PostAtsCandidatesRequestBodyConsentDecisions$Outbound = {
2766
+ SINGLE?: boolean | undefined;
2767
+ SMART_RECRUIT?: boolean | undefined;
2768
+ SMART_CRM?: boolean | undefined;
2769
+ SMART_MESSAGE_SMS?: boolean | undefined;
2770
+ SMART_MESSAGE_WHATSAPP?: boolean | undefined;
2771
+ };
2772
+
2773
+ /** @internal */
2774
+ export const PostAtsCandidatesRequestBodyConsentDecisions$outboundSchema:
2775
+ z.ZodType<
2776
+ PostAtsCandidatesRequestBodyConsentDecisions$Outbound,
2777
+ z.ZodTypeDef,
2778
+ PostAtsCandidatesRequestBodyConsentDecisions
2779
+ > = z.object({
2780
+ single: z.boolean().optional(),
2781
+ smart_recruit: z.boolean().optional(),
2782
+ smart_crm: z.boolean().optional(),
2783
+ smart_message_sms: z.boolean().optional(),
2784
+ smart_message_whatsapp: z.boolean().optional(),
2785
+ }).transform((v) => {
2786
+ return remap$(v, {
2787
+ single: "SINGLE",
2788
+ smart_recruit: "SMART_RECRUIT",
2789
+ smart_crm: "SMART_CRM",
2790
+ smart_message_sms: "SMART_MESSAGE_SMS",
2791
+ smart_message_whatsapp: "SMART_MESSAGE_WHATSAPP",
2792
+ });
2793
+ });
2794
+
2795
+ export function postAtsCandidatesRequestBodyConsentDecisionsToJSON(
2796
+ postAtsCandidatesRequestBodyConsentDecisions:
2797
+ PostAtsCandidatesRequestBodyConsentDecisions,
2798
+ ): string {
2799
+ return JSON.stringify(
2800
+ PostAtsCandidatesRequestBodyConsentDecisions$outboundSchema.parse(
2801
+ postAtsCandidatesRequestBodyConsentDecisions,
2802
+ ),
2803
+ );
2804
+ }
2805
+
2731
2806
  /** @internal */
2732
2807
  export type PostAtsCandidatesRequestBodySmartrecruiters$Outbound = {
2733
2808
  candidate_with_questions?: { [k: string]: any } | undefined;
2734
2809
  candidate_without_questions?: { [k: string]: any } | undefined;
2735
2810
  candidate?: { [k: string]: any } | undefined;
2811
+ consent_decisions?:
2812
+ | PostAtsCandidatesRequestBodyConsentDecisions$Outbound
2813
+ | undefined;
2736
2814
  };
2737
2815
 
2738
2816
  /** @internal */
@@ -2745,6 +2823,9 @@ export const PostAtsCandidatesRequestBodySmartrecruiters$outboundSchema:
2745
2823
  candidate_with_questions: z.record(z.any()).optional(),
2746
2824
  candidate_without_questions: z.record(z.any()).optional(),
2747
2825
  candidate: z.record(z.any()).optional(),
2826
+ consent_decisions: z.lazy(() =>
2827
+ PostAtsCandidatesRequestBodyConsentDecisions$outboundSchema
2828
+ ).optional(),
2748
2829
  });
2749
2830
 
2750
2831
  export function postAtsCandidatesRequestBodySmartrecruitersToJSON(
@@ -2810,6 +2891,7 @@ export function postAtsCandidatesRequestBodyGuidecomToJSON(
2810
2891
  /** @internal */
2811
2892
  export type PostAtsCandidatesRequestBodyDvinci$Outbound = {
2812
2893
  application?: { [k: string]: any } | undefined;
2894
+ candidate?: { [k: string]: any } | undefined;
2813
2895
  };
2814
2896
 
2815
2897
  /** @internal */
@@ -2819,6 +2901,7 @@ export const PostAtsCandidatesRequestBodyDvinci$outboundSchema: z.ZodType<
2819
2901
  PostAtsCandidatesRequestBodyDvinci
2820
2902
  > = z.object({
2821
2903
  application: z.record(z.any()).optional(),
2904
+ candidate: z.record(z.any()).optional(),
2822
2905
  });
2823
2906
 
2824
2907
  export function postAtsCandidatesRequestBodyDvinciToJSON(
@@ -3041,6 +3124,30 @@ export function postAtsCandidatesRequestBodyRecruiteeToJSON(
3041
3124
  );
3042
3125
  }
3043
3126
 
3127
+ /** @internal */
3128
+ export type PostAtsCandidatesRequestBodyRexx$Outbound = {
3129
+ candidate?: { [k: string]: any } | undefined;
3130
+ };
3131
+
3132
+ /** @internal */
3133
+ export const PostAtsCandidatesRequestBodyRexx$outboundSchema: z.ZodType<
3134
+ PostAtsCandidatesRequestBodyRexx$Outbound,
3135
+ z.ZodTypeDef,
3136
+ PostAtsCandidatesRequestBodyRexx
3137
+ > = z.object({
3138
+ candidate: z.record(z.any()).optional(),
3139
+ });
3140
+
3141
+ export function postAtsCandidatesRequestBodyRexxToJSON(
3142
+ postAtsCandidatesRequestBodyRexx: PostAtsCandidatesRequestBodyRexx,
3143
+ ): string {
3144
+ return JSON.stringify(
3145
+ PostAtsCandidatesRequestBodyRexx$outboundSchema.parse(
3146
+ postAtsCandidatesRequestBodyRexx,
3147
+ ),
3148
+ );
3149
+ }
3150
+
3044
3151
  /** @internal */
3045
3152
  export type PostAtsCandidatesRequestBodyUmantis$Outbound = {
3046
3153
  person?: { [k: string]: any } | undefined;
@@ -3220,6 +3327,7 @@ export type PostAtsCandidatesRequestBodyRemoteFields$Outbound = {
3220
3327
  jobylon?: PostAtsCandidatesRequestBodyJobylon$Outbound | undefined;
3221
3328
  avature?: PostAtsCandidatesRequestBodyAvature$Outbound | undefined;
3222
3329
  recruitee?: PostAtsCandidatesRequestBodyRecruitee$Outbound | undefined;
3330
+ rexx?: PostAtsCandidatesRequestBodyRexx$Outbound | undefined;
3223
3331
  umantis?: PostAtsCandidatesRequestBodyUmantis$Outbound | undefined;
3224
3332
  piloga?: PostAtsCandidatesRequestBodyPiloga$Outbound | undefined;
3225
3333
  pinpoint?: PostAtsCandidatesRequestBodyPinpoint$Outbound | undefined;
@@ -3275,6 +3383,8 @@ export const PostAtsCandidatesRequestBodyRemoteFields$outboundSchema: z.ZodType<
3275
3383
  .optional(),
3276
3384
  recruitee: z.lazy(() => PostAtsCandidatesRequestBodyRecruitee$outboundSchema)
3277
3385
  .optional(),
3386
+ rexx: z.lazy(() => PostAtsCandidatesRequestBodyRexx$outboundSchema)
3387
+ .optional(),
3278
3388
  umantis: z.lazy(() => PostAtsCandidatesRequestBodyUmantis$outboundSchema)
3279
3389
  .optional(),
3280
3390
  piloga: z.lazy(() => PostAtsCandidatesRequestBodyPiloga$outboundSchema)
@@ -599,6 +599,17 @@ export type PostAtsJobsJobIdApplicationsRequestBodyBullhorn = {
599
599
  job_submission?: { [k: string]: any } | undefined;
600
600
  };
601
601
 
602
+ /**
603
+ * The consent decisions for the candidate. SmartRecruiters supports two consent models: 'Single' (use the `SINGLE` key) and 'Separated' (use `SMART_RECRUIT`, `SMART_CRM`, `SMART_MESSAGE_SMS`, and/or `SMART_MESSAGE_WHATSAPP` keys). When this field is provided, it takes precedence over the `gdpr_consent` field for the `consentDecisions` property. See: https://developers.smartrecruiters.com/docs/partners-post-an-application
604
+ */
605
+ export type PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions = {
606
+ single?: boolean | undefined;
607
+ smart_recruit?: boolean | undefined;
608
+ smart_crm?: boolean | undefined;
609
+ smart_message_sms?: boolean | undefined;
610
+ smart_message_whatsapp?: boolean | undefined;
611
+ };
612
+
602
613
  /**
603
614
  * Fields specific to SmartRecruiters.
604
615
  */
@@ -619,6 +630,12 @@ export type PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters = {
619
630
  * Fields that we will pass through to the SmartRecruiters's `Candidate` object. This API is used: https://developers.smartrecruiters.com/reference/createcandidate-1
620
631
  */
621
632
  candidate?: { [k: string]: any } | undefined;
633
+ /**
634
+ * The consent decisions for the candidate. SmartRecruiters supports two consent models: 'Single' (use the `SINGLE` key) and 'Separated' (use `SMART_RECRUIT`, `SMART_CRM`, `SMART_MESSAGE_SMS`, and/or `SMART_MESSAGE_WHATSAPP` keys). When this field is provided, it takes precedence over the `gdpr_consent` field for the `consentDecisions` property. See: https://developers.smartrecruiters.com/docs/partners-post-an-application
635
+ */
636
+ consent_decisions?:
637
+ | PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions
638
+ | undefined;
622
639
  };
623
640
 
624
641
  /**
@@ -649,6 +666,10 @@ export type PostAtsJobsJobIdApplicationsRequestBodyDvinci = {
649
666
  * Fields that we will pass through to d.vinci's application object. This API is used: https://static.dvinci-easy.com/files/d.vinci%20application-apply-api.html#jobs__id__applyApi_post
650
667
  */
651
668
  application?: { [k: string]: any } | undefined;
669
+ /**
670
+ * Fields that we will pass through to d.vinci's candidate/application payload as top-level fields (e.g., dateOfBirth).
671
+ */
672
+ candidate?: { [k: string]: any } | undefined;
652
673
  };
653
674
 
654
675
  /**
@@ -717,6 +738,16 @@ export type PostAtsJobsJobIdApplicationsRequestBodyRecruitee = {
717
738
  | undefined;
718
739
  };
719
740
 
741
+ /**
742
+ * Fields specific to Rexx.
743
+ */
744
+ export type PostAtsJobsJobIdApplicationsRequestBodyRexx = {
745
+ /**
746
+ * Fields that we will pass through to Rexx's application form fields.
747
+ */
748
+ candidate?: { [k: string]: any } | undefined;
749
+ };
750
+
720
751
  /**
721
752
  * Fields specific to Abacus Umantis.
722
753
  */
@@ -858,6 +889,10 @@ export type PostAtsJobsJobIdApplicationsRequestBodyRemoteFields = {
858
889
  * Fields specific to Recruitee.
859
890
  */
860
891
  recruitee?: PostAtsJobsJobIdApplicationsRequestBodyRecruitee | undefined;
892
+ /**
893
+ * Fields specific to Rexx.
894
+ */
895
+ rexx?: PostAtsJobsJobIdApplicationsRequestBodyRexx | undefined;
861
896
  /**
862
897
  * Fields specific to Abacus Umantis.
863
898
  */
@@ -2705,11 +2740,55 @@ export function postAtsJobsJobIdApplicationsRequestBodyBullhornToJSON(
2705
2740
  );
2706
2741
  }
2707
2742
 
2743
+ /** @internal */
2744
+ export type PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$Outbound = {
2745
+ SINGLE?: boolean | undefined;
2746
+ SMART_RECRUIT?: boolean | undefined;
2747
+ SMART_CRM?: boolean | undefined;
2748
+ SMART_MESSAGE_SMS?: boolean | undefined;
2749
+ SMART_MESSAGE_WHATSAPP?: boolean | undefined;
2750
+ };
2751
+
2752
+ /** @internal */
2753
+ export const PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$outboundSchema:
2754
+ z.ZodType<
2755
+ PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$Outbound,
2756
+ z.ZodTypeDef,
2757
+ PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions
2758
+ > = z.object({
2759
+ single: z.boolean().optional(),
2760
+ smart_recruit: z.boolean().optional(),
2761
+ smart_crm: z.boolean().optional(),
2762
+ smart_message_sms: z.boolean().optional(),
2763
+ smart_message_whatsapp: z.boolean().optional(),
2764
+ }).transform((v) => {
2765
+ return remap$(v, {
2766
+ single: "SINGLE",
2767
+ smart_recruit: "SMART_RECRUIT",
2768
+ smart_crm: "SMART_CRM",
2769
+ smart_message_sms: "SMART_MESSAGE_SMS",
2770
+ smart_message_whatsapp: "SMART_MESSAGE_WHATSAPP",
2771
+ });
2772
+ });
2773
+
2774
+ export function postAtsJobsJobIdApplicationsRequestBodyConsentDecisionsToJSON(
2775
+ postAtsJobsJobIdApplicationsRequestBodyConsentDecisions:
2776
+ PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions,
2777
+ ): string {
2778
+ return JSON.stringify(
2779
+ PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$outboundSchema
2780
+ .parse(postAtsJobsJobIdApplicationsRequestBodyConsentDecisions),
2781
+ );
2782
+ }
2783
+
2708
2784
  /** @internal */
2709
2785
  export type PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters$Outbound = {
2710
2786
  candidate_with_questions?: { [k: string]: any } | undefined;
2711
2787
  candidate_without_questions?: { [k: string]: any } | undefined;
2712
2788
  candidate?: { [k: string]: any } | undefined;
2789
+ consent_decisions?:
2790
+ | PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$Outbound
2791
+ | undefined;
2713
2792
  };
2714
2793
 
2715
2794
  /** @internal */
@@ -2722,6 +2801,9 @@ export const PostAtsJobsJobIdApplicationsRequestBodySmartrecruiters$outboundSche
2722
2801
  candidate_with_questions: z.record(z.any()).optional(),
2723
2802
  candidate_without_questions: z.record(z.any()).optional(),
2724
2803
  candidate: z.record(z.any()).optional(),
2804
+ consent_decisions: z.lazy(() =>
2805
+ PostAtsJobsJobIdApplicationsRequestBodyConsentDecisions$outboundSchema
2806
+ ).optional(),
2725
2807
  });
2726
2808
 
2727
2809
  export function postAtsJobsJobIdApplicationsRequestBodySmartrecruitersToJSON(
@@ -2790,6 +2872,7 @@ export function postAtsJobsJobIdApplicationsRequestBodyGuidecomToJSON(
2790
2872
  /** @internal */
2791
2873
  export type PostAtsJobsJobIdApplicationsRequestBodyDvinci$Outbound = {
2792
2874
  application?: { [k: string]: any } | undefined;
2875
+ candidate?: { [k: string]: any } | undefined;
2793
2876
  };
2794
2877
 
2795
2878
  /** @internal */
@@ -2800,6 +2883,7 @@ export const PostAtsJobsJobIdApplicationsRequestBodyDvinci$outboundSchema:
2800
2883
  PostAtsJobsJobIdApplicationsRequestBodyDvinci
2801
2884
  > = z.object({
2802
2885
  application: z.record(z.any()).optional(),
2886
+ candidate: z.record(z.any()).optional(),
2803
2887
  });
2804
2888
 
2805
2889
  export function postAtsJobsJobIdApplicationsRequestBodyDvinciToJSON(
@@ -3039,6 +3123,32 @@ export function postAtsJobsJobIdApplicationsRequestBodyRecruiteeToJSON(
3039
3123
  );
3040
3124
  }
3041
3125
 
3126
+ /** @internal */
3127
+ export type PostAtsJobsJobIdApplicationsRequestBodyRexx$Outbound = {
3128
+ candidate?: { [k: string]: any } | undefined;
3129
+ };
3130
+
3131
+ /** @internal */
3132
+ export const PostAtsJobsJobIdApplicationsRequestBodyRexx$outboundSchema:
3133
+ z.ZodType<
3134
+ PostAtsJobsJobIdApplicationsRequestBodyRexx$Outbound,
3135
+ z.ZodTypeDef,
3136
+ PostAtsJobsJobIdApplicationsRequestBodyRexx
3137
+ > = z.object({
3138
+ candidate: z.record(z.any()).optional(),
3139
+ });
3140
+
3141
+ export function postAtsJobsJobIdApplicationsRequestBodyRexxToJSON(
3142
+ postAtsJobsJobIdApplicationsRequestBodyRexx:
3143
+ PostAtsJobsJobIdApplicationsRequestBodyRexx,
3144
+ ): string {
3145
+ return JSON.stringify(
3146
+ PostAtsJobsJobIdApplicationsRequestBodyRexx$outboundSchema.parse(
3147
+ postAtsJobsJobIdApplicationsRequestBodyRexx,
3148
+ ),
3149
+ );
3150
+ }
3151
+
3042
3152
  /** @internal */
3043
3153
  export type PostAtsJobsJobIdApplicationsRequestBodyUmantis$Outbound = {
3044
3154
  person?: { [k: string]: any } | undefined;
@@ -3247,6 +3357,7 @@ export type PostAtsJobsJobIdApplicationsRequestBodyRemoteFields$Outbound = {
3247
3357
  recruitee?:
3248
3358
  | PostAtsJobsJobIdApplicationsRequestBodyRecruitee$Outbound
3249
3359
  | undefined;
3360
+ rexx?: PostAtsJobsJobIdApplicationsRequestBodyRexx$Outbound | undefined;
3250
3361
  umantis?: PostAtsJobsJobIdApplicationsRequestBodyUmantis$Outbound | undefined;
3251
3362
  piloga?: PostAtsJobsJobIdApplicationsRequestBodyPiloga$Outbound | undefined;
3252
3363
  pinpoint?:
@@ -3318,6 +3429,9 @@ export const PostAtsJobsJobIdApplicationsRequestBodyRemoteFields$outboundSchema:
3318
3429
  recruitee: z.lazy(() =>
3319
3430
  PostAtsJobsJobIdApplicationsRequestBodyRecruitee$outboundSchema
3320
3431
  ).optional(),
3432
+ rexx: z.lazy(() =>
3433
+ PostAtsJobsJobIdApplicationsRequestBodyRexx$outboundSchema
3434
+ ).optional(),
3321
3435
  umantis: z.lazy(() =>
3322
3436
  PostAtsJobsJobIdApplicationsRequestBodyUmantis$outboundSchema
3323
3437
  ).optional(),
@@ -90,6 +90,7 @@ export const IntegrationTool = {
90
90
  Paradox: "paradox",
91
91
  Heyrecruit: "heyrecruit",
92
92
  Recruhr: "recruhr",
93
+ Recruitcrm: "recruitcrm",
93
94
  Jazzhr: "jazzhr",
94
95
  Bite: "bite",
95
96
  Homerun: "homerun",
@@ -119,6 +120,7 @@ export const IntegrationTool = {
119
120
  Breezyhr: "breezyhr",
120
121
  Flatchr: "flatchr",
121
122
  Dayforce: "dayforce",
123
+ Digitalrecruiters: "digitalrecruiters",
122
124
  Applicantstack: "applicantstack",
123
125
  Reachmee: "reachmee",
124
126
  Talentadore: "talentadore",
@@ -167,6 +169,7 @@ export const IntegrationTool = {
167
169
  Latticetalent: "latticetalent",
168
170
  Hoorayhr: "hoorayhr",
169
171
  Trinet: "trinet",
172
+ Trinetpeo: "trinetpeo",
170
173
  Namely: "namely",
171
174
  Paycom: "paycom",
172
175
  Insperity: "insperity",
@@ -203,6 +206,7 @@ export const IntegrationTool = {
203
206
  Sftp: "sftp",
204
207
  Sftpfetch: "sftpfetch",
205
208
  ThreeHundredAndSixtylearning: "360learning",
209
+ Talentlms: "talentlms",
206
210
  Udemy: "udemy",
207
211
  Linkedinlearning: "linkedinlearning",
208
212
  } as const;
@@ -100,6 +100,13 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodySmartrecruiters
100
100
  score_label?: string | undefined;
101
101
  };
102
102
 
103
+ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee = {
104
+ /**
105
+ * Value that we will pass through to Recruitee's `subtitle` field on the assessment report.
106
+ */
107
+ subtitle?: string | undefined;
108
+ };
109
+
103
110
  /**
104
111
  * Additional fields that we will pass through to specific ATS systems.
105
112
  */
@@ -108,6 +115,9 @@ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRemoteFields =
108
115
  smartrecruiters?:
109
116
  | PutAssessmentOrdersAssessmentOrderIdResultRequestBodySmartrecruiters
110
117
  | undefined;
118
+ recruitee?:
119
+ | PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee
120
+ | undefined;
111
121
  };
112
122
 
113
123
  export type PutAssessmentOrdersAssessmentOrderIdResultRequestBody = {
@@ -318,12 +328,41 @@ export function putAssessmentOrdersAssessmentOrderIdResultRequestBodySmartrecrui
318
328
  );
319
329
  }
320
330
 
331
+ /** @internal */
332
+ export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$Outbound =
333
+ {
334
+ subtitle?: string | undefined;
335
+ };
336
+
337
+ /** @internal */
338
+ export const PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$outboundSchema:
339
+ z.ZodType<
340
+ PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$Outbound,
341
+ z.ZodTypeDef,
342
+ PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee
343
+ > = z.object({
344
+ subtitle: z.string().optional(),
345
+ });
346
+
347
+ export function putAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruiteeToJSON(
348
+ putAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee:
349
+ PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee,
350
+ ): string {
351
+ return JSON.stringify(
352
+ PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$outboundSchema
353
+ .parse(putAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee),
354
+ );
355
+ }
356
+
321
357
  /** @internal */
322
358
  export type PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRemoteFields$Outbound =
323
359
  {
324
360
  smartrecruiters?:
325
361
  | PutAssessmentOrdersAssessmentOrderIdResultRequestBodySmartrecruiters$Outbound
326
362
  | undefined;
363
+ recruitee?:
364
+ | PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$Outbound
365
+ | undefined;
327
366
  };
328
367
 
329
368
  /** @internal */
@@ -336,6 +375,9 @@ export const PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRemoteFields$o
336
375
  smartrecruiters: z.lazy(() =>
337
376
  PutAssessmentOrdersAssessmentOrderIdResultRequestBodySmartrecruiters$outboundSchema
338
377
  ).optional(),
378
+ recruitee: z.lazy(() =>
379
+ PutAssessmentOrdersAssessmentOrderIdResultRequestBodyRecruitee$outboundSchema
380
+ ).optional(),
339
381
  });
340
382
 
341
383
  export function putAssessmentOrdersAssessmentOrderIdResultRequestBodyRemoteFieldsToJSON(
@@ -4,6 +4,33 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../lib/primitives.js";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+
9
+ /**
10
+ * The type of step reference to use. Use "Next_Step_Reference" for regular stage moves and "Disposition_Step_Reference" for conclusion/disposition stages (e.g., rejected, declined). Defaults to "Next_Step_Reference".
11
+ */
12
+ export const StepType = {
13
+ NextStepReference: "Next_Step_Reference",
14
+ DispositionStepReference: "Disposition_Step_Reference",
15
+ } as const;
16
+ /**
17
+ * The type of step reference to use. Use "Next_Step_Reference" for regular stage moves and "Disposition_Step_Reference" for conclusion/disposition stages (e.g., rejected, declined). Defaults to "Next_Step_Reference".
18
+ */
19
+ export type StepType = ClosedEnum<typeof StepType>;
20
+
21
+ /**
22
+ * Fields specific to Workday.
23
+ */
24
+ export type PutAtsApplicationsApplicationIdStageRequestBodyWorkday = {
25
+ /**
26
+ * The Workflow_Step_ID to pass directly to the Move_Candidate request. When provided, the automatic workflow step matching logic is skipped.
27
+ */
28
+ workflow_step_id?: string | undefined;
29
+ /**
30
+ * The type of step reference to use. Use "Next_Step_Reference" for regular stage moves and "Disposition_Step_Reference" for conclusion/disposition stages (e.g., rejected, declined). Defaults to "Next_Step_Reference".
31
+ */
32
+ step_type?: StepType | undefined;
33
+ };
7
34
 
8
35
  /**
9
36
  * Headers we will pass with `POST` requests to Greenhouse.
@@ -41,6 +68,10 @@ export type PutAtsApplicationsApplicationIdStageRequestBodyWorkable = {
41
68
  * Additional fields that we will pass through to specific ATS systems.
42
69
  */
43
70
  export type PutAtsApplicationsApplicationIdStageRequestBodyRemoteFields = {
71
+ /**
72
+ * Fields specific to Workday.
73
+ */
74
+ workday?: PutAtsApplicationsApplicationIdStageRequestBodyWorkday | undefined;
44
75
  /**
45
76
  * Fields specific to Greenhouse.
46
77
  */
@@ -68,6 +99,43 @@ export type PutAtsApplicationsApplicationIdStageRequestBody = {
68
99
  | undefined;
69
100
  };
70
101
 
102
+ /** @internal */
103
+ export const StepType$outboundSchema: z.ZodNativeEnum<typeof StepType> = z
104
+ .nativeEnum(StepType);
105
+
106
+ /** @internal */
107
+ export type PutAtsApplicationsApplicationIdStageRequestBodyWorkday$Outbound = {
108
+ Workflow_Step_ID?: string | undefined;
109
+ Step_Type?: string | undefined;
110
+ };
111
+
112
+ /** @internal */
113
+ export const PutAtsApplicationsApplicationIdStageRequestBodyWorkday$outboundSchema:
114
+ z.ZodType<
115
+ PutAtsApplicationsApplicationIdStageRequestBodyWorkday$Outbound,
116
+ z.ZodTypeDef,
117
+ PutAtsApplicationsApplicationIdStageRequestBodyWorkday
118
+ > = z.object({
119
+ workflow_step_id: z.string().optional(),
120
+ step_type: StepType$outboundSchema.optional(),
121
+ }).transform((v) => {
122
+ return remap$(v, {
123
+ workflow_step_id: "Workflow_Step_ID",
124
+ step_type: "Step_Type",
125
+ });
126
+ });
127
+
128
+ export function putAtsApplicationsApplicationIdStageRequestBodyWorkdayToJSON(
129
+ putAtsApplicationsApplicationIdStageRequestBodyWorkday:
130
+ PutAtsApplicationsApplicationIdStageRequestBodyWorkday,
131
+ ): string {
132
+ return JSON.stringify(
133
+ PutAtsApplicationsApplicationIdStageRequestBodyWorkday$outboundSchema.parse(
134
+ putAtsApplicationsApplicationIdStageRequestBodyWorkday,
135
+ ),
136
+ );
137
+ }
138
+
71
139
  /** @internal */
72
140
  export type PutAtsApplicationsApplicationIdStageRequestBodyPostHeaders$Outbound =
73
141
  {
@@ -156,6 +224,9 @@ export function putAtsApplicationsApplicationIdStageRequestBodyWorkableToJSON(
156
224
  /** @internal */
157
225
  export type PutAtsApplicationsApplicationIdStageRequestBodyRemoteFields$Outbound =
158
226
  {
227
+ workday?:
228
+ | PutAtsApplicationsApplicationIdStageRequestBodyWorkday$Outbound
229
+ | undefined;
159
230
  greenhouse?:
160
231
  | PutAtsApplicationsApplicationIdStageRequestBodyGreenhouse$Outbound
161
232
  | undefined;
@@ -171,6 +242,9 @@ export const PutAtsApplicationsApplicationIdStageRequestBodyRemoteFields$outboun
171
242
  z.ZodTypeDef,
172
243
  PutAtsApplicationsApplicationIdStageRequestBodyRemoteFields
173
244
  > = z.object({
245
+ workday: z.lazy(() =>
246
+ PutAtsApplicationsApplicationIdStageRequestBodyWorkday$outboundSchema
247
+ ).optional(),
174
248
  greenhouse: z.lazy(() =>
175
249
  PutAtsApplicationsApplicationIdStageRequestBodyGreenhouse$outboundSchema
176
250
  ).optional(),
package/src/sdk/ats.ts CHANGED
@@ -19,6 +19,7 @@ import { atsGetInterviews } from "../funcs/atsGetInterviews.js";
19
19
  import { atsGetJobs } from "../funcs/atsGetJobs.js";
20
20
  import { atsGetOffers } from "../funcs/atsGetOffers.js";
21
21
  import { atsGetRejectionReasons } from "../funcs/atsGetRejectionReasons.js";
22
+ import { atsGetRoles } from "../funcs/atsGetRoles.js";
22
23
  import { atsGetTags } from "../funcs/atsGetTags.js";
23
24
  import { atsGetUsers } from "../funcs/atsGetUsers.js";
24
25
  import { atsImportTrackedApplication } from "../funcs/atsImportTrackedApplication.js";
@@ -74,7 +75,8 @@ export class Ats extends ClientSDK {
74
75
  *
75
76
  * ```json
76
77
  * {
77
- * "stage_id": "3PJ8PZhZZa1eEdd2DtPNtVup"
78
+ * "stage_id": "3PJ8PZhZZa1eEdd2DtPNtVup",
79
+ * "remote_fields": {}
78
80
  * }
79
81
  * ```
80
82
  */
@@ -737,6 +739,27 @@ export class Ats extends ClientSDK {
737
739
  ));
738
740
  }
739
741
 
742
+ /**
743
+ * Get roles
744
+ *
745
+ * @remarks
746
+ * Retrieve all roles.
747
+ *
748
+ * Visit our in-depth guide about [roles](/ats/features/roles) to learn more.
749
+ *
750
+ * Top level filters use AND, while individual filters use OR if they accept multiple arguments. That means filters will be resolved like this: `(id IN ids) AND (remote_id IN remote_ids)`
751
+ */
752
+ async getRoles(
753
+ request?: operations.GetAtsRolesRequest | undefined,
754
+ options?: RequestOptions,
755
+ ): Promise<PageIterator<operations.GetAtsRolesResponse, { cursor: string }>> {
756
+ return unwrapResultIterator(atsGetRoles(
757
+ this,
758
+ request,
759
+ options,
760
+ ));
761
+ }
762
+
740
763
  /**
741
764
  * Get offers
742
765
  *