@keystrokehq/ramp 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (540) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/create-department.cjs +1 -1
  3. package/dist/actions/create-department.cjs.map +1 -1
  4. package/dist/actions/create-department.d.cts +1 -1
  5. package/dist/actions/create-department.d.mts +1 -1
  6. package/dist/actions/create-department.mjs +1 -1
  7. package/dist/actions/create-department.mjs.map +1 -1
  8. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
  9. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  10. package/dist/actions/create-inventory-item-accounting-field.d.cts +1 -1
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +1 -1
  12. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  14. package/dist/actions/create-memo.cjs +1 -1
  15. package/dist/actions/create-memo.cjs.map +1 -1
  16. package/dist/actions/create-memo.d.cts +1 -1
  17. package/dist/actions/create-memo.d.mts +1 -1
  18. package/dist/actions/create-memo.mjs +1 -1
  19. package/dist/actions/create-memo.mjs.map +1 -1
  20. package/dist/actions/create-mileage-reimbursement.cjs +9 -9
  21. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  22. package/dist/actions/create-mileage-reimbursement.d.cts +13 -13
  23. package/dist/actions/create-mileage-reimbursement.d.mts +13 -13
  24. package/dist/actions/create-mileage-reimbursement.mjs +9 -9
  25. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  26. package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
  27. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  28. package/dist/actions/create-new-custom-accounting-field.d.cts +1 -1
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +1 -1
  30. package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
  31. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  32. package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
  33. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  34. package/dist/actions/create-tax-code-accounting-field.d.cts +1 -1
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +1 -1
  36. package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
  37. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  38. package/dist/actions/create-user-invite.cjs +1 -1
  39. package/dist/actions/create-user-invite.cjs.map +1 -1
  40. package/dist/actions/create-user-invite.d.cts +1 -1
  41. package/dist/actions/create-user-invite.d.mts +1 -1
  42. package/dist/actions/create-user-invite.mjs +1 -1
  43. package/dist/actions/create-user-invite.mjs.map +1 -1
  44. package/dist/actions/create-webhook-subscription.cjs +3 -3
  45. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  46. package/dist/actions/create-webhook-subscription.d.cts +4 -4
  47. package/dist/actions/create-webhook-subscription.d.mts +4 -4
  48. package/dist/actions/create-webhook-subscription.mjs +3 -3
  49. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  50. package/dist/actions/deactivate-user.cjs +1 -1
  51. package/dist/actions/deactivate-user.cjs.map +1 -1
  52. package/dist/actions/deactivate-user.d.cts +1 -1
  53. package/dist/actions/deactivate-user.d.cts.map +1 -1
  54. package/dist/actions/deactivate-user.d.mts +1 -1
  55. package/dist/actions/deactivate-user.d.mts.map +1 -1
  56. package/dist/actions/deactivate-user.mjs +1 -1
  57. package/dist/actions/deactivate-user.mjs.map +1 -1
  58. package/dist/actions/delete-accounting-account.cjs +1 -1
  59. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.d.cts +1 -1
  61. package/dist/actions/delete-accounting-account.d.mts +1 -1
  62. package/dist/actions/delete-accounting-account.mjs +1 -1
  63. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  64. package/dist/actions/delete-accounting-connection.cjs +1 -1
  65. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.d.cts +1 -1
  67. package/dist/actions/delete-accounting-connection.d.mts +1 -1
  68. package/dist/actions/delete-accounting-connection.mjs +1 -1
  69. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  70. package/dist/actions/delete-accounting-fields.cjs +1 -1
  71. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  72. package/dist/actions/delete-accounting-fields.d.cts +1 -1
  73. package/dist/actions/delete-accounting-fields.d.mts +1 -1
  74. package/dist/actions/delete-accounting-fields.mjs +1 -1
  75. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  76. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  77. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  78. package/dist/actions/delete-accounting-inventory-item-options.d.cts +1 -1
  79. package/dist/actions/delete-accounting-inventory-item-options.d.mts +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  82. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  83. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  84. package/dist/actions/delete-accounting-tax-code-options.d.cts +1 -1
  85. package/dist/actions/delete-accounting-tax-code-options.d.mts +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  89. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  90. package/dist/actions/delete-accounting-tax-code.d.cts +1 -1
  91. package/dist/actions/delete-accounting-tax-code.d.mts +1 -1
  92. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  95. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  96. package/dist/actions/delete-accounting-tax-rates.d.cts +1 -1
  97. package/dist/actions/delete-accounting-tax-rates.d.mts +1 -1
  98. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  101. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-vendors.d.cts +1 -1
  103. package/dist/actions/delete-accounting-vendors.d.mts +1 -1
  104. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  105. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  106. package/dist/actions/delete-custom-field-option.cjs +1 -1
  107. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  108. package/dist/actions/delete-custom-field-option.d.cts +1 -1
  109. package/dist/actions/delete-custom-field-option.d.mts +1 -1
  110. package/dist/actions/delete-custom-field-option.mjs +1 -1
  111. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  112. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  113. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  114. package/dist/actions/delete-inventory-item-field.d.cts +1 -1
  115. package/dist/actions/delete-inventory-item-field.d.mts +1 -1
  116. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  117. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  118. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  119. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  120. package/dist/actions/delete-spend-allocation-delete-users.d.cts +13 -13
  121. package/dist/actions/delete-spend-allocation-delete-users.d.mts +13 -13
  122. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  123. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  124. package/dist/actions/delete-webhook.cjs +1 -1
  125. package/dist/actions/delete-webhook.cjs.map +1 -1
  126. package/dist/actions/delete-webhook.d.cts +1 -1
  127. package/dist/actions/delete-webhook.d.mts +1 -1
  128. package/dist/actions/delete-webhook.mjs +1 -1
  129. package/dist/actions/delete-webhook.mjs.map +1 -1
  130. package/dist/actions/fetch-accounting-account.cjs +2 -2
  131. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  132. package/dist/actions/fetch-accounting-account.d.cts +2 -2
  133. package/dist/actions/fetch-accounting-account.d.mts +2 -2
  134. package/dist/actions/fetch-accounting-account.mjs +2 -2
  135. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  136. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  137. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  138. package/dist/actions/fetch-accounting-vendor.d.cts +2 -2
  139. package/dist/actions/fetch-accounting-vendor.d.mts +2 -2
  140. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  141. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  142. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  143. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  144. package/dist/actions/fetch-custom-accounting-field.d.cts +2 -2
  145. package/dist/actions/fetch-custom-accounting-field.d.mts +2 -2
  146. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  147. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  148. package/dist/actions/get-accounting-accounts.cjs +4 -4
  149. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  150. package/dist/actions/get-accounting-accounts.d.cts +4 -4
  151. package/dist/actions/get-accounting-accounts.d.mts +4 -4
  152. package/dist/actions/get-accounting-accounts.mjs +4 -4
  153. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  154. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  155. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  156. package/dist/actions/get-accounting-all-connections.d.cts +2 -2
  157. package/dist/actions/get-accounting-all-connections.d.mts +2 -2
  158. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  159. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  160. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  161. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  162. package/dist/actions/get-accounting-connection-by-id.d.cts +2 -2
  163. package/dist/actions/get-accounting-connection-by-id.d.mts +2 -2
  164. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  165. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  166. package/dist/actions/get-accounting-connection.cjs +2 -2
  167. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  168. package/dist/actions/get-accounting-connection.d.cts +2 -2
  169. package/dist/actions/get-accounting-connection.d.mts +2 -2
  170. package/dist/actions/get-accounting-connection.mjs +2 -2
  171. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  172. package/dist/actions/get-accounting-fields.cjs +3 -3
  173. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  174. package/dist/actions/get-accounting-fields.d.cts +3 -3
  175. package/dist/actions/get-accounting-fields.d.mts +3 -3
  176. package/dist/actions/get-accounting-fields.mjs +3 -3
  177. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  178. package/dist/actions/get-accounting-vendors.cjs +3 -3
  179. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  180. package/dist/actions/get-accounting-vendors.d.cts +3 -3
  181. package/dist/actions/get-accounting-vendors.d.mts +3 -3
  182. package/dist/actions/get-accounting-vendors.mjs +3 -3
  183. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  184. package/dist/actions/get-all-transactions.cjs +3 -3
  185. package/dist/actions/get-all-transactions.cjs.map +1 -1
  186. package/dist/actions/get-all-transactions.d.cts +3 -3
  187. package/dist/actions/get-all-transactions.d.mts +3 -3
  188. package/dist/actions/get-all-transactions.mjs +3 -3
  189. package/dist/actions/get-all-transactions.mjs.map +1 -1
  190. package/dist/actions/get-card-vault-resource.cjs +1 -1
  191. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  192. package/dist/actions/get-card-vault-resource.d.cts +1 -1
  193. package/dist/actions/get-card-vault-resource.d.mts +1 -1
  194. package/dist/actions/get-card-vault-resource.mjs +1 -1
  195. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  196. package/dist/actions/get-card.cjs +5 -5
  197. package/dist/actions/get-card.cjs.map +1 -1
  198. package/dist/actions/get-card.d.cts +5 -5
  199. package/dist/actions/get-card.d.mts +5 -5
  200. package/dist/actions/get-card.mjs +5 -5
  201. package/dist/actions/get-card.mjs.map +1 -1
  202. package/dist/actions/get-custom-field-option.cjs +1 -1
  203. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  204. package/dist/actions/get-custom-field-option.d.cts +1 -1
  205. package/dist/actions/get-custom-field-option.d.mts +1 -1
  206. package/dist/actions/get-custom-field-option.mjs +1 -1
  207. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  208. package/dist/actions/get-department.cjs +1 -1
  209. package/dist/actions/get-department.cjs.map +1 -1
  210. package/dist/actions/get-department.d.cts +1 -1
  211. package/dist/actions/get-department.d.mts +1 -1
  212. package/dist/actions/get-department.mjs +1 -1
  213. package/dist/actions/get-department.mjs.map +1 -1
  214. package/dist/actions/get-inventory-item-field.cjs +1 -1
  215. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  216. package/dist/actions/get-inventory-item-field.d.cts +1 -1
  217. package/dist/actions/get-inventory-item-field.d.mts +1 -1
  218. package/dist/actions/get-inventory-item-field.mjs +1 -1
  219. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  220. package/dist/actions/get-memo.cjs +1 -1
  221. package/dist/actions/get-memo.cjs.map +1 -1
  222. package/dist/actions/get-memo.d.cts +1 -1
  223. package/dist/actions/get-memo.d.mts +1 -1
  224. package/dist/actions/get-memo.mjs +1 -1
  225. package/dist/actions/get-memo.mjs.map +1 -1
  226. package/dist/actions/get-reimbursement.cjs +5 -5
  227. package/dist/actions/get-reimbursement.cjs.map +1 -1
  228. package/dist/actions/get-reimbursement.d.cts +7 -7
  229. package/dist/actions/get-reimbursement.d.mts +7 -7
  230. package/dist/actions/get-reimbursement.mjs +5 -5
  231. package/dist/actions/get-reimbursement.mjs.map +1 -1
  232. package/dist/actions/get-spend-limit.cjs +14 -14
  233. package/dist/actions/get-spend-limit.cjs.map +1 -1
  234. package/dist/actions/get-spend-limit.d.cts +19 -19
  235. package/dist/actions/get-spend-limit.d.mts +19 -19
  236. package/dist/actions/get-spend-limit.mjs +14 -14
  237. package/dist/actions/get-spend-limit.mjs.map +1 -1
  238. package/dist/actions/get-statement.cjs +1 -1
  239. package/dist/actions/get-statement.cjs.map +1 -1
  240. package/dist/actions/get-statement.d.cts +1 -1
  241. package/dist/actions/get-statement.d.mts +1 -1
  242. package/dist/actions/get-statement.mjs +1 -1
  243. package/dist/actions/get-statement.mjs.map +1 -1
  244. package/dist/actions/get-transaction.cjs +1 -1
  245. package/dist/actions/get-transaction.cjs.map +1 -1
  246. package/dist/actions/get-transaction.d.cts +1 -1
  247. package/dist/actions/get-transaction.d.mts +1 -1
  248. package/dist/actions/get-transaction.mjs +1 -1
  249. package/dist/actions/get-transaction.mjs.map +1 -1
  250. package/dist/actions/get-user.cjs +2 -2
  251. package/dist/actions/get-user.cjs.map +1 -1
  252. package/dist/actions/get-user.d.cts +2 -2
  253. package/dist/actions/get-user.d.mts +2 -2
  254. package/dist/actions/get-user.mjs +2 -2
  255. package/dist/actions/get-user.mjs.map +1 -1
  256. package/dist/actions/get-users-deferred-status.cjs +3 -3
  257. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  258. package/dist/actions/get-users-deferred-status.d.cts +3 -3
  259. package/dist/actions/get-users-deferred-status.d.mts +3 -3
  260. package/dist/actions/get-users-deferred-status.mjs +3 -3
  261. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  262. package/dist/actions/get-vendor.cjs +3 -3
  263. package/dist/actions/get-vendor.cjs.map +1 -1
  264. package/dist/actions/get-vendor.d.cts +6 -6
  265. package/dist/actions/get-vendor.d.mts +6 -6
  266. package/dist/actions/get-vendor.mjs +3 -3
  267. package/dist/actions/get-vendor.mjs.map +1 -1
  268. package/dist/actions/get-webhook.cjs +1 -1
  269. package/dist/actions/get-webhook.cjs.map +1 -1
  270. package/dist/actions/get-webhook.d.cts +1 -1
  271. package/dist/actions/get-webhook.d.mts +1 -1
  272. package/dist/actions/get-webhook.mjs +1 -1
  273. package/dist/actions/get-webhook.mjs.map +1 -1
  274. package/dist/actions/issue-virtual-card.cjs +3 -3
  275. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  276. package/dist/actions/issue-virtual-card.d.cts +3 -3
  277. package/dist/actions/issue-virtual-card.d.mts +3 -3
  278. package/dist/actions/issue-virtual-card.mjs +3 -3
  279. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  280. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  281. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  282. package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -3
  283. package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -3
  284. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  285. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  286. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  287. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  288. package/dist/actions/list-accounting-tax-rates.d.cts +3 -3
  289. package/dist/actions/list-accounting-tax-rates.d.mts +3 -3
  290. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  291. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  292. package/dist/actions/list-cards.cjs +7 -7
  293. package/dist/actions/list-cards.cjs.map +1 -1
  294. package/dist/actions/list-cards.d.cts +7 -7
  295. package/dist/actions/list-cards.d.mts +7 -7
  296. package/dist/actions/list-cards.mjs +7 -7
  297. package/dist/actions/list-cards.mjs.map +1 -1
  298. package/dist/actions/list-departments.cjs +3 -3
  299. package/dist/actions/list-departments.cjs.map +1 -1
  300. package/dist/actions/list-departments.d.cts +3 -3
  301. package/dist/actions/list-departments.d.mts +3 -3
  302. package/dist/actions/list-departments.mjs +3 -3
  303. package/dist/actions/list-departments.mjs.map +1 -1
  304. package/dist/actions/list-memos.cjs +3 -3
  305. package/dist/actions/list-memos.cjs.map +1 -1
  306. package/dist/actions/list-memos.d.cts +3 -3
  307. package/dist/actions/list-memos.d.mts +3 -3
  308. package/dist/actions/list-memos.mjs +3 -3
  309. package/dist/actions/list-memos.mjs.map +1 -1
  310. package/dist/actions/list-reimbursements.cjs +7 -7
  311. package/dist/actions/list-reimbursements.cjs.map +1 -1
  312. package/dist/actions/list-reimbursements.d.cts +9 -9
  313. package/dist/actions/list-reimbursements.d.mts +9 -9
  314. package/dist/actions/list-reimbursements.mjs +7 -7
  315. package/dist/actions/list-reimbursements.mjs.map +1 -1
  316. package/dist/actions/list-statements.cjs +6 -6
  317. package/dist/actions/list-statements.cjs.map +1 -1
  318. package/dist/actions/list-statements.d.cts +15 -15
  319. package/dist/actions/list-statements.d.mts +15 -15
  320. package/dist/actions/list-statements.mjs +6 -6
  321. package/dist/actions/list-statements.mjs.map +1 -1
  322. package/dist/actions/list-users.cjs +4 -4
  323. package/dist/actions/list-users.cjs.map +1 -1
  324. package/dist/actions/list-users.d.cts +4 -4
  325. package/dist/actions/list-users.d.mts +4 -4
  326. package/dist/actions/list-users.mjs +4 -4
  327. package/dist/actions/list-users.mjs.map +1 -1
  328. package/dist/actions/list-vendors-accounts.cjs +3 -3
  329. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  330. package/dist/actions/list-vendors-accounts.d.cts +3 -3
  331. package/dist/actions/list-vendors-accounts.d.mts +3 -3
  332. package/dist/actions/list-vendors-accounts.mjs +3 -3
  333. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  334. package/dist/actions/list-vendors-contacts.cjs +3 -3
  335. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  336. package/dist/actions/list-vendors-contacts.d.cts +3 -3
  337. package/dist/actions/list-vendors-contacts.d.mts +3 -3
  338. package/dist/actions/list-vendors-contacts.mjs +3 -3
  339. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  340. package/dist/actions/list-vendors-credits.cjs +9 -9
  341. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  342. package/dist/actions/list-vendors-credits.d.cts +21 -21
  343. package/dist/actions/list-vendors-credits.d.mts +21 -21
  344. package/dist/actions/list-vendors-credits.mjs +9 -9
  345. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  346. package/dist/actions/list-vendors.cjs +5 -5
  347. package/dist/actions/list-vendors.cjs.map +1 -1
  348. package/dist/actions/list-vendors.d.cts +6 -6
  349. package/dist/actions/list-vendors.d.mts +6 -6
  350. package/dist/actions/list-vendors.mjs +5 -5
  351. package/dist/actions/list-vendors.mjs.map +1 -1
  352. package/dist/actions/list-webhooks.cjs +2 -2
  353. package/dist/actions/list-webhooks.cjs.map +1 -1
  354. package/dist/actions/list-webhooks.d.cts +2 -2
  355. package/dist/actions/list-webhooks.d.mts +2 -2
  356. package/dist/actions/list-webhooks.mjs +2 -2
  357. package/dist/actions/list-webhooks.mjs.map +1 -1
  358. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  359. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  360. package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
  361. package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
  362. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  363. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  364. package/dist/actions/patch-accounting-connection.cjs +2 -2
  365. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  366. package/dist/actions/patch-accounting-connection.d.cts +2 -2
  367. package/dist/actions/patch-accounting-connection.d.mts +2 -2
  368. package/dist/actions/patch-accounting-connection.mjs +2 -2
  369. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  370. package/dist/actions/patch-card-resource.cjs +1 -1
  371. package/dist/actions/patch-card-resource.cjs.map +1 -1
  372. package/dist/actions/patch-card-resource.d.cts +1 -1
  373. package/dist/actions/patch-card-resource.d.mts +1 -1
  374. package/dist/actions/patch-card-resource.mjs +1 -1
  375. package/dist/actions/patch-card-resource.mjs.map +1 -1
  376. package/dist/actions/patch-custom-field-option.cjs +1 -1
  377. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  378. package/dist/actions/patch-custom-field-option.d.cts +1 -1
  379. package/dist/actions/patch-custom-field-option.d.mts +1 -1
  380. package/dist/actions/patch-custom-field-option.mjs +1 -1
  381. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  382. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  383. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  384. package/dist/actions/patch-gl-account-resource.d.cts +2 -2
  385. package/dist/actions/patch-gl-account-resource.d.mts +2 -2
  386. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  387. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  388. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  389. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  390. package/dist/actions/patch-inventory-item-field.d.cts +1 -1
  391. package/dist/actions/patch-inventory-item-field.d.mts +1 -1
  392. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  393. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  394. package/dist/actions/post-accounting-accounts.cjs +4 -4
  395. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  396. package/dist/actions/post-accounting-accounts.d.cts +5 -4
  397. package/dist/actions/post-accounting-accounts.d.mts +5 -4
  398. package/dist/actions/post-accounting-accounts.mjs +4 -4
  399. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  400. package/dist/actions/post-accounting-connection.cjs +2 -2
  401. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  402. package/dist/actions/post-accounting-connection.d.cts +2 -2
  403. package/dist/actions/post-accounting-connection.d.mts +2 -2
  404. package/dist/actions/post-accounting-connection.mjs +2 -2
  405. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  406. package/dist/actions/post-accounting-vendors.cjs +4 -4
  407. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  408. package/dist/actions/post-accounting-vendors.d.cts +5 -4
  409. package/dist/actions/post-accounting-vendors.d.mts +5 -4
  410. package/dist/actions/post-accounting-vendors.mjs +4 -4
  411. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  412. package/dist/actions/post-inventory-item-options.cjs +3 -3
  413. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  414. package/dist/actions/post-inventory-item-options.d.cts +4 -3
  415. package/dist/actions/post-inventory-item-options.d.mts +4 -3
  416. package/dist/actions/post-inventory-item-options.mjs +3 -3
  417. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  418. package/dist/actions/post-physical-card.cjs +2 -2
  419. package/dist/actions/post-physical-card.cjs.map +1 -1
  420. package/dist/actions/post-physical-card.d.cts +3 -3
  421. package/dist/actions/post-physical-card.d.mts +3 -3
  422. package/dist/actions/post-physical-card.mjs +2 -2
  423. package/dist/actions/post-physical-card.mjs.map +1 -1
  424. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  425. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  426. package/dist/actions/reactivate-accounting-connection.d.cts +2 -2
  427. package/dist/actions/reactivate-accounting-connection.d.mts +2 -2
  428. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  429. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  430. package/dist/actions/reactivate-user.cjs +1 -1
  431. package/dist/actions/reactivate-user.cjs.map +1 -1
  432. package/dist/actions/reactivate-user.d.cts +1 -1
  433. package/dist/actions/reactivate-user.d.cts.map +1 -1
  434. package/dist/actions/reactivate-user.d.mts +1 -1
  435. package/dist/actions/reactivate-user.d.mts.map +1 -1
  436. package/dist/actions/reactivate-user.mjs +1 -1
  437. package/dist/actions/reactivate-user.mjs.map +1 -1
  438. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  439. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  440. package/dist/actions/submit-reimbursement-receipt.d.cts +13 -13
  441. package/dist/actions/submit-reimbursement-receipt.d.mts +13 -13
  442. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  443. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  444. package/dist/actions/suspend-card.cjs +1 -1
  445. package/dist/actions/suspend-card.cjs.map +1 -1
  446. package/dist/actions/suspend-card.d.cts +1 -1
  447. package/dist/actions/suspend-card.d.mts +1 -1
  448. package/dist/actions/suspend-card.mjs +1 -1
  449. package/dist/actions/suspend-card.mjs.map +1 -1
  450. package/dist/actions/terminate-card.cjs +1 -1
  451. package/dist/actions/terminate-card.cjs.map +1 -1
  452. package/dist/actions/terminate-card.d.cts +1 -1
  453. package/dist/actions/terminate-card.d.mts +1 -1
  454. package/dist/actions/terminate-card.mjs +1 -1
  455. package/dist/actions/terminate-card.mjs.map +1 -1
  456. package/dist/actions/update-accounting-field.cjs +1 -1
  457. package/dist/actions/update-accounting-field.cjs.map +1 -1
  458. package/dist/actions/update-accounting-field.d.cts +1 -1
  459. package/dist/actions/update-accounting-field.d.mts +1 -1
  460. package/dist/actions/update-accounting-field.mjs +1 -1
  461. package/dist/actions/update-accounting-field.mjs.map +1 -1
  462. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  463. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  464. package/dist/actions/update-accounting-inventory-item-options.d.cts +1 -1
  465. package/dist/actions/update-accounting-inventory-item-options.d.mts +1 -1
  466. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  467. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  468. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  469. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  470. package/dist/actions/update-accounting-tax-code-options.d.cts +1 -1
  471. package/dist/actions/update-accounting-tax-code-options.d.mts +1 -1
  472. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  473. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  474. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  475. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  476. package/dist/actions/update-accounting-tax-code.d.cts +1 -1
  477. package/dist/actions/update-accounting-tax-code.d.mts +1 -1
  478. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  479. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  480. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  481. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  482. package/dist/actions/update-accounting-tax-rate.d.cts +1 -1
  483. package/dist/actions/update-accounting-tax-rate.d.mts +1 -1
  484. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  485. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  486. package/dist/actions/update-accounting-vendor.cjs +2 -2
  487. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  488. package/dist/actions/update-accounting-vendor.d.cts +2 -2
  489. package/dist/actions/update-accounting-vendor.d.mts +2 -2
  490. package/dist/actions/update-accounting-vendor.mjs +2 -2
  491. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  492. package/dist/actions/update-card-limit.cjs +4 -4
  493. package/dist/actions/update-card-limit.cjs.map +1 -1
  494. package/dist/actions/update-card-limit.d.cts +4 -4
  495. package/dist/actions/update-card-limit.d.mts +4 -4
  496. package/dist/actions/update-card-limit.mjs +4 -4
  497. package/dist/actions/update-card-limit.mjs.map +1 -1
  498. package/dist/actions/update-department.cjs +1 -1
  499. package/dist/actions/update-department.cjs.map +1 -1
  500. package/dist/actions/update-department.d.cts +1 -1
  501. package/dist/actions/update-department.d.mts +1 -1
  502. package/dist/actions/update-department.mjs +1 -1
  503. package/dist/actions/update-department.mjs.map +1 -1
  504. package/dist/actions/update-limits.cjs +9 -9
  505. package/dist/actions/update-limits.cjs.map +1 -1
  506. package/dist/actions/update-limits.d.cts +15 -14
  507. package/dist/actions/update-limits.d.mts +15 -14
  508. package/dist/actions/update-limits.mjs +9 -9
  509. package/dist/actions/update-limits.mjs.map +1 -1
  510. package/dist/actions/update-user.cjs +1 -1
  511. package/dist/actions/update-user.cjs.map +1 -1
  512. package/dist/actions/update-user.d.cts +1 -1
  513. package/dist/actions/update-user.d.cts.map +1 -1
  514. package/dist/actions/update-user.d.mts +1 -1
  515. package/dist/actions/update-user.d.mts.map +1 -1
  516. package/dist/actions/update-user.mjs +1 -1
  517. package/dist/actions/update-user.mjs.map +1 -1
  518. package/dist/actions/upload-new-options.cjs +3 -3
  519. package/dist/actions/upload-new-options.cjs.map +1 -1
  520. package/dist/actions/upload-new-options.d.cts +4 -3
  521. package/dist/actions/upload-new-options.d.mts +4 -3
  522. package/dist/actions/upload-new-options.mjs +3 -3
  523. package/dist/actions/upload-new-options.mjs.map +1 -1
  524. package/dist/actions/upload-tax-code-options.cjs +3 -3
  525. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  526. package/dist/actions/upload-tax-code-options.d.cts +4 -3
  527. package/dist/actions/upload-tax-code-options.d.mts +4 -3
  528. package/dist/actions/upload-tax-code-options.mjs +3 -3
  529. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  530. package/dist/actions/upload-tax-rates.cjs +3 -3
  531. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  532. package/dist/actions/upload-tax-rates.d.cts +4 -3
  533. package/dist/actions/upload-tax-rates.d.mts +4 -3
  534. package/dist/actions/upload-tax-rates.mjs +3 -3
  535. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  536. package/dist/execute.cjs +1 -1
  537. package/dist/execute.cjs.map +1 -1
  538. package/dist/execute.mjs +1 -1
  539. package/dist/execute.mjs.map +1 -1
  540. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"delete-custom-field-option.mjs","names":[],"sources":["../../src/actions/delete-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteCustomFieldOptionInput = z.object({\n field_option_id: z.string().describe(\"The unique identifier (UUID) of the custom accounting field option to delete\"),\n}).describe(\"Request parameters to delete a custom accounting field option.\");\nexport const RampDeleteCustomFieldOptionOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the deletion operation completed successfully\").nullable().optional(),\n}).describe(\"Response schema for custom accounting field option deletion. The API returns no response body on success.\");\n\nexport const rampDeleteCustomFieldOption = action(\"RAMP_DELETE_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-delete-custom-field-option\",\n name: \"Delete Custom Field Option\",\n description: \"Tool to delete a custom accounting field option from Ramp. Use when you need to remove a specific option from a custom accounting field.\",\n input: RampDeleteCustomFieldOptionInput,\n output: RampDeleteCustomFieldOptionOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACrH,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,SAAS,2GAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-custom-field-option.mjs","names":[],"sources":["../../src/actions/delete-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteCustomFieldOptionInput = z.object({\n field_option_id: z.string().describe(\"The unique identifier (UUID) of the custom accounting field option to delete\"),\n}).describe(\"Request parameters to delete a custom accounting field option.\");\nexport const RampDeleteCustomFieldOptionOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the deletion operation completed successfully\").nullable().optional(),\n}).passthrough().describe(\"Response schema for custom accounting field option deletion. The API returns no response body on success.\");\n\nexport const rampDeleteCustomFieldOption = action(\"RAMP_DELETE_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-delete-custom-field-option\",\n name: \"Delete Custom Field Option\",\n description: \"Tool to delete a custom accounting field option from Ramp. Use when you need to remove a specific option from a custom accounting field.\",\n input: RampDeleteCustomFieldOptionInput,\n output: RampDeleteCustomFieldOptionOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,EACrH,CAAC,CAAC,CAAC,SAAS,gEASH;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2GAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-inventory-item-field.ts
4
4
  const RampDeleteInventoryItemFieldInput = zod.z.object({}).describe("Request parameters to delete the inventory item accounting field. This endpoint requires no parameters.");
5
- const RampDeleteInventoryItemFieldOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the inventory item field was successfully deleted").nullable().optional() }).describe("Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.");
5
+ const RampDeleteInventoryItemFieldOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the inventory item field was successfully deleted").nullable().optional() }).passthrough().describe("Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.");
6
6
  const rampDeleteInventoryItemField = require_action.action("RAMP_DELETE_INVENTORY_ITEM_FIELD", {
7
7
  slug: "ramp-delete-inventory-item-field",
8
8
  name: "Delete Inventory Item Field",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteInventoryItemFieldInput = z.object({}).describe(\"Request parameters to delete the inventory item accounting field. This endpoint requires no parameters.\");\nexport const RampDeleteInventoryItemFieldOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the inventory item field was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteInventoryItemField = action(\"RAMP_DELETE_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-delete-inventory-item-field\",\n name: \"Delete Inventory Item Field\",\n description: \"Tool to delete the inventory item accounting field from Ramp. Use when you need to remove the inventory item field from the accounting connection. This uses the authenticated connection's context to identify which inventory item field to delete.\",\n input: RampDeleteInventoryItemFieldInput,\n output: RampDeleteInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAChL,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,SAAS,oGAAoG;AAEhH,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/delete-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteInventoryItemFieldInput = z.object({}).describe(\"Request parameters to delete the inventory item accounting field. This endpoint requires no parameters.\");\nexport const RampDeleteInventoryItemFieldOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the inventory item field was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteInventoryItemField = action(\"RAMP_DELETE_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-delete-inventory-item-field\",\n name: \"Delete Inventory Item Field\",\n description: \"Tool to delete the inventory item accounting field from Ramp. Use when you need to remove the inventory item field from the accounting connection. This uses the authenticated connection's context to identify which inventory item field to delete.\",\n input: RampDeleteInventoryItemFieldInput,\n output: RampDeleteInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAAyG;AAChL,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAAoG;AAE9H,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const RampDeleteInventoryItemFieldInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RampDeleteInventoryItemFieldOutput: z.ZodObject<{
6
6
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const rampDeleteInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { rampDeleteInventoryItemField };
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  declare const RampDeleteInventoryItemFieldInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RampDeleteInventoryItemFieldOutput: z.ZodObject<{
6
6
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
7
- }, z.core.$strip>;
7
+ }, z.core.$loose>;
8
8
  declare const rampDeleteInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
9
9
  //#endregion
10
10
  export { rampDeleteInventoryItemField };
@@ -5,7 +5,7 @@ const rampDeleteInventoryItemField = action("RAMP_DELETE_INVENTORY_ITEM_FIELD",
5
5
  name: "Delete Inventory Item Field",
6
6
  description: "Tool to delete the inventory item accounting field from Ramp. Use when you need to remove the inventory item field from the accounting connection. This uses the authenticated connection's context to identify which inventory item field to delete.",
7
7
  input: z.object({}).describe("Request parameters to delete the inventory item accounting field. This endpoint requires no parameters."),
8
- output: z.object({ success: z.boolean().default(true).describe("Indicates the inventory item field was successfully deleted").nullable().optional() }).describe("Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.")
8
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the inventory item field was successfully deleted").nullable().optional() }).passthrough().describe("Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { rampDeleteInventoryItemField };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-inventory-item-field.mjs","names":[],"sources":["../../src/actions/delete-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteInventoryItemFieldInput = z.object({}).describe(\"Request parameters to delete the inventory item accounting field. This endpoint requires no parameters.\");\nexport const RampDeleteInventoryItemFieldOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the inventory item field was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteInventoryItemField = action(\"RAMP_DELETE_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-delete-inventory-item-field\",\n name: \"Delete Inventory Item Field\",\n description: \"Tool to delete the inventory item accounting field from Ramp. Use when you need to remove the inventory item field from the accounting connection. This uses the authenticated connection's context to identify which inventory item field to delete.\",\n input: RampDeleteInventoryItemFieldInput,\n output: RampDeleteInventoryItemFieldOutput,\n});\n"],"mappings":";;AASA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAS9D;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,SAAS,oGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-inventory-item-field.mjs","names":[],"sources":["../../src/actions/delete-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteInventoryItemFieldInput = z.object({}).describe(\"Request parameters to delete the inventory item accounting field. This endpoint requires no parameters.\");\nexport const RampDeleteInventoryItemFieldOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the inventory item field was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for inventory item field deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteInventoryItemField = action(\"RAMP_DELETE_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-delete-inventory-item-field\",\n name: \"Delete Inventory Item Field\",\n description: \"Tool to delete the inventory item accounting field from Ramp. Use when you need to remove the inventory item field from the accounting connection. This uses the authenticated connection's context to identify which inventory item field to delete.\",\n input: RampDeleteInventoryItemFieldInput,\n output: RampDeleteInventoryItemFieldOutput,\n});\n"],"mappings":";;AASA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT+C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yGAS9D;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oGAOhB;AACV,CAAC"}
@@ -14,22 +14,22 @@ const RampDeleteSpendAllocationDeleteUsers_CardSchema = zod.z.object({
14
14
  display_name: zod.z.string().describe("Display name of the card").nullable().optional(),
15
15
  cardholder_id: zod.z.string().describe("Unique identifier of the cardholder").nullable().optional(),
16
16
  via_new_product_or_service: zod.z.boolean().describe("Whether card was created via new product or service").nullable()
17
- }).describe("Card linked to the limit.");
18
- const RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = zod.z.object({ user_id: zod.z.string().describe("Unique identifier of the user").nullable() }).describe("User who can spend from the limit.");
17
+ }).passthrough().describe("Card linked to the limit.");
18
+ const RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = zod.z.object({ user_id: zod.z.string().describe("Unique identifier of the user").nullable() }).passthrough().describe("User who can spend from the limit.");
19
19
  const RampDeleteSpendAllocationDeleteUsers_AmountSchema = zod.z.object({
20
20
  amount: zod.z.number().int().describe("Amount in cents").nullable().optional(),
21
21
  currency_code: zod.z.string().describe("Currency code (e.g., USD)").nullable().optional()
22
- }).describe("Monetary amount with currency.");
22
+ }).passthrough().describe("Monetary amount with currency.");
23
23
  const RampDeleteSpendAllocationDeleteUsers_BalanceSchema = zod.z.object({
24
24
  total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
25
25
  cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
26
26
  pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional()
27
- }).describe("Details about the current balance of the limit.");
27
+ }).passthrough().describe("Details about the current balance of the limit.");
28
28
  const RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = zod.z.object({
29
29
  inserted_at: zod.z.string().describe("Time when suspension was applied (ISO8601 format)").nullable(),
30
30
  acting_user_id: zod.z.string().describe("User ID who performed the suspension").nullable(),
31
31
  suspended_by_ramp: zod.z.boolean().describe("Whether suspension was performed by Ramp").nullable()
32
- }).describe("Suspension (lock) on the limit.");
32
+ }).passthrough().describe("Suspension (lock) on the limit.");
33
33
  const RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = zod.z.object({
34
34
  limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
35
35
  interval: zod.z.string().describe("Spending limit interval (e.g., MONTHLY, YEARLY)").nullable().optional(),
@@ -42,11 +42,11 @@ const RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = zod.z.object({
42
42
  blocked_categories: zod.z.array(zod.z.number().int()).describe("List of blocked merchant category codes").nullable().optional(),
43
43
  next_interval_reset: zod.z.string().describe("When the limit resets next (ISO8601 format)").nullable().optional(),
44
44
  transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional()
45
- }).describe("Restrictions imposed on this limit.");
45
+ }).passthrough().describe("Restrictions imposed on this limit.");
46
46
  const RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = zod.z.object({
47
47
  primary_card_enabled: zod.z.boolean().describe("Whether primary card spending is enabled").nullable(),
48
48
  reimbursements_enabled: zod.z.boolean().describe("Whether reimbursements are enabled").nullable()
49
- }).describe("Specifies the permitted spend types of the limit.");
49
+ }).passthrough().describe("Specifies the permitted spend types of the limit.");
50
50
  const RampDeleteSpendAllocationDeleteUsersOutput = zod.z.object({
51
51
  id: zod.z.string().describe("Unique identifier of the limit (UUID)").nullable().optional(),
52
52
  cards: zod.z.array(RampDeleteSpendAllocationDeleteUsers_CardSchema).describe("List of cards linked to this limit").nullable().optional(),
@@ -62,7 +62,7 @@ const RampDeleteSpendAllocationDeleteUsersOutput = zod.z.object({
62
62
  spend_program_id: zod.z.string().describe("Unique identifier of the associated Spend Program (UUID)").nullable().optional(),
63
63
  permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),
64
64
  has_program_overridden: zod.z.boolean().describe("Indicates if the limit's settings override those of its Spend Program").nullable().optional()
65
- }).describe("Response containing the updated spend limit after removing users.");
65
+ }).passthrough().describe("Response containing the updated spend limit after removing users.");
66
66
  const rampDeleteSpendAllocationDeleteUsers = require_action.action("RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS", {
67
67
  slug: "ramp-delete-spend-allocation-delete-users",
68
68
  name: "Remove Users from Shared Limit",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-spend-allocation-delete-users.cjs","names":["z","action"],"sources":["../../src/actions/delete-spend-allocation-delete-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteSpendAllocationDeleteUsersInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs (UUIDs) to remove from the shared limit\"),\n spend_limit_id: z.string().describe(\"Unique identifier (UUID) of the shared spend limit to remove users from\"),\n}).describe(\"Request parameters to remove users from a shared limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card\").nullable(),\n created_at: z.string().describe(\"Time when card was created (ISO8601 format)\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date (MMYY format)\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Whether this is an AP card\").nullable(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Whether card was created via new product or service\").nullable(),\n}).describe(\"Card linked to the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).describe(\"User who can spend from the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_AmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in cents\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).describe(\"Monetary amount with currency.\");\nconst RampDeleteSpendAllocationDeleteUsers_BalanceSchema = z.object({\n total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).describe(\"Details about the current balance of the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Time when suspension was applied (ISO8601 format)\").nullable(),\n acting_user_id: z.string().describe(\"User ID who performed the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Whether suspension was performed by Ramp\").nullable(),\n}).describe(\"Suspension (lock) on the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({\n limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n interval: z.string().describe(\"Spending limit interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Auto lock date (ISO8601 format)\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of the current interval (ISO8601 format)\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"When the limit resets next (ISO8601 format)\").nullable().optional(),\n transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).describe(\"Restrictions imposed on this limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Whether primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Whether reimbursements are enabled\").nullable(),\n}).describe(\"Specifies the permitted spend types of the limit.\");\nexport const RampDeleteSpendAllocationDeleteUsersOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit (UUID)\").nullable().optional(),\n cards: z.array(RampDeleteSpendAllocationDeleteUsers_CardSchema).describe(\"List of cards linked to this limit\").nullable().optional(),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable().optional(),\n users: z.array(RampDeleteSpendAllocationDeleteUsers_LimitUserSchema).describe(\"Members who can spend from the limit\").nullable().optional(),\n balance: RampDeleteSpendAllocationDeleteUsers_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit was created (ISO8601 format)\").nullable().optional(),\n suspension: RampDeleteSpendAllocationDeleteUsers_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable().optional(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable().optional(),\n restrictions: RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable().optional(),\n}).describe(\"Response containing the updated spend limit after removing users.\");\n\nexport const rampDeleteSpendAllocationDeleteUsers = action(\"RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS\", {\n slug: \"ramp-delete-spend-allocation-delete-users\",\n name: \"Remove Users from Shared Limit\",\n description: \"Tool to remove users from a shared spend limit in Ramp. Use when you need to revoke a user's access to a shared spending allocation.\",\n input: RampDeleteSpendAllocationDeleteUsersInput,\n output: RampDeleteSpendAllocationDeleteUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,4BAA4BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC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AO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-spend-allocation-delete-users.cjs","names":["z","action"],"sources":["../../src/actions/delete-spend-allocation-delete-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteSpendAllocationDeleteUsersInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs (UUIDs) to remove from the shared limit\"),\n spend_limit_id: z.string().describe(\"Unique identifier (UUID) of the shared spend limit to remove users from\"),\n}).describe(\"Request parameters to remove users from a shared limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card\").nullable(),\n created_at: z.string().describe(\"Time when card was created (ISO8601 format)\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date (MMYY format)\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Whether this is an AP card\").nullable(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Whether card was created via new product or service\").nullable(),\n}).passthrough().describe(\"Card linked to the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User who can spend from the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_AmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in cents\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).passthrough().describe(\"Monetary amount with currency.\");\nconst RampDeleteSpendAllocationDeleteUsers_BalanceSchema = z.object({\n total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Time when suspension was applied (ISO8601 format)\").nullable(),\n acting_user_id: z.string().describe(\"User ID who performed the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Whether suspension was performed by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({\n limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n interval: z.string().describe(\"Spending limit interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Auto lock date (ISO8601 format)\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of the current interval (ISO8601 format)\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"When the limit resets next (ISO8601 format)\").nullable().optional(),\n transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Whether primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Whether reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nexport const RampDeleteSpendAllocationDeleteUsersOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit (UUID)\").nullable().optional(),\n cards: z.array(RampDeleteSpendAllocationDeleteUsers_CardSchema).describe(\"List of cards linked to this limit\").nullable().optional(),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable().optional(),\n users: z.array(RampDeleteSpendAllocationDeleteUsers_LimitUserSchema).describe(\"Members who can spend from the limit\").nullable().optional(),\n balance: RampDeleteSpendAllocationDeleteUsers_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit was created (ISO8601 format)\").nullable().optional(),\n suspension: RampDeleteSpendAllocationDeleteUsers_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable().optional(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable().optional(),\n restrictions: RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated spend limit after removing users.\");\n\nexport const rampDeleteSpendAllocationDeleteUsers = action(\"RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS\", {\n slug: \"ramp-delete-spend-allocation-delete-users\",\n name: \"Remove Users from Shared Limit\",\n description: \"Tool to remove users from a shared spend limit in Ramp. Use when you need to revoke a user's access to a shared spending allocation.\",\n input: RampDeleteSpendAllocationDeleteUsersInput,\n output: RampDeleteSpendAllocationDeleteUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0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able<z.ZodString>>;
18
18
  via_new_product_or_service: z.ZodNullable<z.ZodBoolean>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
22
  user_id: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>>>>;
23
+ }, z.core.$loose>>>>;
24
24
  balance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
25
  total: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
26
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  cleared: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>>;
38
38
  entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  suspension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  inserted_at: z.ZodNullable<z.ZodString>;
42
42
  acting_user_id: z.ZodNullable<z.ZodString>;
43
43
  suspended_by_ramp: z.ZodNullable<z.ZodBoolean>;
44
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
45
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  is_shareable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
47
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
48
  limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- }, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
52
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  auto_lock_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  allowed_vendors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
@@ -56,7 +56,7 @@ declare const RampDeleteSpendAllocationDeleteUsersOutput: z.ZodObject<{
56
56
  temporary_limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
57
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
58
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  start_of_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  allowed_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
62
62
  blocked_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
@@ -64,15 +64,15 @@ declare const RampDeleteSpendAllocationDeleteUsersOutput: z.ZodObject<{
64
64
  transaction_amount_limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65
65
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>>;
68
- }, z.core.$strip>>>;
67
+ }, z.core.$loose>>>;
68
+ }, z.core.$loose>>>;
69
69
  spend_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  permitted_spend_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
71
71
  primary_card_enabled: z.ZodNullable<z.ZodBoolean>;
72
72
  reimbursements_enabled: z.ZodNullable<z.ZodBoolean>;
73
- }, z.core.$strip>>>;
73
+ }, z.core.$loose>>>;
74
74
  has_program_overridden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
75
- }, z.core.$strip>;
75
+ }, z.core.$loose>;
76
76
  declare const rampDeleteSpendAllocationDeleteUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
77
77
  user_ids: string[];
78
78
  spend_limit_id: string;
@@ -16,39 +16,39 @@ declare const RampDeleteSpendAllocationDeleteUsersOutput: z.ZodObject<{
16
16
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  cardholder_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  via_new_product_or_service: z.ZodNullable<z.ZodBoolean>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
22
22
  user_id: z.ZodNullable<z.ZodString>;
23
- }, z.core.$strip>>>>;
23
+ }, z.core.$loose>>>>;
24
24
  balance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
25
25
  total: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
26
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>;
28
+ }, z.core.$loose>>>;
29
29
  cleared: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  pending: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
35
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
- }, z.core.$strip>>>;
37
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
+ }, z.core.$loose>>>;
38
38
  entity_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  suspension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
41
41
  inserted_at: z.ZodNullable<z.ZodString>;
42
42
  acting_user_id: z.ZodNullable<z.ZodString>;
43
43
  suspended_by_ramp: z.ZodNullable<z.ZodBoolean>;
44
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
45
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  is_shareable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
47
47
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
48
  limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
- }, z.core.$strip>>>;
51
+ }, z.core.$loose>>>;
52
52
  interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
53
  auto_lock_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  allowed_vendors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
@@ -56,7 +56,7 @@ declare const RampDeleteSpendAllocationDeleteUsersOutput: z.ZodObject<{
56
56
  temporary_limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
57
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
58
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  start_of_interval: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  allowed_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
62
62
  blocked_categories: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
@@ -64,15 +64,15 @@ declare const RampDeleteSpendAllocationDeleteUsersOutput: z.ZodObject<{
64
64
  transaction_amount_limit: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65
65
  amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
66
66
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>>;
68
- }, z.core.$strip>>>;
67
+ }, z.core.$loose>>>;
68
+ }, z.core.$loose>>>;
69
69
  spend_program_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  permitted_spend_types: z.ZodOptional<z.ZodNullable<z.ZodObject<{
71
71
  primary_card_enabled: z.ZodNullable<z.ZodBoolean>;
72
72
  reimbursements_enabled: z.ZodNullable<z.ZodBoolean>;
73
- }, z.core.$strip>>>;
73
+ }, z.core.$loose>>>;
74
74
  has_program_overridden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
75
- }, z.core.$strip>;
75
+ }, z.core.$loose>;
76
76
  declare const rampDeleteSpendAllocationDeleteUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
77
77
  user_ids: string[];
78
78
  spend_limit_id: string;
@@ -14,22 +14,22 @@ const RampDeleteSpendAllocationDeleteUsers_CardSchema = z.object({
14
14
  display_name: z.string().describe("Display name of the card").nullable().optional(),
15
15
  cardholder_id: z.string().describe("Unique identifier of the cardholder").nullable().optional(),
16
16
  via_new_product_or_service: z.boolean().describe("Whether card was created via new product or service").nullable()
17
- }).describe("Card linked to the limit.");
18
- const RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({ user_id: z.string().describe("Unique identifier of the user").nullable() }).describe("User who can spend from the limit.");
17
+ }).passthrough().describe("Card linked to the limit.");
18
+ const RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({ user_id: z.string().describe("Unique identifier of the user").nullable() }).passthrough().describe("User who can spend from the limit.");
19
19
  const RampDeleteSpendAllocationDeleteUsers_AmountSchema = z.object({
20
20
  amount: z.number().int().describe("Amount in cents").nullable().optional(),
21
21
  currency_code: z.string().describe("Currency code (e.g., USD)").nullable().optional()
22
- }).describe("Monetary amount with currency.");
22
+ }).passthrough().describe("Monetary amount with currency.");
23
23
  const RampDeleteSpendAllocationDeleteUsers_BalanceSchema = z.object({
24
24
  total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
25
25
  cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
26
26
  pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional()
27
- }).describe("Details about the current balance of the limit.");
27
+ }).passthrough().describe("Details about the current balance of the limit.");
28
28
  const RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = z.object({
29
29
  inserted_at: z.string().describe("Time when suspension was applied (ISO8601 format)").nullable(),
30
30
  acting_user_id: z.string().describe("User ID who performed the suspension").nullable(),
31
31
  suspended_by_ramp: z.boolean().describe("Whether suspension was performed by Ramp").nullable()
32
- }).describe("Suspension (lock) on the limit.");
32
+ }).passthrough().describe("Suspension (lock) on the limit.");
33
33
  const RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({
34
34
  limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),
35
35
  interval: z.string().describe("Spending limit interval (e.g., MONTHLY, YEARLY)").nullable().optional(),
@@ -42,11 +42,11 @@ const RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({
42
42
  blocked_categories: z.array(z.number().int()).describe("List of blocked merchant category codes").nullable().optional(),
43
43
  next_interval_reset: z.string().describe("When the limit resets next (ISO8601 format)").nullable().optional(),
44
44
  transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional()
45
- }).describe("Restrictions imposed on this limit.");
45
+ }).passthrough().describe("Restrictions imposed on this limit.");
46
46
  const RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = z.object({
47
47
  primary_card_enabled: z.boolean().describe("Whether primary card spending is enabled").nullable(),
48
48
  reimbursements_enabled: z.boolean().describe("Whether reimbursements are enabled").nullable()
49
- }).describe("Specifies the permitted spend types of the limit.");
49
+ }).passthrough().describe("Specifies the permitted spend types of the limit.");
50
50
  const rampDeleteSpendAllocationDeleteUsers = action("RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS", {
51
51
  slug: "ramp-delete-spend-allocation-delete-users",
52
52
  name: "Remove Users from Shared Limit",
@@ -67,7 +67,7 @@ const rampDeleteSpendAllocationDeleteUsers = action("RAMP_DELETE_SPEND_ALLOCATIO
67
67
  spend_program_id: z.string().describe("Unique identifier of the associated Spend Program (UUID)").nullable().optional(),
68
68
  permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),
69
69
  has_program_overridden: z.boolean().describe("Indicates if the limit's settings override those of its Spend Program").nullable().optional()
70
- }).describe("Response containing the updated spend limit after removing users.")
70
+ }).passthrough().describe("Response containing the updated spend limit after removing users.")
71
71
  });
72
72
  //#endregion
73
73
  export { rampDeleteSpendAllocationDeleteUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-spend-allocation-delete-users.mjs","names":[],"sources":["../../src/actions/delete-spend-allocation-delete-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteSpendAllocationDeleteUsersInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs (UUIDs) to remove from the shared limit\"),\n spend_limit_id: z.string().describe(\"Unique identifier (UUID) of the shared spend limit to remove users from\"),\n}).describe(\"Request parameters to remove users from a shared limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card\").nullable(),\n created_at: z.string().describe(\"Time when card was created (ISO8601 format)\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date (MMYY format)\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Whether this is an AP card\").nullable(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Whether card was created via new product or service\").nullable(),\n}).describe(\"Card linked to the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).describe(\"User who can spend from the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_AmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in cents\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).describe(\"Monetary amount with currency.\");\nconst RampDeleteSpendAllocationDeleteUsers_BalanceSchema = z.object({\n total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).describe(\"Details about the current balance of the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Time when suspension was applied (ISO8601 format)\").nullable(),\n acting_user_id: z.string().describe(\"User ID who performed the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Whether suspension was performed by Ramp\").nullable(),\n}).describe(\"Suspension (lock) on the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({\n limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n interval: z.string().describe(\"Spending limit interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Auto lock date (ISO8601 format)\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of the current interval (ISO8601 format)\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"When the limit resets next (ISO8601 format)\").nullable().optional(),\n transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).describe(\"Restrictions imposed on this limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Whether primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Whether reimbursements are enabled\").nullable(),\n}).describe(\"Specifies the permitted spend types of the limit.\");\nexport const RampDeleteSpendAllocationDeleteUsersOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit (UUID)\").nullable().optional(),\n cards: z.array(RampDeleteSpendAllocationDeleteUsers_CardSchema).describe(\"List of cards linked to this limit\").nullable().optional(),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable().optional(),\n users: z.array(RampDeleteSpendAllocationDeleteUsers_LimitUserSchema).describe(\"Members who can spend from the limit\").nullable().optional(),\n balance: RampDeleteSpendAllocationDeleteUsers_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit was created (ISO8601 format)\").nullable().optional(),\n suspension: RampDeleteSpendAllocationDeleteUsers_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable().optional(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable().optional(),\n restrictions: RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable().optional(),\n}).describe(\"Response containing the updated spend limit after removing users.\");\n\nexport const rampDeleteSpendAllocationDeleteUsers = action(\"RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS\", {\n slug: \"ramp-delete-spend-allocation-delete-users\",\n name: \"Remove Users from Shared Limit\",\n description: \"Tool to remove users from a shared spend limit in Ramp. Use when you need to revoke a user's access to a shared spending allocation.\",\n input: RampDeleteSpendAllocationDeleteUsersInput,\n output: RampDeleteSpendAllocationDeleteUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC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AC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,OAAO,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,SAAS,mDAAmD,SAAS,CAAC,CAAC,SAAS;EAChF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,YAAY,sDAAsD,SAAS,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,wDAAwD,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,uBAAuB,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC1G,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-spend-allocation-delete-users.mjs","names":[],"sources":["../../src/actions/delete-spend-allocation-delete-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteSpendAllocationDeleteUsersInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs (UUIDs) to remove from the shared limit\"),\n spend_limit_id: z.string().describe(\"Unique identifier (UUID) of the shared spend limit to remove users from\"),\n}).describe(\"Request parameters to remove users from a shared limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_CardSchema = z.object({\n card_id: z.string().describe(\"Unique identifier of the card\").nullable(),\n last_four: z.string().describe(\"Last four digits of the card\").nullable(),\n created_at: z.string().describe(\"Time when card was created (ISO8601 format)\").nullable().optional(),\n expiration: z.string().describe(\"Card expiration date (MMYY format)\").nullable().optional(),\n is_ap_card: z.boolean().describe(\"Whether this is an AP card\").nullable(),\n display_name: z.string().describe(\"Display name of the card\").nullable().optional(),\n cardholder_id: z.string().describe(\"Unique identifier of the cardholder\").nullable().optional(),\n via_new_product_or_service: z.boolean().describe(\"Whether card was created via new product or service\").nullable(),\n}).passthrough().describe(\"Card linked to the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_LimitUserSchema = z.object({\n user_id: z.string().describe(\"Unique identifier of the user\").nullable(),\n}).passthrough().describe(\"User who can spend from the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_AmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in cents\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n}).passthrough().describe(\"Monetary amount with currency.\");\nconst RampDeleteSpendAllocationDeleteUsers_BalanceSchema = z.object({\n total: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n cleared: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n pending: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).passthrough().describe(\"Details about the current balance of the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_SuspensionSchema = z.object({\n inserted_at: z.string().describe(\"Time when suspension was applied (ISO8601 format)\").nullable(),\n acting_user_id: z.string().describe(\"User ID who performed the suspension\").nullable(),\n suspended_by_ramp: z.boolean().describe(\"Whether suspension was performed by Ramp\").nullable(),\n}).passthrough().describe(\"Suspension (lock) on the limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema = z.object({\n limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n interval: z.string().describe(\"Spending limit interval (e.g., MONTHLY, YEARLY)\").nullable().optional(),\n auto_lock_date: z.string().describe(\"Auto lock date (ISO8601 format)\").nullable().optional(),\n allowed_vendors: z.array(z.number().int()).describe(\"List of allowed vendor IDs\").nullable().optional(),\n blocked_vendors: z.array(z.number().int()).describe(\"List of blocked vendor IDs\").nullable().optional(),\n temporary_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n start_of_interval: z.string().describe(\"Start of the current interval (ISO8601 format)\").nullable().optional(),\n allowed_categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes\").nullable().optional(),\n blocked_categories: z.array(z.number().int()).describe(\"List of blocked merchant category codes\").nullable().optional(),\n next_interval_reset: z.string().describe(\"When the limit resets next (ISO8601 format)\").nullable().optional(),\n transaction_amount_limit: RampDeleteSpendAllocationDeleteUsers_AmountSchema.nullable().optional(),\n}).passthrough().describe(\"Restrictions imposed on this limit.\");\nconst RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema = z.object({\n primary_card_enabled: z.boolean().describe(\"Whether primary card spending is enabled\").nullable(),\n reimbursements_enabled: z.boolean().describe(\"Whether reimbursements are enabled\").nullable(),\n}).passthrough().describe(\"Specifies the permitted spend types of the limit.\");\nexport const RampDeleteSpendAllocationDeleteUsersOutput = z.object({\n id: z.string().describe(\"Unique identifier of the limit (UUID)\").nullable().optional(),\n cards: z.array(RampDeleteSpendAllocationDeleteUsers_CardSchema).describe(\"List of cards linked to this limit\").nullable().optional(),\n state: z.string().describe(\"Current state of the limit (ACTIVE, SUSPENDED, or TERMINATED)\").nullable().optional(),\n users: z.array(RampDeleteSpendAllocationDeleteUsers_LimitUserSchema).describe(\"Members who can spend from the limit\").nullable().optional(),\n balance: RampDeleteSpendAllocationDeleteUsers_BalanceSchema.nullable().optional(),\n entity_id: z.string().describe(\"Associated business entity of the limit (UUID)\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the spend limit was created (ISO8601 format)\").nullable().optional(),\n suspension: RampDeleteSpendAllocationDeleteUsers_SuspensionSchema.nullable().optional(),\n display_name: z.string().describe(\"Display name of the limit and all linked cards\").nullable().optional(),\n is_shareable: z.boolean().describe(\"Whether this spend limit is shareable\").nullable().optional(),\n restrictions: RampDeleteSpendAllocationDeleteUsers_RestrictionsSchema.nullable().optional(),\n spend_program_id: z.string().describe(\"Unique identifier of the associated Spend Program (UUID)\").nullable().optional(),\n permitted_spend_types: RampDeleteSpendAllocationDeleteUsers_PermittedSpendTypesSchema.nullable().optional(),\n has_program_overridden: z.boolean().describe(\"Indicates if the limit's settings override those of its Spend Program\").nullable().optional(),\n}).passthrough().describe(\"Response containing the updated spend limit after removing users.\");\n\nexport const rampDeleteSpendAllocationDeleteUsers = action(\"RAMP_DELETE_SPEND_ALLOCATION_DELETE_USERS\", {\n slug: \"ramp-delete-spend-allocation-delete-users\",\n name: \"Remove Users from Shared Limit\",\n description: \"Tool to remove users from a shared spend limit in Ramp. Use when you need to revoke a user's access to a shared spending allocation.\",\n input: RampDeleteSpendAllocationDeleteUsersInput,\n output: RampDeleteSpendAllocationDeleteUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0DAA0D;CACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;AAC/G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;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AAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,cAAc,wDAAwD,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,uBAAuB,+DAA+D,SAAS,CAAC,CAAC,SAAS;EAC1G,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-webhook.ts
4
4
  const RampDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("The unique identifier (UUID) of the webhook subscription to delete") }).describe("Request parameters to delete a webhook subscription.");
5
- const RampDeleteWebhookOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the webhook subscription was successfully deleted").nullable().optional() }).describe("Response schema for webhook deletion. The API returns HTTP 204 No Content on success.");
5
+ const RampDeleteWebhookOutput = zod.z.object({ success: zod.z.boolean().default(true).describe("Indicates the webhook subscription was successfully deleted").nullable().optional() }).passthrough().describe("Response schema for webhook deletion. The API returns HTTP 204 No Content on success.");
6
6
  const rampDeleteWebhook = require_action.action("RAMP_DELETE_WEBHOOK", {
7
7
  slug: "ramp-delete-webhook",
8
8
  name: "Delete Webhook Subscription",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier (UUID) of the webhook subscription to delete\"),\n}).describe(\"Request parameters to delete a webhook subscription.\");\nexport const RampDeleteWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook subscription was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for webhook deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteWebhook = action(\"RAMP_DELETE_WEBHOOK\", {\n slug: \"ramp-delete-webhook\",\n name: \"Delete Webhook Subscription\",\n description: \"Tool to delete a webhook subscription by ID. Use when you need to remove a webhook subscription from Ramp. The operation is irreversible and returns no content on success.\",\n input: RampDeleteWebhookInput,\n output: RampDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAEnG,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier (UUID) of the webhook subscription to delete\"),\n}).describe(\"Request parameters to delete a webhook subscription.\");\nexport const RampDeleteWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook subscription was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for webhook deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteWebhook = action(\"RAMP_DELETE_WEBHOOK\", {\n slug: \"ramp-delete-webhook\",\n name: \"Delete Webhook Subscription\",\n description: \"Tool to delete a webhook subscription by ID. Use when you need to remove a webhook subscription from Ramp. The operation is irreversible and returns no content on success.\",\n input: RampDeleteWebhookInput,\n output: RampDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACtG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const RampDeleteWebhookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const RampDeleteWebhookOutput: z.ZodObject<{
8
8
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const rampDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  webhook_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const RampDeleteWebhookInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const RampDeleteWebhookOutput: z.ZodObject<{
8
8
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const rampDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  webhook_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const rampDeleteWebhook = action("RAMP_DELETE_WEBHOOK", {
5
5
  name: "Delete Webhook Subscription",
6
6
  description: "Tool to delete a webhook subscription by ID. Use when you need to remove a webhook subscription from Ramp. The operation is irreversible and returns no content on success.",
7
7
  input: z.object({ webhook_id: z.string().describe("The unique identifier (UUID) of the webhook subscription to delete") }).describe("Request parameters to delete a webhook subscription."),
8
- output: z.object({ success: z.boolean().default(true).describe("Indicates the webhook subscription was successfully deleted").nullable().optional() }).describe("Response schema for webhook deletion. The API returns HTTP 204 No Content on success.")
8
+ output: z.object({ success: z.boolean().default(true).describe("Indicates the webhook subscription was successfully deleted").nullable().optional() }).passthrough().describe("Response schema for webhook deletion. The API returns HTTP 204 No Content on success.")
9
9
  });
10
10
  //#endregion
11
11
  export { rampDeleteWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier (UUID) of the webhook subscription to delete\"),\n}).describe(\"Request parameters to delete a webhook subscription.\");\nexport const RampDeleteWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook subscription was successfully deleted\").nullable().optional(),\n}).describe(\"Response schema for webhook deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteWebhook = action(\"RAMP_DELETE_WEBHOOK\", {\n slug: \"ramp-delete-webhook\",\n name: \"Delete Webhook Subscription\",\n description: \"Tool to delete a webhook subscription by ID. Use when you need to remove a webhook subscription from Ramp. The operation is irreversible and returns no content on success.\",\n input: RampDeleteWebhookInput,\n output: RampDeleteWebhookOutput,\n});\n"],"mappings":";;AAWA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACtG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,SAAS,uFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier (UUID) of the webhook subscription to delete\"),\n}).describe(\"Request parameters to delete a webhook subscription.\");\nexport const RampDeleteWebhookOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates the webhook subscription was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response schema for webhook deletion. The API returns HTTP 204 No Content on success.\");\n\nexport const rampDeleteWebhook = action(\"RAMP_DELETE_WEBHOOK\", {\n slug: \"ramp-delete-webhook\",\n name: \"Delete Webhook Subscription\",\n description: \"Tool to delete a webhook subscription by ID. Use when you need to remove a webhook subscription from Ramp. The operation is irreversible and returns no content on success.\",\n input: RampDeleteWebhookInput,\n output: RampDeleteWebhookOutput,\n});\n"],"mappings":";;AAWA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXoC,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,EACtG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const RampFetchAccountingAccount_GLAccountCategoryInfoSchema = zod.z.object({
9
9
  id: zod.z.string().describe("Remote/external ID of the category").nullable().optional(),
10
10
  name: zod.z.string().describe("Name of the category").nullable().optional(),
11
11
  ramp_id: zod.z.string().describe("Ramp's internal UUID for the category").nullable().optional()
12
- }).describe("Category information for a general ledger account.");
12
+ }).passthrough().describe("Category information for a general ledger account.");
13
13
  const RampFetchAccountingAccountOutput = zod.z.object({
14
14
  id: zod.z.string().describe("Remote/external ID of GL account in ERP system").nullable().optional(),
15
15
  code: zod.z.string().describe("Account code (e.g., '6410', '400-100')").nullable().optional(),
@@ -22,7 +22,7 @@ const RampFetchAccountingAccountOutput = zod.z.object({
22
22
  classification: zod.z.string().describe("Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY)").nullable().optional(),
23
23
  accounting_connection_id: zod.z.string().describe("UUID of the accounting connection that the GL account is uploaded to").nullable(),
24
24
  gl_account_category_info: RampFetchAccountingAccount_GLAccountCategoryInfoSchema.nullable().optional()
25
- }).describe("Response containing detailed information for a single general ledger account.");
25
+ }).passthrough().describe("Response containing detailed information for a single general ledger account.");
26
26
  const rampFetchAccountingAccount = require_action.action("RAMP_FETCH_ACCOUNTING_ACCOUNT", {
27
27
  slug: "ramp-fetch-accounting-account",
28
28
  name: "Fetch General Ledger Account",
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-accounting-account.cjs","names":["z","action"],"sources":["../../src/actions/fetch-accounting-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampFetchAccountingAccountInput = z.object({\n gl_account_id: z.string().describe(\"UUID of the general ledger account to retrieve\"),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection to filter the GL account. Required when fetching accounts associated with a specific accounting connection.\").optional(),\n}).describe(\"Request parameters to fetch a specific general ledger account by ID.\");\nconst RampFetchAccountingAccount_GLAccountCategoryInfoSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n ramp_id: z.string().describe(\"Ramp's internal UUID for the category\").nullable().optional(),\n}).describe(\"Category information for a general ledger account.\");\nexport const RampFetchAccountingAccountOutput = z.object({\n id: z.string().describe(\"Remote/external ID of GL account in ERP system\").nullable().optional(),\n code: z.string().describe(\"Account code (e.g., '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Employees:Salaries & Wages', 'Travel : Travel - Lodging')\").nullable(),\n ramp_id: z.string().describe(\"UUID to uniquely identify a general ledger account within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when the account was created\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the account was last updated\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the GL account is uploaded to (e.g., 'QuickBooks')\").nullable().optional(),\n classification: z.string().describe(\"Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY)\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the GL account is uploaded to\").nullable(),\n gl_account_category_info: RampFetchAccountingAccount_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"Response containing detailed information for a single general ledger account.\");\n\nexport const rampFetchAccountingAccount = action(\"RAMP_FETCH_ACCOUNTING_ACCOUNT\", {\n slug: \"ramp-fetch-accounting-account\",\n name: \"Fetch General Ledger Account\",\n description: \"Tool to fetch a specific general ledger account by ID from Ramp. Use when you need to retrieve detailed information about a single GL account.\",\n input: RampFetchAccountingAccountInput,\n output: RampFetchAccountingAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,C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,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/H,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"fetch-accounting-account.cjs","names":["z","action"],"sources":["../../src/actions/fetch-accounting-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampFetchAccountingAccountInput = z.object({\n gl_account_id: z.string().describe(\"UUID of the general ledger account to retrieve\"),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection to filter the GL account. Required when fetching accounts associated with a specific accounting connection.\").optional(),\n}).describe(\"Request parameters to fetch a specific general ledger account by ID.\");\nconst RampFetchAccountingAccount_GLAccountCategoryInfoSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n ramp_id: z.string().describe(\"Ramp's internal UUID for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a general ledger account.\");\nexport const RampFetchAccountingAccountOutput = z.object({\n id: z.string().describe(\"Remote/external ID of GL account in ERP system\").nullable().optional(),\n code: z.string().describe(\"Account code (e.g., '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Employees:Salaries & Wages', 'Travel : Travel - Lodging')\").nullable(),\n ramp_id: z.string().describe(\"UUID to uniquely identify a general ledger account within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when the account was created\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the account was last updated\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the GL account is uploaded to (e.g., 'QuickBooks')\").nullable().optional(),\n classification: z.string().describe(\"Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY)\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the GL account is uploaded to\").nullable(),\n gl_account_category_info: RampFetchAccountingAccount_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information for a single general ledger account.\");\n\nexport const rampFetchAccountingAccount = action(\"RAMP_FETCH_ACCOUNTING_ACCOUNT\", {\n slug: \"ramp-fetch-accounting-account\",\n name: \"Fetch General Ledger Account\",\n description: \"Tool to fetch a specific general ledger account by ID from Ramp. Use when you need to retrieve detailed information about a single GL account.\",\n input: RampFetchAccountingAccountInput,\n output: RampFetchAccountingAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACnF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;AAC1M,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,O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>>;
22
22
  ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>>;
24
+ }, z.core.$loose>;
25
25
  declare const rampFetchAccountingAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  gl_account_id: string;
27
27
  accounting_connection_id?: string | undefined;
@@ -20,8 +20,8 @@ declare const RampFetchAccountingAccountOutput: z.ZodObject<{
20
20
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>>;
24
+ }, z.core.$loose>;
25
25
  declare const rampFetchAccountingAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  gl_account_id: string;
27
27
  accounting_connection_id?: string | undefined;
@@ -9,7 +9,7 @@ const RampFetchAccountingAccount_GLAccountCategoryInfoSchema = z.object({
9
9
  id: z.string().describe("Remote/external ID of the category").nullable().optional(),
10
10
  name: z.string().describe("Name of the category").nullable().optional(),
11
11
  ramp_id: z.string().describe("Ramp's internal UUID for the category").nullable().optional()
12
- }).describe("Category information for a general ledger account.");
12
+ }).passthrough().describe("Category information for a general ledger account.");
13
13
  const rampFetchAccountingAccount = action("RAMP_FETCH_ACCOUNTING_ACCOUNT", {
14
14
  slug: "ramp-fetch-accounting-account",
15
15
  name: "Fetch General Ledger Account",
@@ -27,7 +27,7 @@ const rampFetchAccountingAccount = action("RAMP_FETCH_ACCOUNTING_ACCOUNT", {
27
27
  classification: z.string().describe("Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY)").nullable().optional(),
28
28
  accounting_connection_id: z.string().describe("UUID of the accounting connection that the GL account is uploaded to").nullable(),
29
29
  gl_account_category_info: RampFetchAccountingAccount_GLAccountCategoryInfoSchema.nullable().optional()
30
- }).describe("Response containing detailed information for a single general ledger account.")
30
+ }).passthrough().describe("Response containing detailed information for a single general ledger account.")
31
31
  });
32
32
  //#endregion
33
33
  export { rampFetchAccountingAccount };