@rippling/rippling-sdk 0.2.0-alpha.21 → 0.2.0-alpha.23

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 (423) hide show
  1. package/client.d.mts +42 -38
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +42 -38
  4. package/client.d.ts.map +1 -1
  5. package/client.js +18 -18
  6. package/client.js.map +1 -1
  7. package/client.mjs +18 -18
  8. package/client.mjs.map +1 -1
  9. package/internal/to-file.d.mts +1 -1
  10. package/internal/to-file.d.ts +1 -1
  11. package/internal/to-file.js +1 -1
  12. package/internal/to-file.mjs +1 -1
  13. package/internal/utils/values.js +3 -3
  14. package/internal/utils/values.js.map +1 -1
  15. package/internal/utils/values.mjs +3 -3
  16. package/internal/utils/values.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/resources/business-partner-groups.d.mts +13 -13
  19. package/resources/business-partner-groups.d.mts.map +1 -1
  20. package/resources/business-partner-groups.d.ts +13 -13
  21. package/resources/business-partner-groups.d.ts.map +1 -1
  22. package/resources/business-partner-groups.js +12 -12
  23. package/resources/business-partner-groups.js.map +1 -1
  24. package/resources/business-partner-groups.mjs +12 -12
  25. package/resources/business-partner-groups.mjs.map +1 -1
  26. package/resources/business-partners.d.mts +14 -14
  27. package/resources/business-partners.d.mts.map +1 -1
  28. package/resources/business-partners.d.ts +14 -14
  29. package/resources/business-partners.d.ts.map +1 -1
  30. package/resources/business-partners.js +12 -12
  31. package/resources/business-partners.js.map +1 -1
  32. package/resources/business-partners.mjs +12 -12
  33. package/resources/business-partners.mjs.map +1 -1
  34. package/resources/compensations.d.mts +8 -8
  35. package/resources/compensations.d.mts.map +1 -1
  36. package/resources/compensations.d.ts +8 -8
  37. package/resources/compensations.d.ts.map +1 -1
  38. package/resources/compensations.js +6 -6
  39. package/resources/compensations.js.map +1 -1
  40. package/resources/compensations.mjs +6 -6
  41. package/resources/compensations.mjs.map +1 -1
  42. package/resources/custom-objects/custom-objects.d.mts +7 -7
  43. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  44. package/resources/custom-objects/custom-objects.d.ts +7 -7
  45. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  46. package/resources/custom-objects/custom-objects.js +8 -8
  47. package/resources/custom-objects/custom-objects.js.map +1 -1
  48. package/resources/custom-objects/custom-objects.mjs +8 -8
  49. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  50. package/resources/custom-objects/fields.d.mts +6 -6
  51. package/resources/custom-objects/fields.d.mts.map +1 -1
  52. package/resources/custom-objects/fields.d.ts +6 -6
  53. package/resources/custom-objects/fields.d.ts.map +1 -1
  54. package/resources/custom-objects/fields.js +8 -8
  55. package/resources/custom-objects/fields.js.map +1 -1
  56. package/resources/custom-objects/fields.mjs +8 -8
  57. package/resources/custom-objects/fields.mjs.map +1 -1
  58. package/resources/custom-objects/index.d.mts +1 -1
  59. package/resources/custom-objects/index.d.mts.map +1 -1
  60. package/resources/custom-objects/index.d.ts +1 -1
  61. package/resources/custom-objects/index.d.ts.map +1 -1
  62. package/resources/custom-objects/records.d.mts +32 -32
  63. package/resources/custom-objects/records.d.mts.map +1 -1
  64. package/resources/custom-objects/records.d.ts +32 -32
  65. package/resources/custom-objects/records.d.ts.map +1 -1
  66. package/resources/custom-objects/records.js +27 -27
  67. package/resources/custom-objects/records.js.map +1 -1
  68. package/resources/custom-objects/records.mjs +27 -27
  69. package/resources/custom-objects/records.mjs.map +1 -1
  70. package/resources/departments.d.mts +8 -8
  71. package/resources/departments.d.mts.map +1 -1
  72. package/resources/departments.d.ts +8 -8
  73. package/resources/departments.d.ts.map +1 -1
  74. package/resources/departments.js +6 -6
  75. package/resources/departments.js.map +1 -1
  76. package/resources/departments.mjs +6 -6
  77. package/resources/departments.mjs.map +1 -1
  78. package/resources/draft-hires.d.mts +415 -0
  79. package/resources/draft-hires.d.mts.map +1 -0
  80. package/resources/draft-hires.d.ts +415 -0
  81. package/resources/draft-hires.d.ts.map +1 -0
  82. package/resources/draft-hires.js +15 -0
  83. package/resources/draft-hires.js.map +1 -0
  84. package/resources/draft-hires.mjs +11 -0
  85. package/resources/draft-hires.mjs.map +1 -0
  86. package/resources/employment-types.d.mts +4 -4
  87. package/resources/employment-types.d.mts.map +1 -1
  88. package/resources/employment-types.d.ts +4 -4
  89. package/resources/employment-types.d.ts.map +1 -1
  90. package/resources/employment-types.js +6 -6
  91. package/resources/employment-types.js.map +1 -1
  92. package/resources/employment-types.mjs +6 -6
  93. package/resources/employment-types.mjs.map +1 -1
  94. package/resources/functions/deployments.d.mts +7 -7
  95. package/resources/functions/deployments.d.mts.map +1 -1
  96. package/resources/functions/deployments.d.ts +7 -7
  97. package/resources/functions/deployments.d.ts.map +1 -1
  98. package/resources/functions/deployments.js +9 -9
  99. package/resources/functions/deployments.js.map +1 -1
  100. package/resources/functions/deployments.mjs +9 -9
  101. package/resources/functions/deployments.mjs.map +1 -1
  102. package/resources/functions/executions.d.mts +15 -15
  103. package/resources/functions/executions.d.mts.map +1 -1
  104. package/resources/functions/executions.d.ts +15 -15
  105. package/resources/functions/executions.d.ts.map +1 -1
  106. package/resources/functions/executions.js +10 -10
  107. package/resources/functions/executions.js.map +1 -1
  108. package/resources/functions/executions.mjs +10 -10
  109. package/resources/functions/executions.mjs.map +1 -1
  110. package/resources/functions/functions.d.mts +12 -12
  111. package/resources/functions/functions.d.mts.map +1 -1
  112. package/resources/functions/functions.d.ts +12 -12
  113. package/resources/functions/functions.d.ts.map +1 -1
  114. package/resources/functions/functions.js +9 -9
  115. package/resources/functions/functions.js.map +1 -1
  116. package/resources/functions/functions.mjs +9 -9
  117. package/resources/functions/functions.mjs.map +1 -1
  118. package/resources/functions/index.d.mts +2 -2
  119. package/resources/functions/index.d.mts.map +1 -1
  120. package/resources/functions/index.d.ts +2 -2
  121. package/resources/functions/index.d.ts.map +1 -1
  122. package/resources/headcount-positions.d.mts +74 -44
  123. package/resources/headcount-positions.d.mts.map +1 -1
  124. package/resources/headcount-positions.d.ts +74 -44
  125. package/resources/headcount-positions.d.ts.map +1 -1
  126. package/resources/headcount-positions.js +7 -7
  127. package/resources/headcount-positions.js.map +1 -1
  128. package/resources/headcount-positions.mjs +7 -7
  129. package/resources/headcount-positions.mjs.map +1 -1
  130. package/resources/headcount-priorities.d.mts +11 -11
  131. package/resources/headcount-priorities.d.mts.map +1 -1
  132. package/resources/headcount-priorities.d.ts +11 -11
  133. package/resources/headcount-priorities.d.ts.map +1 -1
  134. package/resources/headcount-priorities.js +7 -7
  135. package/resources/headcount-priorities.js.map +1 -1
  136. package/resources/headcount-priorities.mjs +7 -7
  137. package/resources/headcount-priorities.mjs.map +1 -1
  138. package/resources/index.d.mts +27 -25
  139. package/resources/index.d.mts.map +1 -1
  140. package/resources/index.d.ts +27 -25
  141. package/resources/index.d.ts.map +1 -1
  142. package/resources/index.js +5 -1
  143. package/resources/index.js.map +1 -1
  144. package/resources/index.mjs +2 -0
  145. package/resources/index.mjs.map +1 -1
  146. package/resources/job-assignments.d.mts +8 -8
  147. package/resources/job-assignments.d.mts.map +1 -1
  148. package/resources/job-assignments.d.ts +8 -8
  149. package/resources/job-assignments.d.ts.map +1 -1
  150. package/resources/job-assignments.js +6 -6
  151. package/resources/job-assignments.js.map +1 -1
  152. package/resources/job-assignments.mjs +6 -6
  153. package/resources/job-assignments.mjs.map +1 -1
  154. package/resources/job-codes.d.mts +16 -16
  155. package/resources/job-codes.d.mts.map +1 -1
  156. package/resources/job-codes.d.ts +16 -16
  157. package/resources/job-codes.d.ts.map +1 -1
  158. package/resources/job-codes.js +12 -12
  159. package/resources/job-codes.js.map +1 -1
  160. package/resources/job-codes.mjs +12 -12
  161. package/resources/job-codes.mjs.map +1 -1
  162. package/resources/job-dimensions.d.mts +13 -13
  163. package/resources/job-dimensions.d.mts.map +1 -1
  164. package/resources/job-dimensions.d.ts +13 -13
  165. package/resources/job-dimensions.d.ts.map +1 -1
  166. package/resources/job-dimensions.js +10 -10
  167. package/resources/job-dimensions.js.map +1 -1
  168. package/resources/job-dimensions.mjs +10 -10
  169. package/resources/job-dimensions.mjs.map +1 -1
  170. package/resources/job-functions.d.mts +11 -11
  171. package/resources/job-functions.d.mts.map +1 -1
  172. package/resources/job-functions.d.ts +11 -11
  173. package/resources/job-functions.d.ts.map +1 -1
  174. package/resources/job-functions.js +7 -7
  175. package/resources/job-functions.js.map +1 -1
  176. package/resources/job-functions.mjs +7 -7
  177. package/resources/job-functions.mjs.map +1 -1
  178. package/resources/job-pay-rate-exceptions.d.mts +8 -8
  179. package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
  180. package/resources/job-pay-rate-exceptions.d.ts +8 -8
  181. package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
  182. package/resources/job-pay-rate-exceptions.js +6 -6
  183. package/resources/job-pay-rate-exceptions.js.map +1 -1
  184. package/resources/job-pay-rate-exceptions.mjs +6 -6
  185. package/resources/job-pay-rate-exceptions.mjs.map +1 -1
  186. package/resources/kiosk-badges.d.mts +22 -22
  187. package/resources/kiosk-badges.d.mts.map +1 -1
  188. package/resources/kiosk-badges.d.ts +22 -22
  189. package/resources/kiosk-badges.d.ts.map +1 -1
  190. package/resources/kiosk-badges.js +14 -14
  191. package/resources/kiosk-badges.js.map +1 -1
  192. package/resources/kiosk-badges.mjs +14 -14
  193. package/resources/kiosk-badges.mjs.map +1 -1
  194. package/resources/leave-accruals.d.mts +205 -0
  195. package/resources/leave-accruals.d.mts.map +1 -0
  196. package/resources/leave-accruals.d.ts +205 -0
  197. package/resources/leave-accruals.d.ts.map +1 -0
  198. package/resources/leave-accruals.js +22 -0
  199. package/resources/leave-accruals.js.map +1 -0
  200. package/resources/leave-accruals.mjs +18 -0
  201. package/resources/leave-accruals.mjs.map +1 -0
  202. package/resources/leave-balances.d.mts +8 -8
  203. package/resources/leave-balances.d.mts.map +1 -1
  204. package/resources/leave-balances.d.ts +8 -8
  205. package/resources/leave-balances.d.ts.map +1 -1
  206. package/resources/leave-balances.js +6 -6
  207. package/resources/leave-balances.js.map +1 -1
  208. package/resources/leave-balances.mjs +6 -6
  209. package/resources/leave-balances.mjs.map +1 -1
  210. package/resources/leave-requests.d.mts +31 -31
  211. package/resources/leave-requests.d.mts.map +1 -1
  212. package/resources/leave-requests.d.ts +31 -31
  213. package/resources/leave-requests.d.ts.map +1 -1
  214. package/resources/leave-requests.js +15 -15
  215. package/resources/leave-requests.js.map +1 -1
  216. package/resources/leave-requests.mjs +15 -15
  217. package/resources/leave-requests.mjs.map +1 -1
  218. package/resources/leave-types.d.mts +4 -4
  219. package/resources/leave-types.d.mts.map +1 -1
  220. package/resources/leave-types.d.ts +4 -4
  221. package/resources/leave-types.d.ts.map +1 -1
  222. package/resources/leave-types.js +6 -6
  223. package/resources/leave-types.js.map +1 -1
  224. package/resources/leave-types.mjs +6 -6
  225. package/resources/leave-types.mjs.map +1 -1
  226. package/resources/legal-entities.d.mts +9 -9
  227. package/resources/legal-entities.d.mts.map +1 -1
  228. package/resources/legal-entities.d.ts +9 -9
  229. package/resources/legal-entities.d.ts.map +1 -1
  230. package/resources/legal-entities.js +6 -6
  231. package/resources/legal-entities.js.map +1 -1
  232. package/resources/legal-entities.mjs +6 -6
  233. package/resources/legal-entities.mjs.map +1 -1
  234. package/resources/levels.d.mts +8 -8
  235. package/resources/levels.d.mts.map +1 -1
  236. package/resources/levels.d.ts +8 -8
  237. package/resources/levels.d.ts.map +1 -1
  238. package/resources/levels.js +6 -6
  239. package/resources/levels.js.map +1 -1
  240. package/resources/levels.mjs +6 -6
  241. package/resources/levels.mjs.map +1 -1
  242. package/resources/location-factors.d.mts +17 -17
  243. package/resources/location-factors.d.mts.map +1 -1
  244. package/resources/location-factors.d.ts +17 -17
  245. package/resources/location-factors.d.ts.map +1 -1
  246. package/resources/location-factors.js +7 -7
  247. package/resources/location-factors.js.map +1 -1
  248. package/resources/location-factors.mjs +7 -7
  249. package/resources/location-factors.mjs.map +1 -1
  250. package/resources/object-categories.d.mts +6 -6
  251. package/resources/object-categories.d.mts.map +1 -1
  252. package/resources/object-categories.d.ts +6 -6
  253. package/resources/object-categories.d.ts.map +1 -1
  254. package/resources/object-categories.js +8 -8
  255. package/resources/object-categories.js.map +1 -1
  256. package/resources/object-categories.mjs +8 -8
  257. package/resources/object-categories.mjs.map +1 -1
  258. package/resources/schedules.d.mts +154 -12
  259. package/resources/schedules.d.mts.map +1 -1
  260. package/resources/schedules.d.ts +154 -12
  261. package/resources/schedules.d.ts.map +1 -1
  262. package/resources/schedules.js +12 -6
  263. package/resources/schedules.js.map +1 -1
  264. package/resources/schedules.mjs +12 -6
  265. package/resources/schedules.mjs.map +1 -1
  266. package/resources/shared.d.mts +1 -1
  267. package/resources/shared.d.mts.map +1 -1
  268. package/resources/shared.d.ts +1 -1
  269. package/resources/shared.d.ts.map +1 -1
  270. package/resources/shift-inputs.d.mts +22 -22
  271. package/resources/shift-inputs.d.mts.map +1 -1
  272. package/resources/shift-inputs.d.ts +22 -22
  273. package/resources/shift-inputs.d.ts.map +1 -1
  274. package/resources/shift-inputs.js +14 -14
  275. package/resources/shift-inputs.js.map +1 -1
  276. package/resources/shift-inputs.mjs +14 -14
  277. package/resources/shift-inputs.mjs.map +1 -1
  278. package/resources/shiftassignments.d.mts +55 -21
  279. package/resources/shiftassignments.d.mts.map +1 -1
  280. package/resources/shiftassignments.d.ts +55 -21
  281. package/resources/shiftassignments.d.ts.map +1 -1
  282. package/resources/shiftassignments.js +6 -6
  283. package/resources/shiftassignments.js.map +1 -1
  284. package/resources/shiftassignments.mjs +6 -6
  285. package/resources/shiftassignments.mjs.map +1 -1
  286. package/resources/supergroups/exclusion-members.d.mts +8 -8
  287. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  288. package/resources/supergroups/exclusion-members.d.ts +8 -8
  289. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  290. package/resources/supergroups/exclusion-members.js +6 -6
  291. package/resources/supergroups/exclusion-members.js.map +1 -1
  292. package/resources/supergroups/exclusion-members.mjs +6 -6
  293. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  294. package/resources/supergroups/inclusion-members.d.mts +8 -8
  295. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  296. package/resources/supergroups/inclusion-members.d.ts +8 -8
  297. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  298. package/resources/supergroups/inclusion-members.js +6 -6
  299. package/resources/supergroups/inclusion-members.js.map +1 -1
  300. package/resources/supergroups/inclusion-members.mjs +6 -6
  301. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  302. package/resources/supergroups/index.d.mts +2 -2
  303. package/resources/supergroups/index.d.mts.map +1 -1
  304. package/resources/supergroups/index.d.ts +2 -2
  305. package/resources/supergroups/index.d.ts.map +1 -1
  306. package/resources/supergroups/supergroups.d.mts +6 -6
  307. package/resources/supergroups/supergroups.d.mts.map +1 -1
  308. package/resources/supergroups/supergroups.d.ts +6 -6
  309. package/resources/supergroups/supergroups.d.ts.map +1 -1
  310. package/resources/supergroups/supergroups.js +6 -6
  311. package/resources/supergroups/supergroups.js.map +1 -1
  312. package/resources/supergroups/supergroups.mjs +6 -6
  313. package/resources/supergroups/supergroups.mjs.map +1 -1
  314. package/resources/teams.d.mts +8 -8
  315. package/resources/teams.d.mts.map +1 -1
  316. package/resources/teams.d.ts +8 -8
  317. package/resources/teams.d.ts.map +1 -1
  318. package/resources/teams.js +6 -6
  319. package/resources/teams.js.map +1 -1
  320. package/resources/teams.mjs +6 -6
  321. package/resources/teams.mjs.map +1 -1
  322. package/resources/time-cards.d.mts +8 -8
  323. package/resources/time-cards.d.mts.map +1 -1
  324. package/resources/time-cards.d.ts +8 -8
  325. package/resources/time-cards.d.ts.map +1 -1
  326. package/resources/time-cards.js +6 -6
  327. package/resources/time-cards.js.map +1 -1
  328. package/resources/time-cards.mjs +6 -6
  329. package/resources/time-cards.mjs.map +1 -1
  330. package/resources/time-entries.d.mts +58 -58
  331. package/resources/time-entries.d.mts.map +1 -1
  332. package/resources/time-entries.d.ts +58 -58
  333. package/resources/time-entries.d.ts.map +1 -1
  334. package/resources/time-entries.js +14 -14
  335. package/resources/time-entries.js.map +1 -1
  336. package/resources/time-entries.mjs +14 -14
  337. package/resources/time-entries.mjs.map +1 -1
  338. package/resources/tracks.d.mts +4 -4
  339. package/resources/tracks.d.mts.map +1 -1
  340. package/resources/tracks.d.ts +4 -4
  341. package/resources/tracks.d.ts.map +1 -1
  342. package/resources/tracks.js +6 -6
  343. package/resources/tracks.js.map +1 -1
  344. package/resources/tracks.mjs +6 -6
  345. package/resources/tracks.mjs.map +1 -1
  346. package/resources/users.d.mts +4 -4
  347. package/resources/users.d.mts.map +1 -1
  348. package/resources/users.d.ts +4 -4
  349. package/resources/users.d.ts.map +1 -1
  350. package/resources/users.js +6 -6
  351. package/resources/users.js.map +1 -1
  352. package/resources/users.mjs +6 -6
  353. package/resources/users.mjs.map +1 -1
  354. package/resources/work-locations.d.mts +4 -4
  355. package/resources/work-locations.d.mts.map +1 -1
  356. package/resources/work-locations.d.ts +4 -4
  357. package/resources/work-locations.d.ts.map +1 -1
  358. package/resources/work-locations.js +6 -6
  359. package/resources/work-locations.js.map +1 -1
  360. package/resources/work-locations.mjs +6 -6
  361. package/resources/work-locations.mjs.map +1 -1
  362. package/resources/workers.d.mts +11 -11
  363. package/resources/workers.d.mts.map +1 -1
  364. package/resources/workers.d.ts +11 -11
  365. package/resources/workers.d.ts.map +1 -1
  366. package/resources/workers.js +6 -6
  367. package/resources/workers.js.map +1 -1
  368. package/resources/workers.mjs +6 -6
  369. package/resources/workers.mjs.map +1 -1
  370. package/src/client.ts +112 -90
  371. package/src/internal/to-file.ts +1 -1
  372. package/src/internal/utils/values.ts +3 -3
  373. package/src/resources/business-partner-groups.ts +24 -24
  374. package/src/resources/business-partners.ts +27 -27
  375. package/src/resources/compensations.ts +16 -16
  376. package/src/resources/custom-objects/custom-objects.ts +12 -12
  377. package/src/resources/custom-objects/fields.ts +16 -16
  378. package/src/resources/custom-objects/index.ts +3 -3
  379. package/src/resources/custom-objects/records.ts +70 -70
  380. package/src/resources/departments.ts +16 -16
  381. package/src/resources/draft-hires.ts +504 -0
  382. package/src/resources/employment-types.ts +7 -7
  383. package/src/resources/functions/deployments.ts +10 -10
  384. package/src/resources/functions/executions.ts +28 -28
  385. package/src/resources/functions/functions.ts +20 -20
  386. package/src/resources/functions/index.ts +3 -3
  387. package/src/resources/headcount-positions.ts +103 -53
  388. package/src/resources/headcount-priorities.ts +14 -14
  389. package/src/resources/index.ts +42 -32
  390. package/src/resources/job-assignments.ts +16 -16
  391. package/src/resources/job-codes.ts +25 -25
  392. package/src/resources/job-dimensions.ts +21 -21
  393. package/src/resources/job-functions.ts +14 -14
  394. package/src/resources/job-pay-rate-exceptions.ts +16 -16
  395. package/src/resources/kiosk-badges.ts +35 -35
  396. package/src/resources/leave-accruals.ts +261 -0
  397. package/src/resources/leave-balances.ts +16 -16
  398. package/src/resources/leave-requests.ts +44 -44
  399. package/src/resources/leave-types.ts +7 -7
  400. package/src/resources/legal-entities.ts +17 -16
  401. package/src/resources/levels.ts +16 -16
  402. package/src/resources/location-factors.ts +20 -18
  403. package/src/resources/object-categories.ts +9 -9
  404. package/src/resources/schedules.ts +193 -20
  405. package/src/resources/shared.ts +1 -0
  406. package/src/resources/shift-inputs.ts +35 -35
  407. package/src/resources/shiftassignments.ts +68 -30
  408. package/src/resources/supergroups/exclusion-members.ts +16 -16
  409. package/src/resources/supergroups/inclusion-members.ts +16 -16
  410. package/src/resources/supergroups/index.ts +2 -2
  411. package/src/resources/supergroups/supergroups.ts +9 -9
  412. package/src/resources/teams.ts +16 -16
  413. package/src/resources/time-cards.ts +16 -16
  414. package/src/resources/time-entries.ts +71 -71
  415. package/src/resources/tracks.ts +7 -7
  416. package/src/resources/users.ts +7 -7
  417. package/src/resources/work-locations.ts +7 -7
  418. package/src/resources/workers.ts +19 -16
  419. package/src/version.ts +1 -1
  420. package/version.d.mts +1 -1
  421. package/version.d.ts +1 -1
  422. package/version.js +1 -1
  423. package/version.mjs +1 -1
@@ -33,6 +33,19 @@ export class Functions extends APIResource {
33
33
  deployments: DeploymentsAPI.Deployments = new DeploymentsAPI.Deployments(this._client);
34
34
  executions: ExecutionsAPI.Executions = new ExecutionsAPI.Executions(this._client);
35
35
 
36
+ /**
37
+ * A List of functions
38
+ *
39
+ * - Requires: `API Tier 2`
40
+ * - Sortable fields: `id`, `created_at`, `updated_at`
41
+ */
42
+ list(
43
+ query: FunctionListParams | null | undefined = {},
44
+ options?: RequestOptions,
45
+ ): PagePromise<FunctionsPageCursorURL, Function> {
46
+ return this._client.getAPIList('/functions/', PageCursorURL<Function>, { query, ...options });
47
+ }
48
+
36
49
  /**
37
50
  * Create a new function
38
51
  */
@@ -58,19 +71,6 @@ export class Functions extends APIResource {
58
71
  return this._client.patch(path`/functions/${functionAPIName}/`, { body, ...options });
59
72
  }
60
73
 
61
- /**
62
- * A List of functions
63
- *
64
- * - Requires: `Functions API`
65
- * - Sortable fields: `id`, `created_at`, `updated_at`
66
- */
67
- list(
68
- query: FunctionListParams | null | undefined = {},
69
- options?: RequestOptions,
70
- ): PagePromise<FunctionsPageCursorURL, Function> {
71
- return this._client.getAPIList('/functions/', PageCursorURL<Function>, { query, ...options });
72
- }
73
-
74
74
  /**
75
75
  * Create a new function dev bundle
76
76
  */
@@ -133,6 +133,10 @@ export interface FunctionCreateDevBundleResponse {
133
133
  contents?: string;
134
134
  }
135
135
 
136
+ export interface FunctionListParams {
137
+ order_by?: string;
138
+ }
139
+
136
140
  export interface FunctionCreateParams {
137
141
  /**
138
142
  * The API name of the function
@@ -187,10 +191,6 @@ export interface FunctionUpdateParams {
187
191
  name?: string;
188
192
  }
189
193
 
190
- export interface FunctionListParams {
191
- order_by?: string;
192
- }
193
-
194
194
  Functions.Deployments = Deployments;
195
195
  Functions.Executions = Executions;
196
196
 
@@ -199,9 +199,9 @@ export declare namespace Functions {
199
199
  type Function as Function,
200
200
  type FunctionCreateDevBundleResponse as FunctionCreateDevBundleResponse,
201
201
  type FunctionsPageCursorURL as FunctionsPageCursorURL,
202
+ type FunctionListParams as FunctionListParams,
202
203
  type FunctionCreateParams as FunctionCreateParams,
203
204
  type FunctionUpdateParams as FunctionUpdateParams,
204
- type FunctionListParams as FunctionListParams,
205
205
  };
206
206
 
207
207
  export {
@@ -216,14 +216,14 @@ export declare namespace Functions {
216
216
 
217
217
  export {
218
218
  Executions as Executions,
219
+ type ExecutionListResponse as ExecutionListResponse,
219
220
  type ExecutionCreateResponse as ExecutionCreateResponse,
220
221
  type ExecutionRetrieveResponse as ExecutionRetrieveResponse,
221
- type ExecutionListResponse as ExecutionListResponse,
222
222
  type ExecutionListLogsResponse as ExecutionListLogsResponse,
223
223
  type ExecutionListResponsesPageCursorURL as ExecutionListResponsesPageCursorURL,
224
+ type ExecutionListParams as ExecutionListParams,
224
225
  type ExecutionCreateParams as ExecutionCreateParams,
225
226
  type ExecutionRetrieveParams as ExecutionRetrieveParams,
226
- type ExecutionListParams as ExecutionListParams,
227
227
  type ExecutionListLogsParams as ExecutionListLogsParams,
228
228
  };
229
229
  }
@@ -11,13 +11,13 @@ export {
11
11
  } from './deployments';
12
12
  export {
13
13
  Executions,
14
+ type ExecutionListResponse,
14
15
  type ExecutionCreateResponse,
15
16
  type ExecutionRetrieveResponse,
16
- type ExecutionListResponse,
17
17
  type ExecutionListLogsResponse,
18
+ type ExecutionListParams,
18
19
  type ExecutionCreateParams,
19
20
  type ExecutionRetrieveParams,
20
- type ExecutionListParams,
21
21
  type ExecutionListLogsParams,
22
22
  type ExecutionListResponsesPageCursorURL,
23
23
  } from './executions';
@@ -25,8 +25,8 @@ export {
25
25
  Functions,
26
26
  type Function,
27
27
  type FunctionCreateDevBundleResponse,
28
+ type FunctionListParams,
28
29
  type FunctionCreateParams,
29
30
  type FunctionUpdateParams,
30
- type FunctionListParams,
31
31
  type FunctionsPageCursorURL,
32
32
  } from './functions';
@@ -15,21 +15,10 @@ import { RequestOptions } from '../internal/request-options';
15
15
  import { path } from '../internal/utils/path';
16
16
 
17
17
  export class HeadcountPositions extends APIResource {
18
- /**
19
- * Retrieve a specific headcount position
20
- */
21
- retrieve(
22
- id: string,
23
- query: HeadcountPositionRetrieveParams | null | undefined = {},
24
- options?: RequestOptions,
25
- ): APIPromise<HeadcountPositionRetrieveResponse> {
26
- return this._client.get(path`/headcount-positions/${id}`, { query, ...options });
27
- }
28
-
29
18
  /**
30
19
  * A List of headcount positions
31
20
  *
32
- * - Requires: `Internal Testing`
21
+ * - Requires: `API Tier 2`
33
22
  * - Filterable fields: `created_at`, `position_id`, `position_type`,
34
23
  * `position_sub_type`, `department_id`, `work_location_id`, `level_id`,
35
24
  * `teams_id`, `job_requisition_id`, `recruiter_id`, `headcount_owner_id`,
@@ -53,14 +42,22 @@ export class HeadcountPositions extends APIResource {
53
42
  ...options,
54
43
  });
55
44
  }
45
+
46
+ /**
47
+ * Retrieve a specific headcount position
48
+ */
49
+ retrieve(
50
+ id: string,
51
+ query: HeadcountPositionRetrieveParams | null | undefined = {},
52
+ options?: RequestOptions,
53
+ ): APIPromise<HeadcountPositionRetrieveResponse> {
54
+ return this._client.get(path`/headcount-positions/${id}`, { query, ...options });
55
+ }
56
56
  }
57
57
 
58
58
  export type HeadcountPositionListResponsesPageCursorURL = PageCursorURL<HeadcountPositionListResponse>;
59
59
 
60
- /**
61
- * Meta information for the response.
62
- */
63
- export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.Meta {
60
+ export interface HeadcountPositionListResponse {
64
61
  /**
65
62
  * Identifier field
66
63
  */
@@ -79,7 +76,7 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
79
76
  /**
80
77
  * Compensation data synched from worker compensation
81
78
  */
82
- actual_compensation?: HeadcountPositionRetrieveResponse.ActualCompensation;
79
+ actual_compensation?: HeadcountPositionListResponse.ActualCompensation;
83
80
 
84
81
  /**
85
82
  * Worker for whom this headcount position was requested as a backfill
@@ -96,7 +93,7 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
96
93
  /**
97
94
  * Compensation data defined through comp band
98
95
  */
99
- comp_band_compensation?: HeadcountPositionRetrieveResponse.CompBandCompensation;
96
+ comp_band_compensation?: HeadcountPositionListResponse.CompBandCompensation;
100
97
 
101
98
  /**
102
99
  * Most recent start date estimate or the actual hire date if already filled
@@ -154,7 +151,7 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
154
151
  *
155
152
  * Expandable field
156
153
  */
157
- job_function?: HeadcountPositionRetrieveResponse.JobFunction;
154
+ job_function?: HeadcountPositionListResponse.JobFunction;
158
155
 
159
156
  /**
160
157
  * ID for the job function the headcount is assigned to
@@ -190,7 +187,7 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
190
187
  *
191
188
  * Expandable field
192
189
  */
193
- location_factor?: HeadcountPositionRetrieveResponse.LocationFactor;
190
+ location_factor?: HeadcountPositionListResponse.LocationFactor;
194
191
 
195
192
  /**
196
193
  * ID for the location factor the headcount is assigned to
@@ -208,22 +205,46 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
208
205
  position_id?: string;
209
206
 
210
207
  /**
211
- * More granular type of headcount position, such as BACKFILL,
212
- * FORECASTED_ATTRITION, HIRING_STAGE, etc.
213
- */
214
- position_sub_type?: string;
215
-
216
- /**
217
- * Type of headcount position, such as ACTIVE or OPEN_HEADCOUNT
218
- */
219
- position_type?: string;
208
+ * More granular classification of headcount position type. `NEW` New headcount
209
+ * created, typically paired with the OPEN_HEADCOUNT type. `BACKFILL` Replacement
210
+ * headcount for someone who left the company. `FORECASTED_ATTRITION` Headcount
211
+ * that does not count toward the budget, also known as provisional position in the
212
+ * application, `HIRING_STAGE` Person is going through the hiring process, paired
213
+ * with the FUTURE_START type. `OFFER_STAGE` Offer has been extended to a
214
+ * candidate, awaiting their decision. Paired with the FUTURE_START type.
215
+ * `OFFER_ACCEPTED` Candidate has accepted the offer but has not yet started.
216
+ * Paired with the FUTURE_START type. `PLAN_CHANGE` Headcount status changed due to
217
+ * business decision. Paired with CLOSED type. `TERMINATED` Role was filled, but
218
+ * the employee was separated from the company. Paired with CLOSED type.
219
+ * `TRANSFERRED` Employee moved internally to another role. Paired with CLOSED
220
+ * type.
221
+ */
222
+ position_sub_type?:
223
+ | 'NEW'
224
+ | 'BACKFILL'
225
+ | 'FORECASTED_ATTRITION'
226
+ | 'HIRING_STAGE'
227
+ | 'OFFER_STAGE'
228
+ | 'OFFER_ACCEPTED'
229
+ | 'PLAN_CHANGE'
230
+ | 'TERMINATED'
231
+ | 'TRANSFERRED';
232
+
233
+ /**
234
+ * Type of headcount position. `OPEN_HEADCOUNT` A headcount position that's not yet
235
+ * filled. `FUTURE_START` Headcount where a candidate is going through the hiring
236
+ * process, or an offer has been accepted, but the person has not yet started.
237
+ * `ACTIVE` Headcount where a candidate has been hired and started. `CLOSED`
238
+ * Headcount that's no longer available to fill.
239
+ */
240
+ position_type?: 'OPEN_HEADCOUNT' | 'FUTURE_START' | 'ACTIVE' | 'CLOSED';
220
241
 
221
242
  /**
222
243
  * Priority assigned to this headcount
223
244
  *
224
245
  * Expandable field
225
246
  */
226
- priority?: HeadcountPositionRetrieveResponse.Priority;
247
+ priority?: HeadcountPositionListResponse.Priority;
227
248
 
228
249
  /**
229
250
  * ID for the headcount priority
@@ -291,7 +312,7 @@ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.M
291
312
  worker_id?: string;
292
313
  }
293
314
 
294
- export namespace HeadcountPositionRetrieveResponse {
315
+ export namespace HeadcountPositionListResponse {
295
316
  /**
296
317
  * Compensation data synched from worker compensation
297
318
  */
@@ -825,6 +846,7 @@ export namespace HeadcountPositionRetrieveResponse {
825
846
  | 'SL'
826
847
  | 'SG'
827
848
  | 'SX'
849
+ | 'SY'
828
850
  | 'SK'
829
851
  | 'SI'
830
852
  | 'SB'
@@ -902,7 +924,10 @@ export namespace HeadcountPositionRetrieveResponse {
902
924
  }
903
925
  }
904
926
 
905
- export interface HeadcountPositionListResponse {
927
+ /**
928
+ * Meta information for the response.
929
+ */
930
+ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.Meta {
906
931
  /**
907
932
  * Identifier field
908
933
  */
@@ -921,7 +946,7 @@ export interface HeadcountPositionListResponse {
921
946
  /**
922
947
  * Compensation data synched from worker compensation
923
948
  */
924
- actual_compensation?: HeadcountPositionListResponse.ActualCompensation;
949
+ actual_compensation?: HeadcountPositionRetrieveResponse.ActualCompensation;
925
950
 
926
951
  /**
927
952
  * Worker for whom this headcount position was requested as a backfill
@@ -938,7 +963,7 @@ export interface HeadcountPositionListResponse {
938
963
  /**
939
964
  * Compensation data defined through comp band
940
965
  */
941
- comp_band_compensation?: HeadcountPositionListResponse.CompBandCompensation;
966
+ comp_band_compensation?: HeadcountPositionRetrieveResponse.CompBandCompensation;
942
967
 
943
968
  /**
944
969
  * Most recent start date estimate or the actual hire date if already filled
@@ -996,7 +1021,7 @@ export interface HeadcountPositionListResponse {
996
1021
  *
997
1022
  * Expandable field
998
1023
  */
999
- job_function?: HeadcountPositionListResponse.JobFunction;
1024
+ job_function?: HeadcountPositionRetrieveResponse.JobFunction;
1000
1025
 
1001
1026
  /**
1002
1027
  * ID for the job function the headcount is assigned to
@@ -1032,7 +1057,7 @@ export interface HeadcountPositionListResponse {
1032
1057
  *
1033
1058
  * Expandable field
1034
1059
  */
1035
- location_factor?: HeadcountPositionListResponse.LocationFactor;
1060
+ location_factor?: HeadcountPositionRetrieveResponse.LocationFactor;
1036
1061
 
1037
1062
  /**
1038
1063
  * ID for the location factor the headcount is assigned to
@@ -1050,22 +1075,46 @@ export interface HeadcountPositionListResponse {
1050
1075
  position_id?: string;
1051
1076
 
1052
1077
  /**
1053
- * More granular type of headcount position, such as BACKFILL,
1054
- * FORECASTED_ATTRITION, HIRING_STAGE, etc.
1055
- */
1056
- position_sub_type?: string;
1057
-
1058
- /**
1059
- * Type of headcount position, such as ACTIVE or OPEN_HEADCOUNT
1060
- */
1061
- position_type?: string;
1078
+ * More granular classification of headcount position type. `NEW` New headcount
1079
+ * created, typically paired with the OPEN_HEADCOUNT type. `BACKFILL` Replacement
1080
+ * headcount for someone who left the company. `FORECASTED_ATTRITION` Headcount
1081
+ * that does not count toward the budget, also known as provisional position in the
1082
+ * application, `HIRING_STAGE` Person is going through the hiring process, paired
1083
+ * with the FUTURE_START type. `OFFER_STAGE` Offer has been extended to a
1084
+ * candidate, awaiting their decision. Paired with the FUTURE_START type.
1085
+ * `OFFER_ACCEPTED` Candidate has accepted the offer but has not yet started.
1086
+ * Paired with the FUTURE_START type. `PLAN_CHANGE` Headcount status changed due to
1087
+ * business decision. Paired with CLOSED type. `TERMINATED` Role was filled, but
1088
+ * the employee was separated from the company. Paired with CLOSED type.
1089
+ * `TRANSFERRED` Employee moved internally to another role. Paired with CLOSED
1090
+ * type.
1091
+ */
1092
+ position_sub_type?:
1093
+ | 'NEW'
1094
+ | 'BACKFILL'
1095
+ | 'FORECASTED_ATTRITION'
1096
+ | 'HIRING_STAGE'
1097
+ | 'OFFER_STAGE'
1098
+ | 'OFFER_ACCEPTED'
1099
+ | 'PLAN_CHANGE'
1100
+ | 'TERMINATED'
1101
+ | 'TRANSFERRED';
1102
+
1103
+ /**
1104
+ * Type of headcount position. `OPEN_HEADCOUNT` A headcount position that's not yet
1105
+ * filled. `FUTURE_START` Headcount where a candidate is going through the hiring
1106
+ * process, or an offer has been accepted, but the person has not yet started.
1107
+ * `ACTIVE` Headcount where a candidate has been hired and started. `CLOSED`
1108
+ * Headcount that's no longer available to fill.
1109
+ */
1110
+ position_type?: 'OPEN_HEADCOUNT' | 'FUTURE_START' | 'ACTIVE' | 'CLOSED';
1062
1111
 
1063
1112
  /**
1064
1113
  * Priority assigned to this headcount
1065
1114
  *
1066
1115
  * Expandable field
1067
1116
  */
1068
- priority?: HeadcountPositionListResponse.Priority;
1117
+ priority?: HeadcountPositionRetrieveResponse.Priority;
1069
1118
 
1070
1119
  /**
1071
1120
  * ID for the headcount priority
@@ -1133,7 +1182,7 @@ export interface HeadcountPositionListResponse {
1133
1182
  worker_id?: string;
1134
1183
  }
1135
1184
 
1136
- export namespace HeadcountPositionListResponse {
1185
+ export namespace HeadcountPositionRetrieveResponse {
1137
1186
  /**
1138
1187
  * Compensation data synched from worker compensation
1139
1188
  */
@@ -1667,6 +1716,7 @@ export namespace HeadcountPositionListResponse {
1667
1716
  | 'SL'
1668
1717
  | 'SG'
1669
1718
  | 'SX'
1719
+ | 'SY'
1670
1720
  | 'SK'
1671
1721
  | 'SI'
1672
1722
  | 'SB'
@@ -1744,10 +1794,6 @@ export namespace HeadcountPositionListResponse {
1744
1794
  }
1745
1795
  }
1746
1796
 
1747
- export interface HeadcountPositionRetrieveParams {
1748
- expand?: string;
1749
- }
1750
-
1751
1797
  export interface HeadcountPositionListParams {
1752
1798
  expand?: string;
1753
1799
 
@@ -1756,12 +1802,16 @@ export interface HeadcountPositionListParams {
1756
1802
  order_by?: string;
1757
1803
  }
1758
1804
 
1805
+ export interface HeadcountPositionRetrieveParams {
1806
+ expand?: string;
1807
+ }
1808
+
1759
1809
  export declare namespace HeadcountPositions {
1760
1810
  export {
1761
- type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1762
1811
  type HeadcountPositionListResponse as HeadcountPositionListResponse,
1812
+ type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1763
1813
  type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
1764
- type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1765
1814
  type HeadcountPositionListParams as HeadcountPositionListParams,
1815
+ type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1766
1816
  };
1767
1817
  }
@@ -8,17 +8,10 @@ import { RequestOptions } from '../internal/request-options';
8
8
  import { path } from '../internal/utils/path';
9
9
 
10
10
  export class HeadcountPriorities extends APIResource {
11
- /**
12
- * Retrieve a specific headcount priority
13
- */
14
- retrieve(id: string, options?: RequestOptions): APIPromise<HeadcountPriorityRetrieveResponse> {
15
- return this._client.get(path`/headcount-priorities/${id}`, options);
16
- }
17
-
18
11
  /**
19
12
  * A List of headcount priorities
20
13
  *
21
- * - Requires: `Internal Testing`
14
+ * - Requires: `API Tier 2`
22
15
  * - Sortable fields: `id`, `created_at`, `updated_at`
23
16
  */
24
17
  list(
@@ -30,14 +23,18 @@ export class HeadcountPriorities extends APIResource {
30
23
  ...options,
31
24
  });
32
25
  }
26
+
27
+ /**
28
+ * Retrieve a specific headcount priority
29
+ */
30
+ retrieve(id: string, options?: RequestOptions): APIPromise<HeadcountPriorityRetrieveResponse> {
31
+ return this._client.get(path`/headcount-priorities/${id}`, options);
32
+ }
33
33
  }
34
34
 
35
35
  export type HeadcountPriorityListResponsesPageCursorURL = PageCursorURL<HeadcountPriorityListResponse>;
36
36
 
37
- /**
38
- * Meta information for the response.
39
- */
40
- export interface HeadcountPriorityRetrieveResponse extends BusinessPartnersAPI.Meta {
37
+ export interface HeadcountPriorityListResponse {
41
38
  /**
42
39
  * Identifier field
43
40
  */
@@ -59,7 +56,10 @@ export interface HeadcountPriorityRetrieveResponse extends BusinessPartnersAPI.M
59
56
  name?: string;
60
57
  }
61
58
 
62
- export interface HeadcountPriorityListResponse {
59
+ /**
60
+ * Meta information for the response.
61
+ */
62
+ export interface HeadcountPriorityRetrieveResponse extends BusinessPartnersAPI.Meta {
63
63
  /**
64
64
  * Identifier field
65
65
  */
@@ -87,8 +87,8 @@ export interface HeadcountPriorityListParams {
87
87
 
88
88
  export declare namespace HeadcountPriorities {
89
89
  export {
90
- type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
91
90
  type HeadcountPriorityListResponse as HeadcountPriorityListResponse,
91
+ type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
92
92
  type HeadcountPriorityListResponsesPageCursorURL as HeadcountPriorityListResponsesPageCursorURL,
93
93
  type HeadcountPriorityListParams as HeadcountPriorityListParams,
94
94
  };