@keystrokehq/ramp 0.0.16 → 0.1.0

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 (751) hide show
  1. package/README.md +10 -54
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-department.cjs +19 -0
  7. package/dist/actions/create-department.cjs.map +1 -0
  8. package/dist/actions/create-department.d.cts +9 -0
  9. package/dist/actions/create-department.d.cts.map +1 -0
  10. package/dist/actions/create-department.d.mts +9 -0
  11. package/dist/actions/create-department.d.mts.map +1 -0
  12. package/dist/actions/create-department.mjs +16 -0
  13. package/dist/actions/create-department.mjs.map +1 -0
  14. package/dist/actions/create-inventory-item-accounting-field.cjs +25 -0
  15. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -0
  16. package/dist/actions/create-inventory-item-accounting-field.d.cts +9 -0
  17. package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -0
  18. package/dist/actions/create-inventory-item-accounting-field.d.mts +9 -0
  19. package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -0
  20. package/dist/actions/create-inventory-item-accounting-field.mjs +22 -0
  21. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -0
  22. package/dist/actions/create-memo.cjs +23 -0
  23. package/dist/actions/create-memo.cjs.map +1 -0
  24. package/dist/actions/create-memo.d.cts +9 -0
  25. package/dist/actions/create-memo.d.cts.map +1 -0
  26. package/dist/actions/create-memo.d.mts +9 -0
  27. package/dist/actions/create-memo.d.mts.map +1 -0
  28. package/dist/actions/create-memo.mjs +20 -0
  29. package/dist/actions/create-memo.mjs.map +1 -0
  30. package/dist/actions/create-mileage-reimbursement.cjs +140 -0
  31. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -0
  32. package/dist/actions/create-mileage-reimbursement.d.cts +9 -0
  33. package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -0
  34. package/dist/actions/create-mileage-reimbursement.d.mts +9 -0
  35. package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -0
  36. package/dist/actions/create-mileage-reimbursement.mjs +139 -0
  37. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -0
  38. package/dist/actions/create-new-custom-accounting-field.cjs +45 -0
  39. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -0
  40. package/dist/actions/create-new-custom-accounting-field.d.cts +9 -0
  41. package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -0
  42. package/dist/actions/create-new-custom-accounting-field.d.mts +9 -0
  43. package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -0
  44. package/dist/actions/create-new-custom-accounting-field.mjs +42 -0
  45. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -0
  46. package/dist/actions/create-tax-code-accounting-field.cjs +25 -0
  47. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -0
  48. package/dist/actions/create-tax-code-accounting-field.d.cts +9 -0
  49. package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -0
  50. package/dist/actions/create-tax-code-accounting-field.d.mts +9 -0
  51. package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -0
  52. package/dist/actions/create-tax-code-accounting-field.mjs +22 -0
  53. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -0
  54. package/dist/actions/create-user-invite.cjs +34 -0
  55. package/dist/actions/create-user-invite.cjs.map +1 -0
  56. package/dist/actions/create-user-invite.d.cts +9 -0
  57. package/dist/actions/create-user-invite.d.cts.map +1 -0
  58. package/dist/actions/create-user-invite.d.mts +9 -0
  59. package/dist/actions/create-user-invite.d.mts.map +1 -0
  60. package/dist/actions/create-user-invite.mjs +31 -0
  61. package/dist/actions/create-user-invite.mjs.map +1 -0
  62. package/dist/actions/create-webhook-subscription.cjs +58 -0
  63. package/dist/actions/create-webhook-subscription.cjs.map +1 -0
  64. package/dist/actions/create-webhook-subscription.d.cts +9 -0
  65. package/dist/actions/create-webhook-subscription.d.cts.map +1 -0
  66. package/dist/actions/create-webhook-subscription.d.mts +9 -0
  67. package/dist/actions/create-webhook-subscription.d.mts.map +1 -0
  68. package/dist/actions/create-webhook-subscription.mjs +57 -0
  69. package/dist/actions/create-webhook-subscription.mjs.map +1 -0
  70. package/dist/actions/deactivate-user.cjs +16 -0
  71. package/dist/actions/deactivate-user.cjs.map +1 -0
  72. package/dist/actions/deactivate-user.d.cts +9 -0
  73. package/dist/actions/deactivate-user.d.cts.map +1 -0
  74. package/dist/actions/deactivate-user.d.mts +9 -0
  75. package/dist/actions/deactivate-user.d.mts.map +1 -0
  76. package/dist/actions/deactivate-user.mjs +13 -0
  77. package/dist/actions/deactivate-user.mjs.map +1 -0
  78. package/dist/actions/delete-accounting-account.cjs +16 -0
  79. package/dist/actions/delete-accounting-account.cjs.map +1 -0
  80. package/dist/actions/delete-accounting-account.d.cts +9 -0
  81. package/dist/actions/delete-accounting-account.d.cts.map +1 -0
  82. package/dist/actions/delete-accounting-account.d.mts +9 -0
  83. package/dist/actions/delete-accounting-account.d.mts.map +1 -0
  84. package/dist/actions/delete-accounting-account.mjs +13 -0
  85. package/dist/actions/delete-accounting-account.mjs.map +1 -0
  86. package/dist/actions/delete-accounting-connection.cjs +16 -0
  87. package/dist/actions/delete-accounting-connection.cjs.map +1 -0
  88. package/dist/actions/delete-accounting-connection.d.cts +9 -0
  89. package/dist/actions/delete-accounting-connection.d.cts.map +1 -0
  90. package/dist/actions/delete-accounting-connection.d.mts +9 -0
  91. package/dist/actions/delete-accounting-connection.d.mts.map +1 -0
  92. package/dist/actions/delete-accounting-connection.mjs +13 -0
  93. package/dist/actions/delete-accounting-connection.mjs.map +1 -0
  94. package/dist/actions/delete-accounting-fields.cjs +16 -0
  95. package/dist/actions/delete-accounting-fields.cjs.map +1 -0
  96. package/dist/actions/delete-accounting-fields.d.cts +9 -0
  97. package/dist/actions/delete-accounting-fields.d.cts.map +1 -0
  98. package/dist/actions/delete-accounting-fields.d.mts +9 -0
  99. package/dist/actions/delete-accounting-fields.d.mts.map +1 -0
  100. package/dist/actions/delete-accounting-fields.mjs +13 -0
  101. package/dist/actions/delete-accounting-fields.mjs.map +1 -0
  102. package/dist/actions/delete-accounting-inventory-item-options.cjs +16 -0
  103. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -0
  104. package/dist/actions/delete-accounting-inventory-item-options.d.cts +9 -0
  105. package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -0
  106. package/dist/actions/delete-accounting-inventory-item-options.d.mts +9 -0
  107. package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -0
  108. package/dist/actions/delete-accounting-inventory-item-options.mjs +13 -0
  109. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -0
  110. package/dist/actions/delete-accounting-tax-code-options.cjs +16 -0
  111. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -0
  112. package/dist/actions/delete-accounting-tax-code-options.d.cts +9 -0
  113. package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -0
  114. package/dist/actions/delete-accounting-tax-code-options.d.mts +9 -0
  115. package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -0
  116. package/dist/actions/delete-accounting-tax-code-options.mjs +13 -0
  117. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -0
  118. package/dist/actions/delete-accounting-tax-code.cjs +16 -0
  119. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -0
  120. package/dist/actions/delete-accounting-tax-code.d.cts +9 -0
  121. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -0
  122. package/dist/actions/delete-accounting-tax-code.d.mts +9 -0
  123. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -0
  124. package/dist/actions/delete-accounting-tax-code.mjs +13 -0
  125. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -0
  126. package/dist/actions/delete-accounting-tax-rates.cjs +19 -0
  127. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -0
  128. package/dist/actions/delete-accounting-tax-rates.d.cts +9 -0
  129. package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -0
  130. package/dist/actions/delete-accounting-tax-rates.d.mts +9 -0
  131. package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -0
  132. package/dist/actions/delete-accounting-tax-rates.mjs +16 -0
  133. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -0
  134. package/dist/actions/delete-accounting-vendors.cjs +16 -0
  135. package/dist/actions/delete-accounting-vendors.cjs.map +1 -0
  136. package/dist/actions/delete-accounting-vendors.d.cts +9 -0
  137. package/dist/actions/delete-accounting-vendors.d.cts.map +1 -0
  138. package/dist/actions/delete-accounting-vendors.d.mts +9 -0
  139. package/dist/actions/delete-accounting-vendors.d.mts.map +1 -0
  140. package/dist/actions/delete-accounting-vendors.mjs +13 -0
  141. package/dist/actions/delete-accounting-vendors.mjs.map +1 -0
  142. package/dist/actions/delete-custom-field-option.cjs +16 -0
  143. package/dist/actions/delete-custom-field-option.cjs.map +1 -0
  144. package/dist/actions/delete-custom-field-option.d.cts +9 -0
  145. package/dist/actions/delete-custom-field-option.d.cts.map +1 -0
  146. package/dist/actions/delete-custom-field-option.d.mts +9 -0
  147. package/dist/actions/delete-custom-field-option.d.mts.map +1 -0
  148. package/dist/actions/delete-custom-field-option.mjs +13 -0
  149. package/dist/actions/delete-custom-field-option.mjs.map +1 -0
  150. package/dist/actions/delete-inventory-item-field.cjs +16 -0
  151. package/dist/actions/delete-inventory-item-field.cjs.map +1 -0
  152. package/dist/actions/delete-inventory-item-field.d.cts +9 -0
  153. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -0
  154. package/dist/actions/delete-inventory-item-field.d.mts +9 -0
  155. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -0
  156. package/dist/actions/delete-inventory-item-field.mjs +13 -0
  157. package/dist/actions/delete-inventory-item-field.mjs.map +1 -0
  158. package/dist/actions/delete-spend-allocation-delete-users.cjs +76 -0
  159. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -0
  160. package/dist/actions/delete-spend-allocation-delete-users.d.cts +9 -0
  161. package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -0
  162. package/dist/actions/delete-spend-allocation-delete-users.d.mts +9 -0
  163. package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -0
  164. package/dist/actions/delete-spend-allocation-delete-users.mjs +75 -0
  165. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -0
  166. package/dist/actions/delete-webhook.cjs +16 -0
  167. package/dist/actions/delete-webhook.cjs.map +1 -0
  168. package/dist/actions/delete-webhook.d.cts +9 -0
  169. package/dist/actions/delete-webhook.d.cts.map +1 -0
  170. package/dist/actions/delete-webhook.d.mts +9 -0
  171. package/dist/actions/delete-webhook.d.mts.map +1 -0
  172. package/dist/actions/delete-webhook.mjs +13 -0
  173. package/dist/actions/delete-webhook.mjs.map +1 -0
  174. package/dist/actions/fetch-accounting-account.cjs +36 -0
  175. package/dist/actions/fetch-accounting-account.cjs.map +1 -0
  176. package/dist/actions/fetch-accounting-account.d.cts +9 -0
  177. package/dist/actions/fetch-accounting-account.d.cts.map +1 -0
  178. package/dist/actions/fetch-accounting-account.d.mts +9 -0
  179. package/dist/actions/fetch-accounting-account.d.mts.map +1 -0
  180. package/dist/actions/fetch-accounting-account.mjs +35 -0
  181. package/dist/actions/fetch-accounting-account.mjs.map +1 -0
  182. package/dist/actions/fetch-accounting-vendor.cjs +36 -0
  183. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -0
  184. package/dist/actions/fetch-accounting-vendor.d.cts +9 -0
  185. package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -0
  186. package/dist/actions/fetch-accounting-vendor.d.mts +9 -0
  187. package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -0
  188. package/dist/actions/fetch-accounting-vendor.mjs +35 -0
  189. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -0
  190. package/dist/actions/fetch-custom-accounting-field.cjs +26 -0
  191. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -0
  192. package/dist/actions/fetch-custom-accounting-field.d.cts +9 -0
  193. package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -0
  194. package/dist/actions/fetch-custom-accounting-field.d.mts +9 -0
  195. package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -0
  196. package/dist/actions/fetch-custom-accounting-field.mjs +25 -0
  197. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -0
  198. package/dist/actions/get-accounting-accounts.cjs +45 -0
  199. package/dist/actions/get-accounting-accounts.cjs.map +1 -0
  200. package/dist/actions/get-accounting-accounts.d.cts +9 -0
  201. package/dist/actions/get-accounting-accounts.d.cts.map +1 -0
  202. package/dist/actions/get-accounting-accounts.d.mts +9 -0
  203. package/dist/actions/get-accounting-accounts.d.mts.map +1 -0
  204. package/dist/actions/get-accounting-accounts.mjs +44 -0
  205. package/dist/actions/get-accounting-accounts.mjs.map +1 -0
  206. package/dist/actions/get-accounting-all-connections.cjs +23 -0
  207. package/dist/actions/get-accounting-all-connections.cjs.map +1 -0
  208. package/dist/actions/get-accounting-all-connections.d.cts +9 -0
  209. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -0
  210. package/dist/actions/get-accounting-all-connections.d.mts +9 -0
  211. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -0
  212. package/dist/actions/get-accounting-all-connections.mjs +22 -0
  213. package/dist/actions/get-accounting-all-connections.mjs.map +1 -0
  214. package/dist/actions/get-accounting-connection-by-id.cjs +41 -0
  215. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -0
  216. package/dist/actions/get-accounting-connection-by-id.d.cts +9 -0
  217. package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -0
  218. package/dist/actions/get-accounting-connection-by-id.d.mts +9 -0
  219. package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -0
  220. package/dist/actions/get-accounting-connection-by-id.mjs +40 -0
  221. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -0
  222. package/dist/actions/get-accounting-connection.cjs +27 -0
  223. package/dist/actions/get-accounting-connection.cjs.map +1 -0
  224. package/dist/actions/get-accounting-connection.d.cts +9 -0
  225. package/dist/actions/get-accounting-connection.d.cts.map +1 -0
  226. package/dist/actions/get-accounting-connection.d.mts +9 -0
  227. package/dist/actions/get-accounting-connection.d.mts.map +1 -0
  228. package/dist/actions/get-accounting-connection.mjs +26 -0
  229. package/dist/actions/get-accounting-connection.mjs.map +1 -0
  230. package/dist/actions/get-accounting-fields.cjs +29 -0
  231. package/dist/actions/get-accounting-fields.cjs.map +1 -0
  232. package/dist/actions/get-accounting-fields.d.cts +9 -0
  233. package/dist/actions/get-accounting-fields.d.cts.map +1 -0
  234. package/dist/actions/get-accounting-fields.d.mts +9 -0
  235. package/dist/actions/get-accounting-fields.d.mts.map +1 -0
  236. package/dist/actions/get-accounting-fields.mjs +28 -0
  237. package/dist/actions/get-accounting-fields.mjs.map +1 -0
  238. package/dist/actions/get-accounting-vendors.cjs +29 -0
  239. package/dist/actions/get-accounting-vendors.cjs.map +1 -0
  240. package/dist/actions/get-accounting-vendors.d.cts +9 -0
  241. package/dist/actions/get-accounting-vendors.d.cts.map +1 -0
  242. package/dist/actions/get-accounting-vendors.d.mts +9 -0
  243. package/dist/actions/get-accounting-vendors.d.mts.map +1 -0
  244. package/dist/actions/get-accounting-vendors.mjs +28 -0
  245. package/dist/actions/get-accounting-vendors.mjs.map +1 -0
  246. package/dist/actions/get-all-transactions.cjs +75 -0
  247. package/dist/actions/get-all-transactions.cjs.map +1 -0
  248. package/dist/actions/get-all-transactions.d.cts +9 -0
  249. package/dist/actions/get-all-transactions.d.cts.map +1 -0
  250. package/dist/actions/get-all-transactions.d.mts +9 -0
  251. package/dist/actions/get-all-transactions.d.mts.map +1 -0
  252. package/dist/actions/get-all-transactions.mjs +74 -0
  253. package/dist/actions/get-all-transactions.mjs.map +1 -0
  254. package/dist/actions/get-card-vault-resource.cjs +20 -0
  255. package/dist/actions/get-card-vault-resource.cjs.map +1 -0
  256. package/dist/actions/get-card-vault-resource.d.cts +9 -0
  257. package/dist/actions/get-card-vault-resource.d.cts.map +1 -0
  258. package/dist/actions/get-card-vault-resource.d.mts +9 -0
  259. package/dist/actions/get-card-vault-resource.d.mts.map +1 -0
  260. package/dist/actions/get-card-vault-resource.mjs +17 -0
  261. package/dist/actions/get-card-vault-resource.mjs.map +1 -0
  262. package/dist/actions/get-card.cjs +61 -0
  263. package/dist/actions/get-card.cjs.map +1 -0
  264. package/dist/actions/get-card.d.cts +9 -0
  265. package/dist/actions/get-card.d.cts.map +1 -0
  266. package/dist/actions/get-card.d.mts +9 -0
  267. package/dist/actions/get-card.d.mts.map +1 -0
  268. package/dist/actions/get-card.mjs +60 -0
  269. package/dist/actions/get-card.mjs.map +1 -0
  270. package/dist/actions/get-custom-field-option.cjs +28 -0
  271. package/dist/actions/get-custom-field-option.cjs.map +1 -0
  272. package/dist/actions/get-custom-field-option.d.cts +9 -0
  273. package/dist/actions/get-custom-field-option.d.cts.map +1 -0
  274. package/dist/actions/get-custom-field-option.d.mts +9 -0
  275. package/dist/actions/get-custom-field-option.d.mts.map +1 -0
  276. package/dist/actions/get-custom-field-option.mjs +25 -0
  277. package/dist/actions/get-custom-field-option.mjs.map +1 -0
  278. package/dist/actions/get-department.cjs +19 -0
  279. package/dist/actions/get-department.cjs.map +1 -0
  280. package/dist/actions/get-department.d.cts +9 -0
  281. package/dist/actions/get-department.d.cts.map +1 -0
  282. package/dist/actions/get-department.d.mts +9 -0
  283. package/dist/actions/get-department.d.mts.map +1 -0
  284. package/dist/actions/get-department.mjs +16 -0
  285. package/dist/actions/get-department.mjs.map +1 -0
  286. package/dist/actions/get-inventory-item-field.cjs +22 -0
  287. package/dist/actions/get-inventory-item-field.cjs.map +1 -0
  288. package/dist/actions/get-inventory-item-field.d.cts +9 -0
  289. package/dist/actions/get-inventory-item-field.d.cts.map +1 -0
  290. package/dist/actions/get-inventory-item-field.d.mts +9 -0
  291. package/dist/actions/get-inventory-item-field.d.mts.map +1 -0
  292. package/dist/actions/get-inventory-item-field.mjs +19 -0
  293. package/dist/actions/get-inventory-item-field.mjs.map +1 -0
  294. package/dist/actions/get-memo.cjs +19 -0
  295. package/dist/actions/get-memo.cjs.map +1 -0
  296. package/dist/actions/get-memo.d.cts +9 -0
  297. package/dist/actions/get-memo.d.cts.map +1 -0
  298. package/dist/actions/get-memo.d.mts +9 -0
  299. package/dist/actions/get-memo.d.mts.map +1 -0
  300. package/dist/actions/get-memo.mjs +16 -0
  301. package/dist/actions/get-memo.mjs.map +1 -0
  302. package/dist/actions/get-reimbursement.cjs +52 -0
  303. package/dist/actions/get-reimbursement.cjs.map +1 -0
  304. package/dist/actions/get-reimbursement.d.cts +9 -0
  305. package/dist/actions/get-reimbursement.d.cts.map +1 -0
  306. package/dist/actions/get-reimbursement.d.mts +9 -0
  307. package/dist/actions/get-reimbursement.d.mts.map +1 -0
  308. package/dist/actions/get-reimbursement.mjs +51 -0
  309. package/dist/actions/get-reimbursement.mjs.map +1 -0
  310. package/dist/actions/get-spend-limit.cjs +103 -0
  311. package/dist/actions/get-spend-limit.cjs.map +1 -0
  312. package/dist/actions/get-spend-limit.d.cts +9 -0
  313. package/dist/actions/get-spend-limit.d.cts.map +1 -0
  314. package/dist/actions/get-spend-limit.d.mts +9 -0
  315. package/dist/actions/get-spend-limit.d.mts.map +1 -0
  316. package/dist/actions/get-spend-limit.mjs +102 -0
  317. package/dist/actions/get-spend-limit.mjs.map +1 -0
  318. package/dist/actions/get-statement.cjs +49 -0
  319. package/dist/actions/get-statement.cjs.map +1 -0
  320. package/dist/actions/get-statement.d.cts +9 -0
  321. package/dist/actions/get-statement.d.cts.map +1 -0
  322. package/dist/actions/get-statement.d.mts +9 -0
  323. package/dist/actions/get-statement.d.mts.map +1 -0
  324. package/dist/actions/get-statement.mjs +48 -0
  325. package/dist/actions/get-statement.mjs.map +1 -0
  326. package/dist/actions/get-transaction.cjs +57 -0
  327. package/dist/actions/get-transaction.cjs.map +1 -0
  328. package/dist/actions/get-transaction.d.cts +9 -0
  329. package/dist/actions/get-transaction.d.cts.map +1 -0
  330. package/dist/actions/get-transaction.d.mts +9 -0
  331. package/dist/actions/get-transaction.d.mts.map +1 -0
  332. package/dist/actions/get-transaction.mjs +56 -0
  333. package/dist/actions/get-transaction.mjs.map +1 -0
  334. package/dist/actions/get-user.cjs +37 -0
  335. package/dist/actions/get-user.cjs.map +1 -0
  336. package/dist/actions/get-user.d.cts +9 -0
  337. package/dist/actions/get-user.d.cts.map +1 -0
  338. package/dist/actions/get-user.d.mts +9 -0
  339. package/dist/actions/get-user.d.mts.map +1 -0
  340. package/dist/actions/get-user.mjs +36 -0
  341. package/dist/actions/get-user.mjs.map +1 -0
  342. package/dist/actions/get-users-deferred-status.cjs +32 -0
  343. package/dist/actions/get-users-deferred-status.cjs.map +1 -0
  344. package/dist/actions/get-users-deferred-status.d.cts +9 -0
  345. package/dist/actions/get-users-deferred-status.d.cts.map +1 -0
  346. package/dist/actions/get-users-deferred-status.d.mts +9 -0
  347. package/dist/actions/get-users-deferred-status.d.mts.map +1 -0
  348. package/dist/actions/get-users-deferred-status.mjs +31 -0
  349. package/dist/actions/get-users-deferred-status.mjs.map +1 -0
  350. package/dist/actions/get-vendor.cjs +55 -0
  351. package/dist/actions/get-vendor.cjs.map +1 -0
  352. package/dist/actions/get-vendor.d.cts +9 -0
  353. package/dist/actions/get-vendor.d.cts.map +1 -0
  354. package/dist/actions/get-vendor.d.mts +9 -0
  355. package/dist/actions/get-vendor.d.mts.map +1 -0
  356. package/dist/actions/get-vendor.mjs +54 -0
  357. package/dist/actions/get-vendor.mjs.map +1 -0
  358. package/dist/actions/get-webhook.cjs +53 -0
  359. package/dist/actions/get-webhook.cjs.map +1 -0
  360. package/dist/actions/get-webhook.d.cts +9 -0
  361. package/dist/actions/get-webhook.d.cts.map +1 -0
  362. package/dist/actions/get-webhook.d.mts +9 -0
  363. package/dist/actions/get-webhook.d.mts.map +1 -0
  364. package/dist/actions/get-webhook.mjs +52 -0
  365. package/dist/actions/get-webhook.mjs.map +1 -0
  366. package/dist/actions/index.cjs +177 -0
  367. package/dist/actions/index.d.cts +89 -0
  368. package/dist/actions/index.d.mts +89 -0
  369. package/dist/actions/index.mjs +89 -0
  370. package/dist/actions/issue-virtual-card.cjs +36 -0
  371. package/dist/actions/issue-virtual-card.cjs.map +1 -0
  372. package/dist/actions/issue-virtual-card.d.cts +9 -0
  373. package/dist/actions/issue-virtual-card.d.cts.map +1 -0
  374. package/dist/actions/issue-virtual-card.d.mts +9 -0
  375. package/dist/actions/issue-virtual-card.d.mts.map +1 -0
  376. package/dist/actions/issue-virtual-card.mjs +35 -0
  377. package/dist/actions/issue-virtual-card.mjs.map +1 -0
  378. package/dist/actions/list-accounting-inventory-item-options.cjs +34 -0
  379. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -0
  380. package/dist/actions/list-accounting-inventory-item-options.d.cts +9 -0
  381. package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -0
  382. package/dist/actions/list-accounting-inventory-item-options.d.mts +9 -0
  383. package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -0
  384. package/dist/actions/list-accounting-inventory-item-options.mjs +33 -0
  385. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -0
  386. package/dist/actions/list-accounting-tax-rates.cjs +31 -0
  387. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -0
  388. package/dist/actions/list-accounting-tax-rates.d.cts +9 -0
  389. package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -0
  390. package/dist/actions/list-accounting-tax-rates.d.mts +9 -0
  391. package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -0
  392. package/dist/actions/list-accounting-tax-rates.mjs +30 -0
  393. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -0
  394. package/dist/actions/list-cards.cjs +71 -0
  395. package/dist/actions/list-cards.cjs.map +1 -0
  396. package/dist/actions/list-cards.d.cts +9 -0
  397. package/dist/actions/list-cards.d.cts.map +1 -0
  398. package/dist/actions/list-cards.d.mts +9 -0
  399. package/dist/actions/list-cards.d.mts.map +1 -0
  400. package/dist/actions/list-cards.mjs +70 -0
  401. package/dist/actions/list-cards.mjs.map +1 -0
  402. package/dist/actions/list-departments.cjs +27 -0
  403. package/dist/actions/list-departments.cjs.map +1 -0
  404. package/dist/actions/list-departments.d.cts +9 -0
  405. package/dist/actions/list-departments.d.cts.map +1 -0
  406. package/dist/actions/list-departments.d.mts +9 -0
  407. package/dist/actions/list-departments.d.mts.map +1 -0
  408. package/dist/actions/list-departments.mjs +26 -0
  409. package/dist/actions/list-departments.mjs.map +1 -0
  410. package/dist/actions/list-memos.cjs +35 -0
  411. package/dist/actions/list-memos.cjs.map +1 -0
  412. package/dist/actions/list-memos.d.cts +9 -0
  413. package/dist/actions/list-memos.d.cts.map +1 -0
  414. package/dist/actions/list-memos.d.mts +9 -0
  415. package/dist/actions/list-memos.d.mts.map +1 -0
  416. package/dist/actions/list-memos.mjs +34 -0
  417. package/dist/actions/list-memos.mjs.map +1 -0
  418. package/dist/actions/list-reimbursements.cjs +77 -0
  419. package/dist/actions/list-reimbursements.cjs.map +1 -0
  420. package/dist/actions/list-reimbursements.d.cts +9 -0
  421. package/dist/actions/list-reimbursements.d.cts.map +1 -0
  422. package/dist/actions/list-reimbursements.d.mts +9 -0
  423. package/dist/actions/list-reimbursements.d.mts.map +1 -0
  424. package/dist/actions/list-reimbursements.mjs +76 -0
  425. package/dist/actions/list-reimbursements.mjs.map +1 -0
  426. package/dist/actions/list-statements.cjs +60 -0
  427. package/dist/actions/list-statements.cjs.map +1 -0
  428. package/dist/actions/list-statements.d.cts +9 -0
  429. package/dist/actions/list-statements.d.cts.map +1 -0
  430. package/dist/actions/list-statements.d.mts +9 -0
  431. package/dist/actions/list-statements.d.mts.map +1 -0
  432. package/dist/actions/list-statements.mjs +59 -0
  433. package/dist/actions/list-statements.mjs.map +1 -0
  434. package/dist/actions/list-users.cjs +50 -0
  435. package/dist/actions/list-users.cjs.map +1 -0
  436. package/dist/actions/list-users.d.cts +9 -0
  437. package/dist/actions/list-users.d.cts.map +1 -0
  438. package/dist/actions/list-users.d.mts +9 -0
  439. package/dist/actions/list-users.d.mts.map +1 -0
  440. package/dist/actions/list-users.mjs +49 -0
  441. package/dist/actions/list-users.mjs.map +1 -0
  442. package/dist/actions/list-vendors-accounts.cjs +31 -0
  443. package/dist/actions/list-vendors-accounts.cjs.map +1 -0
  444. package/dist/actions/list-vendors-accounts.d.cts +9 -0
  445. package/dist/actions/list-vendors-accounts.d.cts.map +1 -0
  446. package/dist/actions/list-vendors-accounts.d.mts +9 -0
  447. package/dist/actions/list-vendors-accounts.d.mts.map +1 -0
  448. package/dist/actions/list-vendors-accounts.mjs +30 -0
  449. package/dist/actions/list-vendors-accounts.mjs.map +1 -0
  450. package/dist/actions/list-vendors-contacts.cjs +32 -0
  451. package/dist/actions/list-vendors-contacts.cjs.map +1 -0
  452. package/dist/actions/list-vendors-contacts.d.cts +9 -0
  453. package/dist/actions/list-vendors-contacts.d.cts.map +1 -0
  454. package/dist/actions/list-vendors-contacts.d.mts +9 -0
  455. package/dist/actions/list-vendors-contacts.d.mts.map +1 -0
  456. package/dist/actions/list-vendors-contacts.mjs +31 -0
  457. package/dist/actions/list-vendors-contacts.mjs.map +1 -0
  458. package/dist/actions/list-vendors-credits.cjs +76 -0
  459. package/dist/actions/list-vendors-credits.cjs.map +1 -0
  460. package/dist/actions/list-vendors-credits.d.cts +9 -0
  461. package/dist/actions/list-vendors-credits.d.cts.map +1 -0
  462. package/dist/actions/list-vendors-credits.d.mts +9 -0
  463. package/dist/actions/list-vendors-credits.d.mts.map +1 -0
  464. package/dist/actions/list-vendors-credits.mjs +75 -0
  465. package/dist/actions/list-vendors-credits.mjs.map +1 -0
  466. package/dist/actions/list-vendors.cjs +64 -0
  467. package/dist/actions/list-vendors.cjs.map +1 -0
  468. package/dist/actions/list-vendors.d.cts +9 -0
  469. package/dist/actions/list-vendors.d.cts.map +1 -0
  470. package/dist/actions/list-vendors.d.mts +9 -0
  471. package/dist/actions/list-vendors.d.mts.map +1 -0
  472. package/dist/actions/list-vendors.mjs +63 -0
  473. package/dist/actions/list-vendors.mjs.map +1 -0
  474. package/dist/actions/list-webhooks.cjs +25 -0
  475. package/dist/actions/list-webhooks.cjs.map +1 -0
  476. package/dist/actions/list-webhooks.d.cts +9 -0
  477. package/dist/actions/list-webhooks.d.cts.map +1 -0
  478. package/dist/actions/list-webhooks.d.mts +9 -0
  479. package/dist/actions/list-webhooks.d.mts.map +1 -0
  480. package/dist/actions/list-webhooks.mjs +24 -0
  481. package/dist/actions/list-webhooks.mjs.map +1 -0
  482. package/dist/actions/options-for-custom-accounting-field.cjs +33 -0
  483. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -0
  484. package/dist/actions/options-for-custom-accounting-field.d.cts +9 -0
  485. package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -0
  486. package/dist/actions/options-for-custom-accounting-field.d.mts +9 -0
  487. package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -0
  488. package/dist/actions/options-for-custom-accounting-field.mjs +32 -0
  489. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -0
  490. package/dist/actions/patch-accounting-connection.cjs +36 -0
  491. package/dist/actions/patch-accounting-connection.cjs.map +1 -0
  492. package/dist/actions/patch-accounting-connection.d.cts +9 -0
  493. package/dist/actions/patch-accounting-connection.d.cts.map +1 -0
  494. package/dist/actions/patch-accounting-connection.d.mts +9 -0
  495. package/dist/actions/patch-accounting-connection.d.mts.map +1 -0
  496. package/dist/actions/patch-accounting-connection.mjs +35 -0
  497. package/dist/actions/patch-accounting-connection.mjs.map +1 -0
  498. package/dist/actions/patch-card-resource.cjs +46 -0
  499. package/dist/actions/patch-card-resource.cjs.map +1 -0
  500. package/dist/actions/patch-card-resource.d.cts +9 -0
  501. package/dist/actions/patch-card-resource.d.cts.map +1 -0
  502. package/dist/actions/patch-card-resource.d.mts +9 -0
  503. package/dist/actions/patch-card-resource.d.mts.map +1 -0
  504. package/dist/actions/patch-card-resource.mjs +43 -0
  505. package/dist/actions/patch-card-resource.mjs.map +1 -0
  506. package/dist/actions/patch-custom-field-option.cjs +35 -0
  507. package/dist/actions/patch-custom-field-option.cjs.map +1 -0
  508. package/dist/actions/patch-custom-field-option.d.cts +9 -0
  509. package/dist/actions/patch-custom-field-option.d.cts.map +1 -0
  510. package/dist/actions/patch-custom-field-option.d.mts +9 -0
  511. package/dist/actions/patch-custom-field-option.d.mts.map +1 -0
  512. package/dist/actions/patch-custom-field-option.mjs +32 -0
  513. package/dist/actions/patch-custom-field-option.mjs.map +1 -0
  514. package/dist/actions/patch-gl-account-resource.cjs +38 -0
  515. package/dist/actions/patch-gl-account-resource.cjs.map +1 -0
  516. package/dist/actions/patch-gl-account-resource.d.cts +9 -0
  517. package/dist/actions/patch-gl-account-resource.d.cts.map +1 -0
  518. package/dist/actions/patch-gl-account-resource.d.mts +9 -0
  519. package/dist/actions/patch-gl-account-resource.d.mts.map +1 -0
  520. package/dist/actions/patch-gl-account-resource.mjs +37 -0
  521. package/dist/actions/patch-gl-account-resource.mjs.map +1 -0
  522. package/dist/actions/patch-inventory-item-field.cjs +25 -0
  523. package/dist/actions/patch-inventory-item-field.cjs.map +1 -0
  524. package/dist/actions/patch-inventory-item-field.d.cts +9 -0
  525. package/dist/actions/patch-inventory-item-field.d.cts.map +1 -0
  526. package/dist/actions/patch-inventory-item-field.d.mts +9 -0
  527. package/dist/actions/patch-inventory-item-field.d.mts.map +1 -0
  528. package/dist/actions/patch-inventory-item-field.mjs +22 -0
  529. package/dist/actions/patch-inventory-item-field.mjs.map +1 -0
  530. package/dist/actions/post-accounting-accounts.cjs +47 -0
  531. package/dist/actions/post-accounting-accounts.cjs.map +1 -0
  532. package/dist/actions/post-accounting-accounts.d.cts +9 -0
  533. package/dist/actions/post-accounting-accounts.d.cts.map +1 -0
  534. package/dist/actions/post-accounting-accounts.d.mts +9 -0
  535. package/dist/actions/post-accounting-accounts.d.mts.map +1 -0
  536. package/dist/actions/post-accounting-accounts.mjs +46 -0
  537. package/dist/actions/post-accounting-accounts.mjs.map +1 -0
  538. package/dist/actions/post-accounting-connection.cjs +30 -0
  539. package/dist/actions/post-accounting-connection.cjs.map +1 -0
  540. package/dist/actions/post-accounting-connection.d.cts +9 -0
  541. package/dist/actions/post-accounting-connection.d.cts.map +1 -0
  542. package/dist/actions/post-accounting-connection.d.mts +9 -0
  543. package/dist/actions/post-accounting-connection.d.mts.map +1 -0
  544. package/dist/actions/post-accounting-connection.mjs +29 -0
  545. package/dist/actions/post-accounting-connection.mjs.map +1 -0
  546. package/dist/actions/post-accounting-vendors.cjs +38 -0
  547. package/dist/actions/post-accounting-vendors.cjs.map +1 -0
  548. package/dist/actions/post-accounting-vendors.d.cts +9 -0
  549. package/dist/actions/post-accounting-vendors.d.cts.map +1 -0
  550. package/dist/actions/post-accounting-vendors.d.mts +9 -0
  551. package/dist/actions/post-accounting-vendors.d.mts.map +1 -0
  552. package/dist/actions/post-accounting-vendors.mjs +37 -0
  553. package/dist/actions/post-accounting-vendors.mjs.map +1 -0
  554. package/dist/actions/post-inventory-item-options.cjs +26 -0
  555. package/dist/actions/post-inventory-item-options.cjs.map +1 -0
  556. package/dist/actions/post-inventory-item-options.d.cts +9 -0
  557. package/dist/actions/post-inventory-item-options.d.cts.map +1 -0
  558. package/dist/actions/post-inventory-item-options.d.mts +9 -0
  559. package/dist/actions/post-inventory-item-options.d.mts.map +1 -0
  560. package/dist/actions/post-inventory-item-options.mjs +25 -0
  561. package/dist/actions/post-inventory-item-options.mjs.map +1 -0
  562. package/dist/actions/post-physical-card.cjs +59 -0
  563. package/dist/actions/post-physical-card.cjs.map +1 -0
  564. package/dist/actions/post-physical-card.d.cts +9 -0
  565. package/dist/actions/post-physical-card.d.cts.map +1 -0
  566. package/dist/actions/post-physical-card.d.mts +9 -0
  567. package/dist/actions/post-physical-card.d.mts.map +1 -0
  568. package/dist/actions/post-physical-card.mjs +56 -0
  569. package/dist/actions/post-physical-card.mjs.map +1 -0
  570. package/dist/actions/reactivate-accounting-connection.cjs +26 -0
  571. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -0
  572. package/dist/actions/reactivate-accounting-connection.d.cts +9 -0
  573. package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -0
  574. package/dist/actions/reactivate-accounting-connection.d.mts +9 -0
  575. package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -0
  576. package/dist/actions/reactivate-accounting-connection.mjs +25 -0
  577. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -0
  578. package/dist/actions/reactivate-user.cjs +16 -0
  579. package/dist/actions/reactivate-user.cjs.map +1 -0
  580. package/dist/actions/reactivate-user.d.cts +9 -0
  581. package/dist/actions/reactivate-user.d.cts.map +1 -0
  582. package/dist/actions/reactivate-user.d.mts +9 -0
  583. package/dist/actions/reactivate-user.d.mts.map +1 -0
  584. package/dist/actions/reactivate-user.mjs +13 -0
  585. package/dist/actions/reactivate-user.mjs.map +1 -0
  586. package/dist/actions/submit-reimbursement-receipt.cjs +144 -0
  587. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -0
  588. package/dist/actions/submit-reimbursement-receipt.d.cts +9 -0
  589. package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -0
  590. package/dist/actions/submit-reimbursement-receipt.d.mts +9 -0
  591. package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -0
  592. package/dist/actions/submit-reimbursement-receipt.mjs +143 -0
  593. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -0
  594. package/dist/actions/suspend-card.cjs +19 -0
  595. package/dist/actions/suspend-card.cjs.map +1 -0
  596. package/dist/actions/suspend-card.d.cts +9 -0
  597. package/dist/actions/suspend-card.d.cts.map +1 -0
  598. package/dist/actions/suspend-card.d.mts +9 -0
  599. package/dist/actions/suspend-card.d.mts.map +1 -0
  600. package/dist/actions/suspend-card.mjs +16 -0
  601. package/dist/actions/suspend-card.mjs.map +1 -0
  602. package/dist/actions/terminate-card.cjs +19 -0
  603. package/dist/actions/terminate-card.cjs.map +1 -0
  604. package/dist/actions/terminate-card.d.cts +9 -0
  605. package/dist/actions/terminate-card.d.cts.map +1 -0
  606. package/dist/actions/terminate-card.d.mts +9 -0
  607. package/dist/actions/terminate-card.d.mts.map +1 -0
  608. package/dist/actions/terminate-card.mjs +16 -0
  609. package/dist/actions/terminate-card.mjs.map +1 -0
  610. package/dist/actions/update-accounting-field.cjs +48 -0
  611. package/dist/actions/update-accounting-field.cjs.map +1 -0
  612. package/dist/actions/update-accounting-field.d.cts +9 -0
  613. package/dist/actions/update-accounting-field.d.cts.map +1 -0
  614. package/dist/actions/update-accounting-field.d.mts +9 -0
  615. package/dist/actions/update-accounting-field.d.mts.map +1 -0
  616. package/dist/actions/update-accounting-field.mjs +47 -0
  617. package/dist/actions/update-accounting-field.mjs.map +1 -0
  618. package/dist/actions/update-accounting-inventory-item-options.cjs +25 -0
  619. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -0
  620. package/dist/actions/update-accounting-inventory-item-options.d.cts +9 -0
  621. package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -0
  622. package/dist/actions/update-accounting-inventory-item-options.d.mts +9 -0
  623. package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -0
  624. package/dist/actions/update-accounting-inventory-item-options.mjs +22 -0
  625. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -0
  626. package/dist/actions/update-accounting-tax-code-options.cjs +27 -0
  627. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -0
  628. package/dist/actions/update-accounting-tax-code-options.d.cts +9 -0
  629. package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -0
  630. package/dist/actions/update-accounting-tax-code-options.d.mts +9 -0
  631. package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -0
  632. package/dist/actions/update-accounting-tax-code-options.mjs +24 -0
  633. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -0
  634. package/dist/actions/update-accounting-tax-code.cjs +25 -0
  635. package/dist/actions/update-accounting-tax-code.cjs.map +1 -0
  636. package/dist/actions/update-accounting-tax-code.d.cts +9 -0
  637. package/dist/actions/update-accounting-tax-code.d.cts.map +1 -0
  638. package/dist/actions/update-accounting-tax-code.d.mts +9 -0
  639. package/dist/actions/update-accounting-tax-code.d.mts.map +1 -0
  640. package/dist/actions/update-accounting-tax-code.mjs +22 -0
  641. package/dist/actions/update-accounting-tax-code.mjs.map +1 -0
  642. package/dist/actions/update-accounting-tax-rate.cjs +28 -0
  643. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -0
  644. package/dist/actions/update-accounting-tax-rate.d.cts +9 -0
  645. package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -0
  646. package/dist/actions/update-accounting-tax-rate.d.mts +9 -0
  647. package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -0
  648. package/dist/actions/update-accounting-tax-rate.mjs +25 -0
  649. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -0
  650. package/dist/actions/update-accounting-vendor.cjs +38 -0
  651. package/dist/actions/update-accounting-vendor.cjs.map +1 -0
  652. package/dist/actions/update-accounting-vendor.d.cts +9 -0
  653. package/dist/actions/update-accounting-vendor.d.cts.map +1 -0
  654. package/dist/actions/update-accounting-vendor.d.mts +9 -0
  655. package/dist/actions/update-accounting-vendor.d.mts.map +1 -0
  656. package/dist/actions/update-accounting-vendor.mjs +37 -0
  657. package/dist/actions/update-accounting-vendor.mjs.map +1 -0
  658. package/dist/actions/update-card-limit.cjs +42 -0
  659. package/dist/actions/update-card-limit.cjs.map +1 -0
  660. package/dist/actions/update-card-limit.d.cts +9 -0
  661. package/dist/actions/update-card-limit.d.cts.map +1 -0
  662. package/dist/actions/update-card-limit.d.mts +9 -0
  663. package/dist/actions/update-card-limit.d.mts.map +1 -0
  664. package/dist/actions/update-card-limit.mjs +41 -0
  665. package/dist/actions/update-card-limit.mjs.map +1 -0
  666. package/dist/actions/update-department.cjs +24 -0
  667. package/dist/actions/update-department.cjs.map +1 -0
  668. package/dist/actions/update-department.d.cts +9 -0
  669. package/dist/actions/update-department.d.cts.map +1 -0
  670. package/dist/actions/update-department.d.mts +9 -0
  671. package/dist/actions/update-department.d.mts.map +1 -0
  672. package/dist/actions/update-department.mjs +21 -0
  673. package/dist/actions/update-department.mjs.map +1 -0
  674. package/dist/actions/update-limits.cjs +126 -0
  675. package/dist/actions/update-limits.cjs.map +1 -0
  676. package/dist/actions/update-limits.d.cts +9 -0
  677. package/dist/actions/update-limits.d.cts.map +1 -0
  678. package/dist/actions/update-limits.d.mts +9 -0
  679. package/dist/actions/update-limits.d.mts.map +1 -0
  680. package/dist/actions/update-limits.mjs +125 -0
  681. package/dist/actions/update-limits.mjs.map +1 -0
  682. package/dist/actions/update-user.cjs +35 -0
  683. package/dist/actions/update-user.cjs.map +1 -0
  684. package/dist/actions/update-user.d.cts +9 -0
  685. package/dist/actions/update-user.d.cts.map +1 -0
  686. package/dist/actions/update-user.d.mts +9 -0
  687. package/dist/actions/update-user.d.mts.map +1 -0
  688. package/dist/actions/update-user.mjs +32 -0
  689. package/dist/actions/update-user.mjs.map +1 -0
  690. package/dist/actions/upload-new-options.cjs +40 -0
  691. package/dist/actions/upload-new-options.cjs.map +1 -0
  692. package/dist/actions/upload-new-options.d.cts +9 -0
  693. package/dist/actions/upload-new-options.d.cts.map +1 -0
  694. package/dist/actions/upload-new-options.d.mts +9 -0
  695. package/dist/actions/upload-new-options.d.mts.map +1 -0
  696. package/dist/actions/upload-new-options.mjs +39 -0
  697. package/dist/actions/upload-new-options.mjs.map +1 -0
  698. package/dist/actions/upload-tax-code-options.cjs +28 -0
  699. package/dist/actions/upload-tax-code-options.cjs.map +1 -0
  700. package/dist/actions/upload-tax-code-options.d.cts +9 -0
  701. package/dist/actions/upload-tax-code-options.d.cts.map +1 -0
  702. package/dist/actions/upload-tax-code-options.d.mts +9 -0
  703. package/dist/actions/upload-tax-code-options.d.mts.map +1 -0
  704. package/dist/actions/upload-tax-code-options.mjs +27 -0
  705. package/dist/actions/upload-tax-code-options.mjs.map +1 -0
  706. package/dist/actions/upload-tax-rates.cjs +32 -0
  707. package/dist/actions/upload-tax-rates.cjs.map +1 -0
  708. package/dist/actions/upload-tax-rates.d.cts +9 -0
  709. package/dist/actions/upload-tax-rates.d.cts.map +1 -0
  710. package/dist/actions/upload-tax-rates.d.mts +9 -0
  711. package/dist/actions/upload-tax-rates.d.mts.map +1 -0
  712. package/dist/actions/upload-tax-rates.mjs +31 -0
  713. package/dist/actions/upload-tax-rates.mjs.map +1 -0
  714. package/dist/app.cjs +9 -0
  715. package/dist/app.cjs.map +1 -0
  716. package/dist/app.d.cts +5 -0
  717. package/dist/app.d.cts.map +1 -0
  718. package/dist/app.d.mts +5 -0
  719. package/dist/app.d.mts.map +1 -0
  720. package/dist/app.mjs +10 -0
  721. package/dist/app.mjs.map +1 -0
  722. package/dist/catalog.cjs +15 -0
  723. package/dist/catalog.cjs.map +1 -0
  724. package/dist/catalog.d.cts +14 -0
  725. package/dist/catalog.d.cts.map +1 -0
  726. package/dist/catalog.d.mts +14 -0
  727. package/dist/catalog.d.mts.map +1 -0
  728. package/dist/catalog.mjs +15 -0
  729. package/dist/catalog.mjs.map +1 -0
  730. package/dist/execute.cjs +18 -0
  731. package/dist/execute.cjs.map +1 -0
  732. package/dist/execute.mjs +18 -0
  733. package/dist/execute.mjs.map +1 -0
  734. package/dist/index.cjs +182 -0
  735. package/dist/index.d.cts +91 -0
  736. package/dist/index.d.mts +91 -4
  737. package/dist/index.mjs +92 -7
  738. package/package.json +31 -58
  739. package/LICENSE +0 -21
  740. package/dist/credential-sets/index.d.mts +0 -2
  741. package/dist/credential-sets/index.mjs +0 -4
  742. package/dist/operations/index.d.mts +0 -2
  743. package/dist/operations/index.mjs +0 -3
  744. package/dist/ramp-app.credential-set-Lfv-WYR0.mjs +0 -24
  745. package/dist/ramp-app.credential-set-cr5rSCuj.d.mts +0 -51
  746. package/dist/ramp.credential-set-IqskZBeS.mjs +0 -65
  747. package/dist/schemas/index.d.mts +0 -2101
  748. package/dist/schemas/index.mjs +0 -99
  749. package/dist/transactions-BbD9dl3x.mjs +0 -1005
  750. package/dist/upload-receipt.operation-ClJzqNb-.d.mts +0 -3907
  751. package/dist/upload-receipt.operation-DNDW2WTQ.mjs +0 -2322
@@ -0,0 +1,143 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/submit-reimbursement-receipt.ts
4
+ const RampSubmitReimbursementReceiptInput = z.object({
5
+ receipt: z.object({
6
+ name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
7
+ s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
8
+ mimetype: z.string().describe("The MIME type of the file")
9
+ }).describe("Receipt file to upload. FileUploadable object where 'name' should be the receipt filename (e.g., 'receipt.pdf', 'receipt.jpg')."),
10
+ reimbursee_id: z.string().describe("UUID of the user to create the reimbursement for"),
11
+ idempotency_key: z.string().describe("Unique value to prevent duplicate uploads. Use a UUID to avoid collisions"),
12
+ reimbursement_id: z.string().describe("Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR").optional()
13
+ });
14
+ const RampSubmitReimbursementReceipt_ReimbursementTypeSchema = z.enum([
15
+ "MILEAGE",
16
+ "OUT_OF_POCKET",
17
+ "PAYBACK_FULL",
18
+ "PAYBACK_PARTIAL",
19
+ "PER_DIEM"
20
+ ]).describe("Type of reimbursement.");
21
+ const RampSubmitReimbursementReceipt_ReimbursementStateSchema = z.enum([
22
+ "APPROVED",
23
+ "AWAITING_EXPORT",
24
+ "AWAITING_PAYMENT",
25
+ "AWAITING_PUSH_PAYMENT",
26
+ "CANCELED",
27
+ "DELETED",
28
+ "DRAFT",
29
+ "EXPORTED",
30
+ "EXPORT_FAILED",
31
+ "EXPORT_INITIATED",
32
+ "EXPORT_MARKED_AS_FAILED",
33
+ "EXPORT_SUCCESSFUL",
34
+ "FAILED_REIMBURSEMENT",
35
+ "INIT",
36
+ "MANUALLY_REIMBURSED",
37
+ "MISSING_ACH",
38
+ "PENDING",
39
+ "PROCESSING",
40
+ "PUSH_PAYMENT_FAILED",
41
+ "PUSH_PAYMENT_INITIATED",
42
+ "REIMBURSED",
43
+ "REIMBURSED_VIA_PUSH",
44
+ "REJECTED"
45
+ ]).describe("Current state of the reimbursement.");
46
+ const RampSubmitReimbursementReceipt_AttendeeSchema = z.object({
47
+ name: z.string().describe("Name of the attendee").nullable().optional(),
48
+ user_id: z.string().describe("User ID of the attendee, if they are a Ramp user").nullable().optional()
49
+ }).describe("Attendee information for a reimbursement.");
50
+ const RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = z.enum(["BUSINESS_TO_USER", "USER_TO_BUSINESS"]).describe("Direction of reimbursement payment.");
51
+ const RampSubmitReimbursementReceipt_LineItemAmountSchema = z.object({
52
+ amount: z.number().int().describe("Amount in minor units (e.g., cents for USD)").nullable().optional(),
53
+ currency_code: z.string().describe("ISO 4217 currency code").nullable().optional()
54
+ }).describe("Amount object for a line item.");
55
+ const RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = z.object({
56
+ id: z.string().describe("Source identifier").nullable().optional(),
57
+ name: z.string().describe("Source name").nullable().optional()
58
+ }).describe("Source information for an accounting field.");
59
+ const RampSubmitReimbursementReceipt_CategoryInfoSchema = z.object({
60
+ id: z.string().describe("Internal identifier for the category").nullable().optional(),
61
+ name: z.string().describe("Name of the category").nullable().optional(),
62
+ type: z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
63
+ external_id: z.string().describe("External identifier for the category").nullable().optional()
64
+ }).describe("Category information for an accounting field.");
65
+ const RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema = z.object({
66
+ id: z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
67
+ name: z.string().describe("Name of the accounting field selection").nullable().optional(),
68
+ type: z.string().describe("Type of the accounting field selection").nullable().optional(),
69
+ source: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),
70
+ external_id: z.string().describe("External identifier for the accounting field selection").nullable().optional(),
71
+ category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),
72
+ external_code: z.string().describe("External code for the accounting field").nullable().optional(),
73
+ provider_name: z.string().describe("Name of the accounting provider").nullable().optional()
74
+ }).describe("Accounting field selection with category information.");
75
+ const RampSubmitReimbursementReceipt_LineItemSchema = z.object({
76
+ memo: z.string().describe("Memo for this line item").nullable().optional(),
77
+ amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),
78
+ accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item").nullable().optional()
79
+ }).describe("Individual line item within a reimbursement.");
80
+ const RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = z.enum([
81
+ "NOT_SYNC_READY",
82
+ "SYNCED",
83
+ "SYNC_READY"
84
+ ]).describe("Sync status of the reimbursement.");
85
+ const RampSubmitReimbursementReceipt_MoneyAmountSchema = z.object({
86
+ amount: z.number().int().describe("Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount").nullable().optional(),
87
+ currency_code: z.string().describe("ISO 4217 currency code (e.g., USD, EUR)").nullable().optional(),
88
+ minor_unit_conversion_rate: z.number().int().describe("Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)").nullable().optional()
89
+ }).describe("Money amount with currency information.");
90
+ const RampSubmitReimbursementReceipt_ExpenseGroupSchema = z.object({
91
+ id: z.string().describe("Unique identifier for the expense group").nullable().optional(),
92
+ name: z.string().describe("Name of the expense group").nullable().optional()
93
+ }).describe("Expense group information.");
94
+ const rampSubmitReimbursementReceipt = action("RAMP_SUBMIT_REIMBURSEMENT_RECEIPT", {
95
+ slug: "ramp-submit-reimbursement-receipt",
96
+ name: "Submit Reimbursement Receipt",
97
+ description: "Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.",
98
+ input: RampSubmitReimbursementReceiptInput,
99
+ output: z.object({
100
+ id: z.string().describe("Unique identifier of the reimbursement"),
101
+ memo: z.string().describe("Reimbursement memo").nullable().optional(),
102
+ type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),
103
+ state: RampSubmitReimbursementReceipt_ReimbursementStateSchema.nullable(),
104
+ amount: z.number().describe("The amount that the payor pays").nullable().optional(),
105
+ trip_id: z.string().describe("Trip ID associated with the reimbursement if a Trip ID is available").nullable().optional(),
106
+ user_id: z.string().describe("Unique identifier of the person who made the reimbursement"),
107
+ currency: z.string().describe("The currency that the payor pays with"),
108
+ distance: z.number().describe("The distance of the reimbursement in miles, for mileage reimbursements").nullable().optional(),
109
+ merchant: z.string().describe("The name of the merchant that the reimbursement is associated with").nullable().optional(),
110
+ receipts: z.array(z.string()).describe("List of receipt identifiers").nullable().optional(),
111
+ attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe("List of attendees for the reimbursement").nullable().optional(),
112
+ direction: RampSubmitReimbursementReceipt_ReimbursementDirectionSchema.nullable(),
113
+ entity_id: z.string().describe("Unique identifier of the associated business entity").nullable().optional(),
114
+ synced_at: z.string().describe("Time when reimbursement has been synced. Will be None if the reimbursement is not synced (ISO8601 format)").nullable().optional(),
115
+ waypoints: z.array(z.string()).describe("List of intermediate stops during the trip, for mileage reimbursements").nullable().optional(),
116
+ created_at: z.string().describe("Time at which the reimbursement is created (ISO8601 format)"),
117
+ line_items: z.array(RampSubmitReimbursementReceipt_LineItemSchema).describe("List of line items related to the reimbursement").nullable().optional(),
118
+ payment_id: z.string().describe("The unique identifier of the payment batch that the reimbursement is associated with, once paid").nullable().optional(),
119
+ updated_at: z.string().describe("Time at which the reimbursement was last updated (ISO8601 format)").nullable().optional(),
120
+ user_email: z.string().describe("Email of the person who made the reimbursement"),
121
+ approved_at: z.string().describe("Time at which the reimbursement is approved (ISO8601 format)").nullable().optional(),
122
+ employee_id: z.string().describe("Employee ID of the person who made the reimbursement").nullable().optional(),
123
+ merchant_id: z.string().describe("The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant").nullable().optional(),
124
+ sync_status: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),
125
+ end_location: z.string().describe("Ending location of the trip, for mileage reimbursements").nullable().optional(),
126
+ payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),
127
+ submitted_at: z.string().describe("Time when reimbursement was most recently submitted (ISO8601 format)").nullable().optional(),
128
+ expense_group: RampSubmitReimbursementReceipt_ExpenseGroupSchema.nullable().optional(),
129
+ spend_limit_id: z.string().describe("Spend limit to which the reimbursement is attributed, if it exists").nullable().optional(),
130
+ start_location: z.string().describe("Starting location of the trip, for mileage reimbursements").nullable().optional(),
131
+ user_full_name: z.string().describe("Full name of the person who made the reimbursement"),
132
+ accounting_date: z.string().describe("The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date").nullable().optional(),
133
+ payment_batch_id: z.string().describe("The unique identifier of the reimbursement payment batch that the reimbursement is associated with").nullable().optional(),
134
+ transaction_date: z.string().describe("Date of the transaction (ISO 8601 date format)").nullable().optional(),
135
+ payment_processed_at: z.string().describe("Time of reimbursement payment (ISO8601 format)").nullable().optional(),
136
+ accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe("List of accounting fields selected to code the reimbursement").nullable().optional(),
137
+ original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional()
138
+ }).describe("Complete reimbursement details returned after submitting a receipt.")
139
+ });
140
+ //#endregion
141
+ export { rampSubmitReimbursementReceipt };
142
+
143
+ //# sourceMappingURL=submit-reimbursement-receipt.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"submit-reimbursement-receipt.mjs","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSubmitReimbursementReceiptInput: z.ZodTypeAny = z.object({\n receipt: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Receipt file to upload. FileUploadable object where 'name' should be the receipt filename (e.g., 'receipt.pdf', 'receipt.jpg').\"),\n reimbursee_id: z.string().describe(\"UUID of the user to create the reimbursement for\"),\n idempotency_key: z.string().describe(\"Unique value to prevent duplicate uploads. Use a UUID to avoid collisions\"),\n reimbursement_id: z.string().describe(\"Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR\").optional(),\n});\nconst RampSubmitReimbursementReceipt_ReimbursementTypeSchema: z.ZodTypeAny = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementStateSchema: z.ZodTypeAny = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_AttendeeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable().optional(),\n user_id: z.string().describe(\"User ID of the attendee, if they are a Ramp user\").nullable().optional(),\n}).describe(\"Attendee information for a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementDirectionSchema: z.ZodTypeAny = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of reimbursement payment.\");\nconst RampSubmitReimbursementReceipt_LineItemAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).describe(\"Amount object for a line item.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Source identifier\").nullable().optional(),\n name: z.string().describe(\"Source name\").nullable().optional(),\n}).describe(\"Source information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_CategoryInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).describe(\"Category information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting provider\").nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampSubmitReimbursementReceipt_LineItemSchema: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).describe(\"Individual line item within a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema: z.ZodTypeAny = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Sync status of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_MoneyAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)\").nullable().optional(),\n}).describe(\"Money amount with currency information.\");\nconst RampSubmitReimbursementReceipt_ExpenseGroupSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the expense group\").nullable().optional(),\n name: z.string().describe(\"Name of the expense group\").nullable().optional(),\n}).describe(\"Expense group information.\");\nexport const RampSubmitReimbursementReceiptOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\"),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),\n state: RampSubmitReimbursementReceipt_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement\"),\n currency: z.string().describe(\"The currency that the payor pays with\"),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt identifiers\").nullable().optional(),\n attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe(\"List of attendees for the reimbursement\").nullable().optional(),\n direction: RampSubmitReimbursementReceipt_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced (ISO8601 format)\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created (ISO8601 format)\"),\n line_items: z.array(RampSubmitReimbursementReceipt_LineItemSchema).describe(\"List of line items related to the reimbursement\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated (ISO8601 format)\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement\"),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved (ISO8601 format)\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant\").nullable().optional(),\n sync_status: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements\").nullable().optional(),\n payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted (ISO8601 format)\").nullable().optional(),\n expense_group: RampSubmitReimbursementReceipt_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement\"),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction (ISO 8601 date format)\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment (ISO8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement\").nullable().optional(),\n original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n}).describe(\"Complete reimbursement details returned after submitting a receipt.\");\n\nexport const rampSubmitReimbursementReceipt = action(\"RAMP_SUBMIT_REIMBURSEMENT_RECEIPT\", {\n slug: \"ramp-submit-reimbursement-receipt\",\n name: \"Submit Reimbursement Receipt\",\n description: \"Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.\",\n input: RampSubmitReimbursementReceiptInput,\n output: RampSubmitReimbursementReceiptOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/suspend-card.ts
4
+ const RampSuspendCardInput = zod.z.object({
5
+ card_id: zod.z.string().describe("The unique identifier of the card to suspend"),
6
+ idempotency_key: zod.z.string().describe("An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.")
7
+ });
8
+ const RampSuspendCardOutput = zod.z.object({ id: zod.z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}") }).describe("Response containing the deferred task ID for tracking the card suspension operation.");
9
+ const rampSuspendCard = require_action.action("RAMP_SUSPEND_CARD", {
10
+ slug: "ramp-suspend-card",
11
+ name: "Suspend Card",
12
+ description: "Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.",
13
+ input: RampSuspendCardInput,
14
+ output: RampSuspendCardOutput
15
+ });
16
+ //#endregion
17
+ exports.rampSuspendCard = rampSuspendCard;
18
+
19
+ //# sourceMappingURL=suspend-card.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suspend-card.cjs","names":["z","action"],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSuspendCardInput: z.ZodTypeAny = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\"),\n}).describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;AACzP,CAAC;AACD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EAC5H,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAElG,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/suspend-card.d.ts
4
+ declare const RampSuspendCardInput: z.ZodTypeAny;
5
+ declare const RampSuspendCardOutput: z.ZodTypeAny;
6
+ declare const rampSuspendCard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampSuspendCard };
9
+ //# sourceMappingURL=suspend-card.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suspend-card.d.cts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAE6D;AAAA,cAEtF,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/suspend-card.d.ts
4
+ declare const RampSuspendCardInput: z.ZodTypeAny;
5
+ declare const RampSuspendCardOutput: z.ZodTypeAny;
6
+ declare const rampSuspendCard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampSuspendCard };
9
+ //# sourceMappingURL=suspend-card.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suspend-card.d.mts","names":[],"sources":["../../src/actions/suspend-card.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGnC;AAAA,cACW,qBAAA,EAAuB,CAAA,CAAE,UAE6D;AAAA,cAEtF,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const rampSuspendCard = action("RAMP_SUSPEND_CARD", {
4
+ slug: "ramp-suspend-card",
5
+ name: "Suspend Card",
6
+ description: "Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.",
7
+ input: z.object({
8
+ card_id: z.string().describe("The unique identifier of the card to suspend"),
9
+ idempotency_key: z.string().describe("An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.")
10
+ }),
11
+ output: z.object({ id: z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}") }).describe("Response containing the deferred task ID for tracking the card suspension operation.")
12
+ });
13
+ //#endregion
14
+ export { rampSuspendCard };
15
+
16
+ //# sourceMappingURL=suspend-card.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suspend-card.mjs","names":[],"sources":["../../src/actions/suspend-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSuspendCardInput: z.ZodTypeAny = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to suspend\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, we encourage clients to use random generated UUIDs.\"),\n});\nexport const RampSuspendCardOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /deferred/status/{task_id}\"),\n}).describe(\"Response containing the deferred task ID for tracking the card suspension operation.\");\n\nexport const rampSuspendCard = action(\"RAMP_SUSPEND_CARD\", {\n slug: \"ramp-suspend-card\",\n name: \"Suspend Card\",\n description: \"Tool to suspend a card by creating an async task that locks the card from use. Use when you need to temporarily disable a card. The suspension is revertable.\",\n input: RampSuspendCardInput,\n output: RampSuspendCardOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;EAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kNAAkN;CACzP,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,EAC5H,CAAC,CAAC,CAAC,SAAS,sFAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/terminate-card.ts
4
+ const RampTerminateCardInput = zod.z.object({
5
+ card_id: zod.z.string().describe("The unique identifier of the card to terminate permanently"),
6
+ idempotency_key: zod.z.string().describe("An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.")
7
+ });
8
+ const RampTerminateCardOutput = zod.z.object({ id: zod.z.string().describe("ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>") });
9
+ const rampTerminateCard = require_action.action("RAMP_TERMINATE_CARD", {
10
+ slug: "ramp-terminate-card",
11
+ name: "Terminate Card",
12
+ description: "Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.",
13
+ input: RampTerminateCardInput,
14
+ output: RampTerminateCardOutput
15
+ });
16
+ //#endregion
17
+ exports.rampTerminateCard = rampTerminateCard;
18
+
19
+ //# sourceMappingURL=terminate-card.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-card.cjs","names":["z","action"],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampTerminateCardInput: z.ZodTypeAny = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\"),\n});\n\nexport const rampTerminateCard = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;AACjO,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EAC/H,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/terminate-card.d.ts
4
+ declare const RampTerminateCardInput: z.ZodTypeAny;
5
+ declare const RampTerminateCardOutput: z.ZodTypeAny;
6
+ declare const rampTerminateCard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampTerminateCard };
9
+ //# sourceMappingURL=terminate-card.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-card.d.cts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/terminate-card.d.ts
4
+ declare const RampTerminateCardInput: z.ZodTypeAny;
5
+ declare const RampTerminateCardOutput: z.ZodTypeAny;
6
+ declare const rampTerminateCard: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampTerminateCard };
9
+ //# sourceMappingURL=terminate-card.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-card.d.mts","names":[],"sources":["../../src/actions/terminate-card.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cACW,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const rampTerminateCard = action("RAMP_TERMINATE_CARD", {
4
+ slug: "ramp-terminate-card",
5
+ name: "Terminate Card",
6
+ description: "Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.",
7
+ input: z.object({
8
+ card_id: z.string().describe("The unique identifier of the card to terminate permanently"),
9
+ idempotency_key: z.string().describe("An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.")
10
+ }),
11
+ output: z.object({ id: z.string().describe("ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>") })
12
+ });
13
+ //#endregion
14
+ export { rampTerminateCard };
15
+
16
+ //# sourceMappingURL=terminate-card.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"terminate-card.mjs","names":[],"sources":["../../src/actions/terminate-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampTerminateCardInput: z.ZodTypeAny = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to terminate permanently\"),\n idempotency_key: z.string().describe(\"An idempotency key is a unique value generated by the client which the server uses to recognize subsequent retries of the same request. To avoid collisions, use random generated UUIDs.\"),\n});\nexport const RampTerminateCardOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to .../deferred/status/<task_id>\"),\n});\n\nexport const rampTerminateCard = action(\"RAMP_TERMINATE_CARD\", {\n slug: \"ramp-terminate-card\",\n name: \"Terminate Card\",\n description: \"Tool to permanently terminate a Ramp card. This action creates an async task to terminate the card and is irreversible. Use when you need to permanently deactivate a card. The response contains a task ID that can be used to check the termination status.\",\n input: RampTerminateCardInput,\n output: RampTerminateCardOutput,\n});\n"],"mappings":";;AAYA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO;EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L;CACjO,CASS;CACP,QATmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,EAC/H,CAOU;AACV,CAAC"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-accounting-field.ts
4
+ const RampUpdateAccountingFieldInput = zod.z.object({
5
+ name: zod.z.string().describe("Name of the custom accounting field.").optional(),
6
+ field_id: zod.z.string().describe("UUID of the custom accounting field to update (ramp_id)."),
7
+ display_name: zod.z.string().describe("Update the name of the custom accounting field on Ramp.").optional(),
8
+ is_splittable: zod.z.boolean().describe("Update the is_splittable of the custom accounting field on Ramp.").optional()
9
+ });
10
+ const RampUpdateAccountingField_InputTypeSchema = zod.z.enum([
11
+ "BOOLEAN",
12
+ "DATE",
13
+ "FREE_FORM_TEXT",
14
+ "SINGLE_CHOICE"
15
+ ]);
16
+ const RampUpdateAccountingField_IsRequiredForSchema = zod.z.enum([
17
+ "BILL",
18
+ "BILL_PAYMENT",
19
+ "PURCHASE_ORDER",
20
+ "REIMBURSEMENT",
21
+ "TRANSACTION",
22
+ "VENDOR_CREDIT"
23
+ ]);
24
+ const RampUpdateAccountingFieldOutput = zod.z.object({
25
+ id: zod.z.string().describe("Remote/external ID of custom accounting field from ERP system.").nullable().optional(),
26
+ name: zod.z.string().describe("Name of the custom accounting field in the remote ERP system.").nullable().optional(),
27
+ ramp_id: zod.z.string().describe("id to uniquely identify a custom accounting field within Ramp system").nullable().optional(),
28
+ is_active: zod.z.boolean().describe("Indicates whether the accounting field is currently active.").nullable().optional(),
29
+ created_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was created.").nullable().optional(),
30
+ input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),
31
+ updated_at: zod.z.string().describe("ISO 8601 timestamp of when the accounting field was last updated.").nullable().optional(),
32
+ display_name: zod.z.string().describe("Name of the custom accounting field on Ramp.").nullable().optional(),
33
+ is_splittable: zod.z.boolean().describe("Whether the field can be split across multiple line items in transactions.").nullable().optional(),
34
+ provider_name: zod.z.string().describe("Name of the accounting connection that the custom accounting field is uploaded to.").nullable().optional(),
35
+ is_required_for: zod.z.array(RampUpdateAccountingField_IsRequiredForSchema).describe("Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.").nullable().optional(),
36
+ accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the custom accounting fields are uploaded to.").nullable().optional()
37
+ }).describe("Response from updating a custom accounting field.");
38
+ const rampUpdateAccountingField = require_action.action("RAMP_UPDATE_ACCOUNTING_FIELD", {
39
+ slug: "ramp-update-accounting-field",
40
+ name: "Update Custom Accounting Field",
41
+ description: "Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.",
42
+ input: RampUpdateAccountingFieldInput,
43
+ output: RampUpdateAccountingFieldOutput
44
+ });
45
+ //#endregion
46
+ exports.rampUpdateAccountingField = rampUpdateAccountingField;
47
+
48
+ //# sourceMappingURL=update-accounting-field.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema: z.ZodTypeAny = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema: z.ZodTypeAny = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,4CAA0DA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAQ;CAAkB;AAAe,CAAC;AAC7H,MAAM,gDAA8DA,IAAAA,EAAE,KAAK;CAAC;CAAQ;CAAgB;CAAkB;CAAiB;CAAe;AAAe,CAAC;AACtK,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9N,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-accounting-field.d.ts
4
+ declare const RampUpdateAccountingFieldInput: z.ZodTypeAny;
5
+ declare const RampUpdateAccountingFieldOutput: z.ZodTypeAny;
6
+ declare const rampUpdateAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampUpdateAccountingField };
9
+ //# sourceMappingURL=update-accounting-field.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-field.d.cts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAK7C;AAAA,cAGW,+BAAA,EAAiC,CAAA,CAAE,UAagB;AAAA,cAEnD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-accounting-field.d.ts
4
+ declare const RampUpdateAccountingFieldInput: z.ZodTypeAny;
5
+ declare const RampUpdateAccountingFieldOutput: z.ZodTypeAny;
6
+ declare const rampUpdateAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampUpdateAccountingField };
9
+ //# sourceMappingURL=update-accounting-field.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-field.d.mts","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAK7C;AAAA,cAGW,+BAAA,EAAiC,CAAA,CAAE,UAagB;AAAA,cAEnD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/update-accounting-field.ts
4
+ const RampUpdateAccountingFieldInput = z.object({
5
+ name: z.string().describe("Name of the custom accounting field.").optional(),
6
+ field_id: z.string().describe("UUID of the custom accounting field to update (ramp_id)."),
7
+ display_name: z.string().describe("Update the name of the custom accounting field on Ramp.").optional(),
8
+ is_splittable: z.boolean().describe("Update the is_splittable of the custom accounting field on Ramp.").optional()
9
+ });
10
+ const RampUpdateAccountingField_InputTypeSchema = z.enum([
11
+ "BOOLEAN",
12
+ "DATE",
13
+ "FREE_FORM_TEXT",
14
+ "SINGLE_CHOICE"
15
+ ]);
16
+ const RampUpdateAccountingField_IsRequiredForSchema = z.enum([
17
+ "BILL",
18
+ "BILL_PAYMENT",
19
+ "PURCHASE_ORDER",
20
+ "REIMBURSEMENT",
21
+ "TRANSACTION",
22
+ "VENDOR_CREDIT"
23
+ ]);
24
+ const rampUpdateAccountingField = action("RAMP_UPDATE_ACCOUNTING_FIELD", {
25
+ slug: "ramp-update-accounting-field",
26
+ name: "Update Custom Accounting Field",
27
+ description: "Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.",
28
+ input: RampUpdateAccountingFieldInput,
29
+ output: z.object({
30
+ id: z.string().describe("Remote/external ID of custom accounting field from ERP system.").nullable().optional(),
31
+ name: z.string().describe("Name of the custom accounting field in the remote ERP system.").nullable().optional(),
32
+ ramp_id: z.string().describe("id to uniquely identify a custom accounting field within Ramp system").nullable().optional(),
33
+ is_active: z.boolean().describe("Indicates whether the accounting field is currently active.").nullable().optional(),
34
+ created_at: z.string().describe("ISO 8601 timestamp of when the accounting field was created.").nullable().optional(),
35
+ input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),
36
+ updated_at: z.string().describe("ISO 8601 timestamp of when the accounting field was last updated.").nullable().optional(),
37
+ display_name: z.string().describe("Name of the custom accounting field on Ramp.").nullable().optional(),
38
+ is_splittable: z.boolean().describe("Whether the field can be split across multiple line items in transactions.").nullable().optional(),
39
+ provider_name: z.string().describe("Name of the accounting connection that the custom accounting field is uploaded to.").nullable().optional(),
40
+ is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe("Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.").nullable().optional(),
41
+ accounting_connection_id: z.string().describe("ID of the accounting connection that the custom accounting fields are uploaded to.").nullable().optional()
42
+ }).describe("Response from updating a custom accounting field.")
43
+ });
44
+ //#endregion
45
+ export { rampUpdateAccountingField };
46
+
47
+ //# sourceMappingURL=update-accounting-field.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-field.mjs","names":[],"sources":["../../src/actions/update-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the custom accounting field.\").optional(),\n field_id: z.string().describe(\"UUID of the custom accounting field to update (ramp_id).\"),\n display_name: z.string().describe(\"Update the name of the custom accounting field on Ramp.\").optional(),\n is_splittable: z.boolean().describe(\"Update the is_splittable of the custom accounting field on Ramp.\").optional(),\n});\nconst RampUpdateAccountingField_InputTypeSchema: z.ZodTypeAny = z.enum([\"BOOLEAN\", \"DATE\", \"FREE_FORM_TEXT\", \"SINGLE_CHOICE\"]);\nconst RampUpdateAccountingField_IsRequiredForSchema: z.ZodTypeAny = z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\", \"VENDOR_CREDIT\"]);\nexport const RampUpdateAccountingFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\").nullable().optional(),\n name: z.string().describe(\"Name of the custom accounting field in the remote ERP system.\").nullable().optional(),\n ramp_id: z.string().describe(\"id to uniquely identify a custom accounting field within Ramp system\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created.\").nullable().optional(),\n input_type: RampUpdateAccountingField_InputTypeSchema.nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated.\").nullable().optional(),\n display_name: z.string().describe(\"Name of the custom accounting field on Ramp.\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field is uploaded to.\").nullable().optional(),\n is_required_for: z.array(RampUpdateAccountingField_IsRequiredForSchema).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting fields are uploaded to.\").nullable().optional(),\n}).describe(\"Response from updating a custom accounting field.\");\n\nexport const rampUpdateAccountingField = action(\"RAMP_UPDATE_ACCOUNTING_FIELD\", {\n slug: \"ramp-update-accounting-field\",\n name: \"Update Custom Accounting Field\",\n description: \"Tool to update a custom accounting field. Use when you need to modify the display name, name, or splittable setting of an existing custom accounting field.\",\n input: RampUpdateAccountingFieldInput,\n output: RampUpdateAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACtG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACnH,CAAC;AACD,MAAM,4CAA0D,EAAE,KAAK;CAAC;CAAW;CAAQ;CAAkB;AAAe,CAAC;AAC7H,MAAM,gDAA8D,EAAE,KAAK;CAAC;CAAQ;CAAgB;CAAkB;CAAiB;CAAe;AAAe,CAAC;AAgBtK,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApB2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9N,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/update-accounting-inventory-item-options.ts
4
+ const RampUpdateAccountingInventoryItemOptionsInput = zod.z.object({
5
+ name: zod.z.string().describe("The updated name of the inventory item option").optional(),
6
+ option_id: zod.z.string().describe("The Ramp UUID of the inventory item option to update")
7
+ }).describe("Request to update an inventory item option.");
8
+ const RampUpdateAccountingInventoryItemOptionsOutput = zod.z.object({
9
+ id: zod.z.string().describe("The external ID of the inventory item option. This is the ID in your ERP system"),
10
+ name: zod.z.string().describe("The name of the inventory item option"),
11
+ ramp_id: zod.z.string().describe("Unique identifier for the inventory item option within Ramp system"),
12
+ is_active: zod.z.boolean().describe("Whether the inventory item option is active"),
13
+ accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item option belongs to")
14
+ }).describe("Response from updating an inventory item option.");
15
+ const rampUpdateAccountingInventoryItemOptions = require_action.action("RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS", {
16
+ slug: "ramp-update-accounting-inventory-item-options",
17
+ name: "Update Accounting Inventory Item Option",
18
+ description: "Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.",
19
+ input: RampUpdateAccountingInventoryItemOptionsInput,
20
+ output: RampUpdateAccountingInventoryItemOptionsOutput
21
+ });
22
+ //#endregion
23
+ exports.rampUpdateAccountingInventoryItemOptions = rampUpdateAccountingInventoryItemOptions;
24
+
25
+ //# sourceMappingURL=update-accounting-inventory-item-options.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampUpdateAccountingInventoryItemOptionsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The updated name of the inventory item option\").optional(),\n option_id: z.string().describe(\"The Ramp UUID of the inventory item option to update\"),\n}).describe(\"Request to update an inventory item option.\");\nexport const RampUpdateAccountingInventoryItemOptionsOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The external ID of the inventory item option. This is the ID in your ERP system\"),\n name: z.string().describe(\"The name of the inventory item option\"),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item option within Ramp system\"),\n is_active: z.boolean().describe(\"Whether the inventory item option is active\"),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item option belongs to\"),\n}).describe(\"Response from updating an inventory item option.\");\n\nexport const rampUpdateAccountingInventoryItemOptions = action(\"RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-update-accounting-inventory-item-options\",\n name: \"Update Accounting Inventory Item Option\",\n description: \"Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.\",\n input: RampUpdateAccountingInventoryItemOptionsInput,\n output: RampUpdateAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gDAA8DA,IAAAA,EAAE,OAAO;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;AACvF,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,iDAA+DA,IAAAA,EAAE,OAAO;CACnF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC7E,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;AAC3H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,2CAA2CC,eAAAA,OAAO,iDAAiD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-accounting-inventory-item-options.d.ts
4
+ declare const RampUpdateAccountingInventoryItemOptionsInput: z.ZodTypeAny;
5
+ declare const RampUpdateAccountingInventoryItemOptionsOutput: z.ZodTypeAny;
6
+ declare const rampUpdateAccountingInventoryItemOptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampUpdateAccountingInventoryItemOptions };
9
+ //# sourceMappingURL=update-accounting-inventory-item-options.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-inventory-item-options.d.cts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAGJ;AAAA,cAC7C,8CAAA,EAAgD,CAAA,CAAE,UAMA;AAAA,cAElD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/update-accounting-inventory-item-options.d.ts
4
+ declare const RampUpdateAccountingInventoryItemOptionsInput: z.ZodTypeAny;
5
+ declare const RampUpdateAccountingInventoryItemOptionsOutput: z.ZodTypeAny;
6
+ declare const rampUpdateAccountingInventoryItemOptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampUpdateAccountingInventoryItemOptions };
9
+ //# sourceMappingURL=update-accounting-inventory-item-options.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-accounting-inventory-item-options.d.mts","names":[],"sources":["../../src/actions/update-accounting-inventory-item-options.ts"],"mappings":";;;cAIa,6CAAA,EAA+C,CAAA,CAAE,UAGJ;AAAA,cAC7C,8CAAA,EAAgD,CAAA,CAAE,UAMA;AAAA,cAElD,wCAAA,gCAAwC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const rampUpdateAccountingInventoryItemOptions = action("RAMP_UPDATE_ACCOUNTING_INVENTORY_ITEM_OPTIONS", {
4
+ slug: "ramp-update-accounting-inventory-item-options",
5
+ name: "Update Accounting Inventory Item Option",
6
+ description: "Tool to update an inventory item option in Ramp's accounting system. Use when you need to modify an existing inventory item option's details.",
7
+ input: z.object({
8
+ name: z.string().describe("The updated name of the inventory item option").optional(),
9
+ option_id: z.string().describe("The Ramp UUID of the inventory item option to update")
10
+ }).describe("Request to update an inventory item option."),
11
+ output: z.object({
12
+ id: z.string().describe("The external ID of the inventory item option. This is the ID in your ERP system"),
13
+ name: z.string().describe("The name of the inventory item option"),
14
+ ramp_id: z.string().describe("Unique identifier for the inventory item option within Ramp system"),
15
+ is_active: z.boolean().describe("Whether the inventory item option is active"),
16
+ accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item option belongs to")
17
+ }).describe("Response from updating an inventory item option.")
18
+ });
19
+ //#endregion
20
+ export { rampUpdateAccountingInventoryItemOptions };
21
+
22
+ //# sourceMappingURL=update-accounting-inventory-item-options.mjs.map