@keystrokehq/ramp 0.1.2 → 0.1.4

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 (566) 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 +14 -2
  5. package/dist/actions/create-department.d.mts +14 -2
  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 +14 -2
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +14 -2
  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 +14 -2
  17. package/dist/actions/create-memo.d.mts +14 -2
  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 +26 -14
  23. package/dist/actions/create-mileage-reimbursement.d.mts +26 -14
  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 +14 -2
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +14 -2
  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 +14 -2
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +14 -2
  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 +14 -2
  41. package/dist/actions/create-user-invite.d.mts +14 -2
  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 +17 -5
  47. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  48. package/dist/actions/create-webhook-subscription.d.mts +17 -5
  49. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  50. package/dist/actions/create-webhook-subscription.mjs +3 -3
  51. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  52. package/dist/actions/deactivate-user.cjs +1 -1
  53. package/dist/actions/deactivate-user.cjs.map +1 -1
  54. package/dist/actions/deactivate-user.d.cts +14 -2
  55. package/dist/actions/deactivate-user.d.cts.map +1 -1
  56. package/dist/actions/deactivate-user.d.mts +14 -2
  57. package/dist/actions/deactivate-user.d.mts.map +1 -1
  58. package/dist/actions/deactivate-user.mjs +1 -1
  59. package/dist/actions/deactivate-user.mjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.cjs +1 -1
  61. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  62. package/dist/actions/delete-accounting-account.d.cts +14 -2
  63. package/dist/actions/delete-accounting-account.d.mts +14 -2
  64. package/dist/actions/delete-accounting-account.mjs +1 -1
  65. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.cjs +1 -1
  67. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  68. package/dist/actions/delete-accounting-connection.d.cts +14 -2
  69. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  70. package/dist/actions/delete-accounting-connection.d.mts +14 -2
  71. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  72. package/dist/actions/delete-accounting-connection.mjs +1 -1
  73. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  74. package/dist/actions/delete-accounting-fields.cjs +1 -1
  75. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  76. package/dist/actions/delete-accounting-fields.d.cts +14 -2
  77. package/dist/actions/delete-accounting-fields.d.mts +14 -2
  78. package/dist/actions/delete-accounting-fields.mjs +1 -1
  79. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  82. package/dist/actions/delete-accounting-inventory-item-options.d.cts +14 -2
  83. package/dist/actions/delete-accounting-inventory-item-options.d.mts +14 -2
  84. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  85. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code-options.d.cts +14 -2
  89. package/dist/actions/delete-accounting-tax-code-options.d.mts +14 -2
  90. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  91. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  92. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-code.d.cts +14 -2
  95. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  96. package/dist/actions/delete-accounting-tax-code.d.mts +14 -2
  97. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  98. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  101. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-tax-rates.d.cts +14 -2
  103. package/dist/actions/delete-accounting-tax-rates.d.mts +14 -2
  104. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  105. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  106. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  107. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  108. package/dist/actions/delete-accounting-vendors.d.cts +14 -2
  109. package/dist/actions/delete-accounting-vendors.d.mts +14 -2
  110. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  111. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  112. package/dist/actions/delete-custom-field-option.cjs +1 -1
  113. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  114. package/dist/actions/delete-custom-field-option.d.cts +14 -2
  115. package/dist/actions/delete-custom-field-option.d.mts +14 -2
  116. package/dist/actions/delete-custom-field-option.mjs +1 -1
  117. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  118. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  119. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  120. package/dist/actions/delete-inventory-item-field.d.cts +14 -2
  121. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  122. package/dist/actions/delete-inventory-item-field.d.mts +14 -2
  123. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  124. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  125. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  126. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  127. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  128. package/dist/actions/delete-spend-allocation-delete-users.d.cts +26 -14
  129. package/dist/actions/delete-spend-allocation-delete-users.d.mts +26 -14
  130. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  131. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  132. package/dist/actions/delete-webhook.cjs +1 -1
  133. package/dist/actions/delete-webhook.cjs.map +1 -1
  134. package/dist/actions/delete-webhook.d.cts +14 -2
  135. package/dist/actions/delete-webhook.d.mts +14 -2
  136. package/dist/actions/delete-webhook.mjs +1 -1
  137. package/dist/actions/delete-webhook.mjs.map +1 -1
  138. package/dist/actions/fetch-accounting-account.cjs +2 -2
  139. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  140. package/dist/actions/fetch-accounting-account.d.cts +15 -3
  141. package/dist/actions/fetch-accounting-account.d.mts +15 -3
  142. package/dist/actions/fetch-accounting-account.mjs +2 -2
  143. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  144. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  145. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  146. package/dist/actions/fetch-accounting-vendor.d.cts +15 -3
  147. package/dist/actions/fetch-accounting-vendor.d.mts +15 -3
  148. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  149. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  150. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  151. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  152. package/dist/actions/fetch-custom-accounting-field.d.cts +15 -3
  153. package/dist/actions/fetch-custom-accounting-field.d.mts +15 -3
  154. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  155. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  156. package/dist/actions/get-accounting-accounts.cjs +4 -4
  157. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  158. package/dist/actions/get-accounting-accounts.d.cts +17 -5
  159. package/dist/actions/get-accounting-accounts.d.mts +17 -5
  160. package/dist/actions/get-accounting-accounts.mjs +4 -4
  161. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  162. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  163. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  164. package/dist/actions/get-accounting-all-connections.d.cts +15 -3
  165. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  166. package/dist/actions/get-accounting-all-connections.d.mts +15 -3
  167. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  168. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  169. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  170. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  171. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  172. package/dist/actions/get-accounting-connection-by-id.d.cts +15 -3
  173. package/dist/actions/get-accounting-connection-by-id.d.mts +15 -3
  174. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  175. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  176. package/dist/actions/get-accounting-connection.cjs +2 -2
  177. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  178. package/dist/actions/get-accounting-connection.d.cts +15 -3
  179. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  180. package/dist/actions/get-accounting-connection.d.mts +15 -3
  181. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  182. package/dist/actions/get-accounting-connection.mjs +2 -2
  183. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  184. package/dist/actions/get-accounting-fields.cjs +3 -3
  185. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  186. package/dist/actions/get-accounting-fields.d.cts +16 -4
  187. package/dist/actions/get-accounting-fields.d.mts +16 -4
  188. package/dist/actions/get-accounting-fields.mjs +3 -3
  189. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  190. package/dist/actions/get-accounting-vendors.cjs +3 -3
  191. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  192. package/dist/actions/get-accounting-vendors.d.cts +16 -4
  193. package/dist/actions/get-accounting-vendors.d.mts +16 -4
  194. package/dist/actions/get-accounting-vendors.mjs +3 -3
  195. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  196. package/dist/actions/get-all-transactions.cjs +3 -3
  197. package/dist/actions/get-all-transactions.cjs.map +1 -1
  198. package/dist/actions/get-all-transactions.d.cts +16 -4
  199. package/dist/actions/get-all-transactions.d.mts +16 -4
  200. package/dist/actions/get-all-transactions.mjs +3 -3
  201. package/dist/actions/get-all-transactions.mjs.map +1 -1
  202. package/dist/actions/get-card-vault-resource.cjs +1 -1
  203. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  204. package/dist/actions/get-card-vault-resource.d.cts +14 -2
  205. package/dist/actions/get-card-vault-resource.d.mts +14 -2
  206. package/dist/actions/get-card-vault-resource.mjs +1 -1
  207. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  208. package/dist/actions/get-card.cjs +5 -5
  209. package/dist/actions/get-card.cjs.map +1 -1
  210. package/dist/actions/get-card.d.cts +18 -6
  211. package/dist/actions/get-card.d.mts +18 -6
  212. package/dist/actions/get-card.mjs +5 -5
  213. package/dist/actions/get-card.mjs.map +1 -1
  214. package/dist/actions/get-custom-field-option.cjs +1 -1
  215. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  216. package/dist/actions/get-custom-field-option.d.cts +14 -2
  217. package/dist/actions/get-custom-field-option.d.mts +14 -2
  218. package/dist/actions/get-custom-field-option.mjs +1 -1
  219. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  220. package/dist/actions/get-department.cjs +1 -1
  221. package/dist/actions/get-department.cjs.map +1 -1
  222. package/dist/actions/get-department.d.cts +14 -2
  223. package/dist/actions/get-department.d.mts +14 -2
  224. package/dist/actions/get-department.mjs +1 -1
  225. package/dist/actions/get-department.mjs.map +1 -1
  226. package/dist/actions/get-inventory-item-field.cjs +1 -1
  227. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  228. package/dist/actions/get-inventory-item-field.d.cts +14 -2
  229. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  230. package/dist/actions/get-inventory-item-field.d.mts +14 -2
  231. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  232. package/dist/actions/get-inventory-item-field.mjs +1 -1
  233. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  234. package/dist/actions/get-memo.cjs +1 -1
  235. package/dist/actions/get-memo.cjs.map +1 -1
  236. package/dist/actions/get-memo.d.cts +14 -2
  237. package/dist/actions/get-memo.d.mts +14 -2
  238. package/dist/actions/get-memo.mjs +1 -1
  239. package/dist/actions/get-memo.mjs.map +1 -1
  240. package/dist/actions/get-reimbursement.cjs +5 -5
  241. package/dist/actions/get-reimbursement.cjs.map +1 -1
  242. package/dist/actions/get-reimbursement.d.cts +20 -8
  243. package/dist/actions/get-reimbursement.d.mts +20 -8
  244. package/dist/actions/get-reimbursement.mjs +5 -5
  245. package/dist/actions/get-reimbursement.mjs.map +1 -1
  246. package/dist/actions/get-spend-limit.cjs +14 -14
  247. package/dist/actions/get-spend-limit.cjs.map +1 -1
  248. package/dist/actions/get-spend-limit.d.cts +32 -20
  249. package/dist/actions/get-spend-limit.d.mts +32 -20
  250. package/dist/actions/get-spend-limit.mjs +14 -14
  251. package/dist/actions/get-spend-limit.mjs.map +1 -1
  252. package/dist/actions/get-statement.cjs +1 -1
  253. package/dist/actions/get-statement.cjs.map +1 -1
  254. package/dist/actions/get-statement.d.cts +14 -2
  255. package/dist/actions/get-statement.d.mts +14 -2
  256. package/dist/actions/get-statement.mjs +1 -1
  257. package/dist/actions/get-statement.mjs.map +1 -1
  258. package/dist/actions/get-transaction.cjs +1 -1
  259. package/dist/actions/get-transaction.cjs.map +1 -1
  260. package/dist/actions/get-transaction.d.cts +14 -2
  261. package/dist/actions/get-transaction.d.mts +14 -2
  262. package/dist/actions/get-transaction.mjs +1 -1
  263. package/dist/actions/get-transaction.mjs.map +1 -1
  264. package/dist/actions/get-user.cjs +2 -2
  265. package/dist/actions/get-user.cjs.map +1 -1
  266. package/dist/actions/get-user.d.cts +15 -3
  267. package/dist/actions/get-user.d.mts +15 -3
  268. package/dist/actions/get-user.mjs +2 -2
  269. package/dist/actions/get-user.mjs.map +1 -1
  270. package/dist/actions/get-users-deferred-status.cjs +3 -3
  271. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  272. package/dist/actions/get-users-deferred-status.d.cts +16 -4
  273. package/dist/actions/get-users-deferred-status.d.mts +16 -4
  274. package/dist/actions/get-users-deferred-status.mjs +3 -3
  275. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  276. package/dist/actions/get-vendor.cjs +3 -3
  277. package/dist/actions/get-vendor.cjs.map +1 -1
  278. package/dist/actions/get-vendor.d.cts +19 -7
  279. package/dist/actions/get-vendor.d.mts +19 -7
  280. package/dist/actions/get-vendor.mjs +3 -3
  281. package/dist/actions/get-vendor.mjs.map +1 -1
  282. package/dist/actions/get-webhook.cjs +1 -1
  283. package/dist/actions/get-webhook.cjs.map +1 -1
  284. package/dist/actions/get-webhook.d.cts +14 -2
  285. package/dist/actions/get-webhook.d.mts +14 -2
  286. package/dist/actions/get-webhook.mjs +1 -1
  287. package/dist/actions/get-webhook.mjs.map +1 -1
  288. package/dist/actions/issue-virtual-card.cjs +3 -3
  289. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  290. package/dist/actions/issue-virtual-card.d.cts +16 -4
  291. package/dist/actions/issue-virtual-card.d.mts +16 -4
  292. package/dist/actions/issue-virtual-card.mjs +3 -3
  293. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  294. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  295. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  296. package/dist/actions/list-accounting-inventory-item-options.d.cts +16 -4
  297. package/dist/actions/list-accounting-inventory-item-options.d.mts +16 -4
  298. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  299. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  300. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  301. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  302. package/dist/actions/list-accounting-tax-rates.d.cts +16 -4
  303. package/dist/actions/list-accounting-tax-rates.d.mts +16 -4
  304. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  305. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  306. package/dist/actions/list-cards.cjs +7 -7
  307. package/dist/actions/list-cards.cjs.map +1 -1
  308. package/dist/actions/list-cards.d.cts +20 -8
  309. package/dist/actions/list-cards.d.mts +20 -8
  310. package/dist/actions/list-cards.mjs +7 -7
  311. package/dist/actions/list-cards.mjs.map +1 -1
  312. package/dist/actions/list-departments.cjs +3 -3
  313. package/dist/actions/list-departments.cjs.map +1 -1
  314. package/dist/actions/list-departments.d.cts +16 -4
  315. package/dist/actions/list-departments.d.mts +16 -4
  316. package/dist/actions/list-departments.mjs +3 -3
  317. package/dist/actions/list-departments.mjs.map +1 -1
  318. package/dist/actions/list-memos.cjs +3 -3
  319. package/dist/actions/list-memos.cjs.map +1 -1
  320. package/dist/actions/list-memos.d.cts +16 -4
  321. package/dist/actions/list-memos.d.mts +16 -4
  322. package/dist/actions/list-memos.mjs +3 -3
  323. package/dist/actions/list-memos.mjs.map +1 -1
  324. package/dist/actions/list-reimbursements.cjs +7 -7
  325. package/dist/actions/list-reimbursements.cjs.map +1 -1
  326. package/dist/actions/list-reimbursements.d.cts +22 -10
  327. package/dist/actions/list-reimbursements.d.mts +22 -10
  328. package/dist/actions/list-reimbursements.mjs +7 -7
  329. package/dist/actions/list-reimbursements.mjs.map +1 -1
  330. package/dist/actions/list-statements.cjs +6 -6
  331. package/dist/actions/list-statements.cjs.map +1 -1
  332. package/dist/actions/list-statements.d.cts +28 -16
  333. package/dist/actions/list-statements.d.mts +28 -16
  334. package/dist/actions/list-statements.mjs +6 -6
  335. package/dist/actions/list-statements.mjs.map +1 -1
  336. package/dist/actions/list-users.cjs +4 -4
  337. package/dist/actions/list-users.cjs.map +1 -1
  338. package/dist/actions/list-users.d.cts +17 -5
  339. package/dist/actions/list-users.d.mts +17 -5
  340. package/dist/actions/list-users.mjs +4 -4
  341. package/dist/actions/list-users.mjs.map +1 -1
  342. package/dist/actions/list-vendors-accounts.cjs +3 -3
  343. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  344. package/dist/actions/list-vendors-accounts.d.cts +16 -4
  345. package/dist/actions/list-vendors-accounts.d.mts +16 -4
  346. package/dist/actions/list-vendors-accounts.mjs +3 -3
  347. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  348. package/dist/actions/list-vendors-contacts.cjs +3 -3
  349. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  350. package/dist/actions/list-vendors-contacts.d.cts +16 -4
  351. package/dist/actions/list-vendors-contacts.d.mts +16 -4
  352. package/dist/actions/list-vendors-contacts.mjs +3 -3
  353. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  354. package/dist/actions/list-vendors-credits.cjs +9 -9
  355. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  356. package/dist/actions/list-vendors-credits.d.cts +34 -22
  357. package/dist/actions/list-vendors-credits.d.mts +34 -22
  358. package/dist/actions/list-vendors-credits.mjs +9 -9
  359. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  360. package/dist/actions/list-vendors.cjs +5 -5
  361. package/dist/actions/list-vendors.cjs.map +1 -1
  362. package/dist/actions/list-vendors.d.cts +19 -7
  363. package/dist/actions/list-vendors.d.mts +19 -7
  364. package/dist/actions/list-vendors.mjs +5 -5
  365. package/dist/actions/list-vendors.mjs.map +1 -1
  366. package/dist/actions/list-webhooks.cjs +2 -2
  367. package/dist/actions/list-webhooks.cjs.map +1 -1
  368. package/dist/actions/list-webhooks.d.cts +15 -3
  369. package/dist/actions/list-webhooks.d.cts.map +1 -1
  370. package/dist/actions/list-webhooks.d.mts +15 -3
  371. package/dist/actions/list-webhooks.d.mts.map +1 -1
  372. package/dist/actions/list-webhooks.mjs +2 -2
  373. package/dist/actions/list-webhooks.mjs.map +1 -1
  374. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  375. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  376. package/dist/actions/options-for-custom-accounting-field.d.cts +16 -4
  377. package/dist/actions/options-for-custom-accounting-field.d.mts +16 -4
  378. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  379. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  380. package/dist/actions/patch-accounting-connection.cjs +2 -2
  381. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  382. package/dist/actions/patch-accounting-connection.d.cts +15 -3
  383. package/dist/actions/patch-accounting-connection.d.mts +15 -3
  384. package/dist/actions/patch-accounting-connection.mjs +2 -2
  385. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  386. package/dist/actions/patch-card-resource.cjs +1 -1
  387. package/dist/actions/patch-card-resource.cjs.map +1 -1
  388. package/dist/actions/patch-card-resource.d.cts +14 -2
  389. package/dist/actions/patch-card-resource.d.mts +14 -2
  390. package/dist/actions/patch-card-resource.mjs +1 -1
  391. package/dist/actions/patch-card-resource.mjs.map +1 -1
  392. package/dist/actions/patch-custom-field-option.cjs +1 -1
  393. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  394. package/dist/actions/patch-custom-field-option.d.cts +14 -2
  395. package/dist/actions/patch-custom-field-option.d.mts +14 -2
  396. package/dist/actions/patch-custom-field-option.mjs +1 -1
  397. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  398. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  399. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  400. package/dist/actions/patch-gl-account-resource.d.cts +15 -3
  401. package/dist/actions/patch-gl-account-resource.d.mts +15 -3
  402. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  403. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  404. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  405. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  406. package/dist/actions/patch-inventory-item-field.d.cts +14 -2
  407. package/dist/actions/patch-inventory-item-field.d.mts +14 -2
  408. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  409. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  410. package/dist/actions/post-accounting-accounts.cjs +4 -4
  411. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  412. package/dist/actions/post-accounting-accounts.d.cts +18 -5
  413. package/dist/actions/post-accounting-accounts.d.mts +18 -5
  414. package/dist/actions/post-accounting-accounts.mjs +4 -4
  415. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  416. package/dist/actions/post-accounting-connection.cjs +2 -2
  417. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  418. package/dist/actions/post-accounting-connection.d.cts +15 -3
  419. package/dist/actions/post-accounting-connection.d.mts +15 -3
  420. package/dist/actions/post-accounting-connection.mjs +2 -2
  421. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  422. package/dist/actions/post-accounting-vendors.cjs +4 -4
  423. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  424. package/dist/actions/post-accounting-vendors.d.cts +18 -5
  425. package/dist/actions/post-accounting-vendors.d.mts +18 -5
  426. package/dist/actions/post-accounting-vendors.mjs +4 -4
  427. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  428. package/dist/actions/post-inventory-item-options.cjs +3 -3
  429. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  430. package/dist/actions/post-inventory-item-options.d.cts +17 -4
  431. package/dist/actions/post-inventory-item-options.d.mts +17 -4
  432. package/dist/actions/post-inventory-item-options.mjs +3 -3
  433. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  434. package/dist/actions/post-physical-card.cjs +2 -2
  435. package/dist/actions/post-physical-card.cjs.map +1 -1
  436. package/dist/actions/post-physical-card.d.cts +16 -4
  437. package/dist/actions/post-physical-card.d.cts.map +1 -1
  438. package/dist/actions/post-physical-card.d.mts +16 -4
  439. package/dist/actions/post-physical-card.d.mts.map +1 -1
  440. package/dist/actions/post-physical-card.mjs +2 -2
  441. package/dist/actions/post-physical-card.mjs.map +1 -1
  442. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  443. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  444. package/dist/actions/reactivate-accounting-connection.d.cts +15 -3
  445. package/dist/actions/reactivate-accounting-connection.d.mts +15 -3
  446. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  447. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  448. package/dist/actions/reactivate-user.cjs +1 -1
  449. package/dist/actions/reactivate-user.cjs.map +1 -1
  450. package/dist/actions/reactivate-user.d.cts +14 -2
  451. package/dist/actions/reactivate-user.d.cts.map +1 -1
  452. package/dist/actions/reactivate-user.d.mts +14 -2
  453. package/dist/actions/reactivate-user.d.mts.map +1 -1
  454. package/dist/actions/reactivate-user.mjs +1 -1
  455. package/dist/actions/reactivate-user.mjs.map +1 -1
  456. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  457. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  458. package/dist/actions/submit-reimbursement-receipt.d.cts +26 -14
  459. package/dist/actions/submit-reimbursement-receipt.d.mts +26 -14
  460. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  461. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  462. package/dist/actions/suspend-card.cjs +1 -1
  463. package/dist/actions/suspend-card.cjs.map +1 -1
  464. package/dist/actions/suspend-card.d.cts +14 -2
  465. package/dist/actions/suspend-card.d.mts +14 -2
  466. package/dist/actions/suspend-card.mjs +1 -1
  467. package/dist/actions/suspend-card.mjs.map +1 -1
  468. package/dist/actions/terminate-card.cjs +1 -1
  469. package/dist/actions/terminate-card.cjs.map +1 -1
  470. package/dist/actions/terminate-card.d.cts +14 -2
  471. package/dist/actions/terminate-card.d.mts +14 -2
  472. package/dist/actions/terminate-card.mjs +1 -1
  473. package/dist/actions/terminate-card.mjs.map +1 -1
  474. package/dist/actions/update-accounting-field.cjs +1 -1
  475. package/dist/actions/update-accounting-field.cjs.map +1 -1
  476. package/dist/actions/update-accounting-field.d.cts +14 -2
  477. package/dist/actions/update-accounting-field.d.mts +14 -2
  478. package/dist/actions/update-accounting-field.mjs +1 -1
  479. package/dist/actions/update-accounting-field.mjs.map +1 -1
  480. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  481. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  482. package/dist/actions/update-accounting-inventory-item-options.d.cts +14 -2
  483. package/dist/actions/update-accounting-inventory-item-options.d.mts +14 -2
  484. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  485. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  486. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  487. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  488. package/dist/actions/update-accounting-tax-code-options.d.cts +14 -2
  489. package/dist/actions/update-accounting-tax-code-options.d.mts +14 -2
  490. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  491. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  492. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  493. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  494. package/dist/actions/update-accounting-tax-code.d.cts +14 -2
  495. package/dist/actions/update-accounting-tax-code.d.mts +14 -2
  496. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  497. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  498. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  499. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  500. package/dist/actions/update-accounting-tax-rate.d.cts +14 -2
  501. package/dist/actions/update-accounting-tax-rate.d.mts +14 -2
  502. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  503. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  504. package/dist/actions/update-accounting-vendor.cjs +2 -2
  505. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  506. package/dist/actions/update-accounting-vendor.d.cts +15 -3
  507. package/dist/actions/update-accounting-vendor.d.mts +15 -3
  508. package/dist/actions/update-accounting-vendor.mjs +2 -2
  509. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  510. package/dist/actions/update-card-limit.cjs +4 -4
  511. package/dist/actions/update-card-limit.cjs.map +1 -1
  512. package/dist/actions/update-card-limit.d.cts +17 -5
  513. package/dist/actions/update-card-limit.d.mts +17 -5
  514. package/dist/actions/update-card-limit.mjs +4 -4
  515. package/dist/actions/update-card-limit.mjs.map +1 -1
  516. package/dist/actions/update-department.cjs +1 -1
  517. package/dist/actions/update-department.cjs.map +1 -1
  518. package/dist/actions/update-department.d.cts +14 -2
  519. package/dist/actions/update-department.d.mts +14 -2
  520. package/dist/actions/update-department.mjs +1 -1
  521. package/dist/actions/update-department.mjs.map +1 -1
  522. package/dist/actions/update-limits.cjs +9 -9
  523. package/dist/actions/update-limits.cjs.map +1 -1
  524. package/dist/actions/update-limits.d.cts +28 -15
  525. package/dist/actions/update-limits.d.mts +28 -15
  526. package/dist/actions/update-limits.mjs +9 -9
  527. package/dist/actions/update-limits.mjs.map +1 -1
  528. package/dist/actions/update-user.cjs +1 -1
  529. package/dist/actions/update-user.cjs.map +1 -1
  530. package/dist/actions/update-user.d.cts +14 -2
  531. package/dist/actions/update-user.d.cts.map +1 -1
  532. package/dist/actions/update-user.d.mts +14 -2
  533. package/dist/actions/update-user.d.mts.map +1 -1
  534. package/dist/actions/update-user.mjs +1 -1
  535. package/dist/actions/update-user.mjs.map +1 -1
  536. package/dist/actions/upload-new-options.cjs +3 -3
  537. package/dist/actions/upload-new-options.cjs.map +1 -1
  538. package/dist/actions/upload-new-options.d.cts +17 -4
  539. package/dist/actions/upload-new-options.d.mts +17 -4
  540. package/dist/actions/upload-new-options.mjs +3 -3
  541. package/dist/actions/upload-new-options.mjs.map +1 -1
  542. package/dist/actions/upload-tax-code-options.cjs +3 -3
  543. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  544. package/dist/actions/upload-tax-code-options.d.cts +17 -4
  545. package/dist/actions/upload-tax-code-options.d.mts +17 -4
  546. package/dist/actions/upload-tax-code-options.mjs +3 -3
  547. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  548. package/dist/actions/upload-tax-rates.cjs +3 -3
  549. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  550. package/dist/actions/upload-tax-rates.d.cts +17 -4
  551. package/dist/actions/upload-tax-rates.d.mts +17 -4
  552. package/dist/actions/upload-tax-rates.mjs +3 -3
  553. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  554. package/dist/app.cjs +5 -2
  555. package/dist/app.cjs.map +1 -1
  556. package/dist/app.d.cts +9 -1
  557. package/dist/app.d.cts.map +1 -1
  558. package/dist/app.d.mts +9 -1
  559. package/dist/app.d.mts.map +1 -1
  560. package/dist/app.mjs +3 -1
  561. package/dist/app.mjs.map +1 -1
  562. package/dist/execute.cjs +1 -1
  563. package/dist/execute.cjs.map +1 -1
  564. package/dist/execute.mjs +1 -1
  565. package/dist/execute.mjs.map +1 -1
  566. package/package.json +1 -1
@@ -11,15 +11,27 @@ declare const RampGetAccountingFieldsOutput: z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  input_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  is_splittable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>>;
18
+ }, z.core.$loose>;
19
19
  declare const rampGetAccountingFields: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  start?: string | undefined;
21
21
  page_size?: number | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { rampGetAccountingFields };
25
37
  //# sourceMappingURL=get-accounting-fields.d.mts.map
@@ -10,8 +10,8 @@ const RampGetAccountingFields_AccountingFieldSchema = z.object({
10
10
  name: z.string().describe("Display name of the custom accounting field").nullable().optional(),
11
11
  input_type: z.string().describe("Type of field input (e.g., 'SINGLE_CHOICE', 'BOOLEAN', 'FREE_TEXT')").nullable().optional(),
12
12
  is_splittable: z.boolean().describe("Whether the field can be split across multiple line items in transactions").nullable().optional()
13
- }).describe("Individual custom accounting field object.");
14
- const RampGetAccountingFields_PageSchema = z.object({ next: z.string().describe("URL for the next page of results. Present when more results are available.").nullable().optional() }).describe("Pagination metadata for navigating through results.");
13
+ }).passthrough().describe("Individual custom accounting field object.");
14
+ const RampGetAccountingFields_PageSchema = z.object({ next: z.string().describe("URL for the next page of results. Present when more results are available.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through results.");
15
15
  const rampGetAccountingFields = action("RAMP_GET_ACCOUNTING_FIELDS", {
16
16
  slug: "ramp-get-accounting-fields",
17
17
  name: "List Custom Accounting Fields",
@@ -20,7 +20,7 @@ const rampGetAccountingFields = action("RAMP_GET_ACCOUNTING_FIELDS", {
20
20
  output: z.object({
21
21
  data: z.array(RampGetAccountingFields_AccountingFieldSchema).describe("Array of custom accounting field objects returned in the paginated response"),
22
22
  page: RampGetAccountingFields_PageSchema.nullable().optional()
23
- }).describe("Response from Ramp GET accounting fields endpoint with paginated field data.")
23
+ }).passthrough().describe("Response from Ramp GET accounting fields endpoint with paginated field data.")
24
24
  });
25
25
  //#endregion
26
26
  export { rampGetAccountingFields };
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-fields.mjs","names":[],"sources":["../../src/actions/get-accounting-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingFieldsInput = 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}).describe(\"Request parameters to list custom accounting fields.\");\nconst RampGetAccountingFields_AccountingFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom field in UUID format\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable().optional(),\n input_type: z.string().describe(\"Type of field input (e.g., 'SINGLE_CHOICE', 'BOOLEAN', 'FREE_TEXT')\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable().optional(),\n}).describe(\"Individual custom accounting field object.\");\nconst RampGetAccountingFields_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingFieldsOutput = z.object({\n data: z.array(RampGetAccountingFields_AccountingFieldSchema).describe(\"Array of custom accounting field objects returned in the paginated response\"),\n page: RampGetAccountingFields_PageSchema.nullable().optional(),\n}).describe(\"Response from Ramp GET accounting fields endpoint with paginated field data.\");\n\nexport const rampGetAccountingFields = action(\"RAMP_GET_ACCOUNTING_FIELDS\", {\n slug: \"ramp-get-accounting-fields\",\n name: \"List Custom Accounting Fields\",\n description: \"Tool to list custom accounting fields for coding transactions. Use when you need to retrieve custom accounting fields that can be leveraged to code transactions, reimbursements, and bills.\",\n input: RampGetAccountingFieldsInput,\n output: RampGetAccountingFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAMjE,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6EAA6E;EACnJ,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,CAAC,CAAC,CAAC,SAAS,8EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-fields.mjs","names":[],"sources":["../../src/actions/get-accounting-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingFieldsInput = 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}).describe(\"Request parameters to list custom accounting fields.\");\nconst RampGetAccountingFields_AccountingFieldSchema = z.object({\n id: z.string().describe(\"Unique identifier for the custom field in UUID format\").nullable().optional(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable().optional(),\n input_type: z.string().describe(\"Type of field input (e.g., 'SINGLE_CHOICE', 'BOOLEAN', 'FREE_TEXT')\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable().optional(),\n}).passthrough().describe(\"Individual custom accounting field object.\");\nconst RampGetAccountingFields_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingFieldsOutput = z.object({\n data: z.array(RampGetAccountingFields_AccountingFieldSchema).describe(\"Array of custom accounting field objects returned in the paginated response\"),\n page: RampGetAccountingFields_PageSchema.nullable().optional(),\n}).passthrough().describe(\"Response from Ramp GET accounting fields endpoint with paginated field data.\");\n\nexport const rampGetAccountingFields = action(\"RAMP_GET_ACCOUNTING_FIELDS\", {\n slug: \"ramp-get-accounting-fields\",\n name: \"List Custom Accounting Fields\",\n description: \"Tool to list custom accounting fields for coding transactions. Use when you need to retrieve custom accounting fields that can be leveraged to code transactions, reimbursements, and bills.\",\n input: RampGetAccountingFieldsInput,\n output: RampGetAccountingFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6EAA6E;EACnJ,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
@@ -10,12 +10,12 @@ const RampGetAccountingVendors_AccountingVendorSchema = zod.z.object({
10
10
  name: zod.z.string().describe("The display name of the vendor").nullable().optional(),
11
11
  remote_id: zod.z.string().describe("External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)").nullable().optional(),
12
12
  category_id: zod.z.string().describe("Category identifier for the vendor, used for automated categorization in accounting software and tax compliance").nullable().optional()
13
- }).describe("Individual accounting vendor object.");
14
- const RampGetAccountingVendors_PageMetadataSchema = zod.z.object({ next: zod.z.string().describe("The complete URL to fetch the next page of results. If null or absent, there are no more pages.").nullable().optional() }).describe("Pagination metadata for navigating through results.");
13
+ }).passthrough().describe("Individual accounting vendor object.");
14
+ const RampGetAccountingVendors_PageMetadataSchema = zod.z.object({ next: zod.z.string().describe("The complete URL to fetch the next page of results. If null or absent, there are no more pages.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through results.");
15
15
  const RampGetAccountingVendorsOutput = zod.z.object({
16
16
  data: zod.z.array(RampGetAccountingVendors_AccountingVendorSchema).describe("Array of accounting vendor objects returned in the paginated response"),
17
17
  page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional()
18
- }).describe("Response from Ramp GET accounting vendors endpoint with paginated vendor data.");
18
+ }).passthrough().describe("Response from Ramp GET accounting vendors endpoint with paginated vendor data.");
19
19
  const rampGetAccountingVendors = require_action.action("RAMP_GET_ACCOUNTING_VENDORS", {
20
20
  slug: "ramp-get-accounting-vendors",
21
21
  name: "List Accounting Vendors",
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-vendors.cjs","names":["z","action"],"sources":["../../src/actions/get-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingVendorsInput = z.object({\n cursor: z.string().describe(\"The ID of the last entity from the previous page, used for pagination to get the next page of results. Ramp uses cursor-based pagination for consistent results.\").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}).describe(\"Request parameters to list accounting vendors.\");\nconst RampGetAccountingVendors_AccountingVendorSchema = z.object({\n id: z.string().describe(\"The unique identifier for the vendor in Ramp's system\").nullable().optional(),\n name: z.string().describe(\"The display name of the vendor\").nullable().optional(),\n remote_id: z.string().describe(\"External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n category_id: z.string().describe(\"Category identifier for the vendor, used for automated categorization in accounting software and tax compliance\").nullable().optional(),\n}).describe(\"Individual accounting vendor object.\");\nconst RampGetAccountingVendors_PageMetadataSchema = z.object({\n next: z.string().describe(\"The complete URL to fetch the next page of results. If null or absent, there are no more pages.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingVendorsOutput = z.object({\n data: z.array(RampGetAccountingVendors_AccountingVendorSchema).describe(\"Array of accounting vendor objects returned in the paginated response\"),\n page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional(),\n}).describe(\"Response from Ramp GET accounting vendors endpoint with paginated vendor data.\");\n\nexport const rampGetAccountingVendors = action(\"RAMP_GET_ACCOUNTING_VENDORS\", {\n slug: \"ramp-get-accounting-vendors\",\n name: \"List Accounting Vendors\",\n description: \"Tool to list accounting vendors from Ramp. Use when you need to retrieve vendor data for transaction coding, reimbursements, bills, or purchase orders in the accounting system.\",\n input: RampGetAccountingVendorsInput,\n output: RampGetAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE;CAC/I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAE5F,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-vendors.cjs","names":["z","action"],"sources":["../../src/actions/get-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingVendorsInput = z.object({\n cursor: z.string().describe(\"The ID of the last entity from the previous page, used for pagination to get the next page of results. Ramp uses cursor-based pagination for consistent results.\").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}).describe(\"Request parameters to list accounting vendors.\");\nconst RampGetAccountingVendors_AccountingVendorSchema = z.object({\n id: z.string().describe(\"The unique identifier for the vendor in Ramp's system\").nullable().optional(),\n name: z.string().describe(\"The display name of the vendor\").nullable().optional(),\n remote_id: z.string().describe(\"External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n category_id: z.string().describe(\"Category identifier for the vendor, used for automated categorization in accounting software and tax compliance\").nullable().optional(),\n}).passthrough().describe(\"Individual accounting vendor object.\");\nconst RampGetAccountingVendors_PageMetadataSchema = z.object({\n next: z.string().describe(\"The complete URL to fetch the next page of results. If null or absent, there are no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingVendorsOutput = z.object({\n data: z.array(RampGetAccountingVendors_AccountingVendorSchema).describe(\"Array of accounting vendor objects returned in the paginated response\"),\n page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional(),\n}).passthrough().describe(\"Response from Ramp GET accounting vendors endpoint with paginated vendor data.\");\n\nexport const rampGetAccountingVendors = action(\"RAMP_GET_ACCOUNTING_VENDORS\", {\n slug: \"ramp-get-accounting-vendors\",\n name: \"List Accounting Vendors\",\n description: \"Tool to list accounting vendors from Ramp. Use when you need to retrieve vendor data for transaction coding, reimbursements, bills, or purchase orders in the accounting system.\",\n input: RampGetAccountingVendorsInput,\n output: RampGetAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE;CAC/I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAAgF;AAE1G,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,15 +11,27 @@ declare const RampGetAccountingVendorsOutput: z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>>;
18
+ }, z.core.$loose>;
19
19
  declare const rampGetAccountingVendors: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  cursor?: string | undefined;
21
21
  page_size?: number | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { rampGetAccountingVendors };
25
37
  //# sourceMappingURL=get-accounting-vendors.d.cts.map
@@ -11,15 +11,27 @@ declare const RampGetAccountingVendorsOutput: z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>;
14
+ }, z.core.$loose>>;
15
15
  page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>>;
18
+ }, z.core.$loose>;
19
19
  declare const rampGetAccountingVendors: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  cursor?: string | undefined;
21
21
  page_size?: number | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { rampGetAccountingVendors };
25
37
  //# sourceMappingURL=get-accounting-vendors.d.mts.map
@@ -10,8 +10,8 @@ const RampGetAccountingVendors_AccountingVendorSchema = z.object({
10
10
  name: z.string().describe("The display name of the vendor").nullable().optional(),
11
11
  remote_id: z.string().describe("External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)").nullable().optional(),
12
12
  category_id: z.string().describe("Category identifier for the vendor, used for automated categorization in accounting software and tax compliance").nullable().optional()
13
- }).describe("Individual accounting vendor object.");
14
- const RampGetAccountingVendors_PageMetadataSchema = z.object({ next: z.string().describe("The complete URL to fetch the next page of results. If null or absent, there are no more pages.").nullable().optional() }).describe("Pagination metadata for navigating through results.");
13
+ }).passthrough().describe("Individual accounting vendor object.");
14
+ const RampGetAccountingVendors_PageMetadataSchema = z.object({ next: z.string().describe("The complete URL to fetch the next page of results. If null or absent, there are no more pages.").nullable().optional() }).passthrough().describe("Pagination metadata for navigating through results.");
15
15
  const rampGetAccountingVendors = action("RAMP_GET_ACCOUNTING_VENDORS", {
16
16
  slug: "ramp-get-accounting-vendors",
17
17
  name: "List Accounting Vendors",
@@ -20,7 +20,7 @@ const rampGetAccountingVendors = action("RAMP_GET_ACCOUNTING_VENDORS", {
20
20
  output: z.object({
21
21
  data: z.array(RampGetAccountingVendors_AccountingVendorSchema).describe("Array of accounting vendor objects returned in the paginated response"),
22
22
  page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional()
23
- }).describe("Response from Ramp GET accounting vendors endpoint with paginated vendor data.")
23
+ }).passthrough().describe("Response from Ramp GET accounting vendors endpoint with paginated vendor data.")
24
24
  });
25
25
  //#endregion
26
26
  export { rampGetAccountingVendors };
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-vendors.mjs","names":[],"sources":["../../src/actions/get-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingVendorsInput = z.object({\n cursor: z.string().describe(\"The ID of the last entity from the previous page, used for pagination to get the next page of results. Ramp uses cursor-based pagination for consistent results.\").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}).describe(\"Request parameters to list accounting vendors.\");\nconst RampGetAccountingVendors_AccountingVendorSchema = z.object({\n id: z.string().describe(\"The unique identifier for the vendor in Ramp's system\").nullable().optional(),\n name: z.string().describe(\"The display name of the vendor\").nullable().optional(),\n remote_id: z.string().describe(\"External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n category_id: z.string().describe(\"Category identifier for the vendor, used for automated categorization in accounting software and tax compliance\").nullable().optional(),\n}).describe(\"Individual accounting vendor object.\");\nconst RampGetAccountingVendors_PageMetadataSchema = z.object({\n next: z.string().describe(\"The complete URL to fetch the next page of results. If null or absent, there are no more pages.\").nullable().optional(),\n}).describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingVendorsOutput = z.object({\n data: z.array(RampGetAccountingVendors_AccountingVendorSchema).describe(\"Array of accounting vendor objects returned in the paginated response\"),\n page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional(),\n}).describe(\"Response from Ramp GET accounting vendors endpoint with paginated vendor data.\");\n\nexport const rampGetAccountingVendors = action(\"RAMP_GET_ACCOUNTING_VENDORS\", {\n slug: \"ramp-get-accounting-vendors\",\n name: \"List Accounting Vendors\",\n description: \"Tool to list accounting vendors from Ramp. Use when you need to retrieve vendor data for transaction coding, reimbursements, bills, or purchase orders in the accounting system.\",\n input: RampGetAccountingVendorsInput,\n output: RampGetAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAMjE,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE;EAC/I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,gFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-vendors.mjs","names":[],"sources":["../../src/actions/get-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingVendorsInput = z.object({\n cursor: z.string().describe(\"The ID of the last entity from the previous page, used for pagination to get the next page of results. Ramp uses cursor-based pagination for consistent results.\").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}).describe(\"Request parameters to list accounting vendors.\");\nconst RampGetAccountingVendors_AccountingVendorSchema = z.object({\n id: z.string().describe(\"The unique identifier for the vendor in Ramp's system\").nullable().optional(),\n name: z.string().describe(\"The display name of the vendor\").nullable().optional(),\n remote_id: z.string().describe(\"External identifier that links the vendor to the corresponding vendor in your ERP/accounting system (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n category_id: z.string().describe(\"Category identifier for the vendor, used for automated categorization in accounting software and tax compliance\").nullable().optional(),\n}).passthrough().describe(\"Individual accounting vendor object.\");\nconst RampGetAccountingVendors_PageMetadataSchema = z.object({\n next: z.string().describe(\"The complete URL to fetch the next page of results. If null or absent, there are no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nexport const RampGetAccountingVendorsOutput = z.object({\n data: z.array(RampGetAccountingVendors_AccountingVendorSchema).describe(\"Array of accounting vendor objects returned in the paginated response\"),\n page: RampGetAccountingVendors_PageMetadataSchema.nullable().optional(),\n}).passthrough().describe(\"Response from Ramp GET accounting vendors endpoint with paginated vendor data.\");\n\nexport const rampGetAccountingVendors = action(\"RAMP_GET_ACCOUNTING_VENDORS\", {\n slug: \"ramp-get-accounting-vendors\",\n name: \"List Accounting Vendors\",\n description: \"Tool to list accounting vendors from Ramp. Use when you need to retrieve vendor data for transaction coding, reimbursements, bills, or purchase orders in the accounting system.\",\n input: RampGetAccountingVendorsInput,\n output: RampGetAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACzM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,8CAA8C,EAAE,OAAO,EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAM/E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,uEAAuE;EAC/I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAOhB;AACV,CAAC"}
@@ -53,15 +53,15 @@ const RampGetAllTransactions_TransactionSchema = zod.z.object({
53
53
  policyViolations: zod.z.array(RampGetAllTransactions_PolicyViolationSchema).describe("Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.").nullable().optional(),
54
54
  accountingFieldId: zod.z.string().describe("Identifier for accounting field coding (category, vendor, location) associated with the transaction.").nullable().optional(),
55
55
  userTransactionTime: zod.z.string().describe("Timestamp when the transaction was made by the user.").nullable().optional()
56
- }).describe("Represents a single transaction from the Ramp API.");
56
+ }).passthrough().describe("Represents a single transaction from the Ramp API.");
57
57
  const RampGetAllTransactions_PageInfoSchema = zod.z.object({
58
58
  next: zod.z.string().describe("URL for the next page of results.").nullable().optional(),
59
59
  cursor: zod.z.string().describe("Cursor for pagination extracted from the next URL.").nullable().optional()
60
- }).describe("Pagination information for the API response.");
60
+ }).passthrough().describe("Pagination information for the API response.");
61
61
  const RampGetAllTransactionsOutput = zod.z.object({
62
62
  data: zod.z.array(RampGetAllTransactions_TransactionSchema).describe("List of transactions returned by the API."),
63
63
  page: RampGetAllTransactions_PageInfoSchema.nullable().optional()
64
- }).describe("Response containing a list of transactions and pagination information.");
64
+ }).passthrough().describe("Response containing a list of transactions and pagination information.");
65
65
  const rampGetAllTransactions = require_action.action("RAMP_GET_ALL_TRANSACTIONS", {
66
66
  slug: "ramp-get-all-transactions",
67
67
  name: "Get All Transactions",
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-transactions.cjs","names":["z","action"],"sources":["../../src/actions/get-all-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAllTransactionsInput = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n state: z.string().describe(\"Filter by transaction state. If set to 'ALL', all transactions including 'DECLINED' will be listed\").optional(),\n card_id: z.string().describe(\"Filter by physical card UUID\").optional(),\n to_date: z.string().describe(\"Filter for transactions with user_transaction_time before the given date (ISO 8601 datetime, default: today)\").optional(),\n trip_id: z.string().describe(\"Filter for trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n limit_id: z.string().describe(\"Filter by limit UUID\").optional(),\n entity_id: z.string().describe(\"Filter transactions by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter for transactions with user_transaction_time after the given 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 max_amount: z.union([z.string(), z.number()]).optional(),\n min_amount: z.union([z.string(), z.number()]).optional(),\n sync_ready: z.boolean().describe(\"Filter for transactions that are coded with accounting fields and ready to sync to ERP systems\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter by merchant UUID\").optional(),\n sync_status: z.string().describe(\"Filter for transactions by sync status. Supersedes sync_ready and has_no_sync_commits if set\").optional(),\n statement_id: z.string().describe(\"Filter by statement UUID\").optional(),\n synced_after: z.string().describe(\"Filter for transactions synced after the given date (ISO 8601 datetime)\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n requires_memo: z.boolean().describe(\"Filters for transactions which require a memo but do not have one (can only be set to true)\").optional(),\n sk_category_id: z.string().describe(\"Filter by Ramp category code (integer)\").optional(),\n approval_status: z.string().describe(\"Filter by transaction approval status\").optional(),\n spend_program_id: z.string().describe(\"Filter by spend program UUID\").optional(),\n order_by_date_asc: z.boolean().describe(\"Sort transactions by user_transaction_date in ascending order\").optional(),\n order_by_date_desc: z.boolean().describe(\"Sort transactions by user_transaction_date in descending order\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter for transactions that have not been synced to ERP systems yet\").optional(),\n order_by_amount_asc: z.boolean().describe(\"Sort transactions by amount in ascending order\").optional(),\n order_by_amount_desc: z.boolean().describe(\"Sort transactions by amount in descending order\").optional(),\n include_merchant_data: z.boolean().describe(\"Include all purchase data provided by the merchant\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for transactions awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter transactions by accounting field selection UUID\").optional(),\n});\nconst RampGetAllTransactions_PolicyViolationSchema = z.record(z.string(), z.unknown()).describe(\"Represents a policy violation associated with a transaction.\");\nconst RampGetAllTransactions_TransactionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the transaction.\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction. Can be required based on submission policies and automated for specific merchants.\").nullable().optional(),\n state: z.string().describe(\"Current state of the transaction. Possible values include PENDING (authorized but not fully processed), CLEARED (fully processed and ready for review), DECLINED (rejected transaction).\").nullable(),\n amount: z.number().describe(\"Transaction amount.\").nullable(),\n cardId: z.string().describe(\"Unique identifier of the card used for the transaction.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user (cardholder) who made the transaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in the system.\").nullable().optional(),\n lineItemId: z.string().describe(\"Identifier for line items associated with the transaction.\").nullable().optional(),\n locationId: z.string().describe(\"Unique identifier of the location associated with the transaction.\").nullable().optional(),\n merchantId: z.string().describe(\"Unique identifier of the merchant.\").nullable().optional(),\n departmentId: z.string().describe(\"Unique identifier of the department associated with the transaction.\").nullable().optional(),\n merchantName: z.string().describe(\"Name of the merchant where the transaction occurred.\").nullable().optional(),\n transactionId: z.string().describe(\"Transaction identifier used for linking receipts and bills to transactions.\").nullable().optional(),\n skCategoryName: z.string().describe(\"Category name for the transaction used for expense categorization.\").nullable().optional(),\n policyViolations: z.array(RampGetAllTransactions_PolicyViolationSchema).describe(\"Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.\").nullable().optional(),\n accountingFieldId: z.string().describe(\"Identifier for accounting field coding (category, vendor, location) associated with the transaction.\").nullable().optional(),\n userTransactionTime: z.string().describe(\"Timestamp when the transaction was made by the user.\").nullable().optional(),\n}).describe(\"Represents a single transaction from the Ramp API.\");\nconst RampGetAllTransactions_PageInfoSchema = z.object({\n next: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for pagination extracted from the next URL.\").nullable().optional(),\n}).describe(\"Pagination information for the API response.\");\nexport const RampGetAllTransactionsOutput = z.object({\n data: z.array(RampGetAllTransactions_TransactionSchema).describe(\"List of transactions returned by the API.\"),\n page: RampGetAllTransactions_PageInfoSchema.nullable().optional(),\n}).describe(\"Response containing a list of transactions and pagination information.\");\n\nexport const rampGetAllTransactions = action(\"RAMP_GET_ALL_TRANSACTIONS\", {\n slug: \"ramp-get-all-transactions\",\n name: \"Get All Transactions\",\n description: \"Get all the transactions.\",\n input: RampGetAllTransactionsInput,\n output: RampGetAllTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,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AAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C;CAC5G,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;AAClE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAEpF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-transactions.cjs","names":["z","action"],"sources":["../../src/actions/get-all-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAllTransactionsInput = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n state: z.string().describe(\"Filter by transaction state. If set to 'ALL', all transactions including 'DECLINED' will be listed\").optional(),\n card_id: z.string().describe(\"Filter by physical card UUID\").optional(),\n to_date: z.string().describe(\"Filter for transactions with user_transaction_time before the given date (ISO 8601 datetime, default: today)\").optional(),\n trip_id: z.string().describe(\"Filter for trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n limit_id: z.string().describe(\"Filter by limit UUID\").optional(),\n entity_id: z.string().describe(\"Filter transactions by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter for transactions with user_transaction_time after the given 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 max_amount: z.union([z.string(), z.number()]).optional(),\n min_amount: z.union([z.string(), z.number()]).optional(),\n sync_ready: z.boolean().describe(\"Filter for transactions that are coded with accounting fields and ready to sync to ERP systems\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter by merchant UUID\").optional(),\n sync_status: z.string().describe(\"Filter for transactions by sync status. Supersedes sync_ready and has_no_sync_commits if set\").optional(),\n statement_id: z.string().describe(\"Filter by statement UUID\").optional(),\n synced_after: z.string().describe(\"Filter for transactions synced after the given date (ISO 8601 datetime)\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n requires_memo: z.boolean().describe(\"Filters for transactions which require a memo but do not have one (can only be set to true)\").optional(),\n sk_category_id: z.string().describe(\"Filter by Ramp category code (integer)\").optional(),\n approval_status: z.string().describe(\"Filter by transaction approval status\").optional(),\n spend_program_id: z.string().describe(\"Filter by spend program UUID\").optional(),\n order_by_date_asc: z.boolean().describe(\"Sort transactions by user_transaction_date in ascending order\").optional(),\n order_by_date_desc: z.boolean().describe(\"Sort transactions by user_transaction_date in descending order\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter for transactions that have not been synced to ERP systems yet\").optional(),\n order_by_amount_asc: z.boolean().describe(\"Sort transactions by amount in ascending order\").optional(),\n order_by_amount_desc: z.boolean().describe(\"Sort transactions by amount in descending order\").optional(),\n include_merchant_data: z.boolean().describe(\"Include all purchase data provided by the merchant\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for transactions awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter transactions by accounting field selection UUID\").optional(),\n});\nconst RampGetAllTransactions_PolicyViolationSchema = z.record(z.string(), z.unknown()).describe(\"Represents a policy violation associated with a transaction.\");\nconst RampGetAllTransactions_TransactionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the transaction.\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction. Can be required based on submission policies and automated for specific merchants.\").nullable().optional(),\n state: z.string().describe(\"Current state of the transaction. Possible values include PENDING (authorized but not fully processed), CLEARED (fully processed and ready for review), DECLINED (rejected transaction).\").nullable(),\n amount: z.number().describe(\"Transaction amount.\").nullable(),\n cardId: z.string().describe(\"Unique identifier of the card used for the transaction.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user (cardholder) who made the transaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in the system.\").nullable().optional(),\n lineItemId: z.string().describe(\"Identifier for line items associated with the transaction.\").nullable().optional(),\n locationId: z.string().describe(\"Unique identifier of the location associated with the transaction.\").nullable().optional(),\n merchantId: z.string().describe(\"Unique identifier of the merchant.\").nullable().optional(),\n departmentId: z.string().describe(\"Unique identifier of the department associated with the transaction.\").nullable().optional(),\n merchantName: z.string().describe(\"Name of the merchant where the transaction occurred.\").nullable().optional(),\n transactionId: z.string().describe(\"Transaction identifier used for linking receipts and bills to transactions.\").nullable().optional(),\n skCategoryName: z.string().describe(\"Category name for the transaction used for expense categorization.\").nullable().optional(),\n policyViolations: z.array(RampGetAllTransactions_PolicyViolationSchema).describe(\"Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.\").nullable().optional(),\n accountingFieldId: z.string().describe(\"Identifier for accounting field coding (category, vendor, location) associated with the transaction.\").nullable().optional(),\n userTransactionTime: z.string().describe(\"Timestamp when the transaction was made by the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single transaction from the Ramp API.\");\nconst RampGetAllTransactions_PageInfoSchema = z.object({\n next: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for pagination extracted from the next URL.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the API response.\");\nexport const RampGetAllTransactionsOutput = z.object({\n data: z.array(RampGetAllTransactions_TransactionSchema).describe(\"List of transactions returned by the API.\"),\n page: RampGetAllTransactions_PageInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing a list of transactions and pagination information.\");\n\nexport const rampGetAllTransactions = action(\"RAMP_GET_ALL_TRANSACTIONS\", {\n slug: \"ramp-get-all-transactions\",\n name: \"Get All Transactions\",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AC,SAAS;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -53,12 +53,12 @@ declare const RampGetAllTransactionsOutput: z.ZodObject<{
53
53
  policyViolations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
54
54
  accountingFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  userTransactionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>;
56
+ }, z.core.$loose>>;
57
57
  page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
58
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>>;
61
+ }, z.core.$loose>;
62
62
  declare const rampGetAllTransactions: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  start?: string | undefined;
64
64
  state?: string | undefined;
@@ -91,7 +91,19 @@ declare const rampGetAllTransactions: import("@keystrokehq/action").WorkflowActi
91
91
  include_merchant_data?: boolean | undefined;
92
92
  awaiting_approval_by_user_id?: string | undefined;
93
93
  accounting_field_selection_id?: string | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ accessToken: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ accessToken: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { rampGetAllTransactions };
97
109
  //# sourceMappingURL=get-all-transactions.d.cts.map
@@ -53,12 +53,12 @@ declare const RampGetAllTransactionsOutput: z.ZodObject<{
53
53
  policyViolations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
54
54
  accountingFieldId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
55
  userTransactionTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
- }, z.core.$strip>>;
56
+ }, z.core.$loose>>;
57
57
  page: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
58
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
59
  cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>>;
61
+ }, z.core.$loose>;
62
62
  declare const rampGetAllTransactions: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  start?: string | undefined;
64
64
  state?: string | undefined;
@@ -91,7 +91,19 @@ declare const rampGetAllTransactions: import("@keystrokehq/action").WorkflowActi
91
91
  include_merchant_data?: boolean | undefined;
92
92
  awaiting_approval_by_user_id?: string | undefined;
93
93
  accounting_field_selection_id?: string | undefined;
94
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
94
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
95
+ connectionId: z.ZodString;
96
+ entityId: z.ZodString;
97
+ instanceId: z.ZodString;
98
+ }, z.core.$strip>, z.ZodObject<{
99
+ accessToken: z.ZodString;
100
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
101
+ connectionId: z.ZodString;
102
+ entityId: z.ZodString;
103
+ instanceId: z.ZodString;
104
+ }, z.core.$strip>, z.ZodObject<{
105
+ accessToken: z.ZodString;
106
+ }, z.core.$strip>>]>;
95
107
  //#endregion
96
108
  export { rampGetAllTransactions };
97
109
  //# sourceMappingURL=get-all-transactions.d.mts.map
@@ -53,11 +53,11 @@ const RampGetAllTransactions_TransactionSchema = z.object({
53
53
  policyViolations: z.array(RampGetAllTransactions_PolicyViolationSchema).describe("Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.").nullable().optional(),
54
54
  accountingFieldId: z.string().describe("Identifier for accounting field coding (category, vendor, location) associated with the transaction.").nullable().optional(),
55
55
  userTransactionTime: z.string().describe("Timestamp when the transaction was made by the user.").nullable().optional()
56
- }).describe("Represents a single transaction from the Ramp API.");
56
+ }).passthrough().describe("Represents a single transaction from the Ramp API.");
57
57
  const RampGetAllTransactions_PageInfoSchema = z.object({
58
58
  next: z.string().describe("URL for the next page of results.").nullable().optional(),
59
59
  cursor: z.string().describe("Cursor for pagination extracted from the next URL.").nullable().optional()
60
- }).describe("Pagination information for the API response.");
60
+ }).passthrough().describe("Pagination information for the API response.");
61
61
  const rampGetAllTransactions = action("RAMP_GET_ALL_TRANSACTIONS", {
62
62
  slug: "ramp-get-all-transactions",
63
63
  name: "Get All Transactions",
@@ -66,7 +66,7 @@ const rampGetAllTransactions = action("RAMP_GET_ALL_TRANSACTIONS", {
66
66
  output: z.object({
67
67
  data: z.array(RampGetAllTransactions_TransactionSchema).describe("List of transactions returned by the API."),
68
68
  page: RampGetAllTransactions_PageInfoSchema.nullable().optional()
69
- }).describe("Response containing a list of transactions and pagination information.")
69
+ }).passthrough().describe("Response containing a list of transactions and pagination information.")
70
70
  });
71
71
  //#endregion
72
72
  export { rampGetAllTransactions };
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-transactions.mjs","names":[],"sources":["../../src/actions/get-all-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAllTransactionsInput = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n state: z.string().describe(\"Filter by transaction state. If set to 'ALL', all transactions including 'DECLINED' will be listed\").optional(),\n card_id: z.string().describe(\"Filter by physical card UUID\").optional(),\n to_date: z.string().describe(\"Filter for transactions with user_transaction_time before the given date (ISO 8601 datetime, default: today)\").optional(),\n trip_id: z.string().describe(\"Filter for trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n limit_id: z.string().describe(\"Filter by limit UUID\").optional(),\n entity_id: z.string().describe(\"Filter transactions by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter for transactions with user_transaction_time after the given 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 max_amount: z.union([z.string(), z.number()]).optional(),\n min_amount: z.union([z.string(), z.number()]).optional(),\n sync_ready: z.boolean().describe(\"Filter for transactions that are coded with accounting fields and ready to sync to ERP systems\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter by merchant UUID\").optional(),\n sync_status: z.string().describe(\"Filter for transactions by sync status. Supersedes sync_ready and has_no_sync_commits if set\").optional(),\n statement_id: z.string().describe(\"Filter by statement UUID\").optional(),\n synced_after: z.string().describe(\"Filter for transactions synced after the given date (ISO 8601 datetime)\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n requires_memo: z.boolean().describe(\"Filters for transactions which require a memo but do not have one (can only be set to true)\").optional(),\n sk_category_id: z.string().describe(\"Filter by Ramp category code (integer)\").optional(),\n approval_status: z.string().describe(\"Filter by transaction approval status\").optional(),\n spend_program_id: z.string().describe(\"Filter by spend program UUID\").optional(),\n order_by_date_asc: z.boolean().describe(\"Sort transactions by user_transaction_date in ascending order\").optional(),\n order_by_date_desc: z.boolean().describe(\"Sort transactions by user_transaction_date in descending order\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter for transactions that have not been synced to ERP systems yet\").optional(),\n order_by_amount_asc: z.boolean().describe(\"Sort transactions by amount in ascending order\").optional(),\n order_by_amount_desc: z.boolean().describe(\"Sort transactions by amount in descending order\").optional(),\n include_merchant_data: z.boolean().describe(\"Include all purchase data provided by the merchant\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for transactions awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter transactions by accounting field selection UUID\").optional(),\n});\nconst RampGetAllTransactions_PolicyViolationSchema = z.record(z.string(), z.unknown()).describe(\"Represents a policy violation associated with a transaction.\");\nconst RampGetAllTransactions_TransactionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the transaction.\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction. Can be required based on submission policies and automated for specific merchants.\").nullable().optional(),\n state: z.string().describe(\"Current state of the transaction. Possible values include PENDING (authorized but not fully processed), CLEARED (fully processed and ready for review), DECLINED (rejected transaction).\").nullable(),\n amount: z.number().describe(\"Transaction amount.\").nullable(),\n cardId: z.string().describe(\"Unique identifier of the card used for the transaction.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user (cardholder) who made the transaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in the system.\").nullable().optional(),\n lineItemId: z.string().describe(\"Identifier for line items associated with the transaction.\").nullable().optional(),\n locationId: z.string().describe(\"Unique identifier of the location associated with the transaction.\").nullable().optional(),\n merchantId: z.string().describe(\"Unique identifier of the merchant.\").nullable().optional(),\n departmentId: z.string().describe(\"Unique identifier of the department associated with the transaction.\").nullable().optional(),\n merchantName: z.string().describe(\"Name of the merchant where the transaction occurred.\").nullable().optional(),\n transactionId: z.string().describe(\"Transaction identifier used for linking receipts and bills to transactions.\").nullable().optional(),\n skCategoryName: z.string().describe(\"Category name for the transaction used for expense categorization.\").nullable().optional(),\n policyViolations: z.array(RampGetAllTransactions_PolicyViolationSchema).describe(\"Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.\").nullable().optional(),\n accountingFieldId: z.string().describe(\"Identifier for accounting field coding (category, vendor, location) associated with the transaction.\").nullable().optional(),\n userTransactionTime: z.string().describe(\"Timestamp when the transaction was made by the user.\").nullable().optional(),\n}).describe(\"Represents a single transaction from the Ramp API.\");\nconst RampGetAllTransactions_PageInfoSchema = z.object({\n next: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for pagination extracted from the next URL.\").nullable().optional(),\n}).describe(\"Pagination information for the API response.\");\nexport const RampGetAllTransactionsOutput = z.object({\n data: z.array(RampGetAllTransactions_TransactionSchema).describe(\"List of transactions returned by the API.\"),\n page: RampGetAllTransactions_PageInfoSchema.nullable().optional(),\n}).describe(\"Response containing a list of transactions and pagination information.\");\n\nexport const rampGetAllTransactions = action(\"RAMP_GET_ALL_TRANSACTIONS\", {\n slug: \"ramp-get-all-transactions\",\n name: \"Get All Transactions\",\n description: \"Get all the transactions.\",\n input: RampGetAllTransactionsInput,\n output: RampGetAllTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CACtJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC7D,UAAU,EAA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S,8CAA8C;AAM1D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C;EAC5G,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,CAAC,CAAC,CAAC,SAAS,wEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-transactions.mjs","names":[],"sources":["../../src/actions/get-all-transactions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAllTransactionsInput = z.object({\n start: z.string().describe(\"ID of the last entity of the previous page for pagination\").optional(),\n state: z.string().describe(\"Filter by transaction state. If set to 'ALL', all transactions including 'DECLINED' will be listed\").optional(),\n card_id: z.string().describe(\"Filter by physical card UUID\").optional(),\n to_date: z.string().describe(\"Filter for transactions with user_transaction_time before the given date (ISO 8601 datetime, default: today)\").optional(),\n trip_id: z.string().describe(\"Filter for trip UUID\").optional(),\n user_id: z.string().describe(\"Filter by user UUID\").optional(),\n limit_id: z.string().describe(\"Filter by limit UUID\").optional(),\n entity_id: z.string().describe(\"Filter transactions by business entity UUID\").optional(),\n from_date: z.string().describe(\"Filter for transactions with user_transaction_time after the given 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 max_amount: z.union([z.string(), z.number()]).optional(),\n min_amount: z.union([z.string(), z.number()]).optional(),\n sync_ready: z.boolean().describe(\"Filter for transactions that are coded with accounting fields and ready to sync to ERP systems\").optional(),\n location_id: z.string().describe(\"Filter by location UUID\").optional(),\n merchant_id: z.string().describe(\"Filter by merchant UUID\").optional(),\n sync_status: z.string().describe(\"Filter for transactions by sync status. Supersedes sync_ready and has_no_sync_commits if set\").optional(),\n statement_id: z.string().describe(\"Filter by statement UUID\").optional(),\n synced_after: z.string().describe(\"Filter for transactions synced after the given date (ISO 8601 datetime)\").optional(),\n department_id: z.string().describe(\"Filter by department UUID\").optional(),\n requires_memo: z.boolean().describe(\"Filters for transactions which require a memo but do not have one (can only be set to true)\").optional(),\n sk_category_id: z.string().describe(\"Filter by Ramp category code (integer)\").optional(),\n approval_status: z.string().describe(\"Filter by transaction approval status\").optional(),\n spend_program_id: z.string().describe(\"Filter by spend program UUID\").optional(),\n order_by_date_asc: z.boolean().describe(\"Sort transactions by user_transaction_date in ascending order\").optional(),\n order_by_date_desc: z.boolean().describe(\"Sort transactions by user_transaction_date in descending order\").optional(),\n has_no_sync_commits: z.boolean().describe(\"Filter for transactions that have not been synced to ERP systems yet\").optional(),\n order_by_amount_asc: z.boolean().describe(\"Sort transactions by amount in ascending order\").optional(),\n order_by_amount_desc: z.boolean().describe(\"Sort transactions by amount in descending order\").optional(),\n include_merchant_data: z.boolean().describe(\"Include all purchase data provided by the merchant\").optional(),\n awaiting_approval_by_user_id: z.string().describe(\"Filter for transactions awaiting approval by a specific user UUID\").optional(),\n accounting_field_selection_id: z.string().describe(\"Filter transactions by accounting field selection UUID\").optional(),\n});\nconst RampGetAllTransactions_PolicyViolationSchema = z.record(z.string(), z.unknown()).describe(\"Represents a policy violation associated with a transaction.\");\nconst RampGetAllTransactions_TransactionSchema = z.object({\n id: z.string().describe(\"Unique identifier of the transaction.\").nullable(),\n memo: z.string().describe(\"Memo or note associated with the transaction. Can be required based on submission policies and automated for specific merchants.\").nullable().optional(),\n state: z.string().describe(\"Current state of the transaction. Possible values include PENDING (authorized but not fully processed), CLEARED (fully processed and ready for review), DECLINED (rejected transaction).\").nullable(),\n amount: z.number().describe(\"Transaction amount.\").nullable(),\n cardId: z.string().describe(\"Unique identifier of the card used for the transaction.\").nullable().optional(),\n userId: z.string().describe(\"Unique identifier of the user (cardholder) who made the transaction.\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transaction record was created in the system.\").nullable().optional(),\n lineItemId: z.string().describe(\"Identifier for line items associated with the transaction.\").nullable().optional(),\n locationId: z.string().describe(\"Unique identifier of the location associated with the transaction.\").nullable().optional(),\n merchantId: z.string().describe(\"Unique identifier of the merchant.\").nullable().optional(),\n departmentId: z.string().describe(\"Unique identifier of the department associated with the transaction.\").nullable().optional(),\n merchantName: z.string().describe(\"Name of the merchant where the transaction occurred.\").nullable().optional(),\n transactionId: z.string().describe(\"Transaction identifier used for linking receipts and bills to transactions.\").nullable().optional(),\n skCategoryName: z.string().describe(\"Category name for the transaction used for expense categorization.\").nullable().optional(),\n policyViolations: z.array(RampGetAllTransactions_PolicyViolationSchema).describe(\"Array of policy violations or flags associated with the transaction. Used to notify managers or admins of potential policy breaches.\").nullable().optional(),\n accountingFieldId: z.string().describe(\"Identifier for accounting field coding (category, vendor, location) associated with the transaction.\").nullable().optional(),\n userTransactionTime: z.string().describe(\"Timestamp when the transaction was made by the user.\").nullable().optional(),\n}).passthrough().describe(\"Represents a single transaction from the Ramp API.\");\nconst RampGetAllTransactions_PageInfoSchema = z.object({\n next: z.string().describe(\"URL for the next page of results.\").nullable().optional(),\n cursor: z.string().describe(\"Cursor for pagination extracted from the next URL.\").nullable().optional(),\n}).passthrough().describe(\"Pagination information for the API response.\");\nexport const RampGetAllTransactionsOutput = z.object({\n data: z.array(RampGetAllTransactions_TransactionSchema).describe(\"List of transactions returned by the API.\"),\n page: RampGetAllTransactions_PageInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing a list of transactions and pagination information.\");\n\nexport const rampGetAllTransactions = action(\"RAMP_GET_ALL_TRANSACTIONS\", {\n slug: \"ramp-get-all-transactions\",\n name: \"Get All Transactions\",\n description: \"Get all the transactions.\",\n input: RampGetAllTransactionsInput,\n output: RampGetAllTransactionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C;EAC5G,MAAM,sCAAsC,SAAS,CAAC,CAAC,SAAS;CAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const RampGetCardVaultResourceOutput = zod.z.object({
6
6
  id: zod.z.string().describe("Unique identifier of the card").nullable(),
7
7
  cvv: zod.z.string().describe("Card verification value").nullable(),
8
8
  pan: zod.z.string().describe("Primary account number (PAN) of the card").nullable()
9
- }).describe("Response containing sensitive card details from the vault.");
9
+ }).passthrough().describe("Response containing sensitive card details from the vault.");
10
10
  const rampGetCardVaultResource = require_action.action("RAMP_GET_CARD_VAULT_RESOURCE", {
11
11
  slug: "ramp-get-card-vault-resource",
12
12
  name: "Get Card Vault Resource",
@@ -1 +1 @@
1
- {"version":3,"file":"get-card-vault-resource.cjs","names":["z","action"],"sources":["../../src/actions/get-card-vault-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetCardVaultResourceInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to fetch sensitive details for\"),\n});\nexport const RampGetCardVaultResourceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the card\").nullable(),\n cvv: z.string().describe(\"Card verification value\").nullable(),\n pan: z.string().describe(\"Primary account number (PAN) of the card\").nullable(),\n}).describe(\"Response containing sensitive card details from the vault.\");\n\nexport const rampGetCardVaultResource = action(\"RAMP_GET_CARD_VAULT_RESOURCE\", {\n slug: \"ramp-get-card-vault-resource\",\n name: \"Get Card Vault Resource\",\n description: \"Tool to fetch a card's sensitive details from the vault. Requires vault API access. Use when you need to retrieve PAN or CVV for a specific card. This endpoint uses a separate vault base URL.\",\n input: RampGetCardVaultResourceInput,\n output: RampGetCardVaultResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACjG,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-card-vault-resource.cjs","names":["z","action"],"sources":["../../src/actions/get-card-vault-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetCardVaultResourceInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to fetch sensitive details for\"),\n});\nexport const RampGetCardVaultResourceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the card\").nullable(),\n cvv: z.string().describe(\"Card verification value\").nullable(),\n pan: z.string().describe(\"Primary account number (PAN) of the card\").nullable(),\n}).passthrough().describe(\"Response containing sensitive card details from the vault.\");\n\nexport const rampGetCardVaultResource = action(\"RAMP_GET_CARD_VAULT_RESOURCE\", {\n slug: \"ramp-get-card-vault-resource\",\n name: \"Get Card Vault Resource\",\n description: \"Tool to fetch a card's sensitive details from the vault. Requires vault API access. Use when you need to retrieve PAN or CVV for a specific card. This endpoint uses a separate vault base URL.\",\n input: RampGetCardVaultResourceInput,\n output: RampGetCardVaultResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACjG,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,10 +8,22 @@ declare const RampGetCardVaultResourceOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  cvv: z.ZodNullable<z.ZodString>;
10
10
  pan: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const rampGetCardVaultResource: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  card_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { rampGetCardVaultResource };
17
29
  //# sourceMappingURL=get-card-vault-resource.d.cts.map
@@ -8,10 +8,22 @@ declare const RampGetCardVaultResourceOutput: z.ZodObject<{
8
8
  id: z.ZodNullable<z.ZodString>;
9
9
  cvv: z.ZodNullable<z.ZodString>;
10
10
  pan: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const rampGetCardVaultResource: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  card_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { rampGetCardVaultResource };
17
29
  //# sourceMappingURL=get-card-vault-resource.d.mts.map
@@ -9,7 +9,7 @@ const rampGetCardVaultResource = action("RAMP_GET_CARD_VAULT_RESOURCE", {
9
9
  id: z.string().describe("Unique identifier of the card").nullable(),
10
10
  cvv: z.string().describe("Card verification value").nullable(),
11
11
  pan: z.string().describe("Primary account number (PAN) of the card").nullable()
12
- }).describe("Response containing sensitive card details from the vault.")
12
+ }).passthrough().describe("Response containing sensitive card details from the vault.")
13
13
  });
14
14
  //#endregion
15
15
  export { rampGetCardVaultResource };
@@ -1 +1 @@
1
- {"version":3,"file":"get-card-vault-resource.mjs","names":[],"sources":["../../src/actions/get-card-vault-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetCardVaultResourceInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to fetch sensitive details for\"),\n});\nexport const RampGetCardVaultResourceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the card\").nullable(),\n cvv: z.string().describe(\"Card verification value\").nullable(),\n pan: z.string().describe(\"Primary account number (PAN) of the card\").nullable(),\n}).describe(\"Response containing sensitive card details from the vault.\");\n\nexport const rampGetCardVaultResource = action(\"RAMP_GET_CARD_VAULT_RESOURCE\", {\n slug: \"ramp-get-card-vault-resource\",\n name: \"Get Card Vault Resource\",\n description: \"Tool to fetch a card's sensitive details from the vault. Requires vault API access. Use when you need to retrieve PAN or CVV for a specific card. This endpoint uses a separate vault base URL.\",\n input: RampGetCardVaultResourceInput,\n output: RampGetCardVaultResourceOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACjG,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-card-vault-resource.mjs","names":[],"sources":["../../src/actions/get-card-vault-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetCardVaultResourceInput = z.object({\n card_id: z.string().describe(\"The unique identifier of the card to fetch sensitive details for\"),\n});\nexport const RampGetCardVaultResourceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the card\").nullable(),\n cvv: z.string().describe(\"Card verification value\").nullable(),\n pan: z.string().describe(\"Primary account number (PAN) of the card\").nullable(),\n}).passthrough().describe(\"Response containing sensitive card details from the vault.\");\n\nexport const rampGetCardVaultResource = action(\"RAMP_GET_CARD_VAULT_RESOURCE\", {\n slug: \"ramp-get-card-vault-resource\",\n name: \"Get Card Vault Resource\",\n description: \"Tool to fetch a card's sensitive details from the vault. Requires vault API access. Use when you need to retrieve PAN or CVV for a specific card. This endpoint uses a separate vault base URL.\",\n input: RampGetCardVaultResourceInput,\n output: RampGetCardVaultResourceOutput,\n});\n"],"mappings":";;AAaA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb2C,EAAE,OAAO,EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACjG,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -11,18 +11,18 @@ const RampGetCard_RecipientAddressSchema = zod.z.object({
11
11
  last_name: zod.z.string().describe("Last name of the recipient.").nullable().optional(),
12
12
  first_name: zod.z.string().describe("First name of the recipient.").nullable().optional(),
13
13
  postal_code: zod.z.string().describe("Postal or ZIP code.").nullable().optional()
14
- }).describe("Address details for shipping.");
14
+ }).passthrough().describe("Address details for shipping.");
15
15
  const RampGetCard_ShippingSchema = zod.z.object({
16
16
  method: zod.z.string().describe("Shipping method (e.g., 'LOCAL_MAIL').").nullable().optional(),
17
17
  recipient_address: RampGetCard_RecipientAddressSchema.nullable().optional()
18
- }).describe("Shipping information for physical card delivery.");
18
+ }).passthrough().describe("Shipping information for physical card delivery.");
19
19
  const RampGetCard_FulfillmentSchema = zod.z.object({
20
20
  shipping: RampGetCard_ShippingSchema.nullable().optional(),
21
21
  shipping_eta: zod.z.string().describe("Estimated delivery date for the card.").nullable().optional(),
22
22
  shipping_date: zod.z.string().describe("Date when the card was shipped. Null if not yet shipped.").nullable().optional(),
23
23
  fulfillment_status: zod.z.string().describe("Current fulfillment status of the card (e.g., 'ISSUED', 'SHIPPED', 'DELIVERED').").nullable().optional(),
24
24
  shipping_tracking_url: zod.z.string().describe("URL for tracking the card shipment.").nullable().optional()
25
- }).describe("Fulfillment details of a Ramp card. For physical cards only.");
25
+ }).passthrough().describe("Fulfillment details of a Ramp card. For physical cards only.");
26
26
  const RampGetCard_SpendingRestrictionsSchema = zod.z.object({
27
27
  amount: zod.z.number().describe("The dollar limit of the card.").nullable().optional(),
28
28
  interval: zod.z.string().describe("The frequency at which the spending limit renews. Options include DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or TOTAL.").nullable().optional(),
@@ -31,7 +31,7 @@ const RampGetCard_SpendingRestrictionsSchema = zod.z.object({
31
31
  auto_lock_date: zod.z.string().describe("Auto lock date that specifies when the card will stop accepting transactions. ISO8601 format.").nullable().optional(),
32
32
  blocked_categories: zod.z.array(zod.z.string()).describe("List of blocked merchant category codes. Transactions from these categories will be declined.").nullable().optional(),
33
33
  transaction_amount_limit: zod.z.number().describe("Maximum amount per transaction above which a transaction will be declined.").nullable().optional()
34
- }).describe("Specifies the spend restrictions on a Ramp card.");
34
+ }).passthrough().describe("Specifies the spend restrictions on a Ramp card.");
35
35
  const RampGetCardOutput = zod.z.object({
36
36
  id: zod.z.string().describe("Unique identifier of the card.").nullable(),
37
37
  state: zod.z.string().describe("Current state of the card. Possible values include ACTIVE, SUSPENDED, and TERMINATED.").nullable(),
@@ -47,7 +47,7 @@ const RampGetCardOutput = zod.z.object({
47
47
  cardholder_name: zod.z.string().describe("Card holder's full name.").nullable(),
48
48
  spending_restrictions: RampGetCard_SpendingRestrictionsSchema.nullable().optional(),
49
49
  has_program_overridden: zod.z.boolean().describe("Whether the card has overridden the default settings from its card program.").nullable().optional()
50
- }).describe("Response containing detailed information about a Ramp card.");
50
+ }).passthrough().describe("Response containing detailed information about a Ramp card.");
51
51
  const rampGetCard = require_action.action("RAMP_GET_CARD", {
52
52
  slug: "ramp-get-card",
53
53
  name: "Get Card",