@kombo-api/sdk 1.0.0 → 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 (364) hide show
  1. package/README.md +7 -3
  2. package/esm/funcs/assessmentGetOpenOrders.js.map +1 -1
  3. package/esm/funcs/assessmentUpdateOrderResult.js.map +1 -1
  4. package/esm/funcs/atsAddApplicationAttachment.js.map +1 -1
  5. package/esm/funcs/atsAddApplicationNote.js.map +1 -1
  6. package/esm/funcs/atsAddApplicationResultLink.js.map +1 -1
  7. package/esm/funcs/atsAddCandidateAttachment.js.map +1 -1
  8. package/esm/funcs/atsAddCandidateResultLink.js.map +1 -1
  9. package/esm/funcs/atsAddCandidateTag.js.map +1 -1
  10. package/esm/funcs/atsCreateApplication.js.map +1 -1
  11. package/esm/funcs/atsGetApplicationAttachments.js.map +1 -1
  12. package/esm/funcs/atsGetApplicationStages.js.map +1 -1
  13. package/esm/funcs/atsGetApplications.js.map +1 -1
  14. package/esm/funcs/atsGetCandidateAttachments.js.map +1 -1
  15. package/esm/funcs/atsGetCandidates.js.map +1 -1
  16. package/esm/funcs/atsGetInterviews.js.map +1 -1
  17. package/esm/funcs/atsGetJobs.js.map +1 -1
  18. package/esm/funcs/atsGetOffers.js.map +1 -1
  19. package/esm/funcs/atsGetRejectionReasons.js.map +1 -1
  20. package/esm/funcs/atsGetRoles.d.ts +25 -0
  21. package/esm/funcs/atsGetRoles.d.ts.map +1 -0
  22. package/esm/funcs/atsGetRoles.js +125 -0
  23. package/esm/funcs/atsGetRoles.js.map +1 -0
  24. package/esm/funcs/atsGetTags.js.map +1 -1
  25. package/esm/funcs/atsGetUsers.js.map +1 -1
  26. package/esm/funcs/atsMoveApplicationToStage.d.ts +2 -1
  27. package/esm/funcs/atsMoveApplicationToStage.d.ts.map +1 -1
  28. package/esm/funcs/atsMoveApplicationToStage.js +2 -1
  29. package/esm/funcs/atsMoveApplicationToStage.js.map +1 -1
  30. package/esm/funcs/atsRejectApplication.js.map +1 -1
  31. package/esm/funcs/atsRemoveCandidateTag.js.map +1 -1
  32. package/esm/funcs/connectGetIntegrationByToken.js.map +1 -1
  33. package/esm/funcs/generalCreateReconnectionLink.js.map +1 -1
  34. package/esm/funcs/generalDeleteIntegration.js.map +1 -1
  35. package/esm/funcs/generalGetCustomFields.js.map +1 -1
  36. package/esm/funcs/generalGetIntegrationDetails.js.map +1 -1
  37. package/esm/funcs/generalGetIntegrationFields.js.map +1 -1
  38. package/esm/funcs/generalGetTools.js.map +1 -1
  39. package/esm/funcs/generalSendPassthroughRequest.d.ts +18 -5
  40. package/esm/funcs/generalSendPassthroughRequest.d.ts.map +1 -1
  41. package/esm/funcs/generalSendPassthroughRequest.js +18 -5
  42. package/esm/funcs/generalSendPassthroughRequest.js.map +1 -1
  43. package/esm/funcs/generalSetIntegrationEnabled.js.map +1 -1
  44. package/esm/funcs/generalUpdateCustomFieldMapping.js.map +1 -1
  45. package/esm/funcs/generalUpdateIntegrationField.js.map +1 -1
  46. package/esm/funcs/hrisAddEmployeeDocument.js.map +1 -1
  47. package/esm/funcs/hrisDeleteAbsence.js.map +1 -1
  48. package/esm/funcs/hrisGetAbsenceTypes.js.map +1 -1
  49. package/esm/funcs/hrisGetAbsences.js.map +1 -1
  50. package/esm/funcs/hrisGetEmployeeDocumentCategories.js.map +1 -1
  51. package/esm/funcs/hrisGetEmployees.js.map +1 -1
  52. package/esm/funcs/hrisGetEmployments.js.map +1 -1
  53. package/esm/funcs/hrisGetGroups.js.map +1 -1
  54. package/esm/funcs/hrisGetLegalEntities.js.map +1 -1
  55. package/esm/funcs/hrisGetLocations.js.map +1 -1
  56. package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts +0 -2
  57. package/esm/funcs/hrisGetPerformanceReviewCycles.d.ts.map +1 -1
  58. package/esm/funcs/hrisGetPerformanceReviewCycles.js +0 -2
  59. package/esm/funcs/hrisGetPerformanceReviewCycles.js.map +1 -1
  60. package/esm/funcs/hrisGetPerformanceReviews.d.ts +0 -2
  61. package/esm/funcs/hrisGetPerformanceReviews.d.ts.map +1 -1
  62. package/esm/funcs/hrisGetPerformanceReviews.js +0 -2
  63. package/esm/funcs/hrisGetPerformanceReviews.js.map +1 -1
  64. package/esm/funcs/hrisGetStaffingEntities.d.ts +33 -0
  65. package/esm/funcs/hrisGetStaffingEntities.d.ts.map +1 -0
  66. package/esm/funcs/hrisGetStaffingEntities.js +134 -0
  67. package/esm/funcs/hrisGetStaffingEntities.js.map +1 -0
  68. package/esm/funcs/hrisGetTimeOffBalances.js.map +1 -1
  69. package/esm/funcs/hrisGetTimesheets.js.map +1 -1
  70. package/esm/lib/config.d.ts +3 -3
  71. package/esm/lib/config.js +3 -3
  72. package/esm/lib/config.js.map +1 -1
  73. package/esm/lib/encodings.d.ts.map +1 -1
  74. package/esm/lib/encodings.js +20 -5
  75. package/esm/lib/encodings.js.map +1 -1
  76. package/esm/lib/files.d.ts +13 -0
  77. package/esm/lib/files.d.ts.map +1 -1
  78. package/esm/lib/files.js +18 -0
  79. package/esm/lib/files.js.map +1 -1
  80. package/esm/lib/matchers.d.ts.map +1 -1
  81. package/esm/lib/matchers.js +0 -1
  82. package/esm/lib/matchers.js.map +1 -1
  83. package/esm/lib/sdks.d.ts.map +1 -1
  84. package/esm/lib/sdks.js +8 -4
  85. package/esm/lib/sdks.js.map +1 -1
  86. package/esm/lib/security.d.ts.map +1 -1
  87. package/esm/lib/security.js +1 -2
  88. package/esm/lib/security.js.map +1 -1
  89. package/esm/lib/url.d.ts.map +1 -1
  90. package/esm/lib/url.js +4 -2
  91. package/esm/lib/url.js.map +1 -1
  92. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts +5 -2
  93. package/esm/models/assessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  94. package/esm/models/assessmentorderreceivedwebhookpayload.js +5 -2
  95. package/esm/models/assessmentorderreceivedwebhookpayload.js.map +1 -1
  96. package/esm/models/datachangedwebhookpayload.d.ts +7 -0
  97. package/esm/models/datachangedwebhookpayload.d.ts.map +1 -1
  98. package/esm/models/datachangedwebhookpayload.js +7 -0
  99. package/esm/models/datachangedwebhookpayload.js.map +1 -1
  100. package/esm/models/getassessmentordersopenpositiveresponse.d.ts +4 -1
  101. package/esm/models/getassessmentordersopenpositiveresponse.d.ts.map +1 -1
  102. package/esm/models/getassessmentordersopenpositiveresponse.js +4 -1
  103. package/esm/models/getassessmentordersopenpositiveresponse.js.map +1 -1
  104. package/esm/models/getatsjobspositiveresponse.d.ts +67 -1
  105. package/esm/models/getatsjobspositiveresponse.d.ts.map +1 -1
  106. package/esm/models/getatsjobspositiveresponse.js +36 -0
  107. package/esm/models/getatsjobspositiveresponse.js.map +1 -1
  108. package/esm/models/getatsrolespositiveresponse.d.ts +85 -0
  109. package/esm/models/getatsrolespositiveresponse.d.ts.map +1 -0
  110. package/esm/models/getatsrolespositiveresponse.js +57 -0
  111. package/esm/models/getatsrolespositiveresponse.js.map +1 -0
  112. package/esm/models/getatsuserspositiveresponse.d.ts +61 -0
  113. package/esm/models/getatsuserspositiveresponse.d.ts.map +1 -1
  114. package/esm/models/getatsuserspositiveresponse.js +33 -0
  115. package/esm/models/getatsuserspositiveresponse.js.map +1 -1
  116. package/esm/models/gethrisemployeespositiveresponse.d.ts +12 -12
  117. package/esm/models/gethrisemployeespositiveresponse.d.ts.map +1 -1
  118. package/esm/models/gethrisemployeespositiveresponse.js +12 -13
  119. package/esm/models/gethrisemployeespositiveresponse.js.map +1 -1
  120. package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts +261 -0
  121. package/esm/models/gethrisstaffingentitiespositiveresponse.d.ts.map +1 -0
  122. package/esm/models/gethrisstaffingentitiespositiveresponse.js +143 -0
  123. package/esm/models/gethrisstaffingentitiespositiveresponse.js.map +1 -0
  124. package/esm/models/index.d.ts +2 -0
  125. package/esm/models/index.d.ts.map +1 -1
  126. package/esm/models/index.js +2 -0
  127. package/esm/models/index.js.map +1 -1
  128. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts +5 -2
  129. package/esm/models/inlineassessmentorderreceivedwebhookpayload.d.ts.map +1 -1
  130. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js +5 -2
  131. package/esm/models/inlineassessmentorderreceivedwebhookpayload.js.map +1 -1
  132. package/esm/models/komboatserror.d.ts +1 -0
  133. package/esm/models/komboatserror.d.ts.map +1 -1
  134. package/esm/models/komboatserror.js +1 -0
  135. package/esm/models/komboatserror.js.map +1 -1
  136. package/esm/models/kombogeneralerror.d.ts +1 -0
  137. package/esm/models/kombogeneralerror.d.ts.map +1 -1
  138. package/esm/models/kombogeneralerror.js +1 -0
  139. package/esm/models/kombogeneralerror.js.map +1 -1
  140. package/esm/models/kombohriserror.d.ts +1 -0
  141. package/esm/models/kombohriserror.d.ts.map +1 -1
  142. package/esm/models/kombohriserror.js +1 -0
  143. package/esm/models/kombohriserror.js.map +1 -1
  144. package/esm/models/operations/getatsapplications.d.ts +9 -0
  145. package/esm/models/operations/getatsapplications.d.ts.map +1 -1
  146. package/esm/models/operations/getatsapplications.js.map +1 -1
  147. package/esm/models/operations/getatsapplicationstages.d.ts +2 -0
  148. package/esm/models/operations/getatsapplicationstages.d.ts.map +1 -1
  149. package/esm/models/operations/getatsapplicationstages.js.map +1 -1
  150. package/esm/models/operations/getatscandidates.d.ts +8 -0
  151. package/esm/models/operations/getatscandidates.d.ts.map +1 -1
  152. package/esm/models/operations/getatscandidates.js.map +1 -1
  153. package/esm/models/operations/getatsinterviews.d.ts +8 -0
  154. package/esm/models/operations/getatsinterviews.d.ts.map +1 -1
  155. package/esm/models/operations/getatsinterviews.js.map +1 -1
  156. package/esm/models/operations/getatsjobs.d.ts +11 -0
  157. package/esm/models/operations/getatsjobs.d.ts.map +1 -1
  158. package/esm/models/operations/getatsjobs.js.map +1 -1
  159. package/esm/models/operations/getatsoffers.d.ts +6 -0
  160. package/esm/models/operations/getatsoffers.d.ts.map +1 -1
  161. package/esm/models/operations/getatsoffers.js.map +1 -1
  162. package/esm/models/operations/getatsrejectionreasons.d.ts +2 -0
  163. package/esm/models/operations/getatsrejectionreasons.d.ts.map +1 -1
  164. package/esm/models/operations/getatsrejectionreasons.js.map +1 -1
  165. package/esm/models/operations/getatsroles.d.ts +79 -0
  166. package/esm/models/operations/getatsroles.d.ts.map +1 -0
  167. package/esm/models/operations/getatsroles.js +33 -0
  168. package/esm/models/operations/getatsroles.js.map +1 -0
  169. package/esm/models/operations/getatstags.d.ts +2 -0
  170. package/esm/models/operations/getatstags.d.ts.map +1 -1
  171. package/esm/models/operations/getatstags.js.map +1 -1
  172. package/esm/models/operations/getatsusers.d.ts +5 -0
  173. package/esm/models/operations/getatsusers.d.ts.map +1 -1
  174. package/esm/models/operations/getatsusers.js.map +1 -1
  175. package/esm/models/operations/gethrisabsences.d.ts +4 -0
  176. package/esm/models/operations/gethrisabsences.d.ts.map +1 -1
  177. package/esm/models/operations/gethrisabsences.js.map +1 -1
  178. package/esm/models/operations/gethrisabsencetypes.d.ts +2 -0
  179. package/esm/models/operations/gethrisabsencetypes.d.ts.map +1 -1
  180. package/esm/models/operations/gethrisabsencetypes.js.map +1 -1
  181. package/esm/models/operations/gethrisemployeedocumentcategories.d.ts +2 -0
  182. package/esm/models/operations/gethrisemployeedocumentcategories.d.ts.map +1 -1
  183. package/esm/models/operations/gethrisemployeedocumentcategories.js.map +1 -1
  184. package/esm/models/operations/gethrisemployees.d.ts +10 -0
  185. package/esm/models/operations/gethrisemployees.d.ts.map +1 -1
  186. package/esm/models/operations/gethrisemployees.js.map +1 -1
  187. package/esm/models/operations/gethrisemployments.d.ts +2 -0
  188. package/esm/models/operations/gethrisemployments.d.ts.map +1 -1
  189. package/esm/models/operations/gethrisemployments.js.map +1 -1
  190. package/esm/models/operations/gethrisgroups.d.ts +2 -0
  191. package/esm/models/operations/gethrisgroups.d.ts.map +1 -1
  192. package/esm/models/operations/gethrisgroups.js.map +1 -1
  193. package/esm/models/operations/gethrislegalentities.d.ts +2 -0
  194. package/esm/models/operations/gethrislegalentities.d.ts.map +1 -1
  195. package/esm/models/operations/gethrislegalentities.js.map +1 -1
  196. package/esm/models/operations/gethrislocations.d.ts +2 -0
  197. package/esm/models/operations/gethrislocations.d.ts.map +1 -1
  198. package/esm/models/operations/gethrislocations.js.map +1 -1
  199. package/esm/models/operations/gethrisperformancereviewcycles.d.ts +2 -0
  200. package/esm/models/operations/gethrisperformancereviewcycles.d.ts.map +1 -1
  201. package/esm/models/operations/gethrisperformancereviewcycles.js.map +1 -1
  202. package/esm/models/operations/gethrisperformancereviews.d.ts +6 -0
  203. package/esm/models/operations/gethrisperformancereviews.d.ts.map +1 -1
  204. package/esm/models/operations/gethrisperformancereviews.js.map +1 -1
  205. package/esm/models/operations/gethrisstaffingentities.d.ts +93 -0
  206. package/esm/models/operations/gethrisstaffingentities.d.ts.map +1 -0
  207. package/esm/models/operations/gethrisstaffingentities.js +34 -0
  208. package/esm/models/operations/gethrisstaffingentities.js.map +1 -0
  209. package/esm/models/operations/gethristimeoffbalances.d.ts +4 -0
  210. package/esm/models/operations/gethristimeoffbalances.d.ts.map +1 -1
  211. package/esm/models/operations/gethristimeoffbalances.js.map +1 -1
  212. package/esm/models/operations/gethristimesheets.d.ts +2 -0
  213. package/esm/models/operations/gethristimesheets.d.ts.map +1 -1
  214. package/esm/models/operations/gethristimesheets.js.map +1 -1
  215. package/esm/models/operations/index.d.ts +2 -0
  216. package/esm/models/operations/index.d.ts.map +1 -1
  217. package/esm/models/operations/index.js +2 -0
  218. package/esm/models/operations/index.js.map +1 -1
  219. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts +21 -0
  220. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.d.ts.map +1 -1
  221. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js +8 -0
  222. package/esm/models/postatsapplicationsapplicationidnotesrequestbody.js.map +1 -1
  223. package/esm/models/postatscandidatesrequestbody.d.ts +60 -0
  224. package/esm/models/postatscandidatesrequestbody.d.ts.map +1 -1
  225. package/esm/models/postatscandidatesrequestbody.js +30 -0
  226. package/esm/models/postatscandidatesrequestbody.js.map +1 -1
  227. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts +60 -0
  228. package/esm/models/postatsjobsjobidapplicationsrequestbody.d.ts.map +1 -1
  229. package/esm/models/postatsjobsjobidapplicationsrequestbody.js +30 -0
  230. package/esm/models/postatsjobsjobidapplicationsrequestbody.js.map +1 -1
  231. package/esm/models/postconnectcreatelinkrequestbody.d.ts +4 -0
  232. package/esm/models/postconnectcreatelinkrequestbody.d.ts.map +1 -1
  233. package/esm/models/postconnectcreatelinkrequestbody.js +4 -0
  234. package/esm/models/postconnectcreatelinkrequestbody.js.map +1 -1
  235. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts +15 -0
  236. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.d.ts.map +1 -1
  237. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js +9 -0
  238. package/esm/models/putassessmentordersassessmentorderidresultrequestbody.js.map +1 -1
  239. package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts +40 -0
  240. package/esm/models/putatsapplicationsapplicationidstagerequestbody.d.ts.map +1 -1
  241. package/esm/models/putatsapplicationsapplicationidstagerequestbody.js +24 -0
  242. package/esm/models/putatsapplicationsapplicationidstagerequestbody.js.map +1 -1
  243. package/esm/sdk/ats.d.ts +15 -1
  244. package/esm/sdk/ats.d.ts.map +1 -1
  245. package/esm/sdk/ats.js +16 -1
  246. package/esm/sdk/ats.js.map +1 -1
  247. package/esm/sdk/general.d.ts +18 -5
  248. package/esm/sdk/general.d.ts.map +1 -1
  249. package/esm/sdk/general.js +18 -5
  250. package/esm/sdk/general.js.map +1 -1
  251. package/esm/sdk/hris.d.ts +21 -4
  252. package/esm/sdk/hris.d.ts.map +1 -1
  253. package/esm/sdk/hris.js +22 -4
  254. package/esm/sdk/hris.js.map +1 -1
  255. package/jsr.json +1 -1
  256. package/package.json +1 -1
  257. package/src/funcs/assessmentGetOpenOrders.ts +1 -1
  258. package/src/funcs/assessmentUpdateOrderResult.ts +0 -1
  259. package/src/funcs/atsAddApplicationAttachment.ts +0 -1
  260. package/src/funcs/atsAddApplicationNote.ts +0 -1
  261. package/src/funcs/atsAddApplicationResultLink.ts +0 -1
  262. package/src/funcs/atsAddCandidateAttachment.ts +0 -1
  263. package/src/funcs/atsAddCandidateResultLink.ts +0 -1
  264. package/src/funcs/atsAddCandidateTag.ts +0 -1
  265. package/src/funcs/atsCreateApplication.ts +0 -1
  266. package/src/funcs/atsGetApplicationAttachments.ts +0 -1
  267. package/src/funcs/atsGetApplicationStages.ts +1 -1
  268. package/src/funcs/atsGetApplications.ts +1 -1
  269. package/src/funcs/atsGetCandidateAttachments.ts +0 -1
  270. package/src/funcs/atsGetCandidates.ts +1 -1
  271. package/src/funcs/atsGetInterviews.ts +1 -1
  272. package/src/funcs/atsGetJobs.ts +1 -1
  273. package/src/funcs/atsGetOffers.ts +1 -1
  274. package/src/funcs/atsGetRejectionReasons.ts +1 -1
  275. package/src/funcs/atsGetRoles.ts +256 -0
  276. package/src/funcs/atsGetTags.ts +1 -1
  277. package/src/funcs/atsGetUsers.ts +1 -1
  278. package/src/funcs/atsMoveApplicationToStage.ts +2 -2
  279. package/src/funcs/atsRejectApplication.ts +0 -1
  280. package/src/funcs/atsRemoveCandidateTag.ts +0 -1
  281. package/src/funcs/connectGetIntegrationByToken.ts +0 -1
  282. package/src/funcs/generalCreateReconnectionLink.ts +0 -1
  283. package/src/funcs/generalDeleteIntegration.ts +0 -1
  284. package/src/funcs/generalGetCustomFields.ts +0 -1
  285. package/src/funcs/generalGetIntegrationDetails.ts +0 -1
  286. package/src/funcs/generalGetIntegrationFields.ts +0 -1
  287. package/src/funcs/generalGetTools.ts +0 -1
  288. package/src/funcs/generalSendPassthroughRequest.ts +18 -6
  289. package/src/funcs/generalSetIntegrationEnabled.ts +0 -1
  290. package/src/funcs/generalUpdateCustomFieldMapping.ts +0 -1
  291. package/src/funcs/generalUpdateIntegrationField.ts +0 -1
  292. package/src/funcs/hrisAddEmployeeDocument.ts +0 -1
  293. package/src/funcs/hrisDeleteAbsence.ts +0 -1
  294. package/src/funcs/hrisGetAbsenceTypes.ts +1 -1
  295. package/src/funcs/hrisGetAbsences.ts +1 -1
  296. package/src/funcs/hrisGetEmployeeDocumentCategories.ts +1 -1
  297. package/src/funcs/hrisGetEmployees.ts +1 -1
  298. package/src/funcs/hrisGetEmployments.ts +1 -1
  299. package/src/funcs/hrisGetGroups.ts +1 -1
  300. package/src/funcs/hrisGetLegalEntities.ts +1 -1
  301. package/src/funcs/hrisGetLocations.ts +1 -1
  302. package/src/funcs/hrisGetPerformanceReviewCycles.ts +1 -3
  303. package/src/funcs/hrisGetPerformanceReviews.ts +1 -3
  304. package/src/funcs/hrisGetStaffingEntities.ts +267 -0
  305. package/src/funcs/hrisGetTimeOffBalances.ts +1 -1
  306. package/src/funcs/hrisGetTimesheets.ts +1 -1
  307. package/src/lib/config.ts +3 -3
  308. package/src/lib/encodings.ts +23 -4
  309. package/src/lib/files.ts +22 -0
  310. package/src/lib/matchers.ts +3 -2
  311. package/src/lib/sdks.ts +7 -5
  312. package/src/lib/security.ts +1 -2
  313. package/src/lib/url.ts +16 -14
  314. package/src/models/assessmentorderreceivedwebhookpayload.ts +7 -4
  315. package/src/models/datachangedwebhookpayload.ts +8 -0
  316. package/src/models/getassessmentordersopenpositiveresponse.ts +5 -2
  317. package/src/models/getatsjobspositiveresponse.ts +100 -1
  318. package/src/models/getatsrolespositiveresponse.ts +167 -0
  319. package/src/models/getatsuserspositiveresponse.ts +97 -0
  320. package/src/models/gethrisemployeespositiveresponse.ts +55 -37
  321. package/src/models/gethrisstaffingentitiespositiveresponse.ts +509 -0
  322. package/src/models/index.ts +2 -0
  323. package/src/models/inlineassessmentorderreceivedwebhookpayload.ts +7 -4
  324. package/src/models/komboatserror.ts +1 -0
  325. package/src/models/kombogeneralerror.ts +1 -0
  326. package/src/models/kombohriserror.ts +1 -0
  327. package/src/models/operations/getatsapplications.ts +9 -0
  328. package/src/models/operations/getatsapplicationstages.ts +2 -0
  329. package/src/models/operations/getatscandidates.ts +8 -0
  330. package/src/models/operations/getatsinterviews.ts +8 -0
  331. package/src/models/operations/getatsjobs.ts +11 -0
  332. package/src/models/operations/getatsoffers.ts +6 -0
  333. package/src/models/operations/getatsrejectionreasons.ts +2 -0
  334. package/src/models/operations/getatsroles.ts +129 -0
  335. package/src/models/operations/getatstags.ts +2 -0
  336. package/src/models/operations/getatsusers.ts +5 -0
  337. package/src/models/operations/gethrisabsences.ts +4 -0
  338. package/src/models/operations/gethrisabsencetypes.ts +2 -0
  339. package/src/models/operations/gethrisemployeedocumentcategories.ts +2 -0
  340. package/src/models/operations/gethrisemployees.ts +10 -0
  341. package/src/models/operations/gethrisemployments.ts +2 -0
  342. package/src/models/operations/gethrisgroups.ts +2 -0
  343. package/src/models/operations/gethrislegalentities.ts +2 -0
  344. package/src/models/operations/gethrislocations.ts +2 -0
  345. package/src/models/operations/gethrisperformancereviewcycles.ts +2 -0
  346. package/src/models/operations/gethrisperformancereviews.ts +6 -0
  347. package/src/models/operations/gethrisstaffingentities.ts +146 -0
  348. package/src/models/operations/gethristimeoffbalances.ts +4 -0
  349. package/src/models/operations/gethristimesheets.ts +2 -0
  350. package/src/models/operations/index.ts +2 -0
  351. package/src/models/postatsapplicationsapplicationidnotesrequestbody.ts +46 -0
  352. package/src/models/postatscandidatesrequestbody.ts +110 -0
  353. package/src/models/postatsjobsjobidapplicationsrequestbody.ts +114 -0
  354. package/src/models/postconnectcreatelinkrequestbody.ts +4 -0
  355. package/src/models/putassessmentordersassessmentorderidresultrequestbody.ts +42 -0
  356. package/src/models/putatsapplicationsapplicationidstagerequestbody.ts +74 -0
  357. package/src/sdk/ats.ts +24 -1
  358. package/src/sdk/general.ts +18 -5
  359. package/src/sdk/hris.ts +32 -4
  360. package/_speakeasy/.github/action-inputs-config.json +0 -53
  361. package/_speakeasy/.github/action-security-config.json +0 -88
  362. package/examples/package-lock.json +0 -613
  363. package/examples/package.json +0 -18
  364. package/tsconfig.json +0 -40
@@ -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
  /**
@@ -33,6 +33,8 @@ export type GetAtsRejectionReasonsRequest = {
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
  /**
@@ -0,0 +1,129 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as models from "../index.js";
11
+
12
+ export type GetAtsRolesGlobals = {
13
+ /**
14
+ * ID of the integration you want to interact with.
15
+ */
16
+ integration_id?: string | undefined;
17
+ };
18
+
19
+ export type GetAtsRolesRequest = {
20
+ /**
21
+ * An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
22
+ */
23
+ cursor?: string | undefined;
24
+ /**
25
+ * The number of results to return per page. Maximum is 250.
26
+ */
27
+ page_size?: number | undefined;
28
+ /**
29
+ * Filter the entries based on the modification date in format `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record itself **OR** its nested data has been updated since this timestamp, even if the record's own `changed_at` field remains unchanged.
30
+ *
31
+ * @remarks
32
+ *
33
+ * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
+ *
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.
38
+ */
39
+ updated_after?: Date | undefined;
40
+ /**
41
+ * By default, deleted entries are not returned. Use the `include_deleted` query param to include deleted entries too.
42
+ */
43
+ include_deleted?: boolean | undefined;
44
+ /**
45
+ * When set to `true`, filters targeting fields not supported by this integration will be ignored instead of filtering out all results.
46
+ */
47
+ ignore_unsupported_filters?: boolean | undefined;
48
+ /**
49
+ * Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
50
+ */
51
+ ids?: Array<string> | undefined;
52
+ /**
53
+ * Filter by a comma-separated list of remote IDs.
54
+ */
55
+ remote_ids?: Array<string> | undefined;
56
+ /**
57
+ * Filter by a comma-separated list of `SYSTEM`, `JOB`
58
+ *
59
+ * @remarks
60
+ * * `SYSTEM`: System-wide roles that apply globally (e.g., an "Admin" role).
61
+ * * `JOB`: Job-scoped roles that apply to specific jobs (e.g., a "Hiring Manager" role).
62
+ *
63
+ * Leave this blank to get results matching all values.
64
+ */
65
+ scopes?: Array<string> | undefined;
66
+ };
67
+
68
+ export type GetAtsRolesResponse = {
69
+ result: models.GetAtsRolesPositiveResponse;
70
+ };
71
+
72
+ /** @internal */
73
+ export type GetAtsRolesRequest$Outbound = {
74
+ cursor?: string | undefined;
75
+ page_size: number;
76
+ updated_after?: string | undefined;
77
+ include_deleted: boolean;
78
+ ignore_unsupported_filters: boolean;
79
+ ids?: Array<string> | undefined;
80
+ remote_ids?: Array<string> | undefined;
81
+ scopes?: Array<string> | undefined;
82
+ };
83
+
84
+ /** @internal */
85
+ export const GetAtsRolesRequest$outboundSchema: z.ZodType<
86
+ GetAtsRolesRequest$Outbound,
87
+ z.ZodTypeDef,
88
+ GetAtsRolesRequest
89
+ > = z.object({
90
+ cursor: z.string().optional(),
91
+ page_size: z.number().int().default(100),
92
+ updated_after: z.date().transform(v => v.toISOString()).optional(),
93
+ include_deleted: z.boolean().default(false),
94
+ ignore_unsupported_filters: z.boolean().default(false),
95
+ ids: z.array(z.string()).optional(),
96
+ remote_ids: z.array(z.string()).optional(),
97
+ scopes: z.array(z.string()).optional(),
98
+ });
99
+
100
+ export function getAtsRolesRequestToJSON(
101
+ getAtsRolesRequest: GetAtsRolesRequest,
102
+ ): string {
103
+ return JSON.stringify(
104
+ GetAtsRolesRequest$outboundSchema.parse(getAtsRolesRequest),
105
+ );
106
+ }
107
+
108
+ /** @internal */
109
+ export const GetAtsRolesResponse$inboundSchema: z.ZodType<
110
+ GetAtsRolesResponse,
111
+ z.ZodTypeDef,
112
+ unknown
113
+ > = z.object({
114
+ Result: models.GetAtsRolesPositiveResponse$inboundSchema,
115
+ }).transform((v) => {
116
+ return remap$(v, {
117
+ "Result": "result",
118
+ });
119
+ });
120
+
121
+ export function getAtsRolesResponseFromJSON(
122
+ jsonString: string,
123
+ ): SafeParseResult<GetAtsRolesResponse, SDKValidationError> {
124
+ return safeParse(
125
+ jsonString,
126
+ (x) => GetAtsRolesResponse$inboundSchema.parse(JSON.parse(x)),
127
+ `Failed to parse 'GetAtsRolesResponse' from JSON`,
128
+ );
129
+ }
@@ -33,6 +33,8 @@ export type GetAtsTagsRequest = {
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,11 @@ export type GetAtsUsersRequest = {
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
+ * - ✓ `system_role_assignment`
40
+ * - ✓ `role`
36
41
  */
37
42
  updated_after?: Date | undefined;
38
43
  /**
@@ -33,6 +33,10 @@ export type GetHrisAbsencesRequest = {
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
+ * - ✓ `type`
36
40
  */
37
41
  updated_after?: Date | undefined;
38
42
  /**
@@ -33,6 +33,8 @@ export type GetHrisAbsenceTypesRequest = {
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,8 @@ export type GetHrisEmployeeDocumentCategoriesRequest = {
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,16 @@ export type GetHrisEmployeesRequest = {
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
+ * - ✓ `employments`
40
+ * - ✓ `time_off_balances`
41
+ * - ✓ `manager`
42
+ * - ✓ `group_memberships`
43
+ * - ✗ `group`
44
+ * - ✓ `legal_entity`
45
+ * - ✓ `work_location`
36
46
  */
37
47
  updated_after?: Date | undefined;
38
48
  /**
@@ -33,6 +33,8 @@ export type GetHrisEmploymentsRequest = {
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,8 @@ export type GetHrisGroupsRequest = {
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,8 @@ export type GetHrisLegalEntitiesRequest = {
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,8 @@ export type GetHrisLocationsRequest = {
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,8 @@ export type GetHrisPerformanceReviewCyclesRequest = {
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,12 @@ export type GetHrisPerformanceReviewsRequest = {
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
+ * - ✓ `review_cycle`
40
+ * - ✓ `reviewee`
41
+ * - ✓ `reviewer`
36
42
  */
37
43
  updated_after?: Date | undefined;
38
44
  /**
@@ -0,0 +1,146 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import * as models from "../index.js";
11
+
12
+ export type GetHrisStaffingEntitiesGlobals = {
13
+ /**
14
+ * ID of the integration you want to interact with.
15
+ */
16
+ integration_id?: string | undefined;
17
+ };
18
+
19
+ export type GetHrisStaffingEntitiesRequest = {
20
+ /**
21
+ * An optional cursor string used for pagination. This can be retrieved from the `next` property of the previous page response.
22
+ */
23
+ cursor?: string | undefined;
24
+ /**
25
+ * The number of results to return per page. Maximum is 250.
26
+ */
27
+ page_size?: number | undefined;
28
+ /**
29
+ * Filter the entries based on the modification date in format `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record itself **OR** its nested data has been updated since this timestamp, even if the record's own `changed_at` field remains unchanged.
30
+ *
31
+ * @remarks
32
+ *
33
+ * If you want to track entry deletion, also set the `include_deleted=true` query parameter, because otherwise, deleted entries will be hidden.
34
+ *
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
+ * - ✓ `locations`
40
+ * - ✓ `location`
41
+ * - ✓ `legal_entities`
42
+ * - ✓ `legal_entity`
43
+ * - ✓ `groups`
44
+ * - ✓ `group`
45
+ */
46
+ updated_after?: Date | undefined;
47
+ /**
48
+ * By default, deleted entries are not returned. Use the `include_deleted` query param to include deleted entries too.
49
+ */
50
+ include_deleted?: boolean | undefined;
51
+ /**
52
+ * When set to `true`, filters targeting fields not supported by this integration will be ignored instead of filtering out all results.
53
+ */
54
+ ignore_unsupported_filters?: boolean | undefined;
55
+ /**
56
+ * Filter by a comma-separated list of IDs such as `222k7eCGyUdgt2JWZDNnkDs3,B5DVmypWENfU6eMe6gYDyJG3`.
57
+ */
58
+ ids?: Array<string> | undefined;
59
+ /**
60
+ * Filter by a comma-separated list of remote IDs.
61
+ */
62
+ remote_ids?: Array<string> | undefined;
63
+ /**
64
+ * Filter by a comma-separated list of `JOB`, `POSITION`, `REQUISITION`
65
+ *
66
+ * @remarks
67
+ *
68
+ * Leave this blank to get results matching all values.
69
+ */
70
+ model_types?: Array<string> | undefined;
71
+ /**
72
+ * Filter by a comma-separated list of `OPEN_LIMITED`, `OPEN_UNLIMITED`, `PENDING`, `FROZEN`, `FILLED`, `CLOSED`
73
+ *
74
+ * @remarks
75
+ *
76
+ * Leave this blank to get results matching all values.
77
+ */
78
+ statuses?: Array<string> | undefined;
79
+ };
80
+
81
+ export type GetHrisStaffingEntitiesResponse = {
82
+ result: models.GetHrisStaffingEntitiesPositiveResponse;
83
+ };
84
+
85
+ /** @internal */
86
+ export type GetHrisStaffingEntitiesRequest$Outbound = {
87
+ cursor?: string | undefined;
88
+ page_size: number;
89
+ updated_after?: string | undefined;
90
+ include_deleted: boolean;
91
+ ignore_unsupported_filters: boolean;
92
+ ids?: Array<string> | undefined;
93
+ remote_ids?: Array<string> | undefined;
94
+ model_types?: Array<string> | undefined;
95
+ statuses?: Array<string> | undefined;
96
+ };
97
+
98
+ /** @internal */
99
+ export const GetHrisStaffingEntitiesRequest$outboundSchema: z.ZodType<
100
+ GetHrisStaffingEntitiesRequest$Outbound,
101
+ z.ZodTypeDef,
102
+ GetHrisStaffingEntitiesRequest
103
+ > = z.object({
104
+ cursor: z.string().optional(),
105
+ page_size: z.number().int().default(100),
106
+ updated_after: z.date().transform(v => v.toISOString()).optional(),
107
+ include_deleted: z.boolean().default(false),
108
+ ignore_unsupported_filters: z.boolean().default(false),
109
+ ids: z.array(z.string()).optional(),
110
+ remote_ids: z.array(z.string()).optional(),
111
+ model_types: z.array(z.string()).optional(),
112
+ statuses: z.array(z.string()).optional(),
113
+ });
114
+
115
+ export function getHrisStaffingEntitiesRequestToJSON(
116
+ getHrisStaffingEntitiesRequest: GetHrisStaffingEntitiesRequest,
117
+ ): string {
118
+ return JSON.stringify(
119
+ GetHrisStaffingEntitiesRequest$outboundSchema.parse(
120
+ getHrisStaffingEntitiesRequest,
121
+ ),
122
+ );
123
+ }
124
+
125
+ /** @internal */
126
+ export const GetHrisStaffingEntitiesResponse$inboundSchema: z.ZodType<
127
+ GetHrisStaffingEntitiesResponse,
128
+ z.ZodTypeDef,
129
+ unknown
130
+ > = z.object({
131
+ Result: models.GetHrisStaffingEntitiesPositiveResponse$inboundSchema,
132
+ }).transform((v) => {
133
+ return remap$(v, {
134
+ "Result": "result",
135
+ });
136
+ });
137
+
138
+ export function getHrisStaffingEntitiesResponseFromJSON(
139
+ jsonString: string,
140
+ ): SafeParseResult<GetHrisStaffingEntitiesResponse, SDKValidationError> {
141
+ return safeParse(
142
+ jsonString,
143
+ (x) => GetHrisStaffingEntitiesResponse$inboundSchema.parse(JSON.parse(x)),
144
+ `Failed to parse 'GetHrisStaffingEntitiesResponse' from JSON`,
145
+ );
146
+ }
@@ -33,6 +33,10 @@ export type GetHrisTimeOffBalancesRequest = {
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
+ * - ✓ `type`
36
40
  */
37
41
  updated_after?: Date | undefined;
38
42
  /**
@@ -33,6 +33,8 @@ export type GetHrisTimesheetsRequest = {
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
  /**
@@ -16,6 +16,7 @@ export * from "./getatsinterviews.js";
16
16
  export * from "./getatsjobs.js";
17
17
  export * from "./getatsoffers.js";
18
18
  export * from "./getatsrejectionreasons.js";
19
+ export * from "./getatsroles.js";
19
20
  export * from "./getatstags.js";
20
21
  export * from "./getatsusers.js";
21
22
  export * from "./getconnectintegrationbytokentoken.js";
@@ -30,6 +31,7 @@ export * from "./gethrislegalentities.js";
30
31
  export * from "./gethrislocations.js";
31
32
  export * from "./gethrisperformancereviewcycles.js";
32
33
  export * from "./gethrisperformancereviews.js";
34
+ export * from "./gethrisstaffingentities.js";
33
35
  export * from "./gethristimeoffbalances.js";
34
36
  export * from "./gethristimesheets.js";
35
37
  export * from "./getintegrationsintegrationid.js";