@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
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,
@@ -226,6 +234,8 @@ import {
226
234
  ObjectCategoryUpdateParams,
227
235
  } from './resources/object-categories';
228
236
  import {
237
+ ScheduleCreateParams,
238
+ ScheduleCreateResponse,
229
239
  ScheduleListParams,
230
240
  ScheduleListResponse,
231
241
  ScheduleListResponsesPageCursorURL,
@@ -521,17 +531,9 @@ export class RipplingSDK {
521
531
  }
522
532
 
523
533
  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
534
  return buildHeaders([{ Authorization: `Bearer ${this.bearerToken}` }]);
529
535
  }
530
536
 
531
- protected async oAuth2ProductionAuth(opts: FinalRequestOptions): Promise<NullableHeaders | undefined> {
532
- return undefined;
533
- }
534
-
535
537
  /**
536
538
  * Basic re-implementation of `qs.stringify` for primitive types.
537
539
  */
@@ -1055,15 +1057,11 @@ export class RipplingSDK {
1055
1057
 
1056
1058
  static toFile = Uploads.toFile;
1057
1059
 
1058
- candidates: API.Candidates = new API.Candidates(this);
1059
- candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
1060
1060
  companies: API.Companies = new API.Companies(this);
1061
1061
  compensations: API.Compensations = new API.Compensations(this);
1062
- customFields: API.CustomFields = new API.CustomFields(this);
1063
1062
  customObjects: API.CustomObjects = new API.CustomObjects(this);
1064
1063
  departments: API.Departments = new API.Departments(this);
1065
1064
  employmentTypes: API.EmploymentTypes = new API.EmploymentTypes(this);
1066
- entitlements: API.Entitlements = new API.Entitlements(this);
1067
1065
  jobCodes: API.JobCodes = new API.JobCodes(this);
1068
1066
  jobDimensions: API.JobDimensions = new API.JobDimensions(this);
1069
1067
  jobRequisitions: API.JobRequisitions = new API.JobRequisitions(this);
@@ -1089,23 +1087,25 @@ export class RipplingSDK {
1089
1087
  functions: API.Functions = new API.Functions(this);
1090
1088
  jobAssignments: API.JobAssignments = new API.JobAssignments(this);
1091
1089
  jobPayRateExceptions: API.JobPayRateExceptions = new API.JobPayRateExceptions(this);
1092
- schedules: API.Schedules = new API.Schedules(this);
1090
+ candidates: API.Candidates = new API.Candidates(this);
1091
+ candidateApplications: API.CandidateApplications = new API.CandidateApplications(this);
1092
+ customFields: API.CustomFields = new API.CustomFields(this);
1093
+ draftHires: API.DraftHires = new API.DraftHires(this);
1094
+ entitlements: API.Entitlements = new API.Entitlements(this);
1093
1095
  headcountPositions: API.HeadcountPositions = new API.HeadcountPositions(this);
1094
- shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1095
1096
  headcountPriorities: API.HeadcountPriorities = new API.HeadcountPriorities(this);
1096
1097
  jobFunctions: API.JobFunctions = new API.JobFunctions(this);
1098
+ leaveAccruals: API.LeaveAccruals = new API.LeaveAccruals(this);
1097
1099
  locationFactors: API.LocationFactors = new API.LocationFactors(this);
1100
+ schedules: API.Schedules = new API.Schedules(this);
1101
+ shiftassignments: API.Shiftassignments = new API.Shiftassignments(this);
1098
1102
  }
1099
1103
 
1100
- RipplingSDK.Candidates = Candidates;
1101
- RipplingSDK.CandidateApplications = CandidateApplications;
1102
1104
  RipplingSDK.Companies = Companies;
1103
1105
  RipplingSDK.Compensations = Compensations;
1104
- RipplingSDK.CustomFields = CustomFields;
1105
1106
  RipplingSDK.CustomObjects = CustomObjects;
1106
1107
  RipplingSDK.Departments = Departments;
1107
1108
  RipplingSDK.EmploymentTypes = EmploymentTypes;
1108
- RipplingSDK.Entitlements = Entitlements;
1109
1109
  RipplingSDK.JobCodes = JobCodes;
1110
1110
  RipplingSDK.JobDimensions = JobDimensions;
1111
1111
  RipplingSDK.JobRequisitions = JobRequisitions;
@@ -1131,12 +1131,18 @@ RipplingSDK.BusinessPartnerGroups = BusinessPartnerGroups;
1131
1131
  RipplingSDK.Functions = Functions;
1132
1132
  RipplingSDK.JobAssignments = JobAssignments;
1133
1133
  RipplingSDK.JobPayRateExceptions = JobPayRateExceptions;
1134
- RipplingSDK.Schedules = Schedules;
1134
+ RipplingSDK.Candidates = Candidates;
1135
+ RipplingSDK.CandidateApplications = CandidateApplications;
1136
+ RipplingSDK.CustomFields = CustomFields;
1137
+ RipplingSDK.DraftHires = DraftHires;
1138
+ RipplingSDK.Entitlements = Entitlements;
1135
1139
  RipplingSDK.HeadcountPositions = HeadcountPositions;
1136
- RipplingSDK.Shiftassignments = Shiftassignments;
1137
1140
  RipplingSDK.HeadcountPriorities = HeadcountPriorities;
1138
1141
  RipplingSDK.JobFunctions = JobFunctions;
1142
+ RipplingSDK.LeaveAccruals = LeaveAccruals;
1139
1143
  RipplingSDK.LocationFactors = LocationFactors;
1144
+ RipplingSDK.Schedules = Schedules;
1145
+ RipplingSDK.Shiftassignments = Shiftassignments;
1140
1146
 
1141
1147
  export declare namespace RipplingSDK {
1142
1148
  export type RequestOptions = Opts.RequestOptions;
@@ -1144,20 +1150,6 @@ export declare namespace RipplingSDK {
1144
1150
  export import PageCursorURL = Pagination.PageCursorURL;
1145
1151
  export { type PageCursorURLResponse as PageCursorURLResponse };
1146
1152
 
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
1153
  export {
1162
1154
  Companies as Companies,
1163
1155
  type Company as Company,
@@ -1170,15 +1162,8 @@ export declare namespace RipplingSDK {
1170
1162
  type Compensation as Compensation,
1171
1163
  type CompensationRetrieveResponse as CompensationRetrieveResponse,
1172
1164
  type CompensationsPageCursorURL as CompensationsPageCursorURL,
1173
- type CompensationRetrieveParams as CompensationRetrieveParams,
1174
1165
  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,
1166
+ type CompensationRetrieveParams as CompensationRetrieveParams,
1182
1167
  };
1183
1168
 
1184
1169
  export {
@@ -1194,8 +1179,8 @@ export declare namespace RipplingSDK {
1194
1179
  type Department as Department,
1195
1180
  type DepartmentRetrieveResponse as DepartmentRetrieveResponse,
1196
1181
  type DepartmentsPageCursorURL as DepartmentsPageCursorURL,
1197
- type DepartmentRetrieveParams as DepartmentRetrieveParams,
1198
1182
  type DepartmentListParams as DepartmentListParams,
1183
+ type DepartmentRetrieveParams as DepartmentRetrieveParams,
1199
1184
  };
1200
1185
 
1201
1186
  export {
@@ -1206,22 +1191,16 @@ export declare namespace RipplingSDK {
1206
1191
  type EmploymentTypeListParams as EmploymentTypeListParams,
1207
1192
  };
1208
1193
 
1209
- export {
1210
- Entitlements as Entitlements,
1211
- type EntitlementListResponse as EntitlementListResponse,
1212
- type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
1213
- };
1214
-
1215
1194
  export {
1216
1195
  JobCodes as JobCodes,
1217
1196
  type JobCode as JobCode,
1218
1197
  type JobCodeRequest as JobCodeRequest,
1219
1198
  type JobCodeRetrieveResponse as JobCodeRetrieveResponse,
1220
1199
  type JobCodesPageCursorURL as JobCodesPageCursorURL,
1200
+ type JobCodeListParams as JobCodeListParams,
1221
1201
  type JobCodeCreateParams as JobCodeCreateParams,
1222
1202
  type JobCodeRetrieveParams as JobCodeRetrieveParams,
1223
1203
  type JobCodeUpdateParams as JobCodeUpdateParams,
1224
- type JobCodeListParams as JobCodeListParams,
1225
1204
  type JobCodeListChangeLogParams as JobCodeListChangeLogParams,
1226
1205
  };
1227
1206
 
@@ -1231,9 +1210,9 @@ export declare namespace RipplingSDK {
1231
1210
  type JobDimensionRequest as JobDimensionRequest,
1232
1211
  type JobDimensionRetrieveResponse as JobDimensionRetrieveResponse,
1233
1212
  type JobDimensionsPageCursorURL as JobDimensionsPageCursorURL,
1213
+ type JobDimensionListParams as JobDimensionListParams,
1234
1214
  type JobDimensionCreateParams as JobDimensionCreateParams,
1235
1215
  type JobDimensionUpdateParams as JobDimensionUpdateParams,
1236
- type JobDimensionListParams as JobDimensionListParams,
1237
1216
  };
1238
1217
 
1239
1218
  export {
@@ -1246,15 +1225,15 @@ export declare namespace RipplingSDK {
1246
1225
  export {
1247
1226
  KioskBadges as KioskBadges,
1248
1227
  type TimeKioskBadge as TimeKioskBadge,
1228
+ type KioskBadgeListResponse as KioskBadgeListResponse,
1249
1229
  type KioskBadgeCreateResponse as KioskBadgeCreateResponse,
1250
1230
  type KioskBadgeRetrieveResponse as KioskBadgeRetrieveResponse,
1251
1231
  type KioskBadgeUpdateResponse as KioskBadgeUpdateResponse,
1252
- type KioskBadgeListResponse as KioskBadgeListResponse,
1253
1232
  type KioskBadgeListResponsesPageCursorURL as KioskBadgeListResponsesPageCursorURL,
1233
+ type KioskBadgeListParams as KioskBadgeListParams,
1254
1234
  type KioskBadgeCreateParams as KioskBadgeCreateParams,
1255
1235
  type KioskBadgeRetrieveParams as KioskBadgeRetrieveParams,
1256
1236
  type KioskBadgeUpdateParams as KioskBadgeUpdateParams,
1257
- type KioskBadgeListParams as KioskBadgeListParams,
1258
1237
  };
1259
1238
 
1260
1239
  export {
@@ -1262,22 +1241,22 @@ export declare namespace RipplingSDK {
1262
1241
  type LeaveBalance as LeaveBalance,
1263
1242
  type LeaveBalanceRetrieveResponse as LeaveBalanceRetrieveResponse,
1264
1243
  type LeaveBalancesPageCursorURL as LeaveBalancesPageCursorURL,
1265
- type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
1266
1244
  type LeaveBalanceListParams as LeaveBalanceListParams,
1245
+ type LeaveBalanceRetrieveParams as LeaveBalanceRetrieveParams,
1267
1246
  };
1268
1247
 
1269
1248
  export {
1270
1249
  LeaveRequests as LeaveRequests,
1271
1250
  type LeaveRequest as LeaveRequest,
1251
+ type LeaveRequestListResponse as LeaveRequestListResponse,
1272
1252
  type LeaveRequestCreateResponse as LeaveRequestCreateResponse,
1273
1253
  type LeaveRequestRetrieveResponse as LeaveRequestRetrieveResponse,
1274
1254
  type LeaveRequestUpdateResponse as LeaveRequestUpdateResponse,
1275
- type LeaveRequestListResponse as LeaveRequestListResponse,
1276
1255
  type LeaveRequestListResponsesPageCursorURL as LeaveRequestListResponsesPageCursorURL,
1256
+ type LeaveRequestListParams as LeaveRequestListParams,
1277
1257
  type LeaveRequestCreateParams as LeaveRequestCreateParams,
1278
1258
  type LeaveRequestRetrieveParams as LeaveRequestRetrieveParams,
1279
1259
  type LeaveRequestUpdateParams as LeaveRequestUpdateParams,
1280
- type LeaveRequestListParams as LeaveRequestListParams,
1281
1260
  };
1282
1261
 
1283
1262
  export {
@@ -1293,8 +1272,8 @@ export declare namespace RipplingSDK {
1293
1272
  type LegalEntity as LegalEntity,
1294
1273
  type LegalEntityRetrieveResponse as LegalEntityRetrieveResponse,
1295
1274
  type LegalEntitiesPageCursorURL as LegalEntitiesPageCursorURL,
1296
- type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
1297
1275
  type LegalEntityListParams as LegalEntityListParams,
1276
+ type LegalEntityRetrieveParams as LegalEntityRetrieveParams,
1298
1277
  };
1299
1278
 
1300
1279
  export {
@@ -1302,8 +1281,8 @@ export declare namespace RipplingSDK {
1302
1281
  type Level as Level,
1303
1282
  type LevelRetrieveResponse as LevelRetrieveResponse,
1304
1283
  type LevelsPageCursorURL as LevelsPageCursorURL,
1305
- type LevelRetrieveParams as LevelRetrieveParams,
1306
1284
  type LevelListParams as LevelListParams,
1285
+ type LevelRetrieveParams as LevelRetrieveParams,
1307
1286
  };
1308
1287
 
1309
1288
  export {
@@ -1317,15 +1296,15 @@ export declare namespace RipplingSDK {
1317
1296
  export {
1318
1297
  ShiftInputs as ShiftInputs,
1319
1298
  type ShiftInput as ShiftInput,
1299
+ type ShiftInputListResponse as ShiftInputListResponse,
1320
1300
  type ShiftInputCreateResponse as ShiftInputCreateResponse,
1321
1301
  type ShiftInputRetrieveResponse as ShiftInputRetrieveResponse,
1322
1302
  type ShiftInputUpdateResponse as ShiftInputUpdateResponse,
1323
- type ShiftInputListResponse as ShiftInputListResponse,
1324
1303
  type ShiftInputListResponsesPageCursorURL as ShiftInputListResponsesPageCursorURL,
1304
+ type ShiftInputListParams as ShiftInputListParams,
1325
1305
  type ShiftInputCreateParams as ShiftInputCreateParams,
1326
1306
  type ShiftInputRetrieveParams as ShiftInputRetrieveParams,
1327
1307
  type ShiftInputUpdateParams as ShiftInputUpdateParams,
1328
- type ShiftInputListParams as ShiftInputListParams,
1329
1308
  };
1330
1309
 
1331
1310
  export {
@@ -1347,8 +1326,8 @@ export declare namespace RipplingSDK {
1347
1326
  type Team as Team,
1348
1327
  type TeamRetrieveResponse as TeamRetrieveResponse,
1349
1328
  type TeamsPageCursorURL as TeamsPageCursorURL,
1350
- type TeamRetrieveParams as TeamRetrieveParams,
1351
1329
  type TeamListParams as TeamListParams,
1330
+ type TeamRetrieveParams as TeamRetrieveParams,
1352
1331
  };
1353
1332
 
1354
1333
  export {
@@ -1357,22 +1336,22 @@ export declare namespace RipplingSDK {
1357
1336
  type TimeCard as TimeCard,
1358
1337
  type TimeCardRetrieveResponse as TimeCardRetrieveResponse,
1359
1338
  type TimeCardsPageCursorURL as TimeCardsPageCursorURL,
1360
- type TimeCardRetrieveParams as TimeCardRetrieveParams,
1361
1339
  type TimeCardListParams as TimeCardListParams,
1340
+ type TimeCardRetrieveParams as TimeCardRetrieveParams,
1362
1341
  };
1363
1342
 
1364
1343
  export {
1365
1344
  TimeEntries as TimeEntries,
1366
1345
  type TimeEntry as TimeEntry,
1346
+ type TimeEntryListResponse as TimeEntryListResponse,
1367
1347
  type TimeEntryCreateResponse as TimeEntryCreateResponse,
1368
1348
  type TimeEntryRetrieveResponse as TimeEntryRetrieveResponse,
1369
1349
  type TimeEntryUpdateResponse as TimeEntryUpdateResponse,
1370
- type TimeEntryListResponse as TimeEntryListResponse,
1371
1350
  type TimeEntryListResponsesPageCursorURL as TimeEntryListResponsesPageCursorURL,
1351
+ type TimeEntryListParams as TimeEntryListParams,
1372
1352
  type TimeEntryCreateParams as TimeEntryCreateParams,
1373
1353
  type TimeEntryRetrieveParams as TimeEntryRetrieveParams,
1374
1354
  type TimeEntryUpdateParams as TimeEntryUpdateParams,
1375
- type TimeEntryListParams as TimeEntryListParams,
1376
1355
  };
1377
1356
 
1378
1357
  export {
@@ -1404,8 +1383,8 @@ export declare namespace RipplingSDK {
1404
1383
  type Worker as Worker,
1405
1384
  type WorkerRetrieveResponse as WorkerRetrieveResponse,
1406
1385
  type WorkersPageCursorURL as WorkersPageCursorURL,
1407
- type WorkerRetrieveParams as WorkerRetrieveParams,
1408
1386
  type WorkerListParams as WorkerListParams,
1387
+ type WorkerRetrieveParams as WorkerRetrieveParams,
1409
1388
  };
1410
1389
 
1411
1390
  export {
@@ -1414,9 +1393,9 @@ export declare namespace RipplingSDK {
1414
1393
  type Meta as Meta,
1415
1394
  type BusinessPartnerRetrieveResponse as BusinessPartnerRetrieveResponse,
1416
1395
  type BusinessPartnersPageCursorURL as BusinessPartnersPageCursorURL,
1396
+ type BusinessPartnerListParams as BusinessPartnerListParams,
1417
1397
  type BusinessPartnerCreateParams as BusinessPartnerCreateParams,
1418
1398
  type BusinessPartnerRetrieveParams as BusinessPartnerRetrieveParams,
1419
- type BusinessPartnerListParams as BusinessPartnerListParams,
1420
1399
  };
1421
1400
 
1422
1401
  export {
@@ -1424,9 +1403,9 @@ export declare namespace RipplingSDK {
1424
1403
  type BusinessPartnerGroup as BusinessPartnerGroup,
1425
1404
  type BusinessPartnerGroupRetrieveResponse as BusinessPartnerGroupRetrieveResponse,
1426
1405
  type BusinessPartnerGroupsPageCursorURL as BusinessPartnerGroupsPageCursorURL,
1406
+ type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
1427
1407
  type BusinessPartnerGroupCreateParams as BusinessPartnerGroupCreateParams,
1428
1408
  type BusinessPartnerGroupRetrieveParams as BusinessPartnerGroupRetrieveParams,
1429
- type BusinessPartnerGroupListParams as BusinessPartnerGroupListParams,
1430
1409
  };
1431
1410
 
1432
1411
  export {
@@ -1434,9 +1413,9 @@ export declare namespace RipplingSDK {
1434
1413
  type Function as Function,
1435
1414
  type FunctionCreateDevBundleResponse as FunctionCreateDevBundleResponse,
1436
1415
  type FunctionsPageCursorURL as FunctionsPageCursorURL,
1416
+ type FunctionListParams as FunctionListParams,
1437
1417
  type FunctionCreateParams as FunctionCreateParams,
1438
1418
  type FunctionUpdateParams as FunctionUpdateParams,
1439
- type FunctionListParams as FunctionListParams,
1440
1419
  };
1441
1420
 
1442
1421
  export {
@@ -1446,8 +1425,8 @@ export declare namespace RipplingSDK {
1446
1425
  type JobAssignmentRetrieveResponse as JobAssignmentRetrieveResponse,
1447
1426
  type JobAssignmentsPageCursorURL as JobAssignmentsPageCursorURL,
1448
1427
  type AttributeChangeDetailsPageCursorURL as AttributeChangeDetailsPageCursorURL,
1449
- type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
1450
1428
  type JobAssignmentListParams as JobAssignmentListParams,
1429
+ type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
1451
1430
  type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
1452
1431
  };
1453
1432
 
@@ -1456,62 +1435,105 @@ export declare namespace RipplingSDK {
1456
1435
  type JobPayRateException as JobPayRateException,
1457
1436
  type JobPayRateExceptionRetrieveResponse as JobPayRateExceptionRetrieveResponse,
1458
1437
  type JobPayRateExceptionsPageCursorURL as JobPayRateExceptionsPageCursorURL,
1459
- type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
1460
1438
  type JobPayRateExceptionListParams as JobPayRateExceptionListParams,
1439
+ type JobPayRateExceptionRetrieveParams as JobPayRateExceptionRetrieveParams,
1461
1440
  type JobPayRateExceptionListChangeLogParams as JobPayRateExceptionListChangeLogParams,
1462
1441
  };
1463
1442
 
1464
1443
  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,
1444
+ Candidates as Candidates,
1445
+ type CandidateListResponse as CandidateListResponse,
1446
+ type CandidateListResponsesPageCursorURL as CandidateListResponsesPageCursorURL,
1447
+ type CandidateListParams as CandidateListParams,
1448
+ };
1449
+
1450
+ export {
1451
+ CandidateApplications as CandidateApplications,
1452
+ type CandidateApplicationListResponse as CandidateApplicationListResponse,
1453
+ type CandidateApplicationListResponsesPageCursorURL as CandidateApplicationListResponsesPageCursorURL,
1454
+ type CandidateApplicationListParams as CandidateApplicationListParams,
1455
+ };
1456
+
1457
+ export {
1458
+ CustomFields as CustomFields,
1459
+ type CustomFieldListResponse as CustomFieldListResponse,
1460
+ type CustomFieldListResponsesPageCursorURL as CustomFieldListResponsesPageCursorURL,
1461
+ type CustomFieldListParams as CustomFieldListParams,
1462
+ };
1463
+
1464
+ export {
1465
+ DraftHires as DraftHires,
1466
+ type DraftHireCreateResponse as DraftHireCreateResponse,
1467
+ type DraftHireCreateParams as DraftHireCreateParams,
1468
+ };
1469
+
1470
+ export {
1471
+ Entitlements as Entitlements,
1472
+ type EntitlementListResponse as EntitlementListResponse,
1473
+ type EntitlementListResponsesPageCursorURL as EntitlementListResponsesPageCursorURL,
1471
1474
  };
1472
1475
 
1473
1476
  export {
1474
1477
  HeadcountPositions as HeadcountPositions,
1475
- type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1476
1478
  type HeadcountPositionListResponse as HeadcountPositionListResponse,
1479
+ type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1477
1480
  type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
1478
- type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1479
1481
  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,
1482
+ type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1489
1483
  };
1490
1484
 
1491
1485
  export {
1492
1486
  HeadcountPriorities as HeadcountPriorities,
1493
- type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
1494
1487
  type HeadcountPriorityListResponse as HeadcountPriorityListResponse,
1488
+ type HeadcountPriorityRetrieveResponse as HeadcountPriorityRetrieveResponse,
1495
1489
  type HeadcountPriorityListResponsesPageCursorURL as HeadcountPriorityListResponsesPageCursorURL,
1496
1490
  type HeadcountPriorityListParams as HeadcountPriorityListParams,
1497
1491
  };
1498
1492
 
1499
1493
  export {
1500
1494
  JobFunctions as JobFunctions,
1501
- type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
1502
1495
  type JobFunctionListResponse as JobFunctionListResponse,
1496
+ type JobFunctionRetrieveResponse as JobFunctionRetrieveResponse,
1503
1497
  type JobFunctionListResponsesPageCursorURL as JobFunctionListResponsesPageCursorURL,
1504
1498
  type JobFunctionListParams as JobFunctionListParams,
1505
1499
  };
1506
1500
 
1501
+ export {
1502
+ LeaveAccruals as LeaveAccruals,
1503
+ type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
1504
+ type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
1505
+ type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
1506
+ type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
1507
+ };
1508
+
1507
1509
  export {
1508
1510
  LocationFactors as LocationFactors,
1509
- type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
1510
1511
  type LocationFactorListResponse as LocationFactorListResponse,
1512
+ type LocationFactorRetrieveResponse as LocationFactorRetrieveResponse,
1511
1513
  type LocationFactorListResponsesPageCursorURL as LocationFactorListResponsesPageCursorURL,
1512
1514
  type LocationFactorListParams as LocationFactorListParams,
1513
1515
  };
1514
1516
 
1517
+ export {
1518
+ Schedules as Schedules,
1519
+ type ScheduleListResponse as ScheduleListResponse,
1520
+ type ScheduleCreateResponse as ScheduleCreateResponse,
1521
+ type ScheduleRetrieveResponse as ScheduleRetrieveResponse,
1522
+ type ScheduleListResponsesPageCursorURL as ScheduleListResponsesPageCursorURL,
1523
+ type ScheduleListParams as ScheduleListParams,
1524
+ type ScheduleCreateParams as ScheduleCreateParams,
1525
+ type ScheduleRetrieveParams as ScheduleRetrieveParams,
1526
+ };
1527
+
1528
+ export {
1529
+ Shiftassignments as Shiftassignments,
1530
+ type ShiftassignmentListResponse as ShiftassignmentListResponse,
1531
+ type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse,
1532
+ type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL,
1533
+ type ShiftassignmentListParams as ShiftassignmentListParams,
1534
+ type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams,
1535
+ };
1536
+
1515
1537
  export type Address = API.Address;
1516
1538
  export type CountryCode = API.CountryCode;
1517
1539
  export type RedactedFields = API.RedactedFields;
@@ -73,7 +73,7 @@ export type ToFileInput =
73
73
 
74
74
  /**
75
75
  * Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
76
- * @param value the raw content of the file. Can be an {@link Uploadable}, {@link BlobLikePart}, or {@link AsyncIterable} of {@link BlobLikePart}s
76
+ * @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
77
77
  * @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
78
78
  * @param {Object=} options additional properties
79
79
  * @param {string=} options.type the MIME type of the content
@@ -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
  }