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