@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
@@ -0,0 +1,509 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../lib/schemas.js";
7
+ import { ClosedEnum } from "../types/enums.js";
8
+ import { Result as SafeParseResult } from "../types/fp.js";
9
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
10
+
11
+ /**
12
+ * The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
13
+ */
14
+ export const ModelType = {
15
+ Job: "JOB",
16
+ Position: "POSITION",
17
+ Requisition: "REQUISITION",
18
+ } as const;
19
+ /**
20
+ * The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
21
+ */
22
+ export type ModelType = ClosedEnum<typeof ModelType>;
23
+
24
+ /**
25
+ * The status of the staffing entity.
26
+ *
27
+ * @remarks
28
+ * OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
29
+ * OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
30
+ * PENDING: The staffing entity is pending approval or is waiting to be published.
31
+ * FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
32
+ * FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
33
+ * CLOSED: The staffing entity is closed and not available for new hires.
34
+ */
35
+ export const GetHrisStaffingEntitiesPositiveResponseStatus = {
36
+ OpenLimited: "OPEN_LIMITED",
37
+ OpenUnlimited: "OPEN_UNLIMITED",
38
+ Pending: "PENDING",
39
+ Frozen: "FROZEN",
40
+ Filled: "FILLED",
41
+ Closed: "CLOSED",
42
+ } as const;
43
+ /**
44
+ * The status of the staffing entity.
45
+ *
46
+ * @remarks
47
+ * OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
48
+ * OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
49
+ * PENDING: The staffing entity is pending approval or is waiting to be published.
50
+ * FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
51
+ * FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
52
+ * CLOSED: The staffing entity is closed and not available for new hires.
53
+ */
54
+ export type GetHrisStaffingEntitiesPositiveResponseStatus = ClosedEnum<
55
+ typeof GetHrisStaffingEntitiesPositiveResponseStatus
56
+ >;
57
+
58
+ /**
59
+ * The unified type, how Kombo categorize this label.
60
+ */
61
+ export const GetHrisStaffingEntitiesPositiveResponseUnifiedType = {
62
+ FullTime: "FULL_TIME",
63
+ PartTime: "PART_TIME",
64
+ Contract: "CONTRACT",
65
+ Internship: "INTERNSHIP",
66
+ Freelance: "FREELANCE",
67
+ WorkingStudent: "WORKING_STUDENT",
68
+ Apprenticeship: "APPRENTICESHIP",
69
+ Training: "TRAINING",
70
+ } as const;
71
+ /**
72
+ * The unified type, how Kombo categorize this label.
73
+ */
74
+ export type GetHrisStaffingEntitiesPositiveResponseUnifiedType = ClosedEnum<
75
+ typeof GetHrisStaffingEntitiesPositiveResponseUnifiedType
76
+ >;
77
+
78
+ export type GetHrisStaffingEntitiesPositiveResponseEmploymentType = {
79
+ /**
80
+ * The label of the employment type how it appears in the remote system.
81
+ */
82
+ remote_label: string;
83
+ /**
84
+ * The unified type, how Kombo categorize this label.
85
+ */
86
+ unified_type: GetHrisStaffingEntitiesPositiveResponseUnifiedType | null;
87
+ };
88
+
89
+ export type GetHrisStaffingEntitiesPositiveResponseLocation = {
90
+ /**
91
+ * The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
92
+ */
93
+ id: string;
94
+ /**
95
+ * The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
96
+ */
97
+ remote_id: string | null;
98
+ /**
99
+ * The work location’s name
100
+ */
101
+ name: string | null;
102
+ /**
103
+ * The work location’s type. A freeform string.
104
+ */
105
+ type: string | null;
106
+ };
107
+
108
+ export type GetHrisStaffingEntitiesPositiveResponseLegalEntity = {
109
+ /**
110
+ * The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
111
+ */
112
+ id: string;
113
+ /**
114
+ * The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
115
+ */
116
+ remote_id: string | null;
117
+ /**
118
+ * The legal entity’s name.
119
+ */
120
+ name: string | null;
121
+ };
122
+
123
+ /**
124
+ * Type of the group.
125
+ */
126
+ export const GetHrisStaffingEntitiesPositiveResponseType = {
127
+ Department: "DEPARTMENT",
128
+ Team: "TEAM",
129
+ CostCenter: "COST_CENTER",
130
+ } as const;
131
+ /**
132
+ * Type of the group.
133
+ */
134
+ export type GetHrisStaffingEntitiesPositiveResponseType = ClosedEnum<
135
+ typeof GetHrisStaffingEntitiesPositiveResponseType
136
+ >;
137
+
138
+ export type GetHrisStaffingEntitiesPositiveResponseGroup = {
139
+ /**
140
+ * The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
141
+ */
142
+ id: string;
143
+ /**
144
+ * The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
145
+ */
146
+ remote_id: string;
147
+ /**
148
+ * The name of the group.
149
+ */
150
+ name: string | null;
151
+ /**
152
+ * Type of the group.
153
+ */
154
+ type: GetHrisStaffingEntitiesPositiveResponseType | null;
155
+ };
156
+
157
+ export type GetHrisStaffingEntitiesPositiveResponseResult = {
158
+ /**
159
+ * The globally unique ID of this object generated by Kombo. We recommend using this as a stable primary key for syncing.
160
+ */
161
+ id: string;
162
+ /**
163
+ * The raw ID of the object in the remote system. We don't recommend using this as a primary key on your side as it might sometimes be compromised of multiple identifiers if a system doesn't provide a clear primary key.
164
+ */
165
+ remote_id: string;
166
+ /**
167
+ * The name/title of the staffing entity.
168
+ */
169
+ name: string | null;
170
+ /**
171
+ * The remote model type of the record. Possible values are "JOB", "POSITION" or "REQUISITION". We recommend that users of our `create employee` endpoint ask the customer whether they want to hire into positions or requisitions.
172
+ */
173
+ model_type: ModelType | null;
174
+ /**
175
+ * A text description of the staffing entity — typically covering responsibilities, requirements, and scope. Commonly referred to as the "job description" in HRIS systems. May contain HTML, depending on the source system.
176
+ */
177
+ description: string | null;
178
+ /**
179
+ * The status of the staffing entity.
180
+ *
181
+ * @remarks
182
+ * OPEN_LIMITED: The staffing entity is open and has a limited number of openings. Refer to the `number_of_openings` field to get the number of openings.
183
+ * OPEN_UNLIMITED: The staffing entity is open and has an unlimited number of openings. Some enterprise systems refer to this as "Evergreen".
184
+ * PENDING: The staffing entity is pending approval or is waiting to be published.
185
+ * FROZEN: The staffing entity is frozen (hiring freeze) and does not accept applications/hires.
186
+ * FILLED: The staffing entity is filled (to its maximum capacity) and not available for new hires.
187
+ * CLOSED: The staffing entity is closed and not available for new hires.
188
+ */
189
+ status: GetHrisStaffingEntitiesPositiveResponseStatus | null;
190
+ /**
191
+ * The employment types available for/used by the staffing entity. Use the `remote_label` for display in your UI as it is consistent with the language of the remote system. Use the `unified_type` for internal categorization as it is unified across all tools.
192
+ */
193
+ employment_types:
194
+ | Array<GetHrisStaffingEntitiesPositiveResponseEmploymentType>
195
+ | null;
196
+ /**
197
+ * The number of openings for the staffing entity. Only meaningful for staffing entities with the status "OPEN_LIMITED".
198
+ */
199
+ number_of_openings: number | null;
200
+ /**
201
+ * The Kombo ID of the staffing entity’s parent. Usually it’s the position/job that was used to create the requisition. The ID can be used to retrieve the parent staffing entity from the `get staffing entity` endpoint.
202
+ */
203
+ parent_id: string | null;
204
+ /**
205
+ * URL to the staffing entity in the HRIS system. Use this to implement backlinks into the HRIS/Enterprise System.
206
+ */
207
+ remote_url: string | null;
208
+ /**
209
+ * The date and time the object was created in the remote system.
210
+ */
211
+ remote_created_at: Date | null;
212
+ /**
213
+ * A timestamp retrieved from the remote system, describing when the resource was last updated.
214
+ */
215
+ remote_updated_at: Date | null;
216
+ /**
217
+ * The timestamp when this specific record was last modified. This field only updates when properties directly on this record change, NOT when related or nested models change. For filtering that considers nested data changes, use the `updated_after` parameter which will return records when either the record itself OR its related models have been updated.
218
+ */
219
+ changed_at: Date;
220
+ /**
221
+ * The date and time the object was deleted in the remote system. Objects are automatically marked as deleted when Kombo can't retrieve them from the remote system anymore. Kombo will also anonymize entries 14 days after they disappear.
222
+ */
223
+ remote_deleted_at: Date | null;
224
+ /**
225
+ * A key-value store of fields not covered by the schema. [Read more](/custom-fields)
226
+ */
227
+ custom_fields: { [k: string]: any } | null;
228
+ /**
229
+ * The physical work locations associated with this staffing entity. A position or requisition can be linked to one or more offices or sites where the role is to be filled.
230
+ */
231
+ locations: Array<GetHrisStaffingEntitiesPositiveResponseLocation>;
232
+ /**
233
+ * The legal entities (companies or sub-companies) associated with this staffing entity. Indicates which employing entities within the organization the position or requisition belongs to.
234
+ */
235
+ legal_entities: Array<GetHrisStaffingEntitiesPositiveResponseLegalEntity>;
236
+ /**
237
+ * The organizational groups (such as departments, teams, or cost centers) associated with this staffing entity.
238
+ */
239
+ groups: Array<GetHrisStaffingEntitiesPositiveResponseGroup>;
240
+ };
241
+
242
+ export type GetHrisStaffingEntitiesPositiveResponseData = {
243
+ /**
244
+ * Cursor string that can be passed to the `cursor` query parameter to get the next page. If this is `null`, then there are no more pages.
245
+ */
246
+ next: string | null;
247
+ results: Array<GetHrisStaffingEntitiesPositiveResponseResult>;
248
+ };
249
+
250
+ export type GetHrisStaffingEntitiesPositiveResponse = {
251
+ status: "success";
252
+ data: GetHrisStaffingEntitiesPositiveResponseData;
253
+ };
254
+
255
+ /** @internal */
256
+ export const ModelType$inboundSchema: z.ZodNativeEnum<typeof ModelType> = z
257
+ .nativeEnum(ModelType);
258
+
259
+ /** @internal */
260
+ export const GetHrisStaffingEntitiesPositiveResponseStatus$inboundSchema:
261
+ z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseStatus> = z
262
+ .nativeEnum(GetHrisStaffingEntitiesPositiveResponseStatus);
263
+
264
+ /** @internal */
265
+ export const GetHrisStaffingEntitiesPositiveResponseUnifiedType$inboundSchema:
266
+ z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseUnifiedType> = z
267
+ .nativeEnum(GetHrisStaffingEntitiesPositiveResponseUnifiedType);
268
+
269
+ /** @internal */
270
+ export const GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema:
271
+ z.ZodType<
272
+ GetHrisStaffingEntitiesPositiveResponseEmploymentType,
273
+ z.ZodTypeDef,
274
+ unknown
275
+ > = z.object({
276
+ remote_label: z.string(),
277
+ unified_type: z.nullable(
278
+ GetHrisStaffingEntitiesPositiveResponseUnifiedType$inboundSchema,
279
+ ),
280
+ });
281
+
282
+ export function getHrisStaffingEntitiesPositiveResponseEmploymentTypeFromJSON(
283
+ jsonString: string,
284
+ ): SafeParseResult<
285
+ GetHrisStaffingEntitiesPositiveResponseEmploymentType,
286
+ SDKValidationError
287
+ > {
288
+ return safeParse(
289
+ jsonString,
290
+ (x) =>
291
+ GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema.parse(
292
+ JSON.parse(x),
293
+ ),
294
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseEmploymentType' from JSON`,
295
+ );
296
+ }
297
+
298
+ /** @internal */
299
+ export const GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema:
300
+ z.ZodType<
301
+ GetHrisStaffingEntitiesPositiveResponseLocation,
302
+ z.ZodTypeDef,
303
+ unknown
304
+ > = z.object({
305
+ id: z.string(),
306
+ remote_id: z.nullable(z.string()),
307
+ name: z.nullable(z.string()),
308
+ type: z.nullable(z.string()),
309
+ });
310
+
311
+ export function getHrisStaffingEntitiesPositiveResponseLocationFromJSON(
312
+ jsonString: string,
313
+ ): SafeParseResult<
314
+ GetHrisStaffingEntitiesPositiveResponseLocation,
315
+ SDKValidationError
316
+ > {
317
+ return safeParse(
318
+ jsonString,
319
+ (x) =>
320
+ GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema.parse(
321
+ JSON.parse(x),
322
+ ),
323
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseLocation' from JSON`,
324
+ );
325
+ }
326
+
327
+ /** @internal */
328
+ export const GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema:
329
+ z.ZodType<
330
+ GetHrisStaffingEntitiesPositiveResponseLegalEntity,
331
+ z.ZodTypeDef,
332
+ unknown
333
+ > = z.object({
334
+ id: z.string(),
335
+ remote_id: z.nullable(z.string()),
336
+ name: z.nullable(z.string()),
337
+ });
338
+
339
+ export function getHrisStaffingEntitiesPositiveResponseLegalEntityFromJSON(
340
+ jsonString: string,
341
+ ): SafeParseResult<
342
+ GetHrisStaffingEntitiesPositiveResponseLegalEntity,
343
+ SDKValidationError
344
+ > {
345
+ return safeParse(
346
+ jsonString,
347
+ (x) =>
348
+ GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema.parse(
349
+ JSON.parse(x),
350
+ ),
351
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseLegalEntity' from JSON`,
352
+ );
353
+ }
354
+
355
+ /** @internal */
356
+ export const GetHrisStaffingEntitiesPositiveResponseType$inboundSchema:
357
+ z.ZodNativeEnum<typeof GetHrisStaffingEntitiesPositiveResponseType> = z
358
+ .nativeEnum(GetHrisStaffingEntitiesPositiveResponseType);
359
+
360
+ /** @internal */
361
+ export const GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema:
362
+ z.ZodType<
363
+ GetHrisStaffingEntitiesPositiveResponseGroup,
364
+ z.ZodTypeDef,
365
+ unknown
366
+ > = z.object({
367
+ id: z.string(),
368
+ remote_id: z.string(),
369
+ name: z.nullable(z.string()),
370
+ type: z.nullable(GetHrisStaffingEntitiesPositiveResponseType$inboundSchema),
371
+ });
372
+
373
+ export function getHrisStaffingEntitiesPositiveResponseGroupFromJSON(
374
+ jsonString: string,
375
+ ): SafeParseResult<
376
+ GetHrisStaffingEntitiesPositiveResponseGroup,
377
+ SDKValidationError
378
+ > {
379
+ return safeParse(
380
+ jsonString,
381
+ (x) =>
382
+ GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema.parse(
383
+ JSON.parse(x),
384
+ ),
385
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseGroup' from JSON`,
386
+ );
387
+ }
388
+
389
+ /** @internal */
390
+ export const GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema:
391
+ z.ZodType<
392
+ GetHrisStaffingEntitiesPositiveResponseResult,
393
+ z.ZodTypeDef,
394
+ unknown
395
+ > = z.object({
396
+ id: z.string(),
397
+ remote_id: z.string(),
398
+ name: z.nullable(z.string()),
399
+ model_type: z.nullable(ModelType$inboundSchema),
400
+ description: z.nullable(z.string()),
401
+ status: z.nullable(
402
+ GetHrisStaffingEntitiesPositiveResponseStatus$inboundSchema,
403
+ ),
404
+ employment_types: z.nullable(
405
+ z.array(z.lazy(() =>
406
+ GetHrisStaffingEntitiesPositiveResponseEmploymentType$inboundSchema
407
+ )),
408
+ ),
409
+ number_of_openings: z.nullable(z.number()),
410
+ parent_id: z.nullable(z.string()),
411
+ remote_url: z.nullable(z.string()),
412
+ remote_created_at: z.nullable(
413
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
414
+ ),
415
+ remote_updated_at: z.nullable(
416
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
417
+ ),
418
+ changed_at: z.string().datetime({ offset: true }).transform(v =>
419
+ new Date(v)
420
+ ),
421
+ remote_deleted_at: z.nullable(
422
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
423
+ ),
424
+ custom_fields: z.nullable(z.record(z.any())),
425
+ locations: z.array(
426
+ z.lazy(() =>
427
+ GetHrisStaffingEntitiesPositiveResponseLocation$inboundSchema
428
+ ),
429
+ ),
430
+ legal_entities: z.array(
431
+ z.lazy(() =>
432
+ GetHrisStaffingEntitiesPositiveResponseLegalEntity$inboundSchema
433
+ ),
434
+ ),
435
+ groups: z.array(
436
+ z.lazy(() => GetHrisStaffingEntitiesPositiveResponseGroup$inboundSchema),
437
+ ),
438
+ });
439
+
440
+ export function getHrisStaffingEntitiesPositiveResponseResultFromJSON(
441
+ jsonString: string,
442
+ ): SafeParseResult<
443
+ GetHrisStaffingEntitiesPositiveResponseResult,
444
+ SDKValidationError
445
+ > {
446
+ return safeParse(
447
+ jsonString,
448
+ (x) =>
449
+ GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema.parse(
450
+ JSON.parse(x),
451
+ ),
452
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseResult' from JSON`,
453
+ );
454
+ }
455
+
456
+ /** @internal */
457
+ export const GetHrisStaffingEntitiesPositiveResponseData$inboundSchema:
458
+ z.ZodType<
459
+ GetHrisStaffingEntitiesPositiveResponseData,
460
+ z.ZodTypeDef,
461
+ unknown
462
+ > = z.object({
463
+ next: z.nullable(z.string()),
464
+ results: z.array(
465
+ z.lazy(() => GetHrisStaffingEntitiesPositiveResponseResult$inboundSchema),
466
+ ),
467
+ });
468
+
469
+ export function getHrisStaffingEntitiesPositiveResponseDataFromJSON(
470
+ jsonString: string,
471
+ ): SafeParseResult<
472
+ GetHrisStaffingEntitiesPositiveResponseData,
473
+ SDKValidationError
474
+ > {
475
+ return safeParse(
476
+ jsonString,
477
+ (x) =>
478
+ GetHrisStaffingEntitiesPositiveResponseData$inboundSchema.parse(
479
+ JSON.parse(x),
480
+ ),
481
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponseData' from JSON`,
482
+ );
483
+ }
484
+
485
+ /** @internal */
486
+ export const GetHrisStaffingEntitiesPositiveResponse$inboundSchema: z.ZodType<
487
+ GetHrisStaffingEntitiesPositiveResponse,
488
+ z.ZodTypeDef,
489
+ unknown
490
+ > = z.object({
491
+ status: z.literal("success"),
492
+ data: z.lazy(() => GetHrisStaffingEntitiesPositiveResponseData$inboundSchema),
493
+ });
494
+
495
+ export function getHrisStaffingEntitiesPositiveResponseFromJSON(
496
+ jsonString: string,
497
+ ): SafeParseResult<
498
+ GetHrisStaffingEntitiesPositiveResponse,
499
+ SDKValidationError
500
+ > {
501
+ return safeParse(
502
+ jsonString,
503
+ (x) =>
504
+ GetHrisStaffingEntitiesPositiveResponse$inboundSchema.parse(
505
+ JSON.parse(x),
506
+ ),
507
+ `Failed to parse 'GetHrisStaffingEntitiesPositiveResponse' from JSON`,
508
+ );
509
+ }
@@ -22,6 +22,7 @@ export * from "./getatsinterviewspositiveresponse.js";
22
22
  export * from "./getatsjobspositiveresponse.js";
23
23
  export * from "./getatsofferspositiveresponse.js";
24
24
  export * from "./getatsrejectionreasonspositiveresponse.js";
25
+ export * from "./getatsrolespositiveresponse.js";
25
26
  export * from "./getatstagspositiveresponse.js";
26
27
  export * from "./getatsuserspositiveresponse.js";
27
28
  export * from "./getcheckapikeypositiveresponse.js";
@@ -37,6 +38,7 @@ export * from "./gethrislegalentitiespositiveresponse.js";
37
38
  export * from "./gethrislocationspositiveresponse.js";
38
39
  export * from "./gethrisperformancereviewcyclespositiveresponse.js";
39
40
  export * from "./gethrisperformancereviewspositiveresponse.js";
41
+ export * from "./gethrisstaffingentitiespositiveresponse.js";
40
42
  export * from "./gethristimeoffbalancespositiveresponse.js";
41
43
  export * from "./gethristimesheetspositiveresponse.js";
42
44
  export * from "./getintegrationsintegrationidcustomfieldspositiveresponse.js";
@@ -98,6 +98,9 @@ export type InlineAssessmentOrderReceivedWebhookPayloadLocation = {
98
98
  export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole = {
99
99
  Recruiter: "RECRUITER",
100
100
  HiringManager: "HIRING_MANAGER",
101
+ Coordinator: "COORDINATOR",
102
+ Sourcer: "SOURCER",
103
+ Interviewer: "INTERVIEWER",
101
104
  } as const;
102
105
  export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole =
103
106
  ClosedEnum<typeof InlineAssessmentOrderReceivedWebhookPayloadHiringTeamRole>;
@@ -109,7 +112,7 @@ export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeam = {
109
112
  /**
110
113
  * The team member's identifier in the integrated system.
111
114
  */
112
- remote_id: string;
115
+ remote_id: string | null;
113
116
  /**
114
117
  * The team member's email address.
115
118
  */
@@ -413,7 +416,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema
413
416
  z.ZodTypeDef,
414
417
  unknown
415
418
  > = z.object({
416
- remote_id: z.string(),
419
+ remote_id: z.nullable(z.string()),
417
420
  email: z.nullable(z.string()),
418
421
  first_name: z.nullable(z.string()),
419
422
  last_name: z.nullable(z.string()),
@@ -423,7 +426,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$inboundSchema
423
426
  });
424
427
  /** @internal */
425
428
  export type InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$Outbound = {
426
- remote_id: string;
429
+ remote_id: string | null;
427
430
  email: string | null;
428
431
  first_name: string | null;
429
432
  last_name: string | null;
@@ -437,7 +440,7 @@ export const InlineAssessmentOrderReceivedWebhookPayloadHiringTeam$outboundSchem
437
440
  z.ZodTypeDef,
438
441
  InlineAssessmentOrderReceivedWebhookPayloadHiringTeam
439
442
  > = z.object({
440
- remote_id: z.string(),
443
+ remote_id: z.nullable(z.string()),
441
444
  email: z.nullable(z.string()),
442
445
  first_name: z.nullable(z.string()),
443
446
  last_name: z.nullable(z.string()),
@@ -18,6 +18,7 @@ export type KomboAtsErrorStatus = ClosedEnum<typeof KomboAtsErrorStatus>;
18
18
  */
19
19
  export const KomboAtsErrorCode = {
20
20
  PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
21
+ PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
21
22
  PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
22
23
  PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
23
24
  PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
@@ -20,6 +20,7 @@ export type KomboGeneralErrorStatus = ClosedEnum<
20
20
  */
21
21
  export const KomboGeneralErrorCode = {
22
22
  PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
23
+ PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
23
24
  PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
24
25
  PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
25
26
  PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
@@ -18,6 +18,7 @@ export type KomboHrisErrorStatus = ClosedEnum<typeof KomboHrisErrorStatus>;
18
18
  */
19
19
  export const KomboHrisErrorCode = {
20
20
  PlatformRateLimitExceeded: "PLATFORM.RATE_LIMIT_EXCEEDED",
21
+ PlatformConcurrencyLimitExceeded: "PLATFORM.CONCURRENCY_LIMIT_EXCEEDED",
21
22
  PlatformIntegrationNotFound: "PLATFORM.INTEGRATION_NOT_FOUND",
22
23
  PlatformInputInvalid: "PLATFORM.INPUT_INVALID",
23
24
  PlatformUnknownError: "PLATFORM.UNKNOWN_ERROR",
@@ -33,6 +33,15 @@ export type GetAtsApplicationsRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
38
+ *
39
+ * - ✓ `candidate`
40
+ * - ✗ `tags`
41
+ * - ✓ `current_stage`
42
+ * - ✗ `job`
43
+ * - ✓ `interviews`
44
+ * - ✓ `offers`
36
45
  */
37
46
  updated_after?: Date | undefined;
38
47
  /**
@@ -33,6 +33,8 @@ export type GetAtsApplicationStagesRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, only changes to the returned record itself are considered.
36
38
  */
37
39
  updated_after?: Date | undefined;
38
40
  /**
@@ -33,6 +33,14 @@ export type GetAtsCandidatesRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
38
+ *
39
+ * - ✓ `applications`
40
+ * - ✗ `current_stage`
41
+ * - ✗ `job`
42
+ * - ✓ `tags`
43
+ * - ✗ `tag`
36
44
  */
37
45
  updated_after?: Date | undefined;
38
46
  /**
@@ -33,6 +33,14 @@ export type GetAtsInterviewsRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
38
+ *
39
+ * - ✓ `interviewers`
40
+ * - ✗ `user`
41
+ * - ✓ `application`
42
+ * - ✗ `candidate`
43
+ * - ✗ `job`
36
44
  */
37
45
  updated_after?: Date | undefined;
38
46
  /**
@@ -33,6 +33,17 @@ export type GetAtsJobsRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
38
+ *
39
+ * - ✓ `application_stages`
40
+ * - ✗ `stage`
41
+ * - ✓ `screening_questions`
42
+ * - ✗ `question`
43
+ * - ✓ `job_postings`
44
+ * - ✓ `hiring_team`
45
+ * - ✗ `user`
46
+ * - ✗ `role_assignments`
36
47
  */
37
48
  updated_after?: Date | undefined;
38
49
  /**
@@ -33,6 +33,12 @@ export type GetAtsOffersRequest = {
33
33
  * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
34
  *
35
35
  * For more details, see [Understanding changed_at vs updated_after Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).
36
+ *
37
+ * For this endpoint, `updated_after` considers changes to the record itself as well as changes to the following relations:
38
+ *
39
+ * - ✓ `application`
40
+ * - ✗ `candidate`
41
+ * - ✗ `job`
36
42
  */
37
43
  updated_after?: Date | undefined;
38
44
  /**