@keystrokehq/ramp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (540) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/create-department.cjs +1 -1
  3. package/dist/actions/create-department.cjs.map +1 -1
  4. package/dist/actions/create-department.d.cts +1 -1
  5. package/dist/actions/create-department.d.mts +1 -1
  6. package/dist/actions/create-department.mjs +1 -1
  7. package/dist/actions/create-department.mjs.map +1 -1
  8. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
  9. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  10. package/dist/actions/create-inventory-item-accounting-field.d.cts +1 -1
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +1 -1
  12. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  14. package/dist/actions/create-memo.cjs +1 -1
  15. package/dist/actions/create-memo.cjs.map +1 -1
  16. package/dist/actions/create-memo.d.cts +1 -1
  17. package/dist/actions/create-memo.d.mts +1 -1
  18. package/dist/actions/create-memo.mjs +1 -1
  19. package/dist/actions/create-memo.mjs.map +1 -1
  20. package/dist/actions/create-mileage-reimbursement.cjs +9 -9
  21. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  22. package/dist/actions/create-mileage-reimbursement.d.cts +13 -13
  23. package/dist/actions/create-mileage-reimbursement.d.mts +13 -13
  24. package/dist/actions/create-mileage-reimbursement.mjs +9 -9
  25. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  26. package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
  27. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  28. package/dist/actions/create-new-custom-accounting-field.d.cts +1 -1
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +1 -1
  30. package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
  31. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  32. package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
  33. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  34. package/dist/actions/create-tax-code-accounting-field.d.cts +1 -1
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +1 -1
  36. package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
  37. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  38. package/dist/actions/create-user-invite.cjs +1 -1
  39. package/dist/actions/create-user-invite.cjs.map +1 -1
  40. package/dist/actions/create-user-invite.d.cts +1 -1
  41. package/dist/actions/create-user-invite.d.mts +1 -1
  42. package/dist/actions/create-user-invite.mjs +1 -1
  43. package/dist/actions/create-user-invite.mjs.map +1 -1
  44. package/dist/actions/create-webhook-subscription.cjs +3 -3
  45. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  46. package/dist/actions/create-webhook-subscription.d.cts +4 -4
  47. package/dist/actions/create-webhook-subscription.d.mts +4 -4
  48. package/dist/actions/create-webhook-subscription.mjs +3 -3
  49. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  50. package/dist/actions/deactivate-user.cjs +1 -1
  51. package/dist/actions/deactivate-user.cjs.map +1 -1
  52. package/dist/actions/deactivate-user.d.cts +1 -1
  53. package/dist/actions/deactivate-user.d.cts.map +1 -1
  54. package/dist/actions/deactivate-user.d.mts +1 -1
  55. package/dist/actions/deactivate-user.d.mts.map +1 -1
  56. package/dist/actions/deactivate-user.mjs +1 -1
  57. package/dist/actions/deactivate-user.mjs.map +1 -1
  58. package/dist/actions/delete-accounting-account.cjs +1 -1
  59. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.d.cts +1 -1
  61. package/dist/actions/delete-accounting-account.d.mts +1 -1
  62. package/dist/actions/delete-accounting-account.mjs +1 -1
  63. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  64. package/dist/actions/delete-accounting-connection.cjs +1 -1
  65. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.d.cts +1 -1
  67. package/dist/actions/delete-accounting-connection.d.mts +1 -1
  68. package/dist/actions/delete-accounting-connection.mjs +1 -1
  69. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  70. package/dist/actions/delete-accounting-fields.cjs +1 -1
  71. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  72. package/dist/actions/delete-accounting-fields.d.cts +1 -1
  73. package/dist/actions/delete-accounting-fields.d.mts +1 -1
  74. package/dist/actions/delete-accounting-fields.mjs +1 -1
  75. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  76. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  77. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  78. package/dist/actions/delete-accounting-inventory-item-options.d.cts +1 -1
  79. package/dist/actions/delete-accounting-inventory-item-options.d.mts +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  82. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  83. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  84. package/dist/actions/delete-accounting-tax-code-options.d.cts +1 -1
  85. package/dist/actions/delete-accounting-tax-code-options.d.mts +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  89. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  90. package/dist/actions/delete-accounting-tax-code.d.cts +1 -1
  91. package/dist/actions/delete-accounting-tax-code.d.mts +1 -1
  92. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  95. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  96. package/dist/actions/delete-accounting-tax-rates.d.cts +1 -1
  97. package/dist/actions/delete-accounting-tax-rates.d.mts +1 -1
  98. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  101. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-vendors.d.cts +1 -1
  103. package/dist/actions/delete-accounting-vendors.d.mts +1 -1
  104. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  105. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  106. package/dist/actions/delete-custom-field-option.cjs +1 -1
  107. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  108. package/dist/actions/delete-custom-field-option.d.cts +1 -1
  109. package/dist/actions/delete-custom-field-option.d.mts +1 -1
  110. package/dist/actions/delete-custom-field-option.mjs +1 -1
  111. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  112. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  113. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  114. package/dist/actions/delete-inventory-item-field.d.cts +1 -1
  115. package/dist/actions/delete-inventory-item-field.d.mts +1 -1
  116. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  117. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  118. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  119. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  120. package/dist/actions/delete-spend-allocation-delete-users.d.cts +13 -13
  121. package/dist/actions/delete-spend-allocation-delete-users.d.mts +13 -13
  122. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  123. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  124. package/dist/actions/delete-webhook.cjs +1 -1
  125. package/dist/actions/delete-webhook.cjs.map +1 -1
  126. package/dist/actions/delete-webhook.d.cts +1 -1
  127. package/dist/actions/delete-webhook.d.mts +1 -1
  128. package/dist/actions/delete-webhook.mjs +1 -1
  129. package/dist/actions/delete-webhook.mjs.map +1 -1
  130. package/dist/actions/fetch-accounting-account.cjs +2 -2
  131. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  132. package/dist/actions/fetch-accounting-account.d.cts +2 -2
  133. package/dist/actions/fetch-accounting-account.d.mts +2 -2
  134. package/dist/actions/fetch-accounting-account.mjs +2 -2
  135. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  136. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  137. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  138. package/dist/actions/fetch-accounting-vendor.d.cts +2 -2
  139. package/dist/actions/fetch-accounting-vendor.d.mts +2 -2
  140. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  141. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  142. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  143. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  144. package/dist/actions/fetch-custom-accounting-field.d.cts +2 -2
  145. package/dist/actions/fetch-custom-accounting-field.d.mts +2 -2
  146. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  147. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  148. package/dist/actions/get-accounting-accounts.cjs +4 -4
  149. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  150. package/dist/actions/get-accounting-accounts.d.cts +4 -4
  151. package/dist/actions/get-accounting-accounts.d.mts +4 -4
  152. package/dist/actions/get-accounting-accounts.mjs +4 -4
  153. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  154. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  155. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  156. package/dist/actions/get-accounting-all-connections.d.cts +2 -2
  157. package/dist/actions/get-accounting-all-connections.d.mts +2 -2
  158. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  159. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  160. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  161. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  162. package/dist/actions/get-accounting-connection-by-id.d.cts +2 -2
  163. package/dist/actions/get-accounting-connection-by-id.d.mts +2 -2
  164. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  165. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  166. package/dist/actions/get-accounting-connection.cjs +2 -2
  167. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  168. package/dist/actions/get-accounting-connection.d.cts +2 -2
  169. package/dist/actions/get-accounting-connection.d.mts +2 -2
  170. package/dist/actions/get-accounting-connection.mjs +2 -2
  171. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  172. package/dist/actions/get-accounting-fields.cjs +3 -3
  173. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  174. package/dist/actions/get-accounting-fields.d.cts +3 -3
  175. package/dist/actions/get-accounting-fields.d.mts +3 -3
  176. package/dist/actions/get-accounting-fields.mjs +3 -3
  177. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  178. package/dist/actions/get-accounting-vendors.cjs +3 -3
  179. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  180. package/dist/actions/get-accounting-vendors.d.cts +3 -3
  181. package/dist/actions/get-accounting-vendors.d.mts +3 -3
  182. package/dist/actions/get-accounting-vendors.mjs +3 -3
  183. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  184. package/dist/actions/get-all-transactions.cjs +3 -3
  185. package/dist/actions/get-all-transactions.cjs.map +1 -1
  186. package/dist/actions/get-all-transactions.d.cts +3 -3
  187. package/dist/actions/get-all-transactions.d.mts +3 -3
  188. package/dist/actions/get-all-transactions.mjs +3 -3
  189. package/dist/actions/get-all-transactions.mjs.map +1 -1
  190. package/dist/actions/get-card-vault-resource.cjs +1 -1
  191. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  192. package/dist/actions/get-card-vault-resource.d.cts +1 -1
  193. package/dist/actions/get-card-vault-resource.d.mts +1 -1
  194. package/dist/actions/get-card-vault-resource.mjs +1 -1
  195. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  196. package/dist/actions/get-card.cjs +5 -5
  197. package/dist/actions/get-card.cjs.map +1 -1
  198. package/dist/actions/get-card.d.cts +5 -5
  199. package/dist/actions/get-card.d.mts +5 -5
  200. package/dist/actions/get-card.mjs +5 -5
  201. package/dist/actions/get-card.mjs.map +1 -1
  202. package/dist/actions/get-custom-field-option.cjs +1 -1
  203. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  204. package/dist/actions/get-custom-field-option.d.cts +1 -1
  205. package/dist/actions/get-custom-field-option.d.mts +1 -1
  206. package/dist/actions/get-custom-field-option.mjs +1 -1
  207. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  208. package/dist/actions/get-department.cjs +1 -1
  209. package/dist/actions/get-department.cjs.map +1 -1
  210. package/dist/actions/get-department.d.cts +1 -1
  211. package/dist/actions/get-department.d.mts +1 -1
  212. package/dist/actions/get-department.mjs +1 -1
  213. package/dist/actions/get-department.mjs.map +1 -1
  214. package/dist/actions/get-inventory-item-field.cjs +1 -1
  215. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  216. package/dist/actions/get-inventory-item-field.d.cts +1 -1
  217. package/dist/actions/get-inventory-item-field.d.mts +1 -1
  218. package/dist/actions/get-inventory-item-field.mjs +1 -1
  219. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  220. package/dist/actions/get-memo.cjs +1 -1
  221. package/dist/actions/get-memo.cjs.map +1 -1
  222. package/dist/actions/get-memo.d.cts +1 -1
  223. package/dist/actions/get-memo.d.mts +1 -1
  224. package/dist/actions/get-memo.mjs +1 -1
  225. package/dist/actions/get-memo.mjs.map +1 -1
  226. package/dist/actions/get-reimbursement.cjs +5 -5
  227. package/dist/actions/get-reimbursement.cjs.map +1 -1
  228. package/dist/actions/get-reimbursement.d.cts +7 -7
  229. package/dist/actions/get-reimbursement.d.mts +7 -7
  230. package/dist/actions/get-reimbursement.mjs +5 -5
  231. package/dist/actions/get-reimbursement.mjs.map +1 -1
  232. package/dist/actions/get-spend-limit.cjs +14 -14
  233. package/dist/actions/get-spend-limit.cjs.map +1 -1
  234. package/dist/actions/get-spend-limit.d.cts +19 -19
  235. package/dist/actions/get-spend-limit.d.mts +19 -19
  236. package/dist/actions/get-spend-limit.mjs +14 -14
  237. package/dist/actions/get-spend-limit.mjs.map +1 -1
  238. package/dist/actions/get-statement.cjs +1 -1
  239. package/dist/actions/get-statement.cjs.map +1 -1
  240. package/dist/actions/get-statement.d.cts +1 -1
  241. package/dist/actions/get-statement.d.mts +1 -1
  242. package/dist/actions/get-statement.mjs +1 -1
  243. package/dist/actions/get-statement.mjs.map +1 -1
  244. package/dist/actions/get-transaction.cjs +1 -1
  245. package/dist/actions/get-transaction.cjs.map +1 -1
  246. package/dist/actions/get-transaction.d.cts +1 -1
  247. package/dist/actions/get-transaction.d.mts +1 -1
  248. package/dist/actions/get-transaction.mjs +1 -1
  249. package/dist/actions/get-transaction.mjs.map +1 -1
  250. package/dist/actions/get-user.cjs +2 -2
  251. package/dist/actions/get-user.cjs.map +1 -1
  252. package/dist/actions/get-user.d.cts +2 -2
  253. package/dist/actions/get-user.d.mts +2 -2
  254. package/dist/actions/get-user.mjs +2 -2
  255. package/dist/actions/get-user.mjs.map +1 -1
  256. package/dist/actions/get-users-deferred-status.cjs +3 -3
  257. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  258. package/dist/actions/get-users-deferred-status.d.cts +3 -3
  259. package/dist/actions/get-users-deferred-status.d.mts +3 -3
  260. package/dist/actions/get-users-deferred-status.mjs +3 -3
  261. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  262. package/dist/actions/get-vendor.cjs +3 -3
  263. package/dist/actions/get-vendor.cjs.map +1 -1
  264. package/dist/actions/get-vendor.d.cts +6 -6
  265. package/dist/actions/get-vendor.d.mts +6 -6
  266. package/dist/actions/get-vendor.mjs +3 -3
  267. package/dist/actions/get-vendor.mjs.map +1 -1
  268. package/dist/actions/get-webhook.cjs +1 -1
  269. package/dist/actions/get-webhook.cjs.map +1 -1
  270. package/dist/actions/get-webhook.d.cts +1 -1
  271. package/dist/actions/get-webhook.d.mts +1 -1
  272. package/dist/actions/get-webhook.mjs +1 -1
  273. package/dist/actions/get-webhook.mjs.map +1 -1
  274. package/dist/actions/issue-virtual-card.cjs +3 -3
  275. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  276. package/dist/actions/issue-virtual-card.d.cts +3 -3
  277. package/dist/actions/issue-virtual-card.d.mts +3 -3
  278. package/dist/actions/issue-virtual-card.mjs +3 -3
  279. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  280. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  281. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  282. package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -3
  283. package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -3
  284. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  285. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  286. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  287. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  288. package/dist/actions/list-accounting-tax-rates.d.cts +3 -3
  289. package/dist/actions/list-accounting-tax-rates.d.mts +3 -3
  290. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  291. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  292. package/dist/actions/list-cards.cjs +7 -7
  293. package/dist/actions/list-cards.cjs.map +1 -1
  294. package/dist/actions/list-cards.d.cts +7 -7
  295. package/dist/actions/list-cards.d.mts +7 -7
  296. package/dist/actions/list-cards.mjs +7 -7
  297. package/dist/actions/list-cards.mjs.map +1 -1
  298. package/dist/actions/list-departments.cjs +3 -3
  299. package/dist/actions/list-departments.cjs.map +1 -1
  300. package/dist/actions/list-departments.d.cts +3 -3
  301. package/dist/actions/list-departments.d.mts +3 -3
  302. package/dist/actions/list-departments.mjs +3 -3
  303. package/dist/actions/list-departments.mjs.map +1 -1
  304. package/dist/actions/list-memos.cjs +3 -3
  305. package/dist/actions/list-memos.cjs.map +1 -1
  306. package/dist/actions/list-memos.d.cts +3 -3
  307. package/dist/actions/list-memos.d.mts +3 -3
  308. package/dist/actions/list-memos.mjs +3 -3
  309. package/dist/actions/list-memos.mjs.map +1 -1
  310. package/dist/actions/list-reimbursements.cjs +7 -7
  311. package/dist/actions/list-reimbursements.cjs.map +1 -1
  312. package/dist/actions/list-reimbursements.d.cts +9 -9
  313. package/dist/actions/list-reimbursements.d.mts +9 -9
  314. package/dist/actions/list-reimbursements.mjs +7 -7
  315. package/dist/actions/list-reimbursements.mjs.map +1 -1
  316. package/dist/actions/list-statements.cjs +6 -6
  317. package/dist/actions/list-statements.cjs.map +1 -1
  318. package/dist/actions/list-statements.d.cts +15 -15
  319. package/dist/actions/list-statements.d.mts +15 -15
  320. package/dist/actions/list-statements.mjs +6 -6
  321. package/dist/actions/list-statements.mjs.map +1 -1
  322. package/dist/actions/list-users.cjs +4 -4
  323. package/dist/actions/list-users.cjs.map +1 -1
  324. package/dist/actions/list-users.d.cts +4 -4
  325. package/dist/actions/list-users.d.mts +4 -4
  326. package/dist/actions/list-users.mjs +4 -4
  327. package/dist/actions/list-users.mjs.map +1 -1
  328. package/dist/actions/list-vendors-accounts.cjs +3 -3
  329. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  330. package/dist/actions/list-vendors-accounts.d.cts +3 -3
  331. package/dist/actions/list-vendors-accounts.d.mts +3 -3
  332. package/dist/actions/list-vendors-accounts.mjs +3 -3
  333. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  334. package/dist/actions/list-vendors-contacts.cjs +3 -3
  335. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  336. package/dist/actions/list-vendors-contacts.d.cts +3 -3
  337. package/dist/actions/list-vendors-contacts.d.mts +3 -3
  338. package/dist/actions/list-vendors-contacts.mjs +3 -3
  339. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  340. package/dist/actions/list-vendors-credits.cjs +9 -9
  341. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  342. package/dist/actions/list-vendors-credits.d.cts +21 -21
  343. package/dist/actions/list-vendors-credits.d.mts +21 -21
  344. package/dist/actions/list-vendors-credits.mjs +9 -9
  345. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  346. package/dist/actions/list-vendors.cjs +5 -5
  347. package/dist/actions/list-vendors.cjs.map +1 -1
  348. package/dist/actions/list-vendors.d.cts +6 -6
  349. package/dist/actions/list-vendors.d.mts +6 -6
  350. package/dist/actions/list-vendors.mjs +5 -5
  351. package/dist/actions/list-vendors.mjs.map +1 -1
  352. package/dist/actions/list-webhooks.cjs +2 -2
  353. package/dist/actions/list-webhooks.cjs.map +1 -1
  354. package/dist/actions/list-webhooks.d.cts +2 -2
  355. package/dist/actions/list-webhooks.d.mts +2 -2
  356. package/dist/actions/list-webhooks.mjs +2 -2
  357. package/dist/actions/list-webhooks.mjs.map +1 -1
  358. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  359. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  360. package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
  361. package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
  362. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  363. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  364. package/dist/actions/patch-accounting-connection.cjs +2 -2
  365. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  366. package/dist/actions/patch-accounting-connection.d.cts +2 -2
  367. package/dist/actions/patch-accounting-connection.d.mts +2 -2
  368. package/dist/actions/patch-accounting-connection.mjs +2 -2
  369. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  370. package/dist/actions/patch-card-resource.cjs +1 -1
  371. package/dist/actions/patch-card-resource.cjs.map +1 -1
  372. package/dist/actions/patch-card-resource.d.cts +1 -1
  373. package/dist/actions/patch-card-resource.d.mts +1 -1
  374. package/dist/actions/patch-card-resource.mjs +1 -1
  375. package/dist/actions/patch-card-resource.mjs.map +1 -1
  376. package/dist/actions/patch-custom-field-option.cjs +1 -1
  377. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  378. package/dist/actions/patch-custom-field-option.d.cts +1 -1
  379. package/dist/actions/patch-custom-field-option.d.mts +1 -1
  380. package/dist/actions/patch-custom-field-option.mjs +1 -1
  381. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  382. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  383. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  384. package/dist/actions/patch-gl-account-resource.d.cts +2 -2
  385. package/dist/actions/patch-gl-account-resource.d.mts +2 -2
  386. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  387. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  388. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  389. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  390. package/dist/actions/patch-inventory-item-field.d.cts +1 -1
  391. package/dist/actions/patch-inventory-item-field.d.mts +1 -1
  392. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  393. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  394. package/dist/actions/post-accounting-accounts.cjs +4 -4
  395. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  396. package/dist/actions/post-accounting-accounts.d.cts +5 -4
  397. package/dist/actions/post-accounting-accounts.d.mts +5 -4
  398. package/dist/actions/post-accounting-accounts.mjs +4 -4
  399. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  400. package/dist/actions/post-accounting-connection.cjs +2 -2
  401. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  402. package/dist/actions/post-accounting-connection.d.cts +2 -2
  403. package/dist/actions/post-accounting-connection.d.mts +2 -2
  404. package/dist/actions/post-accounting-connection.mjs +2 -2
  405. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  406. package/dist/actions/post-accounting-vendors.cjs +4 -4
  407. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  408. package/dist/actions/post-accounting-vendors.d.cts +5 -4
  409. package/dist/actions/post-accounting-vendors.d.mts +5 -4
  410. package/dist/actions/post-accounting-vendors.mjs +4 -4
  411. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  412. package/dist/actions/post-inventory-item-options.cjs +3 -3
  413. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  414. package/dist/actions/post-inventory-item-options.d.cts +4 -3
  415. package/dist/actions/post-inventory-item-options.d.mts +4 -3
  416. package/dist/actions/post-inventory-item-options.mjs +3 -3
  417. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  418. package/dist/actions/post-physical-card.cjs +2 -2
  419. package/dist/actions/post-physical-card.cjs.map +1 -1
  420. package/dist/actions/post-physical-card.d.cts +3 -3
  421. package/dist/actions/post-physical-card.d.mts +3 -3
  422. package/dist/actions/post-physical-card.mjs +2 -2
  423. package/dist/actions/post-physical-card.mjs.map +1 -1
  424. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  425. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  426. package/dist/actions/reactivate-accounting-connection.d.cts +2 -2
  427. package/dist/actions/reactivate-accounting-connection.d.mts +2 -2
  428. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  429. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  430. package/dist/actions/reactivate-user.cjs +1 -1
  431. package/dist/actions/reactivate-user.cjs.map +1 -1
  432. package/dist/actions/reactivate-user.d.cts +1 -1
  433. package/dist/actions/reactivate-user.d.cts.map +1 -1
  434. package/dist/actions/reactivate-user.d.mts +1 -1
  435. package/dist/actions/reactivate-user.d.mts.map +1 -1
  436. package/dist/actions/reactivate-user.mjs +1 -1
  437. package/dist/actions/reactivate-user.mjs.map +1 -1
  438. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  439. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  440. package/dist/actions/submit-reimbursement-receipt.d.cts +13 -13
  441. package/dist/actions/submit-reimbursement-receipt.d.mts +13 -13
  442. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  443. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  444. package/dist/actions/suspend-card.cjs +1 -1
  445. package/dist/actions/suspend-card.cjs.map +1 -1
  446. package/dist/actions/suspend-card.d.cts +1 -1
  447. package/dist/actions/suspend-card.d.mts +1 -1
  448. package/dist/actions/suspend-card.mjs +1 -1
  449. package/dist/actions/suspend-card.mjs.map +1 -1
  450. package/dist/actions/terminate-card.cjs +1 -1
  451. package/dist/actions/terminate-card.cjs.map +1 -1
  452. package/dist/actions/terminate-card.d.cts +1 -1
  453. package/dist/actions/terminate-card.d.mts +1 -1
  454. package/dist/actions/terminate-card.mjs +1 -1
  455. package/dist/actions/terminate-card.mjs.map +1 -1
  456. package/dist/actions/update-accounting-field.cjs +1 -1
  457. package/dist/actions/update-accounting-field.cjs.map +1 -1
  458. package/dist/actions/update-accounting-field.d.cts +1 -1
  459. package/dist/actions/update-accounting-field.d.mts +1 -1
  460. package/dist/actions/update-accounting-field.mjs +1 -1
  461. package/dist/actions/update-accounting-field.mjs.map +1 -1
  462. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  463. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  464. package/dist/actions/update-accounting-inventory-item-options.d.cts +1 -1
  465. package/dist/actions/update-accounting-inventory-item-options.d.mts +1 -1
  466. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  467. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  468. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  469. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  470. package/dist/actions/update-accounting-tax-code-options.d.cts +1 -1
  471. package/dist/actions/update-accounting-tax-code-options.d.mts +1 -1
  472. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  473. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  474. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  475. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  476. package/dist/actions/update-accounting-tax-code.d.cts +1 -1
  477. package/dist/actions/update-accounting-tax-code.d.mts +1 -1
  478. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  479. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  480. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  481. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  482. package/dist/actions/update-accounting-tax-rate.d.cts +1 -1
  483. package/dist/actions/update-accounting-tax-rate.d.mts +1 -1
  484. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  485. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  486. package/dist/actions/update-accounting-vendor.cjs +2 -2
  487. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  488. package/dist/actions/update-accounting-vendor.d.cts +2 -2
  489. package/dist/actions/update-accounting-vendor.d.mts +2 -2
  490. package/dist/actions/update-accounting-vendor.mjs +2 -2
  491. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  492. package/dist/actions/update-card-limit.cjs +4 -4
  493. package/dist/actions/update-card-limit.cjs.map +1 -1
  494. package/dist/actions/update-card-limit.d.cts +4 -4
  495. package/dist/actions/update-card-limit.d.mts +4 -4
  496. package/dist/actions/update-card-limit.mjs +4 -4
  497. package/dist/actions/update-card-limit.mjs.map +1 -1
  498. package/dist/actions/update-department.cjs +1 -1
  499. package/dist/actions/update-department.cjs.map +1 -1
  500. package/dist/actions/update-department.d.cts +1 -1
  501. package/dist/actions/update-department.d.mts +1 -1
  502. package/dist/actions/update-department.mjs +1 -1
  503. package/dist/actions/update-department.mjs.map +1 -1
  504. package/dist/actions/update-limits.cjs +9 -9
  505. package/dist/actions/update-limits.cjs.map +1 -1
  506. package/dist/actions/update-limits.d.cts +15 -14
  507. package/dist/actions/update-limits.d.mts +15 -14
  508. package/dist/actions/update-limits.mjs +9 -9
  509. package/dist/actions/update-limits.mjs.map +1 -1
  510. package/dist/actions/update-user.cjs +1 -1
  511. package/dist/actions/update-user.cjs.map +1 -1
  512. package/dist/actions/update-user.d.cts +1 -1
  513. package/dist/actions/update-user.d.cts.map +1 -1
  514. package/dist/actions/update-user.d.mts +1 -1
  515. package/dist/actions/update-user.d.mts.map +1 -1
  516. package/dist/actions/update-user.mjs +1 -1
  517. package/dist/actions/update-user.mjs.map +1 -1
  518. package/dist/actions/upload-new-options.cjs +3 -3
  519. package/dist/actions/upload-new-options.cjs.map +1 -1
  520. package/dist/actions/upload-new-options.d.cts +4 -3
  521. package/dist/actions/upload-new-options.d.mts +4 -3
  522. package/dist/actions/upload-new-options.mjs +3 -3
  523. package/dist/actions/upload-new-options.mjs.map +1 -1
  524. package/dist/actions/upload-tax-code-options.cjs +3 -3
  525. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  526. package/dist/actions/upload-tax-code-options.d.cts +4 -3
  527. package/dist/actions/upload-tax-code-options.d.mts +4 -3
  528. package/dist/actions/upload-tax-code-options.mjs +3 -3
  529. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  530. package/dist/actions/upload-tax-rates.cjs +3 -3
  531. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  532. package/dist/actions/upload-tax-rates.d.cts +4 -3
  533. package/dist/actions/upload-tax-rates.d.mts +4 -3
  534. package/dist/actions/upload-tax-rates.mjs +3 -3
  535. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  536. package/dist/execute.cjs +1 -1
  537. package/dist/execute.cjs.map +1 -1
  538. package/dist/execute.mjs +1 -1
  539. package/dist/execute.mjs.map +1 -1
  540. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-connection-by-id.mjs","names":[],"sources":["../../src/actions/get-accounting-connection-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionByIdInput = z.object({\n connection_id: z.string().describe(\"UUID of the accounting connection to retrieve\"),\n}).describe(\"Request parameters to fetch a specific accounting connection by ID.\");\nconst RampGetAccountingConnectionById_ConnectionStatusSchema = z.enum([\"failed_to_auth\", \"linked\", \"revoked\", \"unlinked\"]).describe(\"The current status of the accounting connection.\");\nconst RampGetAccountingConnectionById_AccountingConnectionSettingsDetailSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled for this connection\").nullable(),\n}).describe(\"Connection settings for API-based accounting connections.\");\nconst RampGetAccountingConnectionById_ConnectionTypeSchema = z.enum([\"API\", \"CSV\", \"DIRECT\"]).describe(\"The type of accounting connection.\");\nexport const RampGetAccountingConnectionByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: RampGetAccountingConnectionById_ConnectionStatusSchema.nullable(),\n settings: RampGetAccountingConnectionById_AccountingConnectionSettingsDetailSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: RampGetAccountingConnectionById_ConnectionTypeSchema.nullable(),\n is_ready_to_migrate: z.boolean().describe(\"Whether an Accounting Connection is marked as ready to migrate. For use by the ERP migration flow. Only one Accounting Connection will be marked as ready to migrate per business at a given time. Once a customer begins an ERP migration, a ready to migrate Accounting Connection will no longer be considered ready to migrate.\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the accounting connection\").nullable().optional(),\n}).describe(\"Response containing detailed information for a specific accounting connection.\");\n\nexport const rampGetAccountingConnectionById = action(\"RAMP_GET_ACCOUNTING_CONNECTION_BY_ID\", {\n slug: \"ramp-get-accounting-connection-by-id\",\n name: \"Fetch Accounting Connection By ID\",\n description: \"Tool to fetch a specific accounting connection by ID from Ramp. Use when you need to retrieve detailed information about a particular accounting integration.\",\n input: RampGetAccountingConnectionByIdInput,\n output: RampGetAccountingConnectionByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAkB;CAAU;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACtL,MAAM,2EAA2E,EAAE,OAAO;CACxF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAO;CAAO;AAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAa3I,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,uDAAuD,SAAS;EACxE,UAAU,yEAAyE,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,qDAAqD,SAAS;EAC/E,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;EAC1X,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,gFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-connection-by-id.mjs","names":[],"sources":["../../src/actions/get-accounting-connection-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionByIdInput = z.object({\n connection_id: z.string().describe(\"UUID of the accounting connection to retrieve\"),\n}).describe(\"Request parameters to fetch a specific accounting connection by ID.\");\nconst RampGetAccountingConnectionById_ConnectionStatusSchema = z.enum([\"failed_to_auth\", \"linked\", \"revoked\", \"unlinked\"]).describe(\"The current status of the accounting connection.\");\nconst RampGetAccountingConnectionById_AccountingConnectionSettingsDetailSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled for this connection\").nullable(),\n}).passthrough().describe(\"Connection settings for API-based accounting connections.\");\nconst RampGetAccountingConnectionById_ConnectionTypeSchema = z.enum([\"API\", \"CSV\", \"DIRECT\"]).describe(\"The type of accounting connection.\");\nexport const RampGetAccountingConnectionByIdOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: RampGetAccountingConnectionById_ConnectionStatusSchema.nullable(),\n settings: RampGetAccountingConnectionById_AccountingConnectionSettingsDetailSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: RampGetAccountingConnectionById_ConnectionTypeSchema.nullable(),\n is_ready_to_migrate: z.boolean().describe(\"Whether an Accounting Connection is marked as ready to migrate. For use by the ERP migration flow. Only one Accounting Connection will be marked as ready to migrate per business at a given time. Once a customer begins an ERP migration, a ready to migrate Accounting Connection will no longer be considered ready to migrate.\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the accounting connection\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information for a specific accounting connection.\");\n\nexport const rampGetAccountingConnectionById = action(\"RAMP_GET_ACCOUNTING_CONNECTION_BY_ID\", {\n slug: \"ramp-get-accounting-connection-by-id\",\n name: \"Fetch Accounting Connection By ID\",\n description: \"Tool to fetch a specific accounting connection by ID from Ramp. Use when you need to retrieve detailed information about a particular accounting integration.\",\n input: RampGetAccountingConnectionByIdInput,\n output: RampGetAccountingConnectionByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACpF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAkB;CAAU;CAAW;AAAU,CAAC,CAAC,CAAC,SAAS,kDAAkD;AACtL,MAAM,2EAA2E,EAAE,OAAO;CACxF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAChH,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,uDAAuD,EAAE,KAAK;CAAC;CAAO;CAAO;AAAQ,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAa3I,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,uDAAuD,SAAS;EACxE,UAAU,yEAAyE,SAAS,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,qDAAqD,SAAS;EAC/E,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,qUAAqU,CAAC,CAAC,SAAS;EAC1X,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gFAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-accounting-connection.ts
4
4
  const RampGetAccountingConnectionInput = zod.z.object({}).describe("Request parameters to get the current active accounting connection. This endpoint requires no parameters.");
5
- const RampGetAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).describe("Connection settings for API-based accounting connections.");
5
+ const RampGetAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough().describe("Connection settings for API-based accounting connections.");
6
6
  const RampGetAccountingConnectionOutput = zod.z.object({
7
7
  id: zod.z.string().describe("Unique identifier for the accounting connection in UUID format").nullable().optional(),
8
8
  status: zod.z.string().describe("The current status of the accounting connection (e.g., LINKED, UNLINKED)").nullable().optional(),
@@ -13,7 +13,7 @@ const RampGetAccountingConnectionOutput = zod.z.object({
13
13
  last_linked_at: zod.z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
14
14
  connection_type: zod.z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable().optional(),
15
15
  remote_provider_name: zod.z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
16
- }).describe("Response from Ramp GET accounting connection endpoint.");
16
+ }).passthrough().describe("Response from Ramp GET accounting connection endpoint.");
17
17
  const rampGetAccountingConnection = require_action.action("RAMP_GET_ACCOUNTING_CONNECTION", {
18
18
  slug: "ramp-get-accounting-connection",
19
19
  name: "Get Accounting Connection",
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/get-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionInput = z.object({}).describe(\"Request parameters to get the current active accounting connection. This endpoint requires no parameters.\");\nconst RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).describe(\"Connection settings for API-based accounting connections.\");\nexport const RampGetAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable().optional(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable().optional(),\n message: z.string().describe(\"Message returned when the business has no active accounting connection\").nullable().optional(),\n settings: RampGetAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable().optional(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable().optional(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).describe(\"Response from Ramp GET accounting connection endpoint.\");\n\nexport const rampGetAccountingConnection = action(\"RAMP_GET_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-get-accounting-connection\",\n name: \"Get Accounting Connection\",\n description: \"Tool to fetch the current active accounting connection for a Ramp account. Use when you need to check the status, type, or configuration of the active accounting integration with providers like QuickBooks or NetSuite.\",\n input: RampGetAccountingConnectionInput,\n output: RampGetAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACjL,MAAM,iEAAiEA,IAAAA,EAAE,OAAO,EAC9E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,UAAU,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/get-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionInput = z.object({}).describe(\"Request parameters to get the current active accounting connection. This endpoint requires no parameters.\");\nconst RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough().describe(\"Connection settings for API-based accounting connections.\");\nexport const RampGetAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable().optional(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable().optional(),\n message: z.string().describe(\"Message returned when the business has no active accounting connection\").nullable().optional(),\n settings: RampGetAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable().optional(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable().optional(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough().describe(\"Response from Ramp GET accounting connection endpoint.\");\n\nexport const rampGetAccountingConnection = action(\"RAMP_GET_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-get-accounting-connection\",\n name: \"Get Accounting Connection\",\n description: \"Tool to fetch the current active accounting connection for a Ramp account. Use when you need to check the status, type, or configuration of the active accounting integration with providers like QuickBooks or NetSuite.\",\n input: RampGetAccountingConnectionInput,\n output: RampGetAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACjL,MAAM,iEAAiEA,IAAAA,EAAE,OAAO,EAC9E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,UAAU,+DAA+D,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,13 +8,13 @@ declare const RampGetAccountingConnectionOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
13
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  connection_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const rampGetAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { rampGetAccountingConnection };
@@ -8,13 +8,13 @@ declare const RampGetAccountingConnectionOutput: z.ZodObject<{
8
8
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
9
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
10
  vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
- }, z.core.$strip>>>;
11
+ }, z.core.$loose>>>;
12
12
  is_active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
13
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  connection_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const rampGetAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
19
  //#endregion
20
20
  export { rampGetAccountingConnection };
@@ -2,7 +2,7 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-accounting-connection.ts
4
4
  const RampGetAccountingConnectionInput = z.object({}).describe("Request parameters to get the current active accounting connection. This endpoint requires no parameters.");
5
- const RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).describe("Connection settings for API-based accounting connections.");
5
+ const RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough().describe("Connection settings for API-based accounting connections.");
6
6
  const rampGetAccountingConnection = action("RAMP_GET_ACCOUNTING_CONNECTION", {
7
7
  slug: "ramp-get-accounting-connection",
8
8
  name: "Get Accounting Connection",
@@ -18,7 +18,7 @@ const rampGetAccountingConnection = action("RAMP_GET_ACCOUNTING_CONNECTION", {
18
18
  last_linked_at: z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
19
19
  connection_type: z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable().optional(),
20
20
  remote_provider_name: z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
21
- }).describe("Response from Ramp GET accounting connection endpoint.")
21
+ }).passthrough().describe("Response from Ramp GET accounting connection endpoint.")
22
22
  });
23
23
  //#endregion
24
24
  export { rampGetAccountingConnection };
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-connection.mjs","names":[],"sources":["../../src/actions/get-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionInput = z.object({}).describe(\"Request parameters to get the current active accounting connection. This endpoint requires no parameters.\");\nconst RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).describe(\"Connection settings for API-based accounting connections.\");\nexport const RampGetAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable().optional(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable().optional(),\n message: z.string().describe(\"Message returned when the business has no active accounting connection\").nullable().optional(),\n settings: RampGetAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable().optional(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable().optional(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).describe(\"Response from Ramp GET accounting connection endpoint.\");\n\nexport const rampGetAccountingConnection = action(\"RAMP_GET_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-get-accounting-connection\",\n name: \"Get Accounting Connection\",\n description: \"Tool to fetch the current active accounting connection for a Ramp account. Use when you need to check the status, type, or configuration of the active accounting integration with providers like QuickBooks or NetSuite.\",\n input: RampGetAccountingConnectionInput,\n output: RampGetAccountingConnectionOut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],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetAccountingConnectionInput = z.object({}).describe(\"Request parameters to get the current active accounting connection. This endpoint requires no parameters.\");\nconst RampGetAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough().describe(\"Connection settings for API-based accounting connections.\");\nexport const RampGetAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable().optional(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable().optional(),\n message: z.string().describe(\"Message returned when the business has no active accounting connection\").nullable().optional(),\n settings: RampGetAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable().optional(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable().optional(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable().optional(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough().describe(\"Response from Ramp GET accounting connection endpoint.\");\n\nexport const rampGetAccountingConnection = action(\"RAMP_GET_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-get-accounting-connection\",\n name: \"Get Accounting Connection\",\n description: \"Tool to fetch the current active accounting connection for a Ramp account. Use when you need to check the status, type, or configuration of the active accounting integration with providers like QuickBooks or NetSuite.\",\n input: RampGetAccountingConnectionInput,\n output: RampGetAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2GAA2G;AACjL,MAAM,iEAAiE,EAAE,OAAO,EAC9E,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAarF,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,UAAU,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -10,12 +10,12 @@ const RampGetAccountingFields_AccountingFieldSchema = zod.z.object({
10
10
  name: zod.z.string().describe("Display name of the custom accounting field").nullable().optional(),
11
11
  input_type: zod.z.string().describe("Type of field input (e.g., 'SINGLE_CHOICE', 'BOOLEAN', 'FREE_TEXT')").nullable().optional(),
12
12
  is_splittable: zod.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 = zod.z.object({ next: zod.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 = zod.z.object({ next: zod.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 RampGetAccountingFieldsOutput = zod.z.object({
16
16
  data: zod.z.array(RampGetAccountingFields_AccountingFieldSchema).describe("Array of custom accounting field objects returned in the paginated response"),
17
17
  page: RampGetAccountingFields_PageSchema.nullable().optional()
18
- }).describe("Response from Ramp GET accounting fields endpoint with paginated field data.");
18
+ }).passthrough().describe("Response from Ramp GET accounting fields endpoint with paginated field data.");
19
19
  const rampGetAccountingFields = require_action.action("RAMP_GET_ACCOUNTING_FIELDS", {
20
20
  slug: "ramp-get-accounting-fields",
21
21
  name: "List Custom Accounting Fields",
@@ -1 +1 @@
1
- {"version":3,"file":"get-accounting-fields.cjs","names":["z","action"],"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+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6EAA6E;CACnJ,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-accounting-fields.cjs","names":["z","action"],"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+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;AAC5M,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6EAA6E;CACnJ,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;AAC/D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,11 +11,11 @@ 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;
@@ -11,11 +11,11 @@ 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;
@@ -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,11 +11,11 @@ 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;
@@ -11,11 +11,11 @@ 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;
@@ -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,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,C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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\",\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,2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C"}
@@ -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;
@@ -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;
@@ -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,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACvF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAA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AC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,kBAAkB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7O,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,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,SAAS,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,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,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;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E,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"}