@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 @@
1
+ {"version":3,"file":"list-cards.mjs","names":[],"sources":["../../src/actions/list-cards.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListCardsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n user_id: z.string().describe(\"Filter by card owner UUID\").optional(),\n entity_id: z.string().describe(\"Filter by business entity UUID\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n display_name: z.string().describe(\"Filter by display name\").optional(),\n is_activated: z.boolean().describe(\"Filter only for activated cards. Defaults to True if not specified\").optional(),\n is_terminated: z.boolean().describe(\"Filter only for terminated cards. Defaults to False if not specified\").optional(),\n card_program_id: z.string().describe(\"Filter by card program UUID\").optional(),\n});\nconst RampListCards_RecipientAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the shipping address.\").nullable().optional(),\n state: z.string().describe(\"State or province code of the shipping address.\").nullable().optional(),\n country: z.string().describe(\"Country code of the shipping address (e.g., 'US').\").nullable().optional(),\n address1: z.string().describe(\"Primary street address line.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the recipient.\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code of the shipping address.\").nullable().optional(),\n});\nconst RampListCards_ShippingSchema: z.ZodTypeAny = z.object({\n recipient_address: RampListCards_RecipientAddressSchema.nullable().optional(),\n});\nconst RampListCards_FulfillmentSchema: z.ZodTypeAny = z.object({\n shipping: RampListCards_ShippingSchema.nullable().optional(),\n shipping_eta: z.string().describe(\"Estimated delivery date for the shipped card. Null if not available.\").nullable().optional(),\n shipping_date: z.string().describe(\"Date when the card was shipped. Null if not yet shipped.\").nullable().optional(),\n fulfillment_status: z.string().describe(\"Current fulfillment status of the physical card (e.g., 'ISSUED', 'SHIPPED', 'DELIVERED').\").nullable().optional(),\n shipping_tracking_url: z.string().describe(\"URL for tracking the card shipment. Null if not available.\").nullable().optional(),\n});\nconst RampListCards_SpendingRestrictionsSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Maximum spending amount allowed for the specified interval.\").nullable().optional(),\n interval: z.string().describe(\"Time interval for spending limits (e.g., 'MONTHLY', 'DAILY', 'YEARLY').\").nullable().optional(),\n suspended: z.boolean().describe(\"Indicates whether the card spending is currently suspended.\").nullable().optional(),\n categories: z.array(z.union([z.string(), z.number().int()])).describe(\"List of merchant category codes where the card can be used. Empty array means no category restrictions.\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Date when the card will be automatically locked. Null if no auto-lock is set.\").nullable().optional(),\n blocked_categories: z.array(z.union([z.string(), z.number().int()])).describe(\"List of merchant category codes where the card cannot be used. Empty array means no blocked categories.\").nullable().optional(),\n transaction_amount_limit: z.number().describe(\"Maximum amount allowed per individual transaction. Null if no per-transaction limit is set.\").nullable().optional(),\n});\nconst RampListCards_CardSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the card (UUID format).\"),\n state: z.string().describe(\"Current state of the card (e.g., 'ACTIVE', 'SUSPENDED', 'TERMINATED').\"),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity (UUID format).\"),\n last_four: z.string().describe(\"Last four digits of the card number.\"),\n created_at: z.string().describe(\"Date and time at which the card was created, in ISO8601 format.\"),\n expiration: z.string().describe(\"Expiration date of the card in MMYY format.\"),\n fulfillment: RampListCards_FulfillmentSchema.nullable().optional(),\n is_physical: z.boolean().describe(\"Indicates whether the card is physical (true) or virtual (false).\"),\n display_name: z.string().describe(\"Cosmetic display name of the card.\"),\n cardholder_id: z.string().describe(\"Unique identifier of the card holder (UUID format).\"),\n card_program_id: z.string().describe(\"Unique identifier of the card program. Null if no card program is associated.\").nullable().optional(),\n cardholder_name: z.string().describe(\"Full name of the card holder.\"),\n spending_restrictions: RampListCards_SpendingRestrictionsSchema.nullable().optional(),\n has_program_overridden: z.boolean().describe(\"Whether the card has overridden the default settings from its card program.\"),\n});\nconst RampListCards_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Cursor or ID for fetching the next page of results. Null if this is the last page.\").nullable().optional(),\n});\nexport const RampListCardsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListCards_CardSchema).describe(\"Array of card objects returned by the list cards endpoint.\"),\n page: RampListCards_PageSchema.nullable().optional(),\n});\n\nexport const rampListCards = action(\"RAMP_LIST_CARDS\", {\n slug: \"ramp-list-cards\",\n name: \"List All Cards\",\n description: \"Tool for listing all cards across the organization with optional filters. Returns card details including spending limits, cardholder info, and state. Use this to analyze card distribution, monitor card states, or find specific cards.\",\n input: RampListCardsInput,\n output: RampListCardsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAClH,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;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S,CAAC,CAAC,SAAS;CACjE,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACpE,uBAAuB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACpF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E;AAC5H,CAAC;AACD,MAAM,2BAAyC,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtI,CAAC;AAMD,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;EAC7G,MAAM,yBAAyB,SAAS,CAAC,CAAC,SAAS;CACrD,CAOU;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-departments.ts
4
+ const RampListDepartmentsInput = zod.z.object({
5
+ start: zod.z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ page_size: zod.z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional()
7
+ });
8
+ const RampListDepartments_DepartmentSchema = zod.z.object({
9
+ id: zod.z.string().describe("Unique identifier for the department in UUID format."),
10
+ name: zod.z.string().describe("Name of the department.")
11
+ });
12
+ const RampListDepartments_PageSchema = zod.z.object({ next: zod.z.string().describe("URL for the next page of results. Present when more results are available.").nullable().optional() });
13
+ const RampListDepartmentsOutput = zod.z.object({
14
+ data: zod.z.array(RampListDepartments_DepartmentSchema).describe("Array of department objects returned by the API."),
15
+ page: RampListDepartments_PageSchema.nullable().optional()
16
+ });
17
+ const rampListDepartments = require_action.action("RAMP_LIST_DEPARTMENTS", {
18
+ slug: "ramp-list-departments",
19
+ name: "List Departments",
20
+ description: "Tool for listing all departments in the organization. Returns department details including names, codes, and hierarchy information. Use this to analyze organizational structure and department relationships.",
21
+ input: RampListDepartmentsInput,
22
+ output: RampListDepartmentsOutput
23
+ });
24
+ //#endregion
25
+ exports.rampListDepartments = rampListDepartments;
26
+
27
+ //# sourceMappingURL=list-departments.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-departments.cjs","names":["z","action"],"sources":["../../src/actions/list-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListDepartmentsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n});\nconst RampListDepartments_DepartmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\"),\n name: z.string().describe(\"Name of the department.\"),\n});\nconst RampListDepartments_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n});\nexport const RampListDepartmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListDepartments_DepartmentSchema).describe(\"Array of department objects returned by the API.\"),\n page: RampListDepartments_PageSchema.nullable().optional(),\n});\n\nexport const rampListDepartments = action(\"RAMP_LIST_DEPARTMENTS\", {\n slug: \"ramp-list-departments\",\n name: \"List Departments\",\n description: \"Tool for listing all departments in the organization. Returns department details including names, codes, and hierarchy information. Use this to analyze organizational structure and department relationships.\",\n input: RampListDepartmentsInput,\n output: RampListDepartmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACrD,CAAC;AACD,MAAM,iCAA+CA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kDAAkD;CAC/G,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;AAC3D,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/list-departments.d.ts
4
+ declare const RampListDepartmentsInput: z.ZodTypeAny;
5
+ declare const RampListDepartmentsOutput: z.ZodTypeAny;
6
+ declare const rampListDepartments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListDepartments };
9
+ //# sourceMappingURL=list-departments.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-departments.d.cts","names":[],"sources":["../../src/actions/list-departments.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAQW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-departments.d.ts
4
+ declare const RampListDepartmentsInput: z.ZodTypeAny;
5
+ declare const RampListDepartmentsOutput: z.ZodTypeAny;
6
+ declare const rampListDepartments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListDepartments };
9
+ //# sourceMappingURL=list-departments.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-departments.d.mts","names":[],"sources":["../../src/actions/list-departments.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGvC;AAAA,cAQW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-departments.ts
4
+ const RampListDepartmentsInput = z.object({
5
+ start: z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ page_size: z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional()
7
+ });
8
+ const RampListDepartments_DepartmentSchema = z.object({
9
+ id: z.string().describe("Unique identifier for the department in UUID format."),
10
+ name: z.string().describe("Name of the department.")
11
+ });
12
+ const RampListDepartments_PageSchema = z.object({ next: z.string().describe("URL for the next page of results. Present when more results are available.").nullable().optional() });
13
+ const rampListDepartments = action("RAMP_LIST_DEPARTMENTS", {
14
+ slug: "ramp-list-departments",
15
+ name: "List Departments",
16
+ description: "Tool for listing all departments in the organization. Returns department details including names, codes, and hierarchy information. Use this to analyze organizational structure and department relationships.",
17
+ input: RampListDepartmentsInput,
18
+ output: z.object({
19
+ data: z.array(RampListDepartments_DepartmentSchema).describe("Array of department objects returned by the API."),
20
+ page: RampListDepartments_PageSchema.nullable().optional()
21
+ })
22
+ });
23
+ //#endregion
24
+ export { rampListDepartments };
25
+
26
+ //# sourceMappingURL=list-departments.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-departments.mjs","names":[],"sources":["../../src/actions/list-departments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListDepartmentsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n});\nconst RampListDepartments_DepartmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\"),\n name: z.string().describe(\"Name of the department.\"),\n});\nconst RampListDepartments_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n});\nexport const RampListDepartmentsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListDepartments_DepartmentSchema).describe(\"Array of department objects returned by the API.\"),\n page: RampListDepartments_PageSchema.nullable().optional(),\n});\n\nexport const rampListDepartments = action(\"RAMP_LIST_DEPARTMENTS\", {\n slug: \"ramp-list-departments\",\n name: \"List Departments\",\n description: \"Tool for listing all departments in the organization. Returns department details including names, codes, and hierarchy information. Use this to analyze organizational structure and department relationships.\",\n input: RampListDepartmentsInput,\n output: RampListDepartmentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACrD,CAAC;AACD,MAAM,iCAA+C,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC;AAMD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,kDAAkD;EAC/G,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CAC3D,CAOU;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-memos.ts
4
+ const RampListMemosInput = zod.z.object({
5
+ start: zod.z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ card_id: zod.z.string().describe("Filter memos by card UUID").optional(),
7
+ to_date: zod.z.string().describe("Filter memos for transactions before this date (ISO 8601 format)").optional(),
8
+ user_id: zod.z.string().describe("Filter memos by user UUID").optional(),
9
+ from_date: zod.z.string().describe("Filter memos for transactions after this date (ISO 8601 format)").optional(),
10
+ page_size: zod.z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional(),
11
+ manager_id: zod.z.string().describe("Filter memos by manager UUID").optional(),
12
+ location_id: zod.z.string().describe("Filter memos by location UUID").optional(),
13
+ merchant_id: zod.z.string().describe("Filter memos by merchant UUID").optional(),
14
+ department_id: zod.z.string().describe("Filter memos by department UUID").optional()
15
+ });
16
+ const RampListMemos_MemoSchema = zod.z.object({
17
+ id: zod.z.string().describe("Unique identifier of the memo"),
18
+ memo: zod.z.string().describe("Content of the memo").nullable().optional()
19
+ }).describe("Individual memo object returned by the Ramp list memos endpoint.");
20
+ const RampListMemos_PageSchema = zod.z.object({ next: zod.z.string().describe("URL for retrieving the next page of results. Present when more results are available.").nullable().optional() }).describe("Pagination metadata for navigating through memo results.");
21
+ const RampListMemosOutput = zod.z.object({
22
+ data: zod.z.array(RampListMemos_MemoSchema).describe("Array of memo objects returned by the list memos endpoint."),
23
+ page: RampListMemos_PageSchema.nullable()
24
+ }).describe("Response from listing memos in the Ramp organization.");
25
+ const rampListMemos = require_action.action("RAMP_LIST_MEMOS", {
26
+ slug: "ramp-list-memos",
27
+ name: "List Memos",
28
+ description: "Tool for listing memos associated with transactions in your Ramp organization. Returns memo details with support for filtering by card, user, department, location, manager, merchant, and date range.",
29
+ input: RampListMemosInput,
30
+ output: RampListMemosOutput
31
+ });
32
+ //#endregion
33
+ exports.rampListMemos = rampListMemos;
34
+
35
+ //# sourceMappingURL=list-memos.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-memos.cjs","names":["z","action"],"sources":["../../src/actions/list-memos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListMemosInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n card_id: z.string().describe(\"Filter memos by card UUID\").optional(),\n to_date: z.string().describe(\"Filter memos for transactions before this date (ISO 8601 format)\").optional(),\n user_id: z.string().describe(\"Filter memos by user UUID\").optional(),\n from_date: z.string().describe(\"Filter memos for transactions after this date (ISO 8601 format)\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n manager_id: z.string().describe(\"Filter memos by manager UUID\").optional(),\n location_id: z.string().describe(\"Filter memos by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter memos by merchant UUID\").optional(),\n department_id: z.string().describe(\"Filter memos by department UUID\").optional(),\n});\nconst RampListMemos_MemoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the memo\"),\n memo: z.string().describe(\"Content of the memo\").nullable().optional(),\n}).describe(\"Individual memo object returned by the Ramp list memos endpoint.\");\nconst RampListMemos_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through memo results.\");\nexport const RampListMemosOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListMemos_MemoSchema).describe(\"Array of memo objects returned by the list memos endpoint.\"),\n page: RampListMemos_PageSchema.nullable(),\n}).describe(\"Response from listing memos in the Ramp organization.\");\n\nexport const rampListMemos = action(\"RAMP_LIST_MEMOS\", {\n slug: \"ramp-list-memos\",\n name: \"List Memos\",\n description: \"Tool for listing memos associated with transactions in your Ramp organization. Returns memo details with support for filtering by card, user, department, location, manager, merchant, and date range.\",\n input: RampListMemosInput,\n output: RampListMemosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,2BAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,2BAAyCA,IAAAA,EAAE,OAAO,EACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;CAC7G,MAAM,yBAAyB,SAAS;AAC1C,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,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/list-memos.d.ts
4
+ declare const RampListMemosInput: z.ZodTypeAny;
5
+ declare const RampListMemosOutput: z.ZodTypeAny;
6
+ declare const rampListMemos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListMemos };
9
+ //# sourceMappingURL=list-memos.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-memos.d.cts","names":[],"sources":["../../src/actions/list-memos.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAWjC;AAAA,cAQW,mBAAA,EAAqB,CAAA,CAAE,UAGgC;AAAA,cAEvD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-memos.d.ts
4
+ declare const RampListMemosInput: z.ZodTypeAny;
5
+ declare const RampListMemosOutput: z.ZodTypeAny;
6
+ declare const rampListMemos: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListMemos };
9
+ //# sourceMappingURL=list-memos.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-memos.d.mts","names":[],"sources":["../../src/actions/list-memos.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAWjC;AAAA,cAQW,mBAAA,EAAqB,CAAA,CAAE,UAGgC;AAAA,cAEvD,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-memos.ts
4
+ const RampListMemosInput = z.object({
5
+ start: z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ card_id: z.string().describe("Filter memos by card UUID").optional(),
7
+ to_date: z.string().describe("Filter memos for transactions before this date (ISO 8601 format)").optional(),
8
+ user_id: z.string().describe("Filter memos by user UUID").optional(),
9
+ from_date: z.string().describe("Filter memos for transactions after this date (ISO 8601 format)").optional(),
10
+ page_size: z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional(),
11
+ manager_id: z.string().describe("Filter memos by manager UUID").optional(),
12
+ location_id: z.string().describe("Filter memos by location UUID").optional(),
13
+ merchant_id: z.string().describe("Filter memos by merchant UUID").optional(),
14
+ department_id: z.string().describe("Filter memos by department UUID").optional()
15
+ });
16
+ const RampListMemos_MemoSchema = z.object({
17
+ id: z.string().describe("Unique identifier of the memo"),
18
+ memo: z.string().describe("Content of the memo").nullable().optional()
19
+ }).describe("Individual memo object returned by the Ramp list memos endpoint.");
20
+ const RampListMemos_PageSchema = z.object({ next: z.string().describe("URL for retrieving the next page of results. Present when more results are available.").nullable().optional() }).describe("Pagination metadata for navigating through memo results.");
21
+ const rampListMemos = action("RAMP_LIST_MEMOS", {
22
+ slug: "ramp-list-memos",
23
+ name: "List Memos",
24
+ description: "Tool for listing memos associated with transactions in your Ramp organization. Returns memo details with support for filtering by card, user, department, location, manager, merchant, and date range.",
25
+ input: RampListMemosInput,
26
+ output: z.object({
27
+ data: z.array(RampListMemos_MemoSchema).describe("Array of memo objects returned by the list memos endpoint."),
28
+ page: RampListMemos_PageSchema.nullable()
29
+ }).describe("Response from listing memos in the Ramp organization.")
30
+ });
31
+ //#endregion
32
+ export { rampListMemos };
33
+
34
+ //# sourceMappingURL=list-memos.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-memos.mjs","names":[],"sources":["../../src/actions/list-memos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListMemosInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n card_id: z.string().describe(\"Filter memos by card UUID\").optional(),\n to_date: z.string().describe(\"Filter memos for transactions before this date (ISO 8601 format)\").optional(),\n user_id: z.string().describe(\"Filter memos by user UUID\").optional(),\n from_date: z.string().describe(\"Filter memos for transactions after this date (ISO 8601 format)\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n manager_id: z.string().describe(\"Filter memos by manager UUID\").optional(),\n location_id: z.string().describe(\"Filter memos by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter memos by merchant UUID\").optional(),\n department_id: z.string().describe(\"Filter memos by department UUID\").optional(),\n});\nconst RampListMemos_MemoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the memo\"),\n memo: z.string().describe(\"Content of the memo\").nullable().optional(),\n}).describe(\"Individual memo object returned by the Ramp list memos endpoint.\");\nconst RampListMemos_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through memo results.\");\nexport const RampListMemosOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListMemos_MemoSchema).describe(\"Array of memo objects returned by the list memos endpoint.\"),\n page: RampListMemos_PageSchema.nullable(),\n}).describe(\"Response from listing memos in the Ramp organization.\");\n\nexport const rampListMemos = action(\"RAMP_LIST_MEMOS\", {\n slug: \"ramp-list-memos\",\n name: \"List Memos\",\n description: \"Tool for listing memos associated with transactions in your Ramp organization. Returns memo details with support for filtering by card, user, department, location, manager, merchant, and date range.\",\n input: RampListMemosInput,\n output: RampListMemosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC3G,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,2BAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,2BAAyC,EAAE,OAAO,EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAMtE,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,MAAM,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;EAC7G,MAAM,yBAAyB,SAAS;CAC1C,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,77 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-reimbursements.ts
4
+ const RampListReimbursementsInput = zod.z.object({
5
+ start: zod.z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ to_date: zod.z.string().describe("Filter reimbursements created before this date (ISO 8601 datetime)").optional(),
7
+ trip_id: zod.z.string().describe("Filter reimbursements associated with a specific trip UUID").optional(),
8
+ user_id: zod.z.string().describe("Filter by user UUID").optional(),
9
+ direction: zod.z.string().describe("Filter by direction (BUSINESS_TO_USER default, USER_TO_BUSINESS for repayments)").optional(),
10
+ entity_id: zod.z.string().describe("Filter reimbursements by business entity UUID").optional(),
11
+ from_date: zod.z.string().describe("Filter reimbursements created after this date (ISO 8601 datetime)").optional(),
12
+ page_size: zod.z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional(),
13
+ sync_ready: zod.z.boolean().describe("Filter reimbursements that are ready to sync to ERP systems").optional(),
14
+ sync_status: zod.z.string().describe("Filter by sync status. Supersedes has_no_sync_commits and sync_ready").optional(),
15
+ synced_after: zod.z.string().describe("Filter reimbursements synced after this date (ISO 8601 datetime)").optional(),
16
+ updated_after: zod.z.string().describe("Filter reimbursements updated after this date (ISO 8601 datetime)").optional(),
17
+ to_submitted_at: zod.z.string().describe("Filter reimbursements submitted before this date (ISO 8601 datetime)").optional(),
18
+ from_submitted_at: zod.z.string().describe("Filter reimbursements submitted after this date (ISO 8601 datetime)").optional(),
19
+ has_no_sync_commits: zod.z.boolean().describe("Filter reimbursements that haven't been synced to ERP systems").optional(),
20
+ to_transaction_date: zod.z.string().describe("Filter by underlying transaction date (before this date, ISO 8601 datetime)").optional(),
21
+ from_transaction_date: zod.z.string().describe("Filter by underlying transaction date (after this date, ISO 8601 datetime)").optional(),
22
+ awaiting_approval_by_user_id: zod.z.string().describe("Filter for reimbursements awaiting approval by a specific user UUID").optional(),
23
+ accounting_field_selection_id: zod.z.string().describe("Filter reimbursements by accounting field selection UUID").optional()
24
+ });
25
+ const RampListReimbursements_LineItemAmountSchema = zod.z.object({
26
+ amount: zod.z.number().describe("Numeric value of the line item amount").nullable().optional(),
27
+ currency_code: zod.z.string().describe("Currency code for the line item").nullable().optional()
28
+ }).describe("Amount object for a line item.");
29
+ const RampListReimbursements_CategoryInfoSchema = zod.z.object({
30
+ id: zod.z.string().describe("Internal identifier for the category").nullable().optional(),
31
+ name: zod.z.string().describe("Name of the category").nullable().optional(),
32
+ type: zod.z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
33
+ external_id: zod.z.string().describe("External identifier for the category").nullable().optional()
34
+ }).describe("Category information for an accounting field.");
35
+ const RampListReimbursements_AccountingFieldSelectionSchema = zod.z.object({
36
+ id: zod.z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
37
+ name: zod.z.string().describe("Name of the accounting field selection").nullable().optional(),
38
+ type: zod.z.string().describe("Type of the accounting field selection").nullable().optional(),
39
+ external_id: zod.z.string().describe("External identifier for the accounting field selection").nullable().optional(),
40
+ category_info: RampListReimbursements_CategoryInfoSchema.nullable().optional()
41
+ }).describe("Accounting field selection with category information.");
42
+ const RampListReimbursements_LineItemSchema = zod.z.object({
43
+ amount: RampListReimbursements_LineItemAmountSchema.nullable().optional(),
44
+ accounting_field_selections: zod.z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item").nullable().optional()
45
+ }).describe("Individual line item within a reimbursement.");
46
+ const RampListReimbursements_ReimbursementSchema = zod.z.object({
47
+ id: zod.z.string().describe("Unique identifier for the reimbursement"),
48
+ state: zod.z.string().describe("Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)").nullable().optional(),
49
+ amount: zod.z.number().describe("Numeric value representing the reimbursement amount"),
50
+ user_id: zod.z.string().describe("Identifier for the user who submitted the reimbursement"),
51
+ currency: zod.z.string().describe("Currency code (e.g., USD, EUR)"),
52
+ distance: zod.z.number().describe("Distance for mileage reimbursements").nullable().optional(),
53
+ merchant: zod.z.string().describe("Name of the merchant where expense occurred").nullable().optional(),
54
+ receipts: zod.z.array(zod.z.string()).describe("Collection of receipt identifiers or references"),
55
+ direction: zod.z.string().describe("Direction of payment (e.g., BUSINESS_TO_USER)").nullable().optional(),
56
+ entity_id: zod.z.string().describe("Entity identifier for multi-entity organizations").nullable().optional(),
57
+ created_at: zod.z.string().describe("Timestamp indicating when the reimbursement was created (ISO 8601 format)").nullable().optional(),
58
+ line_items: zod.z.array(RampListReimbursements_LineItemSchema).describe("Array of individual line items within the reimbursement").nullable().optional(),
59
+ transaction_date: zod.z.string().describe("Date when the transaction took place (ISO 8601 format)").nullable().optional(),
60
+ accounting_field_selections: zod.z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe("Array of accounting field objects with category information").nullable().optional()
61
+ }).describe("A reimbursement object with all associated details.");
62
+ const RampListReimbursements_PageSchema = zod.z.object({ next: zod.z.string().describe("Token or URL for retrieving the next page of results").nullable().optional() }).describe("Pagination information for the response.");
63
+ const RampListReimbursementsOutput = zod.z.object({
64
+ data: zod.z.array(RampListReimbursements_ReimbursementSchema).describe("Array of reimbursement objects"),
65
+ page: RampListReimbursements_PageSchema.nullable().optional()
66
+ }).describe("Response containing a list of reimbursements with pagination.");
67
+ const rampListReimbursements = require_action.action("RAMP_LIST_REIMBURSEMENTS", {
68
+ slug: "ramp-list-reimbursements",
69
+ name: "List Reimbursements",
70
+ description: "Tool for listing reimbursements with comprehensive filtering options. Returns reimbursement details including amounts, status, sync information, and associated entities. Use this to analyze reimbursement patterns, track approval workflows, and manage expense reimbursements.",
71
+ input: RampListReimbursementsInput,
72
+ output: RampListReimbursementsOutput
73
+ });
74
+ //#endregion
75
+ exports.rampListReimbursements = rampListReimbursements;
76
+
77
+ //# sourceMappingURL=list-reimbursements.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reimbursements.cjs","names":["z","action"],"sources":["../../src/actions/list-reimbursements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListReimbursementsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n to_date: z.string().describe(\"Filter reimbursements created before this date (ISO 8601 datetime)\").optional(),\n trip_id: z.string().describe(\"Filter reimbursements associated with a specific trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n direction: z.string().describe(\"Filter by direction (BUSINESS_TO_USER default, USER_TO_BUSINESS for repayments)\").optional(),\n entity_id: z.string().describe(\"Filter reimbursements by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter reimbursements created after this date (ISO 8601 datetime)\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n sync_ready: z.boolean().describe(\"Filter reimbursements that are ready to sync to ERP systems\").optional(),\n sync_status: z.string().describe(\"Filter by sync status. Supersedes has_no_sync_commits and sync_ready\").optional(),\n synced_after: z.string().describe(\"Filter reimbursements synced after this date (ISO 8601 datetime)\").optional(),\n updated_after: z.string().describe(\"Filter reimbursements updated after this date (ISO 8601 datetime)\").optional(),\n to_submitted_at: z.string().describe(\"Filter reimbursements submitted before this date (ISO 8601 datetime)\").optional(),\n from_submitted_at: z.string().describe(\"Filter reimbursements submitted after this date (ISO 8601 datetime)\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter reimbursements that haven't been synced to ERP systems\").optional(),\n to_transaction_date: z.string().describe(\"Filter by underlying transaction date (before this date, ISO 8601 datetime)\").optional(),\n from_transaction_date: z.string().describe(\"Filter by underlying transaction date (after this date, ISO 8601 datetime)\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for reimbursements awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter reimbursements by accounting field selection UUID\").optional(),\n});\nconst RampListReimbursements_LineItemAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Numeric value of the line item amount\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable().optional(),\n}).describe(\"Amount object for a line item.\");\nconst RampListReimbursements_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 RampListReimbursements_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 external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampListReimbursements_CategoryInfoSchema.nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampListReimbursements_LineItemSchema: z.ZodTypeAny = z.object({\n amount: RampListReimbursements_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).describe(\"Individual line item within a reimbursement.\");\nconst RampListReimbursements_ReimbursementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the reimbursement\"),\n state: z.string().describe(\"Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)\").nullable().optional(),\n amount: z.number().describe(\"Numeric value representing the reimbursement amount\"),\n user_id: z.string().describe(\"Identifier for the user who submitted the reimbursement\"),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\n distance: z.number().describe(\"Distance for mileage reimbursements\").nullable().optional(),\n merchant: z.string().describe(\"Name of the merchant where expense occurred\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"Collection of receipt identifiers or references\"),\n direction: z.string().describe(\"Direction of payment (e.g., BUSINESS_TO_USER)\").nullable().optional(),\n entity_id: z.string().describe(\"Entity identifier for multi-entity organizations\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp indicating when the reimbursement was created (ISO 8601 format)\").nullable().optional(),\n line_items: z.array(RampListReimbursements_LineItemSchema).describe(\"Array of individual line items within the reimbursement\").nullable().optional(),\n transaction_date: z.string().describe(\"Date when the transaction took place (ISO 8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe(\"Array of accounting field objects with category information\").nullable().optional(),\n}).describe(\"A reimbursement object with all associated details.\");\nconst RampListReimbursements_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token or URL for retrieving the next page of results\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RampListReimbursementsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListReimbursements_ReimbursementSchema).describe(\"Array of reimbursement objects\"),\n page: RampListReimbursements_PageSchema.nullable().optional(),\n}).describe(\"Response containing a list of reimbursements with pagination.\");\n\nexport const rampListReimbursements = action(\"RAMP_LIST_REIMBURSEMENTS\", {\n slug: \"ramp-list-reimbursements\",\n name: \"List Reimbursements\",\n description: \"Tool for listing reimbursements with comprehensive filtering options. Returns reimbursement details including amounts, status, sync information, and associated entities. Use this to analyze reimbursement patterns, track approval workflows, and manage expense reimbursements.\",\n input: RampListReimbursementsInput,\n output: RampListReimbursementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAA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A,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACnG,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/list-reimbursements.d.ts
4
+ declare const RampListReimbursementsInput: z.ZodTypeAny;
5
+ declare const RampListReimbursementsOutput: z.ZodTypeAny;
6
+ declare const rampListReimbursements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListReimbursements };
9
+ //# sourceMappingURL=list-reimbursements.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reimbursements.d.cts","names":[],"sources":["../../src/actions/list-reimbursements.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAoB1C;AAAA,cAyCW,4BAAA,EAA8B,CAAA,CAAE,UAG+B;AAAA,cAE/D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-reimbursements.d.ts
4
+ declare const RampListReimbursementsInput: z.ZodTypeAny;
5
+ declare const RampListReimbursementsOutput: z.ZodTypeAny;
6
+ declare const rampListReimbursements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListReimbursements };
9
+ //# sourceMappingURL=list-reimbursements.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reimbursements.d.mts","names":[],"sources":["../../src/actions/list-reimbursements.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAoB1C;AAAA,cAyCW,4BAAA,EAA8B,CAAA,CAAE,UAG+B;AAAA,cAE/D,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,76 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-reimbursements.ts
4
+ const RampListReimbursementsInput = z.object({
5
+ start: z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ to_date: z.string().describe("Filter reimbursements created before this date (ISO 8601 datetime)").optional(),
7
+ trip_id: z.string().describe("Filter reimbursements associated with a specific trip UUID").optional(),
8
+ user_id: z.string().describe("Filter by user UUID").optional(),
9
+ direction: z.string().describe("Filter by direction (BUSINESS_TO_USER default, USER_TO_BUSINESS for repayments)").optional(),
10
+ entity_id: z.string().describe("Filter reimbursements by business entity UUID").optional(),
11
+ from_date: z.string().describe("Filter reimbursements created after this date (ISO 8601 datetime)").optional(),
12
+ page_size: z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional(),
13
+ sync_ready: z.boolean().describe("Filter reimbursements that are ready to sync to ERP systems").optional(),
14
+ sync_status: z.string().describe("Filter by sync status. Supersedes has_no_sync_commits and sync_ready").optional(),
15
+ synced_after: z.string().describe("Filter reimbursements synced after this date (ISO 8601 datetime)").optional(),
16
+ updated_after: z.string().describe("Filter reimbursements updated after this date (ISO 8601 datetime)").optional(),
17
+ to_submitted_at: z.string().describe("Filter reimbursements submitted before this date (ISO 8601 datetime)").optional(),
18
+ from_submitted_at: z.string().describe("Filter reimbursements submitted after this date (ISO 8601 datetime)").optional(),
19
+ has_no_sync_commits: z.boolean().describe("Filter reimbursements that haven't been synced to ERP systems").optional(),
20
+ to_transaction_date: z.string().describe("Filter by underlying transaction date (before this date, ISO 8601 datetime)").optional(),
21
+ from_transaction_date: z.string().describe("Filter by underlying transaction date (after this date, ISO 8601 datetime)").optional(),
22
+ awaiting_approval_by_user_id: z.string().describe("Filter for reimbursements awaiting approval by a specific user UUID").optional(),
23
+ accounting_field_selection_id: z.string().describe("Filter reimbursements by accounting field selection UUID").optional()
24
+ });
25
+ const RampListReimbursements_LineItemAmountSchema = z.object({
26
+ amount: z.number().describe("Numeric value of the line item amount").nullable().optional(),
27
+ currency_code: z.string().describe("Currency code for the line item").nullable().optional()
28
+ }).describe("Amount object for a line item.");
29
+ const RampListReimbursements_CategoryInfoSchema = z.object({
30
+ id: z.string().describe("Internal identifier for the category").nullable().optional(),
31
+ name: z.string().describe("Name of the category").nullable().optional(),
32
+ type: z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
33
+ external_id: z.string().describe("External identifier for the category").nullable().optional()
34
+ }).describe("Category information for an accounting field.");
35
+ const RampListReimbursements_AccountingFieldSelectionSchema = z.object({
36
+ id: z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
37
+ name: z.string().describe("Name of the accounting field selection").nullable().optional(),
38
+ type: z.string().describe("Type of the accounting field selection").nullable().optional(),
39
+ external_id: z.string().describe("External identifier for the accounting field selection").nullable().optional(),
40
+ category_info: RampListReimbursements_CategoryInfoSchema.nullable().optional()
41
+ }).describe("Accounting field selection with category information.");
42
+ const RampListReimbursements_LineItemSchema = z.object({
43
+ amount: RampListReimbursements_LineItemAmountSchema.nullable().optional(),
44
+ accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item").nullable().optional()
45
+ }).describe("Individual line item within a reimbursement.");
46
+ const RampListReimbursements_ReimbursementSchema = z.object({
47
+ id: z.string().describe("Unique identifier for the reimbursement"),
48
+ state: z.string().describe("Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)").nullable().optional(),
49
+ amount: z.number().describe("Numeric value representing the reimbursement amount"),
50
+ user_id: z.string().describe("Identifier for the user who submitted the reimbursement"),
51
+ currency: z.string().describe("Currency code (e.g., USD, EUR)"),
52
+ distance: z.number().describe("Distance for mileage reimbursements").nullable().optional(),
53
+ merchant: z.string().describe("Name of the merchant where expense occurred").nullable().optional(),
54
+ receipts: z.array(z.string()).describe("Collection of receipt identifiers or references"),
55
+ direction: z.string().describe("Direction of payment (e.g., BUSINESS_TO_USER)").nullable().optional(),
56
+ entity_id: z.string().describe("Entity identifier for multi-entity organizations").nullable().optional(),
57
+ created_at: z.string().describe("Timestamp indicating when the reimbursement was created (ISO 8601 format)").nullable().optional(),
58
+ line_items: z.array(RampListReimbursements_LineItemSchema).describe("Array of individual line items within the reimbursement").nullable().optional(),
59
+ transaction_date: z.string().describe("Date when the transaction took place (ISO 8601 format)").nullable().optional(),
60
+ accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe("Array of accounting field objects with category information").nullable().optional()
61
+ }).describe("A reimbursement object with all associated details.");
62
+ const RampListReimbursements_PageSchema = z.object({ next: z.string().describe("Token or URL for retrieving the next page of results").nullable().optional() }).describe("Pagination information for the response.");
63
+ const rampListReimbursements = action("RAMP_LIST_REIMBURSEMENTS", {
64
+ slug: "ramp-list-reimbursements",
65
+ name: "List Reimbursements",
66
+ description: "Tool for listing reimbursements with comprehensive filtering options. Returns reimbursement details including amounts, status, sync information, and associated entities. Use this to analyze reimbursement patterns, track approval workflows, and manage expense reimbursements.",
67
+ input: RampListReimbursementsInput,
68
+ output: z.object({
69
+ data: z.array(RampListReimbursements_ReimbursementSchema).describe("Array of reimbursement objects"),
70
+ page: RampListReimbursements_PageSchema.nullable().optional()
71
+ }).describe("Response containing a list of reimbursements with pagination.")
72
+ });
73
+ //#endregion
74
+ export { rampListReimbursements };
75
+
76
+ //# sourceMappingURL=list-reimbursements.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-reimbursements.mjs","names":[],"sources":["../../src/actions/list-reimbursements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListReimbursementsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n to_date: z.string().describe(\"Filter reimbursements created before this date (ISO 8601 datetime)\").optional(),\n trip_id: z.string().describe(\"Filter reimbursements associated with a specific trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n direction: z.string().describe(\"Filter by direction (BUSINESS_TO_USER default, USER_TO_BUSINESS for repayments)\").optional(),\n entity_id: z.string().describe(\"Filter reimbursements by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter reimbursements created after this date (ISO 8601 datetime)\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n sync_ready: z.boolean().describe(\"Filter reimbursements that are ready to sync to ERP systems\").optional(),\n sync_status: z.string().describe(\"Filter by sync status. Supersedes has_no_sync_commits and sync_ready\").optional(),\n synced_after: z.string().describe(\"Filter reimbursements synced after this date (ISO 8601 datetime)\").optional(),\n updated_after: z.string().describe(\"Filter reimbursements updated after this date (ISO 8601 datetime)\").optional(),\n to_submitted_at: z.string().describe(\"Filter reimbursements submitted before this date (ISO 8601 datetime)\").optional(),\n from_submitted_at: z.string().describe(\"Filter reimbursements submitted after this date (ISO 8601 datetime)\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter reimbursements that haven't been synced to ERP systems\").optional(),\n to_transaction_date: z.string().describe(\"Filter by underlying transaction date (before this date, ISO 8601 datetime)\").optional(),\n from_transaction_date: z.string().describe(\"Filter by underlying transaction date (after this date, ISO 8601 datetime)\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for reimbursements awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter reimbursements by accounting field selection UUID\").optional(),\n});\nconst RampListReimbursements_LineItemAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().describe(\"Numeric value of the line item amount\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable().optional(),\n}).describe(\"Amount object for a line item.\");\nconst RampListReimbursements_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 RampListReimbursements_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 external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampListReimbursements_CategoryInfoSchema.nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampListReimbursements_LineItemSchema: z.ZodTypeAny = z.object({\n amount: RampListReimbursements_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).describe(\"Individual line item within a reimbursement.\");\nconst RampListReimbursements_ReimbursementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the reimbursement\"),\n state: z.string().describe(\"Current state of the reimbursement (e.g., PENDING, APPROVED, DECLINED, PAID)\").nullable().optional(),\n amount: z.number().describe(\"Numeric value representing the reimbursement amount\"),\n user_id: z.string().describe(\"Identifier for the user who submitted the reimbursement\"),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\n distance: z.number().describe(\"Distance for mileage reimbursements\").nullable().optional(),\n merchant: z.string().describe(\"Name of the merchant where expense occurred\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"Collection of receipt identifiers or references\"),\n direction: z.string().describe(\"Direction of payment (e.g., BUSINESS_TO_USER)\").nullable().optional(),\n entity_id: z.string().describe(\"Entity identifier for multi-entity organizations\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp indicating when the reimbursement was created (ISO 8601 format)\").nullable().optional(),\n line_items: z.array(RampListReimbursements_LineItemSchema).describe(\"Array of individual line items within the reimbursement\").nullable().optional(),\n transaction_date: z.string().describe(\"Date when the transaction took place (ISO 8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampListReimbursements_AccountingFieldSelectionSchema).describe(\"Array of accounting field objects with category information\").nullable().optional(),\n}).describe(\"A reimbursement object with all associated details.\");\nconst RampListReimbursements_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token or URL for retrieving the next page of results\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RampListReimbursementsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListReimbursements_ReimbursementSchema).describe(\"Array of reimbursement objects\"),\n page: RampListReimbursements_PageSchema.nullable().optional(),\n}).describe(\"Response containing a list of reimbursements with pagination.\");\n\nexport const rampListReimbursements = action(\"RAMP_LIST_REIMBURSEMENTS\", {\n slug: \"ramp-list-reimbursements\",\n name: \"List Reimbursements\",\n description: \"Tool for listing reimbursements with comprehensive filtering options. Returns reimbursement details including amounts, status, sync information, and associated entities. Use this to analyze reimbursement patterns, track approval workflows, and manage expense reimbursements.\",\n input: RampListReimbursementsInput,\n output: RampListReimbursementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC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AAS,CAAC,CAAC,SAAS;AAC1L,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,oCAAkD,EAAE,OAAO,EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;EACnG,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-statements.ts
4
+ const RampListStatementsInput = zod.z.object({
5
+ start: zod.z.string().describe("ID of the last entity of the previous page for pagination").optional(),
6
+ to_date: zod.z.string().describe("Filter statements with end_date on or before this date (ISO 8601 datetime). Defaults to current time").optional(),
7
+ from_date: zod.z.string().describe("Filter statements with end_date on or after this date (ISO 8601 datetime)").optional(),
8
+ page_size: zod.z.number().int().default(20).describe("Number of results per page (2-100, default: 20)").optional()
9
+ });
10
+ const RampListStatements_MoneySchema = zod.z.object({
11
+ amount: zod.z.number().int().describe("Amount in minor units (e.g., cents for USD)"),
12
+ currency_code: zod.z.string().describe("ISO 4217 currency code (e.g., 'USD')"),
13
+ minor_unit_conversion_rate: zod.z.number().int().describe("Conversion rate from minor to major units (e.g., 100 for USD)")
14
+ }).describe("Represents a monetary amount with currency information.");
15
+ const RampListStatements_StatementLineSchema = zod.z.object({
16
+ id: zod.z.string().describe("Unique identifier of the statement line"),
17
+ type: zod.z.string().describe("Type of statement line (e.g., 'CARD_TRANSACTION', 'TRANSFER_PAYMENT')"),
18
+ cleared_at: zod.z.string().describe("When the line item was cleared in ISO 8601 format. May be absent for some line types like TRANSFER_PAYMENT").nullable().optional(),
19
+ created_at: zod.z.string().describe("When the line item was created in ISO 8601 format")
20
+ }).describe("Represents a line item within a statement.");
21
+ const RampListStatements_BalanceSectionSchema = zod.z.object({
22
+ id: zod.z.string().describe("Unique identifier of the balance section"),
23
+ charges: RampListStatements_MoneySchema.nullable(),
24
+ credits: RampListStatements_MoneySchema.nullable(),
25
+ payments: RampListStatements_MoneySchema.nullable(),
26
+ entity_id: zod.z.string().describe("Unique identifier of the associated entity"),
27
+ ending_balance: RampListStatements_MoneySchema.nullable(),
28
+ opening_balance: RampListStatements_MoneySchema.nullable()
29
+ }).describe("Represents a balance section within a statement, typically for a specific entity.");
30
+ const RampListStatements_StatementSchema = zod.z.object({
31
+ id: zod.z.string().describe("Unique identifier of the statement"),
32
+ charges: RampListStatements_MoneySchema.nullable(),
33
+ credits: RampListStatements_MoneySchema.nullable(),
34
+ end_date: zod.z.string().describe("End date of the statement period in ISO 8601 format"),
35
+ payments: RampListStatements_MoneySchema.nullable(),
36
+ entity_id: zod.z.string().describe("Unique identifier of the associated entity").nullable().optional(),
37
+ start_date: zod.z.string().describe("Start date of the statement period in ISO 8601 format"),
38
+ business_id: zod.z.string().describe("Unique identifier of the associated business entity").nullable().optional(),
39
+ statement_url: zod.z.string().describe("URL to download the statement PDF"),
40
+ ending_balance: RampListStatements_MoneySchema.nullable(),
41
+ opening_balance: RampListStatements_MoneySchema.nullable(),
42
+ statement_lines: zod.z.array(RampListStatements_StatementLineSchema).describe("List of line items in the statement"),
43
+ balance_sections: zod.z.array(RampListStatements_BalanceSectionSchema).describe("Balance breakdown by entity or category")
44
+ }).describe("Represents a statement from the Ramp API.");
45
+ const RampListStatements_PageSchema = zod.z.object({ next: zod.z.string().describe("URL for retrieving the next page of results. Present when more results are available.").nullable().optional() }).describe("Pagination metadata for navigating through the list of statements.");
46
+ const RampListStatementsOutput = zod.z.object({
47
+ data: zod.z.array(RampListStatements_StatementSchema).describe("Array of statement objects returned by the list statements endpoint."),
48
+ page: RampListStatements_PageSchema.nullable()
49
+ }).describe("Response from listing statements with filtering options.");
50
+ const rampListStatements = require_action.action("RAMP_LIST_STATEMENTS", {
51
+ slug: "ramp-list-statements",
52
+ name: "List Statements",
53
+ description: "Tool for listing all statements with filtering options. Perfect for financial reporting and reconciliation workflows.",
54
+ input: RampListStatementsInput,
55
+ output: RampListStatementsOutput
56
+ });
57
+ //#endregion
58
+ exports.rampListStatements = rampListStatements;
59
+
60
+ //# sourceMappingURL=list-statements.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-statements.cjs","names":["z","action"],"sources":["../../src/actions/list-statements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListStatementsInput: z.ZodTypeAny = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n to_date: z.string().describe(\"Filter statements with end_date on or before this date (ISO 8601 datetime). Defaults to current time\").optional(),\n from_date: z.string().describe(\"Filter statements with end_date on or after this date (ISO 8601 datetime)\").optional(),\n page_size: z.number().int().default(20).describe(\"Number of results per page (2-100, default: 20)\").optional(),\n});\nconst RampListStatements_MoneySchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\"),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\"),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor to major units (e.g., 100 for USD)\"),\n}).describe(\"Represents a monetary amount with currency information.\");\nconst RampListStatements_StatementLineSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the statement line\"),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION', 'TRANSFER_PAYMENT')\"),\n cleared_at: z.string().describe(\"When the line item was cleared in ISO 8601 format. May be absent for some line types like TRANSFER_PAYMENT\").nullable().optional(),\n created_at: z.string().describe(\"When the line item was created in ISO 8601 format\"),\n}).describe(\"Represents a line item within a statement.\");\nconst RampListStatements_BalanceSectionSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the balance section\"),\n charges: RampListStatements_MoneySchema.nullable(),\n credits: RampListStatements_MoneySchema.nullable(),\n payments: RampListStatements_MoneySchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated entity\"),\n ending_balance: RampListStatements_MoneySchema.nullable(),\n opening_balance: RampListStatements_MoneySchema.nullable(),\n}).describe(\"Represents a balance section within a statement, typically for a specific entity.\");\nconst RampListStatements_StatementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the statement\"),\n charges: RampListStatements_MoneySchema.nullable(),\n credits: RampListStatements_MoneySchema.nullable(),\n end_date: z.string().describe(\"End date of the statement period in ISO 8601 format\"),\n payments: RampListStatements_MoneySchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated entity\").nullable().optional(),\n start_date: z.string().describe(\"Start date of the statement period in ISO 8601 format\"),\n business_id: z.string().describe(\"Unique identifier of the associated business entity\").nullable().optional(),\n statement_url: z.string().describe(\"URL to download the statement PDF\"),\n ending_balance: RampListStatements_MoneySchema.nullable(),\n opening_balance: RampListStatements_MoneySchema.nullable(),\n statement_lines: z.array(RampListStatements_StatementLineSchema).describe(\"List of line items in the statement\"),\n balance_sections: z.array(RampListStatements_BalanceSectionSchema).describe(\"Balance breakdown by entity or category\"),\n}).describe(\"Represents a statement from the Ramp API.\");\nconst RampListStatements_PageSchema: z.ZodTypeAny = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through the list of statements.\");\nexport const RampListStatementsOutput: z.ZodTypeAny = z.object({\n data: z.array(RampListStatements_StatementSchema).describe(\"Array of statement objects returned by the list statements endpoint.\"),\n page: RampListStatements_PageSchema.nullable(),\n}).describe(\"Response from listing statements with filtering options.\");\n\nexport const rampListStatements = action(\"RAMP_LIST_STATEMENTS\", {\n slug: \"ramp-list-statements\",\n name: \"List Statements\",\n description: \"Tool for listing all statements with filtering options. Perfect for financial reporting and reconciliation workflows.\",\n input: RampListStatementsInput,\n output: RampListStatementsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAM,iCAA+CA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAC/E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACzE,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;AACrF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,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AAChF,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sEAAsE;CACjI,MAAM,8BAA8B,SAAS;AAC/C,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,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/list-statements.d.ts
4
+ declare const RampListStatementsInput: z.ZodTypeAny;
5
+ declare const RampListStatementsOutput: z.ZodTypeAny;
6
+ declare const rampListStatements: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rampListStatements };
9
+ //# sourceMappingURL=list-statements.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-statements.d.cts","names":[],"sources":["../../src/actions/list-statements.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKtC;AAAA,cAuCW,wBAAA,EAA0B,CAAA,CAAE,UAG8B;AAAA,cAE1D,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}