@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
@@ -59,7 +59,7 @@ declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
59
59
  attendees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
60
60
  name: z.ZodNullable<z.ZodString>;
61
61
  user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
- }, z.core.$strip>>>>;
62
+ }, z.core.$loose>>>>;
63
63
  direction: z.ZodNullable<z.ZodEnum<{
64
64
  BUSINESS_TO_USER: "BUSINESS_TO_USER";
65
65
  USER_TO_BUSINESS: "USER_TO_BUSINESS";
@@ -73,23 +73,23 @@ declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
73
73
  amount: z.ZodNullable<z.ZodObject<{
74
74
  amount: z.ZodNullable<z.ZodNumber>;
75
75
  currency_code: z.ZodNullable<z.ZodString>;
76
- }, z.core.$strip>>;
76
+ }, z.core.$loose>>;
77
77
  accounting_field_selections: z.ZodArray<z.ZodObject<{
78
78
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- source: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
81
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
82
82
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
83
  category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
84
84
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
86
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
87
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, z.core.$strip>>>;
88
+ }, z.core.$loose>>>;
89
89
  external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
90
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
- }, z.core.$strip>>;
92
- }, z.core.$strip>>>>;
91
+ }, z.core.$loose>>;
92
+ }, z.core.$loose>>>>;
93
93
  payment_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
94
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
95
  user_email: z.ZodNullable<z.ZodString>;
@@ -106,12 +106,12 @@ declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
106
106
  amount: z.ZodNullable<z.ZodNumber>;
107
107
  currency_code: z.ZodNullable<z.ZodString>;
108
108
  minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
- }, z.core.$strip>>>;
109
+ }, z.core.$loose>>>;
110
110
  submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
111
111
  expense_group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
112
112
  id: z.ZodNullable<z.ZodString>;
113
113
  name: z.ZodNullable<z.ZodString>;
114
- }, z.core.$strip>>>;
114
+ }, z.core.$loose>>>;
115
115
  spend_limit_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
116
  start_location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
117
117
  user_full_name: z.ZodNullable<z.ZodString>;
@@ -123,23 +123,23 @@ declare const RampCreateMileageReimbursementOutput: z.ZodObject<{
123
123
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
124
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
125
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
126
- source: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
126
+ source: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
127
127
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
128
  category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
129
129
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
130
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
131
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
132
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
- }, z.core.$strip>>>;
133
+ }, z.core.$loose>>>;
134
134
  external_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
135
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
- }, z.core.$strip>>>>;
136
+ }, z.core.$loose>>>>;
137
137
  original_reimbursement_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
138
138
  amount: z.ZodNullable<z.ZodNumber>;
139
139
  currency_code: z.ZodNullable<z.ZodString>;
140
140
  minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
141
- }, z.core.$strip>>>;
142
- }, z.core.$strip>;
141
+ }, z.core.$loose>>>;
142
+ }, z.core.$loose>;
143
143
  declare const rampCreateMileageReimbursement: import("@keystrokehq/action").WorkflowActionDefinition<{
144
144
  memo: string;
145
145
  distance: string | number;
@@ -149,7 +149,19 @@ declare const rampCreateMileageReimbursement: import("@keystrokehq/action").Work
149
149
  end_location?: string | undefined;
150
150
  distance_units?: "KILOMETERS" | "MILES" | undefined;
151
151
  start_location?: string | undefined;
152
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
152
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
153
+ connectionId: z.ZodString;
154
+ entityId: z.ZodString;
155
+ instanceId: z.ZodString;
156
+ }, z.core.$strip>, z.ZodObject<{
157
+ accessToken: z.ZodString;
158
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
159
+ connectionId: z.ZodString;
160
+ entityId: z.ZodString;
161
+ instanceId: z.ZodString;
162
+ }, z.core.$strip>, z.ZodObject<{
163
+ accessToken: z.ZodString;
164
+ }, z.core.$strip>>]>;
153
165
  //#endregion
154
166
  export { rampCreateMileageReimbursement };
155
167
  //# sourceMappingURL=create-mileage-reimbursement.d.mts.map
@@ -46,33 +46,33 @@ const RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([
46
46
  const RampCreateMileageReimbursement_AttendeeSchema = z.object({
47
47
  name: z.string().describe("Name of the attendee").nullable(),
48
48
  user_id: z.string().describe("User ID of the attendee if they are a Ramp user").nullable().optional()
49
- }).describe("Attendee information for a reimbursement.");
49
+ }).passthrough().describe("Attendee information for a reimbursement.");
50
50
  const RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum(["BUSINESS_TO_USER", "USER_TO_BUSINESS"]).describe("Direction of the reimbursement.");
51
51
  const RampCreateMileageReimbursement_LineItemAmountSchema = z.object({
52
52
  amount: z.number().int().describe("Numeric value of the line item amount in minor currency units").nullable(),
53
53
  currency_code: z.string().describe("Currency code for the line item").nullable()
54
- }).describe("Amount object for a line item.");
54
+ }).passthrough().describe("Amount object for a line item.");
55
55
  const RampCreateMileageReimbursement_CategoryInfoSchema = z.object({
56
56
  id: z.string().describe("Internal identifier for the category").nullable().optional(),
57
57
  name: z.string().describe("Name of the category").nullable().optional(),
58
58
  type: z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
59
59
  external_id: z.string().describe("External identifier for the category").nullable().optional()
60
- }).describe("Category information for an accounting field.");
60
+ }).passthrough().describe("Category information for an accounting field.");
61
61
  const RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({
62
62
  id: z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
63
63
  name: z.string().describe("Name of the accounting field selection").nullable().optional(),
64
64
  type: z.string().describe("Type of the accounting field selection").nullable().optional(),
65
- source: z.object({}).describe("Source information for the accounting field selection").nullable().optional(),
65
+ source: z.record(z.string(), z.unknown()).describe("Source information for the accounting field selection").nullable().optional(),
66
66
  external_id: z.string().describe("External identifier for the accounting field selection").nullable().optional(),
67
67
  category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),
68
68
  external_code: z.string().describe("External code for the accounting field selection").nullable().optional(),
69
69
  provider_name: z.string().describe("Provider name for the accounting field selection").nullable().optional()
70
- }).describe("Accounting field selection with category information.");
70
+ }).passthrough().describe("Accounting field selection with category information.");
71
71
  const RampCreateMileageReimbursement_LineItemSchema = z.object({
72
72
  memo: z.string().describe("Memo for this line item").nullable().optional(),
73
73
  amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),
74
74
  accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe("Accounting field selections for this line item")
75
- }).describe("Individual line item within a reimbursement.");
75
+ }).passthrough().describe("Individual line item within a reimbursement.");
76
76
  const RampCreateMileageReimbursement_SyncStatusSchema = z.enum([
77
77
  "NOT_SYNC_READY",
78
78
  "SYNCED",
@@ -82,11 +82,11 @@ const RampCreateMileageReimbursement_MoneyAmountSchema = z.object({
82
82
  amount: z.number().int().describe("Numeric value of the amount in minor currency units (e.g., cents)").nullable(),
83
83
  currency_code: z.string().describe("Currency code (e.g., USD, EUR)").nullable(),
84
84
  minor_unit_conversion_rate: z.number().int().describe("Conversion rate for minor units").nullable().optional()
85
- }).describe("Amount object with currency information.");
85
+ }).passthrough().describe("Amount object with currency information.");
86
86
  const RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({
87
87
  id: z.string().describe("Unique identifier of the expense group").nullable(),
88
88
  name: z.string().describe("Name of the expense group").nullable()
89
- }).describe("Expense group information.");
89
+ }).passthrough().describe("Expense group information.");
90
90
  const rampCreateMileageReimbursement = action("RAMP_CREATE_MILEAGE_REIMBURSEMENT", {
91
91
  slug: "ramp-create-mileage-reimbursement",
92
92
  name: "Create Mileage Reimbursement",
@@ -131,7 +131,7 @@ const rampCreateMileageReimbursement = action("RAMP_CREATE_MILEAGE_REIMBURSEMENT
131
131
  payment_processed_at: z.string().describe("Time of reimbursement payment. Presented in ISO8601 format.").nullable().optional(),
132
132
  accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe("List of accounting fields selected to code the reimbursement.").nullable().optional(),
133
133
  original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional()
134
- }).describe("Complete mileage reimbursement details returned by the API.")
134
+ }).passthrough().describe("Complete mileage reimbursement details returned by the API.")
135
135
  });
136
136
  //#endregion
137
137
  export { rampCreateMileageReimbursement };
@@ -1 +1 @@
1
- {"version":3,"file":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable(),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\").nullable(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable(),\n}).describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.object({}).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\").nullable(),\n name: z.string().describe(\"Name of the expense group\").nullable(),\n}).describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\").nullable(),\n currency: z.string().describe(\"The currency that the payor pays with.\").nullable(),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\").nullable(),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\").nullable(),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\").nullable(),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAU,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgB,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAyD,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxL,MAAM,0DAA0D,EAAE,KAAK;CAAC;CAAY;CAAmB;CAAoB;CAAyB;CAAY;CAAW;CAAS;CAAY;CAAiB;CAAoB;CAA2B;CAAqB;CAAwB;CAAQ;CAAuB;CAAe;CAAW;CAAc;CAAuB;CAA0B;CAAc;CAAuB;AAAU,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACrgB,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAA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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-mileage-reimbursement.mjs","names":[],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput = z.object({\n memo: z.string().describe(\"Memo or note describing the purpose of the mileage reimbursement. This field is required.\"),\n distance: z.union([z.string(), z.number()]),\n trip_date: z.string().describe(\"Date of the trip in ISO 8601 date format (YYYY-MM-DD).\"),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip.\").optional(),\n end_location: z.string().describe(\"Ending location of the trip.\").optional(),\n reimbursee_id: z.string().describe(\"Unique identifier (UUID) of the user to be reimbursed.\"),\n distance_units: z.enum([\"KILOMETERS\", \"MILES\"]).describe(\"Distance units for mileage reimbursement.\").optional(),\n start_location: z.string().describe(\"Starting location of the trip.\").optional(),\n});\nconst RampCreateMileageReimbursement_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema = z.enum([\"APPROVED\", \"AWAITING_EXPORT\", \"AWAITING_PAYMENT\", \"AWAITING_PUSH_PAYMENT\", \"CANCELED\", \"DELETED\", \"DRAFT\", \"EXPORTED\", \"EXPORT_FAILED\", \"EXPORT_INITIATED\", \"EXPORT_MARKED_AS_FAILED\", \"EXPORT_SUCCESSFUL\", \"FAILED_REIMBURSEMENT\", \"INIT\", \"MANUALLY_REIMBURSED\", \"MISSING_ACH\", \"PENDING\", \"PROCESSING\", \"PUSH_PAYMENT_FAILED\", \"PUSH_PAYMENT_INITIATED\", \"REIMBURSED\", \"REIMBURSED_VIA_PUSH\", \"REJECTED\"]).describe(\"Current state of the reimbursement.\");\nconst RampCreateMileageReimbursement_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable(),\n user_id: z.string().describe(\"User ID of the attendee if they are a Ramp user\").nullable().optional(),\n}).passthrough().describe(\"Attendee information for a reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\").nullable(),\n currency_code: z.string().describe(\"Currency code for the line item\").nullable(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema = z.object({\n id: z.string().describe(\"Internal identifier for the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n type: z.string().describe(\"Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for an accounting field.\");\nconst RampCreateMileageReimbursement_AccountingFieldSelectionSchema = z.object({\n id: z.string().describe(\"Internal identifier for the accounting field selection\").nullable().optional(),\n name: z.string().describe(\"Name of the accounting field selection\").nullable().optional(),\n type: z.string().describe(\"Type of the accounting field selection\").nullable().optional(),\n source: z.record(z.string(), z.unknown()).describe(\"Source information for the accounting field selection\").nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field selection\").nullable().optional(),\n provider_name: z.string().describe(\"Provider name for the accounting field selection\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampCreateMileageReimbursement_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\"),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampCreateMileageReimbursement_SyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\").nullable(),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate for minor units\").nullable().optional(),\n}).passthrough().describe(\"Amount object with currency information.\");\nconst RampCreateMileageReimbursement_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\").nullable(),\n name: z.string().describe(\"Name of the expense group\").nullable(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),\n state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),\n amount: z.number().describe(\"The amount that the payor pays.\").nullable().optional(),\n trip_id: z.string().describe(\"Trip ID associated with the reimbursement if a Trip ID is available.\").nullable().optional(),\n user_id: z.string().describe(\"Unique identifier of the person who made the reimbursement.\").nullable(),\n currency: z.string().describe(\"The currency that the payor pays with.\").nullable(),\n distance: z.number().describe(\"The distance of the reimbursement in miles, for mileage reimbursements.\").nullable().optional(),\n merchant: z.string().describe(\"The name of the merchant that the reimbursement is associated with.\").nullable().optional(),\n receipts: z.array(z.string()).describe(\"List of receipt IDs associated with the reimbursement.\").nullable().optional(),\n attendees: z.array(RampCreateMileageReimbursement_AttendeeSchema).describe(\"List of attendees for the reimbursement.\").nullable().optional(),\n direction: RampCreateMileageReimbursement_ReimbursementDirectionSchema.nullable(),\n entity_id: z.string().describe(\"Unique identifier of the associated business entity.\").nullable().optional(),\n synced_at: z.string().describe(\"Time when reimbursement has been synced. Will be None if the reimbursement is not synced.\").nullable().optional(),\n waypoints: z.array(z.string()).describe(\"List of intermediate stops during the trip, for mileage reimbursements.\").nullable().optional(),\n created_at: z.string().describe(\"Time at which the reimbursement is created. Presented in ISO8601 format.\").nullable(),\n line_items: z.array(RampCreateMileageReimbursement_LineItemSchema).describe(\"List of line items related to the reimbursement.\").nullable().optional(),\n payment_id: z.string().describe(\"The unique identifier of the payment batch that the reimbursement is associated with, once paid.\").nullable().optional(),\n updated_at: z.string().describe(\"Time at which the reimbursement was last updated. Presented in ISO8601 format.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the person who made the reimbursement.\").nullable(),\n approved_at: z.string().describe(\"Time at which the reimbursement is approved. Presented in ISO8601 format.\").nullable().optional(),\n employee_id: z.string().describe(\"Employee ID of the person who made the reimbursement.\").nullable().optional(),\n merchant_id: z.string().describe(\"The unique identifier of the merchant. Note that this field may be empty when merchant is populated if Ramp does not recognize the merchant.\").nullable().optional(),\n sync_status: RampCreateMileageReimbursement_SyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements.\").nullable().optional(),\n payee_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted\").nullable().optional(),\n expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),\n spend_limit_id: z.string().describe(\"Spend limit to which the reimbursement is attributed, if it exists.\").nullable().optional(),\n start_location: z.string().describe(\"Starting location of the trip, for mileage reimbursements.\").nullable().optional(),\n user_full_name: z.string().describe(\"Full name of the person who made the reimbursement.\").nullable(),\n accounting_date: z.string().describe(\"The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.\").nullable().optional(),\n payment_batch_id: z.string().describe(\"The unique identifier of the reimbursement payment batch that the reimbursement is associated with.\").nullable().optional(),\n transaction_date: z.string().describe(\"Date of the transaction in ISO 8601 date format.\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment. Presented in ISO8601 format.\").nullable().optional(),\n accounting_field_selections: z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement.\").nullable().optional(),\n original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete mileage reimbursement details returned by the API.\");\n\nexport const rampCreateMileageReimbursement = action(\"RAMP_CREATE_MILEAGE_REIMBURSEMENT\", {\n slug: \"ramp-create-mileage-reimbursement\",\n name: \"Create Mileage Reimbursement\",\n description: \"Tool to create a mileage reimbursement in Ramp. Use when a user needs to submit a reimbursement for business-related travel distance. Requires distance, reimbursee_id, and trip_date as mandatory fields.\",\n input: RampCreateMileageReimbursementInput,\n output: RampCreateMileageReimbursementOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA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,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1K,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjK,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,6BAA6B,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -31,7 +31,7 @@ const RampCreateNewCustomAccountingFieldOutput = zod.z.object({
31
31
  provider_name: zod.z.string().describe("The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)").nullable().optional(),
32
32
  is_required_for: zod.z.array(zod.z.string()).describe("Types of objects that require this accounting field").nullable().optional(),
33
33
  accounting_connection_id: zod.z.string().describe("The accounting connection ID associated with this field").nullable().optional()
34
- }).describe("Response from creating a new custom accounting field.");
34
+ }).passthrough().describe("Response from creating a new custom accounting field.");
35
35
  const rampCreateNewCustomAccountingField = require_action.action("RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD", {
36
36
  slug: "ramp-create-new-custom-accounting-field",
37
37
  name: "Create New Custom Accounting Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAcc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;CACxG,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC1H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-new-custom-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CAChE,YAAYA,IAAAA,EAAE,KAAK;EAAC;EAAiB;EAAW;CAAgB,CAAC,CAAC,CAAC,SAAS,mEAAmE;CAC/I,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC/H,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;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S,uDAAuD;AAEjF,MAAa,qCAAqCC,eAAAA,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -31,14 +31,26 @@ declare const RampCreateNewCustomAccountingFieldOutput: z.ZodObject<{
31
31
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  is_required_for: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
33
  accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const rampCreateNewCustomAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: string;
37
37
  name: string;
38
38
  input_type: "SINGLE_CHOICE" | "BOOLEAN" | "FREE_FORM_TEXT";
39
39
  is_splittable?: boolean | undefined;
40
40
  is_required_for?: ("BILL" | "BILL_PAYMENT" | "PURCHASE_ORDER" | "REIMBURSEMENT" | "TRANSACTION")[] | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ accessToken: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { rampCreateNewCustomAccountingField };
44
56
  //# sourceMappingURL=create-new-custom-accounting-field.d.cts.map
@@ -31,14 +31,26 @@ declare const RampCreateNewCustomAccountingFieldOutput: z.ZodObject<{
31
31
  provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  is_required_for: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
33
33
  accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const rampCreateNewCustomAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: string;
37
37
  name: string;
38
38
  input_type: "SINGLE_CHOICE" | "BOOLEAN" | "FREE_FORM_TEXT";
39
39
  is_splittable?: boolean | undefined;
40
40
  is_required_for?: ("BILL" | "BILL_PAYMENT" | "PURCHASE_ORDER" | "REIMBURSEMENT" | "TRANSACTION")[] | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
48
+ connectionId: z.ZodString;
49
+ entityId: z.ZodString;
50
+ instanceId: z.ZodString;
51
+ }, z.core.$strip>, z.ZodObject<{
52
+ accessToken: z.ZodString;
53
+ }, z.core.$strip>>]>;
42
54
  //#endregion
43
55
  export { rampCreateNewCustomAccountingField };
44
56
  //# sourceMappingURL=create-new-custom-accounting-field.d.mts.map
@@ -34,7 +34,7 @@ const rampCreateNewCustomAccountingField = action("RAMP_CREATE_NEW_CUSTOM_ACCOUN
34
34
  provider_name: z.string().describe("The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)").nullable().optional(),
35
35
  is_required_for: z.array(z.string()).describe("Types of objects that require this accounting field").nullable().optional(),
36
36
  accounting_connection_id: z.string().describe("The accounting connection ID associated with this field").nullable().optional()
37
- }).describe("Response from creating a new custom accounting field.")
37
+ }).passthrough().describe("Response from creating a new custom accounting field.")
38
38
  });
39
39
  //#endregion
40
40
  export { rampCreateNewCustomAccountingField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-new-custom-accounting-field.mjs","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;EAChE,YAAY,EAAE,KAAK;GAAC;GAAiB;GAAW;EAAgB,CAAC,CAAC,CAAC,SAAS,mEAAmE;EAC/I,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC/H,iBAAiB,EAAE,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAgB;GAAkB;GAAiB;EAAa,CAAC,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC1P,CAoBS;CACP,QApBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EAClF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAChH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EAC1H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-new-custom-accounting-field.mjs","names":[],"sources":["../../src/actions/create-new-custom-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateNewCustomAccountingFieldInput = z.object({\n id: z.string().describe(\"Remote/external ID of custom accounting field from ERP system.\"),\n name: z.string().describe(\"Name of the custom accounting field.\"),\n input_type: z.enum([\"SINGLE_CHOICE\", \"BOOLEAN\", \"FREE_FORM_TEXT\"]).describe(\"The input type could be SINGLE_CHOICE, BOOLEAN or FREE_FORM_TEXT.\"),\n is_splittable: z.boolean().describe(\"If set to True, the accounting field can be used to annotate split line items.\").optional(),\n is_required_for: z.array(z.enum([\"BILL\", \"BILL_PAYMENT\", \"PURCHASE_ORDER\", \"REIMBURSEMENT\", \"TRANSACTION\"])).describe(\"Types of objects that require this accounting field to be used for coding before they can be marked as ready to sync.\").optional(),\n});\nexport const RampCreateNewCustomAccountingFieldOutput = z.object({\n id: z.string().describe(\"External ID of the custom accounting field\").nullable(),\n name: z.string().describe(\"Display name of the custom accounting field\").nullable(),\n ramp_id: z.string().describe(\"Ramp's internal UUID identifier for the custom accounting field\").nullable(),\n is_active: z.boolean().describe(\"Indicates whether the accounting field is currently active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was created\").nullable(),\n input_type: z.string().describe(\"The type of input field (SINGLE_CHOICE, BOOLEAN, or FREE_FORM_TEXT)\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 timestamp of when the accounting field was last updated\").nullable(),\n display_name: z.string().describe(\"Optional display name for the accounting field\").nullable().optional(),\n is_splittable: z.boolean().describe(\"Whether the field can be split across multiple line items in transactions\").nullable(),\n provider_name: z.string().describe(\"The name of the accounting provider (e.g., NETSUITE, QUICKBOOKS)\").nullable().optional(),\n is_required_for: z.array(z.string()).describe(\"Types of objects that require this accounting field\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"The accounting connection ID associated with this field\").nullable().optional(),\n}).passthrough().describe(\"Response from creating a new custom accounting field.\");\n\nexport const rampCreateNewCustomAccountingField = action(\"RAMP_CREATE_NEW_CUSTOM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-new-custom-accounting-field\",\n name: \"Create New Custom Accounting Field\",\n description: \"Tool for creating a new custom accounting field. Note: This operation requires elevated permissions not available in the demo API.\",\n input: RampCreateNewCustomAccountingFieldInput,\n output: RampCreateNewCustomAccountingFieldOutput,\n});\n"],"mappings":";;AA0BA,MAAa,qCAAqC,OAAO,2CAA2C;CAClG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const RampCreateTaxCodeAccountingFieldOutput = zod.z.object({
11
11
  ramp_id: zod.z.string().describe("Unique identifier for the tax code field within Ramp system.").nullable(),
12
12
  display_name: zod.z.string().describe("Display name of the tax code field on Ramp.").nullable().optional(),
13
13
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the tax code field is associated with.").nullable()
14
- }).describe("Response from creating a new tax code accounting field.");
14
+ }).passthrough().describe("Response from creating a new tax code accounting field.");
15
15
  const rampCreateTaxCodeAccountingField = require_action.action("RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD", {
16
16
  slug: "ramp-create-tax-code-accounting-field",
17
17
  name: "Create Tax Code Accounting Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-tax-code-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-tax-code-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AACnK,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,11 +11,23 @@ declare const RampCreateTaxCodeAccountingFieldOutput: 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 rampCreateTaxCodeAccountingField: 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 { rampCreateTaxCodeAccountingField };
21
33
  //# sourceMappingURL=create-tax-code-accounting-field.d.cts.map
@@ -11,11 +11,23 @@ declare const RampCreateTaxCodeAccountingFieldOutput: 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 rampCreateTaxCodeAccountingField: 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 { rampCreateTaxCodeAccountingField };
21
33
  //# sourceMappingURL=create-tax-code-accounting-field.d.mts.map
@@ -14,7 +14,7 @@ const rampCreateTaxCodeAccountingField = action("RAMP_CREATE_TAX_CODE_ACCOUNTING
14
14
  ramp_id: z.string().describe("Unique identifier for the tax code field within Ramp system.").nullable(),
15
15
  display_name: z.string().describe("Display name of the tax code field on Ramp.").nullable().optional(),
16
16
  accounting_connection_id: z.string().describe("ID of the accounting connection that the tax code field is associated with.").nullable()
17
- }).describe("Response from creating a new tax code accounting field.")
17
+ }).passthrough().describe("Response from creating a new tax code accounting field.")
18
18
  });
19
19
  //#endregion
20
20
  export { rampCreateTaxCodeAccountingField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-tax-code-accounting-field.mjs","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-tax-code-accounting-field.mjs","names":[],"sources":["../../src/actions/create-tax-code-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateTaxCodeAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\"),\n display_name: z.string().describe(\"The name of the tax code field as shown on Ramp. If not provided, the name field will be used as the display name.\").optional(),\n}).describe(\"Request to create a new tax code accounting field.\");\nexport const RampCreateTaxCodeAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of tax code field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the tax code field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the tax code field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the tax code field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the tax code field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from creating a new tax code accounting field.\");\n\nexport const rampCreateTaxCodeAccountingField = action(\"RAMP_CREATE_TAX_CODE_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-tax-code-accounting-field\",\n name: \"Create Tax Code Accounting Field\",\n description: \"Tool to create a new tax code accounting field in Ramp. There can only be one active tax code accounting field per accounting connection. Use when you need to set up tax code tracking for an accounting integration.\",\n input: RampCreateTaxCodeAccountingFieldInput,\n output: RampCreateTaxCodeAccountingFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CACnK,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAboD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const RampCreateUserInviteInput = zod.z.object({
20
20
  idempotency_key: zod.z.string().describe("A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions"),
21
21
  direct_manager_id: zod.z.string().describe("Unique identifier of the employee's direct manager (UUID format)").optional()
22
22
  });
23
- const RampCreateUserInviteOutput = zod.z.object({ id: zod.z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>").nullable() });
23
+ const RampCreateUserInviteOutput = zod.z.object({ id: zod.z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>").nullable() }).passthrough();
24
24
  const rampCreateUserInvite = require_action.action("RAMP_CREATE_USER_INVITE", {
25
25
  slug: "ramp-create-user-invite",
26
26
  name: "Create User Invite",
@@ -1 +1 @@
1
- {"version":3,"file":"create-user-invite.cjs","names":["z","action"],"sources":["../../src/actions/create-user-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n});\n\nexport const rampCreateUserInvite = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAkB;EAAuB;EAAkB;EAAiB;EAAc;CAAU,CAAC,CAAC,CAAC,SAAS,4FAA4F;CACrO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CAC7M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAC1J,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-user-invite.cjs","names":["z","action"],"sources":["../../src/actions/create-user-invite.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateUserInviteInput = z.object({\n role: z.enum([\"AUDITOR\", \"BUSINESS_ADMIN\", \"BUSINESS_BOOKKEEPER\", \"BUSINESS_OWNER\", \"BUSINESS_USER\", \"GUEST_USER\", \"IT_ADMIN\"]).describe(\"The employee's role in the organization. Note that BUSINESS_OWNER is not an invitable role\"),\n email: z.string().describe(\"The employee's email address where the invite will be sent\"),\n last_name: z.string().describe(\"Last name of the employee (max 255 characters)\"),\n first_name: z.string().describe(\"First name of the employee (max 255 characters)\"),\n is_manager: z.boolean().describe(\"Whether the employee is a manager\").optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location. Use this to assign the user to a specific entity (locations are mapped to entities with many-to-one relationship)\").optional(),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format)\").optional(),\n idempotency_key: z.string().describe(\"A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions\"),\n direct_manager_id: z.string().describe(\"Unique identifier of the employee's direct manager (UUID format)\").optional(),\n});\nexport const RampCreateUserInviteOutput = z.object({\n id: z.string().describe(\"ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>\").nullable(),\n}).passthrough();\n\nexport const rampCreateUserInvite = action(\"RAMP_CREATE_USER_INVITE\", {\n slug: \"ramp-create-user-invite\",\n name: \"Create User Invite\",\n description: \"Tool to create a user invite for onboarding new employees to Ramp. Triggers an async task to send an invite email. Users must accept the invite to be onboarded. Assign users to specific entities using location_id.\",\n input: RampCreateUserInviteInput,\n output: RampCreateUserInviteOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAkB;EAAuB;EAAkB;EAAiB;EAAc;CAAU,CAAC,CAAC,CAAC,SAAS,4FAA4F;CACrO,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACvF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACjF,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK,CAAC,CAAC,SAAS;CAC7M,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC5G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK;CACxM,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AACtH,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS,EAC1J,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,7 +22,7 @@ declare const RampCreateUserInviteInput: z.ZodObject<{
22
22
  }, z.core.$strip>;
23
23
  declare const RampCreateUserInviteOutput: z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const rampCreateUserInvite: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  role: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN";
28
28
  email: string;
@@ -33,7 +33,19 @@ declare const rampCreateUserInvite: import("@keystrokehq/action").WorkflowAction
33
33
  location_id?: string | undefined;
34
34
  department_id?: string | undefined;
35
35
  direct_manager_id?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ accessToken: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { rampCreateUserInvite };
39
51
  //# sourceMappingURL=create-user-invite.d.cts.map
@@ -22,7 +22,7 @@ declare const RampCreateUserInviteInput: z.ZodObject<{
22
22
  }, z.core.$strip>;
23
23
  declare const RampCreateUserInviteOutput: z.ZodObject<{
24
24
  id: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const rampCreateUserInvite: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  role: "AUDITOR" | "BUSINESS_ADMIN" | "BUSINESS_BOOKKEEPER" | "BUSINESS_OWNER" | "BUSINESS_USER" | "GUEST_USER" | "IT_ADMIN";
28
28
  email: string;
@@ -33,7 +33,19 @@ declare const rampCreateUserInvite: import("@keystrokehq/action").WorkflowAction
33
33
  location_id?: string | undefined;
34
34
  department_id?: string | undefined;
35
35
  direct_manager_id?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"ramp", z.ZodObject<{
43
+ connectionId: z.ZodString;
44
+ entityId: z.ZodString;
45
+ instanceId: z.ZodString;
46
+ }, z.core.$strip>, z.ZodObject<{
47
+ accessToken: z.ZodString;
48
+ }, z.core.$strip>>]>;
37
49
  //#endregion
38
50
  export { rampCreateUserInvite };
39
51
  //# sourceMappingURL=create-user-invite.d.mts.map
@@ -23,7 +23,7 @@ const rampCreateUserInvite = action("RAMP_CREATE_USER_INVITE", {
23
23
  idempotency_key: z.string().describe("A unique value generated by the client which the server uses to recognize subsequent retries of the same request. Use a random generated UUID to avoid collisions"),
24
24
  direct_manager_id: z.string().describe("Unique identifier of the employee's direct manager (UUID format)").optional()
25
25
  }),
26
- output: z.object({ id: z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>").nullable() })
26
+ output: z.object({ id: z.string().describe("ID of the deferred task. Task status can be checked via a GET call to /developer/v1/users/deferred/status/<task_id>").nullable() }).passthrough()
27
27
  });
28
28
  //#endregion
29
29
  export { rampCreateUserInvite };