@rippling/rippling-sdk 0.2.0-alpha.110 → 0.2.0-alpha.112

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 (579) hide show
  1. package/client.d.mts +58 -7
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +58 -7
  4. package/client.d.ts.map +1 -1
  5. package/client.js +54 -3
  6. package/client.js.map +1 -1
  7. package/client.mjs +54 -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/lib/manifest/acp-agent.d.mts +1 -1
  25. package/lib/manifest/acp-agent.d.mts.map +1 -1
  26. package/lib/manifest/acp-agent.d.ts +1 -1
  27. package/lib/manifest/acp-agent.d.ts.map +1 -1
  28. package/lib/manifest/acp-agent.js +6 -0
  29. package/lib/manifest/acp-agent.js.map +1 -1
  30. package/lib/manifest/acp-agent.mjs +6 -0
  31. package/lib/manifest/acp-agent.mjs.map +1 -1
  32. package/lib/manifest/definitions/_object-records.d.mts.map +1 -1
  33. package/lib/manifest/definitions/_object-records.d.ts.map +1 -1
  34. package/lib/manifest/definitions/_object-records.js +10 -8
  35. package/lib/manifest/definitions/_object-records.js.map +1 -1
  36. package/lib/manifest/definitions/_object-records.mjs +10 -8
  37. package/lib/manifest/definitions/_object-records.mjs.map +1 -1
  38. package/lib/manifest/definitions/custom-object.d.mts +10 -10
  39. package/lib/manifest/definitions/custom-object.d.mts.map +1 -1
  40. package/lib/manifest/definitions/custom-object.d.ts +10 -10
  41. package/lib/manifest/definitions/custom-object.d.ts.map +1 -1
  42. package/lib/manifest/definitions/custom-object.js.map +1 -1
  43. package/lib/manifest/definitions/custom-object.mjs.map +1 -1
  44. package/package.json +1 -1
  45. package/resources/activity-log.d.mts +1 -1
  46. package/resources/activity-log.d.ts +1 -1
  47. package/resources/activity-log.js +1 -1
  48. package/resources/activity-log.mjs +1 -1
  49. package/resources/agents/sessions/messages.d.mts +10 -1
  50. package/resources/agents/sessions/messages.d.mts.map +1 -1
  51. package/resources/agents/sessions/messages.d.ts +10 -1
  52. package/resources/agents/sessions/messages.d.ts.map +1 -1
  53. package/resources/agents/sessions/sessions.d.mts +30 -3
  54. package/resources/agents/sessions/sessions.d.mts.map +1 -1
  55. package/resources/agents/sessions/sessions.d.ts +30 -3
  56. package/resources/agents/sessions/sessions.d.ts.map +1 -1
  57. package/resources/agents/sessions/sessions.js.map +1 -1
  58. package/resources/agents/sessions/sessions.mjs.map +1 -1
  59. package/resources/bills.d.mts +1343 -0
  60. package/resources/bills.d.mts.map +1 -0
  61. package/resources/bills.d.ts +1343 -0
  62. package/resources/bills.d.ts.map +1 -0
  63. package/resources/bills.js +214 -0
  64. package/resources/bills.js.map +1 -0
  65. package/resources/bills.mjs +210 -0
  66. package/resources/bills.mjs.map +1 -0
  67. package/resources/card-transactions.d.mts +607 -49
  68. package/resources/card-transactions.d.mts.map +1 -1
  69. package/resources/card-transactions.d.ts +607 -49
  70. package/resources/card-transactions.d.ts.map +1 -1
  71. package/resources/card-transactions.js +73 -12
  72. package/resources/card-transactions.js.map +1 -1
  73. package/resources/card-transactions.mjs +73 -12
  74. package/resources/card-transactions.mjs.map +1 -1
  75. package/resources/custom-objects/custom-objects.d.mts +39 -3
  76. package/resources/custom-objects/custom-objects.d.mts.map +1 -1
  77. package/resources/custom-objects/custom-objects.d.ts +39 -3
  78. package/resources/custom-objects/custom-objects.d.ts.map +1 -1
  79. package/resources/custom-objects/custom-objects.js +38 -2
  80. package/resources/custom-objects/custom-objects.js.map +1 -1
  81. package/resources/custom-objects/custom-objects.mjs +38 -2
  82. package/resources/custom-objects/custom-objects.mjs.map +1 -1
  83. package/resources/custom-objects/fields.d.mts +44 -0
  84. package/resources/custom-objects/fields.d.mts.map +1 -1
  85. package/resources/custom-objects/fields.d.ts +44 -0
  86. package/resources/custom-objects/fields.d.ts.map +1 -1
  87. package/resources/custom-objects/fields.js +44 -0
  88. package/resources/custom-objects/fields.js.map +1 -1
  89. package/resources/custom-objects/fields.mjs +44 -0
  90. package/resources/custom-objects/fields.mjs.map +1 -1
  91. package/resources/custom-objects/index.d.mts +2 -1
  92. package/resources/custom-objects/index.d.mts.map +1 -1
  93. package/resources/custom-objects/index.d.ts +2 -1
  94. package/resources/custom-objects/index.d.ts.map +1 -1
  95. package/resources/custom-objects/index.js +5 -3
  96. package/resources/custom-objects/index.js.map +1 -1
  97. package/resources/custom-objects/index.mjs +2 -1
  98. package/resources/custom-objects/index.mjs.map +1 -1
  99. package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
  100. package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
  101. package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
  102. package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
  103. package/resources/custom-objects/list-views/capabilities.js +48 -0
  104. package/resources/custom-objects/list-views/capabilities.js.map +1 -0
  105. package/resources/custom-objects/list-views/capabilities.mjs +44 -0
  106. package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
  107. package/resources/custom-objects/list-views/default.d.mts +69 -0
  108. package/resources/custom-objects/list-views/default.d.mts.map +1 -0
  109. package/resources/custom-objects/list-views/default.d.ts +69 -0
  110. package/resources/custom-objects/list-views/default.d.ts.map +1 -0
  111. package/resources/custom-objects/list-views/default.js +59 -0
  112. package/resources/custom-objects/list-views/default.js.map +1 -0
  113. package/resources/custom-objects/list-views/default.mjs +55 -0
  114. package/resources/custom-objects/list-views/default.mjs.map +1 -0
  115. package/resources/custom-objects/list-views/index.d.mts +4 -0
  116. package/resources/custom-objects/list-views/index.d.mts.map +1 -0
  117. package/resources/custom-objects/list-views/index.d.ts +4 -0
  118. package/resources/custom-objects/list-views/index.d.ts.map +1 -0
  119. package/resources/custom-objects/list-views/index.js +11 -0
  120. package/resources/custom-objects/list-views/index.js.map +1 -0
  121. package/resources/custom-objects/list-views/index.mjs +5 -0
  122. package/resources/custom-objects/list-views/index.mjs.map +1 -0
  123. package/resources/custom-objects/list-views/list-views.d.mts +806 -0
  124. package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
  125. package/resources/custom-objects/list-views/list-views.d.ts +806 -0
  126. package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
  127. package/resources/custom-objects/list-views/list-views.js +314 -0
  128. package/resources/custom-objects/list-views/list-views.js.map +1 -0
  129. package/resources/custom-objects/list-views/list-views.mjs +309 -0
  130. package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
  131. package/resources/custom-objects/list-views.d.mts +2 -0
  132. package/resources/custom-objects/list-views.d.mts.map +1 -0
  133. package/resources/custom-objects/list-views.d.ts +2 -0
  134. package/resources/custom-objects/list-views.d.ts.map +1 -0
  135. package/resources/custom-objects/list-views.js +6 -0
  136. package/resources/custom-objects/list-views.js.map +1 -0
  137. package/resources/custom-objects/list-views.mjs +3 -0
  138. package/resources/custom-objects/list-views.mjs.map +1 -0
  139. package/resources/custom-objects/records/capabilities.d.mts +61 -0
  140. package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
  141. package/resources/custom-objects/records/capabilities.d.ts +61 -0
  142. package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
  143. package/resources/custom-objects/records/capabilities.js +47 -0
  144. package/resources/custom-objects/records/capabilities.js.map +1 -0
  145. package/resources/custom-objects/records/capabilities.mjs +43 -0
  146. package/resources/custom-objects/records/capabilities.mjs.map +1 -0
  147. package/resources/custom-objects/records/index.d.mts +3 -0
  148. package/resources/custom-objects/records/index.d.mts.map +1 -0
  149. package/resources/custom-objects/records/index.d.ts +3 -0
  150. package/resources/custom-objects/records/index.d.ts.map +1 -0
  151. package/resources/custom-objects/records/index.js +9 -0
  152. package/resources/custom-objects/records/index.js.map +1 -0
  153. package/resources/custom-objects/records/index.mjs +4 -0
  154. package/resources/custom-objects/records/index.mjs.map +1 -0
  155. package/resources/custom-objects/records/records.d.mts +787 -0
  156. package/resources/custom-objects/records/records.d.mts.map +1 -0
  157. package/resources/custom-objects/records/records.d.ts +787 -0
  158. package/resources/custom-objects/records/records.d.ts.map +1 -0
  159. package/resources/custom-objects/records/records.js +543 -0
  160. package/resources/custom-objects/records/records.js.map +1 -0
  161. package/resources/custom-objects/records/records.mjs +538 -0
  162. package/resources/custom-objects/records/records.mjs.map +1 -0
  163. package/resources/custom-objects/records.d.mts +1 -561
  164. package/resources/custom-objects/records.d.mts.map +1 -1
  165. package/resources/custom-objects/records.d.ts +1 -561
  166. package/resources/custom-objects/records.d.ts.map +1 -1
  167. package/resources/custom-objects/records.js +2 -444
  168. package/resources/custom-objects/records.js.map +1 -1
  169. package/resources/custom-objects/records.mjs +1 -442
  170. package/resources/custom-objects/records.mjs.map +1 -1
  171. package/resources/devices.d.mts +2 -2
  172. package/resources/devices.d.mts.map +1 -1
  173. package/resources/devices.d.ts +2 -2
  174. package/resources/devices.d.ts.map +1 -1
  175. package/resources/draft-transitions.d.mts +241 -307
  176. package/resources/draft-transitions.d.mts.map +1 -1
  177. package/resources/draft-transitions.d.ts +241 -307
  178. package/resources/draft-transitions.d.ts.map +1 -1
  179. package/resources/draft-transitions.js +49 -23
  180. package/resources/draft-transitions.js.map +1 -1
  181. package/resources/draft-transitions.mjs +49 -23
  182. package/resources/draft-transitions.mjs.map +1 -1
  183. package/resources/employee-documents.d.mts +2 -2
  184. package/resources/employee-documents.d.ts +2 -2
  185. package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
  186. package/resources/finance-categories.d.mts.map +1 -0
  187. package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
  188. package/resources/finance-categories.d.ts.map +1 -0
  189. package/resources/{spend-categories.js → finance-categories.js} +14 -11
  190. package/resources/finance-categories.js.map +1 -0
  191. package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
  192. package/resources/finance-categories.mjs.map +1 -0
  193. package/resources/finance-vendors.d.mts +154 -0
  194. package/resources/finance-vendors.d.mts.map +1 -0
  195. package/resources/finance-vendors.d.ts +154 -0
  196. package/resources/finance-vendors.d.ts.map +1 -0
  197. package/resources/finance-vendors.js +87 -0
  198. package/resources/finance-vendors.js.map +1 -0
  199. package/resources/finance-vendors.mjs +83 -0
  200. package/resources/finance-vendors.mjs.map +1 -0
  201. package/resources/functions/executions.d.mts +4 -1
  202. package/resources/functions/executions.d.mts.map +1 -1
  203. package/resources/functions/executions.d.ts +4 -1
  204. package/resources/functions/executions.d.ts.map +1 -1
  205. package/resources/functions/executions.js +4 -1
  206. package/resources/functions/executions.js.map +1 -1
  207. package/resources/functions/executions.mjs +4 -1
  208. package/resources/functions/executions.mjs.map +1 -1
  209. package/resources/functions/functions.d.mts +192 -4
  210. package/resources/functions/functions.d.mts.map +1 -1
  211. package/resources/functions/functions.d.ts +192 -4
  212. package/resources/functions/functions.d.ts.map +1 -1
  213. package/resources/functions/functions.js +72 -4
  214. package/resources/functions/functions.js.map +1 -1
  215. package/resources/functions/functions.mjs +72 -4
  216. package/resources/functions/functions.mjs.map +1 -1
  217. package/resources/hire-requirements.d.mts +98 -9
  218. package/resources/hire-requirements.d.mts.map +1 -1
  219. package/resources/hire-requirements.d.ts +98 -9
  220. package/resources/hire-requirements.d.ts.map +1 -1
  221. package/resources/hire-requirements.js +23 -4
  222. package/resources/hire-requirements.js.map +1 -1
  223. package/resources/hire-requirements.mjs +23 -4
  224. package/resources/hire-requirements.mjs.map +1 -1
  225. package/resources/hires.d.mts +1636 -510
  226. package/resources/hires.d.mts.map +1 -1
  227. package/resources/hires.d.ts +1636 -510
  228. package/resources/hires.d.ts.map +1 -1
  229. package/resources/hires.js +10 -4
  230. package/resources/hires.js.map +1 -1
  231. package/resources/hires.mjs +10 -4
  232. package/resources/hires.mjs.map +1 -1
  233. package/resources/index.d.mts +11 -3
  234. package/resources/index.d.mts.map +1 -1
  235. package/resources/index.d.ts +11 -3
  236. package/resources/index.d.ts.map +1 -1
  237. package/resources/index.js +21 -5
  238. package/resources/index.js.map +1 -1
  239. package/resources/index.mjs +9 -1
  240. package/resources/index.mjs.map +1 -1
  241. package/resources/leave-requests.d.mts +11 -2
  242. package/resources/leave-requests.d.mts.map +1 -1
  243. package/resources/leave-requests.d.ts +11 -2
  244. package/resources/leave-requests.d.ts.map +1 -1
  245. package/resources/leave-requests.js +11 -2
  246. package/resources/leave-requests.js.map +1 -1
  247. package/resources/leave-requests.mjs +11 -2
  248. package/resources/leave-requests.mjs.map +1 -1
  249. package/resources/object-categories.d.mts +2 -1
  250. package/resources/object-categories.d.mts.map +1 -1
  251. package/resources/object-categories.d.ts +2 -1
  252. package/resources/object-categories.d.ts.map +1 -1
  253. package/resources/object-categories.js +2 -1
  254. package/resources/object-categories.js.map +1 -1
  255. package/resources/object-categories.mjs +2 -1
  256. package/resources/object-categories.mjs.map +1 -1
  257. package/resources/package-components/extract.d.mts +121 -0
  258. package/resources/package-components/extract.d.mts.map +1 -0
  259. package/resources/package-components/extract.d.ts +121 -0
  260. package/resources/package-components/extract.d.ts.map +1 -0
  261. package/resources/package-components/extract.js +69 -0
  262. package/resources/package-components/extract.js.map +1 -0
  263. package/resources/package-components/extract.mjs +65 -0
  264. package/resources/package-components/extract.mjs.map +1 -0
  265. package/resources/package-components/index.d.mts +4 -0
  266. package/resources/package-components/index.d.mts.map +1 -0
  267. package/resources/package-components/index.d.ts +4 -0
  268. package/resources/package-components/index.d.ts.map +1 -0
  269. package/resources/package-components/index.js +11 -0
  270. package/resources/package-components/index.js.map +1 -0
  271. package/resources/package-components/index.mjs +5 -0
  272. package/resources/package-components/index.mjs.map +1 -0
  273. package/resources/package-components/package-components.d.mts +99 -0
  274. package/resources/package-components/package-components.d.mts.map +1 -0
  275. package/resources/package-components/package-components.d.ts +99 -0
  276. package/resources/package-components/package-components.d.ts.map +1 -0
  277. package/resources/package-components/package-components.js +63 -0
  278. package/resources/package-components/package-components.js.map +1 -0
  279. package/resources/package-components/package-components.mjs +58 -0
  280. package/resources/package-components/package-components.mjs.map +1 -0
  281. package/resources/package-components/types.d.mts +56 -0
  282. package/resources/package-components/types.d.mts.map +1 -0
  283. package/resources/package-components/types.d.ts +56 -0
  284. package/resources/package-components/types.d.ts.map +1 -0
  285. package/resources/package-components/types.js +40 -0
  286. package/resources/package-components/types.js.map +1 -0
  287. package/resources/package-components/types.mjs +36 -0
  288. package/resources/package-components/types.mjs.map +1 -0
  289. package/resources/package-components.d.mts +2 -0
  290. package/resources/package-components.d.mts.map +1 -0
  291. package/resources/package-components.d.ts +2 -0
  292. package/resources/package-components.d.ts.map +1 -0
  293. package/resources/package-components.js +6 -0
  294. package/resources/package-components.js.map +1 -0
  295. package/resources/package-components.mjs +3 -0
  296. package/resources/package-components.mjs.map +1 -0
  297. package/resources/package-installs.d.mts +96 -9
  298. package/resources/package-installs.d.mts.map +1 -1
  299. package/resources/package-installs.d.ts +96 -9
  300. package/resources/package-installs.d.ts.map +1 -1
  301. package/resources/package-installs.js +20 -3
  302. package/resources/package-installs.js.map +1 -1
  303. package/resources/package-installs.mjs +20 -3
  304. package/resources/package-installs.mjs.map +1 -1
  305. package/resources/package-managed-installs.d.mts +104 -7
  306. package/resources/package-managed-installs.d.mts.map +1 -1
  307. package/resources/package-managed-installs.d.ts +104 -7
  308. package/resources/package-managed-installs.d.ts.map +1 -1
  309. package/resources/package-managed-installs.js +22 -3
  310. package/resources/package-managed-installs.js.map +1 -1
  311. package/resources/package-managed-installs.mjs +22 -3
  312. package/resources/package-managed-installs.mjs.map +1 -1
  313. package/resources/package-manifests/index.d.mts +4 -0
  314. package/resources/package-manifests/index.d.mts.map +1 -0
  315. package/resources/package-manifests/index.d.ts +4 -0
  316. package/resources/package-manifests/index.d.ts.map +1 -0
  317. package/resources/package-manifests/index.js +11 -0
  318. package/resources/package-manifests/index.js.map +1 -0
  319. package/resources/package-manifests/index.mjs +5 -0
  320. package/resources/package-manifests/index.mjs.map +1 -0
  321. package/resources/package-manifests/package-manifests.d.mts +14 -0
  322. package/resources/package-manifests/package-manifests.d.mts.map +1 -0
  323. package/resources/package-manifests/package-manifests.d.ts +14 -0
  324. package/resources/package-manifests/package-manifests.d.ts.map +1 -0
  325. package/resources/package-manifests/package-manifests.js +21 -0
  326. package/resources/package-manifests/package-manifests.js.map +1 -0
  327. package/resources/package-manifests/package-manifests.mjs +16 -0
  328. package/resources/package-manifests/package-manifests.mjs.map +1 -0
  329. package/resources/package-manifests/packages/index.d.mts +3 -0
  330. package/resources/package-manifests/packages/index.d.mts.map +1 -0
  331. package/resources/package-manifests/packages/index.d.ts +3 -0
  332. package/resources/package-manifests/packages/index.d.ts.map +1 -0
  333. package/resources/package-manifests/packages/index.js +9 -0
  334. package/resources/package-manifests/packages/index.js.map +1 -0
  335. package/resources/package-manifests/packages/index.mjs +4 -0
  336. package/resources/package-manifests/packages/index.mjs.map +1 -0
  337. package/resources/package-manifests/packages/packages.d.mts +10 -0
  338. package/resources/package-manifests/packages/packages.d.mts.map +1 -0
  339. package/resources/package-manifests/packages/packages.d.ts +10 -0
  340. package/resources/package-manifests/packages/packages.d.ts.map +1 -0
  341. package/resources/package-manifests/packages/packages.js +17 -0
  342. package/resources/package-manifests/packages/packages.js.map +1 -0
  343. package/resources/package-manifests/packages/packages.mjs +12 -0
  344. package/resources/package-manifests/packages/packages.mjs.map +1 -0
  345. package/resources/package-manifests/packages/versions.d.mts +199 -0
  346. package/resources/package-manifests/packages/versions.d.mts.map +1 -0
  347. package/resources/package-manifests/packages/versions.d.ts +199 -0
  348. package/resources/package-manifests/packages/versions.d.ts.map +1 -0
  349. package/resources/package-manifests/packages/versions.js +68 -0
  350. package/resources/package-manifests/packages/versions.js.map +1 -0
  351. package/resources/package-manifests/packages/versions.mjs +64 -0
  352. package/resources/package-manifests/packages/versions.mjs.map +1 -0
  353. package/resources/package-manifests/packages.d.mts +2 -0
  354. package/resources/package-manifests/packages.d.mts.map +1 -0
  355. package/resources/package-manifests/packages.d.ts +2 -0
  356. package/resources/package-manifests/packages.d.ts.map +1 -0
  357. package/resources/package-manifests/packages.js +6 -0
  358. package/resources/package-manifests/packages.js.map +1 -0
  359. package/resources/package-manifests/packages.mjs +3 -0
  360. package/resources/package-manifests/packages.mjs.map +1 -0
  361. package/resources/package-manifests/versions.d.mts +84 -0
  362. package/resources/package-manifests/versions.d.mts.map +1 -0
  363. package/resources/package-manifests/versions.d.ts +84 -0
  364. package/resources/package-manifests/versions.d.ts.map +1 -0
  365. package/resources/package-manifests/versions.js +44 -0
  366. package/resources/package-manifests/versions.js.map +1 -0
  367. package/resources/package-manifests/versions.mjs +40 -0
  368. package/resources/package-manifests/versions.mjs.map +1 -0
  369. package/resources/package-manifests.d.mts +2 -0
  370. package/resources/package-manifests.d.mts.map +1 -0
  371. package/resources/package-manifests.d.ts +2 -0
  372. package/resources/package-manifests.d.ts.map +1 -0
  373. package/resources/package-manifests.js +6 -0
  374. package/resources/package-manifests.js.map +1 -0
  375. package/resources/package-manifests.mjs +3 -0
  376. package/resources/package-manifests.mjs.map +1 -0
  377. package/resources/package-versions/package-versions.d.mts +104 -14
  378. package/resources/package-versions/package-versions.d.mts.map +1 -1
  379. package/resources/package-versions/package-versions.d.ts +104 -14
  380. package/resources/package-versions/package-versions.d.ts.map +1 -1
  381. package/resources/package-versions/package-versions.js +30 -9
  382. package/resources/package-versions/package-versions.js.map +1 -1
  383. package/resources/package-versions/package-versions.mjs +30 -9
  384. package/resources/package-versions/package-versions.mjs.map +1 -1
  385. package/resources/package-versions/publish.d.mts +40 -4
  386. package/resources/package-versions/publish.d.mts.map +1 -1
  387. package/resources/package-versions/publish.d.ts +40 -4
  388. package/resources/package-versions/publish.d.ts.map +1 -1
  389. package/resources/package-versions/publish.js +8 -2
  390. package/resources/package-versions/publish.js.map +1 -1
  391. package/resources/package-versions/publish.mjs +8 -2
  392. package/resources/package-versions/publish.mjs.map +1 -1
  393. package/resources/packages/next-versions.d.mts +40 -4
  394. package/resources/packages/next-versions.d.mts.map +1 -1
  395. package/resources/packages/next-versions.d.ts +40 -4
  396. package/resources/packages/next-versions.d.ts.map +1 -1
  397. package/resources/packages/next-versions.js +8 -2
  398. package/resources/packages/next-versions.js.map +1 -1
  399. package/resources/packages/next-versions.mjs +8 -2
  400. package/resources/packages/next-versions.mjs.map +1 -1
  401. package/resources/packages/versions.d.mts +80 -9
  402. package/resources/packages/versions.d.mts.map +1 -1
  403. package/resources/packages/versions.d.ts +80 -9
  404. package/resources/packages/versions.d.ts.map +1 -1
  405. package/resources/packages/versions.js +16 -5
  406. package/resources/packages/versions.js.map +1 -1
  407. package/resources/packages/versions.mjs +16 -5
  408. package/resources/packages/versions.mjs.map +1 -1
  409. package/resources/payroll-runs/off-cycle.d.mts +17 -9
  410. package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
  411. package/resources/payroll-runs/off-cycle.d.ts +17 -9
  412. package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
  413. package/resources/payroll-runs/off-cycle.js +9 -5
  414. package/resources/payroll-runs/off-cycle.js.map +1 -1
  415. package/resources/payroll-runs/off-cycle.mjs +9 -5
  416. package/resources/payroll-runs/off-cycle.mjs.map +1 -1
  417. package/resources/permissions/index.d.mts +3 -0
  418. package/resources/permissions/index.d.mts.map +1 -0
  419. package/resources/permissions/index.d.ts +3 -0
  420. package/resources/permissions/index.d.ts.map +1 -0
  421. package/resources/permissions/index.js +9 -0
  422. package/resources/permissions/index.js.map +1 -0
  423. package/resources/permissions/index.mjs +4 -0
  424. package/resources/permissions/index.mjs.map +1 -0
  425. package/resources/permissions/permission-profiles.d.mts +43 -0
  426. package/resources/permissions/permission-profiles.d.mts.map +1 -0
  427. package/resources/permissions/permission-profiles.d.ts +43 -0
  428. package/resources/permissions/permission-profiles.d.ts.map +1 -0
  429. package/resources/permissions/permission-profiles.js +36 -0
  430. package/resources/permissions/permission-profiles.js.map +1 -0
  431. package/resources/permissions/permission-profiles.mjs +32 -0
  432. package/resources/permissions/permission-profiles.mjs.map +1 -0
  433. package/resources/permissions/permissions.d.mts +10 -0
  434. package/resources/permissions/permissions.d.mts.map +1 -0
  435. package/resources/permissions/permissions.d.ts +10 -0
  436. package/resources/permissions/permissions.d.ts.map +1 -0
  437. package/resources/permissions/permissions.js +17 -0
  438. package/resources/permissions/permissions.js.map +1 -0
  439. package/resources/permissions/permissions.mjs +12 -0
  440. package/resources/permissions/permissions.mjs.map +1 -0
  441. package/resources/permissions.d.mts +2 -0
  442. package/resources/permissions.d.mts.map +1 -0
  443. package/resources/permissions.d.ts +2 -0
  444. package/resources/permissions.d.ts.map +1 -0
  445. package/resources/permissions.js +6 -0
  446. package/resources/permissions.js.map +1 -0
  447. package/resources/permissions.mjs +3 -0
  448. package/resources/permissions.mjs.map +1 -0
  449. package/resources/record-detail-reference-options.d.mts +110 -0
  450. package/resources/record-detail-reference-options.d.mts.map +1 -0
  451. package/resources/record-detail-reference-options.d.ts +110 -0
  452. package/resources/record-detail-reference-options.d.ts.map +1 -0
  453. package/resources/record-detail-reference-options.js +54 -0
  454. package/resources/record-detail-reference-options.js.map +1 -0
  455. package/resources/record-detail-reference-options.mjs +50 -0
  456. package/resources/record-detail-reference-options.mjs.map +1 -0
  457. package/resources/record-detail-related-records.d.mts +1129 -0
  458. package/resources/record-detail-related-records.d.mts.map +1 -0
  459. package/resources/record-detail-related-records.d.ts +1129 -0
  460. package/resources/record-detail-related-records.d.ts.map +1 -0
  461. package/resources/record-detail-related-records.js +49 -0
  462. package/resources/record-detail-related-records.js.map +1 -0
  463. package/resources/record-detail-related-records.mjs +45 -0
  464. package/resources/record-detail-related-records.mjs.map +1 -0
  465. package/resources/record-details.d.mts +2621 -0
  466. package/resources/record-details.d.mts.map +1 -0
  467. package/resources/record-details.d.ts +2621 -0
  468. package/resources/record-details.d.ts.map +1 -0
  469. package/resources/record-details.js +141 -0
  470. package/resources/record-details.js.map +1 -0
  471. package/resources/record-details.mjs +137 -0
  472. package/resources/record-details.mjs.map +1 -0
  473. package/resources/reimbursements.d.mts +2158 -90
  474. package/resources/reimbursements.d.mts.map +1 -1
  475. package/resources/reimbursements.d.ts +2158 -90
  476. package/resources/reimbursements.d.ts.map +1 -1
  477. package/resources/reimbursements.js +306 -16
  478. package/resources/reimbursements.js.map +1 -1
  479. package/resources/reimbursements.mjs +306 -16
  480. package/resources/reimbursements.mjs.map +1 -1
  481. package/resources/report-runs.d.mts +2 -1
  482. package/resources/report-runs.d.mts.map +1 -1
  483. package/resources/report-runs.d.ts +2 -1
  484. package/resources/report-runs.d.ts.map +1 -1
  485. package/resources/report-runs.js +2 -1
  486. package/resources/report-runs.js.map +1 -1
  487. package/resources/report-runs.mjs +2 -1
  488. package/resources/report-runs.mjs.map +1 -1
  489. package/resources/sandboxes.d.mts +20 -624
  490. package/resources/sandboxes.d.mts.map +1 -1
  491. package/resources/sandboxes.d.ts +20 -624
  492. package/resources/sandboxes.d.ts.map +1 -1
  493. package/resources/sandboxes.js +5 -60
  494. package/resources/sandboxes.js.map +1 -1
  495. package/resources/sandboxes.mjs +5 -60
  496. package/resources/sandboxes.mjs.map +1 -1
  497. package/resources/worker-changes.d.mts +65 -10
  498. package/resources/worker-changes.d.mts.map +1 -1
  499. package/resources/worker-changes.d.ts +65 -10
  500. package/resources/worker-changes.d.ts.map +1 -1
  501. package/resources/worker-changes.js +3 -0
  502. package/resources/worker-changes.js.map +1 -1
  503. package/resources/worker-changes.mjs +3 -0
  504. package/resources/worker-changes.mjs.map +1 -1
  505. package/src/client.ts +160 -17
  506. package/src/core/platform/custom-objects/manager.ts +65 -42
  507. package/src/core/platform/custom-objects.ts +3 -0
  508. package/src/lib/manifest/acp-agent.ts +7 -1
  509. package/src/lib/manifest/definitions/_object-records.ts +17 -10
  510. package/src/lib/manifest/definitions/custom-object.ts +14 -9
  511. package/src/resources/activity-log.ts +1 -1
  512. package/src/resources/agents/sessions/messages.ts +10 -1
  513. package/src/resources/agents/sessions/sessions.ts +30 -3
  514. package/src/resources/bills.ts +1660 -0
  515. package/src/resources/card-transactions.ts +742 -49
  516. package/src/resources/custom-objects/custom-objects.ts +62 -2
  517. package/src/resources/custom-objects/fields.ts +44 -0
  518. package/src/resources/custom-objects/index.ts +13 -1
  519. package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
  520. package/src/resources/custom-objects/list-views/default.ts +87 -0
  521. package/src/resources/custom-objects/list-views/index.ts +15 -0
  522. package/src/resources/custom-objects/list-views/list-views.ts +973 -0
  523. package/src/resources/custom-objects/list-views.ts +3 -0
  524. package/src/resources/custom-objects/records/capabilities.ts +73 -0
  525. package/src/resources/custom-objects/records/index.ts +21 -0
  526. package/src/resources/custom-objects/records/records.ts +955 -0
  527. package/src/resources/custom-objects/records.ts +1 -703
  528. package/src/resources/devices.ts +2 -0
  529. package/src/resources/draft-transitions.ts +276 -347
  530. package/src/resources/employee-documents.ts +2 -2
  531. package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
  532. package/src/resources/finance-vendors.ts +191 -0
  533. package/src/resources/functions/executions.ts +4 -1
  534. package/src/resources/functions/functions.ts +216 -4
  535. package/src/resources/hire-requirements.ts +107 -9
  536. package/src/resources/hires.ts +1768 -539
  537. package/src/resources/index.ts +53 -7
  538. package/src/resources/leave-requests.ts +11 -2
  539. package/src/resources/object-categories.ts +2 -1
  540. package/src/resources/package-components/extract.ts +139 -0
  541. package/src/resources/package-components/index.ts +10 -0
  542. package/src/resources/package-components/package-components.ts +134 -0
  543. package/src/resources/package-components/types.ts +64 -0
  544. package/src/resources/package-components.ts +3 -0
  545. package/src/resources/package-installs.ts +120 -9
  546. package/src/resources/package-managed-installs.ts +146 -7
  547. package/src/resources/package-manifests/index.ts +5 -0
  548. package/src/resources/package-manifests/package-manifests.ts +21 -0
  549. package/src/resources/package-manifests/packages/index.ts +4 -0
  550. package/src/resources/package-manifests/packages/packages.ts +19 -0
  551. package/src/resources/package-manifests/packages/versions.ts +237 -0
  552. package/src/resources/package-manifests/packages.ts +3 -0
  553. package/src/resources/package-manifests/versions.ts +96 -0
  554. package/src/resources/package-manifests.ts +3 -0
  555. package/src/resources/package-versions/package-versions.ts +117 -14
  556. package/src/resources/package-versions/publish.ts +46 -4
  557. package/src/resources/packages/next-versions.ts +46 -4
  558. package/src/resources/packages/versions.ts +92 -9
  559. package/src/resources/payroll-runs/off-cycle.ts +17 -9
  560. package/src/resources/permissions/index.ts +4 -0
  561. package/src/resources/permissions/permission-profiles.ts +50 -0
  562. package/src/resources/permissions/permissions.ts +20 -0
  563. package/src/resources/permissions.ts +3 -0
  564. package/src/resources/record-detail-reference-options.ts +141 -0
  565. package/src/resources/record-detail-related-records.ts +1457 -0
  566. package/src/resources/record-details.ts +3316 -0
  567. package/src/resources/reimbursements.ts +2591 -126
  568. package/src/resources/report-runs.ts +2 -1
  569. package/src/resources/sandboxes.ts +48 -742
  570. package/src/resources/worker-changes.ts +71 -10
  571. package/src/version.ts +1 -1
  572. package/version.d.mts +1 -1
  573. package/version.d.ts +1 -1
  574. package/version.js +1 -1
  575. package/version.mjs +1 -1
  576. package/resources/spend-categories.d.mts.map +0 -1
  577. package/resources/spend-categories.d.ts.map +0 -1
  578. package/resources/spend-categories.js.map +0 -1
  579. package/resources/spend-categories.mjs.map +0 -1
@@ -0,0 +1,1343 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import * as BusinessPartnersAPI from "./business-partners.js";
3
+ import * as WorkersAPI from "./workers.js";
4
+ import { APIPromise } from "../core/api-promise.js";
5
+ import { PageCursorURL, PagePromise } from "../core/pagination.js";
6
+ import { RequestOptions } from "../internal/request-options.js";
7
+ /**
8
+ * Vendor bills, including invoice and payment details
9
+ */
10
+ export declare class Bills extends APIResource {
11
+ /**
12
+ * A list of bills.
13
+ *
14
+ * - Requires: `Spend Management Platform API`
15
+ * - Filterable fields: `worker_id`, `entity_id`, `vendor_id`, `submitter_id`,
16
+ * `invoice_date`
17
+ * - Expandable fields: `worker`, `vendor`, `submitter`
18
+ * - Sortable fields: `id`, `created_at`, `updated_at`, `invoice_date`
19
+ *
20
+ * @example HTTP
21
+ * Representative request and response shapes.
22
+ * ```
23
+ * GET /bills/?filter=filter&expand=expand&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
24
+ * Host: rest.ripplingapis.com
25
+ * Accept: application/json
26
+ * Rippling-Api-Version: 2024-08-01
27
+ *
28
+ * HTTP/1.1 200 OK
29
+ * Content-Type: application/json
30
+ *
31
+ * {
32
+ * "__meta": {},
33
+ * "results": [
34
+ * {
35
+ * "id": "string",
36
+ * "created_at": "string",
37
+ * "updated_at": "string",
38
+ * "worker_id": "string",
39
+ * "worker": {
40
+ * "id": "string",
41
+ * "created_at": "string",
42
+ * "updated_at": "string",
43
+ * "user_id": "string",
44
+ * "user": {},
45
+ * "is_manager": "string",
46
+ * "manager_id": "string",
47
+ * "manager": {},
48
+ * "legal_entity_id": "string",
49
+ * "legal_entity": {},
50
+ * "country": "AF",
51
+ * "start_date": "string",
52
+ * "end_date": "string",
53
+ * "number": "string",
54
+ * "work_email": "string",
55
+ * "personal_email": "string",
56
+ * "status": "INIT",
57
+ * "location": {},
58
+ * "employment_type_id": "string",
59
+ * "employment_type": {},
60
+ * "gender": "MALE",
61
+ * "date_of_birth": "string",
62
+ * "race": "BLACK",
63
+ * "ethnicity": "HISPANIC_OR_LATINO",
64
+ * "citizenship": "AF",
65
+ * "compensation_id": "string",
66
+ * "compensation": {},
67
+ * "overtime_exemption": "EXEMPT"
68
+ * },
69
+ * "company_amount": {
70
+ * "currency_type": "string",
71
+ * "value": "string"
72
+ * },
73
+ * "merchant_amount": {
74
+ * "currency_type": "string",
75
+ * "value": "string"
76
+ * },
77
+ * "accounting_date": "string",
78
+ * "gl_sync_state": "NOT_FINALIZED",
79
+ * "approval_status": "DRAFT",
80
+ * "entity_id": "string",
81
+ * "vendor": {
82
+ * "id": "string",
83
+ * "created_at": "string",
84
+ * "updated_at": "string",
85
+ * "name": "string",
86
+ * "logo": "string",
87
+ * "is_archived": "string"
88
+ * },
89
+ * "gl_vendor": {
90
+ * "id": "string",
91
+ * "name": "string",
92
+ * "gl_vendor_id": "string"
93
+ * },
94
+ * "memo": "string",
95
+ * "attachments": [
96
+ * {}
97
+ * ],
98
+ * "line_items": [
99
+ * {}
100
+ * ],
101
+ * "vendor_id": "string",
102
+ * "transaction_type": "BILL_PAYMENT",
103
+ * "submitter_id": "string",
104
+ * "parent_bill_id": "string",
105
+ * "submitter": {
106
+ * "id": "string",
107
+ * "created_at": "string",
108
+ * "updated_at": "string",
109
+ * "user_id": "string",
110
+ * "user": {},
111
+ * "is_manager": "string",
112
+ * "manager_id": "string",
113
+ * "manager": {},
114
+ * "legal_entity_id": "string",
115
+ * "legal_entity": {},
116
+ * "country": "AF",
117
+ * "start_date": "string",
118
+ * "end_date": "string",
119
+ * "number": "string",
120
+ * "work_email": "string",
121
+ * "personal_email": "string",
122
+ * "status": "INIT",
123
+ * "location": {},
124
+ * "employment_type_id": "string",
125
+ * "employment_type": {},
126
+ * "gender": "MALE",
127
+ * "date_of_birth": "string",
128
+ * "race": "BLACK",
129
+ * "ethnicity": "HISPANIC_OR_LATINO",
130
+ * "citizenship": "AF",
131
+ * "compensation_id": "string",
132
+ * "compensation": {},
133
+ * "overtime_exemption": "EXEMPT",
134
+ * "department_id": "string",
135
+ * "department": {},
136
+ * "teams_id": [],
137
+ * "teams": [],
138
+ * "title": "string",
139
+ * "title_effective_date": "string",
140
+ * "level_id": "string",
141
+ * "level": {},
142
+ * "job_function_id": "string",
143
+ * "job_function": {},
144
+ * "termination_details": {},
145
+ * "pay_schedule_id": "string",
146
+ * "work_schedule": {},
147
+ * "compensation_grade": {},
148
+ * "original_start_date": "string",
149
+ * "custom_fields": [],
150
+ * "country_fields": {},
151
+ * "business_partners_id": [],
152
+ * "business_partners": []
153
+ * },
154
+ * "invoice_date": "string",
155
+ * "invoice": {
156
+ * "url": "string",
157
+ * "file_name": "string"
158
+ * },
159
+ * "payment_amount": {
160
+ * "currency_type": "string",
161
+ * "value": "string"
162
+ * },
163
+ * "payment_method_fee": {
164
+ * "currency_type": "string",
165
+ * "value": "string"
166
+ * },
167
+ * "invoice_number": "string",
168
+ * "due_date": "string",
169
+ * "vendor_paid_date": "string",
170
+ * "scheduled_payment_date": "string",
171
+ * "estimated_payment_arrival": "string",
172
+ * "payment_velocity": "TWO_DAY",
173
+ * "credit_method": "ACH",
174
+ * "payment_schedule_setting": "SCHEDULE_NOW",
175
+ * "vendor_memo": "string"
176
+ * }
177
+ * ],
178
+ * "next_link": "string"
179
+ * }
180
+ * ```
181
+ */
182
+ list(query?: BillListParams | null | undefined, options?: RequestOptions): PagePromise<BillListResponsesPageCursorURL, BillListResponse>;
183
+ /**
184
+ * Retrieve a specific bill. Expandable fields: `worker`, `vendor`, `submitter`.
185
+ *
186
+ * @example HTTP
187
+ * Representative request and response shapes.
188
+ * ```
189
+ * GET /bills/{id}/?expand=expand HTTP/1.1
190
+ * Host: rest.ripplingapis.com
191
+ * Accept: application/json
192
+ * Rippling-Api-Version: 2024-08-01
193
+ *
194
+ * HTTP/1.1 200 OK
195
+ * Content-Type: application/json
196
+ *
197
+ * {
198
+ * "__meta": {
199
+ * "redacted_fields": [
200
+ * {}
201
+ * ]
202
+ * }
203
+ * }
204
+ * ```
205
+ */
206
+ retrieve(id: string, query?: BillRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BillRetrieveResponse>;
207
+ }
208
+ export type BillListResponsesPageCursorURL = PageCursorURL<BillListResponse>;
209
+ /**
210
+ * A bill visible to the caller, including its invoice and payment details.
211
+ */
212
+ export interface BillListResponse {
213
+ /**
214
+ * Identifier field
215
+ */
216
+ id: string;
217
+ /**
218
+ * Record creation date
219
+ */
220
+ created_at: string;
221
+ /**
222
+ * Record update date
223
+ */
224
+ updated_at: string;
225
+ /**
226
+ * Date the transaction is booked in the accounting system, as an ISO 8601 date
227
+ * (YYYY-MM-DD).
228
+ */
229
+ accounting_date?: string;
230
+ /**
231
+ * Approval state of the bill. `DRAFT`: not submitted. `PENDING`: awaiting required
232
+ * information before submission. `REQUESTED`: awaiting approval. `APPROVED`:
233
+ * approved. `REJECTED`: rejected. `FINALIZED`: finalized for payment. `ACTIONED`:
234
+ * paid. `CANCELLED`: cancelled. `FAILED`: payment failed.
235
+ */
236
+ approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
237
+ /**
238
+ * Other attached files, including filenames and recorded upload metadata.
239
+ */
240
+ attachments?: Array<BillListResponse.Attachment>;
241
+ /**
242
+ * Amount in the company's headquarters currency. The `value` is a decimal string.
243
+ */
244
+ company_amount?: BillListResponse.CompanyAmount;
245
+ /**
246
+ * How the vendor is paid: ACH, WIRE, CHECK, GLOBAL_ORDER, EXISTING_CORPORATE_CARD,
247
+ * MANUALLY_PAID, or PAID_IN_FULL_VIA_VENDOR_CREDIT. GLOBAL_ORDER is an
248
+ * international transfer. PAID_IN_FULL_VIA_VENDOR_CREDIT means vendor credits
249
+ * cover the full bill, with no cash payment.
250
+ */
251
+ credit_method?: 'ACH' | 'WIRE' | 'CHECK' | 'GLOBAL_ORDER' | 'EXISTING_CORPORATE_CARD' | 'MANUALLY_PAID' | 'PAID_IN_FULL_VIA_VENDOR_CREDIT';
252
+ /**
253
+ * Invoice due date, as an ISO 8601 date. A draft can omit it.
254
+ */
255
+ due_date?: string;
256
+ /**
257
+ * ID of the legal entity the transaction belongs to. Use it with
258
+ * `/company-legal-entities/{id}/`.
259
+ */
260
+ entity_id?: string;
261
+ /**
262
+ * Date the vendor is expected to receive the payment, as an ISO 8601 date. Null
263
+ * when not set.
264
+ */
265
+ estimated_payment_arrival?: string;
266
+ /**
267
+ * State of the sync to the accounting system. `NOT_FINALIZED`: not ready for
268
+ * accounting review. `FOR_REVIEW`: ready for accounting review. `PENDING_SYNC`:
269
+ * sync is in progress. `SYNCED`: synced to the accounting system. `ERROR`: sync
270
+ * failed. `DO_NOT_SYNC`: marked to be excluded from sync. `EXPORTED`: exported for
271
+ * accounting. `NOT_SYNCABLE`: this record cannot be synced. `AUTO_SYNC`: ready to
272
+ * be synced automatically. Null when no sync state is set.
273
+ */
274
+ gl_sync_state?: 'NOT_FINALIZED' | 'FOR_REVIEW' | 'PENDING_SYNC' | 'SYNCED' | 'ERROR' | 'DO_NOT_SYNC' | 'EXPORTED' | 'NOT_SYNCABLE' | 'AUTO_SYNC';
275
+ /**
276
+ * Vendor in the connected accounting system.
277
+ */
278
+ gl_vendor?: BillListResponse.GlVendor;
279
+ /**
280
+ * Invoice file and its filename.
281
+ */
282
+ invoice?: BillListResponse.Invoice;
283
+ /**
284
+ * Invoice date, as an ISO 8601 date (YYYY-MM-DD). Null when not set. Filters
285
+ * compare UTC calendar days: `eq` includes the whole day, `gt` starts the
286
+ * following day, and `lt` excludes the specified day. `ge` and `le` include the
287
+ * specified day; `in` matches any listed day.
288
+ */
289
+ invoice_date?: string;
290
+ /**
291
+ * Invoice number. Null when the bill has no invoice number.
292
+ */
293
+ invoice_number?: string;
294
+ /**
295
+ * Category splits of the transaction amount. Updates replace the entire list.
296
+ */
297
+ line_items?: Array<BillListResponse.LineItem>;
298
+ /**
299
+ * Memo entered on the transaction.
300
+ */
301
+ memo?: string;
302
+ /**
303
+ * Amount charged by the merchant, in the merchant currency. The `value` is a
304
+ * decimal string.
305
+ */
306
+ merchant_amount?: BillListResponse.MerchantAmount;
307
+ /**
308
+ * ID of the bill this payment was split from. Use it with `/bills/{id}/`. Null
309
+ * when it is not a split bill.
310
+ */
311
+ parent_bill_id?: string;
312
+ /**
313
+ * Amount paid to the vendor, in the payment currency. The `value` is a decimal
314
+ * string.
315
+ */
316
+ payment_amount?: BillListResponse.PaymentAmount;
317
+ /**
318
+ * Payment method fee, in the company's headquarters currency. The `value` is a
319
+ * decimal string. Zero when there is no fee.
320
+ */
321
+ payment_method_fee?: BillListResponse.PaymentMethodFee;
322
+ /**
323
+ * Payment scheduling choice: `SCHEDULE_NOW` to schedule payment, or `SKIP_FOR_NOW`
324
+ * to defer scheduling.
325
+ */
326
+ payment_schedule_setting?: 'SCHEDULE_NOW' | 'SKIP_FOR_NOW';
327
+ /**
328
+ * Payment speed option: `TWO_DAY` (accelerated) or `FOUR_DAY` (standard). Use
329
+ * `estimated_payment_arrival` for the expected arrival date.
330
+ */
331
+ payment_velocity?: 'TWO_DAY' | 'FOUR_DAY';
332
+ /**
333
+ * Date used to estimate vendor payment, as an ISO 8601 date. Null when not set.
334
+ */
335
+ scheduled_payment_date?: string;
336
+ /**
337
+ * Submitting bill manager. Expand with `bills.read` and `workers.read`.
338
+ *
339
+ * Expandable field
340
+ */
341
+ submitter?: WorkersAPI.Worker;
342
+ /**
343
+ * ID of the bill manager who submitted the bill. Use it with `/workers/{id}/`. Can
344
+ * differ from `worker_id`. Null before submission.
345
+ */
346
+ submitter_id?: string;
347
+ /**
348
+ * Type of transaction: `BILL_PAYMENT`.
349
+ */
350
+ transaction_type?: 'BILL_PAYMENT';
351
+ /**
352
+ * Vendor details. Expand with `bills.read` and `finance-vendors.read`.
353
+ *
354
+ * Expandable field
355
+ */
356
+ vendor?: BillListResponse.Vendor;
357
+ /**
358
+ * ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
359
+ */
360
+ vendor_id?: string;
361
+ /**
362
+ * Memo included on the payment to the vendor. Supported for ACH; null when not
363
+ * set.
364
+ */
365
+ vendor_memo?: string;
366
+ /**
367
+ * Date the vendor is paid, as an ISO 8601 date. Null until paid.
368
+ */
369
+ vendor_paid_date?: string;
370
+ /**
371
+ * Worker details. Expand with `bills.read` and `workers.read`.
372
+ *
373
+ * Expandable field
374
+ */
375
+ worker?: WorkersAPI.Worker;
376
+ /**
377
+ * ID of the worker who made the transaction. Use it with `/workers/{id}/`.
378
+ */
379
+ worker_id?: string;
380
+ }
381
+ export declare namespace BillListResponse {
382
+ /**
383
+ * A Finance transaction attachment with recorded upload details.
384
+ */
385
+ interface Attachment {
386
+ /**
387
+ * URL for accessing the file.
388
+ */
389
+ url: string;
390
+ /**
391
+ * Original file name, when recorded.
392
+ */
393
+ file_name?: string;
394
+ /**
395
+ * When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
396
+ * recorded.
397
+ */
398
+ uploaded_at?: string;
399
+ /**
400
+ * ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
401
+ */
402
+ uploaded_by_id?: string;
403
+ }
404
+ /**
405
+ * Amount in the company's headquarters currency. The `value` is a decimal string.
406
+ */
407
+ interface CompanyAmount {
408
+ /**
409
+ * The currency type, ex: USD, EUR, etc.
410
+ */
411
+ currency_type?: string;
412
+ /**
413
+ * The decimal amount for the currency.
414
+ */
415
+ value?: number;
416
+ }
417
+ /**
418
+ * Vendor in the connected accounting system.
419
+ */
420
+ interface GlVendor {
421
+ /**
422
+ * ID of the accounting vendor in Rippling.
423
+ */
424
+ id?: string;
425
+ /**
426
+ * ID of the vendor in the accounting system.
427
+ */
428
+ gl_vendor_id?: string;
429
+ /**
430
+ * Name of the vendor in the accounting system.
431
+ */
432
+ name?: string;
433
+ }
434
+ /**
435
+ * Invoice file and its filename.
436
+ */
437
+ interface Invoice {
438
+ /**
439
+ * URL for accessing the file.
440
+ */
441
+ url: string;
442
+ /**
443
+ * Original file name, when recorded.
444
+ */
445
+ file_name?: string;
446
+ }
447
+ interface LineItem {
448
+ /**
449
+ * Unique identifier of this line item. Null for older line items that have not
450
+ * been assigned one yet.
451
+ */
452
+ id?: string;
453
+ /**
454
+ * Whether this line is amortized.
455
+ */
456
+ amortized?: boolean;
457
+ /**
458
+ * Amount of this split, in the merchant currency. The `value` is a decimal string.
459
+ */
460
+ amount?: LineItem.Amount;
461
+ /**
462
+ * ID of the Finance category assigned to this split. Use it with
463
+ * `/finance-categories/{id}/`. The category name is in `category_name`.
464
+ */
465
+ category_id?: string;
466
+ /**
467
+ * Name of the finance category.
468
+ */
469
+ category_name?: string;
470
+ /**
471
+ * Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
472
+ * `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
473
+ * `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
474
+ * code ID from `/job-codes/` and `/job-codes/{id}/`.
475
+ */
476
+ dimension_choices?: {
477
+ [key: string]: LineItem.DimensionChoices;
478
+ };
479
+ /**
480
+ * End of the amortization period (YYYY-MM-DD).
481
+ */
482
+ end_date?: string;
483
+ /**
484
+ * ERP amortization schedule associated with this line.
485
+ */
486
+ gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
487
+ /**
488
+ * ERP amortization template for this line.
489
+ */
490
+ gl_amortization_template?: LineItem.GlAmortizationTemplate;
491
+ /**
492
+ * Whether this split is billed to `gl_customer` in the accounting system.
493
+ * `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
494
+ * set.
495
+ */
496
+ gl_billable?: 'BILLABLE' | 'NOT_BILLABLE';
497
+ /**
498
+ * ID of the customer record in the connected accounting integration. No public
499
+ * Rippling API is currently available to retrieve this accounting customer.
500
+ */
501
+ gl_customer?: string;
502
+ /**
503
+ * Rippling ID of the accounting tax code. No public Rippling API is currently
504
+ * available to retrieve this accounting tax code.
505
+ */
506
+ gl_tax_code?: string;
507
+ /**
508
+ * Memo entered on this split.
509
+ */
510
+ memo?: string;
511
+ /**
512
+ * Prepaid asset account for Rippling-managed amortization.
513
+ */
514
+ prepaid_account?: LineItem.PrepaidAccount;
515
+ /**
516
+ * Start of the amortization period (YYYY-MM-DD).
517
+ */
518
+ start_date?: string;
519
+ /**
520
+ * Total tax amount for this line in the merchant currency.
521
+ */
522
+ tax_amount?: LineItem.TaxAmount;
523
+ }
524
+ namespace LineItem {
525
+ /**
526
+ * Amount of this split, in the merchant currency. The `value` is a decimal string.
527
+ */
528
+ interface Amount {
529
+ /**
530
+ * The currency type, ex: USD, EUR, etc.
531
+ */
532
+ currency_type?: string;
533
+ /**
534
+ * The decimal amount for the currency.
535
+ */
536
+ value?: number;
537
+ }
538
+ interface DimensionChoices {
539
+ /**
540
+ * Name of the dimension, such as Department.
541
+ */
542
+ dimension_name?: string;
543
+ /**
544
+ * Display name of the selected dimension value.
545
+ */
546
+ label?: string;
547
+ /**
548
+ * ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
549
+ * `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
550
+ * `/job-codes/{id}/`.
551
+ */
552
+ value?: string;
553
+ }
554
+ /**
555
+ * ERP amortization schedule associated with this line.
556
+ */
557
+ interface GlAmortizationSchedule {
558
+ /**
559
+ * Rippling ID of the accounting integration that owns this object. No public
560
+ * Rippling API is currently available to retrieve this accounting integration.
561
+ */
562
+ accounting_integration_id?: string;
563
+ /**
564
+ * Number of amortization periods.
565
+ */
566
+ amortization_period?: number;
567
+ /**
568
+ * End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
569
+ * 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
570
+ * indicate UTC. Null when not set.
571
+ */
572
+ end_date?: string;
573
+ /**
574
+ * Object ID in the connected accounting system.
575
+ */
576
+ gl_object_id?: string;
577
+ /**
578
+ * Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
579
+ * defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
580
+ * GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
581
+ * ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
582
+ * accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
583
+ * customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
584
+ * when not set.
585
+ */
586
+ gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
587
+ /**
588
+ * Accounting object name.
589
+ */
590
+ name?: string;
591
+ /**
592
+ * Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
593
+ * 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
594
+ * indicate UTC. Null when not set.
595
+ */
596
+ start_date?: string;
597
+ /**
598
+ * ERP amortization schedule status: NOT_STARTED means amortization has not begun;
599
+ * IN_PROGRESS means amortization is underway; COMPLETED means amortization is
600
+ * complete; ON_HOLD means amortization is paused. Null when not set.
601
+ */
602
+ status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
603
+ /**
604
+ * Amount already amortized as reported by the ERP, in the same currency as
605
+ * total_amount. No currency conversion is applied; the schedule currency code is
606
+ * not available in this response.
607
+ */
608
+ total_amortized_amount?: number;
609
+ /**
610
+ * Total schedule amount as reported by the ERP, without currency conversion. The
611
+ * schedule currency code is not available in this response.
612
+ */
613
+ total_amount?: number;
614
+ }
615
+ /**
616
+ * ERP amortization template for this line.
617
+ */
618
+ interface GlAmortizationTemplate {
619
+ /**
620
+ * Rippling ID of the accounting integration that owns this object. No public
621
+ * Rippling API is currently available to retrieve this accounting integration.
622
+ */
623
+ accounting_integration_id?: string;
624
+ /**
625
+ * Object ID in the connected accounting system.
626
+ */
627
+ gl_object_id?: string;
628
+ /**
629
+ * Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
630
+ * defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
631
+ * GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
632
+ * ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
633
+ * accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
634
+ * customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
635
+ * when not set.
636
+ */
637
+ gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
638
+ /**
639
+ * Accounting object name.
640
+ */
641
+ name?: string;
642
+ }
643
+ /**
644
+ * Prepaid asset account for Rippling-managed amortization.
645
+ */
646
+ interface PrepaidAccount {
647
+ /**
648
+ * Account ID in the connected accounting system.
649
+ */
650
+ account_id?: string;
651
+ /**
652
+ * Account code.
653
+ */
654
+ code?: string;
655
+ /**
656
+ * Account name.
657
+ */
658
+ name?: string;
659
+ /**
660
+ * IDs of custom dimensions required by this account.
661
+ */
662
+ required_custom_dimensions?: Array<string>;
663
+ /**
664
+ * Whether this account requires a department.
665
+ */
666
+ requires_department?: boolean;
667
+ /**
668
+ * Whether this account requires a work location.
669
+ */
670
+ requires_work_location?: boolean;
671
+ /**
672
+ * Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
673
+ * accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
674
+ * when not set.
675
+ */
676
+ type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
677
+ }
678
+ /**
679
+ * Total tax amount for this line in the merchant currency.
680
+ */
681
+ interface TaxAmount {
682
+ /**
683
+ * The currency type, ex: USD, EUR, etc.
684
+ */
685
+ currency_type?: string;
686
+ /**
687
+ * The decimal amount for the currency.
688
+ */
689
+ value?: number;
690
+ }
691
+ }
692
+ /**
693
+ * Amount charged by the merchant, in the merchant currency. The `value` is a
694
+ * decimal string.
695
+ */
696
+ interface MerchantAmount {
697
+ /**
698
+ * The currency type, ex: USD, EUR, etc.
699
+ */
700
+ currency_type?: string;
701
+ /**
702
+ * The decimal amount for the currency.
703
+ */
704
+ value?: number;
705
+ }
706
+ /**
707
+ * Amount paid to the vendor, in the payment currency. The `value` is a decimal
708
+ * string.
709
+ */
710
+ interface PaymentAmount {
711
+ /**
712
+ * The currency type, ex: USD, EUR, etc.
713
+ */
714
+ currency_type?: string;
715
+ /**
716
+ * The decimal amount for the currency.
717
+ */
718
+ value?: number;
719
+ }
720
+ /**
721
+ * Payment method fee, in the company's headquarters currency. The `value` is a
722
+ * decimal string. Zero when there is no fee.
723
+ */
724
+ interface PaymentMethodFee {
725
+ /**
726
+ * The currency type, ex: USD, EUR, etc.
727
+ */
728
+ currency_type?: string;
729
+ /**
730
+ * The decimal amount for the currency.
731
+ */
732
+ value?: number;
733
+ }
734
+ /**
735
+ * Vendor details. Expand with `bills.read` and `finance-vendors.read`.
736
+ *
737
+ * Expandable field
738
+ */
739
+ interface Vendor {
740
+ /**
741
+ * Identifier field
742
+ */
743
+ id: string;
744
+ /**
745
+ * Record creation date
746
+ */
747
+ created_at: string;
748
+ /**
749
+ * Record update date
750
+ */
751
+ updated_at: string;
752
+ /**
753
+ * Whether the vendor is archived. Archived vendors remain available for historical
754
+ * references.
755
+ */
756
+ is_archived?: boolean;
757
+ /**
758
+ * URL of the vendor's logo. Null when no logo is available.
759
+ */
760
+ logo?: string;
761
+ /**
762
+ * Canonical name of the Finance vendor. Name eq, ne, and in filters also match
763
+ * alternate names.
764
+ */
765
+ name?: string;
766
+ }
767
+ }
768
+ /**
769
+ * Meta information for the response.
770
+ */
771
+ export interface BillRetrieveResponse extends BusinessPartnersAPI.Meta {
772
+ /**
773
+ * Identifier field
774
+ */
775
+ id: string;
776
+ /**
777
+ * Record creation date
778
+ */
779
+ created_at: string;
780
+ /**
781
+ * Record update date
782
+ */
783
+ updated_at: string;
784
+ /**
785
+ * Date the transaction is booked in the accounting system, as an ISO 8601 date
786
+ * (YYYY-MM-DD).
787
+ */
788
+ accounting_date?: string;
789
+ /**
790
+ * Approval state of the bill. `DRAFT`: not submitted. `PENDING`: awaiting required
791
+ * information before submission. `REQUESTED`: awaiting approval. `APPROVED`:
792
+ * approved. `REJECTED`: rejected. `FINALIZED`: finalized for payment. `ACTIONED`:
793
+ * paid. `CANCELLED`: cancelled. `FAILED`: payment failed.
794
+ */
795
+ approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
796
+ /**
797
+ * Other attached files, including filenames and recorded upload metadata.
798
+ */
799
+ attachments?: Array<BillRetrieveResponse.Attachment>;
800
+ /**
801
+ * Amount in the company's headquarters currency. The `value` is a decimal string.
802
+ */
803
+ company_amount?: BillRetrieveResponse.CompanyAmount;
804
+ /**
805
+ * How the vendor is paid: ACH, WIRE, CHECK, GLOBAL_ORDER, EXISTING_CORPORATE_CARD,
806
+ * MANUALLY_PAID, or PAID_IN_FULL_VIA_VENDOR_CREDIT. GLOBAL_ORDER is an
807
+ * international transfer. PAID_IN_FULL_VIA_VENDOR_CREDIT means vendor credits
808
+ * cover the full bill, with no cash payment.
809
+ */
810
+ credit_method?: 'ACH' | 'WIRE' | 'CHECK' | 'GLOBAL_ORDER' | 'EXISTING_CORPORATE_CARD' | 'MANUALLY_PAID' | 'PAID_IN_FULL_VIA_VENDOR_CREDIT';
811
+ /**
812
+ * Invoice due date, as an ISO 8601 date. A draft can omit it.
813
+ */
814
+ due_date?: string;
815
+ /**
816
+ * ID of the legal entity the transaction belongs to. Use it with
817
+ * `/company-legal-entities/{id}/`.
818
+ */
819
+ entity_id?: string;
820
+ /**
821
+ * Date the vendor is expected to receive the payment, as an ISO 8601 date. Null
822
+ * when not set.
823
+ */
824
+ estimated_payment_arrival?: string;
825
+ /**
826
+ * State of the sync to the accounting system. `NOT_FINALIZED`: not ready for
827
+ * accounting review. `FOR_REVIEW`: ready for accounting review. `PENDING_SYNC`:
828
+ * sync is in progress. `SYNCED`: synced to the accounting system. `ERROR`: sync
829
+ * failed. `DO_NOT_SYNC`: marked to be excluded from sync. `EXPORTED`: exported for
830
+ * accounting. `NOT_SYNCABLE`: this record cannot be synced. `AUTO_SYNC`: ready to
831
+ * be synced automatically. Null when no sync state is set.
832
+ */
833
+ gl_sync_state?: 'NOT_FINALIZED' | 'FOR_REVIEW' | 'PENDING_SYNC' | 'SYNCED' | 'ERROR' | 'DO_NOT_SYNC' | 'EXPORTED' | 'NOT_SYNCABLE' | 'AUTO_SYNC';
834
+ /**
835
+ * Vendor in the connected accounting system.
836
+ */
837
+ gl_vendor?: BillRetrieveResponse.GlVendor;
838
+ /**
839
+ * Invoice file and its filename.
840
+ */
841
+ invoice?: BillRetrieveResponse.Invoice;
842
+ /**
843
+ * Invoice date, as an ISO 8601 date (YYYY-MM-DD). Null when not set. Filters
844
+ * compare UTC calendar days: `eq` includes the whole day, `gt` starts the
845
+ * following day, and `lt` excludes the specified day. `ge` and `le` include the
846
+ * specified day; `in` matches any listed day.
847
+ */
848
+ invoice_date?: string;
849
+ /**
850
+ * Invoice number. Null when the bill has no invoice number.
851
+ */
852
+ invoice_number?: string;
853
+ /**
854
+ * Category splits of the transaction amount. Updates replace the entire list.
855
+ */
856
+ line_items?: Array<BillRetrieveResponse.LineItem>;
857
+ /**
858
+ * Memo entered on the transaction.
859
+ */
860
+ memo?: string;
861
+ /**
862
+ * Amount charged by the merchant, in the merchant currency. The `value` is a
863
+ * decimal string.
864
+ */
865
+ merchant_amount?: BillRetrieveResponse.MerchantAmount;
866
+ /**
867
+ * ID of the bill this payment was split from. Use it with `/bills/{id}/`. Null
868
+ * when it is not a split bill.
869
+ */
870
+ parent_bill_id?: string;
871
+ /**
872
+ * Amount paid to the vendor, in the payment currency. The `value` is a decimal
873
+ * string.
874
+ */
875
+ payment_amount?: BillRetrieveResponse.PaymentAmount;
876
+ /**
877
+ * Payment method fee, in the company's headquarters currency. The `value` is a
878
+ * decimal string. Zero when there is no fee.
879
+ */
880
+ payment_method_fee?: BillRetrieveResponse.PaymentMethodFee;
881
+ /**
882
+ * Payment scheduling choice: `SCHEDULE_NOW` to schedule payment, or `SKIP_FOR_NOW`
883
+ * to defer scheduling.
884
+ */
885
+ payment_schedule_setting?: 'SCHEDULE_NOW' | 'SKIP_FOR_NOW';
886
+ /**
887
+ * Payment speed option: `TWO_DAY` (accelerated) or `FOUR_DAY` (standard). Use
888
+ * `estimated_payment_arrival` for the expected arrival date.
889
+ */
890
+ payment_velocity?: 'TWO_DAY' | 'FOUR_DAY';
891
+ /**
892
+ * Date used to estimate vendor payment, as an ISO 8601 date. Null when not set.
893
+ */
894
+ scheduled_payment_date?: string;
895
+ /**
896
+ * Submitting bill manager. Expand with `bills.read` and `workers.read`.
897
+ *
898
+ * Expandable field
899
+ */
900
+ submitter?: WorkersAPI.Worker;
901
+ /**
902
+ * ID of the bill manager who submitted the bill. Use it with `/workers/{id}/`. Can
903
+ * differ from `worker_id`. Null before submission.
904
+ */
905
+ submitter_id?: string;
906
+ /**
907
+ * Type of transaction: `BILL_PAYMENT`.
908
+ */
909
+ transaction_type?: 'BILL_PAYMENT';
910
+ /**
911
+ * Vendor details. Expand with `bills.read` and `finance-vendors.read`.
912
+ *
913
+ * Expandable field
914
+ */
915
+ vendor?: BillRetrieveResponse.Vendor;
916
+ /**
917
+ * ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
918
+ */
919
+ vendor_id?: string;
920
+ /**
921
+ * Memo included on the payment to the vendor. Supported for ACH; null when not
922
+ * set.
923
+ */
924
+ vendor_memo?: string;
925
+ /**
926
+ * Date the vendor is paid, as an ISO 8601 date. Null until paid.
927
+ */
928
+ vendor_paid_date?: string;
929
+ /**
930
+ * Worker details. Expand with `bills.read` and `workers.read`.
931
+ *
932
+ * Expandable field
933
+ */
934
+ worker?: WorkersAPI.Worker;
935
+ /**
936
+ * ID of the worker who made the transaction. Use it with `/workers/{id}/`.
937
+ */
938
+ worker_id?: string;
939
+ }
940
+ export declare namespace BillRetrieveResponse {
941
+ /**
942
+ * A Finance transaction attachment with recorded upload details.
943
+ */
944
+ interface Attachment {
945
+ /**
946
+ * URL for accessing the file.
947
+ */
948
+ url: string;
949
+ /**
950
+ * Original file name, when recorded.
951
+ */
952
+ file_name?: string;
953
+ /**
954
+ * When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
955
+ * recorded.
956
+ */
957
+ uploaded_at?: string;
958
+ /**
959
+ * ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
960
+ */
961
+ uploaded_by_id?: string;
962
+ }
963
+ /**
964
+ * Amount in the company's headquarters currency. The `value` is a decimal string.
965
+ */
966
+ interface CompanyAmount {
967
+ /**
968
+ * The currency type, ex: USD, EUR, etc.
969
+ */
970
+ currency_type?: string;
971
+ /**
972
+ * The decimal amount for the currency.
973
+ */
974
+ value?: number;
975
+ }
976
+ /**
977
+ * Vendor in the connected accounting system.
978
+ */
979
+ interface GlVendor {
980
+ /**
981
+ * ID of the accounting vendor in Rippling.
982
+ */
983
+ id?: string;
984
+ /**
985
+ * ID of the vendor in the accounting system.
986
+ */
987
+ gl_vendor_id?: string;
988
+ /**
989
+ * Name of the vendor in the accounting system.
990
+ */
991
+ name?: string;
992
+ }
993
+ /**
994
+ * Invoice file and its filename.
995
+ */
996
+ interface Invoice {
997
+ /**
998
+ * URL for accessing the file.
999
+ */
1000
+ url: string;
1001
+ /**
1002
+ * Original file name, when recorded.
1003
+ */
1004
+ file_name?: string;
1005
+ }
1006
+ interface LineItem {
1007
+ /**
1008
+ * Unique identifier of this line item. Null for older line items that have not
1009
+ * been assigned one yet.
1010
+ */
1011
+ id?: string;
1012
+ /**
1013
+ * Whether this line is amortized.
1014
+ */
1015
+ amortized?: boolean;
1016
+ /**
1017
+ * Amount of this split, in the merchant currency. The `value` is a decimal string.
1018
+ */
1019
+ amount?: LineItem.Amount;
1020
+ /**
1021
+ * ID of the Finance category assigned to this split. Use it with
1022
+ * `/finance-categories/{id}/`. The category name is in `category_name`.
1023
+ */
1024
+ category_id?: string;
1025
+ /**
1026
+ * Name of the finance category.
1027
+ */
1028
+ category_name?: string;
1029
+ /**
1030
+ * Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
1031
+ * `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
1032
+ * `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
1033
+ * code ID from `/job-codes/` and `/job-codes/{id}/`.
1034
+ */
1035
+ dimension_choices?: {
1036
+ [key: string]: LineItem.DimensionChoices;
1037
+ };
1038
+ /**
1039
+ * End of the amortization period (YYYY-MM-DD).
1040
+ */
1041
+ end_date?: string;
1042
+ /**
1043
+ * ERP amortization schedule associated with this line.
1044
+ */
1045
+ gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
1046
+ /**
1047
+ * ERP amortization template for this line.
1048
+ */
1049
+ gl_amortization_template?: LineItem.GlAmortizationTemplate;
1050
+ /**
1051
+ * Whether this split is billed to `gl_customer` in the accounting system.
1052
+ * `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
1053
+ * set.
1054
+ */
1055
+ gl_billable?: 'BILLABLE' | 'NOT_BILLABLE';
1056
+ /**
1057
+ * ID of the customer record in the connected accounting integration. No public
1058
+ * Rippling API is currently available to retrieve this accounting customer.
1059
+ */
1060
+ gl_customer?: string;
1061
+ /**
1062
+ * Rippling ID of the accounting tax code. No public Rippling API is currently
1063
+ * available to retrieve this accounting tax code.
1064
+ */
1065
+ gl_tax_code?: string;
1066
+ /**
1067
+ * Memo entered on this split.
1068
+ */
1069
+ memo?: string;
1070
+ /**
1071
+ * Prepaid asset account for Rippling-managed amortization.
1072
+ */
1073
+ prepaid_account?: LineItem.PrepaidAccount;
1074
+ /**
1075
+ * Start of the amortization period (YYYY-MM-DD).
1076
+ */
1077
+ start_date?: string;
1078
+ /**
1079
+ * Total tax amount for this line in the merchant currency.
1080
+ */
1081
+ tax_amount?: LineItem.TaxAmount;
1082
+ }
1083
+ namespace LineItem {
1084
+ /**
1085
+ * Amount of this split, in the merchant currency. The `value` is a decimal string.
1086
+ */
1087
+ interface Amount {
1088
+ /**
1089
+ * The currency type, ex: USD, EUR, etc.
1090
+ */
1091
+ currency_type?: string;
1092
+ /**
1093
+ * The decimal amount for the currency.
1094
+ */
1095
+ value?: number;
1096
+ }
1097
+ interface DimensionChoices {
1098
+ /**
1099
+ * Name of the dimension, such as Department.
1100
+ */
1101
+ dimension_name?: string;
1102
+ /**
1103
+ * Display name of the selected dimension value.
1104
+ */
1105
+ label?: string;
1106
+ /**
1107
+ * ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
1108
+ * `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
1109
+ * `/job-codes/{id}/`.
1110
+ */
1111
+ value?: string;
1112
+ }
1113
+ /**
1114
+ * ERP amortization schedule associated with this line.
1115
+ */
1116
+ interface GlAmortizationSchedule {
1117
+ /**
1118
+ * Rippling ID of the accounting integration that owns this object. No public
1119
+ * Rippling API is currently available to retrieve this accounting integration.
1120
+ */
1121
+ accounting_integration_id?: string;
1122
+ /**
1123
+ * Number of amortization periods.
1124
+ */
1125
+ amortization_period?: number;
1126
+ /**
1127
+ * End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
1128
+ * 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
1129
+ * indicate UTC. Null when not set.
1130
+ */
1131
+ end_date?: string;
1132
+ /**
1133
+ * Object ID in the connected accounting system.
1134
+ */
1135
+ gl_object_id?: string;
1136
+ /**
1137
+ * Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
1138
+ * defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
1139
+ * GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
1140
+ * ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
1141
+ * accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
1142
+ * customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
1143
+ * when not set.
1144
+ */
1145
+ gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
1146
+ /**
1147
+ * Accounting object name.
1148
+ */
1149
+ name?: string;
1150
+ /**
1151
+ * Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
1152
+ * 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
1153
+ * indicate UTC. Null when not set.
1154
+ */
1155
+ start_date?: string;
1156
+ /**
1157
+ * ERP amortization schedule status: NOT_STARTED means amortization has not begun;
1158
+ * IN_PROGRESS means amortization is underway; COMPLETED means amortization is
1159
+ * complete; ON_HOLD means amortization is paused. Null when not set.
1160
+ */
1161
+ status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
1162
+ /**
1163
+ * Amount already amortized as reported by the ERP, in the same currency as
1164
+ * total_amount. No currency conversion is applied; the schedule currency code is
1165
+ * not available in this response.
1166
+ */
1167
+ total_amortized_amount?: number;
1168
+ /**
1169
+ * Total schedule amount as reported by the ERP, without currency conversion. The
1170
+ * schedule currency code is not available in this response.
1171
+ */
1172
+ total_amount?: number;
1173
+ }
1174
+ /**
1175
+ * ERP amortization template for this line.
1176
+ */
1177
+ interface GlAmortizationTemplate {
1178
+ /**
1179
+ * Rippling ID of the accounting integration that owns this object. No public
1180
+ * Rippling API is currently available to retrieve this accounting integration.
1181
+ */
1182
+ accounting_integration_id?: string;
1183
+ /**
1184
+ * Object ID in the connected accounting system.
1185
+ */
1186
+ gl_object_id?: string;
1187
+ /**
1188
+ * Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
1189
+ * defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
1190
+ * GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
1191
+ * ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
1192
+ * accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
1193
+ * customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
1194
+ * when not set.
1195
+ */
1196
+ gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
1197
+ /**
1198
+ * Accounting object name.
1199
+ */
1200
+ name?: string;
1201
+ }
1202
+ /**
1203
+ * Prepaid asset account for Rippling-managed amortization.
1204
+ */
1205
+ interface PrepaidAccount {
1206
+ /**
1207
+ * Account ID in the connected accounting system.
1208
+ */
1209
+ account_id?: string;
1210
+ /**
1211
+ * Account code.
1212
+ */
1213
+ code?: string;
1214
+ /**
1215
+ * Account name.
1216
+ */
1217
+ name?: string;
1218
+ /**
1219
+ * IDs of custom dimensions required by this account.
1220
+ */
1221
+ required_custom_dimensions?: Array<string>;
1222
+ /**
1223
+ * Whether this account requires a department.
1224
+ */
1225
+ requires_department?: boolean;
1226
+ /**
1227
+ * Whether this account requires a work location.
1228
+ */
1229
+ requires_work_location?: boolean;
1230
+ /**
1231
+ * Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
1232
+ * accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
1233
+ * when not set.
1234
+ */
1235
+ type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
1236
+ }
1237
+ /**
1238
+ * Total tax amount for this line in the merchant currency.
1239
+ */
1240
+ interface TaxAmount {
1241
+ /**
1242
+ * The currency type, ex: USD, EUR, etc.
1243
+ */
1244
+ currency_type?: string;
1245
+ /**
1246
+ * The decimal amount for the currency.
1247
+ */
1248
+ value?: number;
1249
+ }
1250
+ }
1251
+ /**
1252
+ * Amount charged by the merchant, in the merchant currency. The `value` is a
1253
+ * decimal string.
1254
+ */
1255
+ interface MerchantAmount {
1256
+ /**
1257
+ * The currency type, ex: USD, EUR, etc.
1258
+ */
1259
+ currency_type?: string;
1260
+ /**
1261
+ * The decimal amount for the currency.
1262
+ */
1263
+ value?: number;
1264
+ }
1265
+ /**
1266
+ * Amount paid to the vendor, in the payment currency. The `value` is a decimal
1267
+ * string.
1268
+ */
1269
+ interface PaymentAmount {
1270
+ /**
1271
+ * The currency type, ex: USD, EUR, etc.
1272
+ */
1273
+ currency_type?: string;
1274
+ /**
1275
+ * The decimal amount for the currency.
1276
+ */
1277
+ value?: number;
1278
+ }
1279
+ /**
1280
+ * Payment method fee, in the company's headquarters currency. The `value` is a
1281
+ * decimal string. Zero when there is no fee.
1282
+ */
1283
+ interface PaymentMethodFee {
1284
+ /**
1285
+ * The currency type, ex: USD, EUR, etc.
1286
+ */
1287
+ currency_type?: string;
1288
+ /**
1289
+ * The decimal amount for the currency.
1290
+ */
1291
+ value?: number;
1292
+ }
1293
+ /**
1294
+ * Vendor details. Expand with `bills.read` and `finance-vendors.read`.
1295
+ *
1296
+ * Expandable field
1297
+ */
1298
+ interface Vendor {
1299
+ /**
1300
+ * Identifier field
1301
+ */
1302
+ id: string;
1303
+ /**
1304
+ * Record creation date
1305
+ */
1306
+ created_at: string;
1307
+ /**
1308
+ * Record update date
1309
+ */
1310
+ updated_at: string;
1311
+ /**
1312
+ * Whether the vendor is archived. Archived vendors remain available for historical
1313
+ * references.
1314
+ */
1315
+ is_archived?: boolean;
1316
+ /**
1317
+ * URL of the vendor's logo. Null when no logo is available.
1318
+ */
1319
+ logo?: string;
1320
+ /**
1321
+ * Canonical name of the Finance vendor. Name eq, ne, and in filters also match
1322
+ * alternate names.
1323
+ */
1324
+ name?: string;
1325
+ }
1326
+ }
1327
+ export interface BillListParams {
1328
+ cursor?: string;
1329
+ expand?: string;
1330
+ filter?: string;
1331
+ /**
1332
+ * The maximum number of results to return. Defaults to 50. Maximum is 100.
1333
+ */
1334
+ limit?: number;
1335
+ order_by?: string;
1336
+ }
1337
+ export interface BillRetrieveParams {
1338
+ expand?: string;
1339
+ }
1340
+ export declare namespace Bills {
1341
+ export { type BillListResponse as BillListResponse, type BillRetrieveResponse as BillRetrieveResponse, type BillListResponsesPageCursorURL as BillListResponsesPageCursorURL, type BillListParams as BillListParams, type BillRetrieveParams as BillRetrieveParams, };
1342
+ }
1343
+ //# sourceMappingURL=bills.d.ts.map