@rippling/rippling-sdk 0.2.0-alpha.109 → 0.2.0-alpha.111

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 (791) hide show
  1. package/client.d.mts +69 -7
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +69 -7
  4. package/client.d.ts.map +1 -1
  5. package/client.js +69 -3
  6. package/client.js.map +1 -1
  7. package/client.mjs +69 -3
  8. package/client.mjs.map +1 -1
  9. package/core/platform/custom-objects/manager.d.mts +43 -23
  10. package/core/platform/custom-objects/manager.d.mts.map +1 -1
  11. package/core/platform/custom-objects/manager.d.ts +43 -23
  12. package/core/platform/custom-objects/manager.d.ts.map +1 -1
  13. package/core/platform/custom-objects/manager.js +21 -17
  14. package/core/platform/custom-objects/manager.js.map +1 -1
  15. package/core/platform/custom-objects/manager.mjs +21 -17
  16. package/core/platform/custom-objects/manager.mjs.map +1 -1
  17. package/core/platform/custom-objects.d.mts +1 -1
  18. package/core/platform/custom-objects.d.mts.map +1 -1
  19. package/core/platform/custom-objects.d.ts +1 -1
  20. package/core/platform/custom-objects.d.ts.map +1 -1
  21. package/core/platform/custom-objects.js.map +1 -1
  22. package/core/platform/custom-objects.mjs.map +1 -1
  23. package/examples/manifest/acp-agent/acp-agent.ts +27 -23
  24. package/index.d.mts +5 -0
  25. package/index.d.mts.map +1 -1
  26. package/index.d.ts +5 -0
  27. package/index.d.ts.map +1 -1
  28. package/index.js +11 -1
  29. package/index.js.map +1 -1
  30. package/index.mjs +5 -0
  31. package/index.mjs.map +1 -1
  32. package/lib/manifest/acp-agent.d.mts +1 -1
  33. package/lib/manifest/acp-agent.d.mts.map +1 -1
  34. package/lib/manifest/acp-agent.d.ts +1 -1
  35. package/lib/manifest/acp-agent.d.ts.map +1 -1
  36. package/lib/manifest/acp-agent.js +6 -0
  37. package/lib/manifest/acp-agent.js.map +1 -1
  38. package/lib/manifest/acp-agent.mjs +6 -0
  39. package/lib/manifest/acp-agent.mjs.map +1 -1
  40. package/lib/manifest/composition.d.mts +21 -0
  41. package/lib/manifest/composition.d.mts.map +1 -0
  42. package/lib/manifest/composition.d.ts +21 -0
  43. package/lib/manifest/composition.d.ts.map +1 -0
  44. package/lib/manifest/composition.js +103 -0
  45. package/lib/manifest/composition.js.map +1 -0
  46. package/lib/manifest/composition.mjs +99 -0
  47. package/lib/manifest/composition.mjs.map +1 -0
  48. package/lib/manifest/definitions/_object-records.d.mts +23 -0
  49. package/lib/manifest/definitions/_object-records.d.mts.map +1 -0
  50. package/lib/manifest/definitions/_object-records.d.ts +23 -0
  51. package/lib/manifest/definitions/_object-records.d.ts.map +1 -0
  52. package/lib/manifest/definitions/_object-records.js +153 -0
  53. package/lib/manifest/definitions/_object-records.js.map +1 -0
  54. package/lib/manifest/definitions/_object-records.mjs +149 -0
  55. package/lib/manifest/definitions/_object-records.mjs.map +1 -0
  56. package/lib/manifest/definitions/action.d.mts +7 -0
  57. package/lib/manifest/definitions/action.d.mts.map +1 -0
  58. package/lib/manifest/definitions/action.d.ts +7 -0
  59. package/lib/manifest/definitions/action.d.ts.map +1 -0
  60. package/lib/manifest/definitions/action.js +25 -0
  61. package/lib/manifest/definitions/action.js.map +1 -0
  62. package/lib/manifest/definitions/action.mjs +22 -0
  63. package/lib/manifest/definitions/action.mjs.map +1 -0
  64. package/lib/manifest/definitions/agent.d.mts +51 -0
  65. package/lib/manifest/definitions/agent.d.mts.map +1 -0
  66. package/lib/manifest/definitions/agent.d.ts +51 -0
  67. package/lib/manifest/definitions/agent.d.ts.map +1 -0
  68. package/lib/manifest/definitions/agent.js +65 -0
  69. package/lib/manifest/definitions/agent.js.map +1 -0
  70. package/lib/manifest/definitions/agent.mjs +59 -0
  71. package/lib/manifest/definitions/agent.mjs.map +1 -0
  72. package/lib/manifest/definitions/app.d.mts +3 -0
  73. package/lib/manifest/definitions/app.d.mts.map +1 -0
  74. package/lib/manifest/definitions/app.d.ts +3 -0
  75. package/lib/manifest/definitions/app.d.ts.map +1 -0
  76. package/lib/manifest/definitions/app.js +14 -0
  77. package/lib/manifest/definitions/app.js.map +1 -0
  78. package/lib/manifest/definitions/app.mjs +11 -0
  79. package/lib/manifest/definitions/app.mjs.map +1 -0
  80. package/lib/manifest/definitions/category.d.mts +9 -0
  81. package/lib/manifest/definitions/category.d.mts.map +1 -0
  82. package/lib/manifest/definitions/category.d.ts +9 -0
  83. package/lib/manifest/definitions/category.d.ts.map +1 -0
  84. package/lib/manifest/definitions/category.js +27 -0
  85. package/lib/manifest/definitions/category.js.map +1 -0
  86. package/lib/manifest/definitions/category.mjs +23 -0
  87. package/lib/manifest/definitions/category.mjs.map +1 -0
  88. package/lib/manifest/definitions/component.d.mts +101 -0
  89. package/lib/manifest/definitions/component.d.mts.map +1 -0
  90. package/lib/manifest/definitions/component.d.ts +101 -0
  91. package/lib/manifest/definitions/component.d.ts.map +1 -0
  92. package/lib/manifest/definitions/component.js +106 -0
  93. package/lib/manifest/definitions/component.js.map +1 -0
  94. package/lib/manifest/definitions/component.mjs +97 -0
  95. package/lib/manifest/definitions/component.mjs.map +1 -0
  96. package/lib/manifest/definitions/custom-field-section.d.mts +13 -0
  97. package/lib/manifest/definitions/custom-field-section.d.mts.map +1 -0
  98. package/lib/manifest/definitions/custom-field-section.d.ts +13 -0
  99. package/lib/manifest/definitions/custom-field-section.d.ts.map +1 -0
  100. package/lib/manifest/definitions/custom-field-section.js +15 -0
  101. package/lib/manifest/definitions/custom-field-section.js.map +1 -0
  102. package/lib/manifest/definitions/custom-field-section.mjs +12 -0
  103. package/lib/manifest/definitions/custom-field-section.mjs.map +1 -0
  104. package/lib/manifest/definitions/custom-field.d.mts +10 -0
  105. package/lib/manifest/definitions/custom-field.d.mts.map +1 -0
  106. package/lib/manifest/definitions/custom-field.d.ts +10 -0
  107. package/lib/manifest/definitions/custom-field.d.ts.map +1 -0
  108. package/lib/manifest/definitions/custom-field.js +18 -0
  109. package/lib/manifest/definitions/custom-field.js.map +1 -0
  110. package/lib/manifest/definitions/custom-field.mjs +15 -0
  111. package/lib/manifest/definitions/custom-field.mjs.map +1 -0
  112. package/lib/manifest/definitions/custom-object.d.mts +162 -0
  113. package/lib/manifest/definitions/custom-object.d.mts.map +1 -0
  114. package/lib/manifest/definitions/custom-object.d.ts +162 -0
  115. package/lib/manifest/definitions/custom-object.d.ts.map +1 -0
  116. package/lib/manifest/definitions/custom-object.js +412 -0
  117. package/lib/manifest/definitions/custom-object.js.map +1 -0
  118. package/lib/manifest/definitions/custom-object.mjs +386 -0
  119. package/lib/manifest/definitions/custom-object.mjs.map +1 -0
  120. package/lib/manifest/definitions/custom-skill.d.mts +8 -0
  121. package/lib/manifest/definitions/custom-skill.d.mts.map +1 -0
  122. package/lib/manifest/definitions/custom-skill.d.ts +8 -0
  123. package/lib/manifest/definitions/custom-skill.d.ts.map +1 -0
  124. package/lib/manifest/definitions/custom-skill.js +15 -0
  125. package/lib/manifest/definitions/custom-skill.js.map +1 -0
  126. package/lib/manifest/definitions/custom-skill.mjs +12 -0
  127. package/lib/manifest/definitions/custom-skill.mjs.map +1 -0
  128. package/lib/manifest/definitions/field-section.d.mts +7 -0
  129. package/lib/manifest/definitions/field-section.d.mts.map +1 -0
  130. package/lib/manifest/definitions/field-section.d.ts +7 -0
  131. package/lib/manifest/definitions/field-section.d.ts.map +1 -0
  132. package/lib/manifest/definitions/field-section.js +16 -0
  133. package/lib/manifest/definitions/field-section.js.map +1 -0
  134. package/lib/manifest/definitions/field-section.mjs +13 -0
  135. package/lib/manifest/definitions/field-section.mjs.map +1 -0
  136. package/lib/manifest/definitions/field.d.mts +38 -0
  137. package/lib/manifest/definitions/field.d.mts.map +1 -0
  138. package/lib/manifest/definitions/field.d.ts +38 -0
  139. package/lib/manifest/definitions/field.d.ts.map +1 -0
  140. package/lib/manifest/definitions/field.js +50 -0
  141. package/lib/manifest/definitions/field.js.map +1 -0
  142. package/lib/manifest/definitions/field.mjs +45 -0
  143. package/lib/manifest/definitions/field.mjs.map +1 -0
  144. package/lib/manifest/definitions/function.d.mts +61 -0
  145. package/lib/manifest/definitions/function.d.mts.map +1 -0
  146. package/lib/manifest/definitions/function.d.ts +61 -0
  147. package/lib/manifest/definitions/function.d.ts.map +1 -0
  148. package/lib/manifest/definitions/function.js +79 -0
  149. package/lib/manifest/definitions/function.js.map +1 -0
  150. package/lib/manifest/definitions/function.mjs +73 -0
  151. package/lib/manifest/definitions/function.mjs.map +1 -0
  152. package/lib/manifest/definitions/index.d.mts +22 -0
  153. package/lib/manifest/definitions/index.d.mts.map +1 -0
  154. package/lib/manifest/definitions/index.d.ts +22 -0
  155. package/lib/manifest/definitions/index.d.ts.map +1 -0
  156. package/lib/manifest/definitions/index.js +64 -0
  157. package/lib/manifest/definitions/index.js.map +1 -0
  158. package/lib/manifest/definitions/index.mjs +22 -0
  159. package/lib/manifest/definitions/index.mjs.map +1 -0
  160. package/lib/manifest/definitions/list-view.d.mts +9 -0
  161. package/lib/manifest/definitions/list-view.d.mts.map +1 -0
  162. package/lib/manifest/definitions/list-view.d.ts +9 -0
  163. package/lib/manifest/definitions/list-view.d.ts.map +1 -0
  164. package/lib/manifest/definitions/list-view.js +25 -0
  165. package/lib/manifest/definitions/list-view.js.map +1 -0
  166. package/lib/manifest/definitions/list-view.mjs +22 -0
  167. package/lib/manifest/definitions/list-view.mjs.map +1 -0
  168. package/lib/manifest/definitions/object-search-config.d.mts +13 -0
  169. package/lib/manifest/definitions/object-search-config.d.mts.map +1 -0
  170. package/lib/manifest/definitions/object-search-config.d.ts +13 -0
  171. package/lib/manifest/definitions/object-search-config.d.ts.map +1 -0
  172. package/lib/manifest/definitions/object-search-config.js +25 -0
  173. package/lib/manifest/definitions/object-search-config.js.map +1 -0
  174. package/lib/manifest/definitions/object-search-config.mjs +22 -0
  175. package/lib/manifest/definitions/object-search-config.mjs.map +1 -0
  176. package/lib/manifest/definitions/object-settings.d.mts +24 -0
  177. package/lib/manifest/definitions/object-settings.d.mts.map +1 -0
  178. package/lib/manifest/definitions/object-settings.d.ts +24 -0
  179. package/lib/manifest/definitions/object-settings.d.ts.map +1 -0
  180. package/lib/manifest/definitions/object-settings.js +32 -0
  181. package/lib/manifest/definitions/object-settings.js.map +1 -0
  182. package/lib/manifest/definitions/object-settings.mjs +29 -0
  183. package/lib/manifest/definitions/object-settings.mjs.map +1 -0
  184. package/lib/manifest/definitions/page-layout.d.mts +21 -0
  185. package/lib/manifest/definitions/page-layout.d.mts.map +1 -0
  186. package/lib/manifest/definitions/page-layout.d.ts +21 -0
  187. package/lib/manifest/definitions/page-layout.d.ts.map +1 -0
  188. package/lib/manifest/definitions/page-layout.js +155 -0
  189. package/lib/manifest/definitions/page-layout.js.map +1 -0
  190. package/lib/manifest/definitions/page-layout.mjs +152 -0
  191. package/lib/manifest/definitions/page-layout.mjs.map +1 -0
  192. package/lib/manifest/definitions/page.d.mts +8 -0
  193. package/lib/manifest/definitions/page.d.mts.map +1 -0
  194. package/lib/manifest/definitions/page.d.ts +8 -0
  195. package/lib/manifest/definitions/page.d.ts.map +1 -0
  196. package/lib/manifest/definitions/page.js +15 -0
  197. package/lib/manifest/definitions/page.js.map +1 -0
  198. package/lib/manifest/definitions/page.mjs +12 -0
  199. package/lib/manifest/definitions/page.mjs.map +1 -0
  200. package/lib/manifest/definitions/record-triggered-flow.d.mts +24 -0
  201. package/lib/manifest/definitions/record-triggered-flow.d.mts.map +1 -0
  202. package/lib/manifest/definitions/record-triggered-flow.d.ts +24 -0
  203. package/lib/manifest/definitions/record-triggered-flow.d.ts.map +1 -0
  204. package/lib/manifest/definitions/record-triggered-flow.js +28 -0
  205. package/lib/manifest/definitions/record-triggered-flow.js.map +1 -0
  206. package/lib/manifest/definitions/record-triggered-flow.mjs +25 -0
  207. package/lib/manifest/definitions/record-triggered-flow.mjs.map +1 -0
  208. package/lib/manifest/definitions/validation.d.mts +8 -0
  209. package/lib/manifest/definitions/validation.d.mts.map +1 -0
  210. package/lib/manifest/definitions/validation.d.ts +8 -0
  211. package/lib/manifest/definitions/validation.d.ts.map +1 -0
  212. package/lib/manifest/definitions/validation.js +24 -0
  213. package/lib/manifest/definitions/validation.js.map +1 -0
  214. package/lib/manifest/definitions/validation.mjs +21 -0
  215. package/lib/manifest/definitions/validation.mjs.map +1 -0
  216. package/lib/manifest/definitions/workflow.d.mts +10 -0
  217. package/lib/manifest/definitions/workflow.d.mts.map +1 -0
  218. package/lib/manifest/definitions/workflow.d.ts +10 -0
  219. package/lib/manifest/definitions/workflow.d.ts.map +1 -0
  220. package/lib/manifest/definitions/workflow.js +33 -0
  221. package/lib/manifest/definitions/workflow.js.map +1 -0
  222. package/lib/manifest/definitions/workflow.mjs +29 -0
  223. package/lib/manifest/definitions/workflow.mjs.map +1 -0
  224. package/lib/manifest/index.d.mts +3 -0
  225. package/lib/manifest/index.d.mts.map +1 -1
  226. package/lib/manifest/index.d.ts +3 -0
  227. package/lib/manifest/index.d.ts.map +1 -1
  228. package/lib/manifest/index.js +4 -0
  229. package/lib/manifest/index.js.map +1 -1
  230. package/lib/manifest/index.mjs +3 -0
  231. package/lib/manifest/index.mjs.map +1 -1
  232. package/lib/manifest/package-manifest.d.mts +17 -0
  233. package/lib/manifest/package-manifest.d.mts.map +1 -0
  234. package/lib/manifest/package-manifest.d.ts +17 -0
  235. package/lib/manifest/package-manifest.d.ts.map +1 -0
  236. package/lib/manifest/package-manifest.js +26 -0
  237. package/lib/manifest/package-manifest.js.map +1 -0
  238. package/lib/manifest/package-manifest.mjs +23 -0
  239. package/lib/manifest/package-manifest.mjs.map +1 -0
  240. package/package.json +1 -1
  241. package/resources/activity-log.d.mts +1 -1
  242. package/resources/activity-log.d.ts +1 -1
  243. package/resources/activity-log.js +1 -1
  244. package/resources/activity-log.mjs +1 -1
  245. package/resources/agents/sessions/messages.d.mts +10 -1
  246. package/resources/agents/sessions/messages.d.mts.map +1 -1
  247. package/resources/agents/sessions/messages.d.ts +10 -1
  248. package/resources/agents/sessions/messages.d.ts.map +1 -1
  249. package/resources/agents/sessions/sessions.d.mts +30 -3
  250. package/resources/agents/sessions/sessions.d.mts.map +1 -1
  251. package/resources/agents/sessions/sessions.d.ts +30 -3
  252. package/resources/agents/sessions/sessions.d.ts.map +1 -1
  253. package/resources/agents/sessions/sessions.js.map +1 -1
  254. package/resources/agents/sessions/sessions.mjs.map +1 -1
  255. package/resources/bills.d.mts +1343 -0
  256. package/resources/bills.d.mts.map +1 -0
  257. package/resources/bills.d.ts +1343 -0
  258. package/resources/bills.d.ts.map +1 -0
  259. package/resources/bills.js +214 -0
  260. package/resources/bills.js.map +1 -0
  261. package/resources/bills.mjs +210 -0
  262. package/resources/bills.mjs.map +1 -0
  263. package/resources/card-transactions.d.mts +607 -49
  264. package/resources/card-transactions.d.mts.map +1 -1
  265. package/resources/card-transactions.d.ts +607 -49
  266. package/resources/card-transactions.d.ts.map +1 -1
  267. package/resources/card-transactions.js +73 -12
  268. package/resources/card-transactions.js.map +1 -1
  269. package/resources/card-transactions.mjs +73 -12
  270. package/resources/card-transactions.mjs.map +1 -1
  271. package/resources/custom-objects/custom-objects.d.mts +39 -3
  272. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  273. package/resources/custom-objects/custom-objects.d.ts +39 -3
  274. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  275. package/resources/custom-objects/custom-objects.js +38 -2
  276. package/resources/custom-objects/custom-objects.js.map +1 -1
  277. package/resources/custom-objects/custom-objects.mjs +38 -2
  278. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  279. package/resources/custom-objects/fields.d.mts +44 -0
  280. package/resources/custom-objects/fields.d.mts.map +1 -1
  281. package/resources/custom-objects/fields.d.ts +44 -0
  282. package/resources/custom-objects/fields.d.ts.map +1 -1
  283. package/resources/custom-objects/fields.js +44 -0
  284. package/resources/custom-objects/fields.js.map +1 -1
  285. package/resources/custom-objects/fields.mjs +44 -0
  286. package/resources/custom-objects/fields.mjs.map +1 -1
  287. package/resources/custom-objects/index.d.mts +2 -1
  288. package/resources/custom-objects/index.d.mts.map +1 -1
  289. package/resources/custom-objects/index.d.ts +2 -1
  290. package/resources/custom-objects/index.d.ts.map +1 -1
  291. package/resources/custom-objects/index.js +5 -3
  292. package/resources/custom-objects/index.js.map +1 -1
  293. package/resources/custom-objects/index.mjs +2 -1
  294. package/resources/custom-objects/index.mjs.map +1 -1
  295. package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
  296. package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
  297. package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
  298. package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
  299. package/resources/custom-objects/list-views/capabilities.js +48 -0
  300. package/resources/custom-objects/list-views/capabilities.js.map +1 -0
  301. package/resources/custom-objects/list-views/capabilities.mjs +44 -0
  302. package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
  303. package/resources/custom-objects/list-views/default.d.mts +69 -0
  304. package/resources/custom-objects/list-views/default.d.mts.map +1 -0
  305. package/resources/custom-objects/list-views/default.d.ts +69 -0
  306. package/resources/custom-objects/list-views/default.d.ts.map +1 -0
  307. package/resources/custom-objects/list-views/default.js +59 -0
  308. package/resources/custom-objects/list-views/default.js.map +1 -0
  309. package/resources/custom-objects/list-views/default.mjs +55 -0
  310. package/resources/custom-objects/list-views/default.mjs.map +1 -0
  311. package/resources/custom-objects/list-views/index.d.mts +4 -0
  312. package/resources/custom-objects/list-views/index.d.mts.map +1 -0
  313. package/resources/custom-objects/list-views/index.d.ts +4 -0
  314. package/resources/custom-objects/list-views/index.d.ts.map +1 -0
  315. package/resources/custom-objects/list-views/index.js +11 -0
  316. package/resources/custom-objects/list-views/index.js.map +1 -0
  317. package/resources/custom-objects/list-views/index.mjs +5 -0
  318. package/resources/custom-objects/list-views/index.mjs.map +1 -0
  319. package/resources/custom-objects/list-views/list-views.d.mts +806 -0
  320. package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
  321. package/resources/custom-objects/list-views/list-views.d.ts +806 -0
  322. package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
  323. package/resources/custom-objects/list-views/list-views.js +314 -0
  324. package/resources/custom-objects/list-views/list-views.js.map +1 -0
  325. package/resources/custom-objects/list-views/list-views.mjs +309 -0
  326. package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
  327. package/resources/custom-objects/list-views.d.mts +2 -0
  328. package/resources/custom-objects/list-views.d.mts.map +1 -0
  329. package/resources/custom-objects/list-views.d.ts +2 -0
  330. package/resources/custom-objects/list-views.d.ts.map +1 -0
  331. package/resources/custom-objects/list-views.js +6 -0
  332. package/resources/custom-objects/list-views.js.map +1 -0
  333. package/resources/custom-objects/list-views.mjs +3 -0
  334. package/resources/custom-objects/list-views.mjs.map +1 -0
  335. package/resources/custom-objects/records/capabilities.d.mts +61 -0
  336. package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
  337. package/resources/custom-objects/records/capabilities.d.ts +61 -0
  338. package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
  339. package/resources/custom-objects/records/capabilities.js +47 -0
  340. package/resources/custom-objects/records/capabilities.js.map +1 -0
  341. package/resources/custom-objects/records/capabilities.mjs +43 -0
  342. package/resources/custom-objects/records/capabilities.mjs.map +1 -0
  343. package/resources/custom-objects/records/index.d.mts +3 -0
  344. package/resources/custom-objects/records/index.d.mts.map +1 -0
  345. package/resources/custom-objects/records/index.d.ts +3 -0
  346. package/resources/custom-objects/records/index.d.ts.map +1 -0
  347. package/resources/custom-objects/records/index.js +9 -0
  348. package/resources/custom-objects/records/index.js.map +1 -0
  349. package/resources/custom-objects/records/index.mjs +4 -0
  350. package/resources/custom-objects/records/index.mjs.map +1 -0
  351. package/resources/custom-objects/records/records.d.mts +787 -0
  352. package/resources/custom-objects/records/records.d.mts.map +1 -0
  353. package/resources/custom-objects/records/records.d.ts +787 -0
  354. package/resources/custom-objects/records/records.d.ts.map +1 -0
  355. package/resources/custom-objects/records/records.js +543 -0
  356. package/resources/custom-objects/records/records.js.map +1 -0
  357. package/resources/custom-objects/records/records.mjs +538 -0
  358. package/resources/custom-objects/records/records.mjs.map +1 -0
  359. package/resources/custom-objects/records.d.mts +1 -561
  360. package/resources/custom-objects/records.d.mts.map +1 -1
  361. package/resources/custom-objects/records.d.ts +1 -561
  362. package/resources/custom-objects/records.d.ts.map +1 -1
  363. package/resources/custom-objects/records.js +2 -444
  364. package/resources/custom-objects/records.js.map +1 -1
  365. package/resources/custom-objects/records.mjs +1 -442
  366. package/resources/custom-objects/records.mjs.map +1 -1
  367. package/resources/devices.d.mts +2 -2
  368. package/resources/devices.d.mts.map +1 -1
  369. package/resources/devices.d.ts +2 -2
  370. package/resources/devices.d.ts.map +1 -1
  371. package/resources/draft-transitions.d.mts +241 -307
  372. package/resources/draft-transitions.d.mts.map +1 -1
  373. package/resources/draft-transitions.d.ts +241 -307
  374. package/resources/draft-transitions.d.ts.map +1 -1
  375. package/resources/draft-transitions.js +49 -23
  376. package/resources/draft-transitions.js.map +1 -1
  377. package/resources/draft-transitions.mjs +49 -23
  378. package/resources/draft-transitions.mjs.map +1 -1
  379. package/resources/employee-documents.d.mts +2 -2
  380. package/resources/employee-documents.d.ts +2 -2
  381. package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
  382. package/resources/finance-categories.d.mts.map +1 -0
  383. package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
  384. package/resources/finance-categories.d.ts.map +1 -0
  385. package/resources/{spend-categories.js → finance-categories.js} +14 -11
  386. package/resources/finance-categories.js.map +1 -0
  387. package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
  388. package/resources/finance-categories.mjs.map +1 -0
  389. package/resources/finance-vendors.d.mts +154 -0
  390. package/resources/finance-vendors.d.mts.map +1 -0
  391. package/resources/finance-vendors.d.ts +154 -0
  392. package/resources/finance-vendors.d.ts.map +1 -0
  393. package/resources/finance-vendors.js +87 -0
  394. package/resources/finance-vendors.js.map +1 -0
  395. package/resources/finance-vendors.mjs +83 -0
  396. package/resources/finance-vendors.mjs.map +1 -0
  397. package/resources/functions/executions.d.mts +4 -1
  398. package/resources/functions/executions.d.mts.map +1 -1
  399. package/resources/functions/executions.d.ts +4 -1
  400. package/resources/functions/executions.d.ts.map +1 -1
  401. package/resources/functions/executions.js +4 -1
  402. package/resources/functions/executions.js.map +1 -1
  403. package/resources/functions/executions.mjs +4 -1
  404. package/resources/functions/executions.mjs.map +1 -1
  405. package/resources/functions/functions.d.mts +192 -4
  406. package/resources/functions/functions.d.mts.map +1 -1
  407. package/resources/functions/functions.d.ts +192 -4
  408. package/resources/functions/functions.d.ts.map +1 -1
  409. package/resources/functions/functions.js +72 -4
  410. package/resources/functions/functions.js.map +1 -1
  411. package/resources/functions/functions.mjs +72 -4
  412. package/resources/functions/functions.mjs.map +1 -1
  413. package/resources/hire-requirements.d.mts +98 -9
  414. package/resources/hire-requirements.d.mts.map +1 -1
  415. package/resources/hire-requirements.d.ts +98 -9
  416. package/resources/hire-requirements.d.ts.map +1 -1
  417. package/resources/hire-requirements.js +23 -4
  418. package/resources/hire-requirements.js.map +1 -1
  419. package/resources/hire-requirements.mjs +23 -4
  420. package/resources/hire-requirements.mjs.map +1 -1
  421. package/resources/hires.d.mts +1636 -510
  422. package/resources/hires.d.mts.map +1 -1
  423. package/resources/hires.d.ts +1636 -510
  424. package/resources/hires.d.ts.map +1 -1
  425. package/resources/hires.js +10 -4
  426. package/resources/hires.js.map +1 -1
  427. package/resources/hires.mjs +10 -4
  428. package/resources/hires.mjs.map +1 -1
  429. package/resources/index.d.mts +11 -3
  430. package/resources/index.d.mts.map +1 -1
  431. package/resources/index.d.ts +11 -3
  432. package/resources/index.d.ts.map +1 -1
  433. package/resources/index.js +21 -5
  434. package/resources/index.js.map +1 -1
  435. package/resources/index.mjs +9 -1
  436. package/resources/index.mjs.map +1 -1
  437. package/resources/leave-requests.d.mts +11 -2
  438. package/resources/leave-requests.d.mts.map +1 -1
  439. package/resources/leave-requests.d.ts +11 -2
  440. package/resources/leave-requests.d.ts.map +1 -1
  441. package/resources/leave-requests.js +11 -2
  442. package/resources/leave-requests.js.map +1 -1
  443. package/resources/leave-requests.mjs +11 -2
  444. package/resources/leave-requests.mjs.map +1 -1
  445. package/resources/object-categories.d.mts +2 -1
  446. package/resources/object-categories.d.mts.map +1 -1
  447. package/resources/object-categories.d.ts +2 -1
  448. package/resources/object-categories.d.ts.map +1 -1
  449. package/resources/object-categories.js +2 -1
  450. package/resources/object-categories.js.map +1 -1
  451. package/resources/object-categories.mjs +2 -1
  452. package/resources/object-categories.mjs.map +1 -1
  453. package/resources/package-components/extract.d.mts +121 -0
  454. package/resources/package-components/extract.d.mts.map +1 -0
  455. package/resources/package-components/extract.d.ts +121 -0
  456. package/resources/package-components/extract.d.ts.map +1 -0
  457. package/resources/package-components/extract.js +69 -0
  458. package/resources/package-components/extract.js.map +1 -0
  459. package/resources/package-components/extract.mjs +65 -0
  460. package/resources/package-components/extract.mjs.map +1 -0
  461. package/resources/package-components/index.d.mts +4 -0
  462. package/resources/package-components/index.d.mts.map +1 -0
  463. package/resources/package-components/index.d.ts +4 -0
  464. package/resources/package-components/index.d.ts.map +1 -0
  465. package/resources/package-components/index.js +11 -0
  466. package/resources/package-components/index.js.map +1 -0
  467. package/resources/package-components/index.mjs +5 -0
  468. package/resources/package-components/index.mjs.map +1 -0
  469. package/resources/package-components/package-components.d.mts +99 -0
  470. package/resources/package-components/package-components.d.mts.map +1 -0
  471. package/resources/package-components/package-components.d.ts +99 -0
  472. package/resources/package-components/package-components.d.ts.map +1 -0
  473. package/resources/package-components/package-components.js +63 -0
  474. package/resources/package-components/package-components.js.map +1 -0
  475. package/resources/package-components/package-components.mjs +58 -0
  476. package/resources/package-components/package-components.mjs.map +1 -0
  477. package/resources/package-components/types.d.mts +56 -0
  478. package/resources/package-components/types.d.mts.map +1 -0
  479. package/resources/package-components/types.d.ts +56 -0
  480. package/resources/package-components/types.d.ts.map +1 -0
  481. package/resources/package-components/types.js +40 -0
  482. package/resources/package-components/types.js.map +1 -0
  483. package/resources/package-components/types.mjs +36 -0
  484. package/resources/package-components/types.mjs.map +1 -0
  485. package/resources/package-components.d.mts +2 -0
  486. package/resources/package-components.d.mts.map +1 -0
  487. package/resources/package-components.d.ts +2 -0
  488. package/resources/package-components.d.ts.map +1 -0
  489. package/resources/package-components.js +6 -0
  490. package/resources/package-components.js.map +1 -0
  491. package/resources/package-components.mjs +3 -0
  492. package/resources/package-components.mjs.map +1 -0
  493. package/resources/package-installs.d.mts +96 -9
  494. package/resources/package-installs.d.mts.map +1 -1
  495. package/resources/package-installs.d.ts +96 -9
  496. package/resources/package-installs.d.ts.map +1 -1
  497. package/resources/package-installs.js +20 -3
  498. package/resources/package-installs.js.map +1 -1
  499. package/resources/package-installs.mjs +20 -3
  500. package/resources/package-installs.mjs.map +1 -1
  501. package/resources/package-managed-installs.d.mts +104 -7
  502. package/resources/package-managed-installs.d.mts.map +1 -1
  503. package/resources/package-managed-installs.d.ts +104 -7
  504. package/resources/package-managed-installs.d.ts.map +1 -1
  505. package/resources/package-managed-installs.js +22 -3
  506. package/resources/package-managed-installs.js.map +1 -1
  507. package/resources/package-managed-installs.mjs +22 -3
  508. package/resources/package-managed-installs.mjs.map +1 -1
  509. package/resources/package-manifests/index.d.mts +4 -0
  510. package/resources/package-manifests/index.d.mts.map +1 -0
  511. package/resources/package-manifests/index.d.ts +4 -0
  512. package/resources/package-manifests/index.d.ts.map +1 -0
  513. package/resources/package-manifests/index.js +11 -0
  514. package/resources/package-manifests/index.js.map +1 -0
  515. package/resources/package-manifests/index.mjs +5 -0
  516. package/resources/package-manifests/index.mjs.map +1 -0
  517. package/resources/package-manifests/package-manifests.d.mts +14 -0
  518. package/resources/package-manifests/package-manifests.d.mts.map +1 -0
  519. package/resources/package-manifests/package-manifests.d.ts +14 -0
  520. package/resources/package-manifests/package-manifests.d.ts.map +1 -0
  521. package/resources/package-manifests/package-manifests.js +21 -0
  522. package/resources/package-manifests/package-manifests.js.map +1 -0
  523. package/resources/package-manifests/package-manifests.mjs +16 -0
  524. package/resources/package-manifests/package-manifests.mjs.map +1 -0
  525. package/resources/package-manifests/packages/index.d.mts +3 -0
  526. package/resources/package-manifests/packages/index.d.mts.map +1 -0
  527. package/resources/package-manifests/packages/index.d.ts +3 -0
  528. package/resources/package-manifests/packages/index.d.ts.map +1 -0
  529. package/resources/package-manifests/packages/index.js +9 -0
  530. package/resources/package-manifests/packages/index.js.map +1 -0
  531. package/resources/package-manifests/packages/index.mjs +4 -0
  532. package/resources/package-manifests/packages/index.mjs.map +1 -0
  533. package/resources/package-manifests/packages/packages.d.mts +10 -0
  534. package/resources/package-manifests/packages/packages.d.mts.map +1 -0
  535. package/resources/package-manifests/packages/packages.d.ts +10 -0
  536. package/resources/package-manifests/packages/packages.d.ts.map +1 -0
  537. package/resources/package-manifests/packages/packages.js +17 -0
  538. package/resources/package-manifests/packages/packages.js.map +1 -0
  539. package/resources/package-manifests/packages/packages.mjs +12 -0
  540. package/resources/package-manifests/packages/packages.mjs.map +1 -0
  541. package/resources/package-manifests/packages/versions.d.mts +199 -0
  542. package/resources/package-manifests/packages/versions.d.mts.map +1 -0
  543. package/resources/package-manifests/packages/versions.d.ts +199 -0
  544. package/resources/package-manifests/packages/versions.d.ts.map +1 -0
  545. package/resources/package-manifests/packages/versions.js +68 -0
  546. package/resources/package-manifests/packages/versions.js.map +1 -0
  547. package/resources/package-manifests/packages/versions.mjs +64 -0
  548. package/resources/package-manifests/packages/versions.mjs.map +1 -0
  549. package/resources/package-manifests/packages.d.mts +2 -0
  550. package/resources/package-manifests/packages.d.mts.map +1 -0
  551. package/resources/package-manifests/packages.d.ts +2 -0
  552. package/resources/package-manifests/packages.d.ts.map +1 -0
  553. package/resources/package-manifests/packages.js +6 -0
  554. package/resources/package-manifests/packages.js.map +1 -0
  555. package/resources/package-manifests/packages.mjs +3 -0
  556. package/resources/package-manifests/packages.mjs.map +1 -0
  557. package/resources/package-manifests/versions.d.mts +84 -0
  558. package/resources/package-manifests/versions.d.mts.map +1 -0
  559. package/resources/package-manifests/versions.d.ts +84 -0
  560. package/resources/package-manifests/versions.d.ts.map +1 -0
  561. package/resources/package-manifests/versions.js +44 -0
  562. package/resources/package-manifests/versions.js.map +1 -0
  563. package/resources/package-manifests/versions.mjs +40 -0
  564. package/resources/package-manifests/versions.mjs.map +1 -0
  565. package/resources/package-manifests.d.mts +2 -0
  566. package/resources/package-manifests.d.mts.map +1 -0
  567. package/resources/package-manifests.d.ts +2 -0
  568. package/resources/package-manifests.d.ts.map +1 -0
  569. package/resources/package-manifests.js +6 -0
  570. package/resources/package-manifests.js.map +1 -0
  571. package/resources/package-manifests.mjs +3 -0
  572. package/resources/package-manifests.mjs.map +1 -0
  573. package/resources/package-versions/package-versions.d.mts +104 -14
  574. package/resources/package-versions/package-versions.d.mts.map +1 -1
  575. package/resources/package-versions/package-versions.d.ts +104 -14
  576. package/resources/package-versions/package-versions.d.ts.map +1 -1
  577. package/resources/package-versions/package-versions.js +30 -9
  578. package/resources/package-versions/package-versions.js.map +1 -1
  579. package/resources/package-versions/package-versions.mjs +30 -9
  580. package/resources/package-versions/package-versions.mjs.map +1 -1
  581. package/resources/package-versions/publish.d.mts +40 -4
  582. package/resources/package-versions/publish.d.mts.map +1 -1
  583. package/resources/package-versions/publish.d.ts +40 -4
  584. package/resources/package-versions/publish.d.ts.map +1 -1
  585. package/resources/package-versions/publish.js +8 -2
  586. package/resources/package-versions/publish.js.map +1 -1
  587. package/resources/package-versions/publish.mjs +8 -2
  588. package/resources/package-versions/publish.mjs.map +1 -1
  589. package/resources/packages/next-versions.d.mts +40 -4
  590. package/resources/packages/next-versions.d.mts.map +1 -1
  591. package/resources/packages/next-versions.d.ts +40 -4
  592. package/resources/packages/next-versions.d.ts.map +1 -1
  593. package/resources/packages/next-versions.js +8 -2
  594. package/resources/packages/next-versions.js.map +1 -1
  595. package/resources/packages/next-versions.mjs +8 -2
  596. package/resources/packages/next-versions.mjs.map +1 -1
  597. package/resources/packages/versions.d.mts +80 -9
  598. package/resources/packages/versions.d.mts.map +1 -1
  599. package/resources/packages/versions.d.ts +80 -9
  600. package/resources/packages/versions.d.ts.map +1 -1
  601. package/resources/packages/versions.js +16 -5
  602. package/resources/packages/versions.js.map +1 -1
  603. package/resources/packages/versions.mjs +16 -5
  604. package/resources/packages/versions.mjs.map +1 -1
  605. package/resources/payroll-runs/off-cycle.d.mts +17 -9
  606. package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
  607. package/resources/payroll-runs/off-cycle.d.ts +17 -9
  608. package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
  609. package/resources/payroll-runs/off-cycle.js +9 -5
  610. package/resources/payroll-runs/off-cycle.js.map +1 -1
  611. package/resources/payroll-runs/off-cycle.mjs +9 -5
  612. package/resources/payroll-runs/off-cycle.mjs.map +1 -1
  613. package/resources/permissions/index.d.mts +3 -0
  614. package/resources/permissions/index.d.mts.map +1 -0
  615. package/resources/permissions/index.d.ts +3 -0
  616. package/resources/permissions/index.d.ts.map +1 -0
  617. package/resources/permissions/index.js +9 -0
  618. package/resources/permissions/index.js.map +1 -0
  619. package/resources/permissions/index.mjs +4 -0
  620. package/resources/permissions/index.mjs.map +1 -0
  621. package/resources/permissions/permission-profiles.d.mts +43 -0
  622. package/resources/permissions/permission-profiles.d.mts.map +1 -0
  623. package/resources/permissions/permission-profiles.d.ts +43 -0
  624. package/resources/permissions/permission-profiles.d.ts.map +1 -0
  625. package/resources/permissions/permission-profiles.js +36 -0
  626. package/resources/permissions/permission-profiles.js.map +1 -0
  627. package/resources/permissions/permission-profiles.mjs +32 -0
  628. package/resources/permissions/permission-profiles.mjs.map +1 -0
  629. package/resources/permissions/permissions.d.mts +10 -0
  630. package/resources/permissions/permissions.d.mts.map +1 -0
  631. package/resources/permissions/permissions.d.ts +10 -0
  632. package/resources/permissions/permissions.d.ts.map +1 -0
  633. package/resources/permissions/permissions.js +17 -0
  634. package/resources/permissions/permissions.js.map +1 -0
  635. package/resources/permissions/permissions.mjs +12 -0
  636. package/resources/permissions/permissions.mjs.map +1 -0
  637. package/resources/permissions.d.mts +2 -0
  638. package/resources/permissions.d.mts.map +1 -0
  639. package/resources/permissions.d.ts +2 -0
  640. package/resources/permissions.d.ts.map +1 -0
  641. package/resources/permissions.js +6 -0
  642. package/resources/permissions.js.map +1 -0
  643. package/resources/permissions.mjs +3 -0
  644. package/resources/permissions.mjs.map +1 -0
  645. package/resources/record-detail-reference-options.d.mts +111 -0
  646. package/resources/record-detail-reference-options.d.mts.map +1 -0
  647. package/resources/record-detail-reference-options.d.ts +111 -0
  648. package/resources/record-detail-reference-options.d.ts.map +1 -0
  649. package/resources/record-detail-reference-options.js +54 -0
  650. package/resources/record-detail-reference-options.js.map +1 -0
  651. package/resources/record-detail-reference-options.mjs +50 -0
  652. package/resources/record-detail-reference-options.mjs.map +1 -0
  653. package/resources/record-detail-related-records.d.mts +1070 -0
  654. package/resources/record-detail-related-records.d.mts.map +1 -0
  655. package/resources/record-detail-related-records.d.ts +1070 -0
  656. package/resources/record-detail-related-records.d.ts.map +1 -0
  657. package/resources/record-detail-related-records.js +49 -0
  658. package/resources/record-detail-related-records.js.map +1 -0
  659. package/resources/record-detail-related-records.mjs +45 -0
  660. package/resources/record-detail-related-records.mjs.map +1 -0
  661. package/resources/record-details.d.mts +1227 -0
  662. package/resources/record-details.d.mts.map +1 -0
  663. package/resources/record-details.d.ts +1227 -0
  664. package/resources/record-details.d.ts.map +1 -0
  665. package/resources/record-details.js +71 -0
  666. package/resources/record-details.js.map +1 -0
  667. package/resources/record-details.mjs +67 -0
  668. package/resources/record-details.mjs.map +1 -0
  669. package/resources/reimbursements.d.mts +2158 -90
  670. package/resources/reimbursements.d.mts.map +1 -1
  671. package/resources/reimbursements.d.ts +2158 -90
  672. package/resources/reimbursements.d.ts.map +1 -1
  673. package/resources/reimbursements.js +306 -16
  674. package/resources/reimbursements.js.map +1 -1
  675. package/resources/reimbursements.mjs +306 -16
  676. package/resources/reimbursements.mjs.map +1 -1
  677. package/resources/report-runs.d.mts +2 -1
  678. package/resources/report-runs.d.mts.map +1 -1
  679. package/resources/report-runs.d.ts +2 -1
  680. package/resources/report-runs.d.ts.map +1 -1
  681. package/resources/report-runs.js +2 -1
  682. package/resources/report-runs.js.map +1 -1
  683. package/resources/report-runs.mjs +2 -1
  684. package/resources/report-runs.mjs.map +1 -1
  685. package/resources/sandboxes.d.mts +20 -624
  686. package/resources/sandboxes.d.mts.map +1 -1
  687. package/resources/sandboxes.d.ts +20 -624
  688. package/resources/sandboxes.d.ts.map +1 -1
  689. package/resources/sandboxes.js +5 -60
  690. package/resources/sandboxes.js.map +1 -1
  691. package/resources/sandboxes.mjs +5 -60
  692. package/resources/sandboxes.mjs.map +1 -1
  693. package/src/client.ts +180 -17
  694. package/src/core/platform/custom-objects/manager.ts +65 -42
  695. package/src/core/platform/custom-objects.ts +3 -0
  696. package/src/index.ts +17 -0
  697. package/src/lib/manifest/acp-agent.ts +7 -1
  698. package/src/lib/manifest/composition.ts +133 -0
  699. package/src/lib/manifest/definitions/README.md +89 -0
  700. package/src/lib/manifest/definitions/_object-records.ts +225 -0
  701. package/src/lib/manifest/definitions/action.ts +31 -0
  702. package/src/lib/manifest/definitions/agent.ts +149 -0
  703. package/src/lib/manifest/definitions/app.ts +12 -0
  704. package/src/lib/manifest/definitions/category.ts +35 -0
  705. package/src/lib/manifest/definitions/component.ts +241 -0
  706. package/src/lib/manifest/definitions/custom-field-section.ts +39 -0
  707. package/src/lib/manifest/definitions/custom-field.ts +32 -0
  708. package/src/lib/manifest/definitions/custom-object.ts +791 -0
  709. package/src/lib/manifest/definitions/custom-skill.ts +28 -0
  710. package/src/lib/manifest/definitions/field-section.ts +31 -0
  711. package/src/lib/manifest/definitions/field.ts +119 -0
  712. package/src/lib/manifest/definitions/function.ts +198 -0
  713. package/src/lib/manifest/definitions/index.ts +91 -0
  714. package/src/lib/manifest/definitions/list-view.ts +48 -0
  715. package/src/lib/manifest/definitions/object-search-config.ts +44 -0
  716. package/src/lib/manifest/definitions/object-settings.ts +61 -0
  717. package/src/lib/manifest/definitions/page-layout.ts +218 -0
  718. package/src/lib/manifest/definitions/page.ts +28 -0
  719. package/src/lib/manifest/definitions/record-triggered-flow.ts +71 -0
  720. package/src/lib/manifest/definitions/validation.ts +46 -0
  721. package/src/lib/manifest/definitions/workflow.ts +62 -0
  722. package/src/lib/manifest/index.ts +4 -0
  723. package/src/lib/manifest/package-manifest.ts +40 -0
  724. package/src/resources/activity-log.ts +1 -1
  725. package/src/resources/agents/sessions/messages.ts +10 -1
  726. package/src/resources/agents/sessions/sessions.ts +30 -3
  727. package/src/resources/bills.ts +1660 -0
  728. package/src/resources/card-transactions.ts +742 -49
  729. package/src/resources/custom-objects/custom-objects.ts +62 -2
  730. package/src/resources/custom-objects/fields.ts +44 -0
  731. package/src/resources/custom-objects/index.ts +13 -1
  732. package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
  733. package/src/resources/custom-objects/list-views/default.ts +87 -0
  734. package/src/resources/custom-objects/list-views/index.ts +15 -0
  735. package/src/resources/custom-objects/list-views/list-views.ts +973 -0
  736. package/src/resources/custom-objects/list-views.ts +3 -0
  737. package/src/resources/custom-objects/records/capabilities.ts +73 -0
  738. package/src/resources/custom-objects/records/index.ts +21 -0
  739. package/src/resources/custom-objects/records/records.ts +955 -0
  740. package/src/resources/custom-objects/records.ts +1 -703
  741. package/src/resources/devices.ts +2 -0
  742. package/src/resources/draft-transitions.ts +276 -347
  743. package/src/resources/employee-documents.ts +2 -2
  744. package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
  745. package/src/resources/finance-vendors.ts +191 -0
  746. package/src/resources/functions/executions.ts +4 -1
  747. package/src/resources/functions/functions.ts +216 -4
  748. package/src/resources/hire-requirements.ts +107 -9
  749. package/src/resources/hires.ts +1768 -539
  750. package/src/resources/index.ts +51 -7
  751. package/src/resources/leave-requests.ts +11 -2
  752. package/src/resources/object-categories.ts +2 -1
  753. package/src/resources/package-components/extract.ts +139 -0
  754. package/src/resources/package-components/index.ts +10 -0
  755. package/src/resources/package-components/package-components.ts +134 -0
  756. package/src/resources/package-components/types.ts +64 -0
  757. package/src/resources/package-components.ts +3 -0
  758. package/src/resources/package-installs.ts +120 -9
  759. package/src/resources/package-managed-installs.ts +146 -7
  760. package/src/resources/package-manifests/index.ts +5 -0
  761. package/src/resources/package-manifests/package-manifests.ts +21 -0
  762. package/src/resources/package-manifests/packages/index.ts +4 -0
  763. package/src/resources/package-manifests/packages/packages.ts +19 -0
  764. package/src/resources/package-manifests/packages/versions.ts +237 -0
  765. package/src/resources/package-manifests/packages.ts +3 -0
  766. package/src/resources/package-manifests/versions.ts +96 -0
  767. package/src/resources/package-manifests.ts +3 -0
  768. package/src/resources/package-versions/package-versions.ts +117 -14
  769. package/src/resources/package-versions/publish.ts +46 -4
  770. package/src/resources/packages/next-versions.ts +46 -4
  771. package/src/resources/packages/versions.ts +92 -9
  772. package/src/resources/payroll-runs/off-cycle.ts +17 -9
  773. package/src/resources/permissions/index.ts +4 -0
  774. package/src/resources/permissions/permission-profiles.ts +50 -0
  775. package/src/resources/permissions/permissions.ts +20 -0
  776. package/src/resources/permissions.ts +3 -0
  777. package/src/resources/record-detail-reference-options.ts +142 -0
  778. package/src/resources/record-detail-related-records.ts +1380 -0
  779. package/src/resources/record-details.ts +1554 -0
  780. package/src/resources/reimbursements.ts +2591 -126
  781. package/src/resources/report-runs.ts +2 -1
  782. package/src/resources/sandboxes.ts +48 -742
  783. package/src/version.ts +1 -1
  784. package/version.d.mts +1 -1
  785. package/version.d.ts +1 -1
  786. package/version.js +1 -1
  787. package/version.mjs +1 -1
  788. package/resources/spend-categories.d.mts.map +0 -1
  789. package/resources/spend-categories.d.ts.map +0 -1
  790. package/resources/spend-categories.js.map +0 -1
  791. package/resources/spend-categories.mjs.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { APIResource } from "../core/resource.mjs";
2
+ import * as Shared from "./shared.mjs";
2
3
  import { APIPromise } from "../core/api-promise.mjs";
3
4
  import { RequestOptions } from "../internal/request-options.mjs";
4
5
  /**
@@ -6,9 +7,15 @@ import { RequestOptions } from "../internal/request-options.mjs";
6
7
  */
7
8
  export declare class Hires extends APIResource {
8
9
  /**
9
- * Create or resume hire records for admin review. Idempotency-Key is required.
10
- * Direct hire and EOR are supported in AU, CA, CH, CN, DE, ES, FR, GB, HK, IE, IN,
11
- * NL, NZ, and US. Use POST /draft-hires/ for the legacy draft-hire write path.
10
+ * Create or resume hire records for admin review. When Auto-Hire is enabled,
11
+ * eligible US hires may be submitted automatically and return
12
+ * auto_hire_processing. EOR stays on admin review. Starting with
13
+ * Rippling-Api-Version: 2025-08-01, US own-entity contractors are supported when
14
+ * employment_type_id resolves to a contractor employment type. See GET
15
+ * /hire-requirements/ for the required and ignored fields. Idempotency-Key is
16
+ * required. Direct hire and EOR are supported in AU, BR, CA, CH, CN, CO, DE, ES,
17
+ * FR, GB, HK, IE, IN, MX, NL, NZ, PH, TW, US, and UY. Use POST /draft-hires/ for
18
+ * the legacy draft-hire write path.
12
19
  *
13
20
  * @example HTTP
14
21
  * Representative request and response shapes.
@@ -25,7 +32,7 @@ export declare class Hires extends APIResource {
25
32
  * {
26
33
  * "compensation": {
27
34
  * "base_pay_amount": {},
28
- * "base_pay_period": "base_pay_period"
35
+ * "base_pay_period": "YEAR"
29
36
  * },
30
37
  * "employment": {
31
38
  * "employment_type_id": "employment_type_id",
@@ -82,7 +89,9 @@ export interface HireCreateResponse {
82
89
  export declare namespace HireCreateResponse {
83
90
  interface Result {
84
91
  /**
85
- * ready_for_review, incomplete, or failed.
92
+ * ready_for_review, auto_hire_processing, incomplete, or failed.
93
+ * auto_hire_processing includes hires awaiting approval or asynchronous
94
+ * completion.
86
95
  */
87
96
  status: string;
88
97
  /**
@@ -107,7 +116,7 @@ export declare namespace HireCreateResponse {
107
116
  */
108
117
  missing_required_fields?: Array<string>;
109
118
  /**
110
- * Resolution actions for duplicate or rehire conflicts.
119
+ * Actions for duplicate, rehire, or Auto-Hire failures and blockers.
111
120
  */
112
121
  next_actions?: Array<Result.NextAction>;
113
122
  /**
@@ -132,7 +141,24 @@ export declare namespace HireCreateResponse {
132
141
  }
133
142
  interface NextAction {
134
143
  /**
135
- * Machine-readable next action.
144
+ * Machine-readable next action. Supported values:
145
+ *
146
+ * - `continue_existing_hire`: Continue the matching in-progress hire.
147
+ * - `provide_rehire_choice`: Choose how to rehire the matching former worker.
148
+ *
149
+ * When Auto-Hire is enabled and blocked or fails to start:
150
+ *
151
+ * - `assign_device_in_rippling`: Assign a device in Rippling.
152
+ * - `provide_document_values`: Complete missing document details.
153
+ * - `review_devices_in_rippling`: Review devices in Rippling.
154
+ * - `review_documents_in_rippling`: Review documents in Rippling.
155
+ * - `review_work_email_in_rippling`: Review work email in Rippling.
156
+ * - `review_work_pattern_in_rippling`: Review the work pattern in Rippling.
157
+ * - `review_retirement_in_rippling`: Review retirement enrollment in Rippling.
158
+ * - `configure_offer_notification`: Configure the offer notification.
159
+ * - `provide_missing_hire_input`: Complete missing hire details.
160
+ * - `review_hire_in_rippling`: Review the hire in Rippling.
161
+ * - `resolve_hire_issue_in_rippling`: Resolve the hire issue in Rippling.
136
162
  */
137
163
  code: string;
138
164
  /**
@@ -160,7 +186,8 @@ export declare namespace HireCreateParams {
160
186
  */
161
187
  interface Hire {
162
188
  /**
163
- * Pay for the hire.
189
+ * Base pay and any additional compensation offered for this job. Monetary values
190
+ * contain an ISO 4217 currency code and decimal amount.
164
191
  */
165
192
  compensation: Hire.Compensation;
166
193
  /**
@@ -168,11 +195,13 @@ export declare namespace HireCreateParams {
168
195
  */
169
196
  employment: Hire.Employment;
170
197
  /**
171
- * Personal information for the hire.
198
+ * The person's legal name and the email address or mobile number used to send
199
+ * their invitation.
172
200
  */
173
201
  personal: Hire.Personal;
174
202
  /**
175
- * Work location for the hire.
203
+ * Where the person will work. Provide either a Rippling work-location ID or mark
204
+ * the hire as remote, and always provide the work country.
176
205
  */
177
206
  work_location: Hire.WorkLocation;
178
207
  /**
@@ -180,56 +209,361 @@ export declare namespace HireCreateParams {
180
209
  */
181
210
  client_request_id?: string;
182
211
  /**
183
- * Company-specific hiring fields.
212
+ * Values for company-configured custom fields collected during hiring. Use each
213
+ * field's configured ID and value shape; omit this array when no custom hiring
214
+ * fields are being supplied.
184
215
  */
185
216
  custom_fields?: Array<Hire.CustomField>;
186
217
  /**
187
- * direct_hire or eor. An omitted value defaults to direct_hire.
218
+ * Employment model for this hire: direct_hire employs the person through the
219
+ * company's own legal entity; eor employs the person through Rippling's
220
+ * employer-of-record service. Defaults to direct_hire when omitted.
188
221
  */
189
222
  hire_type?: string;
190
223
  /**
191
- * Optional links to an ATS applicant, open seat, prior employee, or hire already
192
- * in progress.
224
+ * References that associate this hire with recruiting, headcount planning, a prior
225
+ * employment record, or an existing Rippling hiring process. These references
226
+ * control hiring behavior; they are not arbitrary metadata. Omit the object when
227
+ * no association applies.
193
228
  */
194
229
  related_records?: Hire.RelatedRecords;
195
230
  }
196
231
  namespace Hire {
197
232
  /**
198
- * Pay for the hire.
233
+ * Base pay and any additional compensation offered for this job. Monetary values
234
+ * contain an ISO 4217 currency code and decimal amount.
199
235
  */
200
236
  interface Compensation {
201
237
  /**
202
- * Base pay amount using currency_type and value.
238
+ * Gross base-pay rate for one base_pay_period, before bonuses, commission, equity,
239
+ * or allowances. Provide currency_type as a three-letter ISO 4217 code and value
240
+ * as a nonnegative decimal amount. Use zero when the hire has no base pay,
241
+ * including supported zero-pay contractor arrangements. Brazil EOR requires BRL,
242
+ * Colombia EOR requires COP, and Philippines EOR requires PHP. Direct hires using
243
+ * Rippling Standard Global Payroll also require their country's currency: BRL for
244
+ * Brazil, COP for Colombia, or PHP for Philippines. For every Philippines hire,
245
+ * supplying any capped monthly allowance also requires base pay in PHP. Direct
246
+ * hires outside Rippling Standard Global Payroll may use another base-pay currency
247
+ * when those allowances are omitted. Before POST /hires/, call GET
248
+ * /hire-requirements/ with country_code, hire_type, and legal_entity_id from GET
249
+ * /company-legal-entities/ for direct hire to resolve the accepted currency.
250
+ * Entity-specific direct-hire currency rules remain unresolved without
251
+ * legal_entity_id. A wrong currency fails the hire item with invalid_request
252
+ * before creation.
203
253
  */
204
254
  base_pay_amount: Compensation.BasePayAmount;
205
255
  /**
206
- * Base pay period. One of YEAR, MONTH, WEEK, DAY, or HOUR.
256
+ * Unit of time represented by base_pay_amount: YEAR, MONTH, WEEK, DAY, or HOUR.
257
+ * For example, an annual salary uses YEAR and an hourly rate uses HOUR. Brazil EOR
258
+ * and Colombia EOR do not accept HOUR. Colombia EOR accepts YEAR, MONTH, WEEK, or
259
+ * DAY. Philippines EOR requires YEAR for salaried employment types and HOUR for
260
+ * hourly employment types. Starting with API version 2025-08-01, contractor
261
+ * PAY_AS_YOU_GO compensation requires HOUR, MILESTONE requires YEAR, and FIXED
262
+ * accepts any listed unit.
207
263
  */
208
- base_pay_period: string;
264
+ base_pay_period: 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR';
209
265
  /**
210
- * Optional commission. When present, on_target_amount is required.
266
+ * Uruguay EOR annual car allowance. Optional for Uruguay EOR. This is not
267
+ * compensation.car_allowance, which is the Mexico direct-hire allowance. Omit this
268
+ * for Uruguay direct hire and for every other country. currency_type must match
269
+ * compensation.base_pay_amount.currency_type.
270
+ */
271
+ annual_car_allowance?: Compensation.AnnualCarAllowance;
272
+ /**
273
+ * Mexico direct hire car allowance. This is not compensation.annual_car_allowance,
274
+ * which is the Uruguay EOR annual amount. Provide only when listed by GET
275
+ * /hire-requirements/ for the selected country and hire type. currency_type, such
276
+ * as MXN, must match compensation.base_pay_amount.currency_type.
277
+ */
278
+ car_allowance?: Compensation.CarAllowance;
279
+ /**
280
+ * Mexico Christmas bonus in days, from 15 to 30. Required for Mexico EOR. For
281
+ * direct hire, provide only when listed by GET /hire-requirements/ for the
282
+ * selected country and hire type.
283
+ */
284
+ christmas_bonus_days?: number;
285
+ /**
286
+ * Optional monthly Christmas or anniversary gift allowance for Philippines direct
287
+ * hire and EOR. Omit for other countries. Send PHP from zero to 500 per month.
288
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
289
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
290
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
291
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
292
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
293
+ * nonfinite amounts are rejected during request validation; an excessive amount or
294
+ * currency mismatch fails the hire item with invalid_request before creation.
295
+ */
296
+ christmas_or_anniversary_gift?: Compensation.ChristmasOrAnniversaryGift;
297
+ /**
298
+ * Variable sales compensation expected when the person meets target.
299
+ * on_target_amount is required; provide payment_frequency where required by GET
300
+ * /hire-requirements/. Starting with API version 2025-08-01, this field does not
301
+ * apply to contractor hires and is reported in ignored_fields.
211
302
  */
212
303
  commission?: Compensation.Commission;
213
304
  /**
214
- * Optional equity grant. When present, amount is required.
305
+ * Equity grant offered with the job. amount is the grant's monetary value;
306
+ * num_shares and frequency provide additional grant terms when known. Starting
307
+ * with API version 2025-08-01, this field does not apply to contractor hires and
308
+ * is reported in ignored_fields.
215
309
  */
216
310
  equity?: Compensation.Equity;
217
311
  /**
218
- * Optional relocation reimbursement. When present, amount is required.
312
+ * Mexico direct hire grocery coupon. Provide only when listed by GET
313
+ * /hire-requirements/ for the selected country and hire type. currency_type, such
314
+ * as MXN, must match compensation.base_pay_amount.currency_type.
315
+ */
316
+ grocery_coupon?: Compensation.GroceryCoupon;
317
+ /**
318
+ * Uruguay EOR annual healthcare allowance. Optional for Uruguay EOR. Omit this for
319
+ * Uruguay direct hire and for every other country. currency_type must match
320
+ * compensation.base_pay_amount.currency_type.
321
+ */
322
+ healthcare_allowance?: Compensation.HealthcareAllowance;
323
+ /**
324
+ * Uruguay EOR annual housing allowance. Optional for Uruguay EOR. Omit this for
325
+ * Uruguay direct hire and for every other country. currency_type must match
326
+ * compensation.base_pay_amount.currency_type.
327
+ */
328
+ housing_allowance?: Compensation.HousingAllowance;
329
+ /**
330
+ * Whether the worker's employment agreement includes the standard incentive-plan
331
+ * provision for Colombia or Philippines direct hire or EOR. True includes the
332
+ * provision; false omits it. This choice does not specify a bonus amount, target
333
+ * bonus, or commission. Omit when no choice is needed. Availability depends on the
334
+ * company's compensation configuration. Before POST /hires/, call GET
335
+ * /hire-requirements/ with country_code, hire_type, employment_type_id from GET
336
+ * /employment-types/, contract_type (INDEFINITE or FIXED), and legal_entity_id
337
+ * from GET /company-legal-entities/ for direct hire; omit legal_entity_id for EOR.
338
+ * Read this field's available value. If available is absent, availability is
339
+ * unresolved. An unavailable choice, including false, fails the hire item with
340
+ * invalid_request before creation. Rejected for other countries.
341
+ */
342
+ incentive_plan?: boolean;
343
+ /**
344
+ * Uruguay EOR annual internet allowance. Required for Uruguay EOR. When
345
+ * currency_type is UYU, value must be at least 9600 per year. currency_type must
346
+ * match compensation.base_pay_amount.currency_type.
347
+ */
348
+ internet_allowance?: Compensation.InternetAllowance;
349
+ /**
350
+ * Optional monthly laundry allowance for Philippines direct hire and EOR. Omit for
351
+ * other countries. Send PHP from zero to 400 per month. currency_type must be PHP
352
+ * and match compensation.base_pay_amount.currency_type for every Philippines hire.
353
+ * Direct hires with non-PHP base pay must omit this allowance. No currency
354
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
355
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
356
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
357
+ * rejected during request validation; an excessive amount or currency mismatch
358
+ * fails the hire item with invalid_request before creation.
359
+ */
360
+ laundry_allowance?: Compensation.LaundryAllowance;
361
+ /**
362
+ * Uruguay EOR annual meal allowance. Required for Uruguay EOR. When currency_type
363
+ * is UYU, value must be at least 48000 per year. currency_type must match
364
+ * compensation.base_pay_amount.currency_type.
365
+ */
366
+ meal_allowance?: Compensation.MealAllowance;
367
+ /**
368
+ * Optional monthly medical assistance allowance for Philippines direct hire and
369
+ * EOR. Omit for other countries. Send PHP from zero to 1000 per month.
370
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
371
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
372
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
373
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
374
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
375
+ * nonfinite amounts are rejected during request validation; an excessive amount or
376
+ * currency mismatch fails the hire item with invalid_request before creation.
377
+ */
378
+ medical_assistance_allowance?: Compensation.MedicalAssistanceAllowance;
379
+ /**
380
+ * Optional monthly medical cash allowance for Philippines direct hire and EOR.
381
+ * Omit for other countries. Send PHP from zero to 333.33 per month. currency_type
382
+ * must be PHP and match compensation.base_pay_amount.currency_type for every
383
+ * Philippines hire. Direct hires with non-PHP base pay must omit this allowance.
384
+ * No currency conversion is performed. Amounts round to the PHP cent using
385
+ * ROUND_HALF_UP. Omission leaves the allowance unset; zero means no allowance and
386
+ * is stored as unset. The cap is checked after rounding. Negative or nonfinite
387
+ * amounts are rejected during request validation; an excessive amount or currency
388
+ * mismatch fails the hire item with invalid_request before creation.
389
+ */
390
+ medical_cash_allowance?: Compensation.MedicalCashAllowance;
391
+ /**
392
+ * Optional monthly internet allowance for Philippines direct hire and EOR. Omit
393
+ * for other countries. Send PHP from zero to 850 per month. currency_type must be
394
+ * PHP and match compensation.base_pay_amount.currency_type for every Philippines
395
+ * hire. Direct hires with non-PHP base pay must omit this allowance. No currency
396
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
397
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
398
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
399
+ * rejected during request validation; an excessive amount or currency mismatch
400
+ * fails the hire item with invalid_request before creation.
401
+ */
402
+ monthly_internet_allowance?: Compensation.MonthlyInternetAllowance;
403
+ /**
404
+ * Uruguay EOR annual pension allowance. Optional for Uruguay EOR. Omit this for
405
+ * Uruguay direct hire and for every other country. currency_type must match
406
+ * compensation.base_pay_amount.currency_type.
407
+ */
408
+ pension_allowance?: Compensation.PensionAllowance;
409
+ /**
410
+ * Uruguay EOR annual phone allowance. Optional for Uruguay EOR. Omit this for
411
+ * Uruguay direct hire and for every other country. currency_type must match
412
+ * compensation.base_pay_amount.currency_type.
413
+ */
414
+ phone_allowance?: Compensation.PhoneAllowance;
415
+ /**
416
+ * Optional monthly productivity incentive allowance for Philippines direct hire
417
+ * and EOR. Omit for other countries. Send PHP from zero to 1000 per month.
418
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
419
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
420
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
421
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
422
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
423
+ * nonfinite amounts are rejected during request validation; an excessive amount or
424
+ * currency mismatch fails the hire item with invalid_request before creation.
425
+ */
426
+ productivity_incentive_allowance?: Compensation.ProductivityIncentiveAllowance;
427
+ /**
428
+ * One-time relocation reimbursement or benefit offered for this hire. amount is
429
+ * required when the object is provided. Starting with API version 2025-08-01, this
430
+ * field does not apply to contractor hires and is reported in ignored_fields.
431
+ * Mexico direct hire rejects this field; use relocation_expense instead. Mexico
432
+ * EOR accepts it only when the company's EOR compensation types include
433
+ * RELOCATION_BONUS and the relocation feature is enabled for that company and
434
+ * Mexico. No Platform API read exposes this company-specific eligibility; check
435
+ * the company's Mexico EOR compensation settings in Rippling before sending. If
436
+ * unavailable, the hire item fails with invalid_request before creation. Colombia
437
+ * and Philippines direct hire and EOR also require relocation to be offered by the
438
+ * country's compensation configuration and enabled for the company. Before POST
439
+ * /hires/, call GET /hire-requirements/ with country_code, hire_type,
440
+ * employment_type_id from GET /employment-types/, contract_type (INDEFINITE or
441
+ * FIXED), and legal_entity_id from GET /company-legal-entities/ for direct hire;
442
+ * omit legal_entity_id for EOR. Read this field's available value. If available is
443
+ * absent, availability is unresolved. If unavailable, the hire item fails with
444
+ * invalid_request before creation. Its currency must match base pay for those
445
+ * countries.
219
446
  */
220
447
  relocation?: Compensation.Relocation;
221
448
  /**
222
- * Optional signing bonus. When present, amount and schedule are required.
449
+ * Mexico direct hire relocation expense. Provide only when listed by GET
450
+ * /hire-requirements/ for the selected country and hire type. This is not
451
+ * compensation.relocation. currency_type, such as MXN, must match
452
+ * compensation.base_pay_amount.currency_type.
453
+ */
454
+ relocation_expense?: Compensation.RelocationExpense;
455
+ /**
456
+ * Recurring allowance paid for remote-work expenses. Provide only when listed by
457
+ * GET /hire-requirements/ for the selected country and hire type; use a zero
458
+ * amount when the catalog requires the field but no allowance is offered.
459
+ * Switzerland maps this to the Swiss remote-working allowance. Mexico maps this to
460
+ * the Mexico remote work allowance: direct hire sends it when selected. Mexico EOR
461
+ * sets it automatically and rejects a caller-supplied value.
462
+ */
463
+ remote_working_allowance?: Compensation.RemoteWorkingAllowance;
464
+ /**
465
+ * Optional monthly rice allowance for Philippines direct hire and EOR. Omit for
466
+ * other countries. Send PHP from zero to 2500 per month. currency_type must be PHP
467
+ * and match compensation.base_pay_amount.currency_type for every Philippines hire.
468
+ * Direct hires with non-PHP base pay must omit this allowance. No currency
469
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
470
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
471
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
472
+ * rejected during request validation; an excessive amount or currency mismatch
473
+ * fails the hire item with invalid_request before creation.
474
+ */
475
+ rice_allowance?: Compensation.RiceAllowance;
476
+ /**
477
+ * Mexico direct hire savings fund percent as a numeric string without the percent
478
+ * sign, such as 10. Allowed range is 0 to 100. Provide only when listed by GET
479
+ * /hire-requirements/ for the selected country and hire type.
480
+ */
481
+ savings_fund_percent?: string;
482
+ /**
483
+ * One-time payment offered for accepting or starting the job. When provided,
484
+ * amount and schedule are required; payment_days is optional. Starting with API
485
+ * version 2025-08-01, this field does not apply to contractor hires and is
486
+ * reported in ignored_fields.
223
487
  */
224
488
  signing_bonus?: Compensation.SigningBonus;
225
489
  /**
226
- * Optional target bonus. When present, provide exactly one of amount or percent.
490
+ * Uruguay EOR annual special allowance. Optional for Uruguay EOR. Omit this for
491
+ * Uruguay direct hire and for every other country. currency_type must match
492
+ * compensation.base_pay_amount.currency_type.
493
+ */
494
+ special_allowance?: Compensation.SpecialAllowance;
495
+ /**
496
+ * Bonus earned for meeting the role's target performance. Express the target as
497
+ * exactly one of a monetary amount or a percentage of base pay; provide
498
+ * payment_frequency where required by GET /hire-requirements/. Starting with API
499
+ * version 2025-08-01, this field does not apply to contractor hires and is
500
+ * reported in ignored_fields.
227
501
  */
228
502
  target_bonus?: Compensation.TargetBonus;
503
+ /**
504
+ * Mexico direct hire telecommunications and electricity allowance. Required for
505
+ * every Mexico direct hire. currency_type, such as MXN, must match
506
+ * compensation.base_pay_amount.currency_type.
507
+ */
508
+ telecom_allowance?: Compensation.TelecomAllowance;
509
+ /**
510
+ * Contractually required thirteenth-month salary payment. Provide only when listed
511
+ * by GET /hire-requirements/ for the selected country and hire type. Brazil EOR
512
+ * calculates this automatically as one-twelfth of annual base pay in BRL, rounded
513
+ * down to the cent. To annualize base_pay_amount.value, multiply by 260 for DAY,
514
+ * 52 for WEEK, 12 for MONTH, or 1 for YEAR, using base_pay_period. Brazil EOR
515
+ * rejects a caller-supplied value.
516
+ */
517
+ thirteenth_month_bonus?: Compensation.ThirteenthMonthBonus;
518
+ /**
519
+ * Optional monthly uniform and clothing allowance for Philippines direct hire and
520
+ * EOR. Omit for other countries. Send PHP from zero to 666.67 per month.
521
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
522
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
523
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
524
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
525
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
526
+ * nonfinite amounts are rejected during request validation; an excessive amount or
527
+ * currency mismatch fails the hire item with invalid_request before creation.
528
+ */
529
+ uniform_and_clothing_allowance?: Compensation.UniformAndClothingAllowance;
530
+ /**
531
+ * Uruguay EOR annual vacation allowance. Optional for Uruguay EOR. Omit this for
532
+ * Uruguay direct hire and for every other country. currency_type must match
533
+ * compensation.base_pay_amount.currency_type.
534
+ */
535
+ vacation_allowance?: Compensation.VacationAllowance;
536
+ /**
537
+ * Mexico vacation premium percent as a numeric string without the percent sign,
538
+ * such as 25. Required for Mexico EOR and must be 25. For direct hire, provide
539
+ * only when listed by GET /hire-requirements/ for the selected country and hire
540
+ * type; allowed range is 25 to 100. Omitting it does not apply a default.
541
+ */
542
+ vacation_premium_percent?: string;
543
+ /**
544
+ * Uruguay EOR annual work-from-home allowance. Optional for Uruguay EOR. Omit this
545
+ * for Uruguay direct hire and for every other country. currency_type must match
546
+ * compensation.base_pay_amount.currency_type.
547
+ */
548
+ work_from_home_allowance?: Compensation.WorkFromHomeAllowance;
229
549
  }
230
550
  namespace Compensation {
231
551
  /**
232
- * Base pay amount using currency_type and value.
552
+ * Gross base-pay rate for one base_pay_period, before bonuses, commission, equity,
553
+ * or allowances. Provide currency_type as a three-letter ISO 4217 code and value
554
+ * as a nonnegative decimal amount. Use zero when the hire has no base pay,
555
+ * including supported zero-pay contractor arrangements. Brazil EOR requires BRL,
556
+ * Colombia EOR requires COP, and Philippines EOR requires PHP. Direct hires using
557
+ * Rippling Standard Global Payroll also require their country's currency: BRL for
558
+ * Brazil, COP for Colombia, or PHP for Philippines. For every Philippines hire,
559
+ * supplying any capped monthly allowance also requires base pay in PHP. Direct
560
+ * hires outside Rippling Standard Global Payroll may use another base-pay currency
561
+ * when those allowances are omitted. Before POST /hires/, call GET
562
+ * /hire-requirements/ with country_code, hire_type, and legal_entity_id from GET
563
+ * /company-legal-entities/ for direct hire to resolve the accepted currency.
564
+ * Entity-specific direct-hire currency rules remain unresolved without
565
+ * legal_entity_id. A wrong currency fails the hire item with invalid_request
566
+ * before creation.
233
567
  */
234
568
  interface BasePayAmount {
235
569
  /**
@@ -242,22 +576,80 @@ export declare namespace HireCreateParams {
242
576
  value?: number;
243
577
  }
244
578
  /**
245
- * Optional commission. When present, on_target_amount is required.
579
+ * Uruguay EOR annual car allowance. Optional for Uruguay EOR. This is not
580
+ * compensation.car_allowance, which is the Mexico direct-hire allowance. Omit this
581
+ * for Uruguay direct hire and for every other country. currency_type must match
582
+ * compensation.base_pay_amount.currency_type.
583
+ */
584
+ interface AnnualCarAllowance {
585
+ /**
586
+ * The currency type, ex: USD, EUR, etc.
587
+ */
588
+ currency_type?: string;
589
+ /**
590
+ * The decimal amount for the currency.
591
+ */
592
+ value?: number;
593
+ }
594
+ /**
595
+ * Mexico direct hire car allowance. This is not compensation.annual_car_allowance,
596
+ * which is the Uruguay EOR annual amount. Provide only when listed by GET
597
+ * /hire-requirements/ for the selected country and hire type. currency_type, such
598
+ * as MXN, must match compensation.base_pay_amount.currency_type.
599
+ */
600
+ interface CarAllowance {
601
+ /**
602
+ * The currency type, ex: USD, EUR, etc.
603
+ */
604
+ currency_type?: string;
605
+ /**
606
+ * The decimal amount for the currency.
607
+ */
608
+ value?: number;
609
+ }
610
+ /**
611
+ * Optional monthly Christmas or anniversary gift allowance for Philippines direct
612
+ * hire and EOR. Omit for other countries. Send PHP from zero to 500 per month.
613
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
614
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
615
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
616
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
617
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
618
+ * nonfinite amounts are rejected during request validation; an excessive amount or
619
+ * currency mismatch fails the hire item with invalid_request before creation.
620
+ */
621
+ interface ChristmasOrAnniversaryGift {
622
+ /**
623
+ * The currency type, ex: USD, EUR, etc.
624
+ */
625
+ currency_type?: string;
626
+ /**
627
+ * The decimal amount for the currency.
628
+ */
629
+ value?: number;
630
+ }
631
+ /**
632
+ * Variable sales compensation expected when the person meets target.
633
+ * on_target_amount is required; provide payment_frequency where required by GET
634
+ * /hire-requirements/. Starting with API version 2025-08-01, this field does not
635
+ * apply to contractor hires and is reported in ignored_fields.
246
636
  */
247
637
  interface Commission {
248
638
  /**
249
- * On-target commission amount.
639
+ * Expected total commission for a full year when the person meets target, using
640
+ * currency_type as a three-letter ISO 4217 code and value as the decimal amount.
250
641
  */
251
642
  on_target_amount: Commission.OnTargetAmount;
252
643
  /**
253
- * How often on-target commission is paid (MONTH, QUARTER, YEAR). Required for CA
254
- * direct hire when commission is provided; not collected on US hiring UI.
644
+ * How often commission is paid: MONTH, QUARTER, or YEAR. Required when indicated
645
+ * by GET /hire-requirements/ for the selected country and hire type.
255
646
  */
256
- payment_frequency?: string;
647
+ payment_frequency?: 'MONTH' | 'QUARTER' | 'YEAR';
257
648
  }
258
649
  namespace Commission {
259
650
  /**
260
- * On-target commission amount.
651
+ * Expected total commission for a full year when the person meets target, using
652
+ * currency_type as a three-letter ISO 4217 code and value as the decimal amount.
261
653
  */
262
654
  interface OnTargetAmount {
263
655
  /**
@@ -271,25 +663,31 @@ export declare namespace HireCreateParams {
271
663
  }
272
664
  }
273
665
  /**
274
- * Optional equity grant. When present, amount is required.
666
+ * Equity grant offered with the job. amount is the grant's monetary value;
667
+ * num_shares and frequency provide additional grant terms when known. Starting
668
+ * with API version 2025-08-01, this field does not apply to contractor hires and
669
+ * is reported in ignored_fields.
275
670
  */
276
671
  interface Equity {
277
672
  /**
278
- * Equity grant amount.
673
+ * Monetary value assigned to the equity grant, using currency_type as a
674
+ * three-letter ISO 4217 code and value as the decimal amount.
279
675
  */
280
676
  amount: Equity.Amount;
281
677
  /**
282
- * Optional equity frequency, for example ANNUAL.
678
+ * Grant frequency when applicable: ONE_TIME or ANNUAL.
283
679
  */
284
- frequency?: string;
680
+ frequency?: 'ONE_TIME' | 'ANNUAL';
285
681
  /**
286
- * Optional number of shares.
682
+ * Number of shares or units included in the grant, when the grant is expressed in
683
+ * shares.
287
684
  */
288
685
  num_shares?: number;
289
686
  }
290
687
  namespace Equity {
291
688
  /**
292
- * Equity grant amount.
689
+ * Monetary value assigned to the equity grant, using currency_type as a
690
+ * three-letter ISO 4217 code and value as the decimal amount.
293
691
  */
294
692
  interface Amount {
295
693
  /**
@@ -303,17 +701,246 @@ export declare namespace HireCreateParams {
303
701
  }
304
702
  }
305
703
  /**
306
- * Optional relocation reimbursement. When present, amount is required.
704
+ * Mexico direct hire grocery coupon. Provide only when listed by GET
705
+ * /hire-requirements/ for the selected country and hire type. currency_type, such
706
+ * as MXN, must match compensation.base_pay_amount.currency_type.
707
+ */
708
+ interface GroceryCoupon {
709
+ /**
710
+ * The currency type, ex: USD, EUR, etc.
711
+ */
712
+ currency_type?: string;
713
+ /**
714
+ * The decimal amount for the currency.
715
+ */
716
+ value?: number;
717
+ }
718
+ /**
719
+ * Uruguay EOR annual healthcare allowance. Optional for Uruguay EOR. Omit this for
720
+ * Uruguay direct hire and for every other country. currency_type must match
721
+ * compensation.base_pay_amount.currency_type.
722
+ */
723
+ interface HealthcareAllowance {
724
+ /**
725
+ * The currency type, ex: USD, EUR, etc.
726
+ */
727
+ currency_type?: string;
728
+ /**
729
+ * The decimal amount for the currency.
730
+ */
731
+ value?: number;
732
+ }
733
+ /**
734
+ * Uruguay EOR annual housing allowance. Optional for Uruguay EOR. Omit this for
735
+ * Uruguay direct hire and for every other country. currency_type must match
736
+ * compensation.base_pay_amount.currency_type.
737
+ */
738
+ interface HousingAllowance {
739
+ /**
740
+ * The currency type, ex: USD, EUR, etc.
741
+ */
742
+ currency_type?: string;
743
+ /**
744
+ * The decimal amount for the currency.
745
+ */
746
+ value?: number;
747
+ }
748
+ /**
749
+ * Uruguay EOR annual internet allowance. Required for Uruguay EOR. When
750
+ * currency_type is UYU, value must be at least 9600 per year. currency_type must
751
+ * match compensation.base_pay_amount.currency_type.
752
+ */
753
+ interface InternetAllowance {
754
+ /**
755
+ * The currency type, ex: USD, EUR, etc.
756
+ */
757
+ currency_type?: string;
758
+ /**
759
+ * The decimal amount for the currency.
760
+ */
761
+ value?: number;
762
+ }
763
+ /**
764
+ * Optional monthly laundry allowance for Philippines direct hire and EOR. Omit for
765
+ * other countries. Send PHP from zero to 400 per month. currency_type must be PHP
766
+ * and match compensation.base_pay_amount.currency_type for every Philippines hire.
767
+ * Direct hires with non-PHP base pay must omit this allowance. No currency
768
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
769
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
770
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
771
+ * rejected during request validation; an excessive amount or currency mismatch
772
+ * fails the hire item with invalid_request before creation.
773
+ */
774
+ interface LaundryAllowance {
775
+ /**
776
+ * The currency type, ex: USD, EUR, etc.
777
+ */
778
+ currency_type?: string;
779
+ /**
780
+ * The decimal amount for the currency.
781
+ */
782
+ value?: number;
783
+ }
784
+ /**
785
+ * Uruguay EOR annual meal allowance. Required for Uruguay EOR. When currency_type
786
+ * is UYU, value must be at least 48000 per year. currency_type must match
787
+ * compensation.base_pay_amount.currency_type.
788
+ */
789
+ interface MealAllowance {
790
+ /**
791
+ * The currency type, ex: USD, EUR, etc.
792
+ */
793
+ currency_type?: string;
794
+ /**
795
+ * The decimal amount for the currency.
796
+ */
797
+ value?: number;
798
+ }
799
+ /**
800
+ * Optional monthly medical assistance allowance for Philippines direct hire and
801
+ * EOR. Omit for other countries. Send PHP from zero to 1000 per month.
802
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
803
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
804
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
805
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
806
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
807
+ * nonfinite amounts are rejected during request validation; an excessive amount or
808
+ * currency mismatch fails the hire item with invalid_request before creation.
809
+ */
810
+ interface MedicalAssistanceAllowance {
811
+ /**
812
+ * The currency type, ex: USD, EUR, etc.
813
+ */
814
+ currency_type?: string;
815
+ /**
816
+ * The decimal amount for the currency.
817
+ */
818
+ value?: number;
819
+ }
820
+ /**
821
+ * Optional monthly medical cash allowance for Philippines direct hire and EOR.
822
+ * Omit for other countries. Send PHP from zero to 333.33 per month. currency_type
823
+ * must be PHP and match compensation.base_pay_amount.currency_type for every
824
+ * Philippines hire. Direct hires with non-PHP base pay must omit this allowance.
825
+ * No currency conversion is performed. Amounts round to the PHP cent using
826
+ * ROUND_HALF_UP. Omission leaves the allowance unset; zero means no allowance and
827
+ * is stored as unset. The cap is checked after rounding. Negative or nonfinite
828
+ * amounts are rejected during request validation; an excessive amount or currency
829
+ * mismatch fails the hire item with invalid_request before creation.
830
+ */
831
+ interface MedicalCashAllowance {
832
+ /**
833
+ * The currency type, ex: USD, EUR, etc.
834
+ */
835
+ currency_type?: string;
836
+ /**
837
+ * The decimal amount for the currency.
838
+ */
839
+ value?: number;
840
+ }
841
+ /**
842
+ * Optional monthly internet allowance for Philippines direct hire and EOR. Omit
843
+ * for other countries. Send PHP from zero to 850 per month. currency_type must be
844
+ * PHP and match compensation.base_pay_amount.currency_type for every Philippines
845
+ * hire. Direct hires with non-PHP base pay must omit this allowance. No currency
846
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
847
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
848
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
849
+ * rejected during request validation; an excessive amount or currency mismatch
850
+ * fails the hire item with invalid_request before creation.
851
+ */
852
+ interface MonthlyInternetAllowance {
853
+ /**
854
+ * The currency type, ex: USD, EUR, etc.
855
+ */
856
+ currency_type?: string;
857
+ /**
858
+ * The decimal amount for the currency.
859
+ */
860
+ value?: number;
861
+ }
862
+ /**
863
+ * Uruguay EOR annual pension allowance. Optional for Uruguay EOR. Omit this for
864
+ * Uruguay direct hire and for every other country. currency_type must match
865
+ * compensation.base_pay_amount.currency_type.
866
+ */
867
+ interface PensionAllowance {
868
+ /**
869
+ * The currency type, ex: USD, EUR, etc.
870
+ */
871
+ currency_type?: string;
872
+ /**
873
+ * The decimal amount for the currency.
874
+ */
875
+ value?: number;
876
+ }
877
+ /**
878
+ * Uruguay EOR annual phone allowance. Optional for Uruguay EOR. Omit this for
879
+ * Uruguay direct hire and for every other country. currency_type must match
880
+ * compensation.base_pay_amount.currency_type.
881
+ */
882
+ interface PhoneAllowance {
883
+ /**
884
+ * The currency type, ex: USD, EUR, etc.
885
+ */
886
+ currency_type?: string;
887
+ /**
888
+ * The decimal amount for the currency.
889
+ */
890
+ value?: number;
891
+ }
892
+ /**
893
+ * Optional monthly productivity incentive allowance for Philippines direct hire
894
+ * and EOR. Omit for other countries. Send PHP from zero to 1000 per month.
895
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
896
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
897
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
898
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
899
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
900
+ * nonfinite amounts are rejected during request validation; an excessive amount or
901
+ * currency mismatch fails the hire item with invalid_request before creation.
902
+ */
903
+ interface ProductivityIncentiveAllowance {
904
+ /**
905
+ * The currency type, ex: USD, EUR, etc.
906
+ */
907
+ currency_type?: string;
908
+ /**
909
+ * The decimal amount for the currency.
910
+ */
911
+ value?: number;
912
+ }
913
+ /**
914
+ * One-time relocation reimbursement or benefit offered for this hire. amount is
915
+ * required when the object is provided. Starting with API version 2025-08-01, this
916
+ * field does not apply to contractor hires and is reported in ignored_fields.
917
+ * Mexico direct hire rejects this field; use relocation_expense instead. Mexico
918
+ * EOR accepts it only when the company's EOR compensation types include
919
+ * RELOCATION_BONUS and the relocation feature is enabled for that company and
920
+ * Mexico. No Platform API read exposes this company-specific eligibility; check
921
+ * the company's Mexico EOR compensation settings in Rippling before sending. If
922
+ * unavailable, the hire item fails with invalid_request before creation. Colombia
923
+ * and Philippines direct hire and EOR also require relocation to be offered by the
924
+ * country's compensation configuration and enabled for the company. Before POST
925
+ * /hires/, call GET /hire-requirements/ with country_code, hire_type,
926
+ * employment_type_id from GET /employment-types/, contract_type (INDEFINITE or
927
+ * FIXED), and legal_entity_id from GET /company-legal-entities/ for direct hire;
928
+ * omit legal_entity_id for EOR. Read this field's available value. If available is
929
+ * absent, availability is unresolved. If unavailable, the hire item fails with
930
+ * invalid_request before creation. Its currency must match base pay for those
931
+ * countries.
307
932
  */
308
933
  interface Relocation {
309
934
  /**
310
- * Relocation reimbursement amount.
935
+ * Total relocation reimbursement or benefit, using currency_type as a three-letter
936
+ * ISO 4217 code and value as the decimal amount.
311
937
  */
312
938
  amount: Relocation.Amount;
313
939
  }
314
940
  namespace Relocation {
315
941
  /**
316
- * Relocation reimbursement amount.
942
+ * Total relocation reimbursement or benefit, using currency_type as a three-letter
943
+ * ISO 4217 code and value as the decimal amount.
317
944
  */
318
945
  interface Amount {
319
946
  /**
@@ -327,25 +954,87 @@ export declare namespace HireCreateParams {
327
954
  }
328
955
  }
329
956
  /**
330
- * Optional signing bonus. When present, amount and schedule are required.
957
+ * Mexico direct hire relocation expense. Provide only when listed by GET
958
+ * /hire-requirements/ for the selected country and hire type. This is not
959
+ * compensation.relocation. currency_type, such as MXN, must match
960
+ * compensation.base_pay_amount.currency_type.
961
+ */
962
+ interface RelocationExpense {
963
+ /**
964
+ * The currency type, ex: USD, EUR, etc.
965
+ */
966
+ currency_type?: string;
967
+ /**
968
+ * The decimal amount for the currency.
969
+ */
970
+ value?: number;
971
+ }
972
+ /**
973
+ * Recurring allowance paid for remote-work expenses. Provide only when listed by
974
+ * GET /hire-requirements/ for the selected country and hire type; use a zero
975
+ * amount when the catalog requires the field but no allowance is offered.
976
+ * Switzerland maps this to the Swiss remote-working allowance. Mexico maps this to
977
+ * the Mexico remote work allowance: direct hire sends it when selected. Mexico EOR
978
+ * sets it automatically and rejects a caller-supplied value.
979
+ */
980
+ interface RemoteWorkingAllowance {
981
+ /**
982
+ * The currency type, ex: USD, EUR, etc.
983
+ */
984
+ currency_type?: string;
985
+ /**
986
+ * The decimal amount for the currency.
987
+ */
988
+ value?: number;
989
+ }
990
+ /**
991
+ * Optional monthly rice allowance for Philippines direct hire and EOR. Omit for
992
+ * other countries. Send PHP from zero to 2500 per month. currency_type must be PHP
993
+ * and match compensation.base_pay_amount.currency_type for every Philippines hire.
994
+ * Direct hires with non-PHP base pay must omit this allowance. No currency
995
+ * conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
996
+ * Omission leaves the allowance unset; zero means no allowance and is stored as
997
+ * unset. The cap is checked after rounding. Negative or nonfinite amounts are
998
+ * rejected during request validation; an excessive amount or currency mismatch
999
+ * fails the hire item with invalid_request before creation.
1000
+ */
1001
+ interface RiceAllowance {
1002
+ /**
1003
+ * The currency type, ex: USD, EUR, etc.
1004
+ */
1005
+ currency_type?: string;
1006
+ /**
1007
+ * The decimal amount for the currency.
1008
+ */
1009
+ value?: number;
1010
+ }
1011
+ /**
1012
+ * One-time payment offered for accepting or starting the job. When provided,
1013
+ * amount and schedule are required; payment_days is optional. Starting with API
1014
+ * version 2025-08-01, this field does not apply to contractor hires and is
1015
+ * reported in ignored_fields.
331
1016
  */
332
1017
  interface SigningBonus {
333
1018
  /**
334
- * Signing bonus amount.
1019
+ * Total one-time signing bonus, using currency_type as a three-letter ISO 4217
1020
+ * code and value as the decimal amount.
335
1021
  */
336
1022
  amount: SigningBonus.Amount;
337
1023
  /**
338
- * When the signing bonus is paid, for example FIRST_PAYROLL.
1024
+ * Payment event or schedule for the signing bonus, for example FIRST_PAYROLL. Use
1025
+ * an allowed value returned by GET /hire-requirements/.
339
1026
  */
340
1027
  schedule: string;
341
1028
  /**
342
- * Optional number of days until signing bonus payment.
1029
+ * Number of days after the applicable start or schedule event when the bonus is
1030
+ * paid, if used.
343
1031
  */
344
1032
  payment_days?: number;
345
1033
  }
346
1034
  namespace SigningBonus {
347
1035
  /**
348
- * Signing bonus amount.
1036
+ * Total one-time signing bonus, using currency_type as a three-letter ISO 4217
1037
+ * code and value as the decimal amount.
349
1038
  */
350
1039
  interface Amount {
351
1040
  /**
@@ -359,26 +1048,49 @@ export declare namespace HireCreateParams {
359
1048
  }
360
1049
  }
361
1050
  /**
362
- * Optional target bonus. When present, provide exactly one of amount or percent.
1051
+ * Uruguay EOR annual special allowance. Optional for Uruguay EOR. Omit this for
1052
+ * Uruguay direct hire and for every other country. currency_type must match
1053
+ * compensation.base_pay_amount.currency_type.
1054
+ */
1055
+ interface SpecialAllowance {
1056
+ /**
1057
+ * The currency type, ex: USD, EUR, etc.
1058
+ */
1059
+ currency_type?: string;
1060
+ /**
1061
+ * The decimal amount for the currency.
1062
+ */
1063
+ value?: number;
1064
+ }
1065
+ /**
1066
+ * Bonus earned for meeting the role's target performance. Express the target as
1067
+ * exactly one of a monetary amount or a percentage of base pay; provide
1068
+ * payment_frequency where required by GET /hire-requirements/. Starting with API
1069
+ * version 2025-08-01, this field does not apply to contractor hires and is
1070
+ * reported in ignored_fields.
363
1071
  */
364
1072
  interface TargetBonus {
365
1073
  /**
366
- * Target bonus as a currency amount. Provide exactly one of amount or percent.
1074
+ * Target bonus amount using currency_type as a three-letter ISO 4217 code and
1075
+ * value as the decimal amount. Provide exactly one of amount or percent.
367
1076
  */
368
1077
  amount?: TargetBonus.Amount;
369
1078
  /**
370
- * How often target bonus is paid (MONTH, QUARTER, SEMI_ANNUAL, YEAR). Required for
371
- * CA direct hire when target_bonus is provided; not collected on US hiring UI.
1079
+ * How often the target bonus is paid: MONTH, QUARTER, SEMI_ANNUAL, or YEAR.
1080
+ * Required when indicated by GET /hire-requirements/ for the selected country and
1081
+ * hire type.
372
1082
  */
373
- payment_frequency?: string;
1083
+ payment_frequency?: 'MONTH' | 'QUARTER' | 'SEMI_ANNUAL' | 'YEAR';
374
1084
  /**
375
- * Target bonus as a percent string. Provide exactly one of amount or percent.
1085
+ * Target bonus as a percentage of base pay, written as a numeric string without
1086
+ * the percent sign, for example 15. Provide exactly one of amount or percent.
376
1087
  */
377
1088
  percent?: string;
378
1089
  }
379
1090
  namespace TargetBonus {
380
1091
  /**
381
- * Target bonus as a currency amount. Provide exactly one of amount or percent.
1092
+ * Target bonus amount using currency_type as a three-letter ISO 4217 code and
1093
+ * value as the decimal amount. Provide exactly one of amount or percent.
382
1094
  */
383
1095
  interface Amount {
384
1096
  /**
@@ -391,13 +1103,99 @@ export declare namespace HireCreateParams {
391
1103
  value?: number;
392
1104
  }
393
1105
  }
1106
+ /**
1107
+ * Mexico direct hire telecommunications and electricity allowance. Required for
1108
+ * every Mexico direct hire. currency_type, such as MXN, must match
1109
+ * compensation.base_pay_amount.currency_type.
1110
+ */
1111
+ interface TelecomAllowance {
1112
+ /**
1113
+ * The currency type, ex: USD, EUR, etc.
1114
+ */
1115
+ currency_type?: string;
1116
+ /**
1117
+ * The decimal amount for the currency.
1118
+ */
1119
+ value?: number;
1120
+ }
1121
+ /**
1122
+ * Contractually required thirteenth-month salary payment. Provide only when listed
1123
+ * by GET /hire-requirements/ for the selected country and hire type. Brazil EOR
1124
+ * calculates this automatically as one-twelfth of annual base pay in BRL, rounded
1125
+ * down to the cent. To annualize base_pay_amount.value, multiply by 260 for DAY,
1126
+ * 52 for WEEK, 12 for MONTH, or 1 for YEAR, using base_pay_period. Brazil EOR
1127
+ * rejects a caller-supplied value.
1128
+ */
1129
+ interface ThirteenthMonthBonus {
1130
+ /**
1131
+ * The currency type, ex: USD, EUR, etc.
1132
+ */
1133
+ currency_type?: string;
1134
+ /**
1135
+ * The decimal amount for the currency.
1136
+ */
1137
+ value?: number;
1138
+ }
1139
+ /**
1140
+ * Optional monthly uniform and clothing allowance for Philippines direct hire and
1141
+ * EOR. Omit for other countries. Send PHP from zero to 666.67 per month.
1142
+ * currency_type must be PHP and match compensation.base_pay_amount.currency_type
1143
+ * for every Philippines hire. Direct hires with non-PHP base pay must omit this
1144
+ * allowance. No currency conversion is performed. Amounts round to the PHP cent
1145
+ * using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
1146
+ * allowance and is stored as unset. The cap is checked after rounding. Negative or
1147
+ * nonfinite amounts are rejected during request validation; an excessive amount or
1148
+ * currency mismatch fails the hire item with invalid_request before creation.
1149
+ */
1150
+ interface UniformAndClothingAllowance {
1151
+ /**
1152
+ * The currency type, ex: USD, EUR, etc.
1153
+ */
1154
+ currency_type?: string;
1155
+ /**
1156
+ * The decimal amount for the currency.
1157
+ */
1158
+ value?: number;
1159
+ }
1160
+ /**
1161
+ * Uruguay EOR annual vacation allowance. Optional for Uruguay EOR. Omit this for
1162
+ * Uruguay direct hire and for every other country. currency_type must match
1163
+ * compensation.base_pay_amount.currency_type.
1164
+ */
1165
+ interface VacationAllowance {
1166
+ /**
1167
+ * The currency type, ex: USD, EUR, etc.
1168
+ */
1169
+ currency_type?: string;
1170
+ /**
1171
+ * The decimal amount for the currency.
1172
+ */
1173
+ value?: number;
1174
+ }
1175
+ /**
1176
+ * Uruguay EOR annual work-from-home allowance. Optional for Uruguay EOR. Omit this
1177
+ * for Uruguay direct hire and for every other country. currency_type must match
1178
+ * compensation.base_pay_amount.currency_type.
1179
+ */
1180
+ interface WorkFromHomeAllowance {
1181
+ /**
1182
+ * The currency type, ex: USD, EUR, etc.
1183
+ */
1184
+ currency_type?: string;
1185
+ /**
1186
+ * The decimal amount for the currency.
1187
+ */
1188
+ value?: number;
1189
+ }
394
1190
  }
395
1191
  /**
396
1192
  * The job: title, hours, and country-specific details.
397
1193
  */
398
1194
  interface Employment {
399
1195
  /**
400
- * Employment type id from GET /employment-types/.
1196
+ * Employment type id from GET /employment-types/. Starting with API version
1197
+ * 2025-08-01, a contractor employment type changes which fields are required or
1198
+ * ignored. Call GET /hire-requirements/ for the applicable rules.
401
1199
  */
402
1200
  employment_type_id: string;
403
1201
  /**
@@ -409,749 +1207,1039 @@ export declare namespace HireCreateParams {
409
1207
  */
410
1208
  title: string;
411
1209
  /**
412
- * Required for FR EOR. Field of work, such as Engineering.
413
- */
414
- applicable_fields_of_work?: string;
415
- /**
416
- * Required for AU, CA, IN, and GB EOR. True if this person is authorized to work
417
- * in the country.
1210
+ * Colombia statutory occupational-risk insurance contribution percentage, based on
1211
+ * the work's hazard class: class I (minimal risk) is 0.5220; class II (low risk)
1212
+ * is 1.0440; class III (medium risk) is 2.4360; class IV (high risk) is 4.3500;
1213
+ * class V (maximum risk) is 6.9600. Select the rate for the employer-assessed
1214
+ * occupational risk class. Send the exact numeric string without a percent sign.
1215
+ * Other values reject the whole request during schema validation. Required for
1216
+ * Colombia direct hire when the selected legal entity uses Rippling Standard
1217
+ * Global Payroll; rejected for other entities, EOR, and other countries. Before
1218
+ * POST /hires/, call GET /hire-requirements/ with country_code=CO,
1219
+ * hire_type=direct_hire, and legal_entity_id from GET /company-legal-entities/ to
1220
+ * resolve this field's availability and requiredness. Without legal_entity_id,
1221
+ * these rules remain unresolved. An incorrect or missing value fails the hire item
1222
+ * with invalid_request before creation.
1223
+ */
1224
+ arl_risk_percentage?: '0.5220' | '1.0440' | '2.4360' | '4.3500' | '6.9600';
1225
+ /**
1226
+ * Whether the person is legally authorized to work in the work_location country.
1227
+ * Provide only when listed by GET /hire-requirements/; true confirms authorization
1228
+ * and false may make the hire ineligible.
418
1229
  */
419
1230
  authorized_to_work?: boolean;
420
1231
  /**
421
- * Required for ES EOR. Collective agreement area.
422
- */
423
- cba_area?: string;
424
- /**
425
- * Collective bargaining agreement code.
426
- */
427
- cba_code?: string;
428
- /**
429
- * Collective bargaining agreement group.
430
- */
431
- cba_group?: string;
432
- /**
433
- * Collective bargaining agreement level.
434
- */
435
- cba_level?: string;
436
- /**
437
- * Set to true if this person earns tips.
1232
+ * Brazil Classificação Brasileira de Ocupações occupation code, formatted as
1233
+ * NNNN-NN, such as 2124-05. Required for Brazil EOR and for direct hires whose
1234
+ * legal entity uses Rippling Standard Global Payroll; optional for other Brazil
1235
+ * direct hires. Resolve this requirement by calling GET /hire-requirements/ with
1236
+ * country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
1237
+ * entity's id from GET /company-legal-entities/. Missing a required code causes
1238
+ * the hire item to fail with invalid_request before creation.
438
1239
  */
439
- collects_tips?: boolean;
1240
+ cbo_code?: string;
440
1241
  /**
441
- * Required for EOR outside the US. True if this person is moving from another EOR.
1242
+ * Collective-bargaining coverage and the applicable agreement identifiers.
442
1243
  */
443
- coming_from_another_eor?: boolean;
1244
+ collective_bargaining?: Employment.CollectiveBargaining;
444
1245
  /**
445
- * Date this person first joined the company, if earlier than start_date.
1246
+ * Mexico EOR. Free-text description of equipment the company assigns. Optional.
446
1247
  */
447
- company_start_date?: string;
1248
+ company_equipment?: string;
448
1249
  /**
449
- * Required for FR EOR. Project description for this hire.
1250
+ * Whether the hiring company conducts business involving cryptocurrency or another
1251
+ * digital currency. Required for China EOR hires. A true value may make the hire
1252
+ * ineligible for the selected EOR service.
450
1253
  */
451
- consultant_project_description?: string;
1254
+ company_uses_digital_currency?: boolean;
452
1255
  /**
453
- * Ongoing or fixed-term employment contract.
1256
+ * Employment term: ongoing with no predetermined end or fixed for a defined term.
454
1257
  */
455
1258
  contract?: Employment.Contract;
456
1259
  /**
457
- * Country-specific contract subtype.
1260
+ * COMPANY_OWN_ENTITY hires the contractor on the company's own legal entity. Send
1261
+ * that entity in employment.legal_entity_id. Send this when the company is fully
1262
+ * migrated to Global Payroll and the work location is in a Contractor of Record
1263
+ * state. Omit for non-contractor hires. When the hiring flow requires it and it is
1264
+ * omitted, the hire stays incomplete.
458
1265
  */
459
- contract_subtype?: string;
1266
+ contractor_paying_entity_type?: 'COMPANY_OWN_ENTITY';
460
1267
  /**
461
- * Required for CN EOR. City used for social contributions, such as SHANGHAI.
1268
+ * Colombia social-security contributor category. DEPENDENT means a worker under a
1269
+ * standard employment contract. PENSIONER means a pensioner who continues to work.
1270
+ * APPRENTICE means a worker under a learning contract (contrato de aprendizaje).
1271
+ * PRODUCTIVE_APPRENTICE means an apprentice in the productive phase of that
1272
+ * contract. RETIREMENT_PENSIONER means a retired pensioner receiving retirement
1273
+ * benefits. Required for Colombia direct hire when the selected legal entity uses
1274
+ * Rippling Standard Global Payroll; rejected for other entities, EOR, and other
1275
+ * countries. Before POST /hires/, call GET /hire-requirements/ with
1276
+ * country_code=CO, hire_type=direct_hire, and legal_entity_id from GET
1277
+ * /company-legal-entities/ to resolve this field's availability and requiredness.
1278
+ * Without legal_entity_id, these rules remain unresolved. An incorrect or missing
1279
+ * value fails the hire item with invalid_request before creation.
462
1280
  */
463
- contributing_city?: string;
1281
+ contributor_type?: 'DEPENDENT' | 'PENSIONER' | 'APPRENTICE' | 'PRODUCTIVE_APPRENTICE' | 'RETIREMENT_PENSIONER';
464
1282
  /**
465
- * Social security contribution group.
1283
+ * Mexico direct hire. THIRTY_DAYS divides monthly pay by 30.
1284
+ * THIRTY_POINT_FOUR_DAYS divides monthly pay by 30.4. Required when the selected
1285
+ * legal entity uses Rippling Global Payroll; otherwise optional. Check the
1286
+ * entity's Global Payroll settings in Rippling.
466
1287
  */
467
- contribution_group?: string;
468
- /**
469
- * Required for EOR. Must be true. Confirms the EOR cost-review acknowledgement.
470
- */
471
- cost_review_acknowledgement?: boolean;
472
- /**
473
- * Country job classification, such as MANAGING_DIRECTOR for Germany.
474
- */
475
- country_job_classification?: string;
476
- /**
477
- * Set to true when an Australian modern award covers this job.
478
- */
479
- covered_by_modern_award?: boolean;
480
- /**
481
- * Hours for each weekday. Use null for days off. Keys are monday through sunday.
482
- */
483
- custom_working_hours?: Employment.CustomWorkingHours;
484
- /**
485
- * France days worked each week, such as 5.
486
- */
487
- days_worked_per_week?: number;
488
- /**
489
- * France days worked each year. Full-time day tracking is usually 218.
490
- */
491
- days_worked_per_year?: number;
1288
+ daily_salary_basis?: 'THIRTY_DAYS' | 'THIRTY_POINT_FOUR_DAYS';
492
1289
  /**
493
1290
  * Department id from GET /departments/.
494
1291
  */
495
1292
  department_id?: string;
496
1293
  /**
497
- * Detailed contract type.
498
- */
499
- detailed_contract_type?: string;
500
- /**
501
- * Job duties.
1294
+ * Plain-text summary of the role's primary responsibilities and day-to-day work.
502
1295
  */
503
1296
  duties?: string;
504
1297
  /**
505
- * Employee pension contribution type and value.
1298
+ * Employment model for a Germany EOR hire. Use AUG for employee leasing or
1299
+ * CONSULTANT for a remote consultant engagement. CONSULTANT is valid only when
1300
+ * work_location.is_remote is true.
506
1301
  */
507
- employee_pension_contribution?: Employment.EmployeePensionContribution;
1302
+ employment_model?: 'AUG' | 'CONSULTANT';
508
1303
  /**
509
- * Required for CH EOR. Qualification for this role, such as Engineer.
1304
+ * Professional field and consulting-project details required by the hire context.
510
1305
  */
511
- employee_qualification?: string;
1306
+ engagement?: Employment.Engagement;
512
1307
  /**
513
- * Employer pension contribution type and value.
1308
+ * Confirms that the caller has reviewed and accepts the estimated EOR costs and
1309
+ * applicable Rippling EOR terms for this hire. Required for EOR hires and must be
1310
+ * true; false means the hire cannot proceed. See
1311
+ * https://help.rippling.com/s/article/850659217136 and
1312
+ * https://app.rippling.com/legal/eor.
514
1313
  */
515
- employer_pension_contribution?: Employment.EmployerPensionContribution;
1314
+ eor_costs_acknowledged?: boolean;
516
1315
  /**
517
- * Required for DE and FR EOR. Germany uses AUG. France uses LABOR_PORTAGE.
1316
+ * Confirms that the caller has reviewed and accepts Rippling's EOR eligibility
1317
+ * conditions for this proposed hire, including the EOR screenout guidance.
1318
+ * Required for EOR hires and must be true; false means the hire cannot proceed.
1319
+ * See https://help.rippling.com/s/article/757822852718.
518
1320
  */
519
- employment_model?: string;
1321
+ eor_eligibility_terms_acknowledged?: boolean;
520
1322
  /**
521
- * Required for EOR. Must be true. Confirms the EOR eligibility acknowledgement.
1323
+ * Previous employer-of-record provider and tenure details. Required for Colombia
1324
+ * and Philippines EOR when is_eor_transfer is true. Rejected when is_eor_transfer
1325
+ * is false or omitted, for direct hire, or for other countries. Missing or
1326
+ * incompatible details fail the hire item with invalid_request before creation.
522
1327
  */
523
- eor_eligibility_acknowledgement?: boolean;
1328
+ eor_transfer_details?: Employment.EorTransferDetails;
524
1329
  /**
525
- * Required for HK, CH, and NZ EOR. HK and CH must be false. NZ must be true.
1330
+ * Colombian employer-affiliated family compensation fund (caja de compensacion
1331
+ * familiar), which provides social benefits to workers and their families.
1332
+ * Identifies the fund receiving the employer's required payroll contributions for
1333
+ * this worker. Select the employer's affiliated fund using an exact allowed value
1334
+ * from GET /hire-requirements/. Required for Colombia direct hire when the
1335
+ * selected legal entity uses Rippling Standard Global Payroll; rejected for other
1336
+ * entities, EOR, and other countries. Before POST /hires/, call GET
1337
+ * /hire-requirements/ with country_code=CO, hire_type=direct_hire, and
1338
+ * legal_entity_id from GET /company-legal-entities/ to resolve this field's
1339
+ * availability and requiredness. Without legal_entity_id, these rules remain
1340
+ * unresolved. An incorrect or missing value fails the hire item with
1341
+ * invalid_request before creation.
526
1342
  */
527
- eor_screenout_answer?: boolean;
1343
+ family_compensation_fund?: string;
528
1344
  /**
529
- * Set if this person is an expatriate.
1345
+ * Additional German framework-agreement clauses that are not already represented
1346
+ * by compensation, hours, or vacation.
530
1347
  */
531
- expat_identifier?: string;
1348
+ framework_agreement?: Employment.FrameworkAgreement;
532
1349
  /**
533
- * Set to true if this person is on an expatriate assignment.
1350
+ * French Professions et Catégories Socioprofessionnelles (PCS) code that
1351
+ * classifies the occupation performed by this role, such as 100X. Use a code
1352
+ * allowed by GET /hire-requirements/.
534
1353
  */
535
- expatriate_assignment?: boolean;
1354
+ french_occupation_classification_code?: string;
536
1355
  /**
537
- * Pagos extra. Skip if they are not eligible.
1356
+ * Taiwan EOR gender. Uses the same GenderIdentification values as workers.gender.
1357
+ * The Taiwan hiring flow accepts MALE and FEMALE. NONBINARY is accepted only when
1358
+ * the company has non-binary gender enabled. The other GenderIdentification values
1359
+ * are rejected. Omit this for Taiwan direct hire and for every other country.
538
1360
  */
539
- extra_monthly_payments?: unknown;
1361
+ gender?: 'MALE' | 'FEMALE' | 'NONBINARY' | 'UNDETERMINED' | 'DIVERSE' | 'DOES_NOT_APPLY' | 'PREFER_NOT_TO_SAY';
540
1362
  /**
541
- * Required for FR EOR. True if this hire should be a fixed-term contract.
1363
+ * Required for Taiwan EOR. Whether the person is a citizen of Taiwan. Send true.
1364
+ * False is rejected because the visa questions that follow are not on this API
1365
+ * yet.
542
1366
  */
543
- fixed_term_contract?: boolean;
544
- /**
545
- * Why the contract is fixed-term. Required when contract type is FIXED.
546
- */
547
- fixed_term_justification?: string;
548
- /**
549
- * Reason for a fixed-term contract. Required when contract type is FIXED.
550
- */
551
- fixed_term_reason?: string;
552
- /**
553
- * Required for DE EOR. Framework agreement additional benefits.
554
- */
555
- framework_additional_benefits?: string;
556
- /**
557
- * Required for DE EOR. Framework agreement continued remuneration.
558
- */
559
- framework_continued_remuneration?: string;
560
- /**
561
- * Required for DE EOR. Framework agreement monthly gross salary.
562
- */
563
- framework_monthly_gross_salary?: Employment.FrameworkMonthlyGrossSalary;
564
- /**
565
- * Required for DE EOR. Framework agreement other working conditions.
566
- */
567
- framework_other_conditions?: string;
568
- /**
569
- * Required for DE EOR. Framework agreement overtime pay.
570
- */
571
- framework_overtime_pay?: string;
572
- /**
573
- * Required for DE EOR. Framework agreement rest periods.
574
- */
575
- framework_rest_periods?: string;
576
- /**
577
- * Required for DE EOR. Framework agreement shared facilities.
578
- */
579
- framework_shared_facilities?: string;
580
- /**
581
- * Required for DE EOR. Framework agreement surcharges.
582
- */
583
- framework_surcharges?: string;
584
- /**
585
- * Required for DE EOR. Framework agreement vacation days.
586
- */
587
- framework_vacation_days?: number;
588
- /**
589
- * Required for DE EOR. Framework agreement variable compensation.
590
- */
591
- framework_variable_compensation?: string;
592
- /**
593
- * Required for DE EOR. Framework agreement regular weekly hours.
594
- */
595
- framework_weekly_hours?: number;
596
- /**
597
- * Required for DE EOR. Framework agreement work wear.
598
- */
599
- framework_work_wear?: string;
1367
+ has_citizenship_of_country?: boolean;
600
1368
  /**
601
1369
  * Required for GB and IE EOR. True if this hire is from a merger or acquisition.
602
1370
  */
603
1371
  hired_due_to_merger?: boolean;
604
1372
  /**
605
- * Housing allowance amount.
1373
+ * Taiwan EOR home address. This is the same Address object used elsewhere. type
1374
+ * and formatted may be omitted; formatted is read-only. Taiwan EOR only. Omit this
1375
+ * for Taiwan direct hire and for every other country.
606
1376
  */
607
- housing_allowance?: Employment.HousingAllowance;
1377
+ home_address?: Shared.Address;
608
1378
  /**
609
- * Required for CN EOR. True if the company works with digital currency.
1379
+ * Required for Uruguay EOR. Whether the company provides home-office equipment.
1380
+ * Send true or false. Omit this for Uruguay direct hire and for every other
1381
+ * country.
610
1382
  */
611
- involved_in_digital_currency?: boolean;
1383
+ home_office_equipment_provided?: boolean;
612
1384
  /**
613
- * Set to true if this person is an apprentice.
1385
+ * Required for Taiwan EOR. Whether the person intends to leave Taiwan. Send false.
1386
+ * True is rejected because the reason question that follows is not on this API
1387
+ * yet.
614
1388
  */
615
- is_apprentice?: boolean;
1389
+ intention_to_leave_country?: boolean;
616
1390
  /**
617
- * Set to true if this person is a cadre dirigeant.
1391
+ * Whether the worker's employment is transferring from another employer-of-record
1392
+ * provider. Send true for an EOR-to-EOR transfer and false when this is not an EOR
1393
+ * transfer. Required for EOR hires outside the United States.
618
1394
  */
619
- is_executive?: boolean;
1395
+ is_eor_transfer?: boolean;
620
1396
  /**
621
- * Set to true if this person works in R&D.
622
- */
623
- is_rnd_employee?: boolean;
624
- /**
625
- * Set to true when this person is an Australian shift worker.
1397
+ * Whether the role is legally or contractually classified as shift work, rather
1398
+ * than merely having hours outside a typical workday. Send true when the
1399
+ * applicable employment terms designate the worker as a shift worker; send false
1400
+ * when they do not. Required only when listed by GET /hire-requirements/.
626
1401
  */
627
1402
  is_shift_worker?: boolean;
628
1403
  /**
629
- * US EEO-1 job category. Must be a value from GET /hire-requirements/
630
- * allowed_values for that country.
1404
+ * Whether the role's primary work is technology-focused. Required for China EOR
1405
+ * hires when social_contribution_city is SHANGHAI or BEIJING; omit it for other
1406
+ * cities.
631
1407
  */
632
- job_classification?: string;
1408
+ is_technology_focused_role?: boolean;
633
1409
  /**
634
- * Set to true when the German job classification is already known.
1410
+ * US EEO-1 job category for the role. Use a value returned by GET
1411
+ * /hire-requirements/. Omit for contractor hires.
635
1412
  */
636
- job_classification_known?: boolean;
1413
+ job_classification?: string;
637
1414
  /**
638
- * Job function id from GET /job-functions/.
1415
+ * Job function that categorizes the type of work performed by this role. Send an
1416
+ * id returned by GET /job-functions/.
639
1417
  */
640
1418
  job_function_id?: string;
641
1419
  /**
642
- * Required for CN EOR when the contributing city is Shanghai or Beijing.
643
- */
644
- job_technology_focused?: boolean;
645
- /**
646
- * Legal entity id from GET /legal-entities/. Required for direct_hire. Omit for
647
- * eor.
1420
+ * Send the legal entity id from GET /company-legal-entities/. Required for
1421
+ * direct_hire; omit for eor. Rippling validates that the selected entity belongs
1422
+ * to the company and supports the requested hire.
648
1423
  */
649
1424
  legal_entity_id?: string;
650
1425
  /**
651
- * Level id from GET /levels/.
1426
+ * Job level for the role within the company's job architecture. Send an id
1427
+ * returned by GET /levels/.
652
1428
  */
653
1429
  level_id?: string;
654
- /**
655
- * Unpaid lunch break length in minutes.
656
- */
657
- lunch_break_minutes?: number;
658
1430
  /**
659
1431
  * Manager worker id from GET /workers/. Omit or null for no manager.
660
1432
  */
661
1433
  manager_id?: string;
662
1434
  /**
663
- * Required for FR EOR when a minimum contract length applies. Example: MONTHS.
664
- */
665
- minimum_contract_length_unit?: string;
666
- /**
667
- * Required for FR EOR when a minimum contract length applies.
668
- */
669
- minimum_contract_length_value?: number;
670
- /**
671
- * Required for FR EOR when a mission applies. Description of the mission or
672
- * project.
673
- */
674
- mission_description?: string;
675
- /**
676
- * Modern award that covers this job, if any.
677
- */
678
- modern_award?: string;
679
- /**
680
- * Classification under that modern award.
681
- */
682
- modern_award_classification?: string;
683
- /**
684
- * Sub-level within that modern award classification.
685
- */
686
- modern_award_sub_level?: string;
687
- /**
688
- * Months of experience at this level before joining.
1435
+ * Confirms that the proposed hire satisfies Rippling's country-specific EOR
1436
+ * eligibility screening criteria. Required for Hong Kong, Switzerland, New
1437
+ * Zealand, Mexico, Colombia, Philippines, Uruguay, and Taiwan EOR hires. Must be
1438
+ * `true`; `false` means the hire cannot proceed. Rippling maps this assertion to
1439
+ * the applicable country-specific screening response. See
1440
+ * https://help.rippling.com/s/article/757822852718.
689
1441
  */
690
- months_of_experience_at_level?: number;
1442
+ meets_eor_eligibility_criteria?: boolean;
691
1443
  /**
692
- * Set to true if they work remotely more than two days a week.
1444
+ * Australian modern-award coverage and classification for this job. Required for
1445
+ * Australian hires. Send coverage NOT_COVERED when no award applies; otherwise
1446
+ * send COVERED with the applicable award and classification identifiers.
693
1447
  */
694
- more_than_two_remote_days?: boolean;
1448
+ modern_award?: Employment.ModernAward;
695
1449
  /**
696
- * Extra employer MPF contribution, if you offer one.
697
- */
698
- mpf_voluntary_employer_contribution?: Employment.MpfVoluntaryEmployerContribution;
699
- /**
700
- * Required for FR EOR. ISO country code, such as FR.
701
- */
702
- nationality?: string;
703
- /**
704
- * Required for AU, CA, IN, and GB EOR. True if a non-compete clause applies.
1450
+ * Whether the proposed employment terms include a non-compete restriction. Provide
1451
+ * only when listed by GET /hire-requirements/. For Colombia and Philippines EOR,
1452
+ * this chooses the country's standard non-compete and/or non-solicit clause as a
1453
+ * whole: true includes it and false omits it. These restrictions cannot be
1454
+ * selected separately through this field. Required for those EOR hires; omit for
1455
+ * their direct hires. Do not send for Brazil EOR; it is rejected. Use
1456
+ * non_solicitation for the separate Brazil EOR non-solicitation clause.
705
1457
  */
706
1458
  non_compete?: boolean;
707
1459
  /**
708
- * Required for CH EOR. True if this person is not covered by a collective
709
- * agreement.
1460
+ * Whether to include a non-solicitation clause in the worker's employment
1461
+ * agreement. Required for Brazil EOR: true includes the clause and false excludes
1462
+ * it. Rejected for all other hire contexts.
710
1463
  */
711
- not_cba_employee?: boolean;
1464
+ non_solicitation?: boolean;
712
1465
  /**
713
- * Standard notice, or a custom notice period.
1466
+ * Notice-period arrangement for ending employment: standard or a custom period.
714
1467
  */
715
1468
  notice?: Employment.Notice;
716
1469
  /**
717
- * Spanish occupation code (CNO).
1470
+ * The role's overtime classification under applicable employment law. EXEMPT means
1471
+ * overtime requirements do not apply; NON_EXEMPT means the worker may be entitled
1472
+ * to overtime pay. Omit for contractor hires. Required for Colombia hires and
1473
+ * Philippines direct hire. Colombia EOR INTEGRAL salary requires EXEMPT. Do not
1474
+ * send for Philippines EOR: worker_category determines it. Do not send for Brazil
1475
+ * EOR; Brazil EOR derives this from position_of_trust.
718
1476
  */
719
- occupation_code?: string;
1477
+ overtime_classification?: 'EXEMPT' | 'NON_EXEMPT';
720
1478
  /**
721
- * EXEMPT or NON_EXEMPT. EXEMPT means the job is not eligible for overtime pay.
1479
+ * Whether the hiring company owns a legal entity in the worker's country. Required
1480
+ * only when listed by GET /hire-requirements/; for Netherlands EOR hires, this
1481
+ * answer determines the applicable hiring path.
722
1482
  */
723
- overtime_exemption?: 'EXEMPT' | 'NON_EXEMPT';
1483
+ owns_entity_in_country?: boolean;
724
1484
  /**
725
- * Required for NL EOR. True if the company has its own entity in the Netherlands.
1485
+ * Mexico EOR. True when pay is in a currency other than Mexican pesos. Optional.
1486
+ * Omitting this uses false.
726
1487
  */
727
- owns_entity_in_country?: boolean;
1488
+ paid_in_foreign_currency?: boolean;
728
1489
  /**
729
- * Required for GB EOR. Company-provided paid sick days.
1490
+ * Annual company-provided paid sick-day allowance, excluding any separate
1491
+ * statutory entitlement. Provide only when listed by GET /hire-requirements/.
730
1492
  */
731
1493
  paid_sick_days?: number;
732
1494
  /**
733
- * France PCS occupation code, such as 100X.
1495
+ * Required for Uruguay EOR. Date the passport or identification document was
1496
+ * issued, as YYYY-MM-DD. Omit this for Uruguay direct hire and for every other
1497
+ * country.
734
1498
  */
735
- pcs_code?: string;
1499
+ passport_issue_date?: string;
736
1500
  /**
737
- * Pension scheme name.
1501
+ * Required for Uruguay EOR. Place that issued the passport or identification
1502
+ * document. Omit this for Uruguay direct hire and for every other country.
738
1503
  */
739
- pension_scheme_name?: string;
1504
+ passport_issue_location?: string;
740
1505
  /**
741
- * Standard probation, a shorter period, or no probation.
1506
+ * Required for Uruguay EOR. Passport or national ID number. Omit this for Uruguay
1507
+ * direct hire and for every other country.
742
1508
  */
743
- probation?: Employment.Probation;
1509
+ passport_number?: string;
744
1510
  /**
745
- * Set to true if prior seniority should count.
1511
+ * Required for Mexico direct hire and EOR, and Brazil EOR. Rejected for Brazil
1512
+ * direct hire and all other countries. True when this worker is a manager or
1513
+ * director in a position of trust; otherwise false. For Brazil EOR only, Rippling
1514
+ * derives overtime_classification from this answer. True makes the worker exempt
1515
+ * from overtime (EXEMPT); false makes them non-exempt (NON_EXEMPT). Do not send
1516
+ * overtime_classification for Brazil EOR.
746
1517
  */
747
- recognize_seniority?: boolean;
1518
+ position_of_trust?: boolean;
748
1519
  /**
749
- * Required for remote CH EOR. Currency type and value. Use 0 if none.
1520
+ * Probation arrangement for the employment: standard, a shorter custom period, or
1521
+ * none.
750
1522
  */
751
- remote_working_allowance?: Employment.RemoteWorkingAllowance;
1523
+ probation?: Employment.Probation;
752
1524
  /**
753
- * Rent tax deduction rate, if it applies.
1525
+ * Whether the worker is expected to receive tips as part of this job. Omit for
1526
+ * contractor hires.
754
1527
  */
755
- rent_tax_deduction_rate?: string;
1528
+ receives_tips?: boolean;
756
1529
  /**
757
- * Required for FR EOR. Id of an active file upload owned by this company. Upload
758
- * with POST /files/ using the documents.read-write scope, PUT the bytes to the
759
- * returned URL, then POST /files/{id}/confirm-upload/ before sending this id. PDF
760
- * or Word only. A URL is not accepted.
1530
+ * The role's usual working days and, where required, its local daily start and end
1531
+ * times. This describes the regular work pattern; weekly_hours remains the total
1532
+ * expected hours per week. For Mexico EOR and Brazil hires, only days is accepted.
1533
+ * For Brazil hires, days must be nonempty when the object is supplied. Omitting
1534
+ * the object defaults to Monday through Friday for Mexico EOR and Brazil hires.
1535
+ * Omit for Colombia hires and Philippines direct hire. Required for Philippines
1536
+ * EOR only when weekly_work_schedule is not enabled; include days, start_time,
1537
+ * end_time, and time_zone. When weekly_work_schedule is enabled, omit this object
1538
+ * and supply that schedule instead. Before POST /hires/, call GET
1539
+ * /hire-requirements/ with country_code and hire_type to resolve schedule
1540
+ * availability and requiredness for the company.
761
1541
  */
762
- resume_file_id?: string;
1542
+ regular_working_hours?: Employment.RegularWorkingHours;
763
1543
  /**
764
- * Required for CH EOR. FIXED_SCHEDULE or ROTATING_SHIFT_SCHEDULE.
1544
+ * Whether the employment terms require the worker to complete training for this
1545
+ * role. For Spanish direct hires, send true when training is required and false
1546
+ * when it is not.
765
1547
  */
766
- schedule_type?: string;
1548
+ requires_training?: boolean;
767
1549
  /**
768
- * US occupation code, such as 15-1252.
1550
+ * Mexico direct hire pay mix. FIXED is salary only. MIXED is salary plus bonus.
1551
+ * VARIABLE is a small base salary and a larger bonus. Required when the selected
1552
+ * legal entity uses Rippling Global Payroll; otherwise optional. Check the
1553
+ * entity's Global Payroll settings in Rippling.
769
1554
  */
770
- soc_code?: string;
1555
+ salary_composition?: 'FIXED' | 'MIXED' | 'VARIABLE';
771
1556
  /**
772
- * Required for FR EOR. True if this is a specific mission completing within 18
773
- * months.
1557
+ * Colombia salary arrangement: ORDINARY or INTEGRAL. Required for EOR and direct
1558
+ * hire using Rippling Standard Global Payroll; rejected for other entities and
1559
+ * countries. For EOR, INTEGRAL requires EXEMPT overtime classification and has no
1560
+ * separate severance, severance interest, or service bonus. For ORDINARY, Rippling
1561
+ * calculates these components from base pay. Before POST /hires/, call GET
1562
+ * /hire-requirements/ with country_code=CO and hire_type=eor, or
1563
+ * hire_type=direct_hire and legal_entity_id from GET /company-legal-entities/, to
1564
+ * resolve this field's availability and requiredness. Direct-hire rules remain
1565
+ * unresolved without legal_entity_id. An incorrect or missing value fails the hire
1566
+ * item with invalid_request before creation.
774
1567
  */
775
- specific_mission?: boolean;
1568
+ salary_type?: 'ORDINARY' | 'INTEGRAL';
776
1569
  /**
777
- * Tax bracket.
1570
+ * The role's recurring schedule pattern: FIXED_SCHEDULE for a consistent schedule
1571
+ * or ROTATING_SHIFT_SCHEDULE for shifts that rotate. Provide only when listed by
1572
+ * GET /hire-requirements/.
778
1573
  */
779
- tax_bracket?: string;
1574
+ schedule_type?: 'FIXED_SCHEDULE' | 'ROTATING_SHIFT_SCHEDULE';
780
1575
  /**
781
- * Tax location.
1576
+ * US Standard Occupational Classification code for the job, such as 15-1252. Omit
1577
+ * for contractor hires.
782
1578
  */
783
- tax_location?: string;
1579
+ soc_code?: string;
784
1580
  /**
785
- * Tax status.
1581
+ * Chinese city whose local social-insurance and statutory contribution rules apply
1582
+ * to the worker, such as SHANGHAI or BEIJING. Required for China EOR hires. Use a
1583
+ * value returned by GET /hire-requirements/.
786
1584
  */
787
- tax_status?: string;
1585
+ social_contribution_city?: string;
788
1586
  /**
789
- * Team ids from GET /teams/.
1587
+ * Country-specific statutory contract code. For Spain, use an allowed value
1588
+ * returned by GET /hire-requirements/ that is compatible with contract.type and
1589
+ * employment_type_id.
790
1590
  */
791
- team_ids?: Array<string>;
1591
+ statutory_contract_classification?: string;
792
1592
  /**
793
- * Required for CH EOR. Currency type and value for the 13th month bonus.
1593
+ * Statutory employment classification for the role. For Germany, choose the
1594
+ * applicable value returned by GET /hire-requirements/, such as EMPLOYEE,
1595
+ * APPRENTICE, WORKING_STUDENT, INTERN, MARGINALLY_EMPLOYED, SHORT_TERM_WORK, or
1596
+ * MANAGING_DIRECTOR. Rippling derives the internal classification workflow from
1597
+ * this value.
794
1598
  */
795
- thirteenth_month_bonus?: Employment.ThirteenthMonthBonus;
1599
+ statutory_job_classification?: string;
796
1600
  /**
797
- * Set to true when Spain requires training for this job.
1601
+ * Employment documents required to prepare the hire.
798
1602
  */
799
- training_required?: boolean;
1603
+ supporting_documents?: Employment.SupportingDocuments;
800
1604
  /**
801
- * Transportation allowance amount.
1605
+ * Required for Taiwan EOR. Taiwan tax identification number. Omit this for Taiwan
1606
+ * direct hire and for every other country.
802
1607
  */
803
- transportation_allowance?: Employment.TransportationAllowance;
1608
+ tax_id?: string;
804
1609
  /**
805
- * Required for NL EOR. True if a collective agreement applies.
1610
+ * Teams the worker should belong to. Send team ids returned by GET /teams/. Omit
1611
+ * for no team assignments.
806
1612
  */
807
- union_activity?: boolean;
1613
+ team_ids?: Array<string>;
1614
+ /**
1615
+ * Abbreviated name of the worker's Brazilian labor union. Required only for Brazil
1616
+ * direct hires whose legal entity uses Rippling Standard Global Payroll; rejected
1617
+ * for other hires. Resolve this requirement by calling GET /hire-requirements/
1618
+ * with country_code=BR, hire_type=direct_hire, and legal_entity_id set to the
1619
+ * selected entity's id from GET /company-legal-entities/. For Brazil direct hire,
1620
+ * violating this entity-specific requirement causes the hire item to fail with
1621
+ * invalid_request before creation.
1622
+ */
1623
+ union_abbreviation?: string;
1624
+ /**
1625
+ * Brazilian labor union's CNPJ registration number, formatted as
1626
+ * NN.NNN.NNN/NNNN-NN, such as 12.345.678/0001-90. Required only for Brazil direct
1627
+ * hires whose legal entity uses Rippling Standard Global Payroll; rejected for
1628
+ * other hires. Resolve this requirement by calling GET /hire-requirements/ with
1629
+ * country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
1630
+ * entity's id from GET /company-legal-entities/. For Brazil direct hire, violating
1631
+ * this entity-specific requirement causes the hire item to fail with
1632
+ * invalid_request before creation.
1633
+ */
1634
+ union_cnpj?: string;
1635
+ /**
1636
+ * Name of the worker's Brazilian labor union. Required only for Brazil direct
1637
+ * hires whose legal entity uses Rippling Standard Global Payroll; rejected for
1638
+ * other hires. Resolve this requirement by calling GET /hire-requirements/ with
1639
+ * country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
1640
+ * entity's id from GET /company-legal-entities/. For Brazil direct hire, violating
1641
+ * this entity-specific requirement causes the hire item to fail with
1642
+ * invalid_request before creation.
1643
+ */
1644
+ union_name?: string;
1645
+ /**
1646
+ * Month of the Brazilian labor union's annual collective bargaining negotiation,
1647
+ * using an uppercase English month name such as JANUARY. Required only for Brazil
1648
+ * direct hires whose legal entity uses Rippling Standard Global Payroll; rejected
1649
+ * for other hires. Resolve this requirement by calling GET /hire-requirements/
1650
+ * with country_code=BR, hire_type=direct_hire, and legal_entity_id set to the
1651
+ * selected entity's id from GET /company-legal-entities/. For Brazil direct hire,
1652
+ * violating this entity-specific requirement causes the hire item to fail with
1653
+ * invalid_request before creation.
1654
+ */
1655
+ union_negotiation_month?: 'JANUARY' | 'FEBRUARY' | 'MARCH' | 'APRIL' | 'MAY' | 'JUNE' | 'JULY' | 'AUGUST' | 'SEPTEMBER' | 'OCTOBER' | 'NOVEMBER' | 'DECEMBER';
808
1656
  /**
809
1657
  * Set to true to start tenure on the start date. False keeps a prior tenure date
810
1658
  * unset.
811
1659
  */
812
1660
  use_default_tenure?: boolean;
813
1661
  /**
814
- * Statutory vacation, or a custom number of days.
1662
+ * How annual paid vacation is determined: statutory entitlement or a custom annual
1663
+ * allowance. For Philippines EOR, custom vacation adds nonstatutory
1664
+ * additional_days instead of replacing total entitlement. Do not send for Colombia
1665
+ * or Philippines direct hire, or Brazil EOR, including an empty object.
815
1666
  */
816
1667
  vacation?: Employment.Vacation;
817
1668
  /**
818
- * Vacation entitlement for this job.
819
- */
820
- vacation_entitlement?: string;
821
- /**
822
- * Required for GB EOR. Vacation days that can roll over.
1669
+ * Maximum unused vacation days the worker may carry into the next leave year.
1670
+ * Provide only when listed by GET /hire-requirements/.
823
1671
  */
824
1672
  vacation_rollover_days?: number;
825
1673
  /**
826
- * Required for FR EOR when the hire includes a signing bonus, target bonus, or
827
- * commission. Same upload sequence as resume_file_id. PDF or Word only. A URL is
828
- * not accepted.
829
- */
830
- variable_compensation_plan_file_id?: string;
831
- /**
832
- * Hours this person is expected to work each week, such as 40. Full-time is
833
- * usually 40.
1674
+ * Expected working hours per week. Supports whole or fractional hours, such as 40
1675
+ * or 37.5. Rippling derives any internal weekly-hours classification from this
1676
+ * value. Omit for contractor hires.
834
1677
  */
835
1678
  weekly_hours?: string;
836
1679
  /**
837
- * Weekly hours range when a range is collected instead of an exact value.
838
- */
839
- weekly_hours_range?: string;
840
- /**
841
- * Work center.
842
- */
843
- work_center?: string;
1680
+ * Recurring work schedule for Colombia and Philippines direct hire or EOR when
1681
+ * working-hours schedules are enabled for the company and country and work-pattern
1682
+ * auto-assignment is disabled. Required in that configuration; rejected otherwise
1683
+ * and for other countries. Omit regular_working_hours when sending this object.
1684
+ * Before POST /hires/, call GET /hire-requirements/ with country_code and
1685
+ * hire_type to resolve schedule availability and requiredness for the company. A
1686
+ * missing schedule or incompatible company configuration fails the hire item with
1687
+ * invalid_request before creation. Colombia and Philippines hires with
1688
+ * work-pattern auto-assignment enabled cannot be created through this API, even
1689
+ * when this object is omitted; complete those hires in Rippling. They fail with
1690
+ * invalid_request before creation. Malformed objects reject the whole request
1691
+ * during schema validation. Paid-hour spans and weekly totals are also checked
1692
+ * before creation. Country-specific schedule policy is checked while saving hiring
1693
+ * pages; a policy violation can leave an incomplete hire with an id and
1694
+ * validation_failed errors.
1695
+ */
1696
+ weekly_work_schedule?: Employment.WeeklyWorkSchedule;
1697
+ /**
1698
+ * Required for Uruguay EOR. Work authorization document number. Omit this for
1699
+ * Uruguay direct hire and for every other country.
1700
+ */
1701
+ work_authorization_document_number?: string;
844
1702
  /**
845
1703
  * Work email for the hire.
846
1704
  */
847
1705
  work_email?: string;
848
1706
  /**
849
- * Days worked, such as Monday through Friday.
850
- */
851
- working_days?: Array<string>;
852
- /**
853
- * Workday end time in HH:MM:SS, such as 17:00:00.
854
- */
855
- working_hours_end?: string;
856
- /**
857
- * Working hours calendar. Omit unless you need day-level hours.
1707
+ * Set to false to skip work-email assignment for this hire, including generation
1708
+ * by company policy. Do not combine false with a nonempty employment.work_email.
1709
+ * Set to true to enable the normal work-email flow. For a newly created hire,
1710
+ * true, omission, and null have the same behavior. Omission or null preserves any
1711
+ * saved work-email preference. If related_records.existing_role_id identifies a
1712
+ * hire that has already moved beyond creation, an explicit true or false can
1713
+ * return that hire as incomplete with a validation error.
858
1714
  */
859
- working_hours_schedule?: Employment.WorkingHoursSchedule;
1715
+ work_email_required?: boolean;
860
1716
  /**
861
- * Workday start time in HH:MM:SS, such as 09:00:00.
1717
+ * Required for Mexico direct hire. DAY_SHIFT_48_HOURS, NIGHT_SHIFT_42_HOURS, or
1718
+ * DAY_SHIFT_45_HOURS.
862
1719
  */
863
- working_hours_start?: string;
1720
+ work_shift?: 'DAY_SHIFT_48_HOURS' | 'NIGHT_SHIFT_42_HOURS' | 'DAY_SHIFT_45_HOURS';
864
1721
  /**
865
- * IANA timezone for the workday, such as Australia/Sydney.
1722
+ * Required for Philippines EOR; rejected for direct hire and other countries.
1723
+ * OTHER means other workers and produces NON_EXEMPT overtime classification.
1724
+ * MANAGERIAL means managerial workers; OFFICERS_OR_MEMBERS_OF_MANAGERIAL_STAFF
1725
+ * means officers or members of managerial staff; FIELD_PERSONNEL means field
1726
+ * personnel. Each of these three produces EXEMPT classification. Do not send
1727
+ * overtime_classification for Philippines EOR.
866
1728
  */
867
- working_hours_timezone?: string;
1729
+ worker_category?: 'MANAGERIAL' | 'OFFICERS_OR_MEMBERS_OF_MANAGERIAL_STAFF' | 'FIELD_PERSONNEL' | 'OTHER';
868
1730
  /**
869
- * Required for CN EOR. STANDARD_WORKING_HOURS or FLEXIBLE_WORKING_HOURS.
1731
+ * Worker's professional qualification for a Switzerland EOR role, such as
1732
+ * Engineer. This is plain text, not a Rippling resource identifier. Provide it
1733
+ * only when GET /hire-requirements/ lists worker_qualification for the selected
1734
+ * country and hire type.
870
1735
  */
871
- working_hours_type?: string;
1736
+ worker_qualification?: string;
872
1737
  /**
873
- * Required for DE EOR. True is rejected. A standard hire is false.
1738
+ * Working-hours system that legally applies to a China EOR role. Use
1739
+ * STANDARD_WORKING_HOURS for a role governed by the standard daily and weekly
1740
+ * limits, or FLEXIBLE_WORKING_HOURS when an approved flexible-hours system
1741
+ * applies. Required for China EOR hires.
874
1742
  */
875
- working_in_construction?: boolean;
1743
+ working_hours_arrangement?: 'STANDARD_WORKING_HOURS' | 'FLEXIBLE_WORKING_HOURS';
876
1744
  /**
877
- * France working time unit, DAYS or HOURS.
1745
+ * Whether the worker will perform work in Germany's construction industry.
1746
+ * Required for Germany EOR hires. Rippling EOR does not currently support these
1747
+ * roles, so true makes the hire ineligible.
878
1748
  */
879
- working_time_tracked_in?: string;
1749
+ works_in_construction_industry?: boolean;
880
1750
  }
881
1751
  namespace Employment {
882
1752
  /**
883
- * Ongoing or fixed-term employment contract.
1753
+ * Collective-bargaining coverage and the applicable agreement identifiers.
884
1754
  */
885
- interface Contract {
1755
+ interface CollectiveBargaining {
1756
+ /**
1757
+ * Official country-specific identifier of the applicable collective bargaining
1758
+ * agreement. This is an external statutory code, not a Rippling resource ID; GET
1759
+ * /hire-requirements/ describes its source and format for the selected country.
1760
+ */
1761
+ agreement_code?: string;
1762
+ /**
1763
+ * Name of the employer's applicable collective labor or bargaining agreement.
1764
+ * Provide it only when a named agreement applies; other union activity does not
1765
+ * require a name. Use an allowed value from GET /hire-requirements/.
1766
+ */
1767
+ agreement_name?: string;
1768
+ /**
1769
+ * Geographic or industry area governed by the agreement.
1770
+ */
1771
+ area?: string;
886
1772
  /**
887
- * Ongoing or fixed-term employment contract: FIXED or INDEFINITE.
1773
+ * Whether a collective bargaining agreement covers the worker.
888
1774
  */
889
- type: string;
1775
+ coverage?: 'COVERED' | 'NOT_COVERED';
890
1776
  /**
891
- * Fixed-term duration unit when type is FIXED: DAYS, WEEKS, MONTHS, or YEARS.
892
- * Required when type is FIXED; omit for INDEFINITE.
1777
+ * Worker group or category within the applicable agreement.
893
1778
  */
894
- duration_unit?: string;
1779
+ group?: string;
895
1780
  /**
896
- * Fixed-term duration length when type is FIXED. Required when type is FIXED once
897
- * duration_unit is set; omit for INDEFINITE.
1781
+ * Whether the employer has a collective labor agreement, collective bargaining
1782
+ * agreement, or other union activity in place. This is an employer-level fact and
1783
+ * is distinct from whether an agreement covers this worker.
898
1784
  */
899
- duration_value?: number;
1785
+ has_union_activity?: boolean;
900
1786
  }
901
1787
  /**
902
- * Hours for each weekday. Use null for days off. Keys are monday through sunday.
1788
+ * Employment term: ongoing with no predetermined end or fixed for a defined term.
903
1789
  */
904
- interface CustomWorkingHours {
1790
+ interface Contract {
1791
+ /**
1792
+ * Whether employment is ongoing or fixed-term. Use INDEFINITE when there is no
1793
+ * predetermined end and FIXED when the employment is limited to a defined term.
1794
+ */
1795
+ type: 'FIXED' | 'INDEFINITE';
905
1796
  /**
906
- * Hours worked on Friday.
1797
+ * Exact fixed-term length. Use only with type FIXED; omit for INDEFINITE.
907
1798
  */
908
- friday?: string;
1799
+ duration?: Contract.Duration;
909
1800
  /**
910
- * Hours worked on Monday.
1801
+ * Minimum contract length guaranteed to the worker, distinct from the exact total
1802
+ * duration.
911
1803
  */
912
- monday?: string;
1804
+ minimum_guaranteed_duration?: Contract.MinimumGuaranteedDuration;
913
1805
  /**
914
- * Hours worked on Saturday.
1806
+ * Mission-specific contract facts, only when listed by GET /hire-requirements/.
915
1807
  */
916
- saturday?: string;
1808
+ mission?: Contract.Mission;
917
1809
  /**
918
- * Hours worked on Sunday.
1810
+ * Exact number of prior fixed-term contracts with this worker, excluding the
1811
+ * contract being created. Required for Philippines EOR FIXED contracts. The
1812
+ * supported counts for this hiring flow are the integer 0 (no prior fixed-term
1813
+ * contracts) or 1 (exactly one prior fixed-term contract). Other values reject the
1814
+ * whole request during schema validation. Omit for direct hire and other
1815
+ * countries: supplying this field rejects the whole request during schema
1816
+ * validation. For Philippines EOR, a missing value on FIXED or a supplied value on
1817
+ * INDEFINITE fails the hire item with invalid_request before creation.
919
1818
  */
920
- sunday?: string;
1819
+ previous_fixed_term_contracts?: 0 | 1;
1820
+ }
1821
+ namespace Contract {
921
1822
  /**
922
- * Hours worked on Thursday.
1823
+ * Exact fixed-term length. Use only with type FIXED; omit for INDEFINITE.
923
1824
  */
924
- thursday?: string;
1825
+ interface Duration {
1826
+ /**
1827
+ * Duration unit: DAYS, WEEKS, MONTHS, or YEARS.
1828
+ */
1829
+ unit: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
1830
+ /**
1831
+ * Positive number of duration units.
1832
+ */
1833
+ value: number;
1834
+ }
925
1835
  /**
926
- * Hours worked on Tuesday.
1836
+ * Minimum contract length guaranteed to the worker, distinct from the exact total
1837
+ * duration.
927
1838
  */
928
- tuesday?: string;
1839
+ interface MinimumGuaranteedDuration {
1840
+ /**
1841
+ * Duration unit: DAYS, WEEKS, MONTHS, or YEARS.
1842
+ */
1843
+ unit: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
1844
+ /**
1845
+ * Positive number of duration units.
1846
+ */
1847
+ value: number;
1848
+ }
929
1849
  /**
930
- * Hours worked on Wednesday.
1850
+ * Mission-specific contract facts, only when listed by GET /hire-requirements/.
931
1851
  */
932
- wednesday?: string;
1852
+ interface Mission {
1853
+ /**
1854
+ * Whether the assignment or project has a defined completion timeline.
1855
+ */
1856
+ has_defined_timeline: boolean;
1857
+ /**
1858
+ * Description of the mission or project. Required when has_defined_timeline is
1859
+ * true; omit when there is no defined mission timeline.
1860
+ */
1861
+ description?: string;
1862
+ }
933
1863
  }
934
1864
  /**
935
- * Employee pension contribution type and value.
1865
+ * Professional field and consulting-project details required by the hire context.
936
1866
  */
937
- interface EmployeePensionContribution {
1867
+ interface Engagement {
938
1868
  /**
939
- * Contribution type.
1869
+ * Description of the client project and the work the worker will perform.
940
1870
  */
941
- type?: string;
1871
+ consulting_project_description: string;
942
1872
  /**
943
- * Contribution value.
1873
+ * Professional field in which the worker will perform the engagement.
944
1874
  */
945
- value?: string;
1875
+ field_of_work: string;
946
1876
  }
947
1877
  /**
948
- * Employer pension contribution type and value.
1878
+ * Previous employer-of-record provider and tenure details. Required for Colombia
1879
+ * and Philippines EOR when is_eor_transfer is true. Rejected when is_eor_transfer
1880
+ * is false or omitted, for direct hire, or for other countries. Missing or
1881
+ * incompatible details fail the hire item with invalid_request before creation.
949
1882
  */
950
- interface EmployerPensionContribution {
1883
+ interface EorTransferDetails {
951
1884
  /**
952
- * Contribution type.
1885
+ * Previous employer-of-record provider code. PEBL identifies Pebl (formerly
1886
+ * Velocity Global). Required for Colombia or Philippines EOR when is_eor_transfer
1887
+ * is true. Choose OTHER and supply other_provider_name when the provider is not
1888
+ * listed.
953
1889
  */
954
- type?: string;
1890
+ previous_provider: 'ATLAS' | 'DEEL' | 'GLOBALIZATION_PARTNERS' | 'GOGLOBAL' | 'OYSTER' | 'PAPAYA_GLOBAL' | 'PEBL' | 'REMOTE' | 'OTHER';
955
1891
  /**
956
- * Contribution value.
1892
+ * Date the worker started with the prior employer-of-record provider, in
1893
+ * YYYY-MM-DD format. Required for the transfer and must be before today.
957
1894
  */
958
- value?: string;
959
- }
960
- /**
961
- * Required for DE EOR. Framework agreement monthly gross salary.
962
- */
963
- interface FrameworkMonthlyGrossSalary {
1895
+ previous_start_date: string;
964
1896
  /**
965
- * The currency type, ex: USD, EUR, etc.
1897
+ * Whether to recognize tenure from previous_start_date. Send an explicit true to
1898
+ * recognize it or false to start tenure with the new employment. Required for the
1899
+ * transfer.
966
1900
  */
967
- currency_type?: string;
1901
+ recognize_previous_tenure: boolean;
968
1902
  /**
969
- * The decimal amount for the currency.
1903
+ * Name of the previous employer-of-record provider. Required only when
1904
+ * previous_provider is OTHER; rejected for a listed provider.
970
1905
  */
971
- value?: number;
1906
+ other_provider_name?: string;
1907
+ /**
1908
+ * Days excluded from recognized prior tenure. Accepted only when
1909
+ * recognize_previous_tenure is true and this country's tenure-gap configuration is
1910
+ * enabled; rejected otherwise. Before POST /hires/, call GET /hire-requirements/
1911
+ * with country_code and hire_type=eor to read this field's available value for the
1912
+ * company's country configuration. Omission uses zero gap days when available.
1913
+ * Send a nonnegative integer no greater than the days from previous_start_date
1914
+ * through today. An incompatible or excessive value fails the hire item with
1915
+ * invalid_request before creation.
1916
+ */
1917
+ tenure_gap_days?: number;
972
1918
  }
973
1919
  /**
974
- * Housing allowance amount.
1920
+ * Additional German framework-agreement clauses that are not already represented
1921
+ * by compensation, hours, or vacation.
975
1922
  */
976
- interface HousingAllowance {
1923
+ interface FrameworkAgreement {
977
1924
  /**
978
- * The currency type, ex: USD, EUR, etc.
1925
+ * Additional benefits stated in the framework agreement.
979
1926
  */
980
- currency_type?: string;
1927
+ additional_benefits: string;
981
1928
  /**
982
- * The decimal amount for the currency.
1929
+ * Framework-agreement continued-remuneration terms.
983
1930
  */
984
- value?: number;
985
- }
986
- /**
987
- * Extra employer MPF contribution, if you offer one.
988
- */
989
- interface MpfVoluntaryEmployerContribution {
1931
+ continued_remuneration_terms: string;
990
1932
  /**
991
- * Fixed contribution amount.
1933
+ * Other essential working conditions in the framework agreement.
992
1934
  */
993
- fixed_amount?: MpfVoluntaryEmployerContribution.FixedAmount;
1935
+ other_working_conditions: string;
994
1936
  /**
995
- * Contribution percent.
1937
+ * Framework-agreement overtime-pay terms.
996
1938
  */
997
- percent?: string;
1939
+ overtime_pay_terms: string;
1940
+ /**
1941
+ * Rest-period terms stated in the framework agreement.
1942
+ */
1943
+ rest_periods: string;
998
1944
  /**
999
- * Contribution type.
1945
+ * Shared facilities available to the worker.
1000
1946
  */
1001
- type?: string;
1947
+ shared_facilities: string;
1948
+ /**
1949
+ * Surcharges required by the framework agreement.
1950
+ */
1951
+ surcharges: string;
1952
+ /**
1953
+ * Framework-agreement variable-compensation terms.
1954
+ */
1955
+ variable_compensation_terms: string;
1956
+ /**
1957
+ * Functional workwear supplied for the engagement.
1958
+ */
1959
+ work_wear: string;
1002
1960
  }
1003
- namespace MpfVoluntaryEmployerContribution {
1961
+ /**
1962
+ * Australian modern-award coverage and classification for this job. Required for
1963
+ * Australian hires. Send coverage NOT_COVERED when no award applies; otherwise
1964
+ * send COVERED with the applicable award and classification identifiers.
1965
+ */
1966
+ interface ModernAward {
1004
1967
  /**
1005
- * Fixed contribution amount.
1968
+ * Whether an Australian modern award covers this job. Use NOT_COVERED when no
1969
+ * modern award applies. Use COVERED together with award_id and classification_id
1970
+ * when one applies.
1006
1971
  */
1007
- interface FixedAmount {
1008
- /**
1009
- * The currency type, ex: USD, EUR, etc.
1010
- */
1011
- currency_type?: string;
1012
- /**
1013
- * The decimal amount for the currency.
1014
- */
1015
- value?: number;
1016
- }
1972
+ coverage: 'COVERED' | 'NOT_COVERED';
1973
+ /**
1974
+ * Identifier of the Australian modern award governing the job. Required when
1975
+ * coverage is COVERED; omit when coverage is NOT_COVERED. Select a currently
1976
+ * active identifier from award_id.allowed_values returned by GET
1977
+ * /hire-requirements/. This is a catalog identifier, not an expandable Platform
1978
+ * API relationship.
1979
+ */
1980
+ award_id?: string;
1981
+ /**
1982
+ * Identifier of the worker's classification within the selected modern award. This
1983
+ * classification captures the applicable level or sub-level. Required when
1984
+ * coverage is COVERED; omit when coverage is NOT_COVERED. Select an identifier
1985
+ * from classification_id.allowed_values returned by GET /hire-requirements/ and
1986
+ * use allowed_value_parents to match it to award_id. This is a catalog identifier,
1987
+ * not an expandable Platform API relationship.
1988
+ */
1989
+ classification_id?: string;
1017
1990
  }
1018
1991
  /**
1019
- * Standard notice, or a custom notice period.
1992
+ * Notice-period arrangement for ending employment: standard or a custom period.
1020
1993
  */
1021
1994
  interface Notice {
1022
1995
  /**
1023
- * Standard notice, or a custom notice period.
1996
+ * Notice-period arrangement for ending employment. STANDARD_NOTICE applies the
1997
+ * standard period; CUSTOM_NOTICE supplies a specific period.
1024
1998
  */
1025
- type: string;
1999
+ type: 'STANDARD_NOTICE' | 'CUSTOM_NOTICE';
1026
2000
  /**
1027
- * Length of the custom notice period.
2001
+ * Number of notice-period units. Required for CUSTOM_NOTICE; omit for
2002
+ * STANDARD_NOTICE.
1028
2003
  */
1029
2004
  quantity?: number;
1030
2005
  /**
1031
- * Time unit for custom notice, such as WEEKS.
2006
+ * Unit for the custom notice period: DAYS, WEEKS, MONTHS, or YEARS. Required for
2007
+ * CUSTOM_NOTICE; omit for STANDARD_NOTICE.
1032
2008
  */
1033
- unit?: string;
2009
+ unit?: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
1034
2010
  }
1035
2011
  /**
1036
- * Standard probation, a shorter period, or no probation.
2012
+ * Probation arrangement for the employment: standard, a shorter custom period, or
2013
+ * none.
1037
2014
  */
1038
2015
  interface Probation {
1039
2016
  /**
1040
- * Standard probation, a shorter period, or no probation.
2017
+ * Probation arrangement for the employment. STANDARD_PROBATION applies the
2018
+ * standard period, SHORTER_PROBATION supplies a shorter custom period, and
2019
+ * FORGO_PROBATION means no probation.
1041
2020
  */
1042
- type: string;
2021
+ type: 'STANDARD_PROBATION' | 'SHORTER_PROBATION' | 'FORGO_PROBATION';
1043
2022
  /**
1044
- * Length of a shorter probation.
2023
+ * Number of probation units. Required for SHORTER_PROBATION; omit otherwise.
1045
2024
  */
1046
2025
  quantity?: number;
1047
2026
  /**
1048
- * Time unit for a shorter probation, such as MONTHS.
2027
+ * Unit for the custom probation length: DAYS, WEEKS, MONTHS, or YEARS. Required
2028
+ * for SHORTER_PROBATION; omit otherwise.
1049
2029
  */
1050
- unit?: string;
2030
+ unit?: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
1051
2031
  }
1052
2032
  /**
1053
- * Required for remote CH EOR. Currency type and value. Use 0 if none.
1054
- */
1055
- interface RemoteWorkingAllowance {
2033
+ * The role's usual working days and, where required, its local daily start and end
2034
+ * times. This describes the regular work pattern; weekly_hours remains the total
2035
+ * expected hours per week. For Mexico EOR and Brazil hires, only days is accepted.
2036
+ * For Brazil hires, days must be nonempty when the object is supplied. Omitting
2037
+ * the object defaults to Monday through Friday for Mexico EOR and Brazil hires.
2038
+ * Omit for Colombia hires and Philippines direct hire. Required for Philippines
2039
+ * EOR only when weekly_work_schedule is not enabled; include days, start_time,
2040
+ * end_time, and time_zone. When weekly_work_schedule is enabled, omit this object
2041
+ * and supply that schedule instead. Before POST /hires/, call GET
2042
+ * /hire-requirements/ with country_code and hire_type to resolve schedule
2043
+ * availability and requiredness for the company.
2044
+ */
2045
+ interface RegularWorkingHours {
1056
2046
  /**
1057
- * The currency type, ex: USD, EUR, etc.
2047
+ * Weekdays the worker ordinarily works. Use uppercase values such as MONDAY and
2048
+ * FRIDAY. For Mexico EOR and Brazil hires, this is the only accepted member of
2049
+ * regular_working_hours. For Brazil hires, days must be nonempty when the object
2050
+ * is supplied. Omitting the whole object defaults to Monday through Friday for
2051
+ * Mexico EOR and Brazil hires.
1058
2052
  */
1059
- currency_type?: string;
2053
+ days: Array<'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'>;
1060
2054
  /**
1061
- * The decimal amount for the currency.
2055
+ * Number of days ordinarily worked per week, such as 5.
1062
2056
  */
1063
- value?: number;
1064
- }
1065
- /**
1066
- * Required for CH EOR. Currency type and value for the 13th month bonus.
1067
- */
1068
- interface ThirteenthMonthBonus {
2057
+ days_per_week?: number;
1069
2058
  /**
1070
- * The currency type, ex: USD, EUR, etc.
2059
+ * Number of days ordinarily worked per year, when the country tracks annual
2060
+ * working days.
1071
2061
  */
1072
- currency_type?: string;
2062
+ days_per_year?: number;
1073
2063
  /**
1074
- * The decimal amount for the currency.
2064
+ * Usual local end time on a working day in HH:MM:SS format, such as 17:00:00. This
2065
+ * is a wall-clock time in time_zone, not a UTC timestamp. Do not send for Mexico
2066
+ * EOR or Brazil hires.
1075
2067
  */
1076
- value?: number;
2068
+ end_time?: string;
2069
+ /**
2070
+ * Expected hours for each weekday. Use null for a day off.
2071
+ */
2072
+ hours_by_weekday?: RegularWorkingHours.HoursByWeekday;
2073
+ /**
2074
+ * Usual local start time on a working day in HH:MM:SS format, such as 09:00:00.
2075
+ * This is a wall-clock time in time_zone, not a UTC timestamp. Do not send for
2076
+ * Mexico EOR or Brazil hires.
2077
+ */
2078
+ start_time?: string;
2079
+ /**
2080
+ * IANA time zone used to interpret start_time and end_time, such as
2081
+ * Australia/Sydney or Europe/London. Do not send for Mexico EOR or Brazil hires.
2082
+ */
2083
+ time_zone?: string;
2084
+ /**
2085
+ * Unit used to track working time when required by the country: DAYS or HOURS.
2086
+ */
2087
+ tracking_unit?: 'DAYS' | 'HOURS';
2088
+ }
2089
+ namespace RegularWorkingHours {
2090
+ /**
2091
+ * Expected hours for each weekday. Use null for a day off.
2092
+ */
2093
+ interface HoursByWeekday {
2094
+ /**
2095
+ * Hours worked on Friday; null means the day is off.
2096
+ */
2097
+ friday?: string;
2098
+ /**
2099
+ * Hours worked on Monday; null means the day is off.
2100
+ */
2101
+ monday?: string;
2102
+ /**
2103
+ * Hours worked on Saturday; null means the day is off.
2104
+ */
2105
+ saturday?: string;
2106
+ /**
2107
+ * Hours worked on Sunday; null means the day is off.
2108
+ */
2109
+ sunday?: string;
2110
+ /**
2111
+ * Hours worked on Thursday; null means the day is off.
2112
+ */
2113
+ thursday?: string;
2114
+ /**
2115
+ * Hours worked on Tuesday; null means the day is off.
2116
+ */
2117
+ tuesday?: string;
2118
+ /**
2119
+ * Hours worked on Wednesday; null means the day is off.
2120
+ */
2121
+ wednesday?: string;
2122
+ }
1077
2123
  }
1078
2124
  /**
1079
- * Transportation allowance amount.
2125
+ * Employment documents required to prepare the hire.
1080
2126
  */
1081
- interface TransportationAllowance {
2127
+ interface SupportingDocuments {
1082
2128
  /**
1083
- * The currency type, ex: USD, EUR, etc.
2129
+ * Id of the confirmed company-owned PDF or Word resume uploaded through POST
2130
+ * /files/.
1084
2131
  */
1085
- currency_type?: string;
2132
+ resume_file_id?: string;
1086
2133
  /**
1087
- * The decimal amount for the currency.
2134
+ * Id of the confirmed company-owned PDF or Word variable-compensation plan.
1088
2135
  */
1089
- value?: number;
2136
+ variable_compensation_plan_file_id?: string;
1090
2137
  }
1091
2138
  /**
1092
- * Statutory vacation, or a custom number of days.
2139
+ * How annual paid vacation is determined: statutory entitlement or a custom annual
2140
+ * allowance. For Philippines EOR, custom vacation adds nonstatutory
2141
+ * additional_days instead of replacing total entitlement. Do not send for Colombia
2142
+ * or Philippines direct hire, or Brazil EOR, including an empty object.
1093
2143
  */
1094
2144
  interface Vacation {
1095
2145
  /**
1096
- * Statutory vacation, or a custom number of days.
2146
+ * How annual paid vacation is determined. Use STATUTORY_VACATION to apply the
2147
+ * statutory entitlement or CUSTOM_VACATION to provide a specific annual allowance
2148
+ * in days. For Philippines EOR, CUSTOM_VACATION instead supplies additional
2149
+ * nonstatutory days through additional_days. Colombia EOR accepts only
2150
+ * STATUTORY_VACATION. Omit the vacation object for Colombia and Philippines direct
2151
+ * hire.
2152
+ */
2153
+ type: 'STATUTORY_VACATION' | 'CUSTOM_VACATION';
2154
+ /**
2155
+ * Company-provided annual vacation days in addition to statutory entitlement.
2156
+ * Required for Philippines EOR CUSTOM_VACATION. Omit for STATUTORY_VACATION,
2157
+ * direct hire, and other countries. This is not the total annual vacation
2158
+ * allowance.
1097
2159
  */
1098
- type: string;
2160
+ additional_days?: number;
1099
2161
  /**
1100
- * Vacation days per year. Required when vacation is custom.
2162
+ * Annual vacation allowance in days. Required for CUSTOM_VACATION except
2163
+ * Philippines EOR, which rejects days and uses additional_days. Omit for
2164
+ * STATUTORY_VACATION.
1101
2165
  */
1102
2166
  days?: number;
1103
2167
  }
1104
2168
  /**
1105
- * Working hours calendar. Omit unless you need day-level hours.
1106
- */
1107
- interface WorkingHoursSchedule {
2169
+ * Recurring work schedule for Colombia and Philippines direct hire or EOR when
2170
+ * working-hours schedules are enabled for the company and country and work-pattern
2171
+ * auto-assignment is disabled. Required in that configuration; rejected otherwise
2172
+ * and for other countries. Omit regular_working_hours when sending this object.
2173
+ * Before POST /hires/, call GET /hire-requirements/ with country_code and
2174
+ * hire_type to resolve schedule availability and requiredness for the company. A
2175
+ * missing schedule or incompatible company configuration fails the hire item with
2176
+ * invalid_request before creation. Colombia and Philippines hires with
2177
+ * work-pattern auto-assignment enabled cannot be created through this API, even
2178
+ * when this object is omitted; complete those hires in Rippling. They fail with
2179
+ * invalid_request before creation. Malformed objects reject the whole request
2180
+ * during schema validation. Paid-hour spans and weekly totals are also checked
2181
+ * before creation. Country-specific schedule policy is checked while saving hiring
2182
+ * pages; a policy violation can leave an incomplete hire with an id and
2183
+ * validation_failed errors.
2184
+ */
2185
+ interface WeeklyWorkSchedule {
1108
2186
  /**
1109
- * Repeating week definition for the schedule.
2187
+ * One-week or two-week repeating schedule, including days off and paid hours.
2188
+ * Before POST /hires/, call GET /hire-requirements/ with country_code and
2189
+ * hire_type to resolve schedule availability and requiredness for the company.
1110
2190
  */
1111
- recurrence: WorkingHoursSchedule.Recurrence;
2191
+ recurrence: WeeklyWorkSchedule.Recurrence;
1112
2192
  /**
1113
- * IANA time zone for the schedule, for example America/Los_Angeles.
2193
+ * IANA time zone for all local times in the schedule, such as America/Bogota or
2194
+ * Asia/Manila.
1114
2195
  */
1115
2196
  schedule_time_zone: string;
1116
2197
  /**
1117
- * First day of the expansion cycle. Lowercase weekday, for example sunday.
2198
+ * First weekday in the recurring cycle, using uppercase such as MONDAY.
1118
2199
  */
1119
- start_day_of_week: string;
2200
+ start_day_of_week: 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
1120
2201
  /**
1121
- * Optional work-pattern scope. GENERIC or INLINE.
2202
+ * Date in YYYY-MM-DD on which the first day of a two-week cycle occurs. Required
2203
+ * for a two-week cycle; omit for a one-week cycle. Its weekday must match
2204
+ * start_day_of_week.
1122
2205
  */
1123
- scope_type?: string;
2206
+ anchor_date?: string;
1124
2207
  }
1125
- namespace WorkingHoursSchedule {
2208
+ namespace WeeklyWorkSchedule {
1126
2209
  /**
1127
- * Repeating week definition for the schedule.
2210
+ * One-week or two-week repeating schedule, including days off and paid hours.
2211
+ * Before POST /hires/, call GET /hire-requirements/ with country_code and
2212
+ * hire_type to resolve schedule availability and requiredness for the company.
1128
2213
  */
1129
2214
  interface Recurrence {
1130
2215
  /**
1131
- * One entry per day in the cycle, length times 7, starting at start_day_of_week.
2216
+ * Ordered days starting on start_day_of_week: exactly 7 days for one week or 14
2217
+ * for two weeks. Send an empty object for each day off.
1132
2218
  */
1133
2219
  expansion: Array<Recurrence.Expansion>;
1134
2220
  /**
1135
- * Number of units in the cycle. 1 is a weekly pattern.
2221
+ * Number of weeks in the repeating cycle: 1 or 2.
1136
2222
  */
1137
- length: number;
2223
+ length: 1 | 2;
1138
2224
  /**
1139
- * Recurrence unit. Must be WEEKS.
2225
+ * Recurrence unit. Send WEEKS.
1140
2226
  */
1141
- unit: string;
2227
+ unit: 'WEEKS';
1142
2228
  }
1143
2229
  namespace Recurrence {
1144
2230
  interface Expansion {
1145
2231
  /**
1146
- * Day duration as a decimal string, for example 8.00. Omit or null for an off day.
2232
+ * Paid working hours for this day as a decimal string greater than zero and at
2233
+ * most 24 hours, excluding unpaid breaks. May be shorter than the start-to-end
2234
+ * span.
1147
2235
  */
1148
2236
  duration?: string;
1149
2237
  /**
1150
- * End time as HH:MM:SS. Omit or null for an off day.
2238
+ * Local end time in HH:MM:SS. An earlier time ends on the following day.
1151
2239
  */
1152
2240
  end_time?: string;
1153
2241
  /**
1154
- * Start time as HH:MM:SS. Omit or null for an off day.
2242
+ * Local start time in HH:MM:SS. Omit all members for a day off.
1155
2243
  */
1156
2244
  start_time?: string;
1157
2245
  }
@@ -1159,82 +2247,120 @@ export declare namespace HireCreateParams {
1159
2247
  }
1160
2248
  }
1161
2249
  /**
1162
- * Personal information for the hire.
2250
+ * The person's legal name and the email address or mobile number used to send
2251
+ * their invitation.
1163
2252
  */
1164
2253
  interface Personal {
1165
2254
  /**
1166
- * Legal first name of the hire.
2255
+ * Person's legal given name as it should appear on employment and payroll records.
1167
2256
  */
1168
2257
  first_name: string;
1169
2258
  /**
1170
- * Legal last name of the hire.
2259
+ * Person's legal family name as it should appear on employment and payroll
2260
+ * records.
1171
2261
  */
1172
2262
  last_name: string;
1173
2263
  /**
1174
- * Email used to invite this person. Send an email or a phone number.
2264
+ * Email address where the person should receive their Rippling invitation. At
2265
+ * least one of invite_email or invite_phone is required; both may be provided.
1175
2266
  */
1176
2267
  invite_email?: string;
1177
2268
  /**
1178
- * Mobile number used to invite this person, including country code, such as
1179
- * +14155550123. Send an email or a phone number.
2269
+ * Mobile number where the person should receive their Rippling invitation, in
2270
+ * international format including the country calling code, for example
2271
+ * +14155550123. At least one of invite_email or invite_phone is required; both may
2272
+ * be provided.
1180
2273
  */
1181
2274
  invite_phone?: string;
2275
+ /**
2276
+ * Person's nationality as an ISO 3166-1 alpha-2 country code, such as FR for
2277
+ * French nationality. Provide it only when listed by GET /hire-requirements/. This
2278
+ * is not the country where the person works.
2279
+ */
2280
+ nationality_code?: string;
1182
2281
  }
1183
2282
  /**
1184
- * Work location for the hire.
2283
+ * Where the person will work. Provide either a Rippling work-location ID or mark
2284
+ * the hire as remote, and always provide the work country.
1185
2285
  */
1186
2286
  interface WorkLocation {
1187
2287
  /**
1188
- * Country this person works in. Required for office and remote hires.
2288
+ * Two-letter ISO 3166-1 country code for the place where the person performs the
2289
+ * work, such as US or CA. Required for both office-based and remote hires and used
2290
+ * to determine country-specific hiring requirements.
1189
2291
  */
1190
2292
  country_code: string;
1191
2293
  /**
1192
- * Set to true if this person has no office. You still need the country they work
1193
- * in.
2294
+ * Whether the person works remotely rather than from a company work location. When
2295
+ * true, omit location_id and provide country_code plus state_code when applicable.
2296
+ * Defaults to false.
1194
2297
  */
1195
2298
  is_remote?: boolean;
1196
2299
  /**
1197
- * Office this person will work from. Skip this if they work remotely.
2300
+ * Rippling work-location ID for the office or site where the person will work.
2301
+ * Obtain it from GET /work-locations/. Required when is_remote is false; omit when
2302
+ * is_remote is true.
1198
2303
  */
1199
2304
  location_id?: string;
1200
2305
  /**
1201
- * Optional state or region code for a remote work location.
2306
+ * State, province, or region code for a remote work location, such as CA for
2307
+ * California. Supply it when the selected country requires a regional location;
2308
+ * omit it for an office-based hire whose work-location record already identifies
2309
+ * the region.
1202
2310
  */
1203
2311
  state_code?: string;
1204
2312
  }
1205
2313
  interface CustomField {
1206
2314
  /**
1207
- * Hiring custom field id.
2315
+ * Identifier of a company-configured custom field collected during hiring. Use a
2316
+ * field configured for the hiring company.
1208
2317
  */
1209
2318
  field_id: string;
1210
2319
  /**
1211
- * Custom field value.
2320
+ * Value for the selected custom field. Its JSON type and allowed options depend on
2321
+ * that field's configuration in Rippling.
1212
2322
  */
1213
2323
  value: unknown;
1214
2324
  }
1215
2325
  /**
1216
- * Optional links to an ATS applicant, open seat, prior employee, or hire already
1217
- * in progress.
2326
+ * References that associate this hire with recruiting, headcount planning, a prior
2327
+ * employment record, or an existing Rippling hiring process. These references
2328
+ * control hiring behavior; they are not arbitrary metadata. Omit the object when
2329
+ * no association applies.
1218
2330
  */
1219
2331
  interface RelatedRecords {
1220
2332
  /**
1221
- * Applicant id from your ATS, if this hire came from recruiting.
2333
+ * Rippling Recruiting applicant/application ID for the ATS application that
2334
+ * produced this hire. Obtain it from GET /candidate-applications/. Omit when the
2335
+ * hire is not linked to a Rippling ATS application.
1222
2336
  */
1223
2337
  ats_applicant_id?: string;
1224
2338
  /**
1225
- * Hire already started in Rippling, if you are continuing it.
2339
+ * Rippling role ID for an in-progress hire to continue instead of starting another
2340
+ * hiring process. Use the ID returned by a prior hire result when instructed to
2341
+ * continue that hire.
1226
2342
  */
1227
2343
  existing_role_id?: string;
1228
2344
  /**
1229
- * Open seat this person is filling.
2345
+ * Rippling headcount-position ID for the approved or open position this person
2346
+ * will fill. Obtain it from GET /headcount-positions/.
1230
2347
  */
1231
2348
  headcount_position_id?: string;
1232
2349
  /**
1233
- * Reuse their existing details, or collect new details. Required when rehiring.
2350
+ * How to initialize the rehire identified by rehire_role_id. REUSE_WORKER_DETAILS
2351
+ * prefills eligible non-compensation details from the prior employment record,
2352
+ * while NEW_WORKER_DETAILS starts those hiring questions without that prefill.
2353
+ * Both choices rehire the existing person identified by rehire_role_id. The
2354
+ * request's required first_name and last_name do not replace that person's
2355
+ * identity; invite_email or invite_phone supplies the invitation destination for
2356
+ * the new role. Required with rehire_role_id; omit otherwise.
1234
2357
  */
1235
- rehire_choice?: string;
2358
+ rehire_choice?: 'REUSE_WORKER_DETAILS' | 'NEW_WORKER_DETAILS';
1236
2359
  /**
1237
- * Prior employee role to rehire.
2360
+ * Rippling role ID for this person's prior employment record: the previous role
2361
+ * being rehired. When POST /hires/ reports a possible_rehire next action, use its
2362
+ * target_id here. Providing this ID starts a rehire and also requires
2363
+ * rehire_choice.
1238
2364
  */
1239
2365
  rehire_role_id?: string;
1240
2366
  }