@keystrokehq/ramp 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (566) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/create-department.cjs +1 -1
  3. package/dist/actions/create-department.cjs.map +1 -1
  4. package/dist/actions/create-department.d.cts +14 -2
  5. package/dist/actions/create-department.d.mts +14 -2
  6. package/dist/actions/create-department.mjs +1 -1
  7. package/dist/actions/create-department.mjs.map +1 -1
  8. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -1
  9. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  10. package/dist/actions/create-inventory-item-accounting-field.d.cts +14 -2
  11. package/dist/actions/create-inventory-item-accounting-field.d.mts +14 -2
  12. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  14. package/dist/actions/create-memo.cjs +1 -1
  15. package/dist/actions/create-memo.cjs.map +1 -1
  16. package/dist/actions/create-memo.d.cts +14 -2
  17. package/dist/actions/create-memo.d.mts +14 -2
  18. package/dist/actions/create-memo.mjs +1 -1
  19. package/dist/actions/create-memo.mjs.map +1 -1
  20. package/dist/actions/create-mileage-reimbursement.cjs +9 -9
  21. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  22. package/dist/actions/create-mileage-reimbursement.d.cts +26 -14
  23. package/dist/actions/create-mileage-reimbursement.d.mts +26 -14
  24. package/dist/actions/create-mileage-reimbursement.mjs +9 -9
  25. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  26. package/dist/actions/create-new-custom-accounting-field.cjs +1 -1
  27. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  28. package/dist/actions/create-new-custom-accounting-field.d.cts +14 -2
  29. package/dist/actions/create-new-custom-accounting-field.d.mts +14 -2
  30. package/dist/actions/create-new-custom-accounting-field.mjs +1 -1
  31. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  32. package/dist/actions/create-tax-code-accounting-field.cjs +1 -1
  33. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  34. package/dist/actions/create-tax-code-accounting-field.d.cts +14 -2
  35. package/dist/actions/create-tax-code-accounting-field.d.mts +14 -2
  36. package/dist/actions/create-tax-code-accounting-field.mjs +1 -1
  37. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  38. package/dist/actions/create-user-invite.cjs +1 -1
  39. package/dist/actions/create-user-invite.cjs.map +1 -1
  40. package/dist/actions/create-user-invite.d.cts +14 -2
  41. package/dist/actions/create-user-invite.d.mts +14 -2
  42. package/dist/actions/create-user-invite.mjs +1 -1
  43. package/dist/actions/create-user-invite.mjs.map +1 -1
  44. package/dist/actions/create-webhook-subscription.cjs +3 -3
  45. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  46. package/dist/actions/create-webhook-subscription.d.cts +17 -5
  47. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  48. package/dist/actions/create-webhook-subscription.d.mts +17 -5
  49. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  50. package/dist/actions/create-webhook-subscription.mjs +3 -3
  51. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  52. package/dist/actions/deactivate-user.cjs +1 -1
  53. package/dist/actions/deactivate-user.cjs.map +1 -1
  54. package/dist/actions/deactivate-user.d.cts +14 -2
  55. package/dist/actions/deactivate-user.d.cts.map +1 -1
  56. package/dist/actions/deactivate-user.d.mts +14 -2
  57. package/dist/actions/deactivate-user.d.mts.map +1 -1
  58. package/dist/actions/deactivate-user.mjs +1 -1
  59. package/dist/actions/deactivate-user.mjs.map +1 -1
  60. package/dist/actions/delete-accounting-account.cjs +1 -1
  61. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  62. package/dist/actions/delete-accounting-account.d.cts +14 -2
  63. package/dist/actions/delete-accounting-account.d.mts +14 -2
  64. package/dist/actions/delete-accounting-account.mjs +1 -1
  65. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  66. package/dist/actions/delete-accounting-connection.cjs +1 -1
  67. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  68. package/dist/actions/delete-accounting-connection.d.cts +14 -2
  69. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  70. package/dist/actions/delete-accounting-connection.d.mts +14 -2
  71. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  72. package/dist/actions/delete-accounting-connection.mjs +1 -1
  73. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  74. package/dist/actions/delete-accounting-fields.cjs +1 -1
  75. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  76. package/dist/actions/delete-accounting-fields.d.cts +14 -2
  77. package/dist/actions/delete-accounting-fields.d.mts +14 -2
  78. package/dist/actions/delete-accounting-fields.mjs +1 -1
  79. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  80. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  81. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  82. package/dist/actions/delete-accounting-inventory-item-options.d.cts +14 -2
  83. package/dist/actions/delete-accounting-inventory-item-options.d.mts +14 -2
  84. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  85. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  86. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  87. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  88. package/dist/actions/delete-accounting-tax-code-options.d.cts +14 -2
  89. package/dist/actions/delete-accounting-tax-code-options.d.mts +14 -2
  90. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  91. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  92. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  93. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  94. package/dist/actions/delete-accounting-tax-code.d.cts +14 -2
  95. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  96. package/dist/actions/delete-accounting-tax-code.d.mts +14 -2
  97. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  98. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  99. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  101. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-tax-rates.d.cts +14 -2
  103. package/dist/actions/delete-accounting-tax-rates.d.mts +14 -2
  104. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  105. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  106. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  107. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  108. package/dist/actions/delete-accounting-vendors.d.cts +14 -2
  109. package/dist/actions/delete-accounting-vendors.d.mts +14 -2
  110. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  111. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  112. package/dist/actions/delete-custom-field-option.cjs +1 -1
  113. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  114. package/dist/actions/delete-custom-field-option.d.cts +14 -2
  115. package/dist/actions/delete-custom-field-option.d.mts +14 -2
  116. package/dist/actions/delete-custom-field-option.mjs +1 -1
  117. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  118. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  119. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  120. package/dist/actions/delete-inventory-item-field.d.cts +14 -2
  121. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  122. package/dist/actions/delete-inventory-item-field.d.mts +14 -2
  123. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  124. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  125. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  126. package/dist/actions/delete-spend-allocation-delete-users.cjs +8 -8
  127. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  128. package/dist/actions/delete-spend-allocation-delete-users.d.cts +26 -14
  129. package/dist/actions/delete-spend-allocation-delete-users.d.mts +26 -14
  130. package/dist/actions/delete-spend-allocation-delete-users.mjs +8 -8
  131. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  132. package/dist/actions/delete-webhook.cjs +1 -1
  133. package/dist/actions/delete-webhook.cjs.map +1 -1
  134. package/dist/actions/delete-webhook.d.cts +14 -2
  135. package/dist/actions/delete-webhook.d.mts +14 -2
  136. package/dist/actions/delete-webhook.mjs +1 -1
  137. package/dist/actions/delete-webhook.mjs.map +1 -1
  138. package/dist/actions/fetch-accounting-account.cjs +2 -2
  139. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  140. package/dist/actions/fetch-accounting-account.d.cts +15 -3
  141. package/dist/actions/fetch-accounting-account.d.mts +15 -3
  142. package/dist/actions/fetch-accounting-account.mjs +2 -2
  143. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  144. package/dist/actions/fetch-accounting-vendor.cjs +2 -2
  145. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  146. package/dist/actions/fetch-accounting-vendor.d.cts +15 -3
  147. package/dist/actions/fetch-accounting-vendor.d.mts +15 -3
  148. package/dist/actions/fetch-accounting-vendor.mjs +2 -2
  149. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  150. package/dist/actions/fetch-custom-accounting-field.cjs +2 -2
  151. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  152. package/dist/actions/fetch-custom-accounting-field.d.cts +15 -3
  153. package/dist/actions/fetch-custom-accounting-field.d.mts +15 -3
  154. package/dist/actions/fetch-custom-accounting-field.mjs +2 -2
  155. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  156. package/dist/actions/get-accounting-accounts.cjs +4 -4
  157. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  158. package/dist/actions/get-accounting-accounts.d.cts +17 -5
  159. package/dist/actions/get-accounting-accounts.d.mts +17 -5
  160. package/dist/actions/get-accounting-accounts.mjs +4 -4
  161. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  162. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  163. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  164. package/dist/actions/get-accounting-all-connections.d.cts +15 -3
  165. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  166. package/dist/actions/get-accounting-all-connections.d.mts +15 -3
  167. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  168. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  169. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  170. package/dist/actions/get-accounting-connection-by-id.cjs +2 -2
  171. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  172. package/dist/actions/get-accounting-connection-by-id.d.cts +15 -3
  173. package/dist/actions/get-accounting-connection-by-id.d.mts +15 -3
  174. package/dist/actions/get-accounting-connection-by-id.mjs +2 -2
  175. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  176. package/dist/actions/get-accounting-connection.cjs +2 -2
  177. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  178. package/dist/actions/get-accounting-connection.d.cts +15 -3
  179. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  180. package/dist/actions/get-accounting-connection.d.mts +15 -3
  181. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  182. package/dist/actions/get-accounting-connection.mjs +2 -2
  183. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  184. package/dist/actions/get-accounting-fields.cjs +3 -3
  185. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  186. package/dist/actions/get-accounting-fields.d.cts +16 -4
  187. package/dist/actions/get-accounting-fields.d.mts +16 -4
  188. package/dist/actions/get-accounting-fields.mjs +3 -3
  189. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  190. package/dist/actions/get-accounting-vendors.cjs +3 -3
  191. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  192. package/dist/actions/get-accounting-vendors.d.cts +16 -4
  193. package/dist/actions/get-accounting-vendors.d.mts +16 -4
  194. package/dist/actions/get-accounting-vendors.mjs +3 -3
  195. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  196. package/dist/actions/get-all-transactions.cjs +3 -3
  197. package/dist/actions/get-all-transactions.cjs.map +1 -1
  198. package/dist/actions/get-all-transactions.d.cts +16 -4
  199. package/dist/actions/get-all-transactions.d.mts +16 -4
  200. package/dist/actions/get-all-transactions.mjs +3 -3
  201. package/dist/actions/get-all-transactions.mjs.map +1 -1
  202. package/dist/actions/get-card-vault-resource.cjs +1 -1
  203. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  204. package/dist/actions/get-card-vault-resource.d.cts +14 -2
  205. package/dist/actions/get-card-vault-resource.d.mts +14 -2
  206. package/dist/actions/get-card-vault-resource.mjs +1 -1
  207. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  208. package/dist/actions/get-card.cjs +5 -5
  209. package/dist/actions/get-card.cjs.map +1 -1
  210. package/dist/actions/get-card.d.cts +18 -6
  211. package/dist/actions/get-card.d.mts +18 -6
  212. package/dist/actions/get-card.mjs +5 -5
  213. package/dist/actions/get-card.mjs.map +1 -1
  214. package/dist/actions/get-custom-field-option.cjs +1 -1
  215. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  216. package/dist/actions/get-custom-field-option.d.cts +14 -2
  217. package/dist/actions/get-custom-field-option.d.mts +14 -2
  218. package/dist/actions/get-custom-field-option.mjs +1 -1
  219. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  220. package/dist/actions/get-department.cjs +1 -1
  221. package/dist/actions/get-department.cjs.map +1 -1
  222. package/dist/actions/get-department.d.cts +14 -2
  223. package/dist/actions/get-department.d.mts +14 -2
  224. package/dist/actions/get-department.mjs +1 -1
  225. package/dist/actions/get-department.mjs.map +1 -1
  226. package/dist/actions/get-inventory-item-field.cjs +1 -1
  227. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  228. package/dist/actions/get-inventory-item-field.d.cts +14 -2
  229. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  230. package/dist/actions/get-inventory-item-field.d.mts +14 -2
  231. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  232. package/dist/actions/get-inventory-item-field.mjs +1 -1
  233. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  234. package/dist/actions/get-memo.cjs +1 -1
  235. package/dist/actions/get-memo.cjs.map +1 -1
  236. package/dist/actions/get-memo.d.cts +14 -2
  237. package/dist/actions/get-memo.d.mts +14 -2
  238. package/dist/actions/get-memo.mjs +1 -1
  239. package/dist/actions/get-memo.mjs.map +1 -1
  240. package/dist/actions/get-reimbursement.cjs +5 -5
  241. package/dist/actions/get-reimbursement.cjs.map +1 -1
  242. package/dist/actions/get-reimbursement.d.cts +20 -8
  243. package/dist/actions/get-reimbursement.d.mts +20 -8
  244. package/dist/actions/get-reimbursement.mjs +5 -5
  245. package/dist/actions/get-reimbursement.mjs.map +1 -1
  246. package/dist/actions/get-spend-limit.cjs +14 -14
  247. package/dist/actions/get-spend-limit.cjs.map +1 -1
  248. package/dist/actions/get-spend-limit.d.cts +32 -20
  249. package/dist/actions/get-spend-limit.d.mts +32 -20
  250. package/dist/actions/get-spend-limit.mjs +14 -14
  251. package/dist/actions/get-spend-limit.mjs.map +1 -1
  252. package/dist/actions/get-statement.cjs +1 -1
  253. package/dist/actions/get-statement.cjs.map +1 -1
  254. package/dist/actions/get-statement.d.cts +14 -2
  255. package/dist/actions/get-statement.d.mts +14 -2
  256. package/dist/actions/get-statement.mjs +1 -1
  257. package/dist/actions/get-statement.mjs.map +1 -1
  258. package/dist/actions/get-transaction.cjs +1 -1
  259. package/dist/actions/get-transaction.cjs.map +1 -1
  260. package/dist/actions/get-transaction.d.cts +14 -2
  261. package/dist/actions/get-transaction.d.mts +14 -2
  262. package/dist/actions/get-transaction.mjs +1 -1
  263. package/dist/actions/get-transaction.mjs.map +1 -1
  264. package/dist/actions/get-user.cjs +2 -2
  265. package/dist/actions/get-user.cjs.map +1 -1
  266. package/dist/actions/get-user.d.cts +15 -3
  267. package/dist/actions/get-user.d.mts +15 -3
  268. package/dist/actions/get-user.mjs +2 -2
  269. package/dist/actions/get-user.mjs.map +1 -1
  270. package/dist/actions/get-users-deferred-status.cjs +3 -3
  271. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  272. package/dist/actions/get-users-deferred-status.d.cts +16 -4
  273. package/dist/actions/get-users-deferred-status.d.mts +16 -4
  274. package/dist/actions/get-users-deferred-status.mjs +3 -3
  275. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  276. package/dist/actions/get-vendor.cjs +3 -3
  277. package/dist/actions/get-vendor.cjs.map +1 -1
  278. package/dist/actions/get-vendor.d.cts +19 -7
  279. package/dist/actions/get-vendor.d.mts +19 -7
  280. package/dist/actions/get-vendor.mjs +3 -3
  281. package/dist/actions/get-vendor.mjs.map +1 -1
  282. package/dist/actions/get-webhook.cjs +1 -1
  283. package/dist/actions/get-webhook.cjs.map +1 -1
  284. package/dist/actions/get-webhook.d.cts +14 -2
  285. package/dist/actions/get-webhook.d.mts +14 -2
  286. package/dist/actions/get-webhook.mjs +1 -1
  287. package/dist/actions/get-webhook.mjs.map +1 -1
  288. package/dist/actions/issue-virtual-card.cjs +3 -3
  289. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  290. package/dist/actions/issue-virtual-card.d.cts +16 -4
  291. package/dist/actions/issue-virtual-card.d.mts +16 -4
  292. package/dist/actions/issue-virtual-card.mjs +3 -3
  293. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  294. package/dist/actions/list-accounting-inventory-item-options.cjs +3 -3
  295. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  296. package/dist/actions/list-accounting-inventory-item-options.d.cts +16 -4
  297. package/dist/actions/list-accounting-inventory-item-options.d.mts +16 -4
  298. package/dist/actions/list-accounting-inventory-item-options.mjs +3 -3
  299. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  300. package/dist/actions/list-accounting-tax-rates.cjs +3 -3
  301. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  302. package/dist/actions/list-accounting-tax-rates.d.cts +16 -4
  303. package/dist/actions/list-accounting-tax-rates.d.mts +16 -4
  304. package/dist/actions/list-accounting-tax-rates.mjs +3 -3
  305. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  306. package/dist/actions/list-cards.cjs +7 -7
  307. package/dist/actions/list-cards.cjs.map +1 -1
  308. package/dist/actions/list-cards.d.cts +20 -8
  309. package/dist/actions/list-cards.d.mts +20 -8
  310. package/dist/actions/list-cards.mjs +7 -7
  311. package/dist/actions/list-cards.mjs.map +1 -1
  312. package/dist/actions/list-departments.cjs +3 -3
  313. package/dist/actions/list-departments.cjs.map +1 -1
  314. package/dist/actions/list-departments.d.cts +16 -4
  315. package/dist/actions/list-departments.d.mts +16 -4
  316. package/dist/actions/list-departments.mjs +3 -3
  317. package/dist/actions/list-departments.mjs.map +1 -1
  318. package/dist/actions/list-memos.cjs +3 -3
  319. package/dist/actions/list-memos.cjs.map +1 -1
  320. package/dist/actions/list-memos.d.cts +16 -4
  321. package/dist/actions/list-memos.d.mts +16 -4
  322. package/dist/actions/list-memos.mjs +3 -3
  323. package/dist/actions/list-memos.mjs.map +1 -1
  324. package/dist/actions/list-reimbursements.cjs +7 -7
  325. package/dist/actions/list-reimbursements.cjs.map +1 -1
  326. package/dist/actions/list-reimbursements.d.cts +22 -10
  327. package/dist/actions/list-reimbursements.d.mts +22 -10
  328. package/dist/actions/list-reimbursements.mjs +7 -7
  329. package/dist/actions/list-reimbursements.mjs.map +1 -1
  330. package/dist/actions/list-statements.cjs +6 -6
  331. package/dist/actions/list-statements.cjs.map +1 -1
  332. package/dist/actions/list-statements.d.cts +28 -16
  333. package/dist/actions/list-statements.d.mts +28 -16
  334. package/dist/actions/list-statements.mjs +6 -6
  335. package/dist/actions/list-statements.mjs.map +1 -1
  336. package/dist/actions/list-users.cjs +4 -4
  337. package/dist/actions/list-users.cjs.map +1 -1
  338. package/dist/actions/list-users.d.cts +17 -5
  339. package/dist/actions/list-users.d.mts +17 -5
  340. package/dist/actions/list-users.mjs +4 -4
  341. package/dist/actions/list-users.mjs.map +1 -1
  342. package/dist/actions/list-vendors-accounts.cjs +3 -3
  343. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  344. package/dist/actions/list-vendors-accounts.d.cts +16 -4
  345. package/dist/actions/list-vendors-accounts.d.mts +16 -4
  346. package/dist/actions/list-vendors-accounts.mjs +3 -3
  347. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  348. package/dist/actions/list-vendors-contacts.cjs +3 -3
  349. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  350. package/dist/actions/list-vendors-contacts.d.cts +16 -4
  351. package/dist/actions/list-vendors-contacts.d.mts +16 -4
  352. package/dist/actions/list-vendors-contacts.mjs +3 -3
  353. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  354. package/dist/actions/list-vendors-credits.cjs +9 -9
  355. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  356. package/dist/actions/list-vendors-credits.d.cts +34 -22
  357. package/dist/actions/list-vendors-credits.d.mts +34 -22
  358. package/dist/actions/list-vendors-credits.mjs +9 -9
  359. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  360. package/dist/actions/list-vendors.cjs +5 -5
  361. package/dist/actions/list-vendors.cjs.map +1 -1
  362. package/dist/actions/list-vendors.d.cts +19 -7
  363. package/dist/actions/list-vendors.d.mts +19 -7
  364. package/dist/actions/list-vendors.mjs +5 -5
  365. package/dist/actions/list-vendors.mjs.map +1 -1
  366. package/dist/actions/list-webhooks.cjs +2 -2
  367. package/dist/actions/list-webhooks.cjs.map +1 -1
  368. package/dist/actions/list-webhooks.d.cts +15 -3
  369. package/dist/actions/list-webhooks.d.cts.map +1 -1
  370. package/dist/actions/list-webhooks.d.mts +15 -3
  371. package/dist/actions/list-webhooks.d.mts.map +1 -1
  372. package/dist/actions/list-webhooks.mjs +2 -2
  373. package/dist/actions/list-webhooks.mjs.map +1 -1
  374. package/dist/actions/options-for-custom-accounting-field.cjs +3 -3
  375. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  376. package/dist/actions/options-for-custom-accounting-field.d.cts +16 -4
  377. package/dist/actions/options-for-custom-accounting-field.d.mts +16 -4
  378. package/dist/actions/options-for-custom-accounting-field.mjs +3 -3
  379. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  380. package/dist/actions/patch-accounting-connection.cjs +2 -2
  381. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  382. package/dist/actions/patch-accounting-connection.d.cts +15 -3
  383. package/dist/actions/patch-accounting-connection.d.mts +15 -3
  384. package/dist/actions/patch-accounting-connection.mjs +2 -2
  385. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  386. package/dist/actions/patch-card-resource.cjs +1 -1
  387. package/dist/actions/patch-card-resource.cjs.map +1 -1
  388. package/dist/actions/patch-card-resource.d.cts +14 -2
  389. package/dist/actions/patch-card-resource.d.mts +14 -2
  390. package/dist/actions/patch-card-resource.mjs +1 -1
  391. package/dist/actions/patch-card-resource.mjs.map +1 -1
  392. package/dist/actions/patch-custom-field-option.cjs +1 -1
  393. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  394. package/dist/actions/patch-custom-field-option.d.cts +14 -2
  395. package/dist/actions/patch-custom-field-option.d.mts +14 -2
  396. package/dist/actions/patch-custom-field-option.mjs +1 -1
  397. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  398. package/dist/actions/patch-gl-account-resource.cjs +2 -2
  399. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  400. package/dist/actions/patch-gl-account-resource.d.cts +15 -3
  401. package/dist/actions/patch-gl-account-resource.d.mts +15 -3
  402. package/dist/actions/patch-gl-account-resource.mjs +2 -2
  403. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  404. package/dist/actions/patch-inventory-item-field.cjs +1 -1
  405. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  406. package/dist/actions/patch-inventory-item-field.d.cts +14 -2
  407. package/dist/actions/patch-inventory-item-field.d.mts +14 -2
  408. package/dist/actions/patch-inventory-item-field.mjs +1 -1
  409. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  410. package/dist/actions/post-accounting-accounts.cjs +4 -4
  411. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  412. package/dist/actions/post-accounting-accounts.d.cts +18 -5
  413. package/dist/actions/post-accounting-accounts.d.mts +18 -5
  414. package/dist/actions/post-accounting-accounts.mjs +4 -4
  415. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  416. package/dist/actions/post-accounting-connection.cjs +2 -2
  417. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  418. package/dist/actions/post-accounting-connection.d.cts +15 -3
  419. package/dist/actions/post-accounting-connection.d.mts +15 -3
  420. package/dist/actions/post-accounting-connection.mjs +2 -2
  421. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  422. package/dist/actions/post-accounting-vendors.cjs +4 -4
  423. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  424. package/dist/actions/post-accounting-vendors.d.cts +18 -5
  425. package/dist/actions/post-accounting-vendors.d.mts +18 -5
  426. package/dist/actions/post-accounting-vendors.mjs +4 -4
  427. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  428. package/dist/actions/post-inventory-item-options.cjs +3 -3
  429. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  430. package/dist/actions/post-inventory-item-options.d.cts +17 -4
  431. package/dist/actions/post-inventory-item-options.d.mts +17 -4
  432. package/dist/actions/post-inventory-item-options.mjs +3 -3
  433. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  434. package/dist/actions/post-physical-card.cjs +2 -2
  435. package/dist/actions/post-physical-card.cjs.map +1 -1
  436. package/dist/actions/post-physical-card.d.cts +16 -4
  437. package/dist/actions/post-physical-card.d.cts.map +1 -1
  438. package/dist/actions/post-physical-card.d.mts +16 -4
  439. package/dist/actions/post-physical-card.d.mts.map +1 -1
  440. package/dist/actions/post-physical-card.mjs +2 -2
  441. package/dist/actions/post-physical-card.mjs.map +1 -1
  442. package/dist/actions/reactivate-accounting-connection.cjs +2 -2
  443. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  444. package/dist/actions/reactivate-accounting-connection.d.cts +15 -3
  445. package/dist/actions/reactivate-accounting-connection.d.mts +15 -3
  446. package/dist/actions/reactivate-accounting-connection.mjs +2 -2
  447. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  448. package/dist/actions/reactivate-user.cjs +1 -1
  449. package/dist/actions/reactivate-user.cjs.map +1 -1
  450. package/dist/actions/reactivate-user.d.cts +14 -2
  451. package/dist/actions/reactivate-user.d.cts.map +1 -1
  452. package/dist/actions/reactivate-user.d.mts +14 -2
  453. package/dist/actions/reactivate-user.d.mts.map +1 -1
  454. package/dist/actions/reactivate-user.mjs +1 -1
  455. package/dist/actions/reactivate-user.mjs.map +1 -1
  456. package/dist/actions/submit-reimbursement-receipt.cjs +9 -9
  457. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  458. package/dist/actions/submit-reimbursement-receipt.d.cts +26 -14
  459. package/dist/actions/submit-reimbursement-receipt.d.mts +26 -14
  460. package/dist/actions/submit-reimbursement-receipt.mjs +9 -9
  461. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  462. package/dist/actions/suspend-card.cjs +1 -1
  463. package/dist/actions/suspend-card.cjs.map +1 -1
  464. package/dist/actions/suspend-card.d.cts +14 -2
  465. package/dist/actions/suspend-card.d.mts +14 -2
  466. package/dist/actions/suspend-card.mjs +1 -1
  467. package/dist/actions/suspend-card.mjs.map +1 -1
  468. package/dist/actions/terminate-card.cjs +1 -1
  469. package/dist/actions/terminate-card.cjs.map +1 -1
  470. package/dist/actions/terminate-card.d.cts +14 -2
  471. package/dist/actions/terminate-card.d.mts +14 -2
  472. package/dist/actions/terminate-card.mjs +1 -1
  473. package/dist/actions/terminate-card.mjs.map +1 -1
  474. package/dist/actions/update-accounting-field.cjs +1 -1
  475. package/dist/actions/update-accounting-field.cjs.map +1 -1
  476. package/dist/actions/update-accounting-field.d.cts +14 -2
  477. package/dist/actions/update-accounting-field.d.mts +14 -2
  478. package/dist/actions/update-accounting-field.mjs +1 -1
  479. package/dist/actions/update-accounting-field.mjs.map +1 -1
  480. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -1
  481. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  482. package/dist/actions/update-accounting-inventory-item-options.d.cts +14 -2
  483. package/dist/actions/update-accounting-inventory-item-options.d.mts +14 -2
  484. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -1
  485. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  486. package/dist/actions/update-accounting-tax-code-options.cjs +1 -1
  487. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  488. package/dist/actions/update-accounting-tax-code-options.d.cts +14 -2
  489. package/dist/actions/update-accounting-tax-code-options.d.mts +14 -2
  490. package/dist/actions/update-accounting-tax-code-options.mjs +1 -1
  491. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  492. package/dist/actions/update-accounting-tax-code.cjs +1 -1
  493. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  494. package/dist/actions/update-accounting-tax-code.d.cts +14 -2
  495. package/dist/actions/update-accounting-tax-code.d.mts +14 -2
  496. package/dist/actions/update-accounting-tax-code.mjs +1 -1
  497. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  498. package/dist/actions/update-accounting-tax-rate.cjs +1 -1
  499. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  500. package/dist/actions/update-accounting-tax-rate.d.cts +14 -2
  501. package/dist/actions/update-accounting-tax-rate.d.mts +14 -2
  502. package/dist/actions/update-accounting-tax-rate.mjs +1 -1
  503. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  504. package/dist/actions/update-accounting-vendor.cjs +2 -2
  505. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  506. package/dist/actions/update-accounting-vendor.d.cts +15 -3
  507. package/dist/actions/update-accounting-vendor.d.mts +15 -3
  508. package/dist/actions/update-accounting-vendor.mjs +2 -2
  509. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  510. package/dist/actions/update-card-limit.cjs +4 -4
  511. package/dist/actions/update-card-limit.cjs.map +1 -1
  512. package/dist/actions/update-card-limit.d.cts +17 -5
  513. package/dist/actions/update-card-limit.d.mts +17 -5
  514. package/dist/actions/update-card-limit.mjs +4 -4
  515. package/dist/actions/update-card-limit.mjs.map +1 -1
  516. package/dist/actions/update-department.cjs +1 -1
  517. package/dist/actions/update-department.cjs.map +1 -1
  518. package/dist/actions/update-department.d.cts +14 -2
  519. package/dist/actions/update-department.d.mts +14 -2
  520. package/dist/actions/update-department.mjs +1 -1
  521. package/dist/actions/update-department.mjs.map +1 -1
  522. package/dist/actions/update-limits.cjs +9 -9
  523. package/dist/actions/update-limits.cjs.map +1 -1
  524. package/dist/actions/update-limits.d.cts +28 -15
  525. package/dist/actions/update-limits.d.mts +28 -15
  526. package/dist/actions/update-limits.mjs +9 -9
  527. package/dist/actions/update-limits.mjs.map +1 -1
  528. package/dist/actions/update-user.cjs +1 -1
  529. package/dist/actions/update-user.cjs.map +1 -1
  530. package/dist/actions/update-user.d.cts +14 -2
  531. package/dist/actions/update-user.d.cts.map +1 -1
  532. package/dist/actions/update-user.d.mts +14 -2
  533. package/dist/actions/update-user.d.mts.map +1 -1
  534. package/dist/actions/update-user.mjs +1 -1
  535. package/dist/actions/update-user.mjs.map +1 -1
  536. package/dist/actions/upload-new-options.cjs +3 -3
  537. package/dist/actions/upload-new-options.cjs.map +1 -1
  538. package/dist/actions/upload-new-options.d.cts +17 -4
  539. package/dist/actions/upload-new-options.d.mts +17 -4
  540. package/dist/actions/upload-new-options.mjs +3 -3
  541. package/dist/actions/upload-new-options.mjs.map +1 -1
  542. package/dist/actions/upload-tax-code-options.cjs +3 -3
  543. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  544. package/dist/actions/upload-tax-code-options.d.cts +17 -4
  545. package/dist/actions/upload-tax-code-options.d.mts +17 -4
  546. package/dist/actions/upload-tax-code-options.mjs +3 -3
  547. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  548. package/dist/actions/upload-tax-rates.cjs +3 -3
  549. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  550. package/dist/actions/upload-tax-rates.d.cts +17 -4
  551. package/dist/actions/upload-tax-rates.d.mts +17 -4
  552. package/dist/actions/upload-tax-rates.mjs +3 -3
  553. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  554. package/dist/app.cjs +5 -2
  555. package/dist/app.cjs.map +1 -1
  556. package/dist/app.d.cts +9 -1
  557. package/dist/app.d.cts.map +1 -1
  558. package/dist/app.d.mts +9 -1
  559. package/dist/app.d.mts.map +1 -1
  560. package/dist/app.mjs +3 -1
  561. package/dist/app.mjs.map +1 -1
  562. package/dist/execute.cjs +1 -1
  563. package/dist/execute.cjs.map +1 -1
  564. package/dist/execute.mjs +1 -1
  565. package/dist/execute.mjs.map +1 -1
  566. package/package.json +1 -1
@@ -11,7 +11,7 @@ const RampPatchAccountingConnectionInput = z.object({
11
11
  const RampPatchAccountingConnection_PatchAccountingConnectionResponseSettingsSchema = z.object({
12
12
  vendor_credits_enabled: z.boolean().describe("Whether vendor credits are enabled").nullable(),
13
13
  transaction_sync_button_enabled: z.boolean().describe("Whether the transaction sync button is enabled").nullable()
14
- }).describe("Settings in the accounting connection response.");
14
+ }).passthrough().describe("Settings in the accounting connection response.");
15
15
  const rampPatchAccountingConnection = action("RAMP_PATCH_ACCOUNTING_CONNECTION", {
16
16
  slug: "ramp-patch-accounting-connection",
17
17
  name: "Update Accounting Connection",
@@ -27,7 +27,7 @@ const rampPatchAccountingConnection = action("RAMP_PATCH_ACCOUNTING_CONNECTION",
27
27
  connection_type: z.string().describe("The type of the accounting connection (API, CSV, or DIRECT)").nullable(),
28
28
  is_ready_to_migrate: z.boolean().describe("Whether the connection is marked as ready to migrate for ERP migration flow").nullable(),
29
29
  remote_provider_name: z.string().describe("The name of the remote accounting provider").nullable().optional()
30
- }).describe("Response from updating an accounting connection.")
30
+ }).passthrough().describe("Response from updating an accounting connection.")
31
31
  });
32
32
  //#endregion
33
33
  export { rampPatchAccountingConnection };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-accounting-connection.mjs","names":[],"sources":["../../src/actions/patch-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled for this connection\").optional(),\n}).describe(\"Settings for API-based accounting connections.\").optional(),\n connection_id: z.string().describe(\"The UUID of the accounting connection to update\"),\n}).describe(\"Request parameters to update an accounting connection.\");\nconst RampPatchAccountingConnection_PatchAccountingConnectionResponseSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled\").nullable(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled\").nullable(),\n}).describe(\"Settings in the accounting connection response.\");\nexport const RampPatchAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (failed_to_auth, linked, revoked, or unlinked)\").nullable(),\n settings: RampPatchAccountingConnection_PatchAccountingConnectionResponseSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (API, CSV, or DIRECT)\").nullable(),\n is_ready_to_migrate: z.boolean().describe(\"Whether the connection is marked as ready to migrate for ERP migration flow\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider\").nullable().optional(),\n}).describe(\"Response from updating an accounting connection.\");\n\nexport const rampPatchAccountingConnection = action(\"RAMP_PATCH_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-patch-accounting-connection\",\n name: \"Update Accounting Connection\",\n description: \"Tool to update an accounting connection's settings. Use when you need to modify configuration for API-based accounting connections. This endpoint is restricted to Accounting API based connections only.\",\n input: RampPatchAccountingConnectionInput,\n output: RampPatchAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO;EACnB,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,gFAAgF,EAAE,OAAO;CAC7F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAa7D,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,UAAU,8EAA8E,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC7G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAClI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-accounting-connection.mjs","names":[],"sources":["../../src/actions/patch-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled for this connection\").optional(),\n}).describe(\"Settings for API-based accounting connections.\").optional(),\n connection_id: z.string().describe(\"The UUID of the accounting connection to update\"),\n}).describe(\"Request parameters to update an accounting connection.\");\nconst RampPatchAccountingConnection_PatchAccountingConnectionResponseSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled\").nullable(),\n transaction_sync_button_enabled: z.boolean().describe(\"Whether the transaction sync button is enabled\").nullable(),\n}).passthrough().describe(\"Settings in the accounting connection response.\");\nexport const RampPatchAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (failed_to_auth, linked, revoked, or unlinked)\").nullable(),\n settings: RampPatchAccountingConnection_PatchAccountingConnectionResponseSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (API, CSV, or DIRECT)\").nullable(),\n is_ready_to_migrate: z.boolean().describe(\"Whether the connection is marked as ready to migrate for ERP migration flow\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider\").nullable().optional(),\n}).passthrough().describe(\"Response from updating an accounting connection.\");\n\nexport const rampPatchAccountingConnection = action(\"RAMP_PATCH_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-patch-accounting-connection\",\n name: \"Update Accounting Connection\",\n description: \"Tool to update an accounting connection's settings. Use when you need to modify configuration for API-based accounting connections. This endpoint is restricted to Accounting API based connections only.\",\n input: RampPatchAccountingConnectionInput,\n output: RampPatchAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO;CACzD,UAAU,EAAE,OAAO;EACnB,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAChH,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACtF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,gFAAgF,EAAE,OAAO;CAC7F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5F,iCAAiC,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAa3E,MAAa,gCAAgC,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;EACvI,UAAU,8EAA8E,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC7G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAClI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -32,7 +32,7 @@ const RampPatchCardResourceInput = zod.z.object({
32
32
  const RampPatchCardResourceOutput = zod.z.object({
33
33
  card_id: zod.z.string().describe("UUID of the updated card").nullable(),
34
34
  success: zod.z.boolean().default(true).describe("Indicates the card update operation completed successfully").nullable().optional()
35
- }).describe("Response for card update operation.");
35
+ }).passthrough().describe("Response for card update operation.");
36
36
  const rampPatchCardResource = require_action.action("RAMP_PATCH_CARD_RESOURCE", {
37
37
  slug: "ramp-patch-card-resource",
38
38
  name: "Update Card",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-card-resource.cjs","names":["z","action"],"sources":["../../src/actions/patch-card-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCardResourceInput = z.object({\n card_id: z.string().describe(\"UUID of the card to update\"),\n entity_id: z.string().describe(\"Specify ID to update associated business entity (UUID format)\").optional(),\n new_user_id: z.string().describe(\"Specify ID for new card owner (UUID format)\").optional(),\n display_name: z.string().describe(\"Cosmetic display name of the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents. Only the fields to be modified need to be passed.\").optional(),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Only fields to be modified need to be passed.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval options.\").optional(),\n lock_date: z.string().describe(\"Date when the card will be automatically locked (format: YYYY-MM-DD). Only fields to be modified need to be passed.\").optional(),\n policy_id: z.string().describe(\"Policy ID to associate with the card. Only fields to be modified need to be passed.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes. Only fields to be modified need to be passed.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs. Only fields to be modified need to be passed.\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs. Only fields to be modified need to be passed.\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes (MCC). Only fields to be modified need to be passed.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blacklisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of whitelisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction. Only fields to be modified need to be passed.\").optional(),\n}).describe(\"Spending restrictions to update for the card.\").optional(),\n has_notifications_enabled: z.boolean().describe(\"Flag to enable or disable notifications for this card\").optional(),\n}).describe(\"Request parameters to update a card.\");\nexport const RampPatchCardResourceOutput = z.object({\n card_id: z.string().describe(\"UUID of the updated card\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates the card update operation completed successfully\").nullable().optional(),\n}).describe(\"Response for card update operation.\");\n\nexport const rampPatchCardResource = action(\"RAMP_PATCH_CARD_RESOURCE\", {\n slug: \"ramp-patch-card-resource\",\n name: \"Update Card\",\n description: \"Tool to update a card's properties including owner, display name, and spending restrictions. Use when you need to modify card settings or reassign card ownership.\",\n input: RampPatchCardResourceInput,\n output: RampPatchCardResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,uBAAuBA,IAAAA,EAAE,OAAO;EAChC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC5I,UAAUA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAU;GAAW;GAAa;GAAU;EAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAC/J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC/H,YAAYA,IAAAA,E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AAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-card-resource.cjs","names":["z","action"],"sources":["../../src/actions/patch-card-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCardResourceInput = z.object({\n card_id: z.string().describe(\"UUID of the card to update\"),\n entity_id: z.string().describe(\"Specify ID to update associated business entity (UUID format)\").optional(),\n new_user_id: z.string().describe(\"Specify ID for new card owner (UUID format)\").optional(),\n display_name: z.string().describe(\"Cosmetic display name of the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents. Only the fields to be modified need to be passed.\").optional(),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Only fields to be modified need to be passed.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval options.\").optional(),\n lock_date: z.string().describe(\"Date when the card will be automatically locked (format: YYYY-MM-DD). Only fields to be modified need to be passed.\").optional(),\n policy_id: z.string().describe(\"Policy ID to associate with the card. Only fields to be modified need to be passed.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes. Only fields to be modified need to be passed.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs. Only fields to be modified need to be passed.\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs. Only fields to be modified need to be passed.\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes (MCC). Only fields to be modified need to be passed.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blacklisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of whitelisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction. Only fields to be modified need to be passed.\").optional(),\n}).describe(\"Spending restrictions to update for the card.\").optional(),\n has_notifications_enabled: z.boolean().describe(\"Flag to enable or disable notifications for this card\").optional(),\n}).describe(\"Request parameters to update a card.\");\nexport const RampPatchCardResourceOutput = z.object({\n card_id: z.string().describe(\"UUID of the updated card\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates the card update operation completed successfully\").nullable().optional(),\n}).passthrough().describe(\"Response for card update operation.\");\n\nexport const rampPatchCardResource = action(\"RAMP_PATCH_CARD_RESOURCE\", {\n slug: \"ramp-patch-card-resource\",\n name: \"Update Card\",\n description: \"Tool to update a card's properties including owner, display name, and spending restrictions. Use when you need to modify card settings or reassign card ownership.\",\n input: RampPatchCardResourceInput,\n output: RampPatchCardResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACzD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAChF,uBAAuBA,IAAAA,EAAE,OAAO;EAChC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAChI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC5I,UAAUA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAU;GAAW;GAAa;GAAU;EAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,q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Q,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -32,7 +32,7 @@ declare const RampPatchCardResourceInput: z.ZodObject<{
32
32
  declare const RampPatchCardResourceOutput: z.ZodObject<{
33
33
  card_id: z.ZodNullable<z.ZodString>;
34
34
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const rampPatchCardResource: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  card_id: string;
38
38
  entity_id?: string | undefined;
@@ -53,7 +53,19 @@ declare const rampPatchCardResource: import("@keystrokehq/action").WorkflowActio
53
53
  transaction_amount_limit?: number | undefined;
54
54
  } | undefined;
55
55
  has_notifications_enabled?: boolean | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ accessToken: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { rampPatchCardResource };
59
71
  //# sourceMappingURL=patch-card-resource.d.cts.map
@@ -32,7 +32,7 @@ declare const RampPatchCardResourceInput: z.ZodObject<{
32
32
  declare const RampPatchCardResourceOutput: z.ZodObject<{
33
33
  card_id: z.ZodNullable<z.ZodString>;
34
34
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
35
- }, z.core.$strip>;
35
+ }, z.core.$loose>;
36
36
  declare const rampPatchCardResource: import("@keystrokehq/action").WorkflowActionDefinition<{
37
37
  card_id: string;
38
38
  entity_id?: string | undefined;
@@ -53,7 +53,19 @@ declare const rampPatchCardResource: import("@keystrokehq/action").WorkflowActio
53
53
  transaction_amount_limit?: number | undefined;
54
54
  } | undefined;
55
55
  has_notifications_enabled?: boolean | undefined;
56
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
57
+ connectionId: z.ZodString;
58
+ entityId: z.ZodString;
59
+ instanceId: z.ZodString;
60
+ }, z.core.$strip>, z.ZodObject<{
61
+ accessToken: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ accessToken: z.ZodString;
68
+ }, z.core.$strip>>]>;
57
69
  //#endregion
58
70
  export { rampPatchCardResource };
59
71
  //# sourceMappingURL=patch-card-resource.d.mts.map
@@ -35,7 +35,7 @@ const rampPatchCardResource = action("RAMP_PATCH_CARD_RESOURCE", {
35
35
  output: z.object({
36
36
  card_id: z.string().describe("UUID of the updated card").nullable(),
37
37
  success: z.boolean().default(true).describe("Indicates the card update operation completed successfully").nullable().optional()
38
- }).describe("Response for card update operation.")
38
+ }).passthrough().describe("Response for card update operation.")
39
39
  });
40
40
  //#endregion
41
41
  export { rampPatchCardResource };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-card-resource.mjs","names":[],"sources":["../../src/actions/patch-card-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCardResourceInput = z.object({\n card_id: z.string().describe(\"UUID of the card to update\"),\n entity_id: z.string().describe(\"Specify ID to update associated business entity (UUID format)\").optional(),\n new_user_id: z.string().describe(\"Specify ID for new card owner (UUID format)\").optional(),\n display_name: z.string().describe(\"Cosmetic display name of the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents. Only the fields to be modified need to be passed.\").optional(),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Only fields to be modified need to be passed.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval options.\").optional(),\n lock_date: z.string().describe(\"Date when the card will be automatically locked (format: YYYY-MM-DD). Only fields to be modified need to be passed.\").optional(),\n policy_id: z.string().describe(\"Policy ID to associate with the card. Only fields to be modified need to be passed.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes. Only fields to be modified need to be passed.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs. Only fields to be modified need to be passed.\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs. Only fields to be modified need to be passed.\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes (MCC). Only fields to be modified need to be passed.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blacklisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of whitelisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction. Only fields to be modified need to be passed.\").optional(),\n}).describe(\"Spending restrictions to update for the card.\").optional(),\n has_notifications_enabled: z.boolean().describe(\"Flag to enable or disable notifications for this card\").optional(),\n}).describe(\"Request parameters to update a card.\");\nexport const RampPatchCardResourceOutput = z.object({\n card_id: z.string().describe(\"UUID of the updated card\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates the card update operation completed successfully\").nullable().optional(),\n}).describe(\"Response for card update operation.\");\n\nexport const rampPatchCardResource = action(\"RAMP_PATCH_CARD_RESOURCE\", {\n slug: \"ramp-patch-card-resource\",\n name: \"Update Card\",\n description: \"Tool to update a card's properties including owner, display name, and spending restrictions. Use when you need to modify card settings or reassign card ownership.\",\n input: RampPatchCardResourceInput,\n output: RampPatchCardResourceOutput,\n});\n"],"mappings":";;AA8BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,uBAAuB,EAAE,OAAO;GAChC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;GAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;GAC5I,UAAU,EAAE,KAAK;IAAC;IAAS;IAAU;IAAW;IAAa;IAAU;GAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;GAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;GAC/H,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;GAClJ,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACrI,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACrI,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;GACzJ,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;GAChK,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;GAChK,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClK,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpE,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-card-resource.mjs","names":[],"sources":["../../src/actions/patch-card-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCardResourceInput = z.object({\n card_id: z.string().describe(\"UUID of the card to update\"),\n entity_id: z.string().describe(\"Specify ID to update associated business entity (UUID format)\").optional(),\n new_user_id: z.string().describe(\"Specify ID for new card owner (UUID format)\").optional(),\n display_name: z.string().describe(\"Cosmetic display name of the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents. Only the fields to be modified need to be passed.\").optional(),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Only fields to be modified need to be passed.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval options.\").optional(),\n lock_date: z.string().describe(\"Date when the card will be automatically locked (format: YYYY-MM-DD). Only fields to be modified need to be passed.\").optional(),\n policy_id: z.string().describe(\"Policy ID to associate with the card. Only fields to be modified need to be passed.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes. Only fields to be modified need to be passed.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs. Only fields to be modified need to be passed.\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs. Only fields to be modified need to be passed.\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes (MCC). Only fields to be modified need to be passed.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blacklisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of whitelisted merchant category codes. Only fields to be modified need to be passed.\").optional(),\n transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction. Only fields to be modified need to be passed.\").optional(),\n}).describe(\"Spending restrictions to update for the card.\").optional(),\n has_notifications_enabled: z.boolean().describe(\"Flag to enable or disable notifications for this card\").optional(),\n}).describe(\"Request parameters to update a card.\");\nexport const RampPatchCardResourceOutput = z.object({\n card_id: z.string().describe(\"UUID of the updated card\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates the card update operation completed successfully\").nullable().optional(),\n}).passthrough().describe(\"Response for card update operation.\");\n\nexport const rampPatchCardResource = action(\"RAMP_PATCH_CARD_RESOURCE\", {\n slug: \"ramp-patch-card-resource\",\n name: \"Update Card\",\n description: \"Tool to update a card's properties including owner, display name, and spending restrictions. Use when you need to modify card settings or reassign card ownership.\",\n input: RampPatchCardResourceInput,\n output: RampPatchCardResourceOutput,\n});\n"],"mappings":";;AA8BA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9BwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAChF,uBAAuB,EAAE,OAAO;GAChC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;GAChI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;GAC5I,UAAU,EAAE,KAAK;IAAC;IAAS;IAAU;IAAW;IAAa;IAAU;GAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;GAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;GAC/H,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;GAClJ,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACrI,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;GACrI,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;GACzJ,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;GAChK,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;GAChK,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;EAClK,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACpE,2BAA2B,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sCAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -21,7 +21,7 @@ const RampPatchCustomFieldOptionOutput = zod.z.object({
21
21
  display_name: zod.z.string().describe("Display name of the custom field option.").nullable().optional(),
22
22
  provider_name: zod.z.string().describe("Name of the accounting connection that the custom accounting field option belongs to.").nullable().optional(),
23
23
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the custom accounting field option belongs to.").nullable()
24
- }).describe("Response from updating a custom accounting field option.");
24
+ }).passthrough().describe("Response from updating a custom accounting field option.");
25
25
  const rampPatchCustomFieldOption = require_action.action("RAMP_PATCH_CUSTOM_FIELD_OPTION", {
26
26
  slug: "ramp-patch-custom-field-option",
27
27
  name: "Update Custom Field Option",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-custom-field-option.cjs","names":["z","action"],"sources":["../../src/actions/patch-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCustomFieldOptionInput = z.object({\n code: z.string().describe(\"Code of the custom accounting field option. Only available if not using a direct ERP integration. Provide an empty string to reset the code.\").optional(),\n value: z.string().describe(\"Name of the custom accounting field option. Only available if not using a direct ERP integration.\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted custom field option. Only available if not using a direct ERP integration. Must be true if provided.\").optional(),\n visibility: z.enum([\"HIDDEN\", \"VISIBLE\"]).describe(\"Visibility status for custom field option.\").optional(),\n display_name: z.string().describe(\"Update the display name of the custom field option. Available to all users.\").optional(),\n field_option_id: z.string().describe(\"UUID of the custom accounting field option to update.\"),\n});\nexport const RampPatchCustomFieldOptionOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\").nullable().optional(),\n code: z.string().describe(\"Code of the custom field option; usually it is a unique identifier for the custom field option in the remote ERP system.\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field option.\").nullable().optional(),\n ramp_id: z.string().describe(\"ID to uniquely identify a custom field option within Ramp system.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the custom field option (HIDDEN or VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the custom field option.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field option belongs to.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting field option belongs to.\").nullable(),\n}).describe(\"Response from updating a custom accounting field option.\");\n\nexport const rampPatchCustomFieldOption = action(\"RAMP_PATCH_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-patch-custom-field-option\",\n name: \"Update Custom Field Option\",\n description: \"Tool to update a custom accounting field option. Use when you need to modify display name, code, value, or visibility of an existing field option.\",\n input: RampPatchCustomFieldOptionInput,\n output: RampPatchCustomFieldOptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACzI,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACvK,YAAYA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC9F,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-custom-field-option.cjs","names":["z","action"],"sources":["../../src/actions/patch-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCustomFieldOptionInput = z.object({\n code: z.string().describe(\"Code of the custom accounting field option. Only available if not using a direct ERP integration. Provide an empty string to reset the code.\").optional(),\n value: z.string().describe(\"Name of the custom accounting field option. Only available if not using a direct ERP integration.\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted custom field option. Only available if not using a direct ERP integration. Must be true if provided.\").optional(),\n visibility: z.enum([\"HIDDEN\", \"VISIBLE\"]).describe(\"Visibility status for custom field option.\").optional(),\n display_name: z.string().describe(\"Update the display name of the custom field option. Available to all users.\").optional(),\n field_option_id: z.string().describe(\"UUID of the custom accounting field option to update.\"),\n});\nexport const RampPatchCustomFieldOptionOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\").nullable().optional(),\n code: z.string().describe(\"Code of the custom field option; usually it is a unique identifier for the custom field option in the remote ERP system.\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field option.\").nullable().optional(),\n ramp_id: z.string().describe(\"ID to uniquely identify a custom field option within Ramp system.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the custom field option (HIDDEN or VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the custom field option.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field option belongs to.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting field option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a custom accounting field option.\");\n\nexport const rampPatchCustomFieldOption = action(\"RAMP_PATCH_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-patch-custom-field-option\",\n name: \"Update Custom Field Option\",\n description: \"Tool to update a custom accounting field option. Use when you need to modify display name, code, value, or visibility of an existing field option.\",\n input: RampPatchCustomFieldOptionInput,\n output: RampPatchCustomFieldOptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAA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,SAAS;CAClG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,7 +24,7 @@ declare const RampPatchCustomFieldOptionOutput: z.ZodObject<{
24
24
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  accounting_connection_id: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const rampPatchCustomFieldOption: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  field_option_id: string;
30
30
  code?: string | undefined;
@@ -32,7 +32,19 @@ declare const rampPatchCustomFieldOption: import("@keystrokehq/action").Workflow
32
32
  reactivate?: boolean | undefined;
33
33
  visibility?: "HIDDEN" | "VISIBLE" | undefined;
34
34
  display_name?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { rampPatchCustomFieldOption };
38
50
  //# sourceMappingURL=patch-custom-field-option.d.cts.map
@@ -24,7 +24,7 @@ declare const RampPatchCustomFieldOptionOutput: z.ZodObject<{
24
24
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  accounting_connection_id: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const rampPatchCustomFieldOption: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  field_option_id: string;
30
30
  code?: string | undefined;
@@ -32,7 +32,19 @@ declare const rampPatchCustomFieldOption: import("@keystrokehq/action").Workflow
32
32
  reactivate?: boolean | undefined;
33
33
  visibility?: "HIDDEN" | "VISIBLE" | undefined;
34
34
  display_name?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { rampPatchCustomFieldOption };
38
50
  //# sourceMappingURL=patch-custom-field-option.d.mts.map
@@ -24,7 +24,7 @@ const rampPatchCustomFieldOption = action("RAMP_PATCH_CUSTOM_FIELD_OPTION", {
24
24
  display_name: z.string().describe("Display name of the custom field option.").nullable().optional(),
25
25
  provider_name: z.string().describe("Name of the accounting connection that the custom accounting field option belongs to.").nullable().optional(),
26
26
  accounting_connection_id: z.string().describe("ID of the accounting connection that the custom accounting field option belongs to.").nullable()
27
- }).describe("Response from updating a custom accounting field option.")
27
+ }).passthrough().describe("Response from updating a custom accounting field option.")
28
28
  });
29
29
  //#endregion
30
30
  export { rampPatchCustomFieldOption };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-custom-field-option.mjs","names":[],"sources":["../../src/actions/patch-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCustomFieldOptionInput = z.object({\n code: z.string().describe(\"Code of the custom accounting field option. Only available if not using a direct ERP integration. Provide an empty string to reset the code.\").optional(),\n value: z.string().describe(\"Name of the custom accounting field option. Only available if not using a direct ERP integration.\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted custom field option. Only available if not using a direct ERP integration. Must be true if provided.\").optional(),\n visibility: z.enum([\"HIDDEN\", \"VISIBLE\"]).describe(\"Visibility status for custom field option.\").optional(),\n display_name: z.string().describe(\"Update the display name of the custom field option. Available to all users.\").optional(),\n field_option_id: z.string().describe(\"UUID of the custom accounting field option to update.\"),\n});\nexport const RampPatchCustomFieldOptionOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\").nullable().optional(),\n code: z.string().describe(\"Code of the custom field option; usually it is a unique identifier for the custom field option in the remote ERP system.\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field option.\").nullable().optional(),\n ramp_id: z.string().describe(\"ID to uniquely identify a custom field option within Ramp system.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the custom field option (HIDDEN or VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the custom field option.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field option belongs to.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting field option belongs to.\").nullable(),\n}).describe(\"Response from updating a custom accounting field option.\");\n\nexport const rampPatchCustomFieldOption = action(\"RAMP_PATCH_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-patch-custom-field-option\",\n name: \"Update Custom Field Option\",\n description: \"Tool to update a custom accounting field option. Use when you need to modify display name, code, value, or visibility of an existing field option.\",\n input: RampPatchCustomFieldOptionInput,\n output: RampPatchCustomFieldOptionOutput,\n});\n"],"mappings":";;AA0BA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;EACvK,YAAY,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC9F,CAmBS;CACP,QAnB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-custom-field-option.mjs","names":[],"sources":["../../src/actions/patch-custom-field-option.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchCustomFieldOptionInput = z.object({\n code: z.string().describe(\"Code of the custom accounting field option. Only available if not using a direct ERP integration. Provide an empty string to reset the code.\").optional(),\n value: z.string().describe(\"Name of the custom accounting field option. Only available if not using a direct ERP integration.\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted custom field option. Only available if not using a direct ERP integration. Must be true if provided.\").optional(),\n visibility: z.enum([\"HIDDEN\", \"VISIBLE\"]).describe(\"Visibility status for custom field option.\").optional(),\n display_name: z.string().describe(\"Update the display name of the custom field option. Available to all users.\").optional(),\n field_option_id: z.string().describe(\"UUID of the custom accounting field option to update.\"),\n});\nexport const RampPatchCustomFieldOptionOutput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field option from ERP system.\").nullable().optional(),\n code: z.string().describe(\"Code of the custom field option; usually it is a unique identifier for the custom field option in the remote ERP system.\").nullable().optional(),\n value: z.string().describe(\"Value of the custom field option.\").nullable().optional(),\n ramp_id: z.string().describe(\"ID to uniquely identify a custom field option within Ramp system.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the field option is currently active.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the field option was created.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the field option was last updated.\").nullable().optional(),\n visibility: z.string().describe(\"Visibility of the custom field option (HIDDEN or VISIBLE).\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the custom field option.\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the custom accounting field option belongs to.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the custom accounting field option belongs to.\").nullable(),\n}).passthrough().describe(\"Response from updating a custom accounting field option.\");\n\nexport const rampPatchCustomFieldOption = action(\"RAMP_PATCH_CUSTOM_FIELD_OPTION\", {\n slug: \"ramp-patch-custom-field-option\",\n name: \"Update Custom Field Option\",\n description: \"Tool to update a custom accounting field option. Use when you need to modify display name, code, value, or visibility of an existing field option.\",\n input: RampPatchCustomFieldOptionInput,\n output: RampPatchCustomFieldOptionOutput,\n});\n"],"mappings":";;AA0BA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACzI,YAAY,EAAE,QAA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C,CAAC,SAAS;CAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const RampPatchGlAccountResource_GLAccountCategoryInfoSchema = zod.z.object({
11
11
  id: zod.z.string().describe("Remote/external ID of the category").nullable().optional(),
12
12
  name: zod.z.string().describe("Name of the category").nullable().optional(),
13
13
  ramp_id: zod.z.string().describe("Ramp's internal UUID for the category").nullable().optional()
14
- }).describe("Category information for a general ledger account.");
14
+ }).passthrough().describe("Category information for a general ledger account.");
15
15
  const RampPatchGlAccountResourceOutput = zod.z.object({
16
16
  id: zod.z.string().describe("Remote/external ID of GL account in ERP system").nullable().optional(),
17
17
  code: zod.z.string().describe("Account code (e.g., '1500-UPDATED', '6410', '400-100')").nullable().optional(),
@@ -24,7 +24,7 @@ const RampPatchGlAccountResourceOutput = zod.z.object({
24
24
  classification: zod.z.string().describe("Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY, EQUITY)").nullable().optional(),
25
25
  accounting_connection_id: zod.z.string().describe("UUID of the accounting connection that the GL account is uploaded to").nullable(),
26
26
  gl_account_category_info: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional()
27
- }).describe("Response containing the updated general ledger account details.");
27
+ }).passthrough().describe("Response containing the updated general ledger account details.");
28
28
  const rampPatchGlAccountResource = require_action.action("RAMP_PATCH_GL_ACCOUNT_RESOURCE", {
29
29
  slug: "ramp-patch-gl-account-resource",
30
30
  name: "Update General Ledger Account",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-gl-account-resource.cjs","names":["z","action"],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_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 RampPatchGlAccountResourceOutput = 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., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\").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, EQUITY)\").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: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings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E,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/H,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAE7E,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-gl-account-resource.cjs","names":["z","action"],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_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 RampPatchGlAccountResourceOutput = 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., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\").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, EQUITY)\").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: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,eAAeA,IAAAA,EAAE,OAAO,C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AAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC/H,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,14 +22,26 @@ declare const RampPatchGlAccountResourceOutput: z.ZodObject<{
22
22
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
27
  declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  gl_account_id: string;
29
29
  code?: string | undefined;
30
30
  name?: string | undefined;
31
31
  reactivate?: boolean | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { rampPatchGlAccountResource };
35
47
  //# sourceMappingURL=patch-gl-account-resource.d.cts.map
@@ -22,14 +22,26 @@ declare const RampPatchGlAccountResourceOutput: z.ZodObject<{
22
22
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
27
  declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  gl_account_id: string;
29
29
  code?: string | undefined;
30
30
  name?: string | undefined;
31
31
  reactivate?: boolean | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { rampPatchGlAccountResource };
35
47
  //# sourceMappingURL=patch-gl-account-resource.d.mts.map
@@ -11,7 +11,7 @@ const RampPatchGlAccountResource_GLAccountCategoryInfoSchema = z.object({
11
11
  id: z.string().describe("Remote/external ID of the category").nullable().optional(),
12
12
  name: z.string().describe("Name of the category").nullable().optional(),
13
13
  ramp_id: z.string().describe("Ramp's internal UUID for the category").nullable().optional()
14
- }).describe("Category information for a general ledger account.");
14
+ }).passthrough().describe("Category information for a general ledger account.");
15
15
  const rampPatchGlAccountResource = action("RAMP_PATCH_GL_ACCOUNT_RESOURCE", {
16
16
  slug: "ramp-patch-gl-account-resource",
17
17
  name: "Update General Ledger Account",
@@ -29,7 +29,7 @@ const rampPatchGlAccountResource = action("RAMP_PATCH_GL_ACCOUNT_RESOURCE", {
29
29
  classification: z.string().describe("Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY, EQUITY)").nullable().optional(),
30
30
  accounting_connection_id: z.string().describe("UUID of the accounting connection that the GL account is uploaded to").nullable(),
31
31
  gl_account_category_info: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional()
32
- }).describe("Response containing the updated general ledger account details.")
32
+ }).passthrough().describe("Response containing the updated general ledger account details.")
33
33
  });
34
34
  //#endregion
35
35
  export { rampPatchGlAccountResource };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-gl-account-resource.mjs","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_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 RampPatchGlAccountResourceOutput = 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., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\").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, EQUITY)\").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: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,E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G,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-gl-account-resource.mjs","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_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 RampPatchGlAccountResourceOutput = 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., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\").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, EQUITY)\").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: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAe9E,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/H,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const RampPatchInventoryItemFieldOutput = zod.z.object({
11
11
  ramp_id: zod.z.string().describe("Unique identifier for the inventory item field within Ramp system.").nullable(),
12
12
  display_name: zod.z.string().describe("Display name of the inventory item field on Ramp.").nullable().optional(),
13
13
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item field is associated with.").nullable()
14
- }).describe("Response from updating inventory item accounting field.");
14
+ }).passthrough().describe("Response from updating inventory item accounting field.");
15
15
  const rampPatchInventoryItemField = require_action.action("RAMP_PATCH_INVENTORY_ITEM_FIELD", {
16
16
  slug: "ramp-patch-inventory-item-field",
17
17
  name: "Update Inventory Item Field",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,11 +11,23 @@ declare const RampPatchInventoryItemFieldOutput: z.ZodObject<{
11
11
  ramp_id: z.ZodNullable<z.ZodString>;
12
12
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  accounting_connection_id: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  name: string;
17
17
  display_name?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ accessToken: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ accessToken: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { rampPatchInventoryItemField };
21
33
  //# sourceMappingURL=patch-inventory-item-field.d.cts.map
@@ -11,11 +11,23 @@ declare const RampPatchInventoryItemFieldOutput: z.ZodObject<{
11
11
  ramp_id: z.ZodNullable<z.ZodString>;
12
12
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  accounting_connection_id: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  name: string;
17
17
  display_name?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ accessToken: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ accessToken: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { rampPatchInventoryItemField };
21
33
  //# sourceMappingURL=patch-inventory-item-field.d.mts.map
@@ -14,7 +14,7 @@ const rampPatchInventoryItemField = action("RAMP_PATCH_INVENTORY_ITEM_FIELD", {
14
14
  ramp_id: z.string().describe("Unique identifier for the inventory item field within Ramp system.").nullable(),
15
15
  display_name: z.string().describe("Display name of the inventory item field on Ramp.").nullable().optional(),
16
16
  accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item field is associated with.").nullable()
17
- }).describe("Response from updating inventory item accounting field.")
17
+ }).passthrough().describe("Response from updating inventory item accounting field.")
18
18
  });
19
19
  //#endregion
20
20
  export { rampPatchInventoryItemField };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.mjs","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-inventory-item-field.mjs","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}