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

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 (418) hide show
  1. package/client.d.mts +41 -37
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +41 -37
  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/utils/values.js +3 -3
  10. package/internal/utils/values.js.map +1 -1
  11. package/internal/utils/values.mjs +3 -3
  12. package/internal/utils/values.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/resources/business-partner-groups.d.mts +13 -13
  15. package/resources/business-partner-groups.d.mts.map +1 -1
  16. package/resources/business-partner-groups.d.ts +13 -13
  17. package/resources/business-partner-groups.d.ts.map +1 -1
  18. package/resources/business-partner-groups.js +12 -12
  19. package/resources/business-partner-groups.js.map +1 -1
  20. package/resources/business-partner-groups.mjs +12 -12
  21. package/resources/business-partner-groups.mjs.map +1 -1
  22. package/resources/business-partners.d.mts +14 -14
  23. package/resources/business-partners.d.mts.map +1 -1
  24. package/resources/business-partners.d.ts +14 -14
  25. package/resources/business-partners.d.ts.map +1 -1
  26. package/resources/business-partners.js +12 -12
  27. package/resources/business-partners.js.map +1 -1
  28. package/resources/business-partners.mjs +12 -12
  29. package/resources/business-partners.mjs.map +1 -1
  30. package/resources/compensations.d.mts +8 -8
  31. package/resources/compensations.d.mts.map +1 -1
  32. package/resources/compensations.d.ts +8 -8
  33. package/resources/compensations.d.ts.map +1 -1
  34. package/resources/compensations.js +6 -6
  35. package/resources/compensations.js.map +1 -1
  36. package/resources/compensations.mjs +6 -6
  37. package/resources/compensations.mjs.map +1 -1
  38. package/resources/custom-objects/custom-objects.d.mts +7 -7
  39. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  40. package/resources/custom-objects/custom-objects.d.ts +7 -7
  41. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  42. package/resources/custom-objects/custom-objects.js +8 -8
  43. package/resources/custom-objects/custom-objects.js.map +1 -1
  44. package/resources/custom-objects/custom-objects.mjs +8 -8
  45. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  46. package/resources/custom-objects/fields.d.mts +6 -6
  47. package/resources/custom-objects/fields.d.mts.map +1 -1
  48. package/resources/custom-objects/fields.d.ts +6 -6
  49. package/resources/custom-objects/fields.d.ts.map +1 -1
  50. package/resources/custom-objects/fields.js +8 -8
  51. package/resources/custom-objects/fields.js.map +1 -1
  52. package/resources/custom-objects/fields.mjs +8 -8
  53. package/resources/custom-objects/fields.mjs.map +1 -1
  54. package/resources/custom-objects/index.d.mts +1 -1
  55. package/resources/custom-objects/index.d.mts.map +1 -1
  56. package/resources/custom-objects/index.d.ts +1 -1
  57. package/resources/custom-objects/index.d.ts.map +1 -1
  58. package/resources/custom-objects/records.d.mts +32 -32
  59. package/resources/custom-objects/records.d.mts.map +1 -1
  60. package/resources/custom-objects/records.d.ts +32 -32
  61. package/resources/custom-objects/records.d.ts.map +1 -1
  62. package/resources/custom-objects/records.js +27 -27
  63. package/resources/custom-objects/records.js.map +1 -1
  64. package/resources/custom-objects/records.mjs +27 -27
  65. package/resources/custom-objects/records.mjs.map +1 -1
  66. package/resources/departments.d.mts +8 -8
  67. package/resources/departments.d.mts.map +1 -1
  68. package/resources/departments.d.ts +8 -8
  69. package/resources/departments.d.ts.map +1 -1
  70. package/resources/departments.js +6 -6
  71. package/resources/departments.js.map +1 -1
  72. package/resources/departments.mjs +6 -6
  73. package/resources/departments.mjs.map +1 -1
  74. package/resources/draft-hires.d.mts +427 -0
  75. package/resources/draft-hires.d.mts.map +1 -0
  76. package/resources/draft-hires.d.ts +427 -0
  77. package/resources/draft-hires.d.ts.map +1 -0
  78. package/resources/draft-hires.js +15 -0
  79. package/resources/draft-hires.js.map +1 -0
  80. package/resources/draft-hires.mjs +11 -0
  81. package/resources/draft-hires.mjs.map +1 -0
  82. package/resources/employment-types.d.mts +4 -4
  83. package/resources/employment-types.d.mts.map +1 -1
  84. package/resources/employment-types.d.ts +4 -4
  85. package/resources/employment-types.d.ts.map +1 -1
  86. package/resources/employment-types.js +6 -6
  87. package/resources/employment-types.js.map +1 -1
  88. package/resources/employment-types.mjs +6 -6
  89. package/resources/employment-types.mjs.map +1 -1
  90. package/resources/functions/deployments.d.mts +7 -7
  91. package/resources/functions/deployments.d.mts.map +1 -1
  92. package/resources/functions/deployments.d.ts +7 -7
  93. package/resources/functions/deployments.d.ts.map +1 -1
  94. package/resources/functions/deployments.js +9 -9
  95. package/resources/functions/deployments.js.map +1 -1
  96. package/resources/functions/deployments.mjs +9 -9
  97. package/resources/functions/deployments.mjs.map +1 -1
  98. package/resources/functions/executions.d.mts +15 -15
  99. package/resources/functions/executions.d.mts.map +1 -1
  100. package/resources/functions/executions.d.ts +15 -15
  101. package/resources/functions/executions.d.ts.map +1 -1
  102. package/resources/functions/executions.js +10 -10
  103. package/resources/functions/executions.js.map +1 -1
  104. package/resources/functions/executions.mjs +10 -10
  105. package/resources/functions/executions.mjs.map +1 -1
  106. package/resources/functions/functions.d.mts +12 -12
  107. package/resources/functions/functions.d.mts.map +1 -1
  108. package/resources/functions/functions.d.ts +12 -12
  109. package/resources/functions/functions.d.ts.map +1 -1
  110. package/resources/functions/functions.js +9 -9
  111. package/resources/functions/functions.js.map +1 -1
  112. package/resources/functions/functions.mjs +9 -9
  113. package/resources/functions/functions.mjs.map +1 -1
  114. package/resources/functions/index.d.mts +2 -2
  115. package/resources/functions/index.d.mts.map +1 -1
  116. package/resources/functions/index.d.ts +2 -2
  117. package/resources/functions/index.d.ts.map +1 -1
  118. package/resources/headcount-positions.d.mts +74 -44
  119. package/resources/headcount-positions.d.mts.map +1 -1
  120. package/resources/headcount-positions.d.ts +74 -44
  121. package/resources/headcount-positions.d.ts.map +1 -1
  122. package/resources/headcount-positions.js +7 -7
  123. package/resources/headcount-positions.js.map +1 -1
  124. package/resources/headcount-positions.mjs +7 -7
  125. package/resources/headcount-positions.mjs.map +1 -1
  126. package/resources/headcount-priorities.d.mts +11 -11
  127. package/resources/headcount-priorities.d.mts.map +1 -1
  128. package/resources/headcount-priorities.d.ts +11 -11
  129. package/resources/headcount-priorities.d.ts.map +1 -1
  130. package/resources/headcount-priorities.js +7 -7
  131. package/resources/headcount-priorities.js.map +1 -1
  132. package/resources/headcount-priorities.mjs +7 -7
  133. package/resources/headcount-priorities.mjs.map +1 -1
  134. package/resources/index.d.mts +27 -25
  135. package/resources/index.d.mts.map +1 -1
  136. package/resources/index.d.ts +27 -25
  137. package/resources/index.d.ts.map +1 -1
  138. package/resources/index.js +5 -1
  139. package/resources/index.js.map +1 -1
  140. package/resources/index.mjs +2 -0
  141. package/resources/index.mjs.map +1 -1
  142. package/resources/job-assignments.d.mts +8 -8
  143. package/resources/job-assignments.d.mts.map +1 -1
  144. package/resources/job-assignments.d.ts +8 -8
  145. package/resources/job-assignments.d.ts.map +1 -1
  146. package/resources/job-assignments.js +6 -6
  147. package/resources/job-assignments.js.map +1 -1
  148. package/resources/job-assignments.mjs +6 -6
  149. package/resources/job-assignments.mjs.map +1 -1
  150. package/resources/job-codes.d.mts +16 -16
  151. package/resources/job-codes.d.mts.map +1 -1
  152. package/resources/job-codes.d.ts +16 -16
  153. package/resources/job-codes.d.ts.map +1 -1
  154. package/resources/job-codes.js +12 -12
  155. package/resources/job-codes.js.map +1 -1
  156. package/resources/job-codes.mjs +12 -12
  157. package/resources/job-codes.mjs.map +1 -1
  158. package/resources/job-dimensions.d.mts +13 -13
  159. package/resources/job-dimensions.d.mts.map +1 -1
  160. package/resources/job-dimensions.d.ts +13 -13
  161. package/resources/job-dimensions.d.ts.map +1 -1
  162. package/resources/job-dimensions.js +10 -10
  163. package/resources/job-dimensions.js.map +1 -1
  164. package/resources/job-dimensions.mjs +10 -10
  165. package/resources/job-dimensions.mjs.map +1 -1
  166. package/resources/job-functions.d.mts +11 -11
  167. package/resources/job-functions.d.mts.map +1 -1
  168. package/resources/job-functions.d.ts +11 -11
  169. package/resources/job-functions.d.ts.map +1 -1
  170. package/resources/job-functions.js +7 -7
  171. package/resources/job-functions.js.map +1 -1
  172. package/resources/job-functions.mjs +7 -7
  173. package/resources/job-functions.mjs.map +1 -1
  174. package/resources/job-pay-rate-exceptions.d.mts +8 -8
  175. package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
  176. package/resources/job-pay-rate-exceptions.d.ts +8 -8
  177. package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
  178. package/resources/job-pay-rate-exceptions.js +6 -6
  179. package/resources/job-pay-rate-exceptions.js.map +1 -1
  180. package/resources/job-pay-rate-exceptions.mjs +6 -6
  181. package/resources/job-pay-rate-exceptions.mjs.map +1 -1
  182. package/resources/kiosk-badges.d.mts +22 -22
  183. package/resources/kiosk-badges.d.mts.map +1 -1
  184. package/resources/kiosk-badges.d.ts +22 -22
  185. package/resources/kiosk-badges.d.ts.map +1 -1
  186. package/resources/kiosk-badges.js +14 -14
  187. package/resources/kiosk-badges.js.map +1 -1
  188. package/resources/kiosk-badges.mjs +14 -14
  189. package/resources/kiosk-badges.mjs.map +1 -1
  190. package/resources/leave-accruals.d.mts +205 -0
  191. package/resources/leave-accruals.d.mts.map +1 -0
  192. package/resources/leave-accruals.d.ts +205 -0
  193. package/resources/leave-accruals.d.ts.map +1 -0
  194. package/resources/leave-accruals.js +22 -0
  195. package/resources/leave-accruals.js.map +1 -0
  196. package/resources/leave-accruals.mjs +18 -0
  197. package/resources/leave-accruals.mjs.map +1 -0
  198. package/resources/leave-balances.d.mts +8 -8
  199. package/resources/leave-balances.d.mts.map +1 -1
  200. package/resources/leave-balances.d.ts +8 -8
  201. package/resources/leave-balances.d.ts.map +1 -1
  202. package/resources/leave-balances.js +6 -6
  203. package/resources/leave-balances.js.map +1 -1
  204. package/resources/leave-balances.mjs +6 -6
  205. package/resources/leave-balances.mjs.map +1 -1
  206. package/resources/leave-requests.d.mts +31 -31
  207. package/resources/leave-requests.d.mts.map +1 -1
  208. package/resources/leave-requests.d.ts +31 -31
  209. package/resources/leave-requests.d.ts.map +1 -1
  210. package/resources/leave-requests.js +15 -15
  211. package/resources/leave-requests.js.map +1 -1
  212. package/resources/leave-requests.mjs +15 -15
  213. package/resources/leave-requests.mjs.map +1 -1
  214. package/resources/leave-types.d.mts +4 -4
  215. package/resources/leave-types.d.mts.map +1 -1
  216. package/resources/leave-types.d.ts +4 -4
  217. package/resources/leave-types.d.ts.map +1 -1
  218. package/resources/leave-types.js +6 -6
  219. package/resources/leave-types.js.map +1 -1
  220. package/resources/leave-types.mjs +6 -6
  221. package/resources/leave-types.mjs.map +1 -1
  222. package/resources/legal-entities.d.mts +9 -9
  223. package/resources/legal-entities.d.mts.map +1 -1
  224. package/resources/legal-entities.d.ts +9 -9
  225. package/resources/legal-entities.d.ts.map +1 -1
  226. package/resources/legal-entities.js +6 -6
  227. package/resources/legal-entities.js.map +1 -1
  228. package/resources/legal-entities.mjs +6 -6
  229. package/resources/legal-entities.mjs.map +1 -1
  230. package/resources/levels.d.mts +8 -8
  231. package/resources/levels.d.mts.map +1 -1
  232. package/resources/levels.d.ts +8 -8
  233. package/resources/levels.d.ts.map +1 -1
  234. package/resources/levels.js +6 -6
  235. package/resources/levels.js.map +1 -1
  236. package/resources/levels.mjs +6 -6
  237. package/resources/levels.mjs.map +1 -1
  238. package/resources/location-factors.d.mts +17 -17
  239. package/resources/location-factors.d.mts.map +1 -1
  240. package/resources/location-factors.d.ts +17 -17
  241. package/resources/location-factors.d.ts.map +1 -1
  242. package/resources/location-factors.js +7 -7
  243. package/resources/location-factors.js.map +1 -1
  244. package/resources/location-factors.mjs +7 -7
  245. package/resources/location-factors.mjs.map +1 -1
  246. package/resources/object-categories.d.mts +6 -6
  247. package/resources/object-categories.d.mts.map +1 -1
  248. package/resources/object-categories.d.ts +6 -6
  249. package/resources/object-categories.d.ts.map +1 -1
  250. package/resources/object-categories.js +8 -8
  251. package/resources/object-categories.js.map +1 -1
  252. package/resources/object-categories.mjs +8 -8
  253. package/resources/object-categories.mjs.map +1 -1
  254. package/resources/schedules.d.mts +13 -13
  255. package/resources/schedules.d.mts.map +1 -1
  256. package/resources/schedules.d.ts +13 -13
  257. package/resources/schedules.d.ts.map +1 -1
  258. package/resources/schedules.js +6 -6
  259. package/resources/schedules.js.map +1 -1
  260. package/resources/schedules.mjs +6 -6
  261. package/resources/schedules.mjs.map +1 -1
  262. package/resources/shared.d.mts +1 -1
  263. package/resources/shared.d.mts.map +1 -1
  264. package/resources/shared.d.ts +1 -1
  265. package/resources/shared.d.ts.map +1 -1
  266. package/resources/shift-inputs.d.mts +22 -22
  267. package/resources/shift-inputs.d.mts.map +1 -1
  268. package/resources/shift-inputs.d.ts +22 -22
  269. package/resources/shift-inputs.d.ts.map +1 -1
  270. package/resources/shift-inputs.js +14 -14
  271. package/resources/shift-inputs.js.map +1 -1
  272. package/resources/shift-inputs.mjs +14 -14
  273. package/resources/shift-inputs.mjs.map +1 -1
  274. package/resources/shiftassignments.d.mts +21 -21
  275. package/resources/shiftassignments.d.mts.map +1 -1
  276. package/resources/shiftassignments.d.ts +21 -21
  277. package/resources/shiftassignments.d.ts.map +1 -1
  278. package/resources/shiftassignments.js +6 -6
  279. package/resources/shiftassignments.js.map +1 -1
  280. package/resources/shiftassignments.mjs +6 -6
  281. package/resources/shiftassignments.mjs.map +1 -1
  282. package/resources/supergroups/exclusion-members.d.mts +8 -8
  283. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  284. package/resources/supergroups/exclusion-members.d.ts +8 -8
  285. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  286. package/resources/supergroups/exclusion-members.js +6 -6
  287. package/resources/supergroups/exclusion-members.js.map +1 -1
  288. package/resources/supergroups/exclusion-members.mjs +6 -6
  289. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  290. package/resources/supergroups/inclusion-members.d.mts +8 -8
  291. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  292. package/resources/supergroups/inclusion-members.d.ts +8 -8
  293. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  294. package/resources/supergroups/inclusion-members.js +6 -6
  295. package/resources/supergroups/inclusion-members.js.map +1 -1
  296. package/resources/supergroups/inclusion-members.mjs +6 -6
  297. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  298. package/resources/supergroups/index.d.mts +2 -2
  299. package/resources/supergroups/index.d.mts.map +1 -1
  300. package/resources/supergroups/index.d.ts +2 -2
  301. package/resources/supergroups/index.d.ts.map +1 -1
  302. package/resources/supergroups/supergroups.d.mts +6 -6
  303. package/resources/supergroups/supergroups.d.mts.map +1 -1
  304. package/resources/supergroups/supergroups.d.ts +6 -6
  305. package/resources/supergroups/supergroups.d.ts.map +1 -1
  306. package/resources/supergroups/supergroups.js +6 -6
  307. package/resources/supergroups/supergroups.js.map +1 -1
  308. package/resources/supergroups/supergroups.mjs +6 -6
  309. package/resources/supergroups/supergroups.mjs.map +1 -1
  310. package/resources/teams.d.mts +8 -8
  311. package/resources/teams.d.mts.map +1 -1
  312. package/resources/teams.d.ts +8 -8
  313. package/resources/teams.d.ts.map +1 -1
  314. package/resources/teams.js +6 -6
  315. package/resources/teams.js.map +1 -1
  316. package/resources/teams.mjs +6 -6
  317. package/resources/teams.mjs.map +1 -1
  318. package/resources/time-cards.d.mts +8 -8
  319. package/resources/time-cards.d.mts.map +1 -1
  320. package/resources/time-cards.d.ts +8 -8
  321. package/resources/time-cards.d.ts.map +1 -1
  322. package/resources/time-cards.js +6 -6
  323. package/resources/time-cards.js.map +1 -1
  324. package/resources/time-cards.mjs +6 -6
  325. package/resources/time-cards.mjs.map +1 -1
  326. package/resources/time-entries.d.mts +58 -58
  327. package/resources/time-entries.d.mts.map +1 -1
  328. package/resources/time-entries.d.ts +58 -58
  329. package/resources/time-entries.d.ts.map +1 -1
  330. package/resources/time-entries.js +14 -14
  331. package/resources/time-entries.js.map +1 -1
  332. package/resources/time-entries.mjs +14 -14
  333. package/resources/time-entries.mjs.map +1 -1
  334. package/resources/tracks.d.mts +4 -4
  335. package/resources/tracks.d.mts.map +1 -1
  336. package/resources/tracks.d.ts +4 -4
  337. package/resources/tracks.d.ts.map +1 -1
  338. package/resources/tracks.js +6 -6
  339. package/resources/tracks.js.map +1 -1
  340. package/resources/tracks.mjs +6 -6
  341. package/resources/tracks.mjs.map +1 -1
  342. package/resources/users.d.mts +4 -4
  343. package/resources/users.d.mts.map +1 -1
  344. package/resources/users.d.ts +4 -4
  345. package/resources/users.d.ts.map +1 -1
  346. package/resources/users.js +6 -6
  347. package/resources/users.js.map +1 -1
  348. package/resources/users.mjs +6 -6
  349. package/resources/users.mjs.map +1 -1
  350. package/resources/work-locations.d.mts +4 -4
  351. package/resources/work-locations.d.mts.map +1 -1
  352. package/resources/work-locations.d.ts +4 -4
  353. package/resources/work-locations.d.ts.map +1 -1
  354. package/resources/work-locations.js +6 -6
  355. package/resources/work-locations.js.map +1 -1
  356. package/resources/work-locations.mjs +6 -6
  357. package/resources/work-locations.mjs.map +1 -1
  358. package/resources/workers.d.mts +10 -10
  359. package/resources/workers.d.mts.map +1 -1
  360. package/resources/workers.d.ts +10 -10
  361. package/resources/workers.d.ts.map +1 -1
  362. package/resources/workers.js +6 -6
  363. package/resources/workers.js.map +1 -1
  364. package/resources/workers.mjs +6 -6
  365. package/resources/workers.mjs.map +1 -1
  366. package/src/client.ts +108 -90
  367. package/src/internal/utils/values.ts +3 -3
  368. package/src/resources/business-partner-groups.ts +24 -24
  369. package/src/resources/business-partners.ts +27 -27
  370. package/src/resources/compensations.ts +16 -16
  371. package/src/resources/custom-objects/custom-objects.ts +12 -12
  372. package/src/resources/custom-objects/fields.ts +16 -16
  373. package/src/resources/custom-objects/index.ts +3 -3
  374. package/src/resources/custom-objects/records.ts +70 -70
  375. package/src/resources/departments.ts +16 -16
  376. package/src/resources/draft-hires.ts +519 -0
  377. package/src/resources/employment-types.ts +7 -7
  378. package/src/resources/functions/deployments.ts +10 -10
  379. package/src/resources/functions/executions.ts +28 -28
  380. package/src/resources/functions/functions.ts +20 -20
  381. package/src/resources/functions/index.ts +3 -3
  382. package/src/resources/headcount-positions.ts +103 -53
  383. package/src/resources/headcount-priorities.ts +14 -14
  384. package/src/resources/index.ts +40 -32
  385. package/src/resources/job-assignments.ts +16 -16
  386. package/src/resources/job-codes.ts +25 -25
  387. package/src/resources/job-dimensions.ts +21 -21
  388. package/src/resources/job-functions.ts +14 -14
  389. package/src/resources/job-pay-rate-exceptions.ts +16 -16
  390. package/src/resources/kiosk-badges.ts +35 -35
  391. package/src/resources/leave-accruals.ts +261 -0
  392. package/src/resources/leave-balances.ts +16 -16
  393. package/src/resources/leave-requests.ts +44 -44
  394. package/src/resources/leave-types.ts +7 -7
  395. package/src/resources/legal-entities.ts +17 -16
  396. package/src/resources/levels.ts +16 -16
  397. package/src/resources/location-factors.ts +20 -18
  398. package/src/resources/object-categories.ts +9 -9
  399. package/src/resources/schedules.ts +22 -22
  400. package/src/resources/shared.ts +1 -0
  401. package/src/resources/shift-inputs.ts +35 -35
  402. package/src/resources/shiftassignments.ts +30 -30
  403. package/src/resources/supergroups/exclusion-members.ts +16 -16
  404. package/src/resources/supergroups/inclusion-members.ts +16 -16
  405. package/src/resources/supergroups/index.ts +2 -2
  406. package/src/resources/supergroups/supergroups.ts +9 -9
  407. package/src/resources/teams.ts +16 -16
  408. package/src/resources/time-cards.ts +16 -16
  409. package/src/resources/time-entries.ts +71 -71
  410. package/src/resources/tracks.ts +7 -7
  411. package/src/resources/users.ts +7 -7
  412. package/src/resources/work-locations.ts +7 -7
  413. package/src/resources/workers.ts +18 -16
  414. package/src/version.ts +1 -1
  415. package/version.d.mts +1 -1
  416. package/version.d.ts +1 -1
  417. package/version.js +1 -1
  418. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,0BAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AA7BD,0BA6BC"}
1
+ {"version":3,"file":"workers.js","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAU/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,0BAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF;AA7BD,0BA6BC"}
@@ -3,12 +3,6 @@ import { APIResource } from "../core/resource.mjs";
3
3
  import { PageCursorURL } from "../core/pagination.mjs";
4
4
  import { path } from "../internal/utils/path.mjs";
5
5
  export class Workers extends APIResource {
6
- /**
7
- * Retrieve a specific worker
8
- */
9
- retrieve(id, query = {}, options) {
10
- return this._client.get(path `/workers/${id}`, { query, ...options });
11
- }
12
6
  /**
13
7
  * A List of workers
14
8
  *
@@ -23,5 +17,11 @@ export class Workers extends APIResource {
23
17
  list(query = {}, options) {
24
18
  return this._client.getAPIList('/workers', (PageCursorURL), { query, ...options });
25
19
  }
20
+ /**
21
+ * Retrieve a specific worker
22
+ */
23
+ retrieve(id, query = {}, options) {
24
+ return this._client.get(path `/workers/${id}`, { query, ...options });
25
+ }
26
26
  }
27
27
  //# sourceMappingURL=workers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,aAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
1
+ {"version":3,"file":"workers.mjs","sourceRoot":"","sources":["../src/resources/workers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAUf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;OAUG;IACH,IAAI,CACF,QAA6C,EAAE,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,UAAU,EAAE,CAAA,aAAqB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,YAAY,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;CACF"}
package/src/client.ts CHANGED
@@ -72,6 +72,7 @@ import {
72
72
  Departments,
73
73
  DepartmentsPageCursorURL,
74
74
  } from './resources/departments';
75
+ import { DraftHireCreateParams, DraftHireCreateResponse, DraftHires } from './resources/draft-hires';
75
76
  import {
76
77
  CompanyEmploymentType,
77
78
  CompanyEmploymentTypesPageCursorURL,
@@ -167,6 +168,13 @@ import {
167
168
  KioskBadges,
168
169
  TimeKioskBadge,
169
170
  } from './resources/kiosk-badges';
171
+ import {
172
+ LeaveAccrualCreateParams,
173
+ LeaveAccrualCreateResponse,
174
+ LeaveAccrualRetrieveParams,
175
+ LeaveAccrualRetrieveResponse,
176
+ LeaveAccruals,
177
+ } from './resources/leave-accruals';
170
178
  import {
171
179
  LeaveBalance,
172
180
  LeaveBalanceListParams,
@@ -521,17 +529,9 @@ export class RipplingSDK {
521
529
  }
522
530
 
523
531
  protected async authHeaders(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
524
- return buildHeaders([await this.bearerTokenProductionAuth(opts), await this.oAuth2ProductionAuth(opts)]);
525
- }
526
-
527
- protected async bearerTokenProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
528
532
  return buildHeaders([{ Authorization: `Bearer ${this.bearerToken}` }]);
529
533
  }
530
534
 
531
- protected async oAuth2ProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
532
- return undefined;
533
- }
534
-
535
535
  /**
536
536
  * Basic re-implementation of `qs.stringify` for primitive types.
537
537
  */
@@ -1055,15 +1055,11 @@ export class RipplingSDK {
1055
1055
 
1056
1056
  static toFile = Uploads.toFile;
1057
1057
 
1058
- candidates: API.Candidates = new API.Candidates(this);
1059
- candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
1060
1058
  companies: API.Companies = new API.Companies(this);
1061
1059
  compensations: API.Compensations = new API.Compensations(this);
1062
- customFields: API.CustomFields = new API.CustomFields(this);
1063
1060
  customObjects: API.CustomObjects = new API.CustomObjects(this);
1064
1061
  departments: API.Departments = new API.Departments(this);
1065
1062
  employmentTypes: API.EmploymentTypes = new API.EmploymentTypes(this);
1066
- entitlements: API.Entitlements = new API.Entitlements(this);
1067
1063
  jobCodes: API.JobCodes = new API.JobCodes(this);
1068
1064
  jobDimensions: API.JobDimensions = new API.JobDimensions(this);
1069
1065
  jobRequisitions: API.JobRequisitions = new API.JobRequisitions(this);
@@ -1089,23 +1085,25 @@ export class RipplingSDK {
1089
1085
  functions: API.Functions = new API.Functions(this);
1090
1086
  jobAssignments: API.JobAssignments = new API.JobAssignments(this);
1091
1087
  jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
1092
- schedules: API.Schedules = new API.Schedules(this);
1088
+ candidates: API.Candidates = new API.Candidates(this);
1089
+ candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
1090
+ customFields: API.CustomFields = new API.CustomFields(this);
1091
+ draftHires: API.DraftHires = new API.DraftHires(this);
1092
+ entitlements: API.Entitlements = new API.Entitlements(this);
1093
1093
  headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
1094
- shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1095
1094
  headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
1096
1095
  jobFunctions: API.JobFunctions = new API.JobFunctions(this);
1096
+ leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
1097
1097
  locationFactors: API.LocationFactors = new API.LocationFactors(this);
1098
+ schedules: API.Schedules = new API.Schedules(this);
1099
+ shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1098
1100
  }
1099
1101
 
1100
- RipplingSDK.Candidates = Candidates;
1101
- RipplingSDK.CandidateApplications = CandidateApplications;
1102
1102
  RipplingSDK.Companies = Companies;
1103
1103
  RipplingSDK.Compensations = Compensations;
1104
- RipplingSDK.CustomFields = CustomFields;
1105
1104
  RipplingSDK.CustomObjects = CustomObjects;
1106
1105
  RipplingSDK.Departments = Departments;
1107
1106
  RipplingSDK.EmploymentTypes = EmploymentTypes;
1108
- RipplingSDK.Entitlements = Entitlements;
1109
1107
  RipplingSDK.JobCodes = JobCodes;
1110
1108
  RipplingSDK.JobDimensions = JobDimensions;
1111
1109
  RipplingSDK.JobRequisitions = JobRequisitions;
@@ -1131,12 +1129,18 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
1131
1129
  RipplingSDK.Functions = Functions;
1132
1130
  RipplingSDK.JobAssignments = JobAssignments;
1133
1131
  RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
1134
- RipplingSDK.Schedules = Schedules;
1132
+ RipplingSDK.Candidates = Candidates;
1133
+ RipplingSDK.CandidateApplications = CandidateApplications;
1134
+ RipplingSDK.CustomFields = CustomFields;
1135
+ RipplingSDK.DraftHires = DraftHires;
1136
+ RipplingSDK.Entitlements = Entitlements;
1135
1137
  RipplingSDK.HeadcountPositions = HeadcountPositions;
1136
- RipplingSDK.Shiftassignments = Shiftassignments;
1137
1138
  RipplingSDK.HeadcountPriorities = HeadcountPriorities;
1138
1139
  RipplingSDK.JobFunctions = JobFunctions;
1140
+ RipplingSDK.LeaveAccruals = LeaveAccruals;
1139
1141
  RipplingSDK.LocationFactors = LocationFactors;
1142
+ RipplingSDK.Schedules = Schedules;
1143
+ RipplingSDK.Shiftassignments = Shiftassignments;
1140
1144
 
1141
1145
  export declare namespace RipplingSDK {
1142
1146
  export type RequestOptions = Opts.RequestOptions;
@@ -1144,20 +1148,6 @@ export declare namespace RipplingSDK {
1144
1148
  export import PageCursorURL = Pagination.PageCursorURL;
1145
1149
  export { type PageCursorURLResponse as PageCursorURLResponse };
1146
1150
 
1147
- export {
1148
- Candidates as Candidates,
1149
- type CandidateListResponse as CandidateListResponse,
1150
- type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
1151
- type CandidateListParams as CandidateListParams,
1152
- };
1153
-
1154
- export {
1155
- CandidateApplications as CandidateApplications,
1156
- type CandidateApplicationListResponse as CandidateApplicationListResponse,
1157
- type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
1158
- type CandidateApplicationListParams as CandidateApplicationListParams,
1159
- };
1160
-
1161
1151
  export {
1162
1152
  Companies as Companies,
1163
1153
  type Company as Company,
@@ -1170,15 +1160,8 @@ export declare namespace RipplingSDK {
1170
1160
  type Compensation as Compensation,
1171
1161
  type CompensationRetrieveResponse as CompensationRetrieveResponse,
1172
1162
  type CompensationsPageCursorURL as CompensationsPageCursorURL,
1173
- type CompensationRetrieveParams as CompensationRetrieveParams,
1174
1163
  type CompensationListParams as CompensationListParams,
1175
- };
1176
-
1177
- export {
1178
- CustomFields as CustomFields,
1179
- type CustomFieldListResponse as CustomFieldListResponse,
1180
- type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
1181
- type CustomFieldListParams as CustomFieldListParams,
1164
+ type CompensationRetrieveParams as CompensationRetrieveParams,
1182
1165
  };
1183
1166
 
1184
1167
  export {
@@ -1194,8 +1177,8 @@ export declare namespace RipplingSDK {
1194
1177
  type Department as Department,
1195
1178
  type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
1196
1179
  type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
1197
- type DepartmentRetrieveParams as DepartmentRetrieveParams,
1198
1180
  type DepartmentListParams as DepartmentListParams,
1181
+ type DepartmentRetrieveParams as DepartmentRetrieveParams,
1199
1182
  };
1200
1183
 
1201
1184
  export {
@@ -1206,22 +1189,16 @@ export declare namespace RipplingSDK {
1206
1189
  type EmploymentTypeListParams as EmploymentTypeListParams,
1207
1190
  };
1208
1191
 
1209
- export {
1210
- Entitlements as Entitlements,
1211
- type EntitlementListResponse as EntitlementListResponse,
1212
- type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
1213
- };
1214
-
1215
1192
  export {
1216
1193
  JobCodes as JobCodes,
1217
1194
  type JobCode as JobCode,
1218
1195
  type JobCodeRequest as JobCodeRequest,
1219
1196
  type JobCodeRetrieveResponse as JobCodeRetrieveResponse,
1220
1197
  type JobCodesPageCursorURL as JobCodesPageCursorURL,
1198
+ type JobCodeListParams as JobCodeListParams,
1221
1199
  type JobCodeCreateParams as JobCodeCreateParams,
1222
1200
  type JobCodeRetrieveParams as JobCodeRetrieveParams,
1223
1201
  type JobCodeUpdateParams as JobCodeUpdateParams,
1224
- type JobCodeListParams as JobCodeListParams,
1225
1202
  type JobCodeListChangeLogParams as JobCodeListChangeLogParams,
1226
1203
  };
1227
1204
 
@@ -1231,9 +1208,9 @@ export declare namespace RipplingSDK {
1231
1208
  type JobDimensionRequest as JobDimensionRequest,
1232
1209
  type JobDimensionRetrieveResponse as JobDimensionRetrieveResponse,
1233
1210
  type JobDimensionsPageCursorURL as JobDimensionsPageCursorURL,
1211
+ type JobDimensionListParams as JobDimensionListParams,
1234
1212
  type JobDimensionCreateParams as JobDimensionCreateParams,
1235
1213
  type JobDimensionUpdateParams as JobDimensionUpdateParams,
1236
- type JobDimensionListParams as JobDimensionListParams,
1237
1214
  };
1238
1215
 
1239
1216
  export {
@@ -1246,15 +1223,15 @@ export declare namespace RipplingSDK {
1246
1223
  export {
1247
1224
  KioskBadges as KioskBadges,
1248
1225
  type TimeKioskBadge as TimeKioskBadge,
1226
+ type KioskBadgeListResponse as KioskBadgeListResponse,
1249
1227
  type KioskBadgeCreateResponse as KioskBadgeCreateResponse,
1250
1228
  type KioskBadgeRetrieveResponse as KioskBadgeRetrieveResponse,
1251
1229
  type KioskBadgeUpdateResponse as KioskBadgeUpdateResponse,
1252
- type KioskBadgeListResponse as KioskBadgeListResponse,
1253
1230
  type KioskBadgeListResponsesPageCursorURL as KioskBadgeListResponsesPageCursorURL,
1231
+ type KioskBadgeListParams as KioskBadgeListParams,
1254
1232
  type KioskBadgeCreateParams as KioskBadgeCreateParams,
1255
1233
  type KioskBadgeRetrieveParams as KioskBadgeRetrieveParams,
1256
1234
  type KioskBadgeUpdateParams as KioskBadgeUpdateParams,
1257
- type KioskBadgeListParams as KioskBadgeListParams,
1258
1235
  };
1259
1236
 
1260
1237
  export {
@@ -1262,22 +1239,22 @@ export declare namespace RipplingSDK {
1262
1239
  type LeaveBalance as LeaveBalance,
1263
1240
  type LeaveBalanceRetrieveResponse as LeaveBalanceRetrieveResponse,
1264
1241
  type LeaveBalancesPageCursorURL as LeaveBalancesPageCursorURL,
1265
- type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
1266
1242
  type LeaveBalanceListParams as LeaveBalanceListParams,
1243
+ type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
1267
1244
  };
1268
1245
 
1269
1246
  export {
1270
1247
  LeaveRequests as LeaveRequests,
1271
1248
  type LeaveRequest as LeaveRequest,
1249
+ type LeaveRequestListResponse as LeaveRequestListResponse,
1272
1250
  type LeaveRequestCreateResponse as LeaveRequestCreateResponse,
1273
1251
  type LeaveRequestRetrieveResponse as LeaveRequestRetrieveResponse,
1274
1252
  type LeaveRequestUpdateResponse as LeaveRequestUpdateResponse,
1275
- type LeaveRequestListResponse as LeaveRequestListResponse,
1276
1253
  type LeaveRequestListResponsesPageCursorURL as LeaveRequestListResponsesPageCursorURL,
1254
+ type LeaveRequestListParams as LeaveRequestListParams,
1277
1255
  type LeaveRequestCreateParams as LeaveRequestCreateParams,
1278
1256
  type LeaveRequestRetrieveParams as LeaveRequestRetrieveParams,
1279
1257
  type LeaveRequestUpdateParams as LeaveRequestUpdateParams,
1280
- type LeaveRequestListParams as LeaveRequestListParams,
1281
1258
  };
1282
1259
 
1283
1260
  export {
@@ -1293,8 +1270,8 @@ export declare namespace RipplingSDK {
1293
1270
  type LegalEntity as LegalEntity,
1294
1271
  type LegalEntityRetrieveResponse as LegalEntityRetrieveResponse,
1295
1272
  type LegalEntitiesPageCursorURL as LegalEntitiesPageCursorURL,
1296
- type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
1297
1273
  type LegalEntityListParams as LegalEntityListParams,
1274
+ type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
1298
1275
  };
1299
1276
 
1300
1277
  export {
@@ -1302,8 +1279,8 @@ export declare namespace RipplingSDK {
1302
1279
  type Level as Level,
1303
1280
  type LevelRetrieveResponse as LevelRetrieveResponse,
1304
1281
  type LevelsPageCursorURL as LevelsPageCursorURL,
1305
- type LevelRetrieveParams as LevelRetrieveParams,
1306
1282
  type LevelListParams as LevelListParams,
1283
+ type LevelRetrieveParams as LevelRetrieveParams,
1307
1284
  };
1308
1285
 
1309
1286
  export {
@@ -1317,15 +1294,15 @@ export declare namespace RipplingSDK {
1317
1294
  export {
1318
1295
  ShiftInputs as ShiftInputs,
1319
1296
  type ShiftInput as ShiftInput,
1297
+ type ShiftInputListResponse as ShiftInputListResponse,
1320
1298
  type ShiftInputCreateResponse as ShiftInputCreateResponse,
1321
1299
  type ShiftInputRetrieveResponse as ShiftInputRetrieveResponse,
1322
1300
  type ShiftInputUpdateResponse as ShiftInputUpdateResponse,
1323
- type ShiftInputListResponse as ShiftInputListResponse,
1324
1301
  type ShiftInputListResponsesPageCursorURL as ShiftInputListResponsesPageCursorURL,
1302
+ type ShiftInputListParams as ShiftInputListParams,
1325
1303
  type ShiftInputCreateParams as ShiftInputCreateParams,
1326
1304
  type ShiftInputRetrieveParams as ShiftInputRetrieveParams,
1327
1305
  type ShiftInputUpdateParams as ShiftInputUpdateParams,
1328
- type ShiftInputListParams as ShiftInputListParams,
1329
1306
  };
1330
1307
 
1331
1308
  export {
@@ -1347,8 +1324,8 @@ export declare namespace RipplingSDK {
1347
1324
  type Team as Team,
1348
1325
  type TeamRetrieveResponse as TeamRetrieveResponse,
1349
1326
  type TeamsPageCursorURL as TeamsPageCursorURL,
1350
- type TeamRetrieveParams as TeamRetrieveParams,
1351
1327
  type TeamListParams as TeamListParams,
1328
+ type TeamRetrieveParams as TeamRetrieveParams,
1352
1329
  };
1353
1330
 
1354
1331
  export {
@@ -1357,22 +1334,22 @@ export declare namespace RipplingSDK {
1357
1334
  type TimeCard as TimeCard,
1358
1335
  type TimeCardRetrieveResponse as TimeCardRetrieveResponse,
1359
1336
  type TimeCardsPageCursorURL as TimeCardsPageCursorURL,
1360
- type TimeCardRetrieveParams as TimeCardRetrieveParams,
1361
1337
  type TimeCardListParams as TimeCardListParams,
1338
+ type TimeCardRetrieveParams as TimeCardRetrieveParams,
1362
1339
  };
1363
1340
 
1364
1341
  export {
1365
1342
  TimeEntries as TimeEntries,
1366
1343
  type TimeEntry as TimeEntry,
1344
+ type TimeEntryListResponse as TimeEntryListResponse,
1367
1345
  type TimeEntryCreateResponse as TimeEntryCreateResponse,
1368
1346
  type TimeEntryRetrieveResponse as TimeEntryRetrieveResponse,
1369
1347
  type TimeEntryUpdateResponse as TimeEntryUpdateResponse,
1370
- type TimeEntryListResponse as TimeEntryListResponse,
1371
1348
  type TimeEntryListResponsesPageCursorURL as TimeEntryListResponsesPageCursorURL,
1349
+ type TimeEntryListParams as TimeEntryListParams,
1372
1350
  type TimeEntryCreateParams as TimeEntryCreateParams,
1373
1351
  type TimeEntryRetrieveParams as TimeEntryRetrieveParams,
1374
1352
  type TimeEntryUpdateParams as TimeEntryUpdateParams,
1375
- type TimeEntryListParams as TimeEntryListParams,
1376
1353
  };
1377
1354
 
1378
1355
  export {
@@ -1404,8 +1381,8 @@ export declare namespace RipplingSDK {
1404
1381
  type Worker as Worker,
1405
1382
  type WorkerRetrieveResponse as WorkerRetrieveResponse,
1406
1383
  type WorkersPageCursorURL as WorkersPageCursorURL,
1407
- type WorkerRetrieveParams as WorkerRetrieveParams,
1408
1384
  type WorkerListParams as WorkerListParams,
1385
+ type WorkerRetrieveParams as WorkerRetrieveParams,
1409
1386
  };
1410
1387
 
1411
1388
  export {
@@ -1414,9 +1391,9 @@ export declare namespace RipplingSDK {
1414
1391
  type Meta as Meta,
1415
1392
  type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse,
1416
1393
  type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL,
1394
+ type BusinessPartnerListParams as BusinessPartnerListParams,
1417
1395
  type BusinessPartnerCreateParams as BusinessPartnerCreateParams,
1418
1396
  type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams,
1419
- type BusinessPartnerListParams as BusinessPartnerListParams,
1420
1397
  };
1421
1398
 
1422
1399
  export {
@@ -1424,9 +1401,9 @@ export declare namespace RipplingSDK {
1424
1401
  type BusinessPartnerGroup as BusinessPartnerGroup,
1425
1402
  type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
1426
1403
  type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
1404
+ type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
1427
1405
  type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
1428
1406
  type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
1429
- type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
1430
1407
  };
1431
1408
 
1432
1409
  export {
@@ -1434,9 +1411,9 @@ export declare namespace RipplingSDK {
1434
1411
  type Function as Function,
1435
1412
  type FunctionCreateDevBundleResponse as FunctionCreateDevBundleResponse,
1436
1413
  type FunctionsPageCursorURL as FunctionsPageCursorURL,
1414
+ type FunctionListParams as FunctionListParams,
1437
1415
  type FunctionCreateParams as FunctionCreateParams,
1438
1416
  type FunctionUpdateParams as FunctionUpdateParams,
1439
- type FunctionListParams as FunctionListParams,
1440
1417
  };
1441
1418
 
1442
1419
  export {
@@ -1446,8 +1423,8 @@ export declare namespace RipplingSDK {
1446
1423
  type JobAssignmentRetrieveResponse as JobAssignmentRetrieveResponse,
1447
1424
  type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
1448
1425
  type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
1449
- type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
1450
1426
  type JobAssignmentListParams as JobAssignmentListParams,
1427
+ type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
1451
1428
  type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
1452
1429
  };
1453
1430
 
@@ -1456,62 +1433,103 @@ export declare namespace RipplingSDK {
1456
1433
  type JobPayRateException as JobPayRateException,
1457
1434
  type JobPayRateExceptionRetrieveResponse as JobPayRateExceptionRetrieveResponse,
1458
1435
  type JobPayRateExceptionsPageCursorURL as JobPayRateExceptionsPageCursorURL,
1459
- type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
1460
1436
  type JobPayRateExceptionListParams as JobPayRateExceptionListParams,
1437
+ type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
1461
1438
  type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
1462
1439
  };
1463
1440
 
1464
1441
  export {
1465
- Schedules as Schedules,
1466
- type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
1467
- type ScheduleListResponse as ScheduleListResponse,
1468
- type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
1469
- type ScheduleRetrieveParams as ScheduleRetrieveParams,
1470
- type ScheduleListParams as ScheduleListParams,
1442
+ Candidates as Candidates,
1443
+ type CandidateListResponse as CandidateListResponse,
1444
+ type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
1445
+ type CandidateListParams as CandidateListParams,
1446
+ };
1447
+
1448
+ export {
1449
+ CandidateApplications as CandidateApplications,
1450
+ type CandidateApplicationListResponse as CandidateApplicationListResponse,
1451
+ type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
1452
+ type CandidateApplicationListParams as CandidateApplicationListParams,
1453
+ };
1454
+
1455
+ export {
1456
+ CustomFields as CustomFields,
1457
+ type CustomFieldListResponse as CustomFieldListResponse,
1458
+ type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
1459
+ type CustomFieldListParams as CustomFieldListParams,
1460
+ };
1461
+
1462
+ export {
1463
+ DraftHires as DraftHires,
1464
+ type DraftHireCreateResponse as DraftHireCreateResponse,
1465
+ type DraftHireCreateParams as DraftHireCreateParams,
1466
+ };
1467
+
1468
+ export {
1469
+ Entitlements as Entitlements,
1470
+ type EntitlementListResponse as EntitlementListResponse,
1471
+ type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
1471
1472
  };
1472
1473
 
1473
1474
  export {
1474
1475
  HeadcountPositions as HeadcountPositions,
1475
- type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1476
1476
  type HeadcountPositionListResponse as HeadcountPositionListResponse,
1477
+ type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1477
1478
  type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
1478
- type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1479
1479
  type HeadcountPositionListParams as HeadcountPositionListParams,
1480
- };
1481
-
1482
- export {
1483
- Shiftassignments as Shiftassignments,
1484
- type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
1485
- type ShiftassignmentListResponse as ShiftassignmentListResponse,
1486
- type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
1487
- type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
1488
- type ShiftassignmentListParams as ShiftassignmentListParams,
1480
+ type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1489
1481
  };
1490
1482
 
1491
1483
  export {
1492
1484
  HeadcountPriorities as HeadcountPriorities,
1493
- type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
1494
1485
  type HeadcountPriorityListResponse as HeadcountPriorityListResponse,
1486
+ type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
1495
1487
  type HeadcountPriorityListResponsesPageCursorURL as HeadcountPriorityListResponsesPageCursorURL,
1496
1488
  type HeadcountPriorityListParams as HeadcountPriorityListParams,
1497
1489
  };
1498
1490
 
1499
1491
  export {
1500
1492
  JobFunctions as JobFunctions,
1501
- type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
1502
1493
  type JobFunctionListResponse as JobFunctionListResponse,
1494
+ type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
1503
1495
  type JobFunctionListResponsesPageCursorURL as JobFunctionListResponsesPageCursorURL,
1504
1496
  type JobFunctionListParams as JobFunctionListParams,
1505
1497
  };
1506
1498
 
1499
+ export {
1500
+ LeaveAccruals as LeaveAccruals,
1501
+ type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
1502
+ type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
1503
+ type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
1504
+ type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
1505
+ };
1506
+
1507
1507
  export {
1508
1508
  LocationFactors as LocationFactors,
1509
- type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
1510
1509
  type LocationFactorListResponse as LocationFactorListResponse,
1510
+ type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
1511
1511
  type LocationFactorListResponsesPageCursorURL as LocationFactorListResponsesPageCursorURL,
1512
1512
  type LocationFactorListParams as LocationFactorListParams,
1513
1513
  };
1514
1514
 
1515
+ export {
1516
+ Schedules as Schedules,
1517
+ type ScheduleListResponse as ScheduleListResponse,
1518
+ type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
1519
+ type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
1520
+ type ScheduleListParams as ScheduleListParams,
1521
+ type ScheduleRetrieveParams as ScheduleRetrieveParams,
1522
+ };
1523
+
1524
+ export {
1525
+ Shiftassignments as Shiftassignments,
1526
+ type ShiftassignmentListResponse as ShiftassignmentListResponse,
1527
+ type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
1528
+ type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
1529
+ type ShiftassignmentListParams as ShiftassignmentListParams,
1530
+ type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
1531
+ };
1532
+
1515
1533
  export type Address = API.Address;
1516
1534
  export type CountryCode = API.CountryCode;
1517
1535
  export type RedactedFields = API.RedactedFields;
@@ -76,21 +76,21 @@ export const coerceBoolean = (value: unknown): boolean => {
76
76
  };
77
77
 
78
78
  export const maybeCoerceInteger = (value: unknown): number | undefined => {
79
- if (value === undefined) {
79
+ if (value == null) {
80
80
  return undefined;
81
81
  }
82
82
  return coerceInteger(value);
83
83
  };
84
84
 
85
85
  export const maybeCoerceFloat = (value: unknown): number | undefined => {
86
- if (value === undefined) {
86
+ if (value == null) {
87
87
  return undefined;
88
88
  }
89
89
  return coerceFloat(value);
90
90
  };
91
91
 
92
92
  export const maybeCoerceBoolean = (value: unknown): boolean | undefined => {
93
- if (value === undefined) {
93
+ if (value == null) {
94
94
  return undefined;
95
95
  }
96
96
  return coerceBoolean(value);
@@ -10,6 +10,23 @@ import { RequestOptions } from '../internal/request-options';
10
10
  import { path } from '../internal/utils/path';
11
11
 
12
12
  export class BusinessPartnerGroups extends APIResource {
13
+ /**
14
+ * A List of business partner groups
15
+ *
16
+ * - Requires: `API Tier 1`
17
+ * - Expandable fields: `default_business_partner`
18
+ * - Sortable fields: `id`, `created_at`, `updated_at`
19
+ */
20
+ list(
21
+ query: BusinessPartnerGroupListParams | null | undefined = {},
22
+ options?: RequestOptions,
23
+ ): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
24
+ return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
25
+ query,
26
+ ...options,
27
+ });
28
+ }
29
+
13
30
  /**
14
31
  * Create a new business partner group
15
32
  */
@@ -28,23 +45,6 @@ export class BusinessPartnerGroups extends APIResource {
28
45
  return this._client.get(path`/business-partner-groups/${id}`, { query, ...options });
29
46
  }
30
47
 
31
- /**
32
- * A List of business partner groups
33
- *
34
- * - Requires: `API Tier 1`
35
- * - Expandable fields: `default_business_partner`
36
- * - Sortable fields: `id`, `created_at`, `updated_at`
37
- */
38
- list(
39
- query: BusinessPartnerGroupListParams | null | undefined = {},
40
- options?: RequestOptions,
41
- ): PagePromise<BusinessPartnerGroupsPageCursorURL, BusinessPartnerGroup> {
42
- return this._client.getAPIList('/business-partner-groups', PageCursorURL<BusinessPartnerGroup>, {
43
- query,
44
- ...options,
45
- });
46
- }
47
-
48
48
  /**
49
49
  * Delete a business partner group
50
50
  */
@@ -106,6 +106,12 @@ export interface BusinessPartnerGroupRetrieveResponse
106
106
  extends BusinessPartnersAPI.Meta,
107
107
  BusinessPartnerGroup {}
108
108
 
109
+ export interface BusinessPartnerGroupListParams {
110
+ expand?: string;
111
+
112
+ order_by?: string;
113
+ }
114
+
109
115
  export interface BusinessPartnerGroupCreateParams {
110
116
  /**
111
117
  * Name used to identify business partner group
@@ -128,19 +134,13 @@ export interface BusinessPartnerGroupRetrieveParams {
128
134
  expand?: string;
129
135
  }
130
136
 
131
- export interface BusinessPartnerGroupListParams {
132
- expand?: string;
133
-
134
- order_by?: string;
135
- }
136
-
137
137
  export declare namespace BusinessPartnerGroups {
138
138
  export {
139
139
  type BusinessPartnerGroup as BusinessPartnerGroup,
140
140
  type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
141
141
  type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
142
+ type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
142
143
  type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
143
144
  type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
144
- type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
145
145
  };
146
146
  }