@rippling/rippling-sdk 0.2.0-alpha.26 → 0.2.0-alpha.28

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 (672) hide show
  1. package/client.d.mts +195 -5
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +195 -5
  4. package/client.d.ts.map +1 -1
  5. package/client.js +215 -20
  6. package/client.js.map +1 -1
  7. package/client.mjs +215 -20
  8. package/client.mjs.map +1 -1
  9. package/internal/parse.d.mts.map +1 -1
  10. package/internal/parse.d.ts.map +1 -1
  11. package/internal/parse.js +5 -0
  12. package/internal/parse.js.map +1 -1
  13. package/internal/parse.mjs +5 -0
  14. package/internal/parse.mjs.map +1 -1
  15. package/internal/utils/query.d.mts +5 -0
  16. package/internal/utils/query.d.mts.map +1 -0
  17. package/internal/utils/query.d.ts +5 -0
  18. package/internal/utils/query.d.ts.map +1 -0
  19. package/internal/utils/query.js +23 -0
  20. package/internal/utils/query.js.map +1 -0
  21. package/internal/utils/query.mjs +20 -0
  22. package/internal/utils/query.mjs.map +1 -0
  23. package/internal/utils.d.mts +1 -0
  24. package/internal/utils.d.ts +1 -0
  25. package/internal/utils.js +1 -0
  26. package/internal/utils.js.map +1 -1
  27. package/internal/utils.mjs +1 -0
  28. package/package.json +12 -1
  29. package/resources/business-partner-groups.d.mts +3 -0
  30. package/resources/business-partner-groups.d.mts.map +1 -1
  31. package/resources/business-partner-groups.d.ts +3 -0
  32. package/resources/business-partner-groups.d.ts.map +1 -1
  33. package/resources/business-partner-groups.js +7 -4
  34. package/resources/business-partner-groups.js.map +1 -1
  35. package/resources/business-partner-groups.mjs +7 -4
  36. package/resources/business-partner-groups.mjs.map +1 -1
  37. package/resources/business-partners.d.mts +3 -0
  38. package/resources/business-partners.d.mts.map +1 -1
  39. package/resources/business-partners.d.ts +3 -0
  40. package/resources/business-partners.d.ts.map +1 -1
  41. package/resources/business-partners.js +7 -4
  42. package/resources/business-partners.js.map +1 -1
  43. package/resources/business-partners.mjs +7 -4
  44. package/resources/business-partners.mjs.map +1 -1
  45. package/resources/candidate-applications.d.mts +3 -0
  46. package/resources/candidate-applications.d.mts.map +1 -1
  47. package/resources/candidate-applications.d.ts +3 -0
  48. package/resources/candidate-applications.d.ts.map +1 -1
  49. package/resources/candidate-applications.js +4 -1
  50. package/resources/candidate-applications.js.map +1 -1
  51. package/resources/candidate-applications.mjs +4 -1
  52. package/resources/candidate-applications.mjs.map +1 -1
  53. package/resources/candidates.d.mts +3 -0
  54. package/resources/candidates.d.mts.map +1 -1
  55. package/resources/candidates.d.ts +3 -0
  56. package/resources/candidates.d.ts.map +1 -1
  57. package/resources/candidates.js +4 -1
  58. package/resources/candidates.js.map +1 -1
  59. package/resources/candidates.mjs +4 -1
  60. package/resources/candidates.mjs.map +1 -1
  61. package/resources/companies.d.mts +3 -0
  62. package/resources/companies.d.mts.map +1 -1
  63. package/resources/companies.d.ts +3 -0
  64. package/resources/companies.d.ts.map +1 -1
  65. package/resources/companies.js +4 -1
  66. package/resources/companies.js.map +1 -1
  67. package/resources/companies.mjs +4 -1
  68. package/resources/companies.mjs.map +1 -1
  69. package/resources/compensation-bands-details.d.mts +3 -0
  70. package/resources/compensation-bands-details.d.mts.map +1 -1
  71. package/resources/compensation-bands-details.d.ts +3 -0
  72. package/resources/compensation-bands-details.d.ts.map +1 -1
  73. package/resources/compensation-bands-details.js +5 -2
  74. package/resources/compensation-bands-details.js.map +1 -1
  75. package/resources/compensation-bands-details.mjs +5 -2
  76. package/resources/compensation-bands-details.mjs.map +1 -1
  77. package/resources/compensations.d.mts +3 -0
  78. package/resources/compensations.d.mts.map +1 -1
  79. package/resources/compensations.d.ts +3 -0
  80. package/resources/compensations.d.ts.map +1 -1
  81. package/resources/compensations.js +5 -2
  82. package/resources/compensations.js.map +1 -1
  83. package/resources/compensations.mjs +5 -2
  84. package/resources/compensations.mjs.map +1 -1
  85. package/resources/create-app-notification.d.mts +29 -0
  86. package/resources/create-app-notification.d.mts.map +1 -0
  87. package/resources/create-app-notification.d.ts +29 -0
  88. package/resources/create-app-notification.d.ts.map +1 -0
  89. package/resources/create-app-notification.js +18 -0
  90. package/resources/create-app-notification.js.map +1 -0
  91. package/resources/create-app-notification.mjs +14 -0
  92. package/resources/create-app-notification.mjs.map +1 -0
  93. package/resources/custom-apps.d.mts +341 -0
  94. package/resources/custom-apps.d.mts.map +1 -0
  95. package/resources/custom-apps.d.ts +341 -0
  96. package/resources/custom-apps.d.ts.map +1 -0
  97. package/resources/custom-apps.js +47 -0
  98. package/resources/custom-apps.js.map +1 -0
  99. package/resources/custom-apps.mjs +43 -0
  100. package/resources/custom-apps.mjs.map +1 -0
  101. package/resources/custom-fields.d.mts +3 -0
  102. package/resources/custom-fields.d.mts.map +1 -1
  103. package/resources/custom-fields.d.ts +3 -0
  104. package/resources/custom-fields.d.ts.map +1 -1
  105. package/resources/custom-fields.js +4 -1
  106. package/resources/custom-fields.js.map +1 -1
  107. package/resources/custom-fields.mjs +4 -1
  108. package/resources/custom-fields.mjs.map +1 -1
  109. package/resources/custom-objects/custom-objects.d.mts +3 -0
  110. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  111. package/resources/custom-objects/custom-objects.d.ts +3 -0
  112. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  113. package/resources/custom-objects/custom-objects.js +3 -0
  114. package/resources/custom-objects/custom-objects.js.map +1 -1
  115. package/resources/custom-objects/custom-objects.mjs +3 -0
  116. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  117. package/resources/custom-objects/fields.d.mts +3 -0
  118. package/resources/custom-objects/fields.d.mts.map +1 -1
  119. package/resources/custom-objects/fields.d.ts +3 -0
  120. package/resources/custom-objects/fields.d.ts.map +1 -1
  121. package/resources/custom-objects/fields.js +3 -0
  122. package/resources/custom-objects/fields.js.map +1 -1
  123. package/resources/custom-objects/fields.mjs +3 -0
  124. package/resources/custom-objects/fields.mjs.map +1 -1
  125. package/resources/custom-objects/records.d.mts +3 -0
  126. package/resources/custom-objects/records.d.mts.map +1 -1
  127. package/resources/custom-objects/records.d.ts +3 -0
  128. package/resources/custom-objects/records.d.ts.map +1 -1
  129. package/resources/custom-objects/records.js +3 -0
  130. package/resources/custom-objects/records.js.map +1 -1
  131. package/resources/custom-objects/records.mjs +3 -0
  132. package/resources/custom-objects/records.mjs.map +1 -1
  133. package/resources/custom-pages.d.mts +177 -0
  134. package/resources/custom-pages.d.mts.map +1 -0
  135. package/resources/custom-pages.d.ts +177 -0
  136. package/resources/custom-pages.d.ts.map +1 -0
  137. package/resources/custom-pages.js +47 -0
  138. package/resources/custom-pages.js.map +1 -0
  139. package/resources/custom-pages.mjs +43 -0
  140. package/resources/custom-pages.mjs.map +1 -0
  141. package/resources/custom-settings.js +5 -5
  142. package/resources/custom-settings.js.map +1 -1
  143. package/resources/custom-settings.mjs +5 -5
  144. package/resources/custom-settings.mjs.map +1 -1
  145. package/resources/departments.d.mts +3 -0
  146. package/resources/departments.d.mts.map +1 -1
  147. package/resources/departments.d.ts +3 -0
  148. package/resources/departments.d.ts.map +1 -1
  149. package/resources/departments.js +7 -4
  150. package/resources/departments.js.map +1 -1
  151. package/resources/departments.mjs +7 -4
  152. package/resources/departments.mjs.map +1 -1
  153. package/resources/draft-hires.d.mts +3 -0
  154. package/resources/draft-hires.d.mts.map +1 -1
  155. package/resources/draft-hires.d.ts +3 -0
  156. package/resources/draft-hires.d.ts.map +1 -1
  157. package/resources/draft-hires.js +3 -0
  158. package/resources/draft-hires.js.map +1 -1
  159. package/resources/draft-hires.mjs +3 -0
  160. package/resources/draft-hires.mjs.map +1 -1
  161. package/resources/employment-types.d.mts +3 -0
  162. package/resources/employment-types.d.mts.map +1 -1
  163. package/resources/employment-types.d.ts +3 -0
  164. package/resources/employment-types.d.ts.map +1 -1
  165. package/resources/employment-types.js +5 -2
  166. package/resources/employment-types.js.map +1 -1
  167. package/resources/employment-types.mjs +5 -2
  168. package/resources/employment-types.mjs.map +1 -1
  169. package/resources/entitlements.d.mts +3 -0
  170. package/resources/entitlements.d.mts.map +1 -1
  171. package/resources/entitlements.d.ts +3 -0
  172. package/resources/entitlements.d.ts.map +1 -1
  173. package/resources/entitlements.js +4 -1
  174. package/resources/entitlements.js.map +1 -1
  175. package/resources/entitlements.mjs +4 -1
  176. package/resources/entitlements.mjs.map +1 -1
  177. package/resources/functions/deployments.d.mts +3 -0
  178. package/resources/functions/deployments.d.mts.map +1 -1
  179. package/resources/functions/deployments.d.ts +3 -0
  180. package/resources/functions/deployments.d.ts.map +1 -1
  181. package/resources/functions/deployments.js +3 -0
  182. package/resources/functions/deployments.js.map +1 -1
  183. package/resources/functions/deployments.mjs +3 -0
  184. package/resources/functions/deployments.mjs.map +1 -1
  185. package/resources/functions/executions.d.mts +3 -0
  186. package/resources/functions/executions.d.mts.map +1 -1
  187. package/resources/functions/executions.d.ts +3 -0
  188. package/resources/functions/executions.d.ts.map +1 -1
  189. package/resources/functions/executions.js +3 -0
  190. package/resources/functions/executions.js.map +1 -1
  191. package/resources/functions/executions.mjs +3 -0
  192. package/resources/functions/executions.mjs.map +1 -1
  193. package/resources/functions/functions.d.mts +15 -0
  194. package/resources/functions/functions.d.mts.map +1 -1
  195. package/resources/functions/functions.d.ts +15 -0
  196. package/resources/functions/functions.d.ts.map +1 -1
  197. package/resources/functions/functions.js +3 -0
  198. package/resources/functions/functions.js.map +1 -1
  199. package/resources/functions/functions.mjs +3 -0
  200. package/resources/functions/functions.mjs.map +1 -1
  201. package/resources/headcount-positions.d.mts +3 -0
  202. package/resources/headcount-positions.d.mts.map +1 -1
  203. package/resources/headcount-positions.d.ts +3 -0
  204. package/resources/headcount-positions.d.ts.map +1 -1
  205. package/resources/headcount-positions.js +5 -2
  206. package/resources/headcount-positions.js.map +1 -1
  207. package/resources/headcount-positions.mjs +5 -2
  208. package/resources/headcount-positions.mjs.map +1 -1
  209. package/resources/headcount-priorities.d.mts +3 -0
  210. package/resources/headcount-priorities.d.mts.map +1 -1
  211. package/resources/headcount-priorities.d.ts +3 -0
  212. package/resources/headcount-priorities.d.ts.map +1 -1
  213. package/resources/headcount-priorities.js +5 -2
  214. package/resources/headcount-priorities.js.map +1 -1
  215. package/resources/headcount-priorities.mjs +5 -2
  216. package/resources/headcount-priorities.mjs.map +1 -1
  217. package/resources/index.d.mts +9 -1
  218. package/resources/index.d.mts.map +1 -1
  219. package/resources/index.d.ts +9 -1
  220. package/resources/index.d.ts.map +1 -1
  221. package/resources/index.js +18 -1
  222. package/resources/index.js.map +1 -1
  223. package/resources/index.mjs +8 -0
  224. package/resources/index.mjs.map +1 -1
  225. package/resources/job-assignments.d.mts +3 -0
  226. package/resources/job-assignments.d.mts.map +1 -1
  227. package/resources/job-assignments.d.ts +3 -0
  228. package/resources/job-assignments.d.ts.map +1 -1
  229. package/resources/job-assignments.js +9 -6
  230. package/resources/job-assignments.js.map +1 -1
  231. package/resources/job-assignments.mjs +9 -6
  232. package/resources/job-assignments.mjs.map +1 -1
  233. package/resources/job-codes.d.mts +3 -0
  234. package/resources/job-codes.d.mts.map +1 -1
  235. package/resources/job-codes.d.ts +3 -0
  236. package/resources/job-codes.d.ts.map +1 -1
  237. package/resources/job-codes.js +9 -6
  238. package/resources/job-codes.js.map +1 -1
  239. package/resources/job-codes.mjs +9 -6
  240. package/resources/job-codes.mjs.map +1 -1
  241. package/resources/job-dimensions.d.mts +3 -0
  242. package/resources/job-dimensions.d.mts.map +1 -1
  243. package/resources/job-dimensions.d.ts +3 -0
  244. package/resources/job-dimensions.d.ts.map +1 -1
  245. package/resources/job-dimensions.js +8 -5
  246. package/resources/job-dimensions.js.map +1 -1
  247. package/resources/job-dimensions.mjs +8 -5
  248. package/resources/job-dimensions.mjs.map +1 -1
  249. package/resources/job-functions.d.mts +3 -0
  250. package/resources/job-functions.d.mts.map +1 -1
  251. package/resources/job-functions.d.ts +3 -0
  252. package/resources/job-functions.d.ts.map +1 -1
  253. package/resources/job-functions.js +5 -2
  254. package/resources/job-functions.js.map +1 -1
  255. package/resources/job-functions.mjs +5 -2
  256. package/resources/job-functions.mjs.map +1 -1
  257. package/resources/job-pay-rate-exceptions.d.mts +3 -0
  258. package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
  259. package/resources/job-pay-rate-exceptions.d.ts +3 -0
  260. package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
  261. package/resources/job-pay-rate-exceptions.js +6 -3
  262. package/resources/job-pay-rate-exceptions.js.map +1 -1
  263. package/resources/job-pay-rate-exceptions.mjs +6 -3
  264. package/resources/job-pay-rate-exceptions.mjs.map +1 -1
  265. package/resources/job-requisitions-write.d.mts +3 -0
  266. package/resources/job-requisitions-write.d.mts.map +1 -1
  267. package/resources/job-requisitions-write.d.ts +3 -0
  268. package/resources/job-requisitions-write.d.ts.map +1 -1
  269. package/resources/job-requisitions-write.js +4 -1
  270. package/resources/job-requisitions-write.js.map +1 -1
  271. package/resources/job-requisitions-write.mjs +4 -1
  272. package/resources/job-requisitions-write.mjs.map +1 -1
  273. package/resources/job-requisitions.d.mts +3 -0
  274. package/resources/job-requisitions.d.mts.map +1 -1
  275. package/resources/job-requisitions.d.ts +3 -0
  276. package/resources/job-requisitions.d.ts.map +1 -1
  277. package/resources/job-requisitions.js +7 -1
  278. package/resources/job-requisitions.js.map +1 -1
  279. package/resources/job-requisitions.mjs +7 -1
  280. package/resources/job-requisitions.mjs.map +1 -1
  281. package/resources/kiosk-badges.d.mts +3 -0
  282. package/resources/kiosk-badges.d.mts.map +1 -1
  283. package/resources/kiosk-badges.d.ts +3 -0
  284. package/resources/kiosk-badges.d.ts.map +1 -1
  285. package/resources/kiosk-badges.js +8 -5
  286. package/resources/kiosk-badges.js.map +1 -1
  287. package/resources/kiosk-badges.mjs +8 -5
  288. package/resources/kiosk-badges.mjs.map +1 -1
  289. package/resources/leave-accruals.d.mts +7 -4
  290. package/resources/leave-accruals.d.mts.map +1 -1
  291. package/resources/leave-accruals.d.ts +7 -4
  292. package/resources/leave-accruals.d.ts.map +1 -1
  293. package/resources/leave-accruals.js +6 -3
  294. package/resources/leave-accruals.js.map +1 -1
  295. package/resources/leave-accruals.mjs +6 -3
  296. package/resources/leave-accruals.mjs.map +1 -1
  297. package/resources/leave-balances.d.mts +3 -0
  298. package/resources/leave-balances.d.mts.map +1 -1
  299. package/resources/leave-balances.d.ts +3 -0
  300. package/resources/leave-balances.d.ts.map +1 -1
  301. package/resources/leave-balances.js +5 -2
  302. package/resources/leave-balances.js.map +1 -1
  303. package/resources/leave-balances.mjs +5 -2
  304. package/resources/leave-balances.mjs.map +1 -1
  305. package/resources/leave-requests.d.mts +3 -0
  306. package/resources/leave-requests.d.mts.map +1 -1
  307. package/resources/leave-requests.d.ts +3 -0
  308. package/resources/leave-requests.d.ts.map +1 -1
  309. package/resources/leave-requests.js +7 -4
  310. package/resources/leave-requests.js.map +1 -1
  311. package/resources/leave-requests.mjs +7 -4
  312. package/resources/leave-requests.mjs.map +1 -1
  313. package/resources/leave-types.d.mts +3 -0
  314. package/resources/leave-types.d.mts.map +1 -1
  315. package/resources/leave-types.d.ts +3 -0
  316. package/resources/leave-types.d.ts.map +1 -1
  317. package/resources/leave-types.js +5 -2
  318. package/resources/leave-types.js.map +1 -1
  319. package/resources/leave-types.mjs +5 -2
  320. package/resources/leave-types.mjs.map +1 -1
  321. package/resources/legal-entities.d.mts +3 -0
  322. package/resources/legal-entities.d.mts.map +1 -1
  323. package/resources/legal-entities.d.ts +3 -0
  324. package/resources/legal-entities.d.ts.map +1 -1
  325. package/resources/legal-entities.js +5 -2
  326. package/resources/legal-entities.js.map +1 -1
  327. package/resources/legal-entities.mjs +5 -2
  328. package/resources/legal-entities.mjs.map +1 -1
  329. package/resources/levels.d.mts +3 -0
  330. package/resources/levels.d.mts.map +1 -1
  331. package/resources/levels.d.ts +3 -0
  332. package/resources/levels.d.ts.map +1 -1
  333. package/resources/levels.js +5 -2
  334. package/resources/levels.js.map +1 -1
  335. package/resources/levels.mjs +5 -2
  336. package/resources/levels.mjs.map +1 -1
  337. package/resources/location-factors.d.mts +3 -0
  338. package/resources/location-factors.d.mts.map +1 -1
  339. package/resources/location-factors.d.ts +3 -0
  340. package/resources/location-factors.d.ts.map +1 -1
  341. package/resources/location-factors.js +5 -2
  342. package/resources/location-factors.js.map +1 -1
  343. package/resources/location-factors.mjs +5 -2
  344. package/resources/location-factors.mjs.map +1 -1
  345. package/resources/metadata/components.d.mts +28 -0
  346. package/resources/metadata/components.d.mts.map +1 -0
  347. package/resources/metadata/components.d.ts +28 -0
  348. package/resources/metadata/components.d.ts.map +1 -0
  349. package/resources/metadata/components.js +21 -0
  350. package/resources/metadata/components.js.map +1 -0
  351. package/resources/metadata/components.mjs +17 -0
  352. package/resources/metadata/components.mjs.map +1 -0
  353. package/resources/metadata/index.d.mts +5 -0
  354. package/resources/metadata/index.d.mts.map +1 -0
  355. package/resources/metadata/index.d.ts +5 -0
  356. package/resources/metadata/index.d.ts.map +1 -0
  357. package/resources/metadata/index.js +13 -0
  358. package/resources/metadata/index.js.map +1 -0
  359. package/resources/metadata/index.mjs +6 -0
  360. package/resources/metadata/index.mjs.map +1 -0
  361. package/resources/metadata/metadata.d.mts +40 -0
  362. package/resources/metadata/metadata.d.mts.map +1 -0
  363. package/resources/metadata/metadata.d.ts +40 -0
  364. package/resources/metadata/metadata.d.ts.map +1 -0
  365. package/resources/metadata/metadata.js +37 -0
  366. package/resources/metadata/metadata.js.map +1 -0
  367. package/resources/metadata/metadata.mjs +32 -0
  368. package/resources/metadata/metadata.mjs.map +1 -0
  369. package/resources/metadata/summary.d.mts +28 -0
  370. package/resources/metadata/summary.d.mts.map +1 -0
  371. package/resources/metadata/summary.d.ts +28 -0
  372. package/resources/metadata/summary.d.ts.map +1 -0
  373. package/resources/metadata/summary.js +21 -0
  374. package/resources/metadata/summary.js.map +1 -0
  375. package/resources/metadata/summary.mjs +17 -0
  376. package/resources/metadata/summary.mjs.map +1 -0
  377. package/resources/metadata/types.d.mts +28 -0
  378. package/resources/metadata/types.d.mts.map +1 -0
  379. package/resources/metadata/types.d.ts +28 -0
  380. package/resources/metadata/types.d.ts.map +1 -0
  381. package/resources/metadata/types.js +21 -0
  382. package/resources/metadata/types.js.map +1 -0
  383. package/resources/metadata/types.mjs +17 -0
  384. package/resources/metadata/types.mjs.map +1 -0
  385. package/resources/metadata.d.mts +2 -0
  386. package/resources/metadata.d.mts.map +1 -0
  387. package/resources/metadata.d.ts +2 -0
  388. package/resources/metadata.d.ts.map +1 -0
  389. package/resources/metadata.js +6 -0
  390. package/resources/metadata.js.map +1 -0
  391. package/resources/metadata.mjs +3 -0
  392. package/resources/metadata.mjs.map +1 -0
  393. package/resources/object-categories.d.mts +3 -0
  394. package/resources/object-categories.d.mts.map +1 -1
  395. package/resources/object-categories.d.ts +3 -0
  396. package/resources/object-categories.d.ts.map +1 -1
  397. package/resources/object-categories.js +3 -0
  398. package/resources/object-categories.js.map +1 -1
  399. package/resources/object-categories.mjs +3 -0
  400. package/resources/object-categories.mjs.map +1 -1
  401. package/resources/platform-capabilities.d.mts +25 -0
  402. package/resources/platform-capabilities.d.mts.map +1 -0
  403. package/resources/platform-capabilities.d.ts +25 -0
  404. package/resources/platform-capabilities.d.ts.map +1 -0
  405. package/resources/platform-capabilities.js +21 -0
  406. package/resources/platform-capabilities.js.map +1 -0
  407. package/resources/platform-capabilities.mjs +17 -0
  408. package/resources/platform-capabilities.mjs.map +1 -0
  409. package/resources/report-runs.d.mts +21 -12
  410. package/resources/report-runs.d.mts.map +1 -1
  411. package/resources/report-runs.d.ts +21 -12
  412. package/resources/report-runs.d.ts.map +1 -1
  413. package/resources/report-runs.js +5 -2
  414. package/resources/report-runs.js.map +1 -1
  415. package/resources/report-runs.mjs +5 -2
  416. package/resources/report-runs.mjs.map +1 -1
  417. package/resources/run-query.d.mts +39 -0
  418. package/resources/run-query.d.mts.map +1 -0
  419. package/resources/run-query.d.ts +39 -0
  420. package/resources/run-query.d.ts.map +1 -0
  421. package/resources/run-query.js +21 -0
  422. package/resources/run-query.js.map +1 -0
  423. package/resources/run-query.mjs +17 -0
  424. package/resources/run-query.mjs.map +1 -0
  425. package/resources/schedules.d.mts +3 -0
  426. package/resources/schedules.d.mts.map +1 -1
  427. package/resources/schedules.d.ts +3 -0
  428. package/resources/schedules.d.ts.map +1 -1
  429. package/resources/schedules.js +7 -4
  430. package/resources/schedules.js.map +1 -1
  431. package/resources/schedules.mjs +7 -4
  432. package/resources/schedules.mjs.map +1 -1
  433. package/resources/send-email.d.mts +33 -0
  434. package/resources/send-email.d.mts.map +1 -0
  435. package/resources/send-email.d.ts +33 -0
  436. package/resources/send-email.d.ts.map +1 -0
  437. package/resources/send-email.js +18 -0
  438. package/resources/send-email.js.map +1 -0
  439. package/resources/send-email.mjs +14 -0
  440. package/resources/send-email.mjs.map +1 -0
  441. package/resources/send-slack.d.mts +30 -0
  442. package/resources/send-slack.d.mts.map +1 -0
  443. package/resources/send-slack.d.ts +30 -0
  444. package/resources/send-slack.d.ts.map +1 -0
  445. package/resources/send-slack.js +18 -0
  446. package/resources/send-slack.js.map +1 -0
  447. package/resources/send-slack.mjs +14 -0
  448. package/resources/send-slack.mjs.map +1 -0
  449. package/resources/shift-assignments.d.mts +3 -0
  450. package/resources/shift-assignments.d.mts.map +1 -1
  451. package/resources/shift-assignments.d.ts +3 -0
  452. package/resources/shift-assignments.d.ts.map +1 -1
  453. package/resources/shift-assignments.js +4 -1
  454. package/resources/shift-assignments.js.map +1 -1
  455. package/resources/shift-assignments.mjs +4 -1
  456. package/resources/shift-assignments.mjs.map +1 -1
  457. package/resources/shift-inputs.d.mts +3 -0
  458. package/resources/shift-inputs.d.mts.map +1 -1
  459. package/resources/shift-inputs.d.ts +3 -0
  460. package/resources/shift-inputs.d.ts.map +1 -1
  461. package/resources/shift-inputs.js +8 -5
  462. package/resources/shift-inputs.js.map +1 -1
  463. package/resources/shift-inputs.mjs +8 -5
  464. package/resources/shift-inputs.mjs.map +1 -1
  465. package/resources/shiftassignments.d.mts +3 -0
  466. package/resources/shiftassignments.d.mts.map +1 -1
  467. package/resources/shiftassignments.d.ts +3 -0
  468. package/resources/shiftassignments.d.ts.map +1 -1
  469. package/resources/shiftassignments.js +7 -4
  470. package/resources/shiftassignments.js.map +1 -1
  471. package/resources/shiftassignments.mjs +7 -4
  472. package/resources/shiftassignments.mjs.map +1 -1
  473. package/resources/sso-me.d.mts +6 -3
  474. package/resources/sso-me.d.mts.map +1 -1
  475. package/resources/sso-me.d.ts +6 -3
  476. package/resources/sso-me.d.ts.map +1 -1
  477. package/resources/sso-me.js +5 -2
  478. package/resources/sso-me.js.map +1 -1
  479. package/resources/sso-me.mjs +5 -2
  480. package/resources/sso-me.mjs.map +1 -1
  481. package/resources/supergroups/exclusion-members.d.mts +3 -0
  482. package/resources/supergroups/exclusion-members.d.mts.map +1 -1
  483. package/resources/supergroups/exclusion-members.d.ts +3 -0
  484. package/resources/supergroups/exclusion-members.d.ts.map +1 -1
  485. package/resources/supergroups/exclusion-members.js +5 -2
  486. package/resources/supergroups/exclusion-members.js.map +1 -1
  487. package/resources/supergroups/exclusion-members.mjs +5 -2
  488. package/resources/supergroups/exclusion-members.mjs.map +1 -1
  489. package/resources/supergroups/inclusion-members.d.mts +3 -0
  490. package/resources/supergroups/inclusion-members.d.mts.map +1 -1
  491. package/resources/supergroups/inclusion-members.d.ts +3 -0
  492. package/resources/supergroups/inclusion-members.d.ts.map +1 -1
  493. package/resources/supergroups/inclusion-members.js +5 -2
  494. package/resources/supergroups/inclusion-members.js.map +1 -1
  495. package/resources/supergroups/inclusion-members.mjs +5 -2
  496. package/resources/supergroups/inclusion-members.mjs.map +1 -1
  497. package/resources/supergroups/members.d.mts +3 -0
  498. package/resources/supergroups/members.d.mts.map +1 -1
  499. package/resources/supergroups/members.d.ts +3 -0
  500. package/resources/supergroups/members.d.ts.map +1 -1
  501. package/resources/supergroups/members.js +4 -4
  502. package/resources/supergroups/members.js.map +1 -1
  503. package/resources/supergroups/members.mjs +4 -4
  504. package/resources/supergroups/members.mjs.map +1 -1
  505. package/resources/supergroups/supergroups.d.mts +3 -0
  506. package/resources/supergroups/supergroups.d.mts.map +1 -1
  507. package/resources/supergroups/supergroups.d.ts +3 -0
  508. package/resources/supergroups/supergroups.d.ts.map +1 -1
  509. package/resources/supergroups/supergroups.js +5 -2
  510. package/resources/supergroups/supergroups.js.map +1 -1
  511. package/resources/supergroups/supergroups.mjs +5 -2
  512. package/resources/supergroups/supergroups.mjs.map +1 -1
  513. package/resources/teams.d.mts +3 -0
  514. package/resources/teams.d.mts.map +1 -1
  515. package/resources/teams.d.ts +3 -0
  516. package/resources/teams.d.ts.map +1 -1
  517. package/resources/teams.js +5 -2
  518. package/resources/teams.js.map +1 -1
  519. package/resources/teams.mjs +5 -2
  520. package/resources/teams.mjs.map +1 -1
  521. package/resources/time-cards.d.mts +3 -0
  522. package/resources/time-cards.d.mts.map +1 -1
  523. package/resources/time-cards.d.ts +3 -0
  524. package/resources/time-cards.d.ts.map +1 -1
  525. package/resources/time-cards.js +5 -2
  526. package/resources/time-cards.js.map +1 -1
  527. package/resources/time-cards.mjs +5 -2
  528. package/resources/time-cards.mjs.map +1 -1
  529. package/resources/time-entries.d.mts +5 -1
  530. package/resources/time-entries.d.mts.map +1 -1
  531. package/resources/time-entries.d.ts +5 -1
  532. package/resources/time-entries.d.ts.map +1 -1
  533. package/resources/time-entries.js +10 -6
  534. package/resources/time-entries.js.map +1 -1
  535. package/resources/time-entries.mjs +10 -6
  536. package/resources/time-entries.mjs.map +1 -1
  537. package/resources/titles.d.mts +3 -0
  538. package/resources/titles.d.mts.map +1 -1
  539. package/resources/titles.d.ts +3 -0
  540. package/resources/titles.d.ts.map +1 -1
  541. package/resources/titles.js +8 -5
  542. package/resources/titles.js.map +1 -1
  543. package/resources/titles.mjs +8 -5
  544. package/resources/titles.mjs.map +1 -1
  545. package/resources/tracks.d.mts +3 -0
  546. package/resources/tracks.d.mts.map +1 -1
  547. package/resources/tracks.d.ts +3 -0
  548. package/resources/tracks.d.ts.map +1 -1
  549. package/resources/tracks.js +5 -2
  550. package/resources/tracks.js.map +1 -1
  551. package/resources/tracks.mjs +5 -2
  552. package/resources/tracks.mjs.map +1 -1
  553. package/resources/unassigned-shifts.d.mts +3 -0
  554. package/resources/unassigned-shifts.d.mts.map +1 -1
  555. package/resources/unassigned-shifts.d.ts +3 -0
  556. package/resources/unassigned-shifts.d.ts.map +1 -1
  557. package/resources/unassigned-shifts.js +5 -2
  558. package/resources/unassigned-shifts.js.map +1 -1
  559. package/resources/unassigned-shifts.mjs +5 -2
  560. package/resources/unassigned-shifts.mjs.map +1 -1
  561. package/resources/unassignedshifts.d.mts +3 -0
  562. package/resources/unassignedshifts.d.mts.map +1 -1
  563. package/resources/unassignedshifts.d.ts +3 -0
  564. package/resources/unassignedshifts.d.ts.map +1 -1
  565. package/resources/unassignedshifts.js +7 -4
  566. package/resources/unassignedshifts.js.map +1 -1
  567. package/resources/unassignedshifts.mjs +7 -4
  568. package/resources/unassignedshifts.mjs.map +1 -1
  569. package/resources/users.d.mts +3 -0
  570. package/resources/users.d.mts.map +1 -1
  571. package/resources/users.d.ts +3 -0
  572. package/resources/users.d.ts.map +1 -1
  573. package/resources/users.js +5 -2
  574. package/resources/users.js.map +1 -1
  575. package/resources/users.mjs +5 -2
  576. package/resources/users.mjs.map +1 -1
  577. package/resources/work-locations.d.mts +7 -0
  578. package/resources/work-locations.d.mts.map +1 -1
  579. package/resources/work-locations.d.ts +7 -0
  580. package/resources/work-locations.d.ts.map +1 -1
  581. package/resources/work-locations.js +17 -4
  582. package/resources/work-locations.js.map +1 -1
  583. package/resources/work-locations.mjs +17 -4
  584. package/resources/work-locations.mjs.map +1 -1
  585. package/resources/workers.d.mts +11 -4
  586. package/resources/workers.d.mts.map +1 -1
  587. package/resources/workers.d.ts +11 -4
  588. package/resources/workers.d.ts.map +1 -1
  589. package/resources/workers.js +5 -2
  590. package/resources/workers.js.map +1 -1
  591. package/resources/workers.mjs +5 -2
  592. package/resources/workers.mjs.map +1 -1
  593. package/src/client.ts +315 -33
  594. package/src/internal/parse.ts +6 -0
  595. package/src/internal/utils/query.ts +23 -0
  596. package/src/internal/utils.ts +1 -0
  597. package/src/resources/business-partner-groups.ts +7 -4
  598. package/src/resources/business-partners.ts +7 -4
  599. package/src/resources/candidate-applications.ts +4 -1
  600. package/src/resources/candidates.ts +4 -1
  601. package/src/resources/companies.ts +4 -1
  602. package/src/resources/compensation-bands-details.ts +5 -2
  603. package/src/resources/compensations.ts +5 -2
  604. package/src/resources/create-app-notification.ts +46 -0
  605. package/src/resources/custom-apps.ts +442 -0
  606. package/src/resources/custom-fields.ts +4 -1
  607. package/src/resources/custom-objects/custom-objects.ts +3 -0
  608. package/src/resources/custom-objects/fields.ts +3 -0
  609. package/src/resources/custom-objects/records.ts +3 -0
  610. package/src/resources/custom-pages.ts +247 -0
  611. package/src/resources/custom-settings.ts +5 -5
  612. package/src/resources/departments.ts +7 -4
  613. package/src/resources/draft-hires.ts +3 -0
  614. package/src/resources/employment-types.ts +5 -2
  615. package/src/resources/entitlements.ts +4 -1
  616. package/src/resources/functions/deployments.ts +3 -0
  617. package/src/resources/functions/executions.ts +3 -0
  618. package/src/resources/functions/functions.ts +18 -0
  619. package/src/resources/headcount-positions.ts +5 -2
  620. package/src/resources/headcount-priorities.ts +5 -2
  621. package/src/resources/index.ts +39 -1
  622. package/src/resources/job-assignments.ts +9 -6
  623. package/src/resources/job-codes.ts +9 -6
  624. package/src/resources/job-dimensions.ts +8 -5
  625. package/src/resources/job-functions.ts +5 -2
  626. package/src/resources/job-pay-rate-exceptions.ts +6 -3
  627. package/src/resources/job-requisitions-write.ts +4 -1
  628. package/src/resources/job-requisitions.ts +7 -1
  629. package/src/resources/kiosk-badges.ts +8 -5
  630. package/src/resources/leave-accruals.ts +14 -7
  631. package/src/resources/leave-balances.ts +5 -2
  632. package/src/resources/leave-requests.ts +7 -4
  633. package/src/resources/leave-types.ts +5 -2
  634. package/src/resources/legal-entities.ts +5 -2
  635. package/src/resources/levels.ts +5 -2
  636. package/src/resources/location-factors.ts +5 -2
  637. package/src/resources/metadata/components.ts +38 -0
  638. package/src/resources/metadata/index.ts +10 -0
  639. package/src/resources/metadata/metadata.ts +70 -0
  640. package/src/resources/metadata/summary.ts +38 -0
  641. package/src/resources/metadata/types.ts +38 -0
  642. package/src/resources/metadata.ts +3 -0
  643. package/src/resources/object-categories.ts +3 -0
  644. package/src/resources/platform-capabilities.ts +41 -0
  645. package/src/resources/report-runs.ts +24 -14
  646. package/src/resources/run-query.ts +51 -0
  647. package/src/resources/schedules.ts +7 -4
  648. package/src/resources/send-email.ts +48 -0
  649. package/src/resources/send-slack.ts +42 -0
  650. package/src/resources/shift-assignments.ts +4 -1
  651. package/src/resources/shift-inputs.ts +8 -5
  652. package/src/resources/shiftassignments.ts +7 -4
  653. package/src/resources/sso-me.ts +7 -4
  654. package/src/resources/supergroups/exclusion-members.ts +5 -2
  655. package/src/resources/supergroups/inclusion-members.ts +5 -2
  656. package/src/resources/supergroups/members.ts +8 -4
  657. package/src/resources/supergroups/supergroups.ts +5 -2
  658. package/src/resources/teams.ts +5 -2
  659. package/src/resources/time-cards.ts +5 -2
  660. package/src/resources/time-entries.ts +10 -6
  661. package/src/resources/titles.ts +8 -5
  662. package/src/resources/tracks.ts +5 -2
  663. package/src/resources/unassigned-shifts.ts +5 -2
  664. package/src/resources/unassignedshifts.ts +7 -4
  665. package/src/resources/users.ts +5 -2
  666. package/src/resources/work-locations.ts +18 -4
  667. package/src/resources/workers.ts +13 -5
  668. package/src/version.ts +1 -1
  669. package/version.d.mts +1 -1
  670. package/version.d.ts +1 -1
  671. package/version.js +1 -1
  672. package/version.mjs +1 -1
@@ -15,6 +15,9 @@ import { buildHeaders } from '../internal/headers';
15
15
  import { RequestOptions } from '../internal/request-options';
16
16
  import { path } from '../internal/utils/path';
17
17
 
18
+ /**
19
+ * Job related information for the company
20
+ */
18
21
  export class JobCodes extends APIResource {
19
22
  /**
20
23
  * A List of job codes
@@ -29,14 +32,14 @@ export class JobCodes extends APIResource {
29
32
  query: JobCodeListParams | null | undefined = {},
30
33
  options?: RequestOptions,
31
34
  ): PagePromise<JobCodesPageCursorURL, JobCode> {
32
- return this._client.getAPIList('/job-codes', PageCursorURL<JobCode>, { query, ...options });
35
+ return this._client.getAPIList('/job-codes/', PageCursorURL<JobCode>, { query, ...options });
33
36
  }
34
37
 
35
38
  /**
36
39
  * Create a new job code
37
40
  */
38
41
  create(body: JobCodeCreateParams, options?: RequestOptions): APIPromise<JobCode> {
39
- return this._client.post('/job-codes', { body, ...options });
42
+ return this._client.post('/job-codes/', { body, ...options });
40
43
  }
41
44
 
42
45
  /**
@@ -47,21 +50,21 @@ export class JobCodes extends APIResource {
47
50
  query: JobCodeRetrieveParams | null | undefined = {},
48
51
  options?: RequestOptions,
49
52
  ): APIPromise<JobCodeRetrieveResponse> {
50
- return this._client.get(path`/job-codes/${id}`, { query, ...options });
53
+ return this._client.get(path`/job-codes/${id}/`, { query, ...options });
51
54
  }
52
55
 
53
56
  /**
54
57
  * Updated a specific job code
55
58
  */
56
59
  update(id: string, body: JobCodeUpdateParams, options?: RequestOptions): APIPromise<JobCode> {
57
- return this._client.patch(path`/job-codes/${id}`, { body, ...options });
60
+ return this._client.patch(path`/job-codes/${id}/`, { body, ...options });
58
61
  }
59
62
 
60
63
  /**
61
64
  * Delete a job code
62
65
  */
63
66
  delete(id: string, options?: RequestOptions): APIPromise<void> {
64
- return this._client.delete(path`/job-codes/${id}`, {
67
+ return this._client.delete(path`/job-codes/${id}/`, {
65
68
  ...options,
66
69
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
67
70
  });
@@ -80,7 +83,7 @@ export class JobCodes extends APIResource {
80
83
  options?: RequestOptions,
81
84
  ): PagePromise<AttributeChangeDetailsPageCursorURL, JobAssignmentsAPI.AttributeChangeDetails> {
82
85
  return this._client.getAPIList(
83
- path`/job-codes/${jobCodeID}/change-log`,
86
+ path`/job-codes/${jobCodeID}/change-log/`,
84
87
  PageCursorURL<JobAssignmentsAPI.AttributeChangeDetails>,
85
88
  { query, ...options },
86
89
  );
@@ -8,6 +8,9 @@ import { buildHeaders } from '../internal/headers';
8
8
  import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
+ /**
12
+ * Job related information for the company
13
+ */
11
14
  export class JobDimensions extends APIResource {
12
15
  /**
13
16
  * A List of job dimensions
@@ -20,35 +23,35 @@ export class JobDimensions extends APIResource {
20
23
  query: JobDimensionListParams | null | undefined = {},
21
24
  options?: RequestOptions,
22
25
  ): PagePromise<JobDimensionsPageCursorURL, JobDimension> {
23
- return this._client.getAPIList('/job-dimensions', PageCursorURL<JobDimension>, { query, ...options });
26
+ return this._client.getAPIList('/job-dimensions/', PageCursorURL<JobDimension>, { query, ...options });
24
27
  }
25
28
 
26
29
  /**
27
30
  * Create a new job dimension
28
31
  */
29
32
  create(body: JobDimensionCreateParams, options?: RequestOptions): APIPromise<JobDimension> {
30
- return this._client.post('/job-dimensions', { body, ...options });
33
+ return this._client.post('/job-dimensions/', { body, ...options });
31
34
  }
32
35
 
33
36
  /**
34
37
  * Retrieve a specific job dimension
35
38
  */
36
39
  retrieve(id: string, options?: RequestOptions): APIPromise<JobDimensionRetrieveResponse> {
37
- return this._client.get(path`/job-dimensions/${id}`, options);
40
+ return this._client.get(path`/job-dimensions/${id}/`, options);
38
41
  }
39
42
 
40
43
  /**
41
44
  * Updated a specific job dimension
42
45
  */
43
46
  update(id: string, body: JobDimensionUpdateParams, options?: RequestOptions): APIPromise<JobDimension> {
44
- return this._client.patch(path`/job-dimensions/${id}`, { body, ...options });
47
+ return this._client.patch(path`/job-dimensions/${id}/`, { body, ...options });
45
48
  }
46
49
 
47
50
  /**
48
51
  * Delete a job dimension
49
52
  */
50
53
  delete(id: string, options?: RequestOptions): APIPromise<void> {
51
- return this._client.delete(path`/job-dimensions/${id}`, {
54
+ return this._client.delete(path`/job-dimensions/${id}/`, {
52
55
  ...options,
53
56
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
54
57
  });
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
7
7
  import { RequestOptions } from '../internal/request-options';
8
8
  import { path } from '../internal/utils/path';
9
9
 
10
+ /**
11
+ * Organizational job categories that group similar roles and responsibilities within a company
12
+ */
10
13
  export class JobFunctions extends APIResource {
11
14
  /**
12
15
  * A List of job functions
@@ -18,7 +21,7 @@ export class JobFunctions extends APIResource {
18
21
  query: JobFunctionListParams | null | undefined = {},
19
22
  options?: RequestOptions,
20
23
  ): PagePromise<JobFunctionListResponsesPageCursorURL, JobFunctionListResponse> {
21
- return this._client.getAPIList('/job-functions', PageCursorURL<JobFunctionListResponse>, {
24
+ return this._client.getAPIList('/job-functions/', PageCursorURL<JobFunctionListResponse>, {
22
25
  query,
23
26
  ...options,
24
27
  });
@@ -28,7 +31,7 @@ export class JobFunctions extends APIResource {
28
31
  * Retrieve a specific job function
29
32
  */
30
33
  retrieve(id: string, options?: RequestOptions): APIPromise<JobFunctionRetrieveResponse> {
31
- return this._client.get(path`/job-functions/${id}`, options);
34
+ return this._client.get(path`/job-functions/${id}/`, options);
32
35
  }
33
36
  }
34
37
 
@@ -10,6 +10,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
10
10
  import { RequestOptions } from '../internal/request-options';
11
11
  import { path } from '../internal/utils/path';
12
12
 
13
+ /**
14
+ * Job related information for the company
15
+ */
13
16
  export class JobPayRateExceptions extends APIResource {
14
17
  /**
15
18
  * A List of job pay rate exceptions
@@ -23,7 +26,7 @@ export class JobPayRateExceptions extends APIResource {
23
26
  query: JobPayRateExceptionListParams | null | undefined = {},
24
27
  options?: RequestOptions,
25
28
  ): PagePromise<JobPayRateExceptionsPageCursorURL, JobPayRateException> {
26
- return this._client.getAPIList('/job-pay-rate-exceptions', PageCursorURL<JobPayRateException>, {
29
+ return this._client.getAPIList('/job-pay-rate-exceptions/', PageCursorURL<JobPayRateException>, {
27
30
  query,
28
31
  ...options,
29
32
  });
@@ -37,7 +40,7 @@ export class JobPayRateExceptions extends APIResource {
37
40
  query: JobPayRateExceptionRetrieveParams | null | undefined = {},
38
41
  options?: RequestOptions,
39
42
  ): APIPromise<JobPayRateExceptionRetrieveResponse> {
40
- return this._client.get(path`/job-pay-rate-exceptions/${id}`, { query, ...options });
43
+ return this._client.get(path`/job-pay-rate-exceptions/${id}/`, { query, ...options });
41
44
  }
42
45
 
43
46
  /**
@@ -53,7 +56,7 @@ export class JobPayRateExceptions extends APIResource {
53
56
  options?: RequestOptions,
54
57
  ): PagePromise<AttributeChangeDetailsPageCursorURL, JobAssignmentsAPI.AttributeChangeDetails> {
55
58
  return this._client.getAPIList(
56
- path`/job-pay-rate-exceptions/${jobPayRateExceptionID}/change-log`,
59
+ path`/job-pay-rate-exceptions/${jobPayRateExceptionID}/change-log/`,
57
60
  PageCursorURL<JobAssignmentsAPI.AttributeChangeDetails>,
58
61
  { query, ...options },
59
62
  );
@@ -4,6 +4,9 @@ import { APIResource } from '../core/resource';
4
4
  import { APIPromise } from '../core/api-promise';
5
5
  import { RequestOptions } from '../internal/request-options';
6
6
 
7
+ /**
8
+ * A request for a job to be filled by a candidate
9
+ */
7
10
  export class JobRequisitionsWrite extends APIResource {
8
11
  /**
9
12
  * Create a new job requisition
@@ -12,7 +15,7 @@ export class JobRequisitionsWrite extends APIResource {
12
15
  body: JobRequisitionsWriteCreateParams,
13
16
  options?: RequestOptions,
14
17
  ): APIPromise<JobRequisitionsWriteCreateResponse> {
15
- return this._client.post('/job-requisitions-write', { body, ...options });
18
+ return this._client.post('/job-requisitions-write/', { body, ...options });
16
19
  }
17
20
  }
18
21
 
@@ -4,6 +4,9 @@ import { APIResource } from '../core/resource';
4
4
  import { PageCursorURL, PagePromise } from '../core/pagination';
5
5
  import { RequestOptions } from '../internal/request-options';
6
6
 
7
+ /**
8
+ * A request for a job to be filled by a candidate
9
+ */
7
10
  export class JobRequisitions extends APIResource {
8
11
  /**
9
12
  * A List of job requisitions
@@ -15,7 +18,10 @@ export class JobRequisitions extends APIResource {
15
18
  query: JobRequisitionListParams | null | undefined = {},
16
19
  options?: RequestOptions,
17
20
  ): PagePromise<JobRequisitionsPageCursorURL, JobRequisition> {
18
- return this._client.getAPIList('/job-requisitions', PageCursorURL<JobRequisition>, { query, ...options });
21
+ return this._client.getAPIList('/job-requisitions/', PageCursorURL<JobRequisition>, {
22
+ query,
23
+ ...options,
24
+ });
19
25
  }
20
26
  }
21
27
 
@@ -9,6 +9,9 @@ import { buildHeaders } from '../internal/headers';
9
9
  import { RequestOptions } from '../internal/request-options';
10
10
  import { path } from '../internal/utils/path';
11
11
 
12
+ /**
13
+ * Badge information used with Timeclock Kiosk
14
+ */
12
15
  export class KioskBadges extends APIResource {
13
16
  /**
14
17
  * A List of kiosk badges
@@ -22,7 +25,7 @@ export class KioskBadges extends APIResource {
22
25
  query: KioskBadgeListParams | null | undefined = {},
23
26
  options?: RequestOptions,
24
27
  ): PagePromise<KioskBadgeListResponsesPageCursorURL, KioskBadgeListResponse> {
25
- return this._client.getAPIList('/kiosk-badges', PageCursorURL<KioskBadgeListResponse>, {
28
+ return this._client.getAPIList('/kiosk-badges/', PageCursorURL<KioskBadgeListResponse>, {
26
29
  query,
27
30
  ...options,
28
31
  });
@@ -32,7 +35,7 @@ export class KioskBadges extends APIResource {
32
35
  * Create a new kiosk badge
33
36
  */
34
37
  create(body: KioskBadgeCreateParams, options?: RequestOptions): APIPromise<KioskBadgeCreateResponse> {
35
- return this._client.post('/kiosk-badges', { body, ...options });
38
+ return this._client.post('/kiosk-badges/', { body, ...options });
36
39
  }
37
40
 
38
41
  /**
@@ -43,7 +46,7 @@ export class KioskBadges extends APIResource {
43
46
  query: KioskBadgeRetrieveParams | null | undefined = {},
44
47
  options?: RequestOptions,
45
48
  ): APIPromise<KioskBadgeRetrieveResponse> {
46
- return this._client.get(path`/kiosk-badges/${id}`, { query, ...options });
49
+ return this._client.get(path`/kiosk-badges/${id}/`, { query, ...options });
47
50
  }
48
51
 
49
52
  /**
@@ -54,14 +57,14 @@ export class KioskBadges extends APIResource {
54
57
  body: KioskBadgeUpdateParams,
55
58
  options?: RequestOptions,
56
59
  ): APIPromise<KioskBadgeUpdateResponse> {
57
- return this._client.patch(path`/kiosk-badges/${id}`, { body, ...options });
60
+ return this._client.patch(path`/kiosk-badges/${id}/`, { body, ...options });
58
61
  }
59
62
 
60
63
  /**
61
64
  * Delete a kiosk badge
62
65
  */
63
66
  delete(id: string, options?: RequestOptions): APIPromise<void> {
64
- return this._client.delete(path`/kiosk-badges/${id}`, {
67
+ return this._client.delete(path`/kiosk-badges/${id}/`, {
65
68
  ...options,
66
69
  headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
67
70
  });
@@ -8,6 +8,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
8
8
  import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
+ /**
12
+ * Leave accruals for workers
13
+ */
11
14
  export class LeaveAccruals extends APIResource {
12
15
  /**
13
16
  * A List of leave accruals
@@ -22,7 +25,7 @@ export class LeaveAccruals extends APIResource {
22
25
  query: LeaveAccrualListParams | null | undefined = {},
23
26
  options?: RequestOptions,
24
27
  ): PagePromise<LeaveAccrualListResponsesPageCursorURL, LeaveAccrualListResponse> {
25
- return this._client.getAPIList('/leave-accruals', PageCursorURL<LeaveAccrualListResponse>, {
28
+ return this._client.getAPIList('/leave-accruals/', PageCursorURL<LeaveAccrualListResponse>, {
26
29
  query,
27
30
  ...options,
28
31
  });
@@ -32,7 +35,7 @@ export class LeaveAccruals extends APIResource {
32
35
  * Create a new leave accrual
33
36
  */
34
37
  create(body: LeaveAccrualCreateParams, options?: RequestOptions): APIPromise<LeaveAccrualCreateResponse> {
35
- return this._client.post('/leave-accruals', { body, ...options });
38
+ return this._client.post('/leave-accruals/', { body, ...options });
36
39
  }
37
40
 
38
41
  /**
@@ -43,7 +46,7 @@ export class LeaveAccruals extends APIResource {
43
46
  query: LeaveAccrualRetrieveParams | null | undefined = {},
44
47
  options?: RequestOptions,
45
48
  ): APIPromise<LeaveAccrualRetrieveResponse> {
46
- return this._client.get(path`/leave-accruals/${id}`, { query, ...options });
49
+ return this._client.get(path`/leave-accruals/${id}/`, { query, ...options });
47
50
  }
48
51
  }
49
52
 
@@ -114,7 +117,8 @@ export interface LeaveAccrualListResponse {
114
117
  | 'CARRYOVER_PENALTY_PAYOUT'
115
118
  | 'RESET_PENALTY_PAYOUT'
116
119
  | 'HOLIDAY_ADJUSTMENT'
117
- | 'HOURS_WORKED_TANDA';
120
+ | 'HOURS_WORKED_TANDA'
121
+ | 'TENURE_MILESTONE';
118
122
 
119
123
  /**
120
124
  * The comment for this accrual. This is required if the leave policy requires a
@@ -224,7 +228,8 @@ export interface LeaveAccrualCreateResponse {
224
228
  | 'CARRYOVER_PENALTY_PAYOUT'
225
229
  | 'RESET_PENALTY_PAYOUT'
226
230
  | 'HOLIDAY_ADJUSTMENT'
227
- | 'HOURS_WORKED_TANDA';
231
+ | 'HOURS_WORKED_TANDA'
232
+ | 'TENURE_MILESTONE';
228
233
 
229
234
  /**
230
235
  * The comment for this accrual. This is required if the leave policy requires a
@@ -331,7 +336,8 @@ export interface LeaveAccrualRetrieveResponse extends BusinessPartnersAPI.Meta {
331
336
  | 'CARRYOVER_PENALTY_PAYOUT'
332
337
  | 'RESET_PENALTY_PAYOUT'
333
338
  | 'HOLIDAY_ADJUSTMENT'
334
- | 'HOURS_WORKED_TANDA';
339
+ | 'HOURS_WORKED_TANDA'
340
+ | 'TENURE_MILESTONE';
335
341
 
336
342
  /**
337
343
  * The comment for this accrual. This is required if the leave policy requires a
@@ -430,7 +436,8 @@ export interface LeaveAccrualCreateParams {
430
436
  | 'CARRYOVER_PENALTY_PAYOUT'
431
437
  | 'RESET_PENALTY_PAYOUT'
432
438
  | 'HOLIDAY_ADJUSTMENT'
433
- | 'HOURS_WORKED_TANDA';
439
+ | 'HOURS_WORKED_TANDA'
440
+ | 'TENURE_MILESTONE';
434
441
 
435
442
  /**
436
443
  * The comment for this accrual. This is required if the leave policy requires a
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
9
9
  import { RequestOptions } from '../internal/request-options';
10
10
  import { path } from '../internal/utils/path';
11
11
 
12
+ /**
13
+ * Leave balances for workers
14
+ */
12
15
  export class LeaveBalances extends APIResource {
13
16
  /**
14
17
  * A List of leave balances
@@ -22,7 +25,7 @@ export class LeaveBalances extends APIResource {
22
25
  query: LeaveBalanceListParams | null | undefined = {},
23
26
  options?: RequestOptions,
24
27
  ): PagePromise<LeaveBalancesPageCursorURL, LeaveBalance> {
25
- return this._client.getAPIList('/leave-balances', PageCursorURL<LeaveBalance>, { query, ...options });
28
+ return this._client.getAPIList('/leave-balances/', PageCursorURL<LeaveBalance>, { query, ...options });
26
29
  }
27
30
 
28
31
  /**
@@ -33,7 +36,7 @@ export class LeaveBalances extends APIResource {
33
36
  query: LeaveBalanceRetrieveParams | null | undefined = {},
34
37
  options?: RequestOptions,
35
38
  ): APIPromise<LeaveBalanceRetrieveResponse> {
36
- return this._client.get(path`/leave-balances/${id}`, { query, ...options });
39
+ return this._client.get(path`/leave-balances/${id}/`, { query, ...options });
37
40
  }
38
41
  }
39
42
 
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
9
9
  import { RequestOptions } from '../internal/request-options';
10
10
  import { path } from '../internal/utils/path';
11
11
 
12
+ /**
13
+ * Leave requests submitted by workers
14
+ */
12
15
  export class LeaveRequests extends APIResource {
13
16
  /**
14
17
  * A List of leave requests
@@ -23,7 +26,7 @@ export class LeaveRequests extends APIResource {
23
26
  query: LeaveRequestListParams | null | undefined = {},
24
27
  options?: RequestOptions,
25
28
  ): PagePromise<LeaveRequestListResponsesPageCursorURL, LeaveRequestListResponse> {
26
- return this._client.getAPIList('/leave-requests', PageCursorURL<LeaveRequestListResponse>, {
29
+ return this._client.getAPIList('/leave-requests/', PageCursorURL<LeaveRequestListResponse>, {
27
30
  query,
28
31
  ...options,
29
32
  });
@@ -33,7 +36,7 @@ export class LeaveRequests extends APIResource {
33
36
  * Create a new leave request
34
37
  */
35
38
  create(body: LeaveRequestCreateParams, options?: RequestOptions): APIPromise<LeaveRequestCreateResponse> {
36
- return this._client.post('/leave-requests', { body, ...options });
39
+ return this._client.post('/leave-requests/', { body, ...options });
37
40
  }
38
41
 
39
42
  /**
@@ -44,7 +47,7 @@ export class LeaveRequests extends APIResource {
44
47
  query: LeaveRequestRetrieveParams | null | undefined = {},
45
48
  options?: RequestOptions,
46
49
  ): APIPromise<LeaveRequestRetrieveResponse> {
47
- return this._client.get(path`/leave-requests/${id}`, { query, ...options });
50
+ return this._client.get(path`/leave-requests/${id}/`, { query, ...options });
48
51
  }
49
52
 
50
53
  /**
@@ -55,7 +58,7 @@ export class LeaveRequests extends APIResource {
55
58
  body: LeaveRequestUpdateParams,
56
59
  options?: RequestOptions,
57
60
  ): APIPromise<LeaveRequestUpdateResponse> {
58
- return this._client.patch(path`/leave-requests/${id}`, { body, ...options });
61
+ return this._client.patch(path`/leave-requests/${id}/`, { body, ...options });
59
62
  }
60
63
  }
61
64
 
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
7
7
  import { RequestOptions } from '../internal/request-options';
8
8
  import { path } from '../internal/utils/path';
9
9
 
10
+ /**
11
+ * Leave types used by the company
12
+ */
10
13
  export class LeaveTypes extends APIResource {
11
14
  /**
12
15
  * A List of leave types
@@ -19,14 +22,14 @@ export class LeaveTypes extends APIResource {
19
22
  query: LeaveTypeListParams | null | undefined = {},
20
23
  options?: RequestOptions,
21
24
  ): PagePromise<LeaveTypesPageCursorURL, LeaveType> {
22
- return this._client.getAPIList('/leave-types', PageCursorURL<LeaveType>, { query, ...options });
25
+ return this._client.getAPIList('/leave-types/', PageCursorURL<LeaveType>, { query, ...options });
23
26
  }
24
27
 
25
28
  /**
26
29
  * Retrieve a specific leave type
27
30
  */
28
31
  retrieve(id: string, options?: RequestOptions): APIPromise<LeaveTypeRetrieveResponse> {
29
- return this._client.get(path`/leave-types/${id}`, options);
32
+ return this._client.get(path`/leave-types/${id}/`, options);
30
33
  }
31
34
  }
32
35
 
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
9
9
  import { RequestOptions } from '../internal/request-options';
10
10
  import { path } from '../internal/utils/path';
11
11
 
12
+ /**
13
+ * Legal entities registered by the company
14
+ */
12
15
  export class LegalEntities extends APIResource {
13
16
  /**
14
17
  * A List of legal entities
@@ -21,7 +24,7 @@ export class LegalEntities extends APIResource {
21
24
  query: LegalEntityListParams | null | undefined = {},
22
25
  options?: RequestOptions,
23
26
  ): PagePromise<LegalEntitiesPageCursorURL, LegalEntity> {
24
- return this._client.getAPIList('/legal-entities', PageCursorURL<LegalEntity>, { query, ...options });
27
+ return this._client.getAPIList('/legal-entities/', PageCursorURL<LegalEntity>, { query, ...options });
25
28
  }
26
29
 
27
30
  /**
@@ -32,7 +35,7 @@ export class LegalEntities extends APIResource {
32
35
  query: LegalEntityRetrieveParams | null | undefined = {},
33
36
  options?: RequestOptions,
34
37
  ): APIPromise<LegalEntityRetrieveResponse> {
35
- return this._client.get(path`/legal-entities/${id}`, { query, ...options });
38
+ return this._client.get(path`/legal-entities/${id}/`, { query, ...options });
36
39
  }
37
40
  }
38
41
 
@@ -8,6 +8,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
8
8
  import { RequestOptions } from '../internal/request-options';
9
9
  import { path } from '../internal/utils/path';
10
10
 
11
+ /**
12
+ * Levels and tracks used by the company for workers
13
+ */
11
14
  export class Levels extends APIResource {
12
15
  /**
13
16
  * A List of levels
@@ -20,7 +23,7 @@ export class Levels extends APIResource {
20
23
  query: LevelListParams | null | undefined = {},
21
24
  options?: RequestOptions,
22
25
  ): PagePromise<LevelsPageCursorURL, Level> {
23
- return this._client.getAPIList('/levels', PageCursorURL<Level>, { query, ...options });
26
+ return this._client.getAPIList('/levels/', PageCursorURL<Level>, { query, ...options });
24
27
  }
25
28
 
26
29
  /**
@@ -31,7 +34,7 @@ export class Levels extends APIResource {
31
34
  query: LevelRetrieveParams | null | undefined = {},
32
35
  options?: RequestOptions,
33
36
  ): APIPromise<LevelRetrieveResponse> {
34
- return this._client.get(path`/levels/${id}`, { query, ...options });
37
+ return this._client.get(path`/levels/${id}/`, { query, ...options });
35
38
  }
36
39
  }
37
40
 
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
7
7
  import { RequestOptions } from '../internal/request-options';
8
8
  import { path } from '../internal/utils/path';
9
9
 
10
+ /**
11
+ * Geographic compensation adjustment factors that modify base compensation based on location-specific market conditions and cost of living
12
+ */
10
13
  export class LocationFactors extends APIResource {
11
14
  /**
12
15
  * A List of location factors
@@ -18,7 +21,7 @@ export class LocationFactors extends APIResource {
18
21
  query: LocationFactorListParams | null | undefined = {},
19
22
  options?: RequestOptions,
20
23
  ): PagePromise<LocationFactorListResponsesPageCursorURL, LocationFactorListResponse> {
21
- return this._client.getAPIList('/location-factors', PageCursorURL<LocationFactorListResponse>, {
24
+ return this._client.getAPIList('/location-factors/', PageCursorURL<LocationFactorListResponse>, {
22
25
  query,
23
26
  ...options,
24
27
  });
@@ -28,7 +31,7 @@ export class LocationFactors extends APIResource {
28
31
  * Retrieve a specific location factor
29
32
  */
30
33
  retrieve(id: string, options?: RequestOptions): APIPromise<LocationFactorRetrieveResponse> {
31
- return this._client.get(path`/location-factors/${id}`, options);
34
+ return this._client.get(path`/location-factors/${id}/`, options);
32
35
  }
33
36
  }
34
37
 
@@ -0,0 +1,38 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import { PageCursorURL, PagePromise } from '../../core/pagination';
5
+ import { RequestOptions } from '../../internal/request-options';
6
+
7
+ /**
8
+ * Custom objects defined by the company
9
+ */
10
+ export class Components extends APIResource {
11
+ /**
12
+ * A List of metadata components
13
+ *
14
+ * - Requires: `API Tier 1`
15
+ */
16
+ list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse> {
17
+ return this._client.getAPIList('/metadata/components/', PageCursorURL<ComponentListResponse>, options);
18
+ }
19
+ }
20
+
21
+ export type ComponentListResponsesPageCursorURL = PageCursorURL<ComponentListResponse>;
22
+
23
+ /**
24
+ * Base DTO model shared across metadata endpoints.
25
+ */
26
+ export interface ComponentListResponse {
27
+ /**
28
+ * Status of the operation
29
+ */
30
+ status?: string;
31
+ }
32
+
33
+ export declare namespace Components {
34
+ export {
35
+ type ComponentListResponse as ComponentListResponse,
36
+ type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL,
37
+ };
38
+ }
@@ -0,0 +1,10 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export {
4
+ Components,
5
+ type ComponentListResponse,
6
+ type ComponentListResponsesPageCursorURL,
7
+ } from './components';
8
+ export { Metadata, type MetadataListResponse, type MetadataListResponsesPageCursorURL } from './metadata';
9
+ export { Summary, type SummaryListResponse, type SummaryListResponsesPageCursorURL } from './summary';
10
+ export { Types, type TypeListResponse, type TypeListResponsesPageCursorURL } from './types';
@@ -0,0 +1,70 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as ComponentsAPI from './components';
5
+ import { ComponentListResponse, ComponentListResponsesPageCursorURL, Components } from './components';
6
+ import * as SummaryAPI from './summary';
7
+ import { Summary, SummaryListResponse, SummaryListResponsesPageCursorURL } from './summary';
8
+ import * as TypesAPI from './types';
9
+ import { TypeListResponse, TypeListResponsesPageCursorURL, Types } from './types';
10
+ import { PageCursorURL, PagePromise } from '../../core/pagination';
11
+ import { RequestOptions } from '../../internal/request-options';
12
+
13
+ /**
14
+ * Custom objects defined by the company
15
+ */
16
+ export class Metadata extends APIResource {
17
+ components: ComponentsAPI.Components = new ComponentsAPI.Components(this._client);
18
+ summary: SummaryAPI.Summary = new SummaryAPI.Summary(this._client);
19
+ types: TypesAPI.Types = new TypesAPI.Types(this._client);
20
+
21
+ /**
22
+ * A List of metadata components
23
+ *
24
+ * - Requires: `API Tier 1`
25
+ */
26
+ list(options?: RequestOptions): PagePromise<MetadataListResponsesPageCursorURL, MetadataListResponse> {
27
+ return this._client.getAPIList('/metadata/', PageCursorURL<MetadataListResponse>, options);
28
+ }
29
+ }
30
+
31
+ export type MetadataListResponsesPageCursorURL = PageCursorURL<MetadataListResponse>;
32
+
33
+ /**
34
+ * Base DTO model shared across metadata endpoints.
35
+ */
36
+ export interface MetadataListResponse {
37
+ /**
38
+ * Status of the operation
39
+ */
40
+ status?: string;
41
+ }
42
+
43
+ Metadata.Components = Components;
44
+ Metadata.Summary = Summary;
45
+ Metadata.Types = Types;
46
+
47
+ export declare namespace Metadata {
48
+ export {
49
+ type MetadataListResponse as MetadataListResponse,
50
+ type MetadataListResponsesPageCursorURL as MetadataListResponsesPageCursorURL,
51
+ };
52
+
53
+ export {
54
+ Components as Components,
55
+ type ComponentListResponse as ComponentListResponse,
56
+ type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL,
57
+ };
58
+
59
+ export {
60
+ Summary as Summary,
61
+ type SummaryListResponse as SummaryListResponse,
62
+ type SummaryListResponsesPageCursorURL as SummaryListResponsesPageCursorURL,
63
+ };
64
+
65
+ export {
66
+ Types as Types,
67
+ type TypeListResponse as TypeListResponse,
68
+ type TypeListResponsesPageCursorURL as TypeListResponsesPageCursorURL,
69
+ };
70
+ }