@keystrokehq/ramp 0.1.2 → 0.1.3

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 (540) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/create-department.cjs +1 -1
  3. package/dist/actions/create-department.cjs.map +1 -1
  4. package/dist/actions/create-department.d.cts +1 -1
  5. package/dist/actions/create-department.d.mts +1 -1
  6. package/dist/actions/create-department.mjs +1 -1
  7. package/dist/actions/create-department.mjs.map +1 -1
  8. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
  9. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  10. package/dist/actions/create-inventory-item-accounting-field.d.cts +1 -1
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +1 -1
  12. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  14. package/dist/actions/create-memo.cjs +1 -1
  15. package/dist/actions/create-memo.cjs.map +1 -1
  16. package/dist/actions/create-memo.d.cts +1 -1
  17. package/dist/actions/create-memo.d.mts +1 -1
  18. package/dist/actions/create-memo.mjs +1 -1
  19. package/dist/actions/create-memo.mjs.map +1 -1
  20. package/dist/actions/create-mileage-reimbursement.cjs +9 -9
  21. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  22. package/dist/actions/create-mileage-reimbursement.d.cts +13 -13
  23. package/dist/actions/create-mileage-reimbursement.d.mts +13 -13
  24. package/dist/actions/create-mileage-reimbursement.mjs +9 -9
  25. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  26. package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
  27. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  28. package/dist/actions/create-new-custom-accounting-field.d.cts +1 -1
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +1 -1
  30. package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
  31. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  32. package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
  33. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  34. package/dist/actions/create-tax-code-accounting-field.d.cts +1 -1
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +1 -1
  36. package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
  37. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  38. package/dist/actions/create-user-invite.cjs +1 -1
  39. package/dist/actions/create-user-invite.cjs.map +1 -1
  40. package/dist/actions/create-user-invite.d.cts +1 -1
  41. package/dist/actions/create-user-invite.d.mts +1 -1
  42. package/dist/actions/create-user-invite.mjs +1 -1
  43. package/dist/actions/create-user-invite.mjs.map +1 -1
  44. package/dist/actions/create-webhook-subscription.cjs +3 -3
  45. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  46. package/dist/actions/create-webhook-subscription.d.cts +4 -4
  47. package/dist/actions/create-webhook-subscription.d.mts +4 -4
  48. package/dist/actions/create-webhook-subscription.mjs +3 -3
  49. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  50. package/dist/actions/deactivate-user.cjs +1 -1
  51. package/dist/actions/deactivate-user.cjs.map +1 -1
  52. package/dist/actions/deactivate-user.d.cts +1 -1
  53. package/dist/actions/deactivate-user.d.cts.map +1 -1
  54. package/dist/actions/deactivate-user.d.mts +1 -1
  55. package/dist/actions/deactivate-user.d.mts.map +1 -1
  56. package/dist/actions/deactivate-user.mjs +1 -1
  57. package/dist/actions/deactivate-user.mjs.map +1 -1
  58. package/dist/actions/delete-accounting-account.cjs +1 -1
  59. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.d.cts +1 -1
  61. package/dist/actions/delete-accounting-account.d.mts +1 -1
  62. package/dist/actions/delete-accounting-account.mjs +1 -1
  63. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  64. package/dist/actions/delete-accounting-connection.cjs +1 -1
  65. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.d.cts +1 -1
  67. package/dist/actions/delete-accounting-connection.d.mts +1 -1
  68. package/dist/actions/delete-accounting-connection.mjs +1 -1
  69. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  70. package/dist/actions/delete-accounting-fields.cjs +1 -1
  71. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  72. package/dist/actions/delete-accounting-fields.d.cts +1 -1
  73. package/dist/actions/delete-accounting-fields.d.mts +1 -1
  74. package/dist/actions/delete-accounting-fields.mjs +1 -1
  75. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  76. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  77. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  78. package/dist/actions/delete-accounting-inventory-item-options.d.cts +1 -1
  79. package/dist/actions/delete-accounting-inventory-item-options.d.mts +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  82. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  83. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  84. package/dist/actions/delete-accounting-tax-code-options.d.cts +1 -1
  85. package/dist/actions/delete-accounting-tax-code-options.d.mts +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  89. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  90. package/dist/actions/delete-accounting-tax-code.d.cts +1 -1
  91. package/dist/actions/delete-accounting-tax-code.d.mts +1 -1
  92. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  95. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  96. package/dist/actions/delete-accounting-tax-rates.d.cts +1 -1
  97. package/dist/actions/delete-accounting-tax-rates.d.mts +1 -1
  98. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  101. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-vendors.d.cts +1 -1
  103. package/dist/actions/delete-accounting-vendors.d.mts +1 -1
  104. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  105. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  106. package/dist/actions/delete-custom-field-option.cjs +1 -1
  107. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  108. package/dist/actions/delete-custom-field-option.d.cts +1 -1
  109. package/dist/actions/delete-custom-field-option.d.mts +1 -1
  110. package/dist/actions/delete-custom-field-option.mjs +1 -1
  111. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  112. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  113. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  114. package/dist/actions/delete-inventory-item-field.d.cts +1 -1
  115. package/dist/actions/delete-inventory-item-field.d.mts +1 -1
  116. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  117. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  118. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  119. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  120. package/dist/actions/delete-spend-allocation-delete-users.d.cts +13 -13
  121. package/dist/actions/delete-spend-allocation-delete-users.d.mts +13 -13
  122. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  123. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  124. package/dist/actions/delete-webhook.cjs +1 -1
  125. package/dist/actions/delete-webhook.cjs.map +1 -1
  126. package/dist/actions/delete-webhook.d.cts +1 -1
  127. package/dist/actions/delete-webhook.d.mts +1 -1
  128. package/dist/actions/delete-webhook.mjs +1 -1
  129. package/dist/actions/delete-webhook.mjs.map +1 -1
  130. package/dist/actions/fetch-accounting-account.cjs +2 -2
  131. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  132. package/dist/actions/fetch-accounting-account.d.cts +2 -2
  133. package/dist/actions/fetch-accounting-account.d.mts +2 -2
  134. package/dist/actions/fetch-accounting-account.mjs +2 -2
  135. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  136. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  137. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  138. package/dist/actions/fetch-accounting-vendor.d.cts +2 -2
  139. package/dist/actions/fetch-accounting-vendor.d.mts +2 -2
  140. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  141. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  142. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  143. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  144. package/dist/actions/fetch-custom-accounting-field.d.cts +2 -2
  145. package/dist/actions/fetch-custom-accounting-field.d.mts +2 -2
  146. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  147. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  148. package/dist/actions/get-accounting-accounts.cjs +4 -4
  149. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  150. package/dist/actions/get-accounting-accounts.d.cts +4 -4
  151. package/dist/actions/get-accounting-accounts.d.mts +4 -4
  152. package/dist/actions/get-accounting-accounts.mjs +4 -4
  153. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  154. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  155. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  156. package/dist/actions/get-accounting-all-connections.d.cts +2 -2
  157. package/dist/actions/get-accounting-all-connections.d.mts +2 -2
  158. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  159. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  160. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  161. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  162. package/dist/actions/get-accounting-connection-by-id.d.cts +2 -2
  163. package/dist/actions/get-accounting-connection-by-id.d.mts +2 -2
  164. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  165. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  166. package/dist/actions/get-accounting-connection.cjs +2 -2
  167. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  168. package/dist/actions/get-accounting-connection.d.cts +2 -2
  169. package/dist/actions/get-accounting-connection.d.mts +2 -2
  170. package/dist/actions/get-accounting-connection.mjs +2 -2
  171. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  172. package/dist/actions/get-accounting-fields.cjs +3 -3
  173. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  174. package/dist/actions/get-accounting-fields.d.cts +3 -3
  175. package/dist/actions/get-accounting-fields.d.mts +3 -3
  176. package/dist/actions/get-accounting-fields.mjs +3 -3
  177. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  178. package/dist/actions/get-accounting-vendors.cjs +3 -3
  179. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  180. package/dist/actions/get-accounting-vendors.d.cts +3 -3
  181. package/dist/actions/get-accounting-vendors.d.mts +3 -3
  182. package/dist/actions/get-accounting-vendors.mjs +3 -3
  183. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  184. package/dist/actions/get-all-transactions.cjs +3 -3
  185. package/dist/actions/get-all-transactions.cjs.map +1 -1
  186. package/dist/actions/get-all-transactions.d.cts +3 -3
  187. package/dist/actions/get-all-transactions.d.mts +3 -3
  188. package/dist/actions/get-all-transactions.mjs +3 -3
  189. package/dist/actions/get-all-transactions.mjs.map +1 -1
  190. package/dist/actions/get-card-vault-resource.cjs +1 -1
  191. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  192. package/dist/actions/get-card-vault-resource.d.cts +1 -1
  193. package/dist/actions/get-card-vault-resource.d.mts +1 -1
  194. package/dist/actions/get-card-vault-resource.mjs +1 -1
  195. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  196. package/dist/actions/get-card.cjs +5 -5
  197. package/dist/actions/get-card.cjs.map +1 -1
  198. package/dist/actions/get-card.d.cts +5 -5
  199. package/dist/actions/get-card.d.mts +5 -5
  200. package/dist/actions/get-card.mjs +5 -5
  201. package/dist/actions/get-card.mjs.map +1 -1
  202. package/dist/actions/get-custom-field-option.cjs +1 -1
  203. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  204. package/dist/actions/get-custom-field-option.d.cts +1 -1
  205. package/dist/actions/get-custom-field-option.d.mts +1 -1
  206. package/dist/actions/get-custom-field-option.mjs +1 -1
  207. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  208. package/dist/actions/get-department.cjs +1 -1
  209. package/dist/actions/get-department.cjs.map +1 -1
  210. package/dist/actions/get-department.d.cts +1 -1
  211. package/dist/actions/get-department.d.mts +1 -1
  212. package/dist/actions/get-department.mjs +1 -1
  213. package/dist/actions/get-department.mjs.map +1 -1
  214. package/dist/actions/get-inventory-item-field.cjs +1 -1
  215. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  216. package/dist/actions/get-inventory-item-field.d.cts +1 -1
  217. package/dist/actions/get-inventory-item-field.d.mts +1 -1
  218. package/dist/actions/get-inventory-item-field.mjs +1 -1
  219. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  220. package/dist/actions/get-memo.cjs +1 -1
  221. package/dist/actions/get-memo.cjs.map +1 -1
  222. package/dist/actions/get-memo.d.cts +1 -1
  223. package/dist/actions/get-memo.d.mts +1 -1
  224. package/dist/actions/get-memo.mjs +1 -1
  225. package/dist/actions/get-memo.mjs.map +1 -1
  226. package/dist/actions/get-reimbursement.cjs +5 -5
  227. package/dist/actions/get-reimbursement.cjs.map +1 -1
  228. package/dist/actions/get-reimbursement.d.cts +7 -7
  229. package/dist/actions/get-reimbursement.d.mts +7 -7
  230. package/dist/actions/get-reimbursement.mjs +5 -5
  231. package/dist/actions/get-reimbursement.mjs.map +1 -1
  232. package/dist/actions/get-spend-limit.cjs +14 -14
  233. package/dist/actions/get-spend-limit.cjs.map +1 -1
  234. package/dist/actions/get-spend-limit.d.cts +19 -19
  235. package/dist/actions/get-spend-limit.d.mts +19 -19
  236. package/dist/actions/get-spend-limit.mjs +14 -14
  237. package/dist/actions/get-spend-limit.mjs.map +1 -1
  238. package/dist/actions/get-statement.cjs +1 -1
  239. package/dist/actions/get-statement.cjs.map +1 -1
  240. package/dist/actions/get-statement.d.cts +1 -1
  241. package/dist/actions/get-statement.d.mts +1 -1
  242. package/dist/actions/get-statement.mjs +1 -1
  243. package/dist/actions/get-statement.mjs.map +1 -1
  244. package/dist/actions/get-transaction.cjs +1 -1
  245. package/dist/actions/get-transaction.cjs.map +1 -1
  246. package/dist/actions/get-transaction.d.cts +1 -1
  247. package/dist/actions/get-transaction.d.mts +1 -1
  248. package/dist/actions/get-transaction.mjs +1 -1
  249. package/dist/actions/get-transaction.mjs.map +1 -1
  250. package/dist/actions/get-user.cjs +2 -2
  251. package/dist/actions/get-user.cjs.map +1 -1
  252. package/dist/actions/get-user.d.cts +2 -2
  253. package/dist/actions/get-user.d.mts +2 -2
  254. package/dist/actions/get-user.mjs +2 -2
  255. package/dist/actions/get-user.mjs.map +1 -1
  256. package/dist/actions/get-users-deferred-status.cjs +3 -3
  257. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  258. package/dist/actions/get-users-deferred-status.d.cts +3 -3
  259. package/dist/actions/get-users-deferred-status.d.mts +3 -3
  260. package/dist/actions/get-users-deferred-status.mjs +3 -3
  261. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  262. package/dist/actions/get-vendor.cjs +3 -3
  263. package/dist/actions/get-vendor.cjs.map +1 -1
  264. package/dist/actions/get-vendor.d.cts +6 -6
  265. package/dist/actions/get-vendor.d.mts +6 -6
  266. package/dist/actions/get-vendor.mjs +3 -3
  267. package/dist/actions/get-vendor.mjs.map +1 -1
  268. package/dist/actions/get-webhook.cjs +1 -1
  269. package/dist/actions/get-webhook.cjs.map +1 -1
  270. package/dist/actions/get-webhook.d.cts +1 -1
  271. package/dist/actions/get-webhook.d.mts +1 -1
  272. package/dist/actions/get-webhook.mjs +1 -1
  273. package/dist/actions/get-webhook.mjs.map +1 -1
  274. package/dist/actions/issue-virtual-card.cjs +3 -3
  275. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  276. package/dist/actions/issue-virtual-card.d.cts +3 -3
  277. package/dist/actions/issue-virtual-card.d.mts +3 -3
  278. package/dist/actions/issue-virtual-card.mjs +3 -3
  279. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  280. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  281. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  282. package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -3
  283. package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -3
  284. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  285. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  286. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  287. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  288. package/dist/actions/list-accounting-tax-rates.d.cts +3 -3
  289. package/dist/actions/list-accounting-tax-rates.d.mts +3 -3
  290. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  291. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  292. package/dist/actions/list-cards.cjs +7 -7
  293. package/dist/actions/list-cards.cjs.map +1 -1
  294. package/dist/actions/list-cards.d.cts +7 -7
  295. package/dist/actions/list-cards.d.mts +7 -7
  296. package/dist/actions/list-cards.mjs +7 -7
  297. package/dist/actions/list-cards.mjs.map +1 -1
  298. package/dist/actions/list-departments.cjs +3 -3
  299. package/dist/actions/list-departments.cjs.map +1 -1
  300. package/dist/actions/list-departments.d.cts +3 -3
  301. package/dist/actions/list-departments.d.mts +3 -3
  302. package/dist/actions/list-departments.mjs +3 -3
  303. package/dist/actions/list-departments.mjs.map +1 -1
  304. package/dist/actions/list-memos.cjs +3 -3
  305. package/dist/actions/list-memos.cjs.map +1 -1
  306. package/dist/actions/list-memos.d.cts +3 -3
  307. package/dist/actions/list-memos.d.mts +3 -3
  308. package/dist/actions/list-memos.mjs +3 -3
  309. package/dist/actions/list-memos.mjs.map +1 -1
  310. package/dist/actions/list-reimbursements.cjs +7 -7
  311. package/dist/actions/list-reimbursements.cjs.map +1 -1
  312. package/dist/actions/list-reimbursements.d.cts +9 -9
  313. package/dist/actions/list-reimbursements.d.mts +9 -9
  314. package/dist/actions/list-reimbursements.mjs +7 -7
  315. package/dist/actions/list-reimbursements.mjs.map +1 -1
  316. package/dist/actions/list-statements.cjs +6 -6
  317. package/dist/actions/list-statements.cjs.map +1 -1
  318. package/dist/actions/list-statements.d.cts +15 -15
  319. package/dist/actions/list-statements.d.mts +15 -15
  320. package/dist/actions/list-statements.mjs +6 -6
  321. package/dist/actions/list-statements.mjs.map +1 -1
  322. package/dist/actions/list-users.cjs +4 -4
  323. package/dist/actions/list-users.cjs.map +1 -1
  324. package/dist/actions/list-users.d.cts +4 -4
  325. package/dist/actions/list-users.d.mts +4 -4
  326. package/dist/actions/list-users.mjs +4 -4
  327. package/dist/actions/list-users.mjs.map +1 -1
  328. package/dist/actions/list-vendors-accounts.cjs +3 -3
  329. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  330. package/dist/actions/list-vendors-accounts.d.cts +3 -3
  331. package/dist/actions/list-vendors-accounts.d.mts +3 -3
  332. package/dist/actions/list-vendors-accounts.mjs +3 -3
  333. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  334. package/dist/actions/list-vendors-contacts.cjs +3 -3
  335. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  336. package/dist/actions/list-vendors-contacts.d.cts +3 -3
  337. package/dist/actions/list-vendors-contacts.d.mts +3 -3
  338. package/dist/actions/list-vendors-contacts.mjs +3 -3
  339. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  340. package/dist/actions/list-vendors-credits.cjs +9 -9
  341. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  342. package/dist/actions/list-vendors-credits.d.cts +21 -21
  343. package/dist/actions/list-vendors-credits.d.mts +21 -21
  344. package/dist/actions/list-vendors-credits.mjs +9 -9
  345. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  346. package/dist/actions/list-vendors.cjs +5 -5
  347. package/dist/actions/list-vendors.cjs.map +1 -1
  348. package/dist/actions/list-vendors.d.cts +6 -6
  349. package/dist/actions/list-vendors.d.mts +6 -6
  350. package/dist/actions/list-vendors.mjs +5 -5
  351. package/dist/actions/list-vendors.mjs.map +1 -1
  352. package/dist/actions/list-webhooks.cjs +2 -2
  353. package/dist/actions/list-webhooks.cjs.map +1 -1
  354. package/dist/actions/list-webhooks.d.cts +2 -2
  355. package/dist/actions/list-webhooks.d.mts +2 -2
  356. package/dist/actions/list-webhooks.mjs +2 -2
  357. package/dist/actions/list-webhooks.mjs.map +1 -1
  358. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  359. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  360. package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
  361. package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
  362. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  363. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  364. package/dist/actions/patch-accounting-connection.cjs +2 -2
  365. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  366. package/dist/actions/patch-accounting-connection.d.cts +2 -2
  367. package/dist/actions/patch-accounting-connection.d.mts +2 -2
  368. package/dist/actions/patch-accounting-connection.mjs +2 -2
  369. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  370. package/dist/actions/patch-card-resource.cjs +1 -1
  371. package/dist/actions/patch-card-resource.cjs.map +1 -1
  372. package/dist/actions/patch-card-resource.d.cts +1 -1
  373. package/dist/actions/patch-card-resource.d.mts +1 -1
  374. package/dist/actions/patch-card-resource.mjs +1 -1
  375. package/dist/actions/patch-card-resource.mjs.map +1 -1
  376. package/dist/actions/patch-custom-field-option.cjs +1 -1
  377. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  378. package/dist/actions/patch-custom-field-option.d.cts +1 -1
  379. package/dist/actions/patch-custom-field-option.d.mts +1 -1
  380. package/dist/actions/patch-custom-field-option.mjs +1 -1
  381. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  382. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  383. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  384. package/dist/actions/patch-gl-account-resource.d.cts +2 -2
  385. package/dist/actions/patch-gl-account-resource.d.mts +2 -2
  386. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  387. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  388. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  389. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  390. package/dist/actions/patch-inventory-item-field.d.cts +1 -1
  391. package/dist/actions/patch-inventory-item-field.d.mts +1 -1
  392. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  393. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  394. package/dist/actions/post-accounting-accounts.cjs +4 -4
  395. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  396. package/dist/actions/post-accounting-accounts.d.cts +5 -4
  397. package/dist/actions/post-accounting-accounts.d.mts +5 -4
  398. package/dist/actions/post-accounting-accounts.mjs +4 -4
  399. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  400. package/dist/actions/post-accounting-connection.cjs +2 -2
  401. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  402. package/dist/actions/post-accounting-connection.d.cts +2 -2
  403. package/dist/actions/post-accounting-connection.d.mts +2 -2
  404. package/dist/actions/post-accounting-connection.mjs +2 -2
  405. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  406. package/dist/actions/post-accounting-vendors.cjs +4 -4
  407. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  408. package/dist/actions/post-accounting-vendors.d.cts +5 -4
  409. package/dist/actions/post-accounting-vendors.d.mts +5 -4
  410. package/dist/actions/post-accounting-vendors.mjs +4 -4
  411. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  412. package/dist/actions/post-inventory-item-options.cjs +3 -3
  413. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  414. package/dist/actions/post-inventory-item-options.d.cts +4 -3
  415. package/dist/actions/post-inventory-item-options.d.mts +4 -3
  416. package/dist/actions/post-inventory-item-options.mjs +3 -3
  417. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  418. package/dist/actions/post-physical-card.cjs +2 -2
  419. package/dist/actions/post-physical-card.cjs.map +1 -1
  420. package/dist/actions/post-physical-card.d.cts +3 -3
  421. package/dist/actions/post-physical-card.d.mts +3 -3
  422. package/dist/actions/post-physical-card.mjs +2 -2
  423. package/dist/actions/post-physical-card.mjs.map +1 -1
  424. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  425. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  426. package/dist/actions/reactivate-accounting-connection.d.cts +2 -2
  427. package/dist/actions/reactivate-accounting-connection.d.mts +2 -2
  428. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  429. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  430. package/dist/actions/reactivate-user.cjs +1 -1
  431. package/dist/actions/reactivate-user.cjs.map +1 -1
  432. package/dist/actions/reactivate-user.d.cts +1 -1
  433. package/dist/actions/reactivate-user.d.cts.map +1 -1
  434. package/dist/actions/reactivate-user.d.mts +1 -1
  435. package/dist/actions/reactivate-user.d.mts.map +1 -1
  436. package/dist/actions/reactivate-user.mjs +1 -1
  437. package/dist/actions/reactivate-user.mjs.map +1 -1
  438. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  439. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  440. package/dist/actions/submit-reimbursement-receipt.d.cts +13 -13
  441. package/dist/actions/submit-reimbursement-receipt.d.mts +13 -13
  442. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  443. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  444. package/dist/actions/suspend-card.cjs +1 -1
  445. package/dist/actions/suspend-card.cjs.map +1 -1
  446. package/dist/actions/suspend-card.d.cts +1 -1
  447. package/dist/actions/suspend-card.d.mts +1 -1
  448. package/dist/actions/suspend-card.mjs +1 -1
  449. package/dist/actions/suspend-card.mjs.map +1 -1
  450. package/dist/actions/terminate-card.cjs +1 -1
  451. package/dist/actions/terminate-card.cjs.map +1 -1
  452. package/dist/actions/terminate-card.d.cts +1 -1
  453. package/dist/actions/terminate-card.d.mts +1 -1
  454. package/dist/actions/terminate-card.mjs +1 -1
  455. package/dist/actions/terminate-card.mjs.map +1 -1
  456. package/dist/actions/update-accounting-field.cjs +1 -1
  457. package/dist/actions/update-accounting-field.cjs.map +1 -1
  458. package/dist/actions/update-accounting-field.d.cts +1 -1
  459. package/dist/actions/update-accounting-field.d.mts +1 -1
  460. package/dist/actions/update-accounting-field.mjs +1 -1
  461. package/dist/actions/update-accounting-field.mjs.map +1 -1
  462. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  463. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  464. package/dist/actions/update-accounting-inventory-item-options.d.cts +1 -1
  465. package/dist/actions/update-accounting-inventory-item-options.d.mts +1 -1
  466. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  467. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  468. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  469. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  470. package/dist/actions/update-accounting-tax-code-options.d.cts +1 -1
  471. package/dist/actions/update-accounting-tax-code-options.d.mts +1 -1
  472. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  473. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  474. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  475. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  476. package/dist/actions/update-accounting-tax-code.d.cts +1 -1
  477. package/dist/actions/update-accounting-tax-code.d.mts +1 -1
  478. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  479. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  480. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  481. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  482. package/dist/actions/update-accounting-tax-rate.d.cts +1 -1
  483. package/dist/actions/update-accounting-tax-rate.d.mts +1 -1
  484. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  485. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  486. package/dist/actions/update-accounting-vendor.cjs +2 -2
  487. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  488. package/dist/actions/update-accounting-vendor.d.cts +2 -2
  489. package/dist/actions/update-accounting-vendor.d.mts +2 -2
  490. package/dist/actions/update-accounting-vendor.mjs +2 -2
  491. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  492. package/dist/actions/update-card-limit.cjs +4 -4
  493. package/dist/actions/update-card-limit.cjs.map +1 -1
  494. package/dist/actions/update-card-limit.d.cts +4 -4
  495. package/dist/actions/update-card-limit.d.mts +4 -4
  496. package/dist/actions/update-card-limit.mjs +4 -4
  497. package/dist/actions/update-card-limit.mjs.map +1 -1
  498. package/dist/actions/update-department.cjs +1 -1
  499. package/dist/actions/update-department.cjs.map +1 -1
  500. package/dist/actions/update-department.d.cts +1 -1
  501. package/dist/actions/update-department.d.mts +1 -1
  502. package/dist/actions/update-department.mjs +1 -1
  503. package/dist/actions/update-department.mjs.map +1 -1
  504. package/dist/actions/update-limits.cjs +9 -9
  505. package/dist/actions/update-limits.cjs.map +1 -1
  506. package/dist/actions/update-limits.d.cts +15 -14
  507. package/dist/actions/update-limits.d.mts +15 -14
  508. package/dist/actions/update-limits.mjs +9 -9
  509. package/dist/actions/update-limits.mjs.map +1 -1
  510. package/dist/actions/update-user.cjs +1 -1
  511. package/dist/actions/update-user.cjs.map +1 -1
  512. package/dist/actions/update-user.d.cts +1 -1
  513. package/dist/actions/update-user.d.cts.map +1 -1
  514. package/dist/actions/update-user.d.mts +1 -1
  515. package/dist/actions/update-user.d.mts.map +1 -1
  516. package/dist/actions/update-user.mjs +1 -1
  517. package/dist/actions/update-user.mjs.map +1 -1
  518. package/dist/actions/upload-new-options.cjs +3 -3
  519. package/dist/actions/upload-new-options.cjs.map +1 -1
  520. package/dist/actions/upload-new-options.d.cts +4 -3
  521. package/dist/actions/upload-new-options.d.mts +4 -3
  522. package/dist/actions/upload-new-options.mjs +3 -3
  523. package/dist/actions/upload-new-options.mjs.map +1 -1
  524. package/dist/actions/upload-tax-code-options.cjs +3 -3
  525. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  526. package/dist/actions/upload-tax-code-options.d.cts +4 -3
  527. package/dist/actions/upload-tax-code-options.d.mts +4 -3
  528. package/dist/actions/upload-tax-code-options.mjs +3 -3
  529. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  530. package/dist/actions/upload-tax-rates.cjs +3 -3
  531. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  532. package/dist/actions/upload-tax-rates.d.cts +4 -3
  533. package/dist/actions/upload-tax-rates.d.mts +4 -3
  534. package/dist/actions/upload-tax-rates.mjs +3 -3
  535. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  536. package/dist/execute.cjs +1 -1
  537. package/dist/execute.cjs.map +1 -1
  538. package/dist/execute.mjs +1 -1
  539. package/dist/execute.mjs.map +1 -1
  540. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"list-statements.mjs","names":[],"sources":["../../src/actions/list-statements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListStatementsInput = 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.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor to major units (e.g., 100 for USD)\").nullable(),\n}).describe(\"Represents a monetary amount with currency information.\");\nconst RampListStatements_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement line\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION', 'TRANSFER_PAYMENT')\").nullable(),\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\").nullable(),\n}).describe(\"Represents a line item within a statement.\");\nconst RampListStatements_BalanceSectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the balance section\").nullable(),\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\").nullable(),\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.object({\n id: z.string().describe(\"Unique identifier of the statement\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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.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.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,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ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SAAS;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,gBAAgB,+BAA+B,SAAS;CACxD,iBAAiB,+BAA+B,SAAS;CACzD,iBAAiB,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qCAAqC;CAC/G,kBAAkB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yCAAyC;AACvH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gCAAgC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAMhF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sEAAsE;EACjI,MAAM,8BAA8B,SAAS;CAC/C,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-statements.mjs","names":[],"sources":["../../src/actions/list-statements.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListStatementsInput = 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.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., 'USD')\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor to major units (e.g., 100 for USD)\").nullable(),\n}).passthrough().describe(\"Represents a monetary amount with currency information.\");\nconst RampListStatements_StatementLineSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement line\").nullable(),\n type: z.string().describe(\"Type of statement line (e.g., 'CARD_TRANSACTION', 'TRANSFER_PAYMENT')\").nullable(),\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\").nullable(),\n}).passthrough().describe(\"Represents a line item within a statement.\");\nconst RampListStatements_BalanceSectionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the balance section\").nullable(),\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\").nullable(),\n ending_balance: RampListStatements_MoneySchema.nullable(),\n opening_balance: RampListStatements_MoneySchema.nullable(),\n}).passthrough().describe(\"Represents a balance section within a statement, typically for a specific entity.\");\nconst RampListStatements_StatementSchema = z.object({\n id: z.string().describe(\"Unique identifier of the statement\").nullable(),\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\").nullable(),\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\").nullable(),\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\").nullable(),\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}).passthrough().describe(\"Represents a statement from the Ramp API.\");\nconst RampListStatements_PageSchema = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through the list of statements.\");\nexport const RampListStatementsOutput = 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}).passthrough().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,0BAA0B,EAAE,OAAO;CAC9C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC/G,CAAC;AACD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,C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CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjF,gBAAgB,+BAA+B,SAAS;CACxD,iBAAiB,+BAA+B,SAAS;CACzD,iBAAiB,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,qCAAqC;CAC/G,kBAAkB,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yCAAyC;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,gCAAgC,EAAE,OAAO,EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAM9F,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,sEAAsE;EACjI,MAAM,8BAA8B,SAAS;CAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const RampListUsersInput = zod.z.object({
14
14
  const RampListUsers_CustomFieldSchema = zod.z.object({
15
15
  name: zod.z.string().describe("Name of the custom field.").nullable(),
16
16
  value: zod.z.string().describe("Value of the custom field.").nullable()
17
- }).describe("Custom field metadata attached to a user.");
17
+ }).passthrough().describe("Custom field metadata attached to a user.");
18
18
  const RampListUsers_UserSchema = zod.z.object({
19
19
  id: zod.z.string().describe("Unique identifier of the user (UUID format).").nullable(),
20
20
  role: zod.z.string().describe("Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.").nullable(),
@@ -31,12 +31,12 @@ const RampListUsers_UserSchema = zod.z.object({
31
31
  location_id: zod.z.string().describe("Unique identifier of the location associated with the user (UUID format).").nullable().optional(),
32
32
  custom_fields: zod.z.array(RampListUsers_CustomFieldSchema).describe("Array of custom field objects containing additional user metadata.").nullable().optional(),
33
33
  department_id: zod.z.string().describe("Unique identifier of the department the user belongs to (UUID format).").nullable().optional()
34
- }).describe("User object returned by the list users endpoint.");
35
- const RampListUsers_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 users.");
34
+ }).passthrough().describe("User object returned by the list users endpoint.");
35
+ const RampListUsers_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() }).passthrough().describe("Pagination metadata for navigating through the list of users.");
36
36
  const RampListUsersOutput = zod.z.object({
37
37
  data: zod.z.array(RampListUsers_UserSchema).describe("Array of user objects returned by the list users endpoint."),
38
38
  page: RampListUsers_PageSchema.nullable()
39
- }).describe("Response from listing users in the Ramp organization.");
39
+ }).passthrough().describe("Response from listing users in the Ramp organization.");
40
40
  const rampListUsers = require_action.action("RAMP_LIST_USERS", {
41
41
  slug: "ramp-list-users",
42
42
  name: "List Users",
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListUsersInput = z.object({\n role: z.string().describe(\"Filter by user role\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").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 employee_id: z.string().describe(\"Filter by user employee_id\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n});\nconst RampListUsers_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).describe(\"Custom field metadata attached to a user.\");\nconst RampListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n phone: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Example values include USER_ACTIVE, USER_INVITED, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of the business entity the user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\").nullable(),\n first_name: z.string().describe(\"First name of the user.\").nullable(),\n is_manager: z.boolean().describe(\"Boolean flag indicating whether the user has manager privileges.\").nullable().optional(),\n manager_id: z.string().describe(\"Unique identifier of the user's direct manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business that the user is associated with (UUID format).\").nullable(),\n employee_id: z.string().describe(\"Alternative identifier for the employee from external systems, can be used in place of email (UUID format).\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the location associated with the user (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampListUsers_CustomFieldSchema).describe(\"Array of custom field objects containing additional user metadata.\").nullable().optional(),\n department_id: z.string().describe(\"Unique identifier of the department the user belongs to (UUID format).\").nullable().optional(),\n}).describe(\"User object returned by the list users endpoint.\");\nconst RampListUsers_PageSchema = 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 users.\");\nexport const RampListUsersOutput = z.object({\n data: z.array(RampListUsers_UserSchema).describe(\"Array of user objects returned by the list users endpoint.\"),\n page: RampListUsers_PageSchema.nullable(),\n}).describe(\"Response from listing users in the Ramp organization.\");\n\nexport const rampListUsers = action(\"RAMP_LIST_USERS\", {\n slug: \"ramp-list-users\",\n name: \"List Users\",\n description: \"Tool for listing users in your Ramp organization with flexible filtering. Perfect for user audits, access management, and organizational analysis. Helps identify inactive users, role distribution, and departmental structures.\",\n input: RampListUsersInput,\n output: RampListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACpE,CA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C,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2BAA2BA,IAAAA,EAAE,OAAO,EACxC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,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"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListUsersInput = z.object({\n role: z.string().describe(\"Filter by user role\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").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 employee_id: z.string().describe(\"Filter by user employee_id\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n});\nconst RampListUsers_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nconst RampListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n phone: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Example values include USER_ACTIVE, USER_INVITED, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of the business entity the user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\").nullable(),\n first_name: z.string().describe(\"First name of the user.\").nullable(),\n is_manager: z.boolean().describe(\"Boolean flag indicating whether the user has manager privileges.\").nullable().optional(),\n manager_id: z.string().describe(\"Unique identifier of the user's direct manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business that the user is associated with (UUID format).\").nullable(),\n employee_id: z.string().describe(\"Alternative identifier for the employee from external systems, can be used in place of email (UUID format).\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the location associated with the user (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampListUsers_CustomFieldSchema).describe(\"Array of custom field objects containing additional user metadata.\").nullable().optional(),\n department_id: z.string().describe(\"Unique identifier of the department the user belongs to (UUID format).\").nullable().optional(),\n}).passthrough().describe(\"User object returned by the list users endpoint.\");\nconst RampListUsers_PageSchema = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through the list of users.\");\nexport const RampListUsersOutput = z.object({\n data: z.array(RampListUsers_UserSchema).describe(\"Array of user objects returned by the list users endpoint.\"),\n page: RampListUsers_PageSchema.nullable(),\n}).passthrough().describe(\"Response from listing users in the Ramp organization.\");\n\nexport const rampListUsers = action(\"RAMP_LIST_USERS\", {\n slug: \"ramp-list-users\",\n name: \"List Users\",\n description: \"Tool for listing users in your Ramp organization with flexible filtering. Perfect for user audits, access management, and organizational analysis. Helps identify inactive users, role distribution, and departmental structures.\",\n input: RampListUsersInput,\n output: RampListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,2BAA2BA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,C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AY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,2BAA2BA,IAAAA,EAAE,OAAO,EACxC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;CAC7G,MAAM,yBAAyB,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,13 +29,13 @@ declare const RampListUsersOutput: z.ZodObject<{
29
29
  custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
30
  name: z.ZodNullable<z.ZodString>;
31
31
  value: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>;
34
+ }, z.core.$loose>>;
35
35
  page: z.ZodNullable<z.ZodObject<{
36
36
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const rampListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  role?: string | undefined;
41
41
  email?: string | undefined;
@@ -29,13 +29,13 @@ declare const RampListUsersOutput: z.ZodObject<{
29
29
  custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
30
30
  name: z.ZodNullable<z.ZodString>;
31
31
  value: z.ZodNullable<z.ZodString>;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$loose>>>>;
33
33
  department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>;
34
+ }, z.core.$loose>>;
35
35
  page: z.ZodNullable<z.ZodObject<{
36
36
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>;
39
39
  declare const rampListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  role?: string | undefined;
41
41
  email?: string | undefined;
@@ -14,7 +14,7 @@ const RampListUsersInput = z.object({
14
14
  const RampListUsers_CustomFieldSchema = z.object({
15
15
  name: z.string().describe("Name of the custom field.").nullable(),
16
16
  value: z.string().describe("Value of the custom field.").nullable()
17
- }).describe("Custom field metadata attached to a user.");
17
+ }).passthrough().describe("Custom field metadata attached to a user.");
18
18
  const RampListUsers_UserSchema = z.object({
19
19
  id: z.string().describe("Unique identifier of the user (UUID format).").nullable(),
20
20
  role: z.string().describe("Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.").nullable(),
@@ -31,8 +31,8 @@ const RampListUsers_UserSchema = z.object({
31
31
  location_id: z.string().describe("Unique identifier of the location associated with the user (UUID format).").nullable().optional(),
32
32
  custom_fields: z.array(RampListUsers_CustomFieldSchema).describe("Array of custom field objects containing additional user metadata.").nullable().optional(),
33
33
  department_id: z.string().describe("Unique identifier of the department the user belongs to (UUID format).").nullable().optional()
34
- }).describe("User object returned by the list users endpoint.");
35
- const RampListUsers_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 the list of users.");
34
+ }).passthrough().describe("User object returned by the list users endpoint.");
35
+ const RampListUsers_PageSchema = z.object({ next: z.string().describe("URL for retrieving the next page of results. Present when more results are available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through the list of users.");
36
36
  const rampListUsers = action("RAMP_LIST_USERS", {
37
37
  slug: "ramp-list-users",
38
38
  name: "List Users",
@@ -41,7 +41,7 @@ const rampListUsers = action("RAMP_LIST_USERS", {
41
41
  output: z.object({
42
42
  data: z.array(RampListUsers_UserSchema).describe("Array of user objects returned by the list users endpoint."),
43
43
  page: RampListUsers_PageSchema.nullable()
44
- }).describe("Response from listing users in the Ramp organization.")
44
+ }).passthrough().describe("Response from listing users in the Ramp organization.")
45
45
  });
46
46
  //#endregion
47
47
  export { rampListUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListUsersInput = z.object({\n role: z.string().describe(\"Filter by user role\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").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 employee_id: z.string().describe(\"Filter by user employee_id\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n});\nconst RampListUsers_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).describe(\"Custom field metadata attached to a user.\");\nconst RampListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n phone: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Example values include USER_ACTIVE, USER_INVITED, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of the business entity the user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\").nullable(),\n first_name: z.string().describe(\"First name of the user.\").nullable(),\n is_manager: z.boolean().describe(\"Boolean flag indicating whether the user has manager privileges.\").nullable().optional(),\n manager_id: z.string().describe(\"Unique identifier of the user's direct manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business that the user is associated with (UUID format).\").nullable(),\n employee_id: z.string().describe(\"Alternative identifier for the employee from external systems, can be used in place of email (UUID format).\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the location associated with the user (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampListUsers_CustomFieldSchema).describe(\"Array of custom field objects containing additional user metadata.\").nullable().optional(),\n department_id: z.string().describe(\"Unique identifier of the department the user belongs to (UUID format).\").nullable().optional(),\n}).describe(\"User object returned by the list users endpoint.\");\nconst RampListUsers_PageSchema = 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 users.\");\nexport const RampListUsersOutput = z.object({\n data: z.array(RampListUsers_UserSchema).describe(\"Array of user objects returned by the list users endpoint.\"),\n page: RampListUsers_PageSchema.nullable(),\n}).describe(\"Response from listing users in the Ramp organization.\");\n\nexport const rampListUsers = action(\"RAMP_LIST_USERS\", {\n slug: \"ramp-list-users\",\n name: \"List Users\",\n description: \"Tool for listing users in your Ramp organization with flexible filtering. Perfect for user audits, access management, and organizational analysis. Helps identify inactive users, role distribution, and departmental structures.\",\n input: RampListUsersInput,\n output: RampListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,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,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC/H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,eAAe,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2BAA2B,EAAE,OAAO,EACxC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAM3E,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;EAC7G,MAAM,yBAAyB,SAAS;CAC1C,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListUsersInput = z.object({\n role: z.string().describe(\"Filter by user role\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").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 employee_id: z.string().describe(\"Filter by user employee_id\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n});\nconst RampListUsers_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nconst RampListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"Role of the user within the organization. Possible values include BUSINESS_USER, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER.\").nullable(),\n email: z.string().describe(\"Email address of the user.\").nullable(),\n phone: z.string().describe(\"Phone number of the user.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Example values include USER_ACTIVE, USER_INVITED, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of the business entity the user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the user.\").nullable(),\n first_name: z.string().describe(\"First name of the user.\").nullable(),\n is_manager: z.boolean().describe(\"Boolean flag indicating whether the user has manager privileges.\").nullable().optional(),\n manager_id: z.string().describe(\"Unique identifier of the user's direct manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the business that the user is associated with (UUID format).\").nullable(),\n employee_id: z.string().describe(\"Alternative identifier for the employee from external systems, can be used in place of email (UUID format).\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the location associated with the user (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampListUsers_CustomFieldSchema).describe(\"Array of custom field objects containing additional user metadata.\").nullable().optional(),\n department_id: z.string().describe(\"Unique identifier of the department the user belongs to (UUID format).\").nullable().optional(),\n}).passthrough().describe(\"User object returned by the list users endpoint.\");\nconst RampListUsers_PageSchema = z.object({\n next: z.string().describe(\"URL for retrieving the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through the list of users.\");\nexport const RampListUsersOutput = z.object({\n data: z.array(RampListUsers_UserSchema).describe(\"Array of user objects returned by the list users endpoint.\"),\n page: RampListUsers_PageSchema.nullable(),\n}).passthrough().describe(\"Response from listing users in the Ramp organization.\");\n\nexport const rampListUsers = action(\"RAMP_LIST_USERS\", {\n slug: \"ramp-list-users\",\n name: \"List Users\",\n description: \"Tool for listing users in your Ramp organization with flexible filtering. Perfect for user audits, access management, and organizational analysis. Helps identify inactive users, role distribution, and departmental structures.\",\n input: RampListUsersInput,\n output: RampListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,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,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OA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S,CAAC,CAAC,SAAS;CAC3J,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,2BAA2B,EAAE,OAAO,EACxC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAMzF,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,MAAM,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,4DAA4D;EAC7G,MAAM,yBAAyB,SAAS;CAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -12,12 +12,12 @@ const RampListVendorsAccounts_VendorAccountSchema = zod.z.object({
12
12
  is_default: zod.z.boolean().describe("Whether this is the default account for the vendor").nullable().optional(),
13
13
  payment_method: zod.z.string().describe("Payment method type for this account").nullable(),
14
14
  account_nickname: zod.z.string().describe("Nickname for the bank account").nullable().optional()
15
- }).describe("Bank account information for a vendor");
16
- const RampListVendorsAccounts_PaginationMetadataSchema = zod.z.object({ next: zod.z.string().describe("URL for the next page of results in cursor-based pagination. Null if no more pages available.").nullable().optional() }).describe("Pagination metadata for navigating through vendor account results");
15
+ }).passthrough().describe("Bank account information for a vendor");
16
+ const RampListVendorsAccounts_PaginationMetadataSchema = zod.z.object({ next: zod.z.string().describe("URL for the next page of results in cursor-based pagination. Null if no more pages available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through vendor account results");
17
17
  const RampListVendorsAccountsOutput = zod.z.object({
18
18
  data: zod.z.array(RampListVendorsAccounts_VendorAccountSchema).describe("Array of vendor bank account objects returned in the paginated response"),
19
19
  page: RampListVendorsAccounts_PaginationMetadataSchema.nullable()
20
- }).describe("Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data");
20
+ }).passthrough().describe("Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data");
21
21
  const rampListVendorsAccounts = require_action.action("RAMP_LIST_VENDORS_ACCOUNTS", {
22
22
  slug: "ramp-list-vendors-accounts",
23
23
  name: "List Vendor Bank Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-vendors-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsAccountsInput = 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 vendor_id: z.string().describe(\"The unique identifier (UUID) of the vendor whose bank accounts to retrieve\"),\n});\nconst RampListVendorsAccounts_VendorAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier of the vendor bank account\").nullable(),\n currency: z.string().describe(\"Currency code for the account (e.g., USD)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default account for the vendor\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method type for this account\").nullable(),\n account_nickname: z.string().describe(\"Nickname for the bank account\").nullable().optional(),\n}).describe(\"Bank account information for a vendor\");\nconst RampListVendorsAccounts_PaginationMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results in cursor-based pagination. Null if no more pages available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through vendor account results\");\nexport const RampListVendorsAccountsOutput = z.object({\n data: z.array(RampListVendorsAccounts_VendorAccountSchema).describe(\"Array of vendor bank account objects returned in the paginated response\"),\n page: RampListVendorsAccounts_PaginationMetadataSchema.nullable(),\n}).describe(\"Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data\");\n\nexport const rampListVendorsAccounts = action(\"RAMP_LIST_VENDORS_ACCOUNTS\", {\n slug: \"ramp-list-vendors-accounts\",\n name: \"List Vendor Bank Accounts\",\n description: \"Tool for listing bank accounts associated with a specific vendor. Returns account details including currency, payment method, and default status. Use this to retrieve payment account information for vendor transactions.\",\n input: RampListVendorsAccountsInput,\n output: RampListVendorsAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC7G,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yEAAyE;CAC7I,MAAM,iDAAiD,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-vendors-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsAccountsInput = 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 vendor_id: z.string().describe(\"The unique identifier (UUID) of the vendor whose bank accounts to retrieve\"),\n});\nconst RampListVendorsAccounts_VendorAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier of the vendor bank account\").nullable(),\n currency: z.string().describe(\"Currency code for the account (e.g., USD)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default account for the vendor\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method type for this account\").nullable(),\n account_nickname: z.string().describe(\"Nickname for the bank account\").nullable().optional(),\n}).passthrough().describe(\"Bank account information for a vendor\");\nconst RampListVendorsAccounts_PaginationMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results in cursor-based pagination. Null if no more pages available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through vendor account results\");\nexport const RampListVendorsAccountsOutput = z.object({\n data: z.array(RampListVendorsAccounts_VendorAccountSchema).describe(\"Array of vendor bank account objects returned in the paginated response\"),\n page: RampListVendorsAccounts_PaginationMetadataSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data\");\n\nexport const rampListVendorsAccounts = action(\"RAMP_LIST_VENDORS_ACCOUNTS\", {\n slug: \"ramp-list-vendors-accounts\",\n name: \"List Vendor Bank Accounts\",\n description: \"Tool for listing bank accounts associated with a specific vendor. Returns account details including currency, payment method, and default status. Use this to retrieve payment account information for vendor transactions.\",\n input: RampListVendorsAccountsInput,\n output: RampListVendorsAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC7G,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yEAAyE;CAC7I,MAAM,iDAAiD,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,11 +13,11 @@ declare const RampListVendorsAccountsOutput: z.ZodObject<{
13
13
  is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  payment_method: z.ZodNullable<z.ZodString>;
15
15
  account_nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  page: z.ZodNullable<z.ZodObject<{
18
18
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const rampListVendorsAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  vendor_id: string;
23
23
  start?: string | undefined;
@@ -13,11 +13,11 @@ declare const RampListVendorsAccountsOutput: z.ZodObject<{
13
13
  is_default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
14
  payment_method: z.ZodNullable<z.ZodString>;
15
15
  account_nickname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  page: z.ZodNullable<z.ZodObject<{
18
18
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const rampListVendorsAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  vendor_id: string;
23
23
  start?: string | undefined;
@@ -12,8 +12,8 @@ const RampListVendorsAccounts_VendorAccountSchema = z.object({
12
12
  is_default: z.boolean().describe("Whether this is the default account for the vendor").nullable().optional(),
13
13
  payment_method: z.string().describe("Payment method type for this account").nullable(),
14
14
  account_nickname: z.string().describe("Nickname for the bank account").nullable().optional()
15
- }).describe("Bank account information for a vendor");
16
- const RampListVendorsAccounts_PaginationMetadataSchema = z.object({ next: z.string().describe("URL for the next page of results in cursor-based pagination. Null if no more pages available.").nullable().optional() }).describe("Pagination metadata for navigating through vendor account results");
15
+ }).passthrough().describe("Bank account information for a vendor");
16
+ const RampListVendorsAccounts_PaginationMetadataSchema = z.object({ next: z.string().describe("URL for the next page of results in cursor-based pagination. Null if no more pages available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through vendor account results");
17
17
  const rampListVendorsAccounts = action("RAMP_LIST_VENDORS_ACCOUNTS", {
18
18
  slug: "ramp-list-vendors-accounts",
19
19
  name: "List Vendor Bank Accounts",
@@ -22,7 +22,7 @@ const rampListVendorsAccounts = action("RAMP_LIST_VENDORS_ACCOUNTS", {
22
22
  output: z.object({
23
23
  data: z.array(RampListVendorsAccounts_VendorAccountSchema).describe("Array of vendor bank account objects returned in the paginated response"),
24
24
  page: RampListVendorsAccounts_PaginationMetadataSchema.nullable()
25
- }).describe("Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data")
25
+ }).passthrough().describe("Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data")
26
26
  });
27
27
  //#endregion
28
28
  export { rampListVendorsAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-vendors-accounts.mjs","names":[],"sources":["../../src/actions/list-vendors-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsAccountsInput = 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 vendor_id: z.string().describe(\"The unique identifier (UUID) of the vendor whose bank accounts to retrieve\"),\n});\nconst RampListVendorsAccounts_VendorAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier of the vendor bank account\").nullable(),\n currency: z.string().describe(\"Currency code for the account (e.g., USD)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default account for the vendor\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method type for this account\").nullable(),\n account_nickname: z.string().describe(\"Nickname for the bank account\").nullable().optional(),\n}).describe(\"Bank account information for a vendor\");\nconst RampListVendorsAccounts_PaginationMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results in cursor-based pagination. Null if no more pages available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through vendor account results\");\nexport const RampListVendorsAccountsOutput = z.object({\n data: z.array(RampListVendorsAccounts_VendorAccountSchema).describe(\"Array of vendor bank account objects returned in the paginated response\"),\n page: RampListVendorsAccounts_PaginationMetadataSchema.nullable(),\n}).describe(\"Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data\");\n\nexport const rampListVendorsAccounts = action(\"RAMP_LIST_VENDORS_ACCOUNTS\", {\n slug: \"ramp-list-vendors-accounts\",\n name: \"List Vendor Bank Accounts\",\n description: \"Tool for listing bank accounts associated with a specific vendor. Returns account details including currency, payment method, and default status. Use this to retrieve payment account information for vendor transactions.\",\n input: RampListVendorsAccountsInput,\n output: RampListVendorsAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC7G,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAM/E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yEAAyE;EAC7I,MAAM,iDAAiD,SAAS;CAClE,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-vendors-accounts.mjs","names":[],"sources":["../../src/actions/list-vendors-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsAccountsInput = 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 vendor_id: z.string().describe(\"The unique identifier (UUID) of the vendor whose bank accounts to retrieve\"),\n});\nconst RampListVendorsAccounts_VendorAccountSchema = z.object({\n id: z.string().describe(\"Unique identifier of the vendor bank account\").nullable(),\n currency: z.string().describe(\"Currency code for the account (e.g., USD)\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default account for the vendor\").nullable().optional(),\n payment_method: z.string().describe(\"Payment method type for this account\").nullable(),\n account_nickname: z.string().describe(\"Nickname for the bank account\").nullable().optional(),\n}).passthrough().describe(\"Bank account information for a vendor\");\nconst RampListVendorsAccounts_PaginationMetadataSchema = z.object({\n next: z.string().describe(\"URL for the next page of results in cursor-based pagination. Null if no more pages available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through vendor account results\");\nexport const RampListVendorsAccountsOutput = z.object({\n data: z.array(RampListVendorsAccounts_VendorAccountSchema).describe(\"Array of vendor bank account objects returned in the paginated response\"),\n page: RampListVendorsAccounts_PaginationMetadataSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp LIST_VENDORS_ACCOUNTS endpoint with paginated vendor bank account data\");\n\nexport const rampListVendorsAccounts = action(\"RAMP_LIST_VENDORS_ACCOUNTS\", {\n slug: \"ramp-list-vendors-accounts\",\n name: \"List Vendor Bank Accounts\",\n description: \"Tool for listing bank accounts associated with a specific vendor. Returns account details including currency, payment method, and default status. Use this to retrieve payment account information for vendor transactions.\",\n input: RampListVendorsAccountsInput,\n output: RampListVendorsAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;AAC7G,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACrF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,mDAAmD,EAAE,OAAO,EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAM7F,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,yEAAyE;EAC7I,MAAM,iDAAiD,SAAS;CAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
@@ -13,12 +13,12 @@ const RampListVendorsContacts_VendorContactSchema = zod.z.object({
13
13
  last_name: zod.z.string().describe("Last name of the contact").nullable(),
14
14
  first_name: zod.z.string().describe("First name of the contact").nullable(),
15
15
  is_default: zod.z.boolean().describe("Whether this is the default contact for the vendor").nullable()
16
- }).describe("Contact information for a vendor");
17
- const RampListVendorsContacts_PageSchema = zod.z.object({ next: zod.z.string().describe("URL for the next page of results. Null if no more pages available.").nullable().optional() }).describe("Pagination metadata for navigating through vendor contacts");
16
+ }).passthrough().describe("Contact information for a vendor");
17
+ const RampListVendorsContacts_PageSchema = zod.z.object({ next: zod.z.string().describe("URL for the next page of results. Null if no more pages available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through vendor contacts");
18
18
  const RampListVendorsContactsOutput = zod.z.object({
19
19
  data: zod.z.array(RampListVendorsContacts_VendorContactSchema).describe("Array of vendor contact objects returned in the response"),
20
20
  page: RampListVendorsContacts_PageSchema.nullable()
21
- }).describe("Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data");
21
+ }).passthrough().describe("Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data");
22
22
  const rampListVendorsContacts = require_action.action("RAMP_LIST_VENDORS_CONTACTS", {
23
23
  slug: "ramp-list-vendors-contacts",
24
24
  name: "List Vendor Contacts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-vendors-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsContactsInput = 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 vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor to retrieve contacts for\"),\n});\nconst RampListVendorsContacts_VendorContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default contact for the vendor\").nullable(),\n}).describe(\"Contact information for a vendor\");\nconst RampListVendorsContacts_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through vendor contacts\");\nexport const RampListVendorsContactsOutput = z.object({\n data: z.array(RampListVendorsContacts_VendorContactSchema).describe(\"Array of vendor contact objects returned in the response\"),\n page: RampListVendorsContacts_PageSchema.nullable(),\n}).describe(\"Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data\");\n\nexport const rampListVendorsContacts = action(\"RAMP_LIST_VENDORS_CONTACTS\", {\n slug: \"ramp-list-vendors-contacts\",\n name: \"List Vendor Contacts\",\n description: \"Tool for listing contacts associated with a specific vendor. Returns contact information including names, emails, and phone numbers. Use this to find vendor contact details for communication or relationship management.\",\n input: RampListVendorsContactsInput,\n output: RampListVendorsContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AAClG,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0DAA0D;CAC9H,MAAM,mCAAmC,SAAS;AACpD,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-vendors-contacts.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsContactsInput = 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 vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor to retrieve contacts for\"),\n});\nconst RampListVendorsContacts_VendorContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default contact for the vendor\").nullable(),\n}).passthrough().describe(\"Contact information for a vendor\");\nconst RampListVendorsContacts_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through vendor contacts\");\nexport const RampListVendorsContactsOutput = z.object({\n data: z.array(RampListVendorsContacts_VendorContactSchema).describe(\"Array of vendor contact objects returned in the response\"),\n page: RampListVendorsContacts_PageSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data\");\n\nexport const rampListVendorsContacts = action(\"RAMP_LIST_VENDORS_CONTACTS\", {\n slug: \"ramp-list-vendors-contacts\",\n name: \"List Vendor Contacts\",\n description: \"Tool for listing contacts associated with a specific vendor. Returns contact information including names, emails, and phone numbers. Use this to find vendor contact details for communication or relationship management.\",\n input: RampListVendorsContactsInput,\n output: RampListVendorsContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AAClG,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0DAA0D;CAC9H,MAAM,mCAAmC,SAAS;AACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,11 +14,11 @@ declare const RampListVendorsContactsOutput: z.ZodObject<{
14
14
  last_name: z.ZodNullable<z.ZodString>;
15
15
  first_name: z.ZodNullable<z.ZodString>;
16
16
  is_default: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  page: z.ZodNullable<z.ZodObject<{
19
19
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const rampListVendorsContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  vendor_id: string;
24
24
  start?: string | undefined;
@@ -14,11 +14,11 @@ declare const RampListVendorsContactsOutput: z.ZodObject<{
14
14
  last_name: z.ZodNullable<z.ZodString>;
15
15
  first_name: z.ZodNullable<z.ZodString>;
16
16
  is_default: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  page: z.ZodNullable<z.ZodObject<{
19
19
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const rampListVendorsContacts: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  vendor_id: string;
24
24
  start?: string | undefined;
@@ -13,8 +13,8 @@ const RampListVendorsContacts_VendorContactSchema = z.object({
13
13
  last_name: z.string().describe("Last name of the contact").nullable(),
14
14
  first_name: z.string().describe("First name of the contact").nullable(),
15
15
  is_default: z.boolean().describe("Whether this is the default contact for the vendor").nullable()
16
- }).describe("Contact information for a vendor");
17
- const RampListVendorsContacts_PageSchema = z.object({ next: z.string().describe("URL for the next page of results. Null if no more pages available.").nullable().optional() }).describe("Pagination metadata for navigating through vendor contacts");
16
+ }).passthrough().describe("Contact information for a vendor");
17
+ const RampListVendorsContacts_PageSchema = z.object({ next: z.string().describe("URL for the next page of results. Null if no more pages available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through vendor contacts");
18
18
  const rampListVendorsContacts = action("RAMP_LIST_VENDORS_CONTACTS", {
19
19
  slug: "ramp-list-vendors-contacts",
20
20
  name: "List Vendor Contacts",
@@ -23,7 +23,7 @@ const rampListVendorsContacts = action("RAMP_LIST_VENDORS_CONTACTS", {
23
23
  output: z.object({
24
24
  data: z.array(RampListVendorsContacts_VendorContactSchema).describe("Array of vendor contact objects returned in the response"),
25
25
  page: RampListVendorsContacts_PageSchema.nullable()
26
- }).describe("Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data")
26
+ }).passthrough().describe("Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data")
27
27
  });
28
28
  //#endregion
29
29
  export { rampListVendorsContacts };
@@ -1 +1 @@
1
- {"version":3,"file":"list-vendors-contacts.mjs","names":[],"sources":["../../src/actions/list-vendors-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsContactsInput = 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 vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor to retrieve contacts for\"),\n});\nconst RampListVendorsContacts_VendorContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default contact for the vendor\").nullable(),\n}).describe(\"Contact information for a vendor\");\nconst RampListVendorsContacts_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through vendor contacts\");\nexport const RampListVendorsContactsOutput = z.object({\n data: z.array(RampListVendorsContacts_VendorContactSchema).describe(\"Array of vendor contact objects returned in the response\"),\n page: RampListVendorsContacts_PageSchema.nullable(),\n}).describe(\"Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data\");\n\nexport const rampListVendorsContacts = action(\"RAMP_LIST_VENDORS_CONTACTS\", {\n slug: \"ramp-list-vendors-contacts\",\n name: \"List Vendor Contacts\",\n description: \"Tool for listing contacts associated with a specific vendor. Returns contact information including names, emails, and phone numbers. Use this to find vendor contact details for communication or relationship management.\",\n input: RampListVendorsContactsInput,\n output: RampListVendorsContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AAClG,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAMxE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0DAA0D;EAC9H,MAAM,mCAAmC,SAAS;CACpD,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-vendors-contacts.mjs","names":[],"sources":["../../src/actions/list-vendors-contacts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsContactsInput = 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 vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor to retrieve contacts for\"),\n});\nconst RampListVendorsContacts_VendorContactSchema = z.object({\n id: z.string().describe(\"Unique identifier of the contact\").nullable(),\n email: z.string().describe(\"Email address of the contact\").nullable(),\n phone: z.string().describe(\"Phone number of the contact\").nullable(),\n last_name: z.string().describe(\"Last name of the contact\").nullable(),\n first_name: z.string().describe(\"First name of the contact\").nullable(),\n is_default: z.boolean().describe(\"Whether this is the default contact for the vendor\").nullable(),\n}).passthrough().describe(\"Contact information for a vendor\");\nconst RampListVendorsContacts_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Null if no more pages available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through vendor contacts\");\nexport const RampListVendorsContactsOutput = z.object({\n data: z.array(RampListVendorsContacts_VendorContactSchema).describe(\"Array of vendor contact objects returned in the response\"),\n page: RampListVendorsContacts_PageSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp LIST_VENDORS_CONTACTS endpoint with paginated contact data\");\n\nexport const rampListVendorsContacts = action(\"RAMP_LIST_VENDORS_CONTACTS\", {\n slug: \"ramp-list-vendors-contacts\",\n name: \"List Vendor Contacts\",\n description: \"Tool for listing contacts associated with a specific vendor. Returns contact information including names, emails, and phone numbers. Use this to find vendor contact details for communication or relationship management.\",\n input: RampListVendorsContactsInput,\n output: RampListVendorsContactsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,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;CAC7G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AAClG,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAMtF,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,0DAA0D;EAC9H,MAAM,mCAAmC,SAAS;CACpD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
@@ -12,36 +12,36 @@ const RampListVendorsCredits_AmountSchema = zod.z.object({
12
12
  amount: zod.z.number().int().describe("Monetary amount in minor units (e.g., cents for USD)").nullable().optional(),
13
13
  currency_code: zod.z.string().describe("Currency code (e.g., USD)").nullable().optional(),
14
14
  minor_unit_conversion_rate: zod.z.number().int().describe("Minor unit conversion rate (e.g., 100 for cents to dollars)").nullable().optional()
15
- }).describe("Amount object with currency information.");
15
+ }).passthrough().describe("Amount object with currency information.");
16
16
  const RampListVendorsCredits_AppliedBillSchema = zod.z.object({
17
17
  amount: RampListVendorsCredits_AmountSchema.nullable().optional(),
18
18
  bill_id: zod.z.string().describe("Unique identifier (UUID) of the bill").nullable().optional()
19
- }).describe("Information about a bill to which the vendor credit has been applied.");
19
+ }).passthrough().describe("Information about a bill to which the vendor credit has been applied.");
20
20
  const RampListVendorsCredits_CategoryInfoSchema = zod.z.object({
21
21
  id: zod.z.string().describe("Internal identifier for the category").nullable().optional(),
22
22
  name: zod.z.string().describe("Name of the category").nullable().optional(),
23
23
  type: zod.z.string().describe("Type of accounting field (e.g., GL_ACCOUNT)").nullable().optional(),
24
24
  external_id: zod.z.string().describe("External identifier for the category").nullable().optional()
25
- }).describe("Category information for an accounting field.");
25
+ }).passthrough().describe("Category information for an accounting field.");
26
26
  const RampListVendorsCredits_AccountingFieldSelectionSchema = zod.z.object({
27
27
  id: zod.z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
28
28
  name: zod.z.string().describe("Name of the accounting field selection").nullable().optional(),
29
29
  type: zod.z.string().describe("Type of the accounting field selection").nullable().optional(),
30
30
  external_id: zod.z.string().describe("External identifier for the accounting field selection").nullable().optional(),
31
31
  category_info: RampListVendorsCredits_CategoryInfoSchema.nullable().optional()
32
- }).describe("Accounting field selection with category information.");
32
+ }).passthrough().describe("Accounting field selection with category information.");
33
33
  const RampListVendorsCredits_ExpenseLineItemSchema = zod.z.object({
34
34
  memo: zod.z.string().describe("Memo or note for the expense line item").nullable().optional(),
35
35
  amount: RampListVendorsCredits_AmountSchema.nullable().optional(),
36
36
  accounting_field_selections: zod.z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe("Accounting field selections for this expense line item").nullable().optional()
37
- }).describe("Expense line item within a vendor credit.");
37
+ }).passthrough().describe("Expense line item within a vendor credit.");
38
38
  const RampListVendorsCredits_InventoryLineItemSchema = zod.z.object({
39
39
  memo: zod.z.string().describe("Memo or note for the inventory line item").nullable().optional(),
40
40
  amount: RampListVendorsCredits_AmountSchema.nullable().optional(),
41
41
  unit_price: RampListVendorsCredits_AmountSchema.nullable().optional(),
42
42
  unit_quantity: zod.z.number().int().describe("Quantity of units for this line item").nullable().optional(),
43
43
  accounting_field_selections: zod.z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe("Accounting field selections for this inventory line item").nullable().optional()
44
- }).describe("Inventory line item within a vendor credit.");
44
+ }).passthrough().describe("Inventory line item within a vendor credit.");
45
45
  const RampListVendorsCredits_VendorCreditSchema = zod.z.object({
46
46
  id: zod.z.string().describe("Unique identifier (UUID) for the vendor credit").nullable(),
47
47
  vendor_id: zod.z.string().describe("Unique identifier (UUID) of the vendor associated with this credit").nullable(),
@@ -57,12 +57,12 @@ const RampListVendorsCredits_VendorCreditSchema = zod.z.object({
57
57
  inventory_line_items: zod.z.array(RampListVendorsCredits_InventoryLineItemSchema).describe("List of inventory line items within the vendor credit").nullable().optional(),
58
58
  total_applied_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),
59
59
  accounting_field_selections: zod.z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe("Accounting field selections for the vendor credit").nullable().optional()
60
- }).describe("A vendor credit object with all associated details.");
61
- const RampListVendorsCredits_PageSchema = zod.z.object({ next: zod.z.string().describe("The query to get to the next page; it is in the format of <BASE_URL>?<new_params>").nullable().optional() }).describe("Pagination information for the response.");
60
+ }).passthrough().describe("A vendor credit object with all associated details.");
61
+ const RampListVendorsCredits_PageSchema = zod.z.object({ next: zod.z.string().describe("The query to get to the next page; it is in the format of <BASE_URL>?<new_params>").nullable().optional() }).passthrough().describe("Pagination information for the response.");
62
62
  const RampListVendorsCreditsOutput = zod.z.object({
63
63
  data: zod.z.array(RampListVendorsCredits_VendorCreditSchema).describe("Array of vendor credit objects"),
64
64
  page: RampListVendorsCredits_PageSchema.nullable()
65
- }).describe("Response containing a list of vendor credits with pagination.");
65
+ }).passthrough().describe("Response containing a list of vendor credits with pagination.");
66
66
  const rampListVendorsCredits = require_action.action("RAMP_LIST_VENDORS_CREDITS", {
67
67
  slug: "ramp-list-vendors-credits",
68
68
  name: "List Vendor Credits",
@@ -1 +1 @@
1
- {"version":3,"file":"list-vendors-credits.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsCreditsInput = z.object({\n start: z.string().describe(\"The ID of the last entity of the previous page, used for pagination to get the next page\").optional(),\n page_size: z.number().int().default(20).describe(\"The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used\").optional(),\n include_fully_used: z.boolean().describe(\"Include vendor credits that are marked as fully used. Defaults to false if not specified\").optional(),\n to_accounting_date: z.string().describe(\"Filter by vendor credits with an accounting date up to or on the provided date (ISO 8601 date format: YYYY-MM-DD)\").optional(),\n from_accounting_date: z.string().describe(\"Filter by vendor credits with an accounting date on or after the provided date (ISO 8601 date format: YYYY-MM-DD)\").optional(),\n});\nconst RampListVendorsCredits_AmountSchema = z.object({\n amount: z.number().int().describe(\"Monetary amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).describe(\"Amount object with currency information.\");\nconst RampListVendorsCredits_AppliedBillSchema = z.object({\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n bill_id: z.string().describe(\"Unique identifier (UUID) of the bill\").nullable().optional(),\n}).describe(\"Information about a bill to which the vendor credit has been applied.\");\nconst RampListVendorsCredits_CategoryInfoSchema = 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)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).describe(\"Category information for an accounting field.\");\nconst RampListVendorsCredits_AccountingFieldSelectionSchema = 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: RampListVendorsCredits_CategoryInfoSchema.nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampListVendorsCredits_ExpenseLineItemSchema = z.object({\n memo: z.string().describe(\"Memo or note for the expense line item\").nullable().optional(),\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this expense line item\").nullable().optional(),\n}).describe(\"Expense line item within a vendor credit.\");\nconst RampListVendorsCredits_InventoryLineItemSchema = z.object({\n memo: z.string().describe(\"Memo or note for the inventory line item\").nullable().optional(),\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n unit_price: RampListVendorsCredits_AmountSchema.nullable().optional(),\n unit_quantity: z.number().int().describe(\"Quantity of units for this line item\").nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this inventory line item\").nullable().optional(),\n}).describe(\"Inventory line item within a vendor credit.\");\nconst RampListVendorsCredits_VendorCreditSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the vendor credit\").nullable(),\n vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor associated with this credit\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor credit was created (ISO 8601 format)\").nullable().optional(),\n total_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n applied_bills: z.array(RampListVendorsCredits_AppliedBillSchema).describe(\"List of bills to which this vendor credit has been applied\").nullable().optional(),\n accounting_date: z.string().describe(\"Accounting date for the vendor credit (ISO 8601 format)\").nullable().optional(),\n reference_number: z.string().describe(\"Reference number for the vendor credit\").nullable().optional(),\n remaining_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n reference_bill_id: z.string().describe(\"Reference bill ID associated with this vendor credit\").nullable().optional(),\n expense_line_items: z.array(RampListVendorsCredits_ExpenseLineItemSchema).describe(\"List of expense line items within the vendor credit\").nullable().optional(),\n applied_draft_bills: z.array(RampListVendorsCredits_AppliedBillSchema).describe(\"List of draft bills to which this vendor credit has been applied\").nullable().optional(),\n inventory_line_items: z.array(RampListVendorsCredits_InventoryLineItemSchema).describe(\"List of inventory line items within the vendor credit\").nullable().optional(),\n total_applied_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for the vendor credit\").nullable().optional(),\n}).describe(\"A vendor credit object with all associated details.\");\nconst RampListVendorsCredits_PageSchema = z.object({\n next: z.string().describe(\"The query to get to the next page; it is in the format of <BASE_URL>?<new_params>\").nullable().optional(),\n}).describe(\"Pagination information for the response.\");\nexport const RampListVendorsCreditsOutput = z.object({\n data: z.array(RampListVendorsCredits_VendorCreditSchema).describe(\"Array of vendor credit objects\"),\n page: RampListVendorsCredits_PageSchema.nullable(),\n}).describe(\"Response containing a list of vendor credits with pagination.\");\n\nexport const rampListVendorsCredits = action(\"RAMP_LIST_VENDORS_CREDITS\", {\n slug: \"ramp-list-vendors-credits\",\n name: \"List Vendor Credits\",\n description: \"Tool to list all vendor credits for all vendors of a business. Use when you need to track vendor credits, analyze credit usage across vendors, or reconcile vendor accounts.\",\n input: RampListVendorsCreditsInput,\n output: RampListVendorsCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACzM,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACtK,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;AAC1K,CAAC;AACD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,eAA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SAAS,0CAA0C;AACtD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,gCAAgC;CAClG,MAAM,kCAAkC,SAAS;AACnD,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-vendors-credits.cjs","names":["z","action"],"sources":["../../src/actions/list-vendors-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListVendorsCreditsInput = z.object({\n start: z.string().describe(\"The ID of the last entity of the previous page, used for pagination to get the next page\").optional(),\n page_size: z.number().int().default(20).describe(\"The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used\").optional(),\n include_fully_used: z.boolean().describe(\"Include vendor credits that are marked as fully used. Defaults to false if not specified\").optional(),\n to_accounting_date: z.string().describe(\"Filter by vendor credits with an accounting date up to or on the provided date (ISO 8601 date format: YYYY-MM-DD)\").optional(),\n from_accounting_date: z.string().describe(\"Filter by vendor credits with an accounting date on or after the provided date (ISO 8601 date format: YYYY-MM-DD)\").optional(),\n});\nconst RampListVendorsCredits_AmountSchema = z.object({\n amount: z.number().int().describe(\"Monetary amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate (e.g., 100 for cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Amount object with currency information.\");\nconst RampListVendorsCredits_AppliedBillSchema = z.object({\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n bill_id: z.string().describe(\"Unique identifier (UUID) of the bill\").nullable().optional(),\n}).passthrough().describe(\"Information about a bill to which the vendor credit has been applied.\");\nconst RampListVendorsCredits_CategoryInfoSchema = 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)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampListVendorsCredits_AccountingFieldSelectionSchema = 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: RampListVendorsCredits_CategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampListVendorsCredits_ExpenseLineItemSchema = z.object({\n memo: z.string().describe(\"Memo or note for the expense line item\").nullable().optional(),\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this expense line item\").nullable().optional(),\n}).passthrough().describe(\"Expense line item within a vendor credit.\");\nconst RampListVendorsCredits_InventoryLineItemSchema = z.object({\n memo: z.string().describe(\"Memo or note for the inventory line item\").nullable().optional(),\n amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n unit_price: RampListVendorsCredits_AmountSchema.nullable().optional(),\n unit_quantity: z.number().int().describe(\"Quantity of units for this line item\").nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this inventory line item\").nullable().optional(),\n}).passthrough().describe(\"Inventory line item within a vendor credit.\");\nconst RampListVendorsCredits_VendorCreditSchema = z.object({\n id: z.string().describe(\"Unique identifier (UUID) for the vendor credit\").nullable(),\n vendor_id: z.string().describe(\"Unique identifier (UUID) of the vendor associated with this credit\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor credit was created (ISO 8601 format)\").nullable().optional(),\n total_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n applied_bills: z.array(RampListVendorsCredits_AppliedBillSchema).describe(\"List of bills to which this vendor credit has been applied\").nullable().optional(),\n accounting_date: z.string().describe(\"Accounting date for the vendor credit (ISO 8601 format)\").nullable().optional(),\n reference_number: z.string().describe(\"Reference number for the vendor credit\").nullable().optional(),\n remaining_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n reference_bill_id: z.string().describe(\"Reference bill ID associated with this vendor credit\").nullable().optional(),\n expense_line_items: z.array(RampListVendorsCredits_ExpenseLineItemSchema).describe(\"List of expense line items within the vendor credit\").nullable().optional(),\n applied_draft_bills: z.array(RampListVendorsCredits_AppliedBillSchema).describe(\"List of draft bills to which this vendor credit has been applied\").nullable().optional(),\n inventory_line_items: z.array(RampListVendorsCredits_InventoryLineItemSchema).describe(\"List of inventory line items within the vendor credit\").nullable().optional(),\n total_applied_amount: RampListVendorsCredits_AmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampListVendorsCredits_AccountingFieldSelectionSchema).describe(\"Accounting field selections for the vendor credit\").nullable().optional(),\n}).passthrough().describe(\"A vendor credit object with all associated details.\");\nconst RampListVendorsCredits_PageSchema = z.object({\n next: z.string().describe(\"The query to get to the next page; it is in the format of <BASE_URL>?<new_params>\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the response.\");\nexport const RampListVendorsCreditsOutput = z.object({\n data: z.array(RampListVendorsCredits_VendorCreditSchema).describe(\"Array of vendor credit objects\"),\n page: RampListVendorsCredits_PageSchema.nullable(),\n}).passthrough().describe(\"Response containing a list of vendor credits with pagination.\");\n\nexport const rampListVendorsCredits = action(\"RAMP_LIST_VENDORS_CREDITS\", {\n slug: \"ramp-list-vendors-credits\",\n name: \"List Vendor Credits\",\n description: \"Tool to list all vendor credits for all vendors of a business. Use when you need to track vendor credits, analyze credit usage across vendors, or reconcile vendor accounts.\",\n input: RampListVendorsCreditsInput,\n output: RampListVend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