@keystrokehq/ramp 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/create-department.cjs +1 -1
  3. package/dist/actions/create-department.cjs.map +1 -1
  4. package/dist/actions/create-department.d.cts +14 -2
  5. package/dist/actions/create-department.d.mts +14 -2
  6. package/dist/actions/create-department.mjs +1 -1
  7. package/dist/actions/create-department.mjs.map +1 -1
  8. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
  9. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  10. package/dist/actions/create-inventory-item-accounting-field.d.cts +14 -2
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +14 -2
  12. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  14. package/dist/actions/create-memo.cjs +1 -1
  15. package/dist/actions/create-memo.cjs.map +1 -1
  16. package/dist/actions/create-memo.d.cts +14 -2
  17. package/dist/actions/create-memo.d.mts +14 -2
  18. package/dist/actions/create-memo.mjs +1 -1
  19. package/dist/actions/create-memo.mjs.map +1 -1
  20. package/dist/actions/create-mileage-reimbursement.cjs +9 -9
  21. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  22. package/dist/actions/create-mileage-reimbursement.d.cts +26 -14
  23. package/dist/actions/create-mileage-reimbursement.d.mts +26 -14
  24. package/dist/actions/create-mileage-reimbursement.mjs +9 -9
  25. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  26. package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
  27. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  28. package/dist/actions/create-new-custom-accounting-field.d.cts +14 -2
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +14 -2
  30. package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
  31. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  32. package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
  33. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  34. package/dist/actions/create-tax-code-accounting-field.d.cts +14 -2
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +14 -2
  36. package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
  37. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  38. package/dist/actions/create-user-invite.cjs +1 -1
  39. package/dist/actions/create-user-invite.cjs.map +1 -1
  40. package/dist/actions/create-user-invite.d.cts +14 -2
  41. package/dist/actions/create-user-invite.d.mts +14 -2
  42. package/dist/actions/create-user-invite.mjs +1 -1
  43. package/dist/actions/create-user-invite.mjs.map +1 -1
  44. package/dist/actions/create-webhook-subscription.cjs +3 -3
  45. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  46. package/dist/actions/create-webhook-subscription.d.cts +17 -5
  47. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  48. package/dist/actions/create-webhook-subscription.d.mts +17 -5
  49. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  50. package/dist/actions/create-webhook-subscription.mjs +3 -3
  51. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  52. package/dist/actions/deactivate-user.cjs +1 -1
  53. package/dist/actions/deactivate-user.cjs.map +1 -1
  54. package/dist/actions/deactivate-user.d.cts +14 -2
  55. package/dist/actions/deactivate-user.d.cts.map +1 -1
  56. package/dist/actions/deactivate-user.d.mts +14 -2
  57. package/dist/actions/deactivate-user.d.mts.map +1 -1
  58. package/dist/actions/deactivate-user.mjs +1 -1
  59. package/dist/actions/deactivate-user.mjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.cjs +1 -1
  61. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  62. package/dist/actions/delete-accounting-account.d.cts +14 -2
  63. package/dist/actions/delete-accounting-account.d.mts +14 -2
  64. package/dist/actions/delete-accounting-account.mjs +1 -1
  65. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.cjs +1 -1
  67. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  68. package/dist/actions/delete-accounting-connection.d.cts +14 -2
  69. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  70. package/dist/actions/delete-accounting-connection.d.mts +14 -2
  71. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  72. package/dist/actions/delete-accounting-connection.mjs +1 -1
  73. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  74. package/dist/actions/delete-accounting-fields.cjs +1 -1
  75. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  76. package/dist/actions/delete-accounting-fields.d.cts +14 -2
  77. package/dist/actions/delete-accounting-fields.d.mts +14 -2
  78. package/dist/actions/delete-accounting-fields.mjs +1 -1
  79. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  82. package/dist/actions/delete-accounting-inventory-item-options.d.cts +14 -2
  83. package/dist/actions/delete-accounting-inventory-item-options.d.mts +14 -2
  84. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  85. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code-options.d.cts +14 -2
  89. package/dist/actions/delete-accounting-tax-code-options.d.mts +14 -2
  90. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  91. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  92. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-code.d.cts +14 -2
  95. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  96. package/dist/actions/delete-accounting-tax-code.d.mts +14 -2
  97. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  98. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  101. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-tax-rates.d.cts +14 -2
  103. package/dist/actions/delete-accounting-tax-rates.d.mts +14 -2
  104. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  105. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  106. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  107. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  108. package/dist/actions/delete-accounting-vendors.d.cts +14 -2
  109. package/dist/actions/delete-accounting-vendors.d.mts +14 -2
  110. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  111. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  112. package/dist/actions/delete-custom-field-option.cjs +1 -1
  113. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  114. package/dist/actions/delete-custom-field-option.d.cts +14 -2
  115. package/dist/actions/delete-custom-field-option.d.mts +14 -2
  116. package/dist/actions/delete-custom-field-option.mjs +1 -1
  117. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  118. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  119. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  120. package/dist/actions/delete-inventory-item-field.d.cts +14 -2
  121. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  122. package/dist/actions/delete-inventory-item-field.d.mts +14 -2
  123. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  124. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  125. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  126. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  127. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  128. package/dist/actions/delete-spend-allocation-delete-users.d.cts +26 -14
  129. package/dist/actions/delete-spend-allocation-delete-users.d.mts +26 -14
  130. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  131. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  132. package/dist/actions/delete-webhook.cjs +1 -1
  133. package/dist/actions/delete-webhook.cjs.map +1 -1
  134. package/dist/actions/delete-webhook.d.cts +14 -2
  135. package/dist/actions/delete-webhook.d.mts +14 -2
  136. package/dist/actions/delete-webhook.mjs +1 -1
  137. package/dist/actions/delete-webhook.mjs.map +1 -1
  138. package/dist/actions/fetch-accounting-account.cjs +2 -2
  139. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  140. package/dist/actions/fetch-accounting-account.d.cts +15 -3
  141. package/dist/actions/fetch-accounting-account.d.mts +15 -3
  142. package/dist/actions/fetch-accounting-account.mjs +2 -2
  143. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  144. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  145. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  146. package/dist/actions/fetch-accounting-vendor.d.cts +15 -3
  147. package/dist/actions/fetch-accounting-vendor.d.mts +15 -3
  148. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  149. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  150. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  151. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  152. package/dist/actions/fetch-custom-accounting-field.d.cts +15 -3
  153. package/dist/actions/fetch-custom-accounting-field.d.mts +15 -3
  154. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  155. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  156. package/dist/actions/get-accounting-accounts.cjs +4 -4
  157. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  158. package/dist/actions/get-accounting-accounts.d.cts +17 -5
  159. package/dist/actions/get-accounting-accounts.d.mts +17 -5
  160. package/dist/actions/get-accounting-accounts.mjs +4 -4
  161. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  162. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  163. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  164. package/dist/actions/get-accounting-all-connections.d.cts +15 -3
  165. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  166. package/dist/actions/get-accounting-all-connections.d.mts +15 -3
  167. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  168. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  169. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  170. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  171. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  172. package/dist/actions/get-accounting-connection-by-id.d.cts +15 -3
  173. package/dist/actions/get-accounting-connection-by-id.d.mts +15 -3
  174. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  175. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  176. package/dist/actions/get-accounting-connection.cjs +2 -2
  177. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  178. package/dist/actions/get-accounting-connection.d.cts +15 -3
  179. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  180. package/dist/actions/get-accounting-connection.d.mts +15 -3
  181. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  182. package/dist/actions/get-accounting-connection.mjs +2 -2
  183. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  184. package/dist/actions/get-accounting-fields.cjs +3 -3
  185. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  186. package/dist/actions/get-accounting-fields.d.cts +16 -4
  187. package/dist/actions/get-accounting-fields.d.mts +16 -4
  188. package/dist/actions/get-accounting-fields.mjs +3 -3
  189. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  190. package/dist/actions/get-accounting-vendors.cjs +3 -3
  191. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  192. package/dist/actions/get-accounting-vendors.d.cts +16 -4
  193. package/dist/actions/get-accounting-vendors.d.mts +16 -4
  194. package/dist/actions/get-accounting-vendors.mjs +3 -3
  195. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  196. package/dist/actions/get-all-transactions.cjs +3 -3
  197. package/dist/actions/get-all-transactions.cjs.map +1 -1
  198. package/dist/actions/get-all-transactions.d.cts +16 -4
  199. package/dist/actions/get-all-transactions.d.mts +16 -4
  200. package/dist/actions/get-all-transactions.mjs +3 -3
  201. package/dist/actions/get-all-transactions.mjs.map +1 -1
  202. package/dist/actions/get-card-vault-resource.cjs +1 -1
  203. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  204. package/dist/actions/get-card-vault-resource.d.cts +14 -2
  205. package/dist/actions/get-card-vault-resource.d.mts +14 -2
  206. package/dist/actions/get-card-vault-resource.mjs +1 -1
  207. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  208. package/dist/actions/get-card.cjs +5 -5
  209. package/dist/actions/get-card.cjs.map +1 -1
  210. package/dist/actions/get-card.d.cts +18 -6
  211. package/dist/actions/get-card.d.mts +18 -6
  212. package/dist/actions/get-card.mjs +5 -5
  213. package/dist/actions/get-card.mjs.map +1 -1
  214. package/dist/actions/get-custom-field-option.cjs +1 -1
  215. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  216. package/dist/actions/get-custom-field-option.d.cts +14 -2
  217. package/dist/actions/get-custom-field-option.d.mts +14 -2
  218. package/dist/actions/get-custom-field-option.mjs +1 -1
  219. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  220. package/dist/actions/get-department.cjs +1 -1
  221. package/dist/actions/get-department.cjs.map +1 -1
  222. package/dist/actions/get-department.d.cts +14 -2
  223. package/dist/actions/get-department.d.mts +14 -2
  224. package/dist/actions/get-department.mjs +1 -1
  225. package/dist/actions/get-department.mjs.map +1 -1
  226. package/dist/actions/get-inventory-item-field.cjs +1 -1
  227. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  228. package/dist/actions/get-inventory-item-field.d.cts +14 -2
  229. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  230. package/dist/actions/get-inventory-item-field.d.mts +14 -2
  231. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  232. package/dist/actions/get-inventory-item-field.mjs +1 -1
  233. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  234. package/dist/actions/get-memo.cjs +1 -1
  235. package/dist/actions/get-memo.cjs.map +1 -1
  236. package/dist/actions/get-memo.d.cts +14 -2
  237. package/dist/actions/get-memo.d.mts +14 -2
  238. package/dist/actions/get-memo.mjs +1 -1
  239. package/dist/actions/get-memo.mjs.map +1 -1
  240. package/dist/actions/get-reimbursement.cjs +5 -5
  241. package/dist/actions/get-reimbursement.cjs.map +1 -1
  242. package/dist/actions/get-reimbursement.d.cts +20 -8
  243. package/dist/actions/get-reimbursement.d.mts +20 -8
  244. package/dist/actions/get-reimbursement.mjs +5 -5
  245. package/dist/actions/get-reimbursement.mjs.map +1 -1
  246. package/dist/actions/get-spend-limit.cjs +14 -14
  247. package/dist/actions/get-spend-limit.cjs.map +1 -1
  248. package/dist/actions/get-spend-limit.d.cts +32 -20
  249. package/dist/actions/get-spend-limit.d.mts +32 -20
  250. package/dist/actions/get-spend-limit.mjs +14 -14
  251. package/dist/actions/get-spend-limit.mjs.map +1 -1
  252. package/dist/actions/get-statement.cjs +1 -1
  253. package/dist/actions/get-statement.cjs.map +1 -1
  254. package/dist/actions/get-statement.d.cts +14 -2
  255. package/dist/actions/get-statement.d.mts +14 -2
  256. package/dist/actions/get-statement.mjs +1 -1
  257. package/dist/actions/get-statement.mjs.map +1 -1
  258. package/dist/actions/get-transaction.cjs +1 -1
  259. package/dist/actions/get-transaction.cjs.map +1 -1
  260. package/dist/actions/get-transaction.d.cts +14 -2
  261. package/dist/actions/get-transaction.d.mts +14 -2
  262. package/dist/actions/get-transaction.mjs +1 -1
  263. package/dist/actions/get-transaction.mjs.map +1 -1
  264. package/dist/actions/get-user.cjs +2 -2
  265. package/dist/actions/get-user.cjs.map +1 -1
  266. package/dist/actions/get-user.d.cts +15 -3
  267. package/dist/actions/get-user.d.mts +15 -3
  268. package/dist/actions/get-user.mjs +2 -2
  269. package/dist/actions/get-user.mjs.map +1 -1
  270. package/dist/actions/get-users-deferred-status.cjs +3 -3
  271. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  272. package/dist/actions/get-users-deferred-status.d.cts +16 -4
  273. package/dist/actions/get-users-deferred-status.d.mts +16 -4
  274. package/dist/actions/get-users-deferred-status.mjs +3 -3
  275. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  276. package/dist/actions/get-vendor.cjs +3 -3
  277. package/dist/actions/get-vendor.cjs.map +1 -1
  278. package/dist/actions/get-vendor.d.cts +19 -7
  279. package/dist/actions/get-vendor.d.mts +19 -7
  280. package/dist/actions/get-vendor.mjs +3 -3
  281. package/dist/actions/get-vendor.mjs.map +1 -1
  282. package/dist/actions/get-webhook.cjs +1 -1
  283. package/dist/actions/get-webhook.cjs.map +1 -1
  284. package/dist/actions/get-webhook.d.cts +14 -2
  285. package/dist/actions/get-webhook.d.mts +14 -2
  286. package/dist/actions/get-webhook.mjs +1 -1
  287. package/dist/actions/get-webhook.mjs.map +1 -1
  288. package/dist/actions/issue-virtual-card.cjs +3 -3
  289. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  290. package/dist/actions/issue-virtual-card.d.cts +16 -4
  291. package/dist/actions/issue-virtual-card.d.mts +16 -4
  292. package/dist/actions/issue-virtual-card.mjs +3 -3
  293. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  294. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  295. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  296. package/dist/actions/list-accounting-inventory-item-options.d.cts +16 -4
  297. package/dist/actions/list-accounting-inventory-item-options.d.mts +16 -4
  298. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  299. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  300. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  301. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  302. package/dist/actions/list-accounting-tax-rates.d.cts +16 -4
  303. package/dist/actions/list-accounting-tax-rates.d.mts +16 -4
  304. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  305. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  306. package/dist/actions/list-cards.cjs +7 -7
  307. package/dist/actions/list-cards.cjs.map +1 -1
  308. package/dist/actions/list-cards.d.cts +20 -8
  309. package/dist/actions/list-cards.d.mts +20 -8
  310. package/dist/actions/list-cards.mjs +7 -7
  311. package/dist/actions/list-cards.mjs.map +1 -1
  312. package/dist/actions/list-departments.cjs +3 -3
  313. package/dist/actions/list-departments.cjs.map +1 -1
  314. package/dist/actions/list-departments.d.cts +16 -4
  315. package/dist/actions/list-departments.d.mts +16 -4
  316. package/dist/actions/list-departments.mjs +3 -3
  317. package/dist/actions/list-departments.mjs.map +1 -1
  318. package/dist/actions/list-memos.cjs +3 -3
  319. package/dist/actions/list-memos.cjs.map +1 -1
  320. package/dist/actions/list-memos.d.cts +16 -4
  321. package/dist/actions/list-memos.d.mts +16 -4
  322. package/dist/actions/list-memos.mjs +3 -3
  323. package/dist/actions/list-memos.mjs.map +1 -1
  324. package/dist/actions/list-reimbursements.cjs +7 -7
  325. package/dist/actions/list-reimbursements.cjs.map +1 -1
  326. package/dist/actions/list-reimbursements.d.cts +22 -10
  327. package/dist/actions/list-reimbursements.d.mts +22 -10
  328. package/dist/actions/list-reimbursements.mjs +7 -7
  329. package/dist/actions/list-reimbursements.mjs.map +1 -1
  330. package/dist/actions/list-statements.cjs +6 -6
  331. package/dist/actions/list-statements.cjs.map +1 -1
  332. package/dist/actions/list-statements.d.cts +28 -16
  333. package/dist/actions/list-statements.d.mts +28 -16
  334. package/dist/actions/list-statements.mjs +6 -6
  335. package/dist/actions/list-statements.mjs.map +1 -1
  336. package/dist/actions/list-users.cjs +4 -4
  337. package/dist/actions/list-users.cjs.map +1 -1
  338. package/dist/actions/list-users.d.cts +17 -5
  339. package/dist/actions/list-users.d.mts +17 -5
  340. package/dist/actions/list-users.mjs +4 -4
  341. package/dist/actions/list-users.mjs.map +1 -1
  342. package/dist/actions/list-vendors-accounts.cjs +3 -3
  343. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  344. package/dist/actions/list-vendors-accounts.d.cts +16 -4
  345. package/dist/actions/list-vendors-accounts.d.mts +16 -4
  346. package/dist/actions/list-vendors-accounts.mjs +3 -3
  347. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  348. package/dist/actions/list-vendors-contacts.cjs +3 -3
  349. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  350. package/dist/actions/list-vendors-contacts.d.cts +16 -4
  351. package/dist/actions/list-vendors-contacts.d.mts +16 -4
  352. package/dist/actions/list-vendors-contacts.mjs +3 -3
  353. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  354. package/dist/actions/list-vendors-credits.cjs +9 -9
  355. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  356. package/dist/actions/list-vendors-credits.d.cts +34 -22
  357. package/dist/actions/list-vendors-credits.d.mts +34 -22
  358. package/dist/actions/list-vendors-credits.mjs +9 -9
  359. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  360. package/dist/actions/list-vendors.cjs +5 -5
  361. package/dist/actions/list-vendors.cjs.map +1 -1
  362. package/dist/actions/list-vendors.d.cts +19 -7
  363. package/dist/actions/list-vendors.d.mts +19 -7
  364. package/dist/actions/list-vendors.mjs +5 -5
  365. package/dist/actions/list-vendors.mjs.map +1 -1
  366. package/dist/actions/list-webhooks.cjs +2 -2
  367. package/dist/actions/list-webhooks.cjs.map +1 -1
  368. package/dist/actions/list-webhooks.d.cts +15 -3
  369. package/dist/actions/list-webhooks.d.cts.map +1 -1
  370. package/dist/actions/list-webhooks.d.mts +15 -3
  371. package/dist/actions/list-webhooks.d.mts.map +1 -1
  372. package/dist/actions/list-webhooks.mjs +2 -2
  373. package/dist/actions/list-webhooks.mjs.map +1 -1
  374. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  375. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  376. package/dist/actions/options-for-custom-accounting-field.d.cts +16 -4
  377. package/dist/actions/options-for-custom-accounting-field.d.mts +16 -4
  378. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  379. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  380. package/dist/actions/patch-accounting-connection.cjs +2 -2
  381. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  382. package/dist/actions/patch-accounting-connection.d.cts +15 -3
  383. package/dist/actions/patch-accounting-connection.d.mts +15 -3
  384. package/dist/actions/patch-accounting-connection.mjs +2 -2
  385. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  386. package/dist/actions/patch-card-resource.cjs +1 -1
  387. package/dist/actions/patch-card-resource.cjs.map +1 -1
  388. package/dist/actions/patch-card-resource.d.cts +14 -2
  389. package/dist/actions/patch-card-resource.d.mts +14 -2
  390. package/dist/actions/patch-card-resource.mjs +1 -1
  391. package/dist/actions/patch-card-resource.mjs.map +1 -1
  392. package/dist/actions/patch-custom-field-option.cjs +1 -1
  393. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  394. package/dist/actions/patch-custom-field-option.d.cts +14 -2
  395. package/dist/actions/patch-custom-field-option.d.mts +14 -2
  396. package/dist/actions/patch-custom-field-option.mjs +1 -1
  397. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  398. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  399. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  400. package/dist/actions/patch-gl-account-resource.d.cts +15 -3
  401. package/dist/actions/patch-gl-account-resource.d.mts +15 -3
  402. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  403. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  404. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  405. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  406. package/dist/actions/patch-inventory-item-field.d.cts +14 -2
  407. package/dist/actions/patch-inventory-item-field.d.mts +14 -2
  408. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  409. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  410. package/dist/actions/post-accounting-accounts.cjs +4 -4
  411. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  412. package/dist/actions/post-accounting-accounts.d.cts +18 -5
  413. package/dist/actions/post-accounting-accounts.d.mts +18 -5
  414. package/dist/actions/post-accounting-accounts.mjs +4 -4
  415. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  416. package/dist/actions/post-accounting-connection.cjs +2 -2
  417. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  418. package/dist/actions/post-accounting-connection.d.cts +15 -3
  419. package/dist/actions/post-accounting-connection.d.mts +15 -3
  420. package/dist/actions/post-accounting-connection.mjs +2 -2
  421. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  422. package/dist/actions/post-accounting-vendors.cjs +4 -4
  423. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  424. package/dist/actions/post-accounting-vendors.d.cts +18 -5
  425. package/dist/actions/post-accounting-vendors.d.mts +18 -5
  426. package/dist/actions/post-accounting-vendors.mjs +4 -4
  427. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  428. package/dist/actions/post-inventory-item-options.cjs +3 -3
  429. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  430. package/dist/actions/post-inventory-item-options.d.cts +17 -4
  431. package/dist/actions/post-inventory-item-options.d.mts +17 -4
  432. package/dist/actions/post-inventory-item-options.mjs +3 -3
  433. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  434. package/dist/actions/post-physical-card.cjs +2 -2
  435. package/dist/actions/post-physical-card.cjs.map +1 -1
  436. package/dist/actions/post-physical-card.d.cts +16 -4
  437. package/dist/actions/post-physical-card.d.cts.map +1 -1
  438. package/dist/actions/post-physical-card.d.mts +16 -4
  439. package/dist/actions/post-physical-card.d.mts.map +1 -1
  440. package/dist/actions/post-physical-card.mjs +2 -2
  441. package/dist/actions/post-physical-card.mjs.map +1 -1
  442. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  443. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  444. package/dist/actions/reactivate-accounting-connection.d.cts +15 -3
  445. package/dist/actions/reactivate-accounting-connection.d.mts +15 -3
  446. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  447. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  448. package/dist/actions/reactivate-user.cjs +1 -1
  449. package/dist/actions/reactivate-user.cjs.map +1 -1
  450. package/dist/actions/reactivate-user.d.cts +14 -2
  451. package/dist/actions/reactivate-user.d.cts.map +1 -1
  452. package/dist/actions/reactivate-user.d.mts +14 -2
  453. package/dist/actions/reactivate-user.d.mts.map +1 -1
  454. package/dist/actions/reactivate-user.mjs +1 -1
  455. package/dist/actions/reactivate-user.mjs.map +1 -1
  456. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  457. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  458. package/dist/actions/submit-reimbursement-receipt.d.cts +26 -14
  459. package/dist/actions/submit-reimbursement-receipt.d.mts +26 -14
  460. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  461. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  462. package/dist/actions/suspend-card.cjs +1 -1
  463. package/dist/actions/suspend-card.cjs.map +1 -1
  464. package/dist/actions/suspend-card.d.cts +14 -2
  465. package/dist/actions/suspend-card.d.mts +14 -2
  466. package/dist/actions/suspend-card.mjs +1 -1
  467. package/dist/actions/suspend-card.mjs.map +1 -1
  468. package/dist/actions/terminate-card.cjs +1 -1
  469. package/dist/actions/terminate-card.cjs.map +1 -1
  470. package/dist/actions/terminate-card.d.cts +14 -2
  471. package/dist/actions/terminate-card.d.mts +14 -2
  472. package/dist/actions/terminate-card.mjs +1 -1
  473. package/dist/actions/terminate-card.mjs.map +1 -1
  474. package/dist/actions/update-accounting-field.cjs +1 -1
  475. package/dist/actions/update-accounting-field.cjs.map +1 -1
  476. package/dist/actions/update-accounting-field.d.cts +14 -2
  477. package/dist/actions/update-accounting-field.d.mts +14 -2
  478. package/dist/actions/update-accounting-field.mjs +1 -1
  479. package/dist/actions/update-accounting-field.mjs.map +1 -1
  480. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  481. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  482. package/dist/actions/update-accounting-inventory-item-options.d.cts +14 -2
  483. package/dist/actions/update-accounting-inventory-item-options.d.mts +14 -2
  484. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  485. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  486. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  487. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  488. package/dist/actions/update-accounting-tax-code-options.d.cts +14 -2
  489. package/dist/actions/update-accounting-tax-code-options.d.mts +14 -2
  490. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  491. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  492. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  493. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  494. package/dist/actions/update-accounting-tax-code.d.cts +14 -2
  495. package/dist/actions/update-accounting-tax-code.d.mts +14 -2
  496. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  497. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  498. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  499. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  500. package/dist/actions/update-accounting-tax-rate.d.cts +14 -2
  501. package/dist/actions/update-accounting-tax-rate.d.mts +14 -2
  502. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  503. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  504. package/dist/actions/update-accounting-vendor.cjs +2 -2
  505. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  506. package/dist/actions/update-accounting-vendor.d.cts +15 -3
  507. package/dist/actions/update-accounting-vendor.d.mts +15 -3
  508. package/dist/actions/update-accounting-vendor.mjs +2 -2
  509. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  510. package/dist/actions/update-card-limit.cjs +4 -4
  511. package/dist/actions/update-card-limit.cjs.map +1 -1
  512. package/dist/actions/update-card-limit.d.cts +17 -5
  513. package/dist/actions/update-card-limit.d.mts +17 -5
  514. package/dist/actions/update-card-limit.mjs +4 -4
  515. package/dist/actions/update-card-limit.mjs.map +1 -1
  516. package/dist/actions/update-department.cjs +1 -1
  517. package/dist/actions/update-department.cjs.map +1 -1
  518. package/dist/actions/update-department.d.cts +14 -2
  519. package/dist/actions/update-department.d.mts +14 -2
  520. package/dist/actions/update-department.mjs +1 -1
  521. package/dist/actions/update-department.mjs.map +1 -1
  522. package/dist/actions/update-limits.cjs +9 -9
  523. package/dist/actions/update-limits.cjs.map +1 -1
  524. package/dist/actions/update-limits.d.cts +28 -15
  525. package/dist/actions/update-limits.d.mts +28 -15
  526. package/dist/actions/update-limits.mjs +9 -9
  527. package/dist/actions/update-limits.mjs.map +1 -1
  528. package/dist/actions/update-user.cjs +1 -1
  529. package/dist/actions/update-user.cjs.map +1 -1
  530. package/dist/actions/update-user.d.cts +14 -2
  531. package/dist/actions/update-user.d.cts.map +1 -1
  532. package/dist/actions/update-user.d.mts +14 -2
  533. package/dist/actions/update-user.d.mts.map +1 -1
  534. package/dist/actions/update-user.mjs +1 -1
  535. package/dist/actions/update-user.mjs.map +1 -1
  536. package/dist/actions/upload-new-options.cjs +3 -3
  537. package/dist/actions/upload-new-options.cjs.map +1 -1
  538. package/dist/actions/upload-new-options.d.cts +17 -4
  539. package/dist/actions/upload-new-options.d.mts +17 -4
  540. package/dist/actions/upload-new-options.mjs +3 -3
  541. package/dist/actions/upload-new-options.mjs.map +1 -1
  542. package/dist/actions/upload-tax-code-options.cjs +3 -3
  543. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  544. package/dist/actions/upload-tax-code-options.d.cts +17 -4
  545. package/dist/actions/upload-tax-code-options.d.mts +17 -4
  546. package/dist/actions/upload-tax-code-options.mjs +3 -3
  547. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  548. package/dist/actions/upload-tax-rates.cjs +3 -3
  549. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  550. package/dist/actions/upload-tax-rates.d.cts +17 -4
  551. package/dist/actions/upload-tax-rates.d.mts +17 -4
  552. package/dist/actions/upload-tax-rates.mjs +3 -3
  553. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  554. package/dist/app.cjs +5 -2
  555. package/dist/app.cjs.map +1 -1
  556. package/dist/app.d.cts +9 -1
  557. package/dist/app.d.cts.map +1 -1
  558. package/dist/app.d.mts +9 -1
  559. package/dist/app.d.mts.map +1 -1
  560. package/dist/app.mjs +3 -1
  561. package/dist/app.mjs.map +1 -1
  562. package/dist/execute.cjs +1 -1
  563. package/dist/execute.cjs.map +1 -1
  564. package/dist/execute.mjs +1 -1
  565. package/dist/execute.mjs.map +1 -1
  566. package/package.json +1 -1
@@ -12,12 +12,12 @@ const RampPostAccountingAccountsInput = zod.z.object({ gl_accounts: zod.z.array(
12
12
  "LIABILITY",
13
13
  "EQUITY"
14
14
  ]).describe("Account classification type")
15
- }).describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
15
+ }).passthrough().describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
16
16
  const RampPostAccountingAccounts_GLAccountCategoryInfoSchema = zod.z.object({
17
17
  ramp_id: zod.z.string().describe("Ramp's unique identifier for the category").nullable(),
18
18
  remote_id: zod.z.string().describe("Remote/external ID of the category").nullable().optional(),
19
19
  remote_name: zod.z.string().describe("Remote/external name of the category").nullable().optional()
20
- }).describe("Category information for a GL account.");
20
+ }).passthrough().describe("Category information for a GL account.");
21
21
  const RampPostAccountingAccounts_GLAccountOutputSchema = zod.z.object({
22
22
  id: zod.z.string().describe("Remote/external ID of GL account").nullable(),
23
23
  code: zod.z.string().describe("Accounting code for the GL account").nullable().optional(),
@@ -28,12 +28,12 @@ const RampPostAccountingAccounts_GLAccountOutputSchema = zod.z.object({
28
28
  updated_at: zod.z.string().describe("Timestamp when the GL account was last updated (ISO 8601 format)").nullable().optional(),
29
29
  classification: zod.z.string().describe("Account classification type").nullable(),
30
30
  gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional()
31
- }).describe("A successfully uploaded general ledger account with full details.");
31
+ }).passthrough().describe("A successfully uploaded general ledger account with full details.");
32
32
  const RampPostAccountingAccountsOutput = zod.z.object({
33
33
  uploaded: zod.z.array(zod.z.string()).describe("A list of Ramp UUIDs from the uploaded GL accounts").nullable().optional(),
34
34
  gl_accounts: zod.z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe("A list of general ledger accounts that were successfully uploaded").nullable().optional(),
35
35
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the GL accounts are uploaded to").nullable().optional()
36
- }).describe("Response from uploading general ledger accounts.");
36
+ }).passthrough().describe("Response from uploading general ledger accounts.");
37
37
  const rampPostAccountingAccounts = require_action.action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
38
38
  slug: "ramp-post-accounting-accounts",
39
39
  name: "Upload Accounting GL Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC7O,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-accounts.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).passthrough().describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC3P,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,7 +13,7 @@ declare const RampPostAccountingAccountsInput: z.ZodObject<{
13
13
  LIABILITY: "LIABILITY";
14
14
  EQUITY: "EQUITY";
15
15
  }>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  }, z.core.$strip>;
18
18
  declare const RampPostAccountingAccountsOutput: z.ZodObject<{
19
19
  uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -30,18 +30,31 @@ declare const RampPostAccountingAccountsOutput: z.ZodObject<{
30
30
  ramp_id: z.ZodNullable<z.ZodString>;
31
31
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>>;
35
35
  accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  gl_accounts: {
39
+ [x: string]: unknown;
39
40
  id: string;
40
41
  name: string;
41
42
  classification: "EXPENSE" | "REVENUE" | "ASSET" | "LIABILITY" | "EQUITY";
42
43
  code?: string | undefined;
43
44
  }[];
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ accessToken: z.ZodString;
57
+ }, z.core.$strip>>]>;
45
58
  //#endregion
46
59
  export { rampPostAccountingAccounts };
47
60
  //# sourceMappingURL=post-accounting-accounts.d.cts.map
@@ -13,7 +13,7 @@ declare const RampPostAccountingAccountsInput: z.ZodObject<{
13
13
  LIABILITY: "LIABILITY";
14
14
  EQUITY: "EQUITY";
15
15
  }>;
16
- }, z.core.$strip>>;
16
+ }, z.core.$loose>>;
17
17
  }, z.core.$strip>;
18
18
  declare const RampPostAccountingAccountsOutput: z.ZodObject<{
19
19
  uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
@@ -30,18 +30,31 @@ declare const RampPostAccountingAccountsOutput: z.ZodObject<{
30
30
  ramp_id: z.ZodNullable<z.ZodString>;
31
31
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
34
- }, z.core.$strip>>>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>>;
35
35
  accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>;
36
+ }, z.core.$loose>;
37
37
  declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
38
38
  gl_accounts: {
39
+ [x: string]: unknown;
39
40
  id: string;
40
41
  name: string;
41
42
  classification: "EXPENSE" | "REVENUE" | "ASSET" | "LIABILITY" | "EQUITY";
42
43
  code?: string | undefined;
43
44
  }[];
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ accessToken: z.ZodString;
57
+ }, z.core.$strip>>]>;
45
58
  //#endregion
46
59
  export { rampPostAccountingAccounts };
47
60
  //# sourceMappingURL=post-accounting-accounts.d.mts.map
@@ -12,12 +12,12 @@ const RampPostAccountingAccountsInput = z.object({ gl_accounts: z.array(z.object
12
12
  "LIABILITY",
13
13
  "EQUITY"
14
14
  ]).describe("Account classification type")
15
- }).describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
15
+ }).passthrough().describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
16
16
  const RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({
17
17
  ramp_id: z.string().describe("Ramp's unique identifier for the category").nullable(),
18
18
  remote_id: z.string().describe("Remote/external ID of the category").nullable().optional(),
19
19
  remote_name: z.string().describe("Remote/external name of the category").nullable().optional()
20
- }).describe("Category information for a GL account.");
20
+ }).passthrough().describe("Category information for a GL account.");
21
21
  const RampPostAccountingAccounts_GLAccountOutputSchema = z.object({
22
22
  id: z.string().describe("Remote/external ID of GL account").nullable(),
23
23
  code: z.string().describe("Accounting code for the GL account").nullable().optional(),
@@ -28,7 +28,7 @@ const RampPostAccountingAccounts_GLAccountOutputSchema = z.object({
28
28
  updated_at: z.string().describe("Timestamp when the GL account was last updated (ISO 8601 format)").nullable().optional(),
29
29
  classification: z.string().describe("Account classification type").nullable(),
30
30
  gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional()
31
- }).describe("A successfully uploaded general ledger account with full details.");
31
+ }).passthrough().describe("A successfully uploaded general ledger account with full details.");
32
32
  const rampPostAccountingAccounts = action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
33
33
  slug: "ramp-post-accounting-accounts",
34
34
  name: "Upload Accounting GL Accounts",
@@ -38,7 +38,7 @@ const rampPostAccountingAccounts = action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
38
38
  uploaded: z.array(z.string()).describe("A list of Ramp UUIDs from the uploaded GL accounts").nullable().optional(),
39
39
  gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe("A list of general ledger accounts that were successfully uploaded").nullable().optional(),
40
40
  accounting_connection_id: z.string().describe("ID of the accounting connection that the GL accounts are uploaded to").nullable().optional()
41
- }).describe("Response from uploading general ledger accounts.")
41
+ }).passthrough().describe("Response from uploading general ledger accounts.")
42
42
  });
43
43
  //#endregion
44
44
  export { rampPostAccountingAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.mjs","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,EAAE,OAAO;CAC9B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgB,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC7O,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyD,EAAE,OAAO;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAO/E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-accounts.mjs","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).passthrough().describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,EAAE,OAAO;CAC9B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgB,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC3P,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyD,EAAE,OAAO;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAO7F,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const RampPostAccountingConnectionInput = zod.z.object({
6
6
  reactivate: zod.z.boolean().describe("Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead").optional(),
7
7
  remote_provider_name: zod.z.string().describe("The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)")
8
8
  });
9
- const RampPostAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() });
9
+ const RampPostAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough();
10
10
  const RampPostAccountingConnectionOutput = zod.z.object({
11
11
  id: zod.z.string().describe("Unique identifier for the accounting connection in UUID format").nullable(),
12
12
  status: zod.z.string().describe("The current status of the accounting connection (e.g., LINKED, UNLINKED)").nullable(),
@@ -16,7 +16,7 @@ const RampPostAccountingConnectionOutput = zod.z.object({
16
16
  last_linked_at: zod.z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
17
17
  connection_type: zod.z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable(),
18
18
  remote_provider_name: zod.z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
19
- });
19
+ }).passthrough();
20
20
  const rampPostAccountingConnection = require_action.action("RAMP_POST_ACCOUNTING_CONNECTION", {
21
21
  slug: "ramp-post-accounting-connection",
22
22
  name: "Create Accounting Connection",
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n});\nexport const RampPostAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently 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: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n});\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,EACnB,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAkEA,IAAAA,EAAE,OAAO,EAC/E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,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;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampPostAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently 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: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,EACnB,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAkEA,IAAAA,EAAE,OAAO,EAC/E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,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;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,20 +13,32 @@ declare const RampPostAccountingConnectionOutput: z.ZodObject<{
13
13
  status: z.ZodNullable<z.ZodString>;
14
14
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  is_active: z.ZodNullable<z.ZodBoolean>;
18
18
  created_at: z.ZodNullable<z.ZodString>;
19
19
  last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  connection_type: z.ZodNullable<z.ZodString>;
21
21
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const rampPostAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  remote_provider_name: string;
25
25
  settings?: {
26
26
  vendor_credits_enabled?: boolean | undefined;
27
27
  } | undefined;
28
28
  reactivate?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ accessToken: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { rampPostAccountingConnection };
32
44
  //# sourceMappingURL=post-accounting-connection.d.cts.map
@@ -13,20 +13,32 @@ declare const RampPostAccountingConnectionOutput: z.ZodObject<{
13
13
  status: z.ZodNullable<z.ZodString>;
14
14
  settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  vendor_credits_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
- }, z.core.$strip>>>;
16
+ }, z.core.$loose>>>;
17
17
  is_active: z.ZodNullable<z.ZodBoolean>;
18
18
  created_at: z.ZodNullable<z.ZodString>;
19
19
  last_linked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  connection_type: z.ZodNullable<z.ZodString>;
21
21
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const rampPostAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  remote_provider_name: string;
25
25
  settings?: {
26
26
  vendor_credits_enabled?: boolean | undefined;
27
27
  } | undefined;
28
28
  reactivate?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ accessToken: z.ZodString;
35
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>;
30
42
  //#endregion
31
43
  export { rampPostAccountingConnection };
32
44
  //# sourceMappingURL=post-accounting-connection.d.mts.map
@@ -6,7 +6,7 @@ const RampPostAccountingConnectionInput = z.object({
6
6
  reactivate: z.boolean().describe("Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead").optional(),
7
7
  remote_provider_name: z.string().describe("The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)")
8
8
  });
9
- const RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() });
9
+ const RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({ vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough();
10
10
  const rampPostAccountingConnection = action("RAMP_POST_ACCOUNTING_CONNECTION", {
11
11
  slug: "ramp-post-accounting-connection",
12
12
  name: "Create Accounting Connection",
@@ -21,7 +21,7 @@ const rampPostAccountingConnection = action("RAMP_POST_ACCOUNTING_CONNECTION", {
21
21
  last_linked_at: z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
22
22
  connection_type: z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable(),
23
23
  remote_provider_name: z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { rampPostAccountingConnection };
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-connection.mjs","names":[],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n});\nexport const RampPostAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently 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: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n});\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,EACnB,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAkE,EAAE,OAAO,EAC/E,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC;AAYD,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,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,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-connection.mjs","names":[],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampPostAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently 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: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,UAAU,EAAE,OAAO,EACnB,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAkE,EAAE,OAAO,EAC/E,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,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,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -4,12 +4,12 @@ let zod = require("zod");
4
4
  const RampPostAccountingVendorsInput = zod.z.object({ vendors: zod.z.array(zod.z.object({
5
5
  id: zod.z.string().describe("Unique identifier for the vendor (from your ERP system)"),
6
6
  name: zod.z.string().describe("Display name of the vendor")
7
- }).describe("A vendor to be uploaded.")).describe("A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.") }).describe("Request to upload vendors to Ramp.");
7
+ }).passthrough().describe("A vendor to be uploaded.")).describe("A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.") }).describe("Request to upload vendors to Ramp.");
8
8
  const RampPostAccountingVendors_VendorCategoryInfoSchema = zod.z.object({
9
9
  ramp_id: zod.z.string().describe("Ramp's unique identifier for the vendor category").nullable(),
10
10
  remote_id: zod.z.string().describe("Remote/external ID of the vendor category").nullable().optional(),
11
11
  remote_name: zod.z.string().describe("Remote/external name of the vendor category").nullable().optional()
12
- }).describe("Category information for a vendor.");
12
+ }).passthrough().describe("Category information for a vendor.");
13
13
  const RampPostAccountingVendors_VendorOutputSchema = zod.z.object({
14
14
  id: zod.z.string().describe("Remote/external ID of vendor in ERP system").nullable().optional(),
15
15
  code: zod.z.string().describe("Code of the vendor").nullable().optional(),
@@ -20,11 +20,11 @@ const RampPostAccountingVendors_VendorOutputSchema = zod.z.object({
20
20
  created_at: zod.z.string().describe("Timestamp when the vendor was created (ISO 8601 format)").nullable(),
21
21
  updated_at: zod.z.string().describe("Timestamp when the vendor was last updated (ISO 8601 format)").nullable().optional(),
22
22
  vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional()
23
- }).describe("A successfully uploaded vendor with full details.");
23
+ }).passthrough().describe("A successfully uploaded vendor with full details.");
24
24
  const RampPostAccountingVendorsOutput = zod.z.object({
25
25
  vendors: zod.z.array(RampPostAccountingVendors_VendorOutputSchema).describe("A list of vendors that were successfully uploaded").nullable().optional(),
26
26
  uploaded: zod.z.array(zod.z.string()).describe("A list of Ramp UUIDs from the uploaded vendors").nullable().optional()
27
- }).describe("Response from uploading vendors.");
27
+ }).passthrough().describe("Response from uploading vendors.");
28
28
  const rampPostAccountingVendors = require_action.action("RAMP_POST_ACCOUNTING_VENDORS", {
29
29
  slug: "ramp-post-accounting-vendors",
30
30
  name: "Upload Accounting Vendors",
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-vendors.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingVendorsInput = z.object({\n vendors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vendor (from your ERP system)\"),\n name: z.string().describe(\"Display name of the vendor\"),\n}).describe(\"A vendor to be uploaded.\")).describe(\"A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload vendors to Ramp.\");\nconst RampPostAccountingVendors_VendorCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the vendor category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the vendor category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the vendor category\").nullable().optional(),\n}).describe(\"Category information for a vendor.\");\nconst RampPostAccountingVendors_VendorOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of vendor in ERP system\").nullable().optional(),\n code: z.string().describe(\"Code of the vendor\").nullable().optional(),\n name: z.string().describe(\"Display name of the vendor\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this vendor\").nullable(),\n is_active: z.boolean().describe(\"Whether the vendor is active\").nullable(),\n is_synced: z.boolean().describe(\"Whether the vendor has been synced to remote ERP\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the vendor was last updated (ISO 8601 format)\").nullable().optional(),\n vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded vendor with full details.\");\nexport const RampPostAccountingVendorsOutput = z.object({\n vendors: z.array(RampPostAccountingVendors_VendorOutputSchema).describe(\"A list of vendors that were successfully uploaded\").nullable().optional(),\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded vendors\").nullable().optional(),\n}).describe(\"Response from uploading vendors.\");\n\nexport const rampPostAccountingVendors = action(\"RAMP_POST_ACCOUNTING_VENDORS\", {\n slug: \"ramp-post-accounting-vendors\",\n name: \"Upload Accounting Vendors\",\n description: \"Tool to batch upload vendors to Ramp for coding transactions, bills, and purchase orders. Supports up to 500 vendors per call with all-or-nothing validation. Use when you need to create vendors in Ramp's accounting system.\",\n input: RampPostAccountingVendorsInput,\n output: RampPostAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,CAAC,SAAS,yJAAyJ,EAC3M,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-vendors.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingVendorsInput = z.object({\n vendors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vendor (from your ERP system)\"),\n name: z.string().describe(\"Display name of the vendor\"),\n}).passthrough().describe(\"A vendor to be uploaded.\")).describe(\"A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload vendors to Ramp.\");\nconst RampPostAccountingVendors_VendorCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the vendor category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the vendor category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the vendor category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a vendor.\");\nconst RampPostAccountingVendors_VendorOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of vendor in ERP system\").nullable().optional(),\n code: z.string().describe(\"Code of the vendor\").nullable().optional(),\n name: z.string().describe(\"Display name of the vendor\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this vendor\").nullable(),\n is_active: z.boolean().describe(\"Whether the vendor is active\").nullable(),\n is_synced: z.boolean().describe(\"Whether the vendor has been synced to remote ERP\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the vendor was last updated (ISO 8601 format)\").nullable().optional(),\n vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded vendor with full details.\");\nexport const RampPostAccountingVendorsOutput = z.object({\n vendors: z.array(RampPostAccountingVendors_VendorOutputSchema).describe(\"A list of vendors that were successfully uploaded\").nullable().optional(),\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded vendors\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading vendors.\");\n\nexport const rampPostAccountingVendors = action(\"RAMP_POST_ACCOUNTING_VENDORS\", {\n slug: \"ramp-post-accounting-vendors\",\n name: \"Upload Accounting Vendors\",\n description: \"Tool to batch upload vendors to Ramp for coding transactions, bills, and purchase orders. Supports up to 500 vendors per call with all-or-nothing validation. Use when you need to create vendors in Ramp's accounting system.\",\n input: RampPostAccountingVendorsInput,\n output: RampPostAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC1B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,CAAC,SAAS,yJAAyJ,EACzN,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const RampPostAccountingVendorsInput: z.ZodObject<{
5
5
  vendors: z.ZodArray<z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  name: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  }, z.core.$strip>;
10
10
  declare const RampPostAccountingVendorsOutput: z.ZodObject<{
11
11
  vendors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -21,16 +21,29 @@ declare const RampPostAccountingVendorsOutput: z.ZodObject<{
21
21
  ramp_id: z.ZodNullable<z.ZodString>;
22
22
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>>;
26
26
  uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const rampPostAccountingVendors: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  vendors: {
30
+ [x: string]: unknown;
30
31
  id: string;
31
32
  name: string;
32
33
  }[];
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
34
47
  //#endregion
35
48
  export { rampPostAccountingVendors };
36
49
  //# sourceMappingURL=post-accounting-vendors.d.cts.map
@@ -5,7 +5,7 @@ declare const RampPostAccountingVendorsInput: z.ZodObject<{
5
5
  vendors: z.ZodArray<z.ZodObject<{
6
6
  id: z.ZodString;
7
7
  name: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  }, z.core.$strip>;
10
10
  declare const RampPostAccountingVendorsOutput: z.ZodObject<{
11
11
  vendors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -21,16 +21,29 @@ declare const RampPostAccountingVendorsOutput: z.ZodObject<{
21
21
  ramp_id: z.ZodNullable<z.ZodString>;
22
22
  remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- }, z.core.$strip>>>;
25
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>>;
26
26
  uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const rampPostAccountingVendors: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  vendors: {
30
+ [x: string]: unknown;
30
31
  id: string;
31
32
  name: string;
32
33
  }[];
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
34
47
  //#endregion
35
48
  export { rampPostAccountingVendors };
36
49
  //# sourceMappingURL=post-accounting-vendors.d.mts.map
@@ -4,12 +4,12 @@ import { z } from "zod";
4
4
  const RampPostAccountingVendorsInput = z.object({ vendors: z.array(z.object({
5
5
  id: z.string().describe("Unique identifier for the vendor (from your ERP system)"),
6
6
  name: z.string().describe("Display name of the vendor")
7
- }).describe("A vendor to be uploaded.")).describe("A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.") }).describe("Request to upload vendors to Ramp.");
7
+ }).passthrough().describe("A vendor to be uploaded.")).describe("A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.") }).describe("Request to upload vendors to Ramp.");
8
8
  const RampPostAccountingVendors_VendorCategoryInfoSchema = z.object({
9
9
  ramp_id: z.string().describe("Ramp's unique identifier for the vendor category").nullable(),
10
10
  remote_id: z.string().describe("Remote/external ID of the vendor category").nullable().optional(),
11
11
  remote_name: z.string().describe("Remote/external name of the vendor category").nullable().optional()
12
- }).describe("Category information for a vendor.");
12
+ }).passthrough().describe("Category information for a vendor.");
13
13
  const RampPostAccountingVendors_VendorOutputSchema = z.object({
14
14
  id: z.string().describe("Remote/external ID of vendor in ERP system").nullable().optional(),
15
15
  code: z.string().describe("Code of the vendor").nullable().optional(),
@@ -20,7 +20,7 @@ const RampPostAccountingVendors_VendorOutputSchema = z.object({
20
20
  created_at: z.string().describe("Timestamp when the vendor was created (ISO 8601 format)").nullable(),
21
21
  updated_at: z.string().describe("Timestamp when the vendor was last updated (ISO 8601 format)").nullable().optional(),
22
22
  vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional()
23
- }).describe("A successfully uploaded vendor with full details.");
23
+ }).passthrough().describe("A successfully uploaded vendor with full details.");
24
24
  const rampPostAccountingVendors = action("RAMP_POST_ACCOUNTING_VENDORS", {
25
25
  slug: "ramp-post-accounting-vendors",
26
26
  name: "Upload Accounting Vendors",
@@ -29,7 +29,7 @@ const rampPostAccountingVendors = action("RAMP_POST_ACCOUNTING_VENDORS", {
29
29
  output: z.object({
30
30
  vendors: z.array(RampPostAccountingVendors_VendorOutputSchema).describe("A list of vendors that were successfully uploaded").nullable().optional(),
31
31
  uploaded: z.array(z.string()).describe("A list of Ramp UUIDs from the uploaded vendors").nullable().optional()
32
- }).describe("Response from uploading vendors.")
32
+ }).passthrough().describe("Response from uploading vendors.")
33
33
  });
34
34
  //#endregion
35
35
  export { rampPostAccountingVendors };
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-vendors.mjs","names":[],"sources":["../../src/actions/post-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingVendorsInput = z.object({\n vendors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vendor (from your ERP system)\"),\n name: z.string().describe(\"Display name of the vendor\"),\n}).describe(\"A vendor to be uploaded.\")).describe(\"A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload vendors to Ramp.\");\nconst RampPostAccountingVendors_VendorCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the vendor category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the vendor category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the vendor category\").nullable().optional(),\n}).describe(\"Category information for a vendor.\");\nconst RampPostAccountingVendors_VendorOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of vendor in ERP system\").nullable().optional(),\n code: z.string().describe(\"Code of the vendor\").nullable().optional(),\n name: z.string().describe(\"Display name of the vendor\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this vendor\").nullable(),\n is_active: z.boolean().describe(\"Whether the vendor is active\").nullable(),\n is_synced: z.boolean().describe(\"Whether the vendor has been synced to remote ERP\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the vendor was last updated (ISO 8601 format)\").nullable().optional(),\n vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded vendor with full details.\");\nexport const RampPostAccountingVendorsOutput = z.object({\n vendors: z.array(RampPostAccountingVendors_VendorOutputSchema).describe(\"A list of vendors that were successfully uploaded\").nullable().optional(),\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded vendors\").nullable().optional(),\n}).describe(\"Response from uploading vendors.\");\n\nexport const rampPostAccountingVendors = action(\"RAMP_POST_ACCOUNTING_VENDORS\", {\n slug: \"ramp-post-accounting-vendors\",\n name: \"Upload Accounting Vendors\",\n description: \"Tool to batch upload vendors to Ramp for coding transactions, bills, and purchase orders. Supports up to 500 vendors per call with all-or-nothing validation. Use when you need to create vendors in Ramp's accounting system.\",\n input: RampPostAccountingVendorsInput,\n output: RampPostAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,CAAC,SAAS,yJAAyJ,EAC3M,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,qDAAqD,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAM/D,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-vendors.mjs","names":[],"sources":["../../src/actions/post-accounting-vendors.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingVendorsInput = z.object({\n vendors: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the vendor (from your ERP system)\"),\n name: z.string().describe(\"Display name of the vendor\"),\n}).passthrough().describe(\"A vendor to be uploaded.\")).describe(\"A list of vendors to upload. Maximum 500 vendors per API call. All-or-nothing validation: if any vendor fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload vendors to Ramp.\");\nconst RampPostAccountingVendors_VendorCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the vendor category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the vendor category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the vendor category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a vendor.\");\nconst RampPostAccountingVendors_VendorOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of vendor in ERP system\").nullable().optional(),\n code: z.string().describe(\"Code of the vendor\").nullable().optional(),\n name: z.string().describe(\"Display name of the vendor\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this vendor\").nullable(),\n is_active: z.boolean().describe(\"Whether the vendor is active\").nullable(),\n is_synced: z.boolean().describe(\"Whether the vendor has been synced to remote ERP\").nullable(),\n created_at: z.string().describe(\"Timestamp when the vendor was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the vendor was last updated (ISO 8601 format)\").nullable().optional(),\n vendor_category_info: RampPostAccountingVendors_VendorCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded vendor with full details.\");\nexport const RampPostAccountingVendorsOutput = z.object({\n vendors: z.array(RampPostAccountingVendors_VendorOutputSchema).describe(\"A list of vendors that were successfully uploaded\").nullable().optional(),\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded vendors\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading vendors.\");\n\nexport const rampPostAccountingVendors = action(\"RAMP_POST_ACCOUNTING_VENDORS\", {\n slug: \"ramp-post-accounting-vendors\",\n name: \"Upload Accounting Vendors\",\n description: \"Tool to batch upload vendors to Ramp for coding transactions, bills, and purchase orders. Supports up to 500 vendors per call with all-or-nothing validation. Use when you need to create vendors in Ramp's accounting system.\",\n input: RampPostAccountingVendorsInput,\n output: RampPostAccountingVendorsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,SAAS,EAAE,MAAM,EAAE,OAAO;CAC1B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;AACxD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,CAAC,SAAS,yJAAyJ,EACzN,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,qDAAqD,EAAE,OAAO;CAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAClF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,sBAAsB,mDAAmD,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjJ,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAOhB;AACV,CAAC"}
@@ -4,15 +4,15 @@ let zod = require("zod");
4
4
  const RampPostInventoryItemOptionsInput = zod.z.object({ options: zod.z.array(zod.z.object({
5
5
  id: zod.z.string().describe("Unique identifier for the inventory item (from your ERP system)"),
6
6
  name: zod.z.string().describe("Display name of the inventory item")
7
- }).describe("An inventory item option to be uploaded.")).describe("A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.") }).describe("Request to upload inventory item options to Ramp.");
7
+ }).passthrough().describe("An inventory item option to be uploaded.")).describe("A list of inventory item options to upload. Maximum 500 items per API call. There must be an active inventory item accounting field for the accounting connection.") }).describe("Request to upload inventory item options to Ramp.");
8
8
  const RampPostInventoryItemOptions_InventoryItemOutputSchema = zod.z.object({
9
9
  id: zod.z.string().describe("Remote/external ID of inventory item in ERP system").nullable(),
10
10
  name: zod.z.string().describe("Display name of the inventory item").nullable(),
11
11
  ramp_id: zod.z.string().describe("Ramp's unique identifier for this inventory item").nullable(),
12
12
  is_active: zod.z.boolean().describe("Whether the inventory item is active").nullable(),
13
13
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item is associated with").nullable()
14
- }).describe("A successfully uploaded inventory item option with full details.");
15
- const RampPostInventoryItemOptionsOutput = zod.z.object({ options: zod.z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe("A list of inventory item options that were successfully uploaded") }).describe("Response from uploading inventory item options.");
14
+ }).passthrough().describe("A successfully uploaded inventory item option with full details.");
15
+ const RampPostInventoryItemOptionsOutput = zod.z.object({ options: zod.z.array(RampPostInventoryItemOptions_InventoryItemOutputSchema).describe("A list of inventory item options that were successfully uploaded") }).passthrough().describe("Response from uploading inventory item options.");
16
16
  const rampPostInventoryItemOptions = require_action.action("RAMP_POST_INVENTORY_ITEM_OPTIONS", {
17
17
  slug: "ramp-post-inventory-item-options",
18
18
  name: "Upload Inventory Item Options",