@rippling/rippling-sdk 0.2.0-alpha.110 → 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 (570) 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 +111 -0
  450. package/resources/record-detail-reference-options.d.mts.map +1 -0
  451. package/resources/record-detail-reference-options.d.ts +111 -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 +1070 -0
  458. package/resources/record-detail-related-records.d.mts.map +1 -0
  459. package/resources/record-detail-related-records.d.ts +1070 -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 +1227 -0
  466. package/resources/record-details.d.mts.map +1 -0
  467. package/resources/record-details.d.ts +1227 -0
  468. package/resources/record-details.d.ts.map +1 -0
  469. package/resources/record-details.js +71 -0
  470. package/resources/record-details.js.map +1 -0
  471. package/resources/record-details.mjs +67 -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/src/client.ts +156 -17
  498. package/src/core/platform/custom-objects/manager.ts +65 -42
  499. package/src/core/platform/custom-objects.ts +3 -0
  500. package/src/lib/manifest/acp-agent.ts +7 -1
  501. package/src/lib/manifest/definitions/_object-records.ts +17 -10
  502. package/src/lib/manifest/definitions/custom-object.ts +14 -9
  503. package/src/resources/activity-log.ts +1 -1
  504. package/src/resources/agents/sessions/messages.ts +10 -1
  505. package/src/resources/agents/sessions/sessions.ts +30 -3
  506. package/src/resources/bills.ts +1660 -0
  507. package/src/resources/card-transactions.ts +742 -49
  508. package/src/resources/custom-objects/custom-objects.ts +62 -2
  509. package/src/resources/custom-objects/fields.ts +44 -0
  510. package/src/resources/custom-objects/index.ts +13 -1
  511. package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
  512. package/src/resources/custom-objects/list-views/default.ts +87 -0
  513. package/src/resources/custom-objects/list-views/index.ts +15 -0
  514. package/src/resources/custom-objects/list-views/list-views.ts +973 -0
  515. package/src/resources/custom-objects/list-views.ts +3 -0
  516. package/src/resources/custom-objects/records/capabilities.ts +73 -0
  517. package/src/resources/custom-objects/records/index.ts +21 -0
  518. package/src/resources/custom-objects/records/records.ts +955 -0
  519. package/src/resources/custom-objects/records.ts +1 -703
  520. package/src/resources/devices.ts +2 -0
  521. package/src/resources/draft-transitions.ts +276 -347
  522. package/src/resources/employee-documents.ts +2 -2
  523. package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
  524. package/src/resources/finance-vendors.ts +191 -0
  525. package/src/resources/functions/executions.ts +4 -1
  526. package/src/resources/functions/functions.ts +216 -4
  527. package/src/resources/hire-requirements.ts +107 -9
  528. package/src/resources/hires.ts +1768 -539
  529. package/src/resources/index.ts +51 -7
  530. package/src/resources/leave-requests.ts +11 -2
  531. package/src/resources/object-categories.ts +2 -1
  532. package/src/resources/package-components/extract.ts +139 -0
  533. package/src/resources/package-components/index.ts +10 -0
  534. package/src/resources/package-components/package-components.ts +134 -0
  535. package/src/resources/package-components/types.ts +64 -0
  536. package/src/resources/package-components.ts +3 -0
  537. package/src/resources/package-installs.ts +120 -9
  538. package/src/resources/package-managed-installs.ts +146 -7
  539. package/src/resources/package-manifests/index.ts +5 -0
  540. package/src/resources/package-manifests/package-manifests.ts +21 -0
  541. package/src/resources/package-manifests/packages/index.ts +4 -0
  542. package/src/resources/package-manifests/packages/packages.ts +19 -0
  543. package/src/resources/package-manifests/packages/versions.ts +237 -0
  544. package/src/resources/package-manifests/packages.ts +3 -0
  545. package/src/resources/package-manifests/versions.ts +96 -0
  546. package/src/resources/package-manifests.ts +3 -0
  547. package/src/resources/package-versions/package-versions.ts +117 -14
  548. package/src/resources/package-versions/publish.ts +46 -4
  549. package/src/resources/packages/next-versions.ts +46 -4
  550. package/src/resources/packages/versions.ts +92 -9
  551. package/src/resources/payroll-runs/off-cycle.ts +17 -9
  552. package/src/resources/permissions/index.ts +4 -0
  553. package/src/resources/permissions/permission-profiles.ts +50 -0
  554. package/src/resources/permissions/permissions.ts +20 -0
  555. package/src/resources/permissions.ts +3 -0
  556. package/src/resources/record-detail-reference-options.ts +142 -0
  557. package/src/resources/record-detail-related-records.ts +1380 -0
  558. package/src/resources/record-details.ts +1554 -0
  559. package/src/resources/reimbursements.ts +2591 -126
  560. package/src/resources/report-runs.ts +2 -1
  561. package/src/resources/sandboxes.ts +48 -742
  562. package/src/version.ts +1 -1
  563. package/version.d.mts +1 -1
  564. package/version.d.ts +1 -1
  565. package/version.js +1 -1
  566. package/version.mjs +1 -1
  567. package/resources/spend-categories.d.mts.map +0 -1
  568. package/resources/spend-categories.d.ts.map +0 -1
  569. package/resources/spend-categories.js.map +0 -1
  570. package/resources/spend-categories.mjs.map +0 -1
@@ -2,19 +2,23 @@
2
2
  import { APIResource } from "../core/resource.mjs";
3
3
  import { PageCursorURL } from "../core/pagination.mjs";
4
4
  import { path } from "../internal/utils/path.mjs";
5
+ /**
6
+ * Expense reimbursements, including mileage and per diem
7
+ */
5
8
  export class Reimbursements extends APIResource {
6
9
  /**
7
10
  * A list of reimbursements.
8
11
  *
9
- * - Requires: `Internal Testing`
10
- * - Filterable fields: `worker_id`, `transaction_date`, `entity_id`, `vendor_id`,
11
- * `category_id`, `transaction_type`
12
+ * - Requires: `Spend Management Platform API`
13
+ * - Filterable fields: `worker_id`, `entity_id`, `vendor_id`, `transaction_date`,
14
+ * `transaction_type`
15
+ * - Expandable fields: `worker`, `vendor`, `mileage_rate`, `per_diem_rate`
12
16
  * - Sortable fields: `id`, `created_at`, `updated_at`, `transaction_date`
13
17
  *
14
18
  * @example HTTP
15
19
  * Representative request and response shapes.
16
20
  * ```
17
- * GET /reimbursements/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
21
+ * GET /reimbursements/?filter=filter&expand=expand&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
18
22
  * Host: rest.ripplingapis.com
19
23
  * Accept: application/json
20
24
  * Rippling-Api-Version: 2024-08-01
@@ -37,6 +41,55 @@ export class Reimbursements extends APIResource {
37
41
  * "created_at": "string",
38
42
  * "updated_at": "string",
39
43
  * "worker_id": "string",
44
+ * "worker": {
45
+ * "id": "string",
46
+ * "created_at": "string",
47
+ * "updated_at": "string",
48
+ * "user_id": "string",
49
+ * "user": {},
50
+ * "is_manager": "string",
51
+ * "manager_id": "string",
52
+ * "manager": {},
53
+ * "legal_entity_id": "string",
54
+ * "legal_entity": {},
55
+ * "country": "AF",
56
+ * "start_date": "string",
57
+ * "end_date": "string",
58
+ * "number": "string",
59
+ * "work_email": "string",
60
+ * "personal_email": "string",
61
+ * "status": "INIT",
62
+ * "location": {},
63
+ * "employment_type_id": "string",
64
+ * "employment_type": {},
65
+ * "gender": "MALE",
66
+ * "date_of_birth": "string",
67
+ * "race": "BLACK",
68
+ * "ethnicity": "HISPANIC_OR_LATINO",
69
+ * "citizenship": "AF",
70
+ * "compensation_id": "string",
71
+ * "compensation": {},
72
+ * "overtime_exemption": "EXEMPT",
73
+ * "department_id": "string",
74
+ * "department": {},
75
+ * "teams_id": [],
76
+ * "teams": [],
77
+ * "title": "string",
78
+ * "title_effective_date": "string",
79
+ * "level_id": "string",
80
+ * "level": {},
81
+ * "job_function_id": "string",
82
+ * "job_function": {},
83
+ * "termination_details": {},
84
+ * "pay_schedule_id": "string",
85
+ * "work_schedule": {},
86
+ * "compensation_grade": {},
87
+ * "original_start_date": "string",
88
+ * "custom_fields": [],
89
+ * "country_fields": {},
90
+ * "business_partners_id": [],
91
+ * "business_partners": []
92
+ * },
40
93
  * "company_amount": {
41
94
  * "currency_type": "string",
42
95
  * "value": "string"
@@ -45,14 +98,17 @@ export class Reimbursements extends APIResource {
45
98
  * "currency_type": "string",
46
99
  * "value": "string"
47
100
  * },
48
- * "transaction_date": "string",
49
101
  * "accounting_date": "string",
50
102
  * "gl_sync_state": "NOT_FINALIZED",
51
103
  * "approval_status": "DRAFT",
52
104
  * "entity_id": "string",
53
105
  * "vendor": {
54
106
  * "id": "string",
55
- * "name": "string"
107
+ * "created_at": "string",
108
+ * "updated_at": "string",
109
+ * "name": "string",
110
+ * "logo": "string",
111
+ * "is_archived": "string"
56
112
  * },
57
113
  * "gl_vendor": {
58
114
  * "id": "string",
@@ -60,13 +116,18 @@ export class Reimbursements extends APIResource {
60
116
  * "gl_vendor_id": "string"
61
117
  * },
62
118
  * "memo": "string",
63
- * "receipt": "string",
64
119
  * "attachments": [
65
- * "string"
120
+ * {}
66
121
  * ],
67
122
  * "line_items": [
68
123
  * {}
69
124
  * ],
125
+ * "vendor_id": "string",
126
+ * "transaction_date": "string",
127
+ * "receipt": {
128
+ * "url": "string",
129
+ * "file_name": "string"
130
+ * },
70
131
  * "transaction_type": "REIMBURSEMENT",
71
132
  * "payout_amount": {
72
133
  * "currency_type": "string",
@@ -75,21 +136,44 @@ export class Reimbursements extends APIResource {
75
136
  * "payout_method": "NOT_SET",
76
137
  * "payout_date": "string",
77
138
  * "distance": 0,
139
+ * "mileage_rate_id": "string",
78
140
  * "mileage_rate": {
79
141
  * "id": "string",
142
+ * "created_at": "string",
143
+ * "updated_at": "string",
80
144
  * "name": "string",
81
145
  * "rate": {},
82
- * "units": "km"
146
+ * "units": "km",
147
+ * "start_date": "string",
148
+ * "end_date": "string",
149
+ * "country": "string",
150
+ * "half_cent": "string"
151
+ * },
152
+ * "start_location": {
153
+ * "address": "string",
154
+ * "coordinates": {}
155
+ * },
156
+ * "end_location": {
157
+ * "address": "string",
158
+ * "coordinates": {}
83
159
  * },
84
- * "start_address": "string",
85
- * "end_address": "string",
160
+ * "waypoints": [
161
+ * {}
162
+ * ],
86
163
  * "trip_start_date": "string",
87
164
  * "trip_end_date": "string",
165
+ * "per_diem_rate_id": "string",
88
166
  * "per_diem_rate": {
89
167
  * "id": "string",
168
+ * "created_at": "string",
169
+ * "updated_at": "string",
90
170
  * "destination_name": "string",
91
171
  * "country": "string",
92
- * "currency": "string"
172
+ * "currency": "string",
173
+ * "start_date": "string",
174
+ * "end_date": "string",
175
+ * "is_current": "string",
176
+ * "is_archived": "string"
93
177
  * },
94
178
  * "per_diem_line_items": [
95
179
  * {}
@@ -107,12 +191,13 @@ export class Reimbursements extends APIResource {
107
191
  });
108
192
  }
109
193
  /**
110
- * Retrieve a specific reimbursement
194
+ * Retrieve a specific reimbursement. Expandable fields: `worker`, `vendor`,
195
+ * `mileage_rate`, `per_diem_rate`.
111
196
  *
112
197
  * @example HTTP
113
198
  * Representative request and response shapes.
114
199
  * ```
115
- * GET /reimbursements/{id}/ HTTP/1.1
200
+ * GET /reimbursements/{id}/?expand=expand HTTP/1.1
116
201
  * Host: rest.ripplingapis.com
117
202
  * Accept: application/json
118
203
  * Rippling-Api-Version: 2024-08-01
@@ -129,8 +214,213 @@ export class Reimbursements extends APIResource {
129
214
  * }
130
215
  * ```
131
216
  */
132
- retrieve(id, options) {
133
- return this._client.get(path `/reimbursements/${id}/`, options);
217
+ retrieve(id, query = {}, options) {
218
+ return this._client.get(path `/reimbursements/${id}/`, { query, ...options });
219
+ }
220
+ /**
221
+ * Replace a reimbursement's line items. Supplying `line_items` replaces the entire
222
+ * list: unlisted lines are deleted, omitted or null optional fields on supplied
223
+ * lines are cleared. `amount` and `tax_amount` are decimal strings in the merchant
224
+ * currency; GET responses return them as Currency objects. Line item `amount`
225
+ * values must sum to the reimbursement's merchant amount. Line items on per-diem
226
+ * reimbursements cannot be updated. Mileage reimbursements must have exactly one
227
+ * line item.
228
+ *
229
+ * @example HTTP
230
+ * Representative request and response shapes.
231
+ * ```
232
+ * PATCH /reimbursements/{id}/ HTTP/1.1
233
+ * Host: rest.ripplingapis.com
234
+ * Content-Type: application/json
235
+ * Accept: application/json
236
+ * Rippling-Api-Version: 2024-08-01
237
+ *
238
+ * {}
239
+ *
240
+ * HTTP/1.1 200 OK
241
+ * Content-Type: application/json
242
+ *
243
+ * {
244
+ * "id": "string",
245
+ * "created_at": "string",
246
+ * "updated_at": "string",
247
+ * "worker_id": "string",
248
+ * "worker": {
249
+ * "id": "string",
250
+ * "created_at": "string",
251
+ * "updated_at": "string"
252
+ * },
253
+ * "company_amount": {},
254
+ * "merchant_amount": {
255
+ * "currency_type": "string",
256
+ * "value": 0
257
+ * },
258
+ * "accounting_date": "string",
259
+ * "gl_sync_state": "NOT_FINALIZED",
260
+ * "approval_status": "DRAFT",
261
+ * "entity_id": "string",
262
+ * "vendor": {
263
+ * "id": "string",
264
+ * "created_at": "string",
265
+ * "updated_at": "string",
266
+ * "name": "string",
267
+ * "logo": "string",
268
+ * "is_archived": false
269
+ * },
270
+ * "gl_vendor": {
271
+ * "id": "string",
272
+ * "name": "string",
273
+ * "gl_vendor_id": "string"
274
+ * },
275
+ * "memo": "string",
276
+ * "attachments": [
277
+ * {
278
+ * "url": "string",
279
+ * "file_name": "string",
280
+ * "uploaded_at": "string",
281
+ * "uploaded_by_id": "string"
282
+ * }
283
+ * ],
284
+ * "line_items": [
285
+ * {
286
+ * "gl_customer": "string",
287
+ * "gl_billable": "BILLABLE",
288
+ * "dimension_choices": {},
289
+ * "memo": "string",
290
+ * "gl_amortization_template": {
291
+ * "gl_object_id": "string",
292
+ * "accounting_integration_id": "string",
293
+ * "name": "string",
294
+ * "gl_object_type": "GL_AMORTIZATION_TEMPLATE"
295
+ * },
296
+ * "amortized": false,
297
+ * "start_date": "string",
298
+ * "end_date": "string",
299
+ * "prepaid_account": {
300
+ * "account_id": "string",
301
+ * "name": "string",
302
+ * "code": "string",
303
+ * "type": "RECEIVABLE",
304
+ * "required_custom_dimensions": [],
305
+ * "requires_department": "string",
306
+ * "requires_work_location": "string"
307
+ * },
308
+ * "gl_amortization_schedule": {
309
+ * "gl_object_id": "string",
310
+ * "accounting_integration_id": "string",
311
+ * "name": "string",
312
+ * "gl_object_type": "GL_AMORTIZATION_TEMPLATE",
313
+ * "start_date": "string",
314
+ * "end_date": "string",
315
+ * "total_amount": "string",
316
+ * "total_amortized_amount": "string",
317
+ * "amortization_period": "string",
318
+ * "status": "NOT_STARTED"
319
+ * },
320
+ * "gl_tax_code": "string",
321
+ * "id": "string",
322
+ * "category_id": "string",
323
+ * "category_name": "string",
324
+ * "amount": {
325
+ * "currency_type": "string",
326
+ * "value": "string"
327
+ * },
328
+ * "tax_amount": {
329
+ * "currency_type": "string",
330
+ * "value": "string"
331
+ * }
332
+ * }
333
+ * ],
334
+ * "vendor_id": "string",
335
+ * "transaction_date": "string",
336
+ * "receipt": {
337
+ * "url": "string",
338
+ * "file_name": "string"
339
+ * },
340
+ * "transaction_type": "REIMBURSEMENT",
341
+ * "payout_amount": {
342
+ * "currency_type": "string",
343
+ * "value": 0
344
+ * },
345
+ * "payout_method": "NOT_SET",
346
+ * "payout_date": "string",
347
+ * "distance": 0,
348
+ * "mileage_rate_id": "string",
349
+ * "mileage_rate": {
350
+ * "id": "string",
351
+ * "created_at": "string",
352
+ * "updated_at": "string",
353
+ * "name": "string",
354
+ * "rate": {
355
+ * "currency_type": "string",
356
+ * "value": 0
357
+ * },
358
+ * "units": "km",
359
+ * "start_date": "string",
360
+ * "end_date": "string",
361
+ * "country": "string",
362
+ * "half_cent": false
363
+ * },
364
+ * "start_location": {
365
+ * "address": "string",
366
+ * "coordinates": {
367
+ * "latitude": 0,
368
+ * "longitude": 0
369
+ * }
370
+ * },
371
+ * "end_location": {
372
+ * "address": "string",
373
+ * "coordinates": {
374
+ * "latitude": 0,
375
+ * "longitude": 0
376
+ * }
377
+ * },
378
+ * "waypoints": [
379
+ * {
380
+ * "address": "string",
381
+ * "coordinates": {
382
+ * "latitude": "string",
383
+ * "longitude": "string"
384
+ * }
385
+ * }
386
+ * ],
387
+ * "trip_start_date": "string",
388
+ * "trip_end_date": "string",
389
+ * "per_diem_rate_id": "string",
390
+ * "per_diem_rate": {
391
+ * "id": "string",
392
+ * "created_at": "string",
393
+ * "updated_at": "string",
394
+ * "destination_name": "string",
395
+ * "country": "string",
396
+ * "currency": "string",
397
+ * "start_date": "string",
398
+ * "end_date": "string",
399
+ * "is_current": false,
400
+ * "is_archived": false
401
+ * },
402
+ * "per_diem_line_items": [
403
+ * {
404
+ * "sub_rate_id": "string",
405
+ * "sub_rate_type": "FULL_DAY",
406
+ * "label": "string",
407
+ * "amount": {
408
+ * "currency_type": "string",
409
+ * "value": "string"
410
+ * },
411
+ * "count": 0,
412
+ * "line_type": "INCLUDE",
413
+ * "calculated_amount": {
414
+ * "currency_type": "string",
415
+ * "value": "string"
416
+ * }
417
+ * }
418
+ * ]
419
+ * }
420
+ * ```
421
+ */
422
+ update(id, body = {}, options) {
423
+ return this._client.patch(path `/reimbursements/${id}/`, { body, ...options });
134
424
  }
135
425
  }
136
426
  //# sourceMappingURL=reimbursements.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"reimbursements.mjs","sourceRoot":"","sources":["../src/resources/reimbursements.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAEhE,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgGG;IACH,IAAI,CACF,QAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,kBAAkB,EAAE,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyMG;IACH,MAAM,CACJ,EAAU,EACV,OAAqD,EAAE,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,EAAE,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;CACF"}
@@ -7,7 +7,8 @@ import { RequestOptions } from "../internal/request-options.mjs";
7
7
  */
8
8
  export declare class ReportRuns extends APIResource {
9
9
  /**
10
- * Trigger a new report run
10
+ * Trigger a new report run. Billable runs may consume credits; when credit
11
+ * enforcement applies, insufficient credits block the run.
11
12
  *
12
13
  * @example HTTP
13
14
  * Representative request and response shapes.
@@ -1 +1 @@
1
- {"version":3,"file":"report-runs.d.mts","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,mBAAmB,gCAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIlG;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGzF;AAED,MA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,GAAG,8BAA8B,CAAC;QAEzD;;WAEG;QACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACnC;CACF;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -7,7 +7,8 @@ import { RequestOptions } from "../internal/request-options.js";
7
7
  */
8
8
  export declare class ReportRuns extends APIResource {
9
9
  /**
10
- * Trigger a new report run
10
+ * Trigger a new report run. Billable runs may consume credits; when credit
11
+ * enforcement applies, insufficient credits block the run.
11
12
  *
12
13
  * @example HTTP
13
14
  * Representative request and response shapes.
@@ -1 +1 @@
1
- {"version":3,"file":"report-runs.d.ts","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,IAAI,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,uBAAuB,CAAC;IAIlG;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;CAGzF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,aAAa,GAAG,SAAS,GAAG,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AK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -9,7 +9,8 @@ const path_1 = require("../internal/utils/path.js");
9
9
  */
10
10
  class ReportRuns extends resource_1.APIResource {
11
11
  /**
12
- * Trigger a new report run
12
+ * Trigger a new report run. Billable runs may consume credits; when credit
13
+ * enforcement applies, insufficient credits block the run.
13
14
  *
14
15
  * @example HTTP
15
16
  * Representative request and response shapes.
@@ -1 +1 @@
1
- {"version":3,"file":"report-runs.js","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AA9DD,gCA8DC"}
1
+ {"version":3,"file":"report-runs.js","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AA/DD,gCA+DC"}
@@ -6,7 +6,8 @@ import { path } from "../internal/utils/path.mjs";
6
6
  */
7
7
  export class ReportRuns extends APIResource {
8
8
  /**
9
- * Trigger a new report run
9
+ * Trigger a new report run. Billable runs may consume credits; when credit
10
+ * enforcement applies, insufficient credits block the run.
10
11
  *
11
12
  * @example HTTP
12
13
  * Representative request and response shapes.
@@ -1 +1 @@
1
- {"version":3,"file":"report-runs.mjs","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}
1
+ {"version":3,"file":"report-runs.mjs","sourceRoot":"","sources":["../src/resources/report-runs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,MAAM,CAAC,IAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,KAAa,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,KAAK,GAAG,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}