@rippling/rippling-sdk 0.2.0-alpha.20

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 (818) hide show
  1. package/LICENSE +201 -0
  2. package/api-promise.d.mts +2 -0
  3. package/api-promise.d.mts.map +1 -0
  4. package/api-promise.d.ts +2 -0
  5. package/api-promise.d.ts.map +1 -0
  6. package/api-promise.js +6 -0
  7. package/api-promise.js.map +1 -0
  8. package/api-promise.mjs +2 -0
  9. package/api-promise.mjs.map +1 -0
  10. package/client.d.mts +308 -0
  11. package/client.d.mts.map +1 -0
  12. package/client.d.ts +308 -0
  13. package/client.d.ts.map +1 -0
  14. package/client.js +592 -0
  15. package/client.js.map +1 -0
  16. package/client.mjs +588 -0
  17. package/client.mjs.map +1 -0
  18. package/core/api-promise.d.mts +46 -0
  19. package/core/api-promise.d.mts.map +1 -0
  20. package/core/api-promise.d.ts +46 -0
  21. package/core/api-promise.d.ts.map +1 -0
  22. package/core/api-promise.js +74 -0
  23. package/core/api-promise.js.map +1 -0
  24. package/core/api-promise.mjs +70 -0
  25. package/core/api-promise.mjs.map +1 -0
  26. package/core/error.d.mts +46 -0
  27. package/core/error.d.mts.map +1 -0
  28. package/core/error.d.ts +46 -0
  29. package/core/error.d.ts.map +1 -0
  30. package/core/error.js +113 -0
  31. package/core/error.js.map +1 -0
  32. package/core/error.mjs +97 -0
  33. package/core/error.mjs.map +1 -0
  34. package/core/pagination.d.mts +50 -0
  35. package/core/pagination.d.mts.map +1 -0
  36. package/core/pagination.d.ts +50 -0
  37. package/core/pagination.d.ts.map +1 -0
  38. package/core/pagination.js +104 -0
  39. package/core/pagination.js.map +1 -0
  40. package/core/pagination.mjs +98 -0
  41. package/core/pagination.mjs.map +1 -0
  42. package/core/resource.d.mts +6 -0
  43. package/core/resource.d.mts.map +1 -0
  44. package/core/resource.d.ts +6 -0
  45. package/core/resource.d.ts.map +1 -0
  46. package/core/resource.js +11 -0
  47. package/core/resource.js.map +1 -0
  48. package/core/resource.mjs +7 -0
  49. package/core/resource.mjs.map +1 -0
  50. package/core/uploads.d.mts +3 -0
  51. package/core/uploads.d.mts.map +1 -0
  52. package/core/uploads.d.ts +3 -0
  53. package/core/uploads.d.ts.map +1 -0
  54. package/core/uploads.js +6 -0
  55. package/core/uploads.js.map +1 -0
  56. package/core/uploads.mjs +2 -0
  57. package/core/uploads.mjs.map +1 -0
  58. package/error.d.mts +2 -0
  59. package/error.d.mts.map +1 -0
  60. package/error.d.ts +2 -0
  61. package/error.d.ts.map +1 -0
  62. package/error.js +6 -0
  63. package/error.js.map +1 -0
  64. package/error.mjs +2 -0
  65. package/error.mjs.map +1 -0
  66. package/functions.d.mts +68 -0
  67. package/functions.d.mts.map +1 -0
  68. package/functions.d.ts +68 -0
  69. package/functions.d.ts.map +1 -0
  70. package/functions.js +48 -0
  71. package/functions.js.map +1 -0
  72. package/functions.mjs +40 -0
  73. package/functions.mjs.map +1 -0
  74. package/index.d.mts +8 -0
  75. package/index.d.mts.map +1 -0
  76. package/index.d.ts +8 -0
  77. package/index.d.ts.map +1 -0
  78. package/index.js +34 -0
  79. package/index.js.map +1 -0
  80. package/index.mjs +9 -0
  81. package/index.mjs.map +1 -0
  82. package/internal/builtin-types.d.mts +73 -0
  83. package/internal/builtin-types.d.mts.map +1 -0
  84. package/internal/builtin-types.d.ts +73 -0
  85. package/internal/builtin-types.d.ts.map +1 -0
  86. package/internal/builtin-types.js +4 -0
  87. package/internal/builtin-types.js.map +1 -0
  88. package/internal/builtin-types.mjs +3 -0
  89. package/internal/builtin-types.mjs.map +1 -0
  90. package/internal/detect-platform.d.mts +15 -0
  91. package/internal/detect-platform.d.mts.map +1 -0
  92. package/internal/detect-platform.d.ts +15 -0
  93. package/internal/detect-platform.d.ts.map +1 -0
  94. package/internal/detect-platform.js +162 -0
  95. package/internal/detect-platform.js.map +1 -0
  96. package/internal/detect-platform.mjs +157 -0
  97. package/internal/detect-platform.mjs.map +1 -0
  98. package/internal/errors.d.mts +3 -0
  99. package/internal/errors.d.mts.map +1 -0
  100. package/internal/errors.d.ts +3 -0
  101. package/internal/errors.d.ts.map +1 -0
  102. package/internal/errors.js +41 -0
  103. package/internal/errors.js.map +1 -0
  104. package/internal/errors.mjs +36 -0
  105. package/internal/errors.mjs.map +1 -0
  106. package/internal/headers.d.mts +20 -0
  107. package/internal/headers.d.mts.map +1 -0
  108. package/internal/headers.d.ts +20 -0
  109. package/internal/headers.d.ts.map +1 -0
  110. package/internal/headers.js +79 -0
  111. package/internal/headers.js.map +1 -0
  112. package/internal/headers.mjs +74 -0
  113. package/internal/headers.mjs.map +1 -0
  114. package/internal/parse.d.mts +12 -0
  115. package/internal/parse.d.mts.map +1 -0
  116. package/internal/parse.d.ts +12 -0
  117. package/internal/parse.d.ts.map +1 -0
  118. package/internal/parse.js +35 -0
  119. package/internal/parse.js.map +1 -0
  120. package/internal/parse.mjs +32 -0
  121. package/internal/parse.mjs.map +1 -0
  122. package/internal/request-options.d.mts +75 -0
  123. package/internal/request-options.d.mts.map +1 -0
  124. package/internal/request-options.d.ts +75 -0
  125. package/internal/request-options.d.ts.map +1 -0
  126. package/internal/request-options.js +14 -0
  127. package/internal/request-options.js.map +1 -0
  128. package/internal/request-options.mjs +10 -0
  129. package/internal/request-options.mjs.map +1 -0
  130. package/internal/shim-types.d.mts +17 -0
  131. package/internal/shim-types.d.mts.map +1 -0
  132. package/internal/shim-types.d.ts +17 -0
  133. package/internal/shim-types.d.ts.map +1 -0
  134. package/internal/shim-types.js +4 -0
  135. package/internal/shim-types.js.map +1 -0
  136. package/internal/shim-types.mjs +3 -0
  137. package/internal/shim-types.mjs.map +1 -0
  138. package/internal/shims.d.mts +20 -0
  139. package/internal/shims.d.mts.map +1 -0
  140. package/internal/shims.d.ts +20 -0
  141. package/internal/shims.d.ts.map +1 -0
  142. package/internal/shims.js +92 -0
  143. package/internal/shims.js.map +1 -0
  144. package/internal/shims.mjs +85 -0
  145. package/internal/shims.mjs.map +1 -0
  146. package/internal/to-file.d.mts +45 -0
  147. package/internal/to-file.d.mts.map +1 -0
  148. package/internal/to-file.d.ts +45 -0
  149. package/internal/to-file.d.ts.map +1 -0
  150. package/internal/to-file.js +91 -0
  151. package/internal/to-file.js.map +1 -0
  152. package/internal/to-file.mjs +88 -0
  153. package/internal/to-file.mjs.map +1 -0
  154. package/internal/tslib.js +81 -0
  155. package/internal/tslib.mjs +17 -0
  156. package/internal/types.d.mts +69 -0
  157. package/internal/types.d.mts.map +1 -0
  158. package/internal/types.d.ts +69 -0
  159. package/internal/types.d.ts.map +1 -0
  160. package/internal/types.js +4 -0
  161. package/internal/types.js.map +1 -0
  162. package/internal/types.mjs +3 -0
  163. package/internal/types.mjs.map +1 -0
  164. package/internal/uploads.d.mts +42 -0
  165. package/internal/uploads.d.mts.map +1 -0
  166. package/internal/uploads.d.ts +42 -0
  167. package/internal/uploads.d.ts.map +1 -0
  168. package/internal/uploads.js +141 -0
  169. package/internal/uploads.js.map +1 -0
  170. package/internal/uploads.mjs +131 -0
  171. package/internal/uploads.mjs.map +1 -0
  172. package/internal/utils/base64.d.mts +3 -0
  173. package/internal/utils/base64.d.mts.map +1 -0
  174. package/internal/utils/base64.d.ts +3 -0
  175. package/internal/utils/base64.d.ts.map +1 -0
  176. package/internal/utils/base64.js +38 -0
  177. package/internal/utils/base64.js.map +1 -0
  178. package/internal/utils/base64.mjs +33 -0
  179. package/internal/utils/base64.mjs.map +1 -0
  180. package/internal/utils/bytes.d.mts +4 -0
  181. package/internal/utils/bytes.d.mts.map +1 -0
  182. package/internal/utils/bytes.d.ts +4 -0
  183. package/internal/utils/bytes.d.ts.map +1 -0
  184. package/internal/utils/bytes.js +31 -0
  185. package/internal/utils/bytes.js.map +1 -0
  186. package/internal/utils/bytes.mjs +26 -0
  187. package/internal/utils/bytes.mjs.map +1 -0
  188. package/internal/utils/env.d.mts +9 -0
  189. package/internal/utils/env.d.mts.map +1 -0
  190. package/internal/utils/env.d.ts +9 -0
  191. package/internal/utils/env.d.ts.map +1 -0
  192. package/internal/utils/env.js +22 -0
  193. package/internal/utils/env.js.map +1 -0
  194. package/internal/utils/env.mjs +18 -0
  195. package/internal/utils/env.mjs.map +1 -0
  196. package/internal/utils/log.d.mts +37 -0
  197. package/internal/utils/log.d.mts.map +1 -0
  198. package/internal/utils/log.d.ts +37 -0
  199. package/internal/utils/log.d.ts.map +1 -0
  200. package/internal/utils/log.js +85 -0
  201. package/internal/utils/log.js.map +1 -0
  202. package/internal/utils/log.mjs +79 -0
  203. package/internal/utils/log.mjs.map +1 -0
  204. package/internal/utils/path.d.mts +15 -0
  205. package/internal/utils/path.d.mts.map +1 -0
  206. package/internal/utils/path.d.ts +15 -0
  207. package/internal/utils/path.d.ts.map +1 -0
  208. package/internal/utils/path.js +79 -0
  209. package/internal/utils/path.js.map +1 -0
  210. package/internal/utils/path.mjs +74 -0
  211. package/internal/utils/path.mjs.map +1 -0
  212. package/internal/utils/sleep.d.mts +2 -0
  213. package/internal/utils/sleep.d.mts.map +1 -0
  214. package/internal/utils/sleep.d.ts +2 -0
  215. package/internal/utils/sleep.d.ts.map +1 -0
  216. package/internal/utils/sleep.js +7 -0
  217. package/internal/utils/sleep.js.map +1 -0
  218. package/internal/utils/sleep.mjs +3 -0
  219. package/internal/utils/sleep.mjs.map +1 -0
  220. package/internal/utils/uuid.d.mts +5 -0
  221. package/internal/utils/uuid.d.mts.map +1 -0
  222. package/internal/utils/uuid.d.ts +5 -0
  223. package/internal/utils/uuid.d.ts.map +1 -0
  224. package/internal/utils/uuid.js +19 -0
  225. package/internal/utils/uuid.js.map +1 -0
  226. package/internal/utils/uuid.mjs +15 -0
  227. package/internal/utils/uuid.mjs.map +1 -0
  228. package/internal/utils/values.d.mts +18 -0
  229. package/internal/utils/values.d.mts.map +1 -0
  230. package/internal/utils/values.d.ts +18 -0
  231. package/internal/utils/values.d.ts.map +1 -0
  232. package/internal/utils/values.js +112 -0
  233. package/internal/utils/values.js.map +1 -0
  234. package/internal/utils/values.mjs +94 -0
  235. package/internal/utils/values.mjs.map +1 -0
  236. package/internal/utils.d.mts +7 -0
  237. package/internal/utils.d.mts.map +1 -0
  238. package/internal/utils.d.ts +7 -0
  239. package/internal/utils.d.ts.map +1 -0
  240. package/internal/utils.js +11 -0
  241. package/internal/utils.js.map +1 -0
  242. package/internal/utils.mjs +8 -0
  243. package/internal/utils.mjs.map +1 -0
  244. package/package.json +158 -0
  245. package/pagination.d.mts +2 -0
  246. package/pagination.d.mts.map +1 -0
  247. package/pagination.d.ts +2 -0
  248. package/pagination.d.ts.map +1 -0
  249. package/pagination.js +6 -0
  250. package/pagination.js.map +1 -0
  251. package/pagination.mjs +2 -0
  252. package/pagination.mjs.map +1 -0
  253. package/resource.d.mts +2 -0
  254. package/resource.d.mts.map +1 -0
  255. package/resource.d.ts +2 -0
  256. package/resource.d.ts.map +1 -0
  257. package/resource.js +6 -0
  258. package/resource.js.map +1 -0
  259. package/resource.mjs +2 -0
  260. package/resource.mjs.map +1 -0
  261. package/resources/business-partner-groups.d.mts +94 -0
  262. package/resources/business-partner-groups.d.mts.map +1 -0
  263. package/resources/business-partner-groups.d.ts +94 -0
  264. package/resources/business-partner-groups.d.ts.map +1 -0
  265. package/resources/business-partner-groups.js +46 -0
  266. package/resources/business-partner-groups.js.map +1 -0
  267. package/resources/business-partner-groups.mjs +42 -0
  268. package/resources/business-partner-groups.mjs.map +1 -0
  269. package/resources/business-partners.d.mts +132 -0
  270. package/resources/business-partners.d.mts.map +1 -0
  271. package/resources/business-partners.d.ts +132 -0
  272. package/resources/business-partners.d.ts.map +1 -0
  273. package/resources/business-partners.js +47 -0
  274. package/resources/business-partners.js.map +1 -0
  275. package/resources/business-partners.mjs +43 -0
  276. package/resources/business-partners.mjs.map +1 -0
  277. package/resources/candidate-applications.d.mts +63 -0
  278. package/resources/candidate-applications.d.mts.map +1 -0
  279. package/resources/candidate-applications.d.ts +63 -0
  280. package/resources/candidate-applications.d.ts.map +1 -0
  281. package/resources/candidate-applications.js +20 -0
  282. package/resources/candidate-applications.js.map +1 -0
  283. package/resources/candidate-applications.mjs +16 -0
  284. package/resources/candidate-applications.mjs.map +1 -0
  285. package/resources/candidates.d.mts +54 -0
  286. package/resources/candidates.d.mts.map +1 -0
  287. package/resources/candidates.d.ts +54 -0
  288. package/resources/candidates.d.ts.map +1 -0
  289. package/resources/candidates.js +22 -0
  290. package/resources/candidates.js.map +1 -0
  291. package/resources/candidates.mjs +18 -0
  292. package/resources/candidates.mjs.map +1 -0
  293. package/resources/companies.d.mts +82 -0
  294. package/resources/companies.d.mts.map +1 -0
  295. package/resources/companies.d.ts +82 -0
  296. package/resources/companies.d.ts.map +1 -0
  297. package/resources/companies.js +20 -0
  298. package/resources/companies.js.map +1 -0
  299. package/resources/companies.mjs +16 -0
  300. package/resources/companies.mjs.map +1 -0
  301. package/resources/compensations.d.mts +250 -0
  302. package/resources/compensations.d.mts.map +1 -0
  303. package/resources/compensations.d.ts +250 -0
  304. package/resources/compensations.d.ts.map +1 -0
  305. package/resources/compensations.js +27 -0
  306. package/resources/compensations.js.map +1 -0
  307. package/resources/compensations.mjs +23 -0
  308. package/resources/compensations.mjs.map +1 -0
  309. package/resources/custom-fields.d.mts +50 -0
  310. package/resources/custom-fields.d.mts.map +1 -0
  311. package/resources/custom-fields.d.ts +50 -0
  312. package/resources/custom-fields.d.ts.map +1 -0
  313. package/resources/custom-fields.js +22 -0
  314. package/resources/custom-fields.js.map +1 -0
  315. package/resources/custom-fields.mjs +18 -0
  316. package/resources/custom-fields.mjs.map +1 -0
  317. package/resources/custom-objects/custom-objects.d.mts +103 -0
  318. package/resources/custom-objects/custom-objects.d.mts.map +1 -0
  319. package/resources/custom-objects/custom-objects.d.ts +103 -0
  320. package/resources/custom-objects/custom-objects.d.ts.map +1 -0
  321. package/resources/custom-objects/custom-objects.js +59 -0
  322. package/resources/custom-objects/custom-objects.js.map +1 -0
  323. package/resources/custom-objects/custom-objects.mjs +54 -0
  324. package/resources/custom-objects/custom-objects.mjs.map +1 -0
  325. package/resources/custom-objects/fields.d.mts +113 -0
  326. package/resources/custom-objects/fields.d.mts.map +1 -0
  327. package/resources/custom-objects/fields.d.ts +113 -0
  328. package/resources/custom-objects/fields.d.ts.map +1 -0
  329. package/resources/custom-objects/fields.js +50 -0
  330. package/resources/custom-objects/fields.js.map +1 -0
  331. package/resources/custom-objects/fields.mjs +46 -0
  332. package/resources/custom-objects/fields.mjs.map +1 -0
  333. package/resources/custom-objects/index.d.mts +4 -0
  334. package/resources/custom-objects/index.d.mts.map +1 -0
  335. package/resources/custom-objects/index.d.ts +4 -0
  336. package/resources/custom-objects/index.d.ts.map +1 -0
  337. package/resources/custom-objects/index.js +11 -0
  338. package/resources/custom-objects/index.js.map +1 -0
  339. package/resources/custom-objects/index.mjs +5 -0
  340. package/resources/custom-objects/index.mjs.map +1 -0
  341. package/resources/custom-objects/records.d.mts +143 -0
  342. package/resources/custom-objects/records.d.mts.map +1 -0
  343. package/resources/custom-objects/records.d.ts +143 -0
  344. package/resources/custom-objects/records.d.ts.map +1 -0
  345. package/resources/custom-objects/records.js +93 -0
  346. package/resources/custom-objects/records.js.map +1 -0
  347. package/resources/custom-objects/records.mjs +89 -0
  348. package/resources/custom-objects/records.mjs.map +1 -0
  349. package/resources/custom-objects.d.mts +2 -0
  350. package/resources/custom-objects.d.mts.map +1 -0
  351. package/resources/custom-objects.d.ts +2 -0
  352. package/resources/custom-objects.d.ts.map +1 -0
  353. package/resources/custom-objects.js +6 -0
  354. package/resources/custom-objects.js.map +1 -0
  355. package/resources/custom-objects.mjs +3 -0
  356. package/resources/custom-objects.mjs.map +1 -0
  357. package/resources/departments.d.mts +80 -0
  358. package/resources/departments.d.mts.map +1 -0
  359. package/resources/departments.d.ts +80 -0
  360. package/resources/departments.d.ts.map +1 -0
  361. package/resources/departments.js +27 -0
  362. package/resources/departments.js.map +1 -0
  363. package/resources/departments.mjs +23 -0
  364. package/resources/departments.mjs.map +1 -0
  365. package/resources/employment-types.d.mts +77 -0
  366. package/resources/employment-types.d.mts.map +1 -0
  367. package/resources/employment-types.d.ts +77 -0
  368. package/resources/employment-types.d.ts.map +1 -0
  369. package/resources/employment-types.js +29 -0
  370. package/resources/employment-types.js.map +1 -0
  371. package/resources/employment-types.mjs +25 -0
  372. package/resources/employment-types.mjs.map +1 -0
  373. package/resources/entitlements.d.mts +30 -0
  374. package/resources/entitlements.d.mts.map +1 -0
  375. package/resources/entitlements.d.ts +30 -0
  376. package/resources/entitlements.d.ts.map +1 -0
  377. package/resources/entitlements.js +18 -0
  378. package/resources/entitlements.js.map +1 -0
  379. package/resources/entitlements.mjs +14 -0
  380. package/resources/entitlements.mjs.map +1 -0
  381. package/resources/functions/deployments.d.mts +145 -0
  382. package/resources/functions/deployments.d.mts.map +1 -0
  383. package/resources/functions/deployments.d.ts +145 -0
  384. package/resources/functions/deployments.d.ts.map +1 -0
  385. package/resources/functions/deployments.js +40 -0
  386. package/resources/functions/deployments.js.map +1 -0
  387. package/resources/functions/deployments.mjs +36 -0
  388. package/resources/functions/deployments.mjs.map +1 -0
  389. package/resources/functions/executions.d.mts +188 -0
  390. package/resources/functions/executions.d.mts.map +1 -0
  391. package/resources/functions/executions.d.ts +188 -0
  392. package/resources/functions/executions.d.ts.map +1 -0
  393. package/resources/functions/executions.js +42 -0
  394. package/resources/functions/executions.js.map +1 -0
  395. package/resources/functions/executions.mjs +38 -0
  396. package/resources/functions/executions.mjs.map +1 -0
  397. package/resources/functions/functions.d.mts +129 -0
  398. package/resources/functions/functions.d.mts.map +1 -0
  399. package/resources/functions/functions.d.ts +129 -0
  400. package/resources/functions/functions.d.ts.map +1 -0
  401. package/resources/functions/functions.js +56 -0
  402. package/resources/functions/functions.js.map +1 -0
  403. package/resources/functions/functions.mjs +51 -0
  404. package/resources/functions/functions.mjs.map +1 -0
  405. package/resources/functions/index.d.mts +4 -0
  406. package/resources/functions/index.d.mts.map +1 -0
  407. package/resources/functions/index.d.ts +4 -0
  408. package/resources/functions/index.d.ts.map +1 -0
  409. package/resources/functions/index.js +11 -0
  410. package/resources/functions/index.js.map +1 -0
  411. package/resources/functions/index.mjs +5 -0
  412. package/resources/functions/index.mjs.map +1 -0
  413. package/resources/functions.d.mts +2 -0
  414. package/resources/functions.d.mts.map +1 -0
  415. package/resources/functions.d.ts +2 -0
  416. package/resources/functions.d.ts.map +1 -0
  417. package/resources/functions.js +6 -0
  418. package/resources/functions.js.map +1 -0
  419. package/resources/functions.mjs +3 -0
  420. package/resources/functions.mjs.map +1 -0
  421. package/resources/headcount-positions.d.mts +1059 -0
  422. package/resources/headcount-positions.d.mts.map +1 -0
  423. package/resources/headcount-positions.d.ts +1059 -0
  424. package/resources/headcount-positions.d.ts.map +1 -0
  425. package/resources/headcount-positions.js +41 -0
  426. package/resources/headcount-positions.js.map +1 -0
  427. package/resources/headcount-positions.mjs +37 -0
  428. package/resources/headcount-positions.mjs.map +1 -0
  429. package/resources/headcount-priorities.d.mts +65 -0
  430. package/resources/headcount-priorities.d.mts.map +1 -0
  431. package/resources/headcount-priorities.d.ts +65 -0
  432. package/resources/headcount-priorities.d.ts.map +1 -0
  433. package/resources/headcount-priorities.js +29 -0
  434. package/resources/headcount-priorities.js.map +1 -0
  435. package/resources/headcount-priorities.mjs +25 -0
  436. package/resources/headcount-priorities.mjs.map +1 -0
  437. package/resources/index.d.mts +42 -0
  438. package/resources/index.d.mts.map +1 -0
  439. package/resources/index.d.ts +42 -0
  440. package/resources/index.d.ts.map +1 -0
  441. package/resources/index.js +87 -0
  442. package/resources/index.js.map +1 -0
  443. package/resources/index.mjs +43 -0
  444. package/resources/index.mjs.map +1 -0
  445. package/resources/job-assignments.d.mts +161 -0
  446. package/resources/job-assignments.d.mts.map +1 -0
  447. package/resources/job-assignments.d.ts +161 -0
  448. package/resources/job-assignments.d.ts.map +1 -0
  449. package/resources/job-assignments.js +38 -0
  450. package/resources/job-assignments.js.map +1 -0
  451. package/resources/job-assignments.mjs +34 -0
  452. package/resources/job-assignments.mjs.map +1 -0
  453. package/resources/job-codes.d.mts +358 -0
  454. package/resources/job-codes.d.mts.map +1 -0
  455. package/resources/job-codes.d.ts +358 -0
  456. package/resources/job-codes.d.ts.map +1 -0
  457. package/resources/job-codes.js +61 -0
  458. package/resources/job-codes.js.map +1 -0
  459. package/resources/job-codes.mjs +57 -0
  460. package/resources/job-codes.mjs.map +1 -0
  461. package/resources/job-dimensions.d.mts +145 -0
  462. package/resources/job-dimensions.d.mts.map +1 -0
  463. package/resources/job-dimensions.d.ts +145 -0
  464. package/resources/job-dimensions.d.ts.map +1 -0
  465. package/resources/job-dimensions.js +49 -0
  466. package/resources/job-dimensions.js.map +1 -0
  467. package/resources/job-dimensions.mjs +45 -0
  468. package/resources/job-dimensions.mjs.map +1 -0
  469. package/resources/job-functions.d.mts +65 -0
  470. package/resources/job-functions.d.mts.map +1 -0
  471. package/resources/job-functions.d.ts +65 -0
  472. package/resources/job-functions.d.ts.map +1 -0
  473. package/resources/job-functions.js +29 -0
  474. package/resources/job-functions.js.map +1 -0
  475. package/resources/job-functions.mjs +25 -0
  476. package/resources/job-functions.mjs.map +1 -0
  477. package/resources/job-pay-rate-exceptions.d.mts +91 -0
  478. package/resources/job-pay-rate-exceptions.d.mts.map +1 -0
  479. package/resources/job-pay-rate-exceptions.d.ts +91 -0
  480. package/resources/job-pay-rate-exceptions.d.ts.map +1 -0
  481. package/resources/job-pay-rate-exceptions.js +41 -0
  482. package/resources/job-pay-rate-exceptions.js.map +1 -0
  483. package/resources/job-pay-rate-exceptions.mjs +37 -0
  484. package/resources/job-pay-rate-exceptions.mjs.map +1 -0
  485. package/resources/job-requisitions.d.mts +42 -0
  486. package/resources/job-requisitions.d.mts.map +1 -0
  487. package/resources/job-requisitions.d.ts +42 -0
  488. package/resources/job-requisitions.d.ts.map +1 -0
  489. package/resources/job-requisitions.js +19 -0
  490. package/resources/job-requisitions.js.map +1 -0
  491. package/resources/job-requisitions.mjs +15 -0
  492. package/resources/job-requisitions.mjs.map +1 -0
  493. package/resources/kiosk-badges.d.mts +247 -0
  494. package/resources/kiosk-badges.d.mts.map +1 -0
  495. package/resources/kiosk-badges.d.ts +247 -0
  496. package/resources/kiosk-badges.d.ts.map +1 -0
  497. package/resources/kiosk-badges.js +53 -0
  498. package/resources/kiosk-badges.js.map +1 -0
  499. package/resources/kiosk-badges.mjs +49 -0
  500. package/resources/kiosk-badges.mjs.map +1 -0
  501. package/resources/leave-balances.d.mts +88 -0
  502. package/resources/leave-balances.d.mts.map +1 -0
  503. package/resources/leave-balances.d.ts +88 -0
  504. package/resources/leave-balances.d.ts.map +1 -0
  505. package/resources/leave-balances.js +28 -0
  506. package/resources/leave-balances.js.map +1 -0
  507. package/resources/leave-balances.mjs +24 -0
  508. package/resources/leave-balances.mjs.map +1 -0
  509. package/resources/leave-requests.d.mts +731 -0
  510. package/resources/leave-requests.d.mts.map +1 -0
  511. package/resources/leave-requests.d.ts +731 -0
  512. package/resources/leave-requests.d.ts.map +1 -0
  513. package/resources/leave-requests.js +44 -0
  514. package/resources/leave-requests.js.map +1 -0
  515. package/resources/leave-requests.mjs +40 -0
  516. package/resources/leave-requests.mjs.map +1 -0
  517. package/resources/leave-types.d.mts +67 -0
  518. package/resources/leave-types.d.mts.map +1 -0
  519. package/resources/leave-types.d.ts +67 -0
  520. package/resources/leave-types.d.ts.map +1 -0
  521. package/resources/leave-types.js +27 -0
  522. package/resources/leave-types.js.map +1 -0
  523. package/resources/leave-types.mjs +23 -0
  524. package/resources/leave-types.mjs.map +1 -0
  525. package/resources/legal-entities.d.mts +117 -0
  526. package/resources/legal-entities.d.mts.map +1 -0
  527. package/resources/legal-entities.d.ts +117 -0
  528. package/resources/legal-entities.d.ts.map +1 -0
  529. package/resources/legal-entities.js +27 -0
  530. package/resources/legal-entities.js.map +1 -0
  531. package/resources/legal-entities.mjs +23 -0
  532. package/resources/legal-entities.mjs.map +1 -0
  533. package/resources/levels.d.mts +91 -0
  534. package/resources/levels.d.mts.map +1 -0
  535. package/resources/levels.d.ts +91 -0
  536. package/resources/levels.d.ts.map +1 -0
  537. package/resources/levels.js +27 -0
  538. package/resources/levels.js.map +1 -0
  539. package/resources/levels.mjs +23 -0
  540. package/resources/levels.mjs.map +1 -0
  541. package/resources/location-factors.d.mts +111 -0
  542. package/resources/location-factors.d.mts.map +1 -0
  543. package/resources/location-factors.d.ts +111 -0
  544. package/resources/location-factors.d.ts.map +1 -0
  545. package/resources/location-factors.js +29 -0
  546. package/resources/location-factors.js.map +1 -0
  547. package/resources/location-factors.mjs +25 -0
  548. package/resources/location-factors.mjs.map +1 -0
  549. package/resources/object-categories.d.mts +63 -0
  550. package/resources/object-categories.d.mts.map +1 -0
  551. package/resources/object-categories.d.ts +63 -0
  552. package/resources/object-categories.d.ts.map +1 -0
  553. package/resources/object-categories.js +47 -0
  554. package/resources/object-categories.js.map +1 -0
  555. package/resources/object-categories.mjs +43 -0
  556. package/resources/object-categories.mjs.map +1 -0
  557. package/resources/schedules.d.mts +139 -0
  558. package/resources/schedules.d.mts.map +1 -0
  559. package/resources/schedules.d.ts +139 -0
  560. package/resources/schedules.d.ts.map +1 -0
  561. package/resources/schedules.js +27 -0
  562. package/resources/schedules.js.map +1 -0
  563. package/resources/schedules.mjs +23 -0
  564. package/resources/schedules.mjs.map +1 -0
  565. package/resources/shared.d.mts +55 -0
  566. package/resources/shared.d.mts.map +1 -0
  567. package/resources/shared.d.ts +55 -0
  568. package/resources/shared.d.ts.map +1 -0
  569. package/resources/shared.js +4 -0
  570. package/resources/shared.js.map +1 -0
  571. package/resources/shared.mjs +3 -0
  572. package/resources/shared.mjs.map +1 -0
  573. package/resources/shift-inputs.d.mts +291 -0
  574. package/resources/shift-inputs.d.mts.map +1 -0
  575. package/resources/shift-inputs.d.ts +291 -0
  576. package/resources/shift-inputs.d.ts.map +1 -0
  577. package/resources/shift-inputs.js +53 -0
  578. package/resources/shift-inputs.js.map +1 -0
  579. package/resources/shift-inputs.mjs +49 -0
  580. package/resources/shift-inputs.mjs.map +1 -0
  581. package/resources/shiftassignments.d.mts +466 -0
  582. package/resources/shiftassignments.d.mts.map +1 -0
  583. package/resources/shiftassignments.d.ts +466 -0
  584. package/resources/shiftassignments.d.ts.map +1 -0
  585. package/resources/shiftassignments.js +32 -0
  586. package/resources/shiftassignments.js.map +1 -0
  587. package/resources/shiftassignments.mjs +28 -0
  588. package/resources/shiftassignments.mjs.map +1 -0
  589. package/resources/sso-me.d.mts +48 -0
  590. package/resources/sso-me.d.mts.map +1 -0
  591. package/resources/sso-me.d.ts +48 -0
  592. package/resources/sso-me.d.ts.map +1 -0
  593. package/resources/sso-me.js +18 -0
  594. package/resources/sso-me.js.map +1 -0
  595. package/resources/sso-me.mjs +14 -0
  596. package/resources/sso-me.mjs.map +1 -0
  597. package/resources/supergroups/exclusion-members.d.mts +56 -0
  598. package/resources/supergroups/exclusion-members.d.mts.map +1 -0
  599. package/resources/supergroups/exclusion-members.d.ts +56 -0
  600. package/resources/supergroups/exclusion-members.d.ts.map +1 -0
  601. package/resources/supergroups/exclusion-members.js +26 -0
  602. package/resources/supergroups/exclusion-members.js.map +1 -0
  603. package/resources/supergroups/exclusion-members.mjs +22 -0
  604. package/resources/supergroups/exclusion-members.mjs.map +1 -0
  605. package/resources/supergroups/inclusion-members.d.mts +56 -0
  606. package/resources/supergroups/inclusion-members.d.mts.map +1 -0
  607. package/resources/supergroups/inclusion-members.d.ts +56 -0
  608. package/resources/supergroups/inclusion-members.d.ts.map +1 -0
  609. package/resources/supergroups/inclusion-members.js +26 -0
  610. package/resources/supergroups/inclusion-members.js.map +1 -0
  611. package/resources/supergroups/inclusion-members.mjs +22 -0
  612. package/resources/supergroups/inclusion-members.mjs.map +1 -0
  613. package/resources/supergroups/index.d.mts +5 -0
  614. package/resources/supergroups/index.d.mts.map +1 -0
  615. package/resources/supergroups/index.d.ts +5 -0
  616. package/resources/supergroups/index.d.ts.map +1 -0
  617. package/resources/supergroups/index.js +13 -0
  618. package/resources/supergroups/index.js.map +1 -0
  619. package/resources/supergroups/index.mjs +6 -0
  620. package/resources/supergroups/index.mjs.map +1 -0
  621. package/resources/supergroups/members.d.mts +42 -0
  622. package/resources/supergroups/members.d.mts.map +1 -0
  623. package/resources/supergroups/members.d.ts +42 -0
  624. package/resources/supergroups/members.d.ts.map +1 -0
  625. package/resources/supergroups/members.js +23 -0
  626. package/resources/supergroups/members.js.map +1 -0
  627. package/resources/supergroups/members.mjs +19 -0
  628. package/resources/supergroups/members.mjs.map +1 -0
  629. package/resources/supergroups/supergroups.d.mts +123 -0
  630. package/resources/supergroups/supergroups.d.mts.map +1 -0
  631. package/resources/supergroups/supergroups.d.ts +123 -0
  632. package/resources/supergroups/supergroups.d.ts.map +1 -0
  633. package/resources/supergroups/supergroups.js +43 -0
  634. package/resources/supergroups/supergroups.js.map +1 -0
  635. package/resources/supergroups/supergroups.mjs +38 -0
  636. package/resources/supergroups/supergroups.mjs.map +1 -0
  637. package/resources/supergroups.d.mts +2 -0
  638. package/resources/supergroups.d.mts.map +1 -0
  639. package/resources/supergroups.d.ts +2 -0
  640. package/resources/supergroups.d.ts.map +1 -0
  641. package/resources/supergroups.js +6 -0
  642. package/resources/supergroups.js.map +1 -0
  643. package/resources/supergroups.mjs +3 -0
  644. package/resources/supergroups.mjs.map +1 -0
  645. package/resources/teams.d.mts +64 -0
  646. package/resources/teams.d.mts.map +1 -0
  647. package/resources/teams.d.ts +64 -0
  648. package/resources/teams.d.ts.map +1 -0
  649. package/resources/teams.js +27 -0
  650. package/resources/teams.js.map +1 -0
  651. package/resources/teams.mjs +23 -0
  652. package/resources/teams.mjs.map +1 -0
  653. package/resources/time-cards.d.mts +156 -0
  654. package/resources/time-cards.d.mts.map +1 -0
  655. package/resources/time-cards.d.ts +156 -0
  656. package/resources/time-cards.d.ts.map +1 -0
  657. package/resources/time-cards.js +28 -0
  658. package/resources/time-cards.js.map +1 -0
  659. package/resources/time-cards.mjs +24 -0
  660. package/resources/time-cards.mjs.map +1 -0
  661. package/resources/time-entries.d.mts +1494 -0
  662. package/resources/time-entries.d.mts.map +1 -0
  663. package/resources/time-entries.d.ts +1494 -0
  664. package/resources/time-entries.d.ts.map +1 -0
  665. package/resources/time-entries.js +53 -0
  666. package/resources/time-entries.js.map +1 -0
  667. package/resources/time-entries.mjs +49 -0
  668. package/resources/time-entries.mjs.map +1 -0
  669. package/resources/tracks.d.mts +49 -0
  670. package/resources/tracks.d.mts.map +1 -0
  671. package/resources/tracks.d.ts +49 -0
  672. package/resources/tracks.d.ts.map +1 -0
  673. package/resources/tracks.js +26 -0
  674. package/resources/tracks.js.map +1 -0
  675. package/resources/tracks.mjs +22 -0
  676. package/resources/tracks.mjs.map +1 -0
  677. package/resources/users.d.mts +200 -0
  678. package/resources/users.d.mts.map +1 -0
  679. package/resources/users.d.ts +200 -0
  680. package/resources/users.d.ts.map +1 -0
  681. package/resources/users.js +26 -0
  682. package/resources/users.js.map +1 -0
  683. package/resources/users.mjs +22 -0
  684. package/resources/users.mjs.map +1 -0
  685. package/resources/work-locations.d.mts +54 -0
  686. package/resources/work-locations.d.mts.map +1 -0
  687. package/resources/work-locations.d.ts +54 -0
  688. package/resources/work-locations.d.ts.map +1 -0
  689. package/resources/work-locations.js +26 -0
  690. package/resources/work-locations.js.map +1 -0
  691. package/resources/work-locations.mjs +22 -0
  692. package/resources/work-locations.mjs.map +1 -0
  693. package/resources/workers.d.mts +298 -0
  694. package/resources/workers.d.mts.map +1 -0
  695. package/resources/workers.d.ts +298 -0
  696. package/resources/workers.d.ts.map +1 -0
  697. package/resources/workers.js +31 -0
  698. package/resources/workers.js.map +1 -0
  699. package/resources/workers.mjs +27 -0
  700. package/resources/workers.mjs.map +1 -0
  701. package/resources.d.mts +2 -0
  702. package/resources.d.mts.map +1 -0
  703. package/resources.d.ts +2 -0
  704. package/resources.d.ts.map +1 -0
  705. package/resources.js +5 -0
  706. package/resources.js.map +1 -0
  707. package/resources.mjs +2 -0
  708. package/resources.mjs.map +1 -0
  709. package/src/api-promise.ts +2 -0
  710. package/src/client.ts +1518 -0
  711. package/src/core/README.md +3 -0
  712. package/src/core/api-promise.ts +92 -0
  713. package/src/core/error.ts +130 -0
  714. package/src/core/pagination.ts +155 -0
  715. package/src/core/resource.ts +11 -0
  716. package/src/core/uploads.ts +2 -0
  717. package/src/error.ts +2 -0
  718. package/src/functions.ts +114 -0
  719. package/src/index.ts +25 -0
  720. package/src/internal/README.md +3 -0
  721. package/src/internal/builtin-types.ts +93 -0
  722. package/src/internal/detect-platform.ts +196 -0
  723. package/src/internal/errors.ts +33 -0
  724. package/src/internal/headers.ts +97 -0
  725. package/src/internal/parse.ts +50 -0
  726. package/src/internal/request-options.ts +91 -0
  727. package/src/internal/shim-types.ts +26 -0
  728. package/src/internal/shims.ts +107 -0
  729. package/src/internal/to-file.ts +154 -0
  730. package/src/internal/types.ts +95 -0
  731. package/src/internal/uploads.ts +187 -0
  732. package/src/internal/utils/base64.ts +40 -0
  733. package/src/internal/utils/bytes.ts +32 -0
  734. package/src/internal/utils/env.ts +18 -0
  735. package/src/internal/utils/log.ts +126 -0
  736. package/src/internal/utils/path.ts +88 -0
  737. package/src/internal/utils/sleep.ts +3 -0
  738. package/src/internal/utils/uuid.ts +17 -0
  739. package/src/internal/utils/values.ts +105 -0
  740. package/src/internal/utils.ts +8 -0
  741. package/src/lib/.keep +4 -0
  742. package/src/pagination.ts +2 -0
  743. package/src/resource.ts +2 -0
  744. package/src/resources/business-partner-groups.ts +146 -0
  745. package/src/resources/business-partners.ts +190 -0
  746. package/src/resources/candidate-applications.ts +91 -0
  747. package/src/resources/candidates.ts +79 -0
  748. package/src/resources/companies.ts +110 -0
  749. package/src/resources/compensations.ts +313 -0
  750. package/src/resources/custom-fields.ts +93 -0
  751. package/src/resources/custom-objects/custom-objects.ts +206 -0
  752. package/src/resources/custom-objects/fields.ts +199 -0
  753. package/src/resources/custom-objects/index.ts +32 -0
  754. package/src/resources/custom-objects/records.ts +282 -0
  755. package/src/resources/custom-objects.ts +3 -0
  756. package/src/resources/departments.ts +115 -0
  757. package/src/resources/employment-types.ts +107 -0
  758. package/src/resources/entitlements.ts +44 -0
  759. package/src/resources/functions/deployments.ts +209 -0
  760. package/src/resources/functions/executions.ts +273 -0
  761. package/src/resources/functions/functions.ts +229 -0
  762. package/src/resources/functions/index.ts +32 -0
  763. package/src/resources/functions.ts +3 -0
  764. package/src/resources/headcount-positions.ts +1767 -0
  765. package/src/resources/headcount-priorities.ts +95 -0
  766. package/src/resources/index.ts +322 -0
  767. package/src/resources/job-assignments.ts +227 -0
  768. package/src/resources/job-codes.ts +466 -0
  769. package/src/resources/job-dimensions.ts +201 -0
  770. package/src/resources/job-functions.ts +95 -0
  771. package/src/resources/job-pay-rate-exceptions.ts +144 -0
  772. package/src/resources/job-requisitions.ts +61 -0
  773. package/src/resources/kiosk-badges.ts +343 -0
  774. package/src/resources/leave-balances.ts +125 -0
  775. package/src/resources/leave-requests.ts +928 -0
  776. package/src/resources/leave-types.ts +95 -0
  777. package/src/resources/legal-entities.ts +406 -0
  778. package/src/resources/levels.ts +128 -0
  779. package/src/resources/location-factors.ts +643 -0
  780. package/src/resources/object-categories.ts +107 -0
  781. package/src/resources/schedules.ts +187 -0
  782. package/src/resources/shared.ts +313 -0
  783. package/src/resources/shift-inputs.ts +398 -0
  784. package/src/resources/shiftassignments.ts +580 -0
  785. package/src/resources/sso-me.ts +60 -0
  786. package/src/resources/supergroups/exclusion-members.ts +88 -0
  787. package/src/resources/supergroups/inclusion-members.ts +88 -0
  788. package/src/resources/supergroups/index.ts +22 -0
  789. package/src/resources/supergroups/members.ts +66 -0
  790. package/src/resources/supergroups/supergroups.ts +199 -0
  791. package/src/resources/supergroups.ts +3 -0
  792. package/src/resources/teams.ts +96 -0
  793. package/src/resources/time-cards.ts +209 -0
  794. package/src/resources/time-entries.ts +1860 -0
  795. package/src/resources/tracks.ts +72 -0
  796. package/src/resources/users.ts +255 -0
  797. package/src/resources/work-locations.ts +78 -0
  798. package/src/resources/workers.ts +906 -0
  799. package/src/resources.ts +1 -0
  800. package/src/tsconfig.json +11 -0
  801. package/src/uploads.ts +2 -0
  802. package/src/version.ts +1 -0
  803. package/uploads.d.mts +2 -0
  804. package/uploads.d.mts.map +1 -0
  805. package/uploads.d.ts +2 -0
  806. package/uploads.d.ts.map +1 -0
  807. package/uploads.js +6 -0
  808. package/uploads.js.map +1 -0
  809. package/uploads.mjs +2 -0
  810. package/uploads.mjs.map +1 -0
  811. package/version.d.mts +2 -0
  812. package/version.d.mts.map +1 -0
  813. package/version.d.ts +2 -0
  814. package/version.d.ts.map +1 -0
  815. package/version.js +5 -0
  816. package/version.js.map +1 -0
  817. package/version.mjs +2 -0
  818. package/version.mjs.map +1 -0
@@ -0,0 +1,1767 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import * as BusinessPartnersAPI from './business-partners';
5
+ import * as DepartmentsAPI from './departments';
6
+ import * as EmploymentTypesAPI from './employment-types';
7
+ import * as JobRequisitionsAPI from './job-requisitions';
8
+ import * as LevelsAPI from './levels';
9
+ import * as TeamsAPI from './teams';
10
+ import * as WorkLocationsAPI from './work-locations';
11
+ import * as WorkersAPI from './workers';
12
+ import { APIPromise } from '../core/api-promise';
13
+ import { PageCursorURL, PagePromise } from '../core/pagination';
14
+ import { RequestOptions } from '../internal/request-options';
15
+ import { path } from '../internal/utils/path';
16
+
17
+ export class HeadcountPositions extends APIResource {
18
+ /**
19
+ * Retrieve a specific headcount position
20
+ */
21
+ retrieve(
22
+ id: string,
23
+ query: HeadcountPositionRetrieveParams | null | undefined = {},
24
+ options?: RequestOptions,
25
+ ): APIPromise<HeadcountPositionRetrieveResponse> {
26
+ return this._client.get(path`/headcount-positions/${id}`, { query, ...options });
27
+ }
28
+
29
+ /**
30
+ * A List of headcount positions
31
+ *
32
+ * - Requires: `Internal Testing`
33
+ * - Filterable fields: `created_at`, `position_id`, `position_type`,
34
+ * `position_sub_type`, `department_id`, `work_location_id`, `level_id`,
35
+ * `teams_id`, `job_requisition_id`, `recruiter_id`, `headcount_owner_id`,
36
+ * `worker_id`, `backfill_for_id`, `employment_type_id`, `in_budget`,
37
+ * `target_start_date`, `current_start_date`, `job_function_id`, `priority_id`
38
+ * - Expandable fields: `department`, `work_location`, `level`, `teams`,
39
+ * `job_requisition`, `recruiter`, `headcount_owner`, `worker`, `backfill_for`,
40
+ * `employment_type`, `priority`, `job_function`, `location_factor`
41
+ * - Sortable fields: `id`, `created_at`, `updated_at`, `position_id`,
42
+ * `position_type`, `position_sub_type`, `department_id`, `work_location_id`,
43
+ * `level_id`, `job_requisition_id`, `recruiter_id`, `headcount_owner_id`,
44
+ * `worker_id`, `backfill_for_id`, `employment_type_id`, `in_budget`,
45
+ * `target_start_date`, `current_start_date`, `priority_id`, `job_function_id`
46
+ */
47
+ list(
48
+ query: HeadcountPositionListParams | null | undefined = {},
49
+ options?: RequestOptions,
50
+ ): PagePromise<HeadcountPositionListResponsesPageCursorURL, HeadcountPositionListResponse> {
51
+ return this._client.getAPIList('/headcount-positions', PageCursorURL<HeadcountPositionListResponse>, {
52
+ query,
53
+ ...options,
54
+ });
55
+ }
56
+ }
57
+
58
+ export type HeadcountPositionListResponsesPageCursorURL = PageCursorURL<HeadcountPositionListResponse>;
59
+
60
+ /**
61
+ * Meta information for the response.
62
+ */
63
+ export interface HeadcountPositionRetrieveResponse extends BusinessPartnersAPI.Meta {
64
+ /**
65
+ * Identifier field
66
+ */
67
+ id: string;
68
+
69
+ /**
70
+ * Record creation date
71
+ */
72
+ created_at: string;
73
+
74
+ /**
75
+ * Record update date
76
+ */
77
+ updated_at: string;
78
+
79
+ /**
80
+ * Compensation data synched from worker compensation
81
+ */
82
+ actual_compensation?: HeadcountPositionRetrieveResponse.ActualCompensation;
83
+
84
+ /**
85
+ * Worker for whom this headcount position was requested as a backfill
86
+ *
87
+ * Expandable field
88
+ */
89
+ backfill_for?: WorkersAPI.Worker;
90
+
91
+ /**
92
+ * ID of the worker for whom this headcount position was requested as a backfill
93
+ */
94
+ backfill_for_id?: string;
95
+
96
+ /**
97
+ * Compensation data defined through comp band
98
+ */
99
+ comp_band_compensation?: HeadcountPositionRetrieveResponse.CompBandCompensation;
100
+
101
+ /**
102
+ * Most recent start date estimate or the actual hire date if already filled
103
+ */
104
+ current_start_date?: string;
105
+
106
+ /**
107
+ * Department the headcount belongs to
108
+ *
109
+ * Expandable field
110
+ */
111
+ department?: DepartmentsAPI.Department;
112
+
113
+ /**
114
+ * ID for the department the headcount belongs to
115
+ */
116
+ department_id?: string;
117
+
118
+ /**
119
+ * Employment type the headcount is assigned to
120
+ *
121
+ * Expandable field
122
+ */
123
+ employment_type?: EmploymentTypesAPI.CompanyEmploymentType;
124
+
125
+ /**
126
+ * ID for the employment type the headcount is assigned to
127
+ */
128
+ employment_type_id?: string;
129
+
130
+ /**
131
+ * Targeted end date for the headcount
132
+ */
133
+ end_date?: string;
134
+
135
+ /**
136
+ * Owner of the headcount
137
+ *
138
+ * Expandable field
139
+ */
140
+ headcount_owner?: WorkersAPI.Worker;
141
+
142
+ /**
143
+ * ID for the headcount owner
144
+ */
145
+ headcount_owner_id?: string;
146
+
147
+ /**
148
+ * Whether the headcount position is in budget
149
+ */
150
+ in_budget?: boolean;
151
+
152
+ /**
153
+ * Job function assigned to this headcount
154
+ *
155
+ * Expandable field
156
+ */
157
+ job_function?: HeadcountPositionRetrieveResponse.JobFunction;
158
+
159
+ /**
160
+ * ID for the job function the headcount is assigned to
161
+ */
162
+ job_function_id?: string;
163
+
164
+ /**
165
+ * Job requisition the headcount is associated with
166
+ *
167
+ * Expandable field
168
+ */
169
+ job_requisition?: JobRequisitionsAPI.JobRequisition;
170
+
171
+ /**
172
+ * ID for the job requisition the headcount is associated with
173
+ */
174
+ job_requisition_id?: string;
175
+
176
+ /**
177
+ * Level the headcount is assigned to
178
+ *
179
+ * Expandable field
180
+ */
181
+ level?: LevelsAPI.Level;
182
+
183
+ /**
184
+ * ID for the level the headcount is assigned to
185
+ */
186
+ level_id?: string;
187
+
188
+ /**
189
+ * Location factor assigned to this headcount
190
+ *
191
+ * Expandable field
192
+ */
193
+ location_factor?: HeadcountPositionRetrieveResponse.LocationFactor;
194
+
195
+ /**
196
+ * ID for the location factor the headcount is assigned to
197
+ */
198
+ location_factor_id?: string;
199
+
200
+ /**
201
+ * Headcount notes
202
+ */
203
+ notes?: string;
204
+
205
+ /**
206
+ * Position name for the headcount, for ex PID100037
207
+ */
208
+ position_id?: string;
209
+
210
+ /**
211
+ * More granular type of headcount position, such as BACKFILL,
212
+ * FORECASTED_ATTRITION, HIRING_STAGE, etc.
213
+ */
214
+ position_sub_type?: string;
215
+
216
+ /**
217
+ * Type of headcount position, such as ACTIVE or OPEN_HEADCOUNT
218
+ */
219
+ position_type?: string;
220
+
221
+ /**
222
+ * Priority assigned to this headcount
223
+ *
224
+ * Expandable field
225
+ */
226
+ priority?: HeadcountPositionRetrieveResponse.Priority;
227
+
228
+ /**
229
+ * ID for the headcount priority
230
+ */
231
+ priority_id?: string;
232
+
233
+ /**
234
+ * Recruiter working on filling the position
235
+ *
236
+ * Expandable field
237
+ */
238
+ recruiter?: WorkersAPI.Worker;
239
+
240
+ /**
241
+ * ID for the recruiter working on filling the position
242
+ */
243
+ recruiter_id?: string;
244
+
245
+ /**
246
+ * The estimated start date when the position was first created
247
+ */
248
+ target_start_date?: string;
249
+
250
+ /**
251
+ * Teams the headcount belongs to
252
+ *
253
+ * Expandable field
254
+ */
255
+ teams?: Array<TeamsAPI.Team>;
256
+
257
+ /**
258
+ * IDs for the teams the headcount belongs to
259
+ */
260
+ teams_id?: Array<string>;
261
+
262
+ /**
263
+ * Job title for the position. For a vacant headcount position, this can be defined
264
+ * on creation. Once the position is occupied, it’s synched from the associated
265
+ * worker’s job title.
266
+ */
267
+ title?: string;
268
+
269
+ /**
270
+ * Work location the headcount is assigned to
271
+ *
272
+ * Expandable field
273
+ */
274
+ work_location?: WorkLocationsAPI.WorkLocation;
275
+
276
+ /**
277
+ * ID for the work location the headcount is assigned to
278
+ */
279
+ work_location_id?: string;
280
+
281
+ /**
282
+ * Worker hired into the headcount
283
+ *
284
+ * Expandable field
285
+ */
286
+ worker?: WorkersAPI.Worker;
287
+
288
+ /**
289
+ * ID for the worker hired into the headcount
290
+ */
291
+ worker_id?: string;
292
+ }
293
+
294
+ export namespace HeadcountPositionRetrieveResponse {
295
+ /**
296
+ * Compensation data synched from worker compensation
297
+ */
298
+ export interface ActualCompensation {
299
+ /**
300
+ * Annual base pay for the headcount position
301
+ */
302
+ base_pay?: ActualCompensation.BasePay;
303
+
304
+ /**
305
+ * Annual bonus for the headcount position
306
+ */
307
+ bonus?: ActualCompensation.Bonus;
308
+
309
+ /**
310
+ * Annual on target commission for the headcount position
311
+ */
312
+ commission?: ActualCompensation.Commission;
313
+
314
+ /**
315
+ * Annual total taxes and benefits compensation for this headcount position
316
+ */
317
+ tax_and_benefits?: ActualCompensation.TaxAndBenefits;
318
+
319
+ /**
320
+ * Annual total cash compensation for the headcount position
321
+ */
322
+ total_cash?: ActualCompensation.TotalCash;
323
+
324
+ /**
325
+ * Annual total equity compensation for the headcount position
326
+ */
327
+ total_equity?: ActualCompensation.TotalEquity;
328
+ }
329
+
330
+ export namespace ActualCompensation {
331
+ /**
332
+ * Annual base pay for the headcount position
333
+ */
334
+ export interface BasePay {
335
+ /**
336
+ * The currency type, ex: USD, EUR, etc.
337
+ */
338
+ currency_type?: string;
339
+
340
+ /**
341
+ * The decimal amount for the currency.
342
+ */
343
+ value?: number;
344
+ }
345
+
346
+ /**
347
+ * Annual bonus for the headcount position
348
+ */
349
+ export interface Bonus {
350
+ /**
351
+ * The currency type, ex: USD, EUR, etc.
352
+ */
353
+ currency_type?: string;
354
+
355
+ /**
356
+ * The decimal amount for the currency.
357
+ */
358
+ value?: number;
359
+ }
360
+
361
+ /**
362
+ * Annual on target commission for the headcount position
363
+ */
364
+ export interface Commission {
365
+ /**
366
+ * The currency type, ex: USD, EUR, etc.
367
+ */
368
+ currency_type?: string;
369
+
370
+ /**
371
+ * The decimal amount for the currency.
372
+ */
373
+ value?: number;
374
+ }
375
+
376
+ /**
377
+ * Annual total taxes and benefits compensation for this headcount position
378
+ */
379
+ export interface TaxAndBenefits {
380
+ /**
381
+ * The currency type, ex: USD, EUR, etc.
382
+ */
383
+ currency_type?: string;
384
+
385
+ /**
386
+ * The decimal amount for the currency.
387
+ */
388
+ value?: number;
389
+ }
390
+
391
+ /**
392
+ * Annual total cash compensation for the headcount position
393
+ */
394
+ export interface TotalCash {
395
+ /**
396
+ * The currency type, ex: USD, EUR, etc.
397
+ */
398
+ currency_type?: string;
399
+
400
+ /**
401
+ * The decimal amount for the currency.
402
+ */
403
+ value?: number;
404
+ }
405
+
406
+ /**
407
+ * Annual total equity compensation for the headcount position
408
+ */
409
+ export interface TotalEquity {
410
+ /**
411
+ * The currency type, ex: USD, EUR, etc.
412
+ */
413
+ currency_type?: string;
414
+
415
+ /**
416
+ * The decimal amount for the currency.
417
+ */
418
+ value?: number;
419
+ }
420
+ }
421
+
422
+ /**
423
+ * Compensation data defined through comp band
424
+ */
425
+ export interface CompBandCompensation {
426
+ /**
427
+ * Annual base pay for the headcount position
428
+ */
429
+ base_pay?: CompBandCompensation.BasePay;
430
+
431
+ /**
432
+ * Annual bonus for the headcount position
433
+ */
434
+ bonus?: CompBandCompensation.Bonus;
435
+
436
+ /**
437
+ * Annual on target commission for the headcount position
438
+ */
439
+ commission?: CompBandCompensation.Commission;
440
+
441
+ /**
442
+ * Annual total taxes and benefits compensation for this headcount position
443
+ */
444
+ tax_and_benefits?: CompBandCompensation.TaxAndBenefits;
445
+
446
+ /**
447
+ * Annual total cash compensation for the headcount position
448
+ */
449
+ total_cash?: CompBandCompensation.TotalCash;
450
+
451
+ /**
452
+ * Annual total equity compensation for the headcount position
453
+ */
454
+ total_equity?: CompBandCompensation.TotalEquity;
455
+ }
456
+
457
+ export namespace CompBandCompensation {
458
+ /**
459
+ * Annual base pay for the headcount position
460
+ */
461
+ export interface BasePay {
462
+ /**
463
+ * The currency type, ex: USD, EUR, etc.
464
+ */
465
+ currency_type?: string;
466
+
467
+ /**
468
+ * The decimal amount for the currency.
469
+ */
470
+ value?: number;
471
+ }
472
+
473
+ /**
474
+ * Annual bonus for the headcount position
475
+ */
476
+ export interface Bonus {
477
+ /**
478
+ * The currency type, ex: USD, EUR, etc.
479
+ */
480
+ currency_type?: string;
481
+
482
+ /**
483
+ * The decimal amount for the currency.
484
+ */
485
+ value?: number;
486
+ }
487
+
488
+ /**
489
+ * Annual on target commission for the headcount position
490
+ */
491
+ export interface Commission {
492
+ /**
493
+ * The currency type, ex: USD, EUR, etc.
494
+ */
495
+ currency_type?: string;
496
+
497
+ /**
498
+ * The decimal amount for the currency.
499
+ */
500
+ value?: number;
501
+ }
502
+
503
+ /**
504
+ * Annual total taxes and benefits compensation for this headcount position
505
+ */
506
+ export interface TaxAndBenefits {
507
+ /**
508
+ * The currency type, ex: USD, EUR, etc.
509
+ */
510
+ currency_type?: string;
511
+
512
+ /**
513
+ * The decimal amount for the currency.
514
+ */
515
+ value?: number;
516
+ }
517
+
518
+ /**
519
+ * Annual total cash compensation for the headcount position
520
+ */
521
+ export interface TotalCash {
522
+ /**
523
+ * The currency type, ex: USD, EUR, etc.
524
+ */
525
+ currency_type?: string;
526
+
527
+ /**
528
+ * The decimal amount for the currency.
529
+ */
530
+ value?: number;
531
+ }
532
+
533
+ /**
534
+ * Annual total equity compensation for the headcount position
535
+ */
536
+ export interface TotalEquity {
537
+ /**
538
+ * The currency type, ex: USD, EUR, etc.
539
+ */
540
+ currency_type?: string;
541
+
542
+ /**
543
+ * The decimal amount for the currency.
544
+ */
545
+ value?: number;
546
+ }
547
+ }
548
+
549
+ /**
550
+ * Job function assigned to this headcount
551
+ *
552
+ * Expandable field
553
+ */
554
+ export interface JobFunction {
555
+ /**
556
+ * Identifier field
557
+ */
558
+ id: string;
559
+
560
+ /**
561
+ * Record creation date
562
+ */
563
+ created_at: string;
564
+
565
+ /**
566
+ * Record update date
567
+ */
568
+ updated_at: string;
569
+
570
+ /**
571
+ * Displayed name of the job function
572
+ */
573
+ name?: string;
574
+ }
575
+
576
+ /**
577
+ * Location factor assigned to this headcount
578
+ *
579
+ * Expandable field
580
+ */
581
+ export interface LocationFactor {
582
+ /**
583
+ * Identifier field
584
+ */
585
+ id: string;
586
+
587
+ /**
588
+ * Record creation date
589
+ */
590
+ created_at: string;
591
+
592
+ /**
593
+ * Record update date
594
+ */
595
+ updated_at: string;
596
+
597
+ /**
598
+ * Compensation adjustment percentage
599
+ */
600
+ adjustment_factor?: number;
601
+
602
+ /**
603
+ * Country information set to the country code
604
+ */
605
+ country?: LocationFactor.Country;
606
+
607
+ /**
608
+ * Human-readable name for the location factor
609
+ */
610
+ display_name?: string;
611
+
612
+ /**
613
+ * The labor market category (e.g., "Engineering", "Marketing", "Sales")
614
+ */
615
+ labour_bucket?: string;
616
+ }
617
+
618
+ export namespace LocationFactor {
619
+ /**
620
+ * Country information set to the country code
621
+ */
622
+ export interface Country {
623
+ /**
624
+ * The code of the country.
625
+ */
626
+ code:
627
+ | 'AF'
628
+ | 'AX'
629
+ | 'AL'
630
+ | 'DZ'
631
+ | 'AS'
632
+ | 'AD'
633
+ | 'AO'
634
+ | 'AI'
635
+ | 'AQ'
636
+ | 'AG'
637
+ | 'AR'
638
+ | 'AM'
639
+ | 'AW'
640
+ | 'AU'
641
+ | 'AT'
642
+ | 'AZ'
643
+ | 'BS'
644
+ | 'BH'
645
+ | 'BD'
646
+ | 'BB'
647
+ | 'BY'
648
+ | 'BE'
649
+ | 'BZ'
650
+ | 'BJ'
651
+ | 'BM'
652
+ | 'BT'
653
+ | 'BO'
654
+ | 'BQ'
655
+ | 'BA'
656
+ | 'BW'
657
+ | 'BV'
658
+ | 'BR'
659
+ | 'IO'
660
+ | 'BN'
661
+ | 'BG'
662
+ | 'BF'
663
+ | 'BI'
664
+ | 'CV'
665
+ | 'KH'
666
+ | 'CM'
667
+ | 'CA'
668
+ | 'KY'
669
+ | 'CF'
670
+ | 'TD'
671
+ | 'CL'
672
+ | 'CN'
673
+ | 'CX'
674
+ | 'CC'
675
+ | 'CO'
676
+ | 'KM'
677
+ | 'CG'
678
+ | 'CD'
679
+ | 'CK'
680
+ | 'CR'
681
+ | 'CI'
682
+ | 'HR'
683
+ | 'CW'
684
+ | 'CY'
685
+ | 'CZ'
686
+ | 'DK'
687
+ | 'DJ'
688
+ | 'DM'
689
+ | 'DO'
690
+ | 'EC'
691
+ | 'EG'
692
+ | 'SV'
693
+ | 'GQ'
694
+ | 'ER'
695
+ | 'EE'
696
+ | 'SZ'
697
+ | 'ET'
698
+ | 'FK'
699
+ | 'FO'
700
+ | 'FJ'
701
+ | 'FI'
702
+ | 'FR'
703
+ | 'GF'
704
+ | 'PF'
705
+ | 'TF'
706
+ | 'GA'
707
+ | 'GM'
708
+ | 'GE'
709
+ | 'DE'
710
+ | 'GH'
711
+ | 'GI'
712
+ | 'GR'
713
+ | 'GL'
714
+ | 'GD'
715
+ | 'GP'
716
+ | 'GU'
717
+ | 'GT'
718
+ | 'GG'
719
+ | 'GN'
720
+ | 'GW'
721
+ | 'GY'
722
+ | 'HT'
723
+ | 'HM'
724
+ | 'VA'
725
+ | 'HN'
726
+ | 'HK'
727
+ | 'HU'
728
+ | 'IS'
729
+ | 'IN'
730
+ | 'ID'
731
+ | 'IQ'
732
+ | 'IE'
733
+ | 'IM'
734
+ | 'IL'
735
+ | 'IT'
736
+ | 'JM'
737
+ | 'JP'
738
+ | 'JE'
739
+ | 'JO'
740
+ | 'KZ'
741
+ | 'KE'
742
+ | 'KI'
743
+ | 'KR'
744
+ | 'XK'
745
+ | 'KW'
746
+ | 'KG'
747
+ | 'LA'
748
+ | 'LV'
749
+ | 'LB'
750
+ | 'LS'
751
+ | 'LR'
752
+ | 'LY'
753
+ | 'LI'
754
+ | 'LT'
755
+ | 'LU'
756
+ | 'MO'
757
+ | 'MG'
758
+ | 'MW'
759
+ | 'MY'
760
+ | 'MV'
761
+ | 'ML'
762
+ | 'MT'
763
+ | 'MH'
764
+ | 'MQ'
765
+ | 'MR'
766
+ | 'MU'
767
+ | 'YT'
768
+ | 'MX'
769
+ | 'FM'
770
+ | 'MD'
771
+ | 'MC'
772
+ | 'MN'
773
+ | 'ME'
774
+ | 'MS'
775
+ | 'MA'
776
+ | 'MZ'
777
+ | 'MM'
778
+ | 'NA'
779
+ | 'NR'
780
+ | 'NP'
781
+ | 'NL'
782
+ | 'AN'
783
+ | 'NC'
784
+ | 'NZ'
785
+ | 'NI'
786
+ | 'NE'
787
+ | 'NG'
788
+ | 'NU'
789
+ | 'NF'
790
+ | 'MK'
791
+ | 'MP'
792
+ | 'NO'
793
+ | 'OM'
794
+ | 'PK'
795
+ | 'PW'
796
+ | 'PS'
797
+ | 'PA'
798
+ | 'PG'
799
+ | 'PY'
800
+ | 'PE'
801
+ | 'PH'
802
+ | 'PN'
803
+ | 'PL'
804
+ | 'PT'
805
+ | 'PR'
806
+ | 'QA'
807
+ | 'RO'
808
+ | 'RU'
809
+ | 'RW'
810
+ | 'RE'
811
+ | 'BL'
812
+ | 'SH'
813
+ | 'KN'
814
+ | 'LC'
815
+ | 'MF'
816
+ | 'PM'
817
+ | 'VC'
818
+ | 'WS'
819
+ | 'SM'
820
+ | 'ST'
821
+ | 'SA'
822
+ | 'SN'
823
+ | 'RS'
824
+ | 'SC'
825
+ | 'SL'
826
+ | 'SG'
827
+ | 'SX'
828
+ | 'SK'
829
+ | 'SI'
830
+ | 'SB'
831
+ | 'SO'
832
+ | 'ZA'
833
+ | 'GS'
834
+ | 'SS'
835
+ | 'ES'
836
+ | 'LK'
837
+ | 'SD'
838
+ | 'SR'
839
+ | 'SJ'
840
+ | 'SE'
841
+ | 'CH'
842
+ | 'TW'
843
+ | 'TJ'
844
+ | 'TZ'
845
+ | 'TH'
846
+ | 'TL'
847
+ | 'TG'
848
+ | 'TK'
849
+ | 'TO'
850
+ | 'TT'
851
+ | 'TN'
852
+ | 'TR'
853
+ | 'TM'
854
+ | 'TC'
855
+ | 'TV'
856
+ | 'UG'
857
+ | 'UA'
858
+ | 'AE'
859
+ | 'GB'
860
+ | 'US'
861
+ | 'UM'
862
+ | 'UY'
863
+ | 'UZ'
864
+ | 'VU'
865
+ | 'VE'
866
+ | 'VN'
867
+ | 'VG'
868
+ | 'VI'
869
+ | 'WF'
870
+ | 'EH'
871
+ | 'YE'
872
+ | 'ZM'
873
+ | 'ZW';
874
+ }
875
+ }
876
+
877
+ /**
878
+ * Priority assigned to this headcount
879
+ *
880
+ * Expandable field
881
+ */
882
+ export interface Priority {
883
+ /**
884
+ * Identifier field
885
+ */
886
+ id: string;
887
+
888
+ /**
889
+ * Record creation date
890
+ */
891
+ created_at: string;
892
+
893
+ /**
894
+ * Record update date
895
+ */
896
+ updated_at: string;
897
+
898
+ /**
899
+ * Display name of the headcount priority
900
+ */
901
+ name?: string;
902
+ }
903
+ }
904
+
905
+ export interface HeadcountPositionListResponse {
906
+ /**
907
+ * Identifier field
908
+ */
909
+ id: string;
910
+
911
+ /**
912
+ * Record creation date
913
+ */
914
+ created_at: string;
915
+
916
+ /**
917
+ * Record update date
918
+ */
919
+ updated_at: string;
920
+
921
+ /**
922
+ * Compensation data synched from worker compensation
923
+ */
924
+ actual_compensation?: HeadcountPositionListResponse.ActualCompensation;
925
+
926
+ /**
927
+ * Worker for whom this headcount position was requested as a backfill
928
+ *
929
+ * Expandable field
930
+ */
931
+ backfill_for?: WorkersAPI.Worker;
932
+
933
+ /**
934
+ * ID of the worker for whom this headcount position was requested as a backfill
935
+ */
936
+ backfill_for_id?: string;
937
+
938
+ /**
939
+ * Compensation data defined through comp band
940
+ */
941
+ comp_band_compensation?: HeadcountPositionListResponse.CompBandCompensation;
942
+
943
+ /**
944
+ * Most recent start date estimate or the actual hire date if already filled
945
+ */
946
+ current_start_date?: string;
947
+
948
+ /**
949
+ * Department the headcount belongs to
950
+ *
951
+ * Expandable field
952
+ */
953
+ department?: DepartmentsAPI.Department;
954
+
955
+ /**
956
+ * ID for the department the headcount belongs to
957
+ */
958
+ department_id?: string;
959
+
960
+ /**
961
+ * Employment type the headcount is assigned to
962
+ *
963
+ * Expandable field
964
+ */
965
+ employment_type?: EmploymentTypesAPI.CompanyEmploymentType;
966
+
967
+ /**
968
+ * ID for the employment type the headcount is assigned to
969
+ */
970
+ employment_type_id?: string;
971
+
972
+ /**
973
+ * Targeted end date for the headcount
974
+ */
975
+ end_date?: string;
976
+
977
+ /**
978
+ * Owner of the headcount
979
+ *
980
+ * Expandable field
981
+ */
982
+ headcount_owner?: WorkersAPI.Worker;
983
+
984
+ /**
985
+ * ID for the headcount owner
986
+ */
987
+ headcount_owner_id?: string;
988
+
989
+ /**
990
+ * Whether the headcount position is in budget
991
+ */
992
+ in_budget?: boolean;
993
+
994
+ /**
995
+ * Job function assigned to this headcount
996
+ *
997
+ * Expandable field
998
+ */
999
+ job_function?: HeadcountPositionListResponse.JobFunction;
1000
+
1001
+ /**
1002
+ * ID for the job function the headcount is assigned to
1003
+ */
1004
+ job_function_id?: string;
1005
+
1006
+ /**
1007
+ * Job requisition the headcount is associated with
1008
+ *
1009
+ * Expandable field
1010
+ */
1011
+ job_requisition?: JobRequisitionsAPI.JobRequisition;
1012
+
1013
+ /**
1014
+ * ID for the job requisition the headcount is associated with
1015
+ */
1016
+ job_requisition_id?: string;
1017
+
1018
+ /**
1019
+ * Level the headcount is assigned to
1020
+ *
1021
+ * Expandable field
1022
+ */
1023
+ level?: LevelsAPI.Level;
1024
+
1025
+ /**
1026
+ * ID for the level the headcount is assigned to
1027
+ */
1028
+ level_id?: string;
1029
+
1030
+ /**
1031
+ * Location factor assigned to this headcount
1032
+ *
1033
+ * Expandable field
1034
+ */
1035
+ location_factor?: HeadcountPositionListResponse.LocationFactor;
1036
+
1037
+ /**
1038
+ * ID for the location factor the headcount is assigned to
1039
+ */
1040
+ location_factor_id?: string;
1041
+
1042
+ /**
1043
+ * Headcount notes
1044
+ */
1045
+ notes?: string;
1046
+
1047
+ /**
1048
+ * Position name for the headcount, for ex PID100037
1049
+ */
1050
+ position_id?: string;
1051
+
1052
+ /**
1053
+ * More granular type of headcount position, such as BACKFILL,
1054
+ * FORECASTED_ATTRITION, HIRING_STAGE, etc.
1055
+ */
1056
+ position_sub_type?: string;
1057
+
1058
+ /**
1059
+ * Type of headcount position, such as ACTIVE or OPEN_HEADCOUNT
1060
+ */
1061
+ position_type?: string;
1062
+
1063
+ /**
1064
+ * Priority assigned to this headcount
1065
+ *
1066
+ * Expandable field
1067
+ */
1068
+ priority?: HeadcountPositionListResponse.Priority;
1069
+
1070
+ /**
1071
+ * ID for the headcount priority
1072
+ */
1073
+ priority_id?: string;
1074
+
1075
+ /**
1076
+ * Recruiter working on filling the position
1077
+ *
1078
+ * Expandable field
1079
+ */
1080
+ recruiter?: WorkersAPI.Worker;
1081
+
1082
+ /**
1083
+ * ID for the recruiter working on filling the position
1084
+ */
1085
+ recruiter_id?: string;
1086
+
1087
+ /**
1088
+ * The estimated start date when the position was first created
1089
+ */
1090
+ target_start_date?: string;
1091
+
1092
+ /**
1093
+ * Teams the headcount belongs to
1094
+ *
1095
+ * Expandable field
1096
+ */
1097
+ teams?: Array<TeamsAPI.Team>;
1098
+
1099
+ /**
1100
+ * IDs for the teams the headcount belongs to
1101
+ */
1102
+ teams_id?: Array<string>;
1103
+
1104
+ /**
1105
+ * Job title for the position. For a vacant headcount position, this can be defined
1106
+ * on creation. Once the position is occupied, it’s synched from the associated
1107
+ * worker’s job title.
1108
+ */
1109
+ title?: string;
1110
+
1111
+ /**
1112
+ * Work location the headcount is assigned to
1113
+ *
1114
+ * Expandable field
1115
+ */
1116
+ work_location?: WorkLocationsAPI.WorkLocation;
1117
+
1118
+ /**
1119
+ * ID for the work location the headcount is assigned to
1120
+ */
1121
+ work_location_id?: string;
1122
+
1123
+ /**
1124
+ * Worker hired into the headcount
1125
+ *
1126
+ * Expandable field
1127
+ */
1128
+ worker?: WorkersAPI.Worker;
1129
+
1130
+ /**
1131
+ * ID for the worker hired into the headcount
1132
+ */
1133
+ worker_id?: string;
1134
+ }
1135
+
1136
+ export namespace HeadcountPositionListResponse {
1137
+ /**
1138
+ * Compensation data synched from worker compensation
1139
+ */
1140
+ export interface ActualCompensation {
1141
+ /**
1142
+ * Annual base pay for the headcount position
1143
+ */
1144
+ base_pay?: ActualCompensation.BasePay;
1145
+
1146
+ /**
1147
+ * Annual bonus for the headcount position
1148
+ */
1149
+ bonus?: ActualCompensation.Bonus;
1150
+
1151
+ /**
1152
+ * Annual on target commission for the headcount position
1153
+ */
1154
+ commission?: ActualCompensation.Commission;
1155
+
1156
+ /**
1157
+ * Annual total taxes and benefits compensation for this headcount position
1158
+ */
1159
+ tax_and_benefits?: ActualCompensation.TaxAndBenefits;
1160
+
1161
+ /**
1162
+ * Annual total cash compensation for the headcount position
1163
+ */
1164
+ total_cash?: ActualCompensation.TotalCash;
1165
+
1166
+ /**
1167
+ * Annual total equity compensation for the headcount position
1168
+ */
1169
+ total_equity?: ActualCompensation.TotalEquity;
1170
+ }
1171
+
1172
+ export namespace ActualCompensation {
1173
+ /**
1174
+ * Annual base pay for the headcount position
1175
+ */
1176
+ export interface BasePay {
1177
+ /**
1178
+ * The currency type, ex: USD, EUR, etc.
1179
+ */
1180
+ currency_type?: string;
1181
+
1182
+ /**
1183
+ * The decimal amount for the currency.
1184
+ */
1185
+ value?: number;
1186
+ }
1187
+
1188
+ /**
1189
+ * Annual bonus for the headcount position
1190
+ */
1191
+ export interface Bonus {
1192
+ /**
1193
+ * The currency type, ex: USD, EUR, etc.
1194
+ */
1195
+ currency_type?: string;
1196
+
1197
+ /**
1198
+ * The decimal amount for the currency.
1199
+ */
1200
+ value?: number;
1201
+ }
1202
+
1203
+ /**
1204
+ * Annual on target commission for the headcount position
1205
+ */
1206
+ export interface Commission {
1207
+ /**
1208
+ * The currency type, ex: USD, EUR, etc.
1209
+ */
1210
+ currency_type?: string;
1211
+
1212
+ /**
1213
+ * The decimal amount for the currency.
1214
+ */
1215
+ value?: number;
1216
+ }
1217
+
1218
+ /**
1219
+ * Annual total taxes and benefits compensation for this headcount position
1220
+ */
1221
+ export interface TaxAndBenefits {
1222
+ /**
1223
+ * The currency type, ex: USD, EUR, etc.
1224
+ */
1225
+ currency_type?: string;
1226
+
1227
+ /**
1228
+ * The decimal amount for the currency.
1229
+ */
1230
+ value?: number;
1231
+ }
1232
+
1233
+ /**
1234
+ * Annual total cash compensation for the headcount position
1235
+ */
1236
+ export interface TotalCash {
1237
+ /**
1238
+ * The currency type, ex: USD, EUR, etc.
1239
+ */
1240
+ currency_type?: string;
1241
+
1242
+ /**
1243
+ * The decimal amount for the currency.
1244
+ */
1245
+ value?: number;
1246
+ }
1247
+
1248
+ /**
1249
+ * Annual total equity compensation for the headcount position
1250
+ */
1251
+ export interface TotalEquity {
1252
+ /**
1253
+ * The currency type, ex: USD, EUR, etc.
1254
+ */
1255
+ currency_type?: string;
1256
+
1257
+ /**
1258
+ * The decimal amount for the currency.
1259
+ */
1260
+ value?: number;
1261
+ }
1262
+ }
1263
+
1264
+ /**
1265
+ * Compensation data defined through comp band
1266
+ */
1267
+ export interface CompBandCompensation {
1268
+ /**
1269
+ * Annual base pay for the headcount position
1270
+ */
1271
+ base_pay?: CompBandCompensation.BasePay;
1272
+
1273
+ /**
1274
+ * Annual bonus for the headcount position
1275
+ */
1276
+ bonus?: CompBandCompensation.Bonus;
1277
+
1278
+ /**
1279
+ * Annual on target commission for the headcount position
1280
+ */
1281
+ commission?: CompBandCompensation.Commission;
1282
+
1283
+ /**
1284
+ * Annual total taxes and benefits compensation for this headcount position
1285
+ */
1286
+ tax_and_benefits?: CompBandCompensation.TaxAndBenefits;
1287
+
1288
+ /**
1289
+ * Annual total cash compensation for the headcount position
1290
+ */
1291
+ total_cash?: CompBandCompensation.TotalCash;
1292
+
1293
+ /**
1294
+ * Annual total equity compensation for the headcount position
1295
+ */
1296
+ total_equity?: CompBandCompensation.TotalEquity;
1297
+ }
1298
+
1299
+ export namespace CompBandCompensation {
1300
+ /**
1301
+ * Annual base pay for the headcount position
1302
+ */
1303
+ export interface BasePay {
1304
+ /**
1305
+ * The currency type, ex: USD, EUR, etc.
1306
+ */
1307
+ currency_type?: string;
1308
+
1309
+ /**
1310
+ * The decimal amount for the currency.
1311
+ */
1312
+ value?: number;
1313
+ }
1314
+
1315
+ /**
1316
+ * Annual bonus for the headcount position
1317
+ */
1318
+ export interface Bonus {
1319
+ /**
1320
+ * The currency type, ex: USD, EUR, etc.
1321
+ */
1322
+ currency_type?: string;
1323
+
1324
+ /**
1325
+ * The decimal amount for the currency.
1326
+ */
1327
+ value?: number;
1328
+ }
1329
+
1330
+ /**
1331
+ * Annual on target commission for the headcount position
1332
+ */
1333
+ export interface Commission {
1334
+ /**
1335
+ * The currency type, ex: USD, EUR, etc.
1336
+ */
1337
+ currency_type?: string;
1338
+
1339
+ /**
1340
+ * The decimal amount for the currency.
1341
+ */
1342
+ value?: number;
1343
+ }
1344
+
1345
+ /**
1346
+ * Annual total taxes and benefits compensation for this headcount position
1347
+ */
1348
+ export interface TaxAndBenefits {
1349
+ /**
1350
+ * The currency type, ex: USD, EUR, etc.
1351
+ */
1352
+ currency_type?: string;
1353
+
1354
+ /**
1355
+ * The decimal amount for the currency.
1356
+ */
1357
+ value?: number;
1358
+ }
1359
+
1360
+ /**
1361
+ * Annual total cash compensation for the headcount position
1362
+ */
1363
+ export interface TotalCash {
1364
+ /**
1365
+ * The currency type, ex: USD, EUR, etc.
1366
+ */
1367
+ currency_type?: string;
1368
+
1369
+ /**
1370
+ * The decimal amount for the currency.
1371
+ */
1372
+ value?: number;
1373
+ }
1374
+
1375
+ /**
1376
+ * Annual total equity compensation for the headcount position
1377
+ */
1378
+ export interface TotalEquity {
1379
+ /**
1380
+ * The currency type, ex: USD, EUR, etc.
1381
+ */
1382
+ currency_type?: string;
1383
+
1384
+ /**
1385
+ * The decimal amount for the currency.
1386
+ */
1387
+ value?: number;
1388
+ }
1389
+ }
1390
+
1391
+ /**
1392
+ * Job function assigned to this headcount
1393
+ *
1394
+ * Expandable field
1395
+ */
1396
+ export interface JobFunction {
1397
+ /**
1398
+ * Identifier field
1399
+ */
1400
+ id: string;
1401
+
1402
+ /**
1403
+ * Record creation date
1404
+ */
1405
+ created_at: string;
1406
+
1407
+ /**
1408
+ * Record update date
1409
+ */
1410
+ updated_at: string;
1411
+
1412
+ /**
1413
+ * Displayed name of the job function
1414
+ */
1415
+ name?: string;
1416
+ }
1417
+
1418
+ /**
1419
+ * Location factor assigned to this headcount
1420
+ *
1421
+ * Expandable field
1422
+ */
1423
+ export interface LocationFactor {
1424
+ /**
1425
+ * Identifier field
1426
+ */
1427
+ id: string;
1428
+
1429
+ /**
1430
+ * Record creation date
1431
+ */
1432
+ created_at: string;
1433
+
1434
+ /**
1435
+ * Record update date
1436
+ */
1437
+ updated_at: string;
1438
+
1439
+ /**
1440
+ * Compensation adjustment percentage
1441
+ */
1442
+ adjustment_factor?: number;
1443
+
1444
+ /**
1445
+ * Country information set to the country code
1446
+ */
1447
+ country?: LocationFactor.Country;
1448
+
1449
+ /**
1450
+ * Human-readable name for the location factor
1451
+ */
1452
+ display_name?: string;
1453
+
1454
+ /**
1455
+ * The labor market category (e.g., "Engineering", "Marketing", "Sales")
1456
+ */
1457
+ labour_bucket?: string;
1458
+ }
1459
+
1460
+ export namespace LocationFactor {
1461
+ /**
1462
+ * Country information set to the country code
1463
+ */
1464
+ export interface Country {
1465
+ /**
1466
+ * The code of the country.
1467
+ */
1468
+ code:
1469
+ | 'AF'
1470
+ | 'AX'
1471
+ | 'AL'
1472
+ | 'DZ'
1473
+ | 'AS'
1474
+ | 'AD'
1475
+ | 'AO'
1476
+ | 'AI'
1477
+ | 'AQ'
1478
+ | 'AG'
1479
+ | 'AR'
1480
+ | 'AM'
1481
+ | 'AW'
1482
+ | 'AU'
1483
+ | 'AT'
1484
+ | 'AZ'
1485
+ | 'BS'
1486
+ | 'BH'
1487
+ | 'BD'
1488
+ | 'BB'
1489
+ | 'BY'
1490
+ | 'BE'
1491
+ | 'BZ'
1492
+ | 'BJ'
1493
+ | 'BM'
1494
+ | 'BT'
1495
+ | 'BO'
1496
+ | 'BQ'
1497
+ | 'BA'
1498
+ | 'BW'
1499
+ | 'BV'
1500
+ | 'BR'
1501
+ | 'IO'
1502
+ | 'BN'
1503
+ | 'BG'
1504
+ | 'BF'
1505
+ | 'BI'
1506
+ | 'CV'
1507
+ | 'KH'
1508
+ | 'CM'
1509
+ | 'CA'
1510
+ | 'KY'
1511
+ | 'CF'
1512
+ | 'TD'
1513
+ | 'CL'
1514
+ | 'CN'
1515
+ | 'CX'
1516
+ | 'CC'
1517
+ | 'CO'
1518
+ | 'KM'
1519
+ | 'CG'
1520
+ | 'CD'
1521
+ | 'CK'
1522
+ | 'CR'
1523
+ | 'CI'
1524
+ | 'HR'
1525
+ | 'CW'
1526
+ | 'CY'
1527
+ | 'CZ'
1528
+ | 'DK'
1529
+ | 'DJ'
1530
+ | 'DM'
1531
+ | 'DO'
1532
+ | 'EC'
1533
+ | 'EG'
1534
+ | 'SV'
1535
+ | 'GQ'
1536
+ | 'ER'
1537
+ | 'EE'
1538
+ | 'SZ'
1539
+ | 'ET'
1540
+ | 'FK'
1541
+ | 'FO'
1542
+ | 'FJ'
1543
+ | 'FI'
1544
+ | 'FR'
1545
+ | 'GF'
1546
+ | 'PF'
1547
+ | 'TF'
1548
+ | 'GA'
1549
+ | 'GM'
1550
+ | 'GE'
1551
+ | 'DE'
1552
+ | 'GH'
1553
+ | 'GI'
1554
+ | 'GR'
1555
+ | 'GL'
1556
+ | 'GD'
1557
+ | 'GP'
1558
+ | 'GU'
1559
+ | 'GT'
1560
+ | 'GG'
1561
+ | 'GN'
1562
+ | 'GW'
1563
+ | 'GY'
1564
+ | 'HT'
1565
+ | 'HM'
1566
+ | 'VA'
1567
+ | 'HN'
1568
+ | 'HK'
1569
+ | 'HU'
1570
+ | 'IS'
1571
+ | 'IN'
1572
+ | 'ID'
1573
+ | 'IQ'
1574
+ | 'IE'
1575
+ | 'IM'
1576
+ | 'IL'
1577
+ | 'IT'
1578
+ | 'JM'
1579
+ | 'JP'
1580
+ | 'JE'
1581
+ | 'JO'
1582
+ | 'KZ'
1583
+ | 'KE'
1584
+ | 'KI'
1585
+ | 'KR'
1586
+ | 'XK'
1587
+ | 'KW'
1588
+ | 'KG'
1589
+ | 'LA'
1590
+ | 'LV'
1591
+ | 'LB'
1592
+ | 'LS'
1593
+ | 'LR'
1594
+ | 'LY'
1595
+ | 'LI'
1596
+ | 'LT'
1597
+ | 'LU'
1598
+ | 'MO'
1599
+ | 'MG'
1600
+ | 'MW'
1601
+ | 'MY'
1602
+ | 'MV'
1603
+ | 'ML'
1604
+ | 'MT'
1605
+ | 'MH'
1606
+ | 'MQ'
1607
+ | 'MR'
1608
+ | 'MU'
1609
+ | 'YT'
1610
+ | 'MX'
1611
+ | 'FM'
1612
+ | 'MD'
1613
+ | 'MC'
1614
+ | 'MN'
1615
+ | 'ME'
1616
+ | 'MS'
1617
+ | 'MA'
1618
+ | 'MZ'
1619
+ | 'MM'
1620
+ | 'NA'
1621
+ | 'NR'
1622
+ | 'NP'
1623
+ | 'NL'
1624
+ | 'AN'
1625
+ | 'NC'
1626
+ | 'NZ'
1627
+ | 'NI'
1628
+ | 'NE'
1629
+ | 'NG'
1630
+ | 'NU'
1631
+ | 'NF'
1632
+ | 'MK'
1633
+ | 'MP'
1634
+ | 'NO'
1635
+ | 'OM'
1636
+ | 'PK'
1637
+ | 'PW'
1638
+ | 'PS'
1639
+ | 'PA'
1640
+ | 'PG'
1641
+ | 'PY'
1642
+ | 'PE'
1643
+ | 'PH'
1644
+ | 'PN'
1645
+ | 'PL'
1646
+ | 'PT'
1647
+ | 'PR'
1648
+ | 'QA'
1649
+ | 'RO'
1650
+ | 'RU'
1651
+ | 'RW'
1652
+ | 'RE'
1653
+ | 'BL'
1654
+ | 'SH'
1655
+ | 'KN'
1656
+ | 'LC'
1657
+ | 'MF'
1658
+ | 'PM'
1659
+ | 'VC'
1660
+ | 'WS'
1661
+ | 'SM'
1662
+ | 'ST'
1663
+ | 'SA'
1664
+ | 'SN'
1665
+ | 'RS'
1666
+ | 'SC'
1667
+ | 'SL'
1668
+ | 'SG'
1669
+ | 'SX'
1670
+ | 'SK'
1671
+ | 'SI'
1672
+ | 'SB'
1673
+ | 'SO'
1674
+ | 'ZA'
1675
+ | 'GS'
1676
+ | 'SS'
1677
+ | 'ES'
1678
+ | 'LK'
1679
+ | 'SD'
1680
+ | 'SR'
1681
+ | 'SJ'
1682
+ | 'SE'
1683
+ | 'CH'
1684
+ | 'TW'
1685
+ | 'TJ'
1686
+ | 'TZ'
1687
+ | 'TH'
1688
+ | 'TL'
1689
+ | 'TG'
1690
+ | 'TK'
1691
+ | 'TO'
1692
+ | 'TT'
1693
+ | 'TN'
1694
+ | 'TR'
1695
+ | 'TM'
1696
+ | 'TC'
1697
+ | 'TV'
1698
+ | 'UG'
1699
+ | 'UA'
1700
+ | 'AE'
1701
+ | 'GB'
1702
+ | 'US'
1703
+ | 'UM'
1704
+ | 'UY'
1705
+ | 'UZ'
1706
+ | 'VU'
1707
+ | 'VE'
1708
+ | 'VN'
1709
+ | 'VG'
1710
+ | 'VI'
1711
+ | 'WF'
1712
+ | 'EH'
1713
+ | 'YE'
1714
+ | 'ZM'
1715
+ | 'ZW';
1716
+ }
1717
+ }
1718
+
1719
+ /**
1720
+ * Priority assigned to this headcount
1721
+ *
1722
+ * Expandable field
1723
+ */
1724
+ export interface Priority {
1725
+ /**
1726
+ * Identifier field
1727
+ */
1728
+ id: string;
1729
+
1730
+ /**
1731
+ * Record creation date
1732
+ */
1733
+ created_at: string;
1734
+
1735
+ /**
1736
+ * Record update date
1737
+ */
1738
+ updated_at: string;
1739
+
1740
+ /**
1741
+ * Display name of the headcount priority
1742
+ */
1743
+ name?: string;
1744
+ }
1745
+ }
1746
+
1747
+ export interface HeadcountPositionRetrieveParams {
1748
+ expand?: string;
1749
+ }
1750
+
1751
+ export interface HeadcountPositionListParams {
1752
+ expand?: string;
1753
+
1754
+ filter?: string;
1755
+
1756
+ order_by?: string;
1757
+ }
1758
+
1759
+ export declare namespace HeadcountPositions {
1760
+ export {
1761
+ type HeadcountPositionRetrieveResponse as HeadcountPositionRetrieveResponse,
1762
+ type HeadcountPositionListResponse as HeadcountPositionListResponse,
1763
+ type HeadcountPositionListResponsesPageCursorURL as HeadcountPositionListResponsesPageCursorURL,
1764
+ type HeadcountPositionRetrieveParams as HeadcountPositionRetrieveParams,
1765
+ type HeadcountPositionListParams as HeadcountPositionListParams,
1766
+ };
1767
+ }