@keystrokehq/ramp 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/create-department.cjs +3 -3
  5. package/dist/actions/create-department.cjs.map +1 -1
  6. package/dist/actions/create-department.d.cts +10 -3
  7. package/dist/actions/create-department.d.cts.map +1 -1
  8. package/dist/actions/create-department.d.mts +10 -3
  9. package/dist/actions/create-department.d.mts.map +1 -1
  10. package/dist/actions/create-department.mjs +3 -3
  11. package/dist/actions/create-department.mjs.map +1 -1
  12. package/dist/actions/create-inventory-item-accounting-field.cjs +5 -5
  13. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  14. package/dist/actions/create-inventory-item-accounting-field.d.cts +15 -3
  15. package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
  16. package/dist/actions/create-inventory-item-accounting-field.d.mts +15 -3
  17. package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
  18. package/dist/actions/create-inventory-item-accounting-field.mjs +5 -5
  19. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  20. package/dist/actions/create-memo.cjs +3 -3
  21. package/dist/actions/create-memo.cjs.map +1 -1
  22. package/dist/actions/create-memo.d.cts +14 -3
  23. package/dist/actions/create-memo.d.cts.map +1 -1
  24. package/dist/actions/create-memo.d.mts +14 -3
  25. package/dist/actions/create-memo.d.mts.map +1 -1
  26. package/dist/actions/create-memo.mjs +3 -3
  27. package/dist/actions/create-memo.mjs.map +1 -1
  28. package/dist/actions/create-mileage-reimbursement.cjs +22 -22
  29. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  30. package/dist/actions/create-mileage-reimbursement.d.cts +149 -3
  31. package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
  32. package/dist/actions/create-mileage-reimbursement.d.mts +149 -3
  33. package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
  34. package/dist/actions/create-mileage-reimbursement.mjs +22 -22
  35. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  36. package/dist/actions/create-new-custom-accounting-field.cjs +9 -9
  37. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  38. package/dist/actions/create-new-custom-accounting-field.d.cts +38 -3
  39. package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
  40. package/dist/actions/create-new-custom-accounting-field.d.mts +38 -3
  41. package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
  42. package/dist/actions/create-new-custom-accounting-field.mjs +9 -9
  43. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  44. package/dist/actions/create-tax-code-accounting-field.cjs +5 -5
  45. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  46. package/dist/actions/create-tax-code-accounting-field.d.cts +15 -3
  47. package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
  48. package/dist/actions/create-tax-code-accounting-field.d.mts +15 -3
  49. package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
  50. package/dist/actions/create-tax-code-accounting-field.mjs +5 -5
  51. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  52. package/dist/actions/create-user-invite.cjs +1 -1
  53. package/dist/actions/create-user-invite.cjs.map +1 -1
  54. package/dist/actions/create-user-invite.d.cts +33 -3
  55. package/dist/actions/create-user-invite.d.cts.map +1 -1
  56. package/dist/actions/create-user-invite.d.mts +33 -3
  57. package/dist/actions/create-user-invite.d.mts.map +1 -1
  58. package/dist/actions/create-user-invite.mjs +1 -1
  59. package/dist/actions/create-user-invite.mjs.map +1 -1
  60. package/dist/actions/create-webhook-subscription.cjs +8 -8
  61. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  62. package/dist/actions/create-webhook-subscription.d.cts +48 -3
  63. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  64. package/dist/actions/create-webhook-subscription.d.mts +48 -3
  65. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  66. package/dist/actions/create-webhook-subscription.mjs +8 -8
  67. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  68. package/dist/actions/deactivate-user.cjs +1 -1
  69. package/dist/actions/deactivate-user.cjs.map +1 -1
  70. package/dist/actions/deactivate-user.d.cts +7 -3
  71. package/dist/actions/deactivate-user.d.cts.map +1 -1
  72. package/dist/actions/deactivate-user.d.mts +7 -3
  73. package/dist/actions/deactivate-user.d.mts.map +1 -1
  74. package/dist/actions/deactivate-user.mjs +1 -1
  75. package/dist/actions/deactivate-user.mjs.map +1 -1
  76. package/dist/actions/delete-accounting-account.cjs +1 -1
  77. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  78. package/dist/actions/delete-accounting-account.d.cts +9 -3
  79. package/dist/actions/delete-accounting-account.d.cts.map +1 -1
  80. package/dist/actions/delete-accounting-account.d.mts +9 -3
  81. package/dist/actions/delete-accounting-account.d.mts.map +1 -1
  82. package/dist/actions/delete-accounting-account.mjs +1 -1
  83. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  84. package/dist/actions/delete-accounting-connection.cjs +1 -1
  85. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  86. package/dist/actions/delete-accounting-connection.d.cts +5 -3
  87. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  88. package/dist/actions/delete-accounting-connection.d.mts +5 -3
  89. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  90. package/dist/actions/delete-accounting-connection.mjs +1 -1
  91. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  92. package/dist/actions/delete-accounting-fields.cjs +1 -1
  93. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  94. package/dist/actions/delete-accounting-fields.d.cts +9 -3
  95. package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
  96. package/dist/actions/delete-accounting-fields.d.mts +9 -3
  97. package/dist/actions/delete-accounting-fields.d.mts.map +1 -1
  98. package/dist/actions/delete-accounting-fields.mjs +1 -1
  99. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  101. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-inventory-item-options.d.cts +9 -3
  103. package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
  104. package/dist/actions/delete-accounting-inventory-item-options.d.mts +9 -3
  105. package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -1
  106. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  107. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  108. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  109. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  110. package/dist/actions/delete-accounting-tax-code-options.d.cts +9 -3
  111. package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
  112. package/dist/actions/delete-accounting-tax-code-options.d.mts +9 -3
  113. package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -1
  114. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  115. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  116. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  117. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  118. package/dist/actions/delete-accounting-tax-code.d.cts +5 -3
  119. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  120. package/dist/actions/delete-accounting-tax-code.d.mts +5 -3
  121. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  122. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  123. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  124. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  125. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  126. package/dist/actions/delete-accounting-tax-rates.d.cts +11 -3
  127. package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
  128. package/dist/actions/delete-accounting-tax-rates.d.mts +11 -3
  129. package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -1
  130. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  131. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  132. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  133. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  134. package/dist/actions/delete-accounting-vendors.d.cts +9 -3
  135. package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
  136. package/dist/actions/delete-accounting-vendors.d.mts +9 -3
  137. package/dist/actions/delete-accounting-vendors.d.mts.map +1 -1
  138. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  139. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  140. package/dist/actions/delete-custom-field-option.cjs +1 -1
  141. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  142. package/dist/actions/delete-custom-field-option.d.cts +9 -3
  143. package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
  144. package/dist/actions/delete-custom-field-option.d.mts +9 -3
  145. package/dist/actions/delete-custom-field-option.d.mts.map +1 -1
  146. package/dist/actions/delete-custom-field-option.mjs +1 -1
  147. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  148. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  149. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  150. package/dist/actions/delete-inventory-item-field.d.cts +5 -3
  151. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  152. package/dist/actions/delete-inventory-item-field.d.mts +5 -3
  153. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  154. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  155. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  156. package/dist/actions/delete-spend-allocation-delete-users.cjs +17 -17
  157. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  158. package/dist/actions/delete-spend-allocation-delete-users.d.cts +76 -3
  159. package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
  160. package/dist/actions/delete-spend-allocation-delete-users.d.mts +76 -3
  161. package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
  162. package/dist/actions/delete-spend-allocation-delete-users.mjs +17 -17
  163. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  164. package/dist/actions/delete-webhook.cjs +1 -1
  165. package/dist/actions/delete-webhook.cjs.map +1 -1
  166. package/dist/actions/delete-webhook.d.cts +9 -3
  167. package/dist/actions/delete-webhook.d.cts.map +1 -1
  168. package/dist/actions/delete-webhook.d.mts +9 -3
  169. package/dist/actions/delete-webhook.d.mts.map +1 -1
  170. package/dist/actions/delete-webhook.mjs +1 -1
  171. package/dist/actions/delete-webhook.mjs.map +1 -1
  172. package/dist/actions/fetch-accounting-account.cjs +7 -7
  173. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  174. package/dist/actions/fetch-accounting-account.d.cts +25 -3
  175. package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
  176. package/dist/actions/fetch-accounting-account.d.mts +25 -3
  177. package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
  178. package/dist/actions/fetch-accounting-account.mjs +7 -7
  179. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  180. package/dist/actions/fetch-accounting-vendor.cjs +9 -9
  181. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  182. package/dist/actions/fetch-accounting-vendor.d.cts +25 -3
  183. package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
  184. package/dist/actions/fetch-accounting-vendor.d.mts +25 -3
  185. package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
  186. package/dist/actions/fetch-accounting-vendor.mjs +9 -9
  187. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  188. package/dist/actions/fetch-custom-accounting-field.cjs +10 -10
  189. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  190. package/dist/actions/fetch-custom-accounting-field.d.cts +18 -3
  191. package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
  192. package/dist/actions/fetch-custom-accounting-field.d.mts +18 -3
  193. package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
  194. package/dist/actions/fetch-custom-accounting-field.mjs +10 -10
  195. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  196. package/dist/actions/get-accounting-accounts.cjs +4 -4
  197. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  198. package/dist/actions/get-accounting-accounts.d.cts +38 -3
  199. package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
  200. package/dist/actions/get-accounting-accounts.d.mts +38 -3
  201. package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
  202. package/dist/actions/get-accounting-accounts.mjs +4 -4
  203. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  204. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  205. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  206. package/dist/actions/get-accounting-all-connections.d.cts +11 -3
  207. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  208. package/dist/actions/get-accounting-all-connections.d.mts +11 -3
  209. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  210. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  211. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  212. package/dist/actions/get-accounting-connection-by-id.cjs +8 -8
  213. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  214. package/dist/actions/get-accounting-connection-by-id.d.cts +29 -3
  215. package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
  216. package/dist/actions/get-accounting-connection-by-id.d.mts +29 -3
  217. package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
  218. package/dist/actions/get-accounting-connection-by-id.mjs +8 -8
  219. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  220. package/dist/actions/get-accounting-connection.cjs +2 -2
  221. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  222. package/dist/actions/get-accounting-connection.d.cts +15 -3
  223. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  224. package/dist/actions/get-accounting-connection.d.mts +15 -3
  225. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  226. package/dist/actions/get-accounting-connection.mjs +2 -2
  227. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  228. package/dist/actions/get-accounting-fields.cjs +3 -3
  229. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  230. package/dist/actions/get-accounting-fields.d.cts +19 -3
  231. package/dist/actions/get-accounting-fields.d.cts.map +1 -1
  232. package/dist/actions/get-accounting-fields.d.mts +19 -3
  233. package/dist/actions/get-accounting-fields.d.mts.map +1 -1
  234. package/dist/actions/get-accounting-fields.mjs +3 -3
  235. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  236. package/dist/actions/get-accounting-vendors.cjs +3 -3
  237. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  238. package/dist/actions/get-accounting-vendors.d.cts +19 -3
  239. package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
  240. package/dist/actions/get-accounting-vendors.d.mts +19 -3
  241. package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
  242. package/dist/actions/get-accounting-vendors.mjs +3 -3
  243. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  244. package/dist/actions/get-all-transactions.cjs +6 -6
  245. package/dist/actions/get-all-transactions.cjs.map +1 -1
  246. package/dist/actions/get-all-transactions.d.cts +91 -3
  247. package/dist/actions/get-all-transactions.d.cts.map +1 -1
  248. package/dist/actions/get-all-transactions.d.mts +91 -3
  249. package/dist/actions/get-all-transactions.d.mts.map +1 -1
  250. package/dist/actions/get-all-transactions.mjs +6 -6
  251. package/dist/actions/get-all-transactions.mjs.map +1 -1
  252. package/dist/actions/get-card-vault-resource.cjs +4 -4
  253. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  254. package/dist/actions/get-card-vault-resource.d.cts +11 -3
  255. package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
  256. package/dist/actions/get-card-vault-resource.d.mts +11 -3
  257. package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
  258. package/dist/actions/get-card-vault-resource.mjs +4 -4
  259. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  260. package/dist/actions/get-card.cjs +14 -14
  261. package/dist/actions/get-card.cjs.map +1 -1
  262. package/dist/actions/get-card.d.cts +48 -3
  263. package/dist/actions/get-card.d.cts.map +1 -1
  264. package/dist/actions/get-card.d.mts +48 -3
  265. package/dist/actions/get-card.d.mts.map +1 -1
  266. package/dist/actions/get-card.mjs +14 -14
  267. package/dist/actions/get-card.mjs.map +1 -1
  268. package/dist/actions/get-custom-field-option.cjs +1 -1
  269. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  270. package/dist/actions/get-custom-field-option.d.cts +19 -3
  271. package/dist/actions/get-custom-field-option.d.cts.map +1 -1
  272. package/dist/actions/get-custom-field-option.d.mts +19 -3
  273. package/dist/actions/get-custom-field-option.d.mts.map +1 -1
  274. package/dist/actions/get-custom-field-option.mjs +1 -1
  275. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  276. package/dist/actions/get-department.cjs +3 -3
  277. package/dist/actions/get-department.cjs.map +1 -1
  278. package/dist/actions/get-department.d.cts +10 -3
  279. package/dist/actions/get-department.d.cts.map +1 -1
  280. package/dist/actions/get-department.d.mts +10 -3
  281. package/dist/actions/get-department.d.mts.map +1 -1
  282. package/dist/actions/get-department.mjs +3 -3
  283. package/dist/actions/get-department.mjs.map +1 -1
  284. package/dist/actions/get-inventory-item-field.cjs +5 -5
  285. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  286. package/dist/actions/get-inventory-item-field.d.cts +9 -3
  287. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  288. package/dist/actions/get-inventory-item-field.d.mts +9 -3
  289. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  290. package/dist/actions/get-inventory-item-field.mjs +5 -5
  291. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  292. package/dist/actions/get-memo.cjs +1 -1
  293. package/dist/actions/get-memo.cjs.map +1 -1
  294. package/dist/actions/get-memo.d.cts +10 -3
  295. package/dist/actions/get-memo.d.cts.map +1 -1
  296. package/dist/actions/get-memo.d.mts +10 -3
  297. package/dist/actions/get-memo.d.mts.map +1 -1
  298. package/dist/actions/get-memo.mjs +1 -1
  299. package/dist/actions/get-memo.mjs.map +1 -1
  300. package/dist/actions/get-reimbursement.cjs +9 -9
  301. package/dist/actions/get-reimbursement.cjs.map +1 -1
  302. package/dist/actions/get-reimbursement.d.cts +50 -3
  303. package/dist/actions/get-reimbursement.d.cts.map +1 -1
  304. package/dist/actions/get-reimbursement.d.mts +50 -3
  305. package/dist/actions/get-reimbursement.d.mts.map +1 -1
  306. package/dist/actions/get-reimbursement.mjs +9 -9
  307. package/dist/actions/get-reimbursement.mjs.map +1 -1
  308. package/dist/actions/get-spend-limit.cjs +26 -26
  309. package/dist/actions/get-spend-limit.cjs.map +1 -1
  310. package/dist/actions/get-spend-limit.d.cts +107 -3
  311. package/dist/actions/get-spend-limit.d.cts.map +1 -1
  312. package/dist/actions/get-spend-limit.d.mts +107 -3
  313. package/dist/actions/get-spend-limit.d.mts.map +1 -1
  314. package/dist/actions/get-spend-limit.mjs +26 -26
  315. package/dist/actions/get-spend-limit.mjs.map +1 -1
  316. package/dist/actions/get-statement.cjs +8 -8
  317. package/dist/actions/get-statement.cjs.map +1 -1
  318. package/dist/actions/get-statement.d.cts +49 -3
  319. package/dist/actions/get-statement.d.cts.map +1 -1
  320. package/dist/actions/get-statement.d.mts +49 -3
  321. package/dist/actions/get-statement.d.mts.map +1 -1
  322. package/dist/actions/get-statement.mjs +8 -8
  323. package/dist/actions/get-statement.mjs.map +1 -1
  324. package/dist/actions/get-transaction.cjs +4 -4
  325. package/dist/actions/get-transaction.cjs.map +1 -1
  326. package/dist/actions/get-transaction.d.cts +46 -3
  327. package/dist/actions/get-transaction.d.cts.map +1 -1
  328. package/dist/actions/get-transaction.d.mts +46 -3
  329. package/dist/actions/get-transaction.d.mts.map +1 -1
  330. package/dist/actions/get-transaction.mjs +4 -4
  331. package/dist/actions/get-transaction.mjs.map +1 -1
  332. package/dist/actions/get-user.cjs +11 -11
  333. package/dist/actions/get-user.cjs.map +1 -1
  334. package/dist/actions/get-user.d.cts +27 -3
  335. package/dist/actions/get-user.d.cts.map +1 -1
  336. package/dist/actions/get-user.d.mts +27 -3
  337. package/dist/actions/get-user.d.mts.map +1 -1
  338. package/dist/actions/get-user.mjs +11 -11
  339. package/dist/actions/get-user.mjs.map +1 -1
  340. package/dist/actions/get-users-deferred-status.cjs +4 -4
  341. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  342. package/dist/actions/get-users-deferred-status.d.cts +22 -3
  343. package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
  344. package/dist/actions/get-users-deferred-status.d.mts +22 -3
  345. package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
  346. package/dist/actions/get-users-deferred-status.mjs +4 -4
  347. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  348. package/dist/actions/get-vendor.cjs +5 -5
  349. package/dist/actions/get-vendor.cjs.map +1 -1
  350. package/dist/actions/get-vendor.d.cts +56 -3
  351. package/dist/actions/get-vendor.d.cts.map +1 -1
  352. package/dist/actions/get-vendor.d.mts +56 -3
  353. package/dist/actions/get-vendor.d.mts.map +1 -1
  354. package/dist/actions/get-vendor.mjs +5 -5
  355. package/dist/actions/get-vendor.mjs.map +1 -1
  356. package/dist/actions/get-webhook.cjs +5 -5
  357. package/dist/actions/get-webhook.cjs.map +1 -1
  358. package/dist/actions/get-webhook.d.cts +42 -3
  359. package/dist/actions/get-webhook.d.cts.map +1 -1
  360. package/dist/actions/get-webhook.d.mts +42 -3
  361. package/dist/actions/get-webhook.d.mts.map +1 -1
  362. package/dist/actions/get-webhook.mjs +5 -5
  363. package/dist/actions/get-webhook.mjs.map +1 -1
  364. package/dist/actions/issue-virtual-card.cjs +4 -4
  365. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  366. package/dist/actions/issue-virtual-card.d.cts +38 -3
  367. package/dist/actions/issue-virtual-card.d.cts.map +1 -1
  368. package/dist/actions/issue-virtual-card.d.mts +38 -3
  369. package/dist/actions/issue-virtual-card.d.mts.map +1 -1
  370. package/dist/actions/issue-virtual-card.mjs +4 -4
  371. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  372. package/dist/actions/list-accounting-inventory-item-options.cjs +8 -8
  373. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  374. package/dist/actions/list-accounting-inventory-item-options.d.cts +28 -3
  375. package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
  376. package/dist/actions/list-accounting-inventory-item-options.d.mts +28 -3
  377. package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
  378. package/dist/actions/list-accounting-inventory-item-options.mjs +8 -8
  379. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  380. package/dist/actions/list-accounting-tax-rates.cjs +9 -9
  381. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  382. package/dist/actions/list-accounting-tax-rates.d.cts +21 -3
  383. package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
  384. package/dist/actions/list-accounting-tax-rates.d.mts +21 -3
  385. package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
  386. package/dist/actions/list-accounting-tax-rates.mjs +9 -9
  387. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  388. package/dist/actions/list-cards.cjs +18 -18
  389. package/dist/actions/list-cards.cjs.map +1 -1
  390. package/dist/actions/list-cards.d.cts +65 -3
  391. package/dist/actions/list-cards.d.cts.map +1 -1
  392. package/dist/actions/list-cards.d.mts +65 -3
  393. package/dist/actions/list-cards.d.mts.map +1 -1
  394. package/dist/actions/list-cards.mjs +18 -18
  395. package/dist/actions/list-cards.mjs.map +1 -1
  396. package/dist/actions/list-departments.cjs +5 -5
  397. package/dist/actions/list-departments.cjs.map +1 -1
  398. package/dist/actions/list-departments.d.cts +17 -3
  399. package/dist/actions/list-departments.d.cts.map +1 -1
  400. package/dist/actions/list-departments.d.mts +17 -3
  401. package/dist/actions/list-departments.d.mts.map +1 -1
  402. package/dist/actions/list-departments.mjs +5 -5
  403. package/dist/actions/list-departments.mjs.map +1 -1
  404. package/dist/actions/list-memos.cjs +4 -4
  405. package/dist/actions/list-memos.cjs.map +1 -1
  406. package/dist/actions/list-memos.d.cts +33 -3
  407. package/dist/actions/list-memos.d.cts.map +1 -1
  408. package/dist/actions/list-memos.d.mts +33 -3
  409. package/dist/actions/list-memos.d.mts.map +1 -1
  410. package/dist/actions/list-memos.mjs +4 -4
  411. package/dist/actions/list-memos.mjs.map +1 -1
  412. package/dist/actions/list-reimbursements.cjs +11 -11
  413. package/dist/actions/list-reimbursements.cjs.map +1 -1
  414. package/dist/actions/list-reimbursements.d.cts +91 -3
  415. package/dist/actions/list-reimbursements.d.cts.map +1 -1
  416. package/dist/actions/list-reimbursements.d.mts +91 -3
  417. package/dist/actions/list-reimbursements.d.mts.map +1 -1
  418. package/dist/actions/list-reimbursements.mjs +11 -11
  419. package/dist/actions/list-reimbursements.mjs.map +1 -1
  420. package/dist/actions/list-statements.cjs +18 -18
  421. package/dist/actions/list-statements.cjs.map +1 -1
  422. package/dist/actions/list-statements.d.cts +85 -3
  423. package/dist/actions/list-statements.d.cts.map +1 -1
  424. package/dist/actions/list-statements.d.mts +85 -3
  425. package/dist/actions/list-statements.d.mts.map +1 -1
  426. package/dist/actions/list-statements.mjs +18 -18
  427. package/dist/actions/list-statements.mjs.map +1 -1
  428. package/dist/actions/list-users.cjs +13 -13
  429. package/dist/actions/list-users.cjs.map +1 -1
  430. package/dist/actions/list-users.d.cts +45 -3
  431. package/dist/actions/list-users.d.cts.map +1 -1
  432. package/dist/actions/list-users.d.mts +45 -3
  433. package/dist/actions/list-users.d.mts.map +1 -1
  434. package/dist/actions/list-users.mjs +13 -13
  435. package/dist/actions/list-users.mjs.map +1 -1
  436. package/dist/actions/list-vendors-accounts.cjs +6 -6
  437. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  438. package/dist/actions/list-vendors-accounts.d.cts +22 -3
  439. package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
  440. package/dist/actions/list-vendors-accounts.d.mts +22 -3
  441. package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
  442. package/dist/actions/list-vendors-accounts.mjs +6 -6
  443. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  444. package/dist/actions/list-vendors-contacts.cjs +9 -9
  445. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  446. package/dist/actions/list-vendors-contacts.d.cts +23 -3
  447. package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
  448. package/dist/actions/list-vendors-contacts.d.mts +23 -3
  449. package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
  450. package/dist/actions/list-vendors-contacts.mjs +9 -9
  451. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  452. package/dist/actions/list-vendors-credits.cjs +11 -11
  453. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  454. package/dist/actions/list-vendors-credits.d.cts +116 -3
  455. package/dist/actions/list-vendors-credits.d.cts.map +1 -1
  456. package/dist/actions/list-vendors-credits.d.mts +116 -3
  457. package/dist/actions/list-vendors-credits.d.mts.map +1 -1
  458. package/dist/actions/list-vendors-credits.mjs +11 -11
  459. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  460. package/dist/actions/list-vendors.cjs +7 -7
  461. package/dist/actions/list-vendors.cjs.map +1 -1
  462. package/dist/actions/list-vendors.d.cts +60 -3
  463. package/dist/actions/list-vendors.d.cts.map +1 -1
  464. package/dist/actions/list-vendors.d.mts +60 -3
  465. package/dist/actions/list-vendors.d.mts.map +1 -1
  466. package/dist/actions/list-vendors.mjs +7 -7
  467. package/dist/actions/list-vendors.mjs.map +1 -1
  468. package/dist/actions/list-webhooks.cjs +7 -7
  469. package/dist/actions/list-webhooks.cjs.map +1 -1
  470. package/dist/actions/list-webhooks.d.cts +13 -3
  471. package/dist/actions/list-webhooks.d.cts.map +1 -1
  472. package/dist/actions/list-webhooks.d.mts +13 -3
  473. package/dist/actions/list-webhooks.d.mts.map +1 -1
  474. package/dist/actions/list-webhooks.mjs +7 -7
  475. package/dist/actions/list-webhooks.mjs.map +1 -1
  476. package/dist/actions/options-for-custom-accounting-field.cjs +6 -6
  477. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  478. package/dist/actions/options-for-custom-accounting-field.d.cts +24 -3
  479. package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
  480. package/dist/actions/options-for-custom-accounting-field.d.mts +24 -3
  481. package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
  482. package/dist/actions/options-for-custom-accounting-field.mjs +6 -6
  483. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  484. package/dist/actions/patch-accounting-connection.cjs +10 -10
  485. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  486. package/dist/actions/patch-accounting-connection.d.cts +28 -3
  487. package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
  488. package/dist/actions/patch-accounting-connection.d.mts +28 -3
  489. package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
  490. package/dist/actions/patch-accounting-connection.mjs +10 -10
  491. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  492. package/dist/actions/patch-card-resource.cjs +2 -2
  493. package/dist/actions/patch-card-resource.cjs.map +1 -1
  494. package/dist/actions/patch-card-resource.d.cts +53 -3
  495. package/dist/actions/patch-card-resource.d.cts.map +1 -1
  496. package/dist/actions/patch-card-resource.d.mts +53 -3
  497. package/dist/actions/patch-card-resource.d.mts.map +1 -1
  498. package/dist/actions/patch-card-resource.mjs +2 -2
  499. package/dist/actions/patch-card-resource.mjs.map +1 -1
  500. package/dist/actions/patch-custom-field-option.cjs +2 -2
  501. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  502. package/dist/actions/patch-custom-field-option.d.cts +32 -3
  503. package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
  504. package/dist/actions/patch-custom-field-option.d.mts +32 -3
  505. package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
  506. package/dist/actions/patch-custom-field-option.mjs +2 -2
  507. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  508. package/dist/actions/patch-gl-account-resource.cjs +7 -7
  509. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  510. package/dist/actions/patch-gl-account-resource.d.cts +29 -3
  511. package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
  512. package/dist/actions/patch-gl-account-resource.d.mts +29 -3
  513. package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
  514. package/dist/actions/patch-gl-account-resource.mjs +7 -7
  515. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  516. package/dist/actions/patch-inventory-item-field.cjs +5 -5
  517. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  518. package/dist/actions/patch-inventory-item-field.d.cts +15 -3
  519. package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
  520. package/dist/actions/patch-inventory-item-field.d.mts +15 -3
  521. package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
  522. package/dist/actions/patch-inventory-item-field.mjs +5 -5
  523. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  524. package/dist/actions/post-accounting-accounts.cjs +11 -11
  525. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  526. package/dist/actions/post-accounting-accounts.d.cts +42 -3
  527. package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
  528. package/dist/actions/post-accounting-accounts.d.mts +42 -3
  529. package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
  530. package/dist/actions/post-accounting-accounts.mjs +11 -11
  531. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  532. package/dist/actions/post-accounting-connection.cjs +7 -7
  533. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  534. package/dist/actions/post-accounting-connection.d.cts +26 -3
  535. package/dist/actions/post-accounting-connection.d.cts.map +1 -1
  536. package/dist/actions/post-accounting-connection.d.mts +26 -3
  537. package/dist/actions/post-accounting-connection.d.mts.map +1 -1
  538. package/dist/actions/post-accounting-connection.mjs +7 -7
  539. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  540. package/dist/actions/post-accounting-vendors.cjs +10 -10
  541. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  542. package/dist/actions/post-accounting-vendors.d.cts +31 -3
  543. package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
  544. package/dist/actions/post-accounting-vendors.d.mts +31 -3
  545. package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
  546. package/dist/actions/post-accounting-vendors.mjs +10 -10
  547. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  548. package/dist/actions/post-inventory-item-options.cjs +8 -8
  549. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  550. package/dist/actions/post-inventory-item-options.d.cts +22 -3
  551. package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
  552. package/dist/actions/post-inventory-item-options.d.mts +22 -3
  553. package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
  554. package/dist/actions/post-inventory-item-options.mjs +8 -8
  555. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  556. package/dist/actions/post-physical-card.cjs +2 -2
  557. package/dist/actions/post-physical-card.cjs.map +1 -1
  558. package/dist/actions/post-physical-card.d.cts +92 -3
  559. package/dist/actions/post-physical-card.d.cts.map +1 -1
  560. package/dist/actions/post-physical-card.d.mts +92 -3
  561. package/dist/actions/post-physical-card.d.mts.map +1 -1
  562. package/dist/actions/post-physical-card.mjs +2 -2
  563. package/dist/actions/post-physical-card.mjs.map +1 -1
  564. package/dist/actions/reactivate-accounting-connection.cjs +7 -7
  565. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  566. package/dist/actions/reactivate-accounting-connection.d.cts +18 -3
  567. package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
  568. package/dist/actions/reactivate-accounting-connection.d.mts +18 -3
  569. package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
  570. package/dist/actions/reactivate-accounting-connection.mjs +7 -7
  571. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  572. package/dist/actions/reactivate-user.cjs +1 -1
  573. package/dist/actions/reactivate-user.cjs.map +1 -1
  574. package/dist/actions/reactivate-user.d.cts +7 -3
  575. package/dist/actions/reactivate-user.d.cts.map +1 -1
  576. package/dist/actions/reactivate-user.d.mts +7 -3
  577. package/dist/actions/reactivate-user.d.mts.map +1 -1
  578. package/dist/actions/reactivate-user.mjs +1 -1
  579. package/dist/actions/reactivate-user.mjs.map +1 -1
  580. package/dist/actions/submit-reimbursement-receipt.cjs +16 -16
  581. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  582. package/dist/actions/submit-reimbursement-receipt.d.cts +152 -3
  583. package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
  584. package/dist/actions/submit-reimbursement-receipt.d.mts +152 -3
  585. package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
  586. package/dist/actions/submit-reimbursement-receipt.mjs +16 -16
  587. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  588. package/dist/actions/suspend-card.cjs +1 -1
  589. package/dist/actions/suspend-card.cjs.map +1 -1
  590. package/dist/actions/suspend-card.d.cts +11 -3
  591. package/dist/actions/suspend-card.d.cts.map +1 -1
  592. package/dist/actions/suspend-card.d.mts +11 -3
  593. package/dist/actions/suspend-card.d.mts.map +1 -1
  594. package/dist/actions/suspend-card.mjs +1 -1
  595. package/dist/actions/suspend-card.mjs.map +1 -1
  596. package/dist/actions/terminate-card.cjs +1 -1
  597. package/dist/actions/terminate-card.cjs.map +1 -1
  598. package/dist/actions/terminate-card.d.cts +11 -3
  599. package/dist/actions/terminate-card.d.cts.map +1 -1
  600. package/dist/actions/terminate-card.d.mts +11 -3
  601. package/dist/actions/terminate-card.d.mts.map +1 -1
  602. package/dist/actions/terminate-card.mjs +1 -1
  603. package/dist/actions/terminate-card.mjs.map +1 -1
  604. package/dist/actions/update-accounting-field.cjs +1 -1
  605. package/dist/actions/update-accounting-field.cjs.map +1 -1
  606. package/dist/actions/update-accounting-field.d.cts +38 -3
  607. package/dist/actions/update-accounting-field.d.cts.map +1 -1
  608. package/dist/actions/update-accounting-field.d.mts +38 -3
  609. package/dist/actions/update-accounting-field.d.mts.map +1 -1
  610. package/dist/actions/update-accounting-field.mjs +1 -1
  611. package/dist/actions/update-accounting-field.mjs.map +1 -1
  612. package/dist/actions/update-accounting-inventory-item-options.cjs +6 -6
  613. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  614. package/dist/actions/update-accounting-inventory-item-options.d.cts +15 -3
  615. package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
  616. package/dist/actions/update-accounting-inventory-item-options.d.mts +15 -3
  617. package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
  618. package/dist/actions/update-accounting-inventory-item-options.mjs +6 -6
  619. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  620. package/dist/actions/update-accounting-tax-code-options.cjs +6 -6
  621. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  622. package/dist/actions/update-accounting-tax-code-options.d.cts +18 -3
  623. package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
  624. package/dist/actions/update-accounting-tax-code-options.d.mts +18 -3
  625. package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
  626. package/dist/actions/update-accounting-tax-code-options.mjs +6 -6
  627. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  628. package/dist/actions/update-accounting-tax-code.cjs +5 -5
  629. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  630. package/dist/actions/update-accounting-tax-code.d.cts +15 -3
  631. package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
  632. package/dist/actions/update-accounting-tax-code.d.mts +15 -3
  633. package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
  634. package/dist/actions/update-accounting-tax-code.mjs +5 -5
  635. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  636. package/dist/actions/update-accounting-tax-rate.cjs +6 -6
  637. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  638. package/dist/actions/update-accounting-tax-rate.d.cts +20 -3
  639. package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
  640. package/dist/actions/update-accounting-tax-rate.d.mts +20 -3
  641. package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
  642. package/dist/actions/update-accounting-tax-rate.mjs +6 -6
  643. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  644. package/dist/actions/update-accounting-vendor.cjs +9 -9
  645. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  646. package/dist/actions/update-accounting-vendor.d.cts +29 -3
  647. package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
  648. package/dist/actions/update-accounting-vendor.d.mts +29 -3
  649. package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
  650. package/dist/actions/update-accounting-vendor.mjs +9 -9
  651. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  652. package/dist/actions/update-card-limit.cjs +10 -10
  653. package/dist/actions/update-card-limit.cjs.map +1 -1
  654. package/dist/actions/update-card-limit.d.cts +32 -3
  655. package/dist/actions/update-card-limit.d.cts.map +1 -1
  656. package/dist/actions/update-card-limit.d.mts +32 -3
  657. package/dist/actions/update-card-limit.d.mts.map +1 -1
  658. package/dist/actions/update-card-limit.mjs +10 -10
  659. package/dist/actions/update-card-limit.mjs.map +1 -1
  660. package/dist/actions/update-department.cjs +3 -3
  661. package/dist/actions/update-department.cjs.map +1 -1
  662. package/dist/actions/update-department.d.cts +16 -3
  663. package/dist/actions/update-department.d.cts.map +1 -1
  664. package/dist/actions/update-department.d.mts +16 -3
  665. package/dist/actions/update-department.d.mts.map +1 -1
  666. package/dist/actions/update-department.mjs +3 -3
  667. package/dist/actions/update-department.mjs.map +1 -1
  668. package/dist/actions/update-limits.cjs +26 -26
  669. package/dist/actions/update-limits.cjs.map +1 -1
  670. package/dist/actions/update-limits.d.cts +137 -3
  671. package/dist/actions/update-limits.d.cts.map +1 -1
  672. package/dist/actions/update-limits.d.mts +137 -3
  673. package/dist/actions/update-limits.d.mts.map +1 -1
  674. package/dist/actions/update-limits.mjs +26 -26
  675. package/dist/actions/update-limits.mjs.map +1 -1
  676. package/dist/actions/update-user.cjs +1 -1
  677. package/dist/actions/update-user.cjs.map +1 -1
  678. package/dist/actions/update-user.d.cts +33 -3
  679. package/dist/actions/update-user.d.cts.map +1 -1
  680. package/dist/actions/update-user.d.mts +33 -3
  681. package/dist/actions/update-user.d.mts.map +1 -1
  682. package/dist/actions/update-user.mjs +1 -1
  683. package/dist/actions/update-user.mjs.map +1 -1
  684. package/dist/actions/upload-new-options.cjs +7 -7
  685. package/dist/actions/upload-new-options.cjs.map +1 -1
  686. package/dist/actions/upload-new-options.d.cts +34 -3
  687. package/dist/actions/upload-new-options.d.cts.map +1 -1
  688. package/dist/actions/upload-new-options.d.mts +34 -3
  689. package/dist/actions/upload-new-options.d.mts.map +1 -1
  690. package/dist/actions/upload-new-options.mjs +7 -7
  691. package/dist/actions/upload-new-options.mjs.map +1 -1
  692. package/dist/actions/upload-tax-code-options.cjs +8 -8
  693. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  694. package/dist/actions/upload-tax-code-options.d.cts +25 -3
  695. package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
  696. package/dist/actions/upload-tax-code-options.d.mts +25 -3
  697. package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
  698. package/dist/actions/upload-tax-code-options.mjs +8 -8
  699. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  700. package/dist/actions/upload-tax-rates.cjs +8 -8
  701. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  702. package/dist/actions/upload-tax-rates.d.cts +28 -3
  703. package/dist/actions/upload-tax-rates.d.cts.map +1 -1
  704. package/dist/actions/upload-tax-rates.d.mts +28 -3
  705. package/dist/actions/upload-tax-rates.d.mts.map +1 -1
  706. package/dist/actions/upload-tax-rates.mjs +8 -8
  707. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  708. package/dist/execute.cjs +1 -1
  709. package/dist/execute.cjs.map +1 -1
  710. package/dist/execute.mjs +1 -1
  711. package/dist/execute.mjs.map +1 -1
  712. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Keystroke-managed integration.
4
4
 
5
5
  **App:** `ramp`
6
- **Version:** `20260616_00`
6
+ **Version:** `20260707_00`
7
7
  **Actions:** 88
8
8
 
9
9
  ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["ramp","executeRampTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ramp } from \"./app\";\nimport { executeRampTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return ramp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRampTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["ramp","executeRampTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ramp } from \"./app\";\nimport { executeRampTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ramp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRampTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ramp } from \"./app\";\nimport { executeRampTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return ramp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRampTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { ramp } from \"./app\";\nimport { executeRampTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return ramp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRampTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/create-department.ts
4
4
  const RampCreateDepartmentInput = zod.z.object({ name: zod.z.string().describe("Name of the department") });
5
5
  const RampCreateDepartmentOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the department in UUID format."),
7
- name: zod.z.string().describe("Name of the department.")
8
- });
6
+ id: zod.z.string().describe("Unique identifier for the department in UUID format.").nullable(),
7
+ name: zod.z.string().describe("Name of the department.").nullable()
8
+ }).passthrough();
9
9
  const rampCreateDepartment = require_action.action("RAMP_CREATE_DEPARTMENT", {
10
10
  slug: "ramp-create-department",
11
11
  name: "Create Department",
@@ -1 +1 @@
1
- {"version":3,"file":"create-department.cjs","names":["z","action"],"sources":["../../src/actions/create-department.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateDepartmentInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the department\"),\n});\nexport const RampCreateDepartmentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\"),\n name: z.string().describe(\"Name of the department.\"),\n});\n\nexport const rampCreateDepartment = action(\"RAMP_CREATE_DEPARTMENT\", {\n slug: \"ramp-create-department\",\n name: \"Create Department\",\n description: \"Tool for creating a new department in your Ramp organization. Perfect for setting up organizational structure and expense categorization.\",\n input: RampCreateDepartmentInput,\n output: RampCreateDepartmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACpD,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;AACrD,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-department.cjs","names":["z","action"],"sources":["../../src/actions/create-department.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateDepartmentInput = z.object({\n name: z.string().describe(\"Name of the department\"),\n});\nexport const RampCreateDepartmentOutput = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\").nullable(),\n name: z.string().describe(\"Name of the department.\").nullable(),\n}).passthrough();\n\nexport const rampCreateDepartment = action(\"RAMP_CREATE_DEPARTMENT\", {\n slug: \"ramp-create-department\",\n name: \"Create Department\",\n description: \"Tool for creating a new department in your Ramp organization. Perfect for setting up organizational structure and expense categorization.\",\n input: RampCreateDepartmentInput,\n output: RampCreateDepartmentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACpD,CAAC;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;AAChE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-department.d.ts
4
- declare const RampCreateDepartmentInput: z.ZodTypeAny;
5
- declare const RampCreateDepartmentOutput: z.ZodTypeAny;
6
- declare const rampCreateDepartment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateDepartmentInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RampCreateDepartmentOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>;
11
+ declare const rampCreateDepartment: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ name: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { rampCreateDepartment };
9
16
  //# sourceMappingURL=create-department.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-department.d.cts","names":[],"sources":["../../src/actions/create-department.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-department.d.cts","names":[],"sources":["../../src/actions/create-department.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-department.d.ts
4
- declare const RampCreateDepartmentInput: z.ZodTypeAny;
5
- declare const RampCreateDepartmentOutput: z.ZodTypeAny;
6
- declare const rampCreateDepartment: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateDepartmentInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RampCreateDepartmentOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$loose>;
11
+ declare const rampCreateDepartment: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ name: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { rampCreateDepartment };
9
16
  //# sourceMappingURL=create-department.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-department.d.mts","names":[],"sources":["../../src/actions/create-department.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-department.d.mts","names":[],"sources":["../../src/actions/create-department.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAGzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -6,9 +6,9 @@ const rampCreateDepartment = action("RAMP_CREATE_DEPARTMENT", {
6
6
  description: "Tool for creating a new department in your Ramp organization. Perfect for setting up organizational structure and expense categorization.",
7
7
  input: z.object({ name: z.string().describe("Name of the department") }),
8
8
  output: z.object({
9
- id: z.string().describe("Unique identifier for the department in UUID format."),
10
- name: z.string().describe("Name of the department.")
11
- })
9
+ id: z.string().describe("Unique identifier for the department in UUID format.").nullable(),
10
+ name: z.string().describe("Name of the department.").nullable()
11
+ }).passthrough()
12
12
  });
13
13
  //#endregion
14
14
  export { rampCreateDepartment };
@@ -1 +1 @@
1
- {"version":3,"file":"create-department.mjs","names":[],"sources":["../../src/actions/create-department.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateDepartmentInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the department\"),\n});\nexport const RampCreateDepartmentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\"),\n name: z.string().describe(\"Name of the department.\"),\n});\n\nexport const rampCreateDepartment = action(\"RAMP_CREATE_DEPARTMENT\", {\n slug: \"ramp-create-department\",\n name: \"Create Department\",\n description: \"Tool for creating a new department in your Ramp organization. Perfect for setting up organizational structure and expense categorization.\",\n input: RampCreateDepartmentInput,\n output: RampCreateDepartmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZqD,EAAE,OAAO,EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACpD,CAUS;CACP,QAVsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACrD,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-department.mjs","names":[],"sources":["../../src/actions/create-department.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateDepartmentInput = z.object({\n name: z.string().describe(\"Name of the department\"),\n});\nexport const RampCreateDepartmentOutput = z.object({\n id: z.string().describe(\"Unique identifier for the department in UUID format.\").nullable(),\n name: z.string().describe(\"Name of the department.\").nullable(),\n}).passthrough();\n\nexport const rampCreateDepartment = action(\"RAMP_CREATE_DEPARTMENT\", {\n slug: \"ramp-create-department\",\n name: \"Create Department\",\n description: \"Tool for creating a new department in your Ramp organization. Perfect for setting up organizational structure and expense categorization.\",\n input: RampCreateDepartmentInput,\n output: RampCreateDepartmentOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,EACpD,CAUS;CACP,QAVwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAChE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -6,12 +6,12 @@ const RampCreateInventoryItemAccountingFieldInput = zod.z.object({
6
6
  display_name: zod.z.string().describe("The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field").optional()
7
7
  }).describe("Request to create a new inventory item accounting field.");
8
8
  const RampCreateInventoryItemAccountingFieldOutput = zod.z.object({
9
- id: zod.z.string().describe("Remote/external ID of inventory item field from ERP system"),
10
- name: zod.z.string().describe("Name of the inventory item field in the remote ERP system"),
11
- ramp_id: zod.z.string().describe("Unique identifier for the inventory item field within Ramp system (UUID format)"),
9
+ id: zod.z.string().describe("Remote/external ID of inventory item field from ERP system").nullable(),
10
+ name: zod.z.string().describe("Name of the inventory item field in the remote ERP system").nullable(),
11
+ ramp_id: zod.z.string().describe("Unique identifier for the inventory item field within Ramp system (UUID format)").nullable(),
12
12
  display_name: zod.z.string().describe("Display name of the inventory item field on Ramp").nullable().optional(),
13
- accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item field is associated with (UUID format)")
14
- }).describe("Response from creating a new inventory item accounting field.");
13
+ accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item field is associated with (UUID format)").nullable()
14
+ }).passthrough().describe("Response from creating a new inventory item accounting field.");
15
15
  const rampCreateInventoryItemAccountingField = require_action.action("RAMP_CREATE_INVENTORY_ITEM_ACCOUNTING_FIELD", {
16
16
  slug: "ramp-create-inventory-item-accounting-field",
17
17
  name: "Create Inventory Item Accounting Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-inventory-item-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateInventoryItemAccountingFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inventory item tracking category in the remote ERP system\"),\n display_name: z.string().describe(\"The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field\").optional(),\n}).describe(\"Request to create a new inventory item accounting field.\");\nexport const RampCreateInventoryItemAccountingFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system\"),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system\"),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system (UUID format)\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with (UUID format)\"),\n}).describe(\"Response from creating a new inventory item accounting field.\");\n\nexport const rampCreateInventoryItemAccountingField = action(\"RAMP_CREATE_INVENTORY_ITEM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-inventory-item-accounting-field\",\n name: \"Create Inventory Item Accounting Field\",\n description: \"Tool to create a new inventory item accounting field for tracking inventory categories. Use when setting up inventory tracking for an accounting connection. Note: There can only be one active inventory item accounting field per accounting connection.\",\n input: RampCreateInventoryItemAccountingFieldInput,\n output: RampCreateInventoryItemAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;CAC9G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;AAChJ,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAE3E,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-inventory-item-accounting-field.cjs","names":["z","action"],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateInventoryItemAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item tracking category in the remote ERP system\"),\n display_name: z.string().describe(\"The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field\").optional(),\n}).describe(\"Request to create a new inventory item accounting field.\");\nexport const RampCreateInventoryItemAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system (UUID format)\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with (UUID format)\").nullable(),\n}).passthrough().describe(\"Response from creating a new inventory item accounting field.\");\n\nexport const rampCreateInventoryItemAccountingField = action(\"RAMP_CREATE_INVENTORY_ITEM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-inventory-item-accounting-field\",\n name: \"Create Inventory Item Accounting Field\",\n description: \"Tool to create a new inventory item accounting field for tracking inventory categories. Use when setting up inventory tracking for an accounting connection. Note: There can only be one active inventory item accounting field per accounting connection.\",\n input: RampCreateInventoryItemAccountingFieldInput,\n output: RampCreateInventoryItemAccountingFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC/F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-inventory-item-accounting-field.d.ts
4
- declare const RampCreateInventoryItemAccountingFieldInput: z.ZodTypeAny;
5
- declare const RampCreateInventoryItemAccountingFieldOutput: z.ZodTypeAny;
6
- declare const rampCreateInventoryItemAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateInventoryItemAccountingFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ display_name: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RampCreateInventoryItemAccountingFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ ramp_id: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const rampCreateInventoryItemAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ display_name?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rampCreateInventoryItemAccountingField };
9
21
  //# sourceMappingURL=create-inventory-item-accounting-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-inventory-item-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAGW;AAAA,cAC1D,4CAAA,EAA8C,CAAA,CAAE,UAMe;AAAA,cAE/D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-inventory-item-accounting-field.d.cts","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAI3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAQ5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-inventory-item-accounting-field.d.ts
4
- declare const RampCreateInventoryItemAccountingFieldInput: z.ZodTypeAny;
5
- declare const RampCreateInventoryItemAccountingFieldOutput: z.ZodTypeAny;
6
- declare const rampCreateInventoryItemAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateInventoryItemAccountingFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ display_name: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RampCreateInventoryItemAccountingFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ ramp_id: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const rampCreateInventoryItemAccountingField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ display_name?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rampCreateInventoryItemAccountingField };
9
21
  //# sourceMappingURL=create-inventory-item-accounting-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-inventory-item-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAGW;AAAA,cAC1D,4CAAA,EAA8C,CAAA,CAAE,UAMe;AAAA,cAE/D,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-inventory-item-accounting-field.d.mts","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAI3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAQ5C,sCAAA,gCAAsC,wBAAA"}
@@ -9,12 +9,12 @@ const rampCreateInventoryItemAccountingField = action("RAMP_CREATE_INVENTORY_ITE
9
9
  display_name: z.string().describe("The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field").optional()
10
10
  }).describe("Request to create a new inventory item accounting field."),
11
11
  output: z.object({
12
- id: z.string().describe("Remote/external ID of inventory item field from ERP system"),
13
- name: z.string().describe("Name of the inventory item field in the remote ERP system"),
14
- ramp_id: z.string().describe("Unique identifier for the inventory item field within Ramp system (UUID format)"),
12
+ id: z.string().describe("Remote/external ID of inventory item field from ERP system").nullable(),
13
+ name: z.string().describe("Name of the inventory item field in the remote ERP system").nullable(),
14
+ ramp_id: z.string().describe("Unique identifier for the inventory item field within Ramp system (UUID format)").nullable(),
15
15
  display_name: z.string().describe("Display name of the inventory item field on Ramp").nullable().optional(),
16
- accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item field is associated with (UUID format)")
17
- }).describe("Response from creating a new inventory item accounting field.")
16
+ accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item field is associated with (UUID format)").nullable()
17
+ }).passthrough().describe("Response from creating a new inventory item accounting field.")
18
18
  });
19
19
  //#endregion
20
20
  export { rampCreateInventoryItemAccountingField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-inventory-item-accounting-field.mjs","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateInventoryItemAccountingFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inventory item tracking category in the remote ERP system\"),\n display_name: z.string().describe(\"The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field\").optional(),\n}).describe(\"Request to create a new inventory item accounting field.\");\nexport const RampCreateInventoryItemAccountingFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system\"),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system\"),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system (UUID format)\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with (UUID format)\"),\n}).describe(\"Response from creating a new inventory item accounting field.\");\n\nexport const rampCreateInventoryItemAccountingField = action(\"RAMP_CREATE_INVENTORY_ITEM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-inventory-item-accounting-field\",\n name: \"Create Inventory Item Accounting Field\",\n description: \"Tool to create a new inventory item accounting field for tracking inventory categories. Use when setting up inventory tracking for an accounting connection. Note: There can only be one active inventory item accounting field per accounting connection.\",\n input: RampCreateInventoryItemAccountingFieldInput,\n output: RampCreateInventoryItemAccountingFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuE,EAAE,OAAO;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAbwE,EAAE,OAAO;EACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACrF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF;EAC9G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;CAChJ,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-inventory-item-accounting-field.mjs","names":[],"sources":["../../src/actions/create-inventory-item-accounting-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateInventoryItemAccountingFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item tracking category in the remote ERP system\"),\n display_name: z.string().describe(\"The name of the inventory item tracking category as shown on Ramp. If not provided, defaults to the name field\").optional(),\n}).describe(\"Request to create a new inventory item accounting field.\");\nexport const RampCreateInventoryItemAccountingFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system (UUID format)\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with (UUID format)\").nullable(),\n}).passthrough().describe(\"Response from creating a new inventory item accounting field.\");\n\nexport const rampCreateInventoryItemAccountingField = action(\"RAMP_CREATE_INVENTORY_ITEM_ACCOUNTING_FIELD\", {\n slug: \"ramp-create-inventory-item-accounting-field\",\n name: \"Create Inventory Item Accounting Field\",\n description: \"Tool to create a new inventory item accounting field for tracking inventory categories. Use when setting up inventory tracking for an accounting connection. Note: There can only be one active inventory item accounting field per accounting connection.\",\n input: RampCreateInventoryItemAccountingFieldInput,\n output: RampCreateInventoryItemAccountingFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,0DAaH;CACP,QAb0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC/F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
@@ -7,9 +7,9 @@ const RampCreateMemoInput = zod.z.object({
7
7
  is_memo_recurring: zod.z.boolean().default(false).describe("Whether this memo should automatically apply to similar future transactions. Defaults to false.").optional()
8
8
  });
9
9
  const RampCreateMemoOutput = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier for the transaction associated with this memo"),
11
- memo: zod.z.string().describe("Text content of the memo")
12
- }).describe("Response containing the created memo details");
10
+ id: zod.z.string().describe("Unique identifier for the transaction associated with this memo").nullable(),
11
+ memo: zod.z.string().describe("Text content of the memo").nullable()
12
+ }).passthrough().describe("Response containing the created memo details");
13
13
  const rampCreateMemo = require_action.action("RAMP_CREATE_MEMO", {
14
14
  slug: "ramp-create-memo",
15
15
  name: "Create Transaction Memo",
@@ -1 +1 @@
1
- {"version":3,"file":"create-memo.cjs","names":["z","action"],"sources":["../../src/actions/create-memo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMemoInput: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"Text content of the memo to create. Maximum length is 255 characters.\"),\n transaction_id: z.string().describe(\"Unique identifier for the transaction to attach the memo to\"),\n is_memo_recurring: z.boolean().default(false).describe(\"Whether this memo should automatically apply to similar future transactions. Defaults to false.\").optional(),\n});\nexport const RampCreateMemoOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the transaction associated with this memo\"),\n memo: z.string().describe(\"Text content of the memo\"),\n}).describe(\"Response containing the created memo details\");\n\nexport const rampCreateMemo = action(\"RAMP_CREATE_MEMO\", {\n slug: \"ramp-create-memo\",\n name: \"Create Transaction Memo\",\n description: \"Tool for uploading a new memo for a transaction in Ramp. Use when you need to add notes or context to existing transactions.\",\n input: RampCreateMemoInput,\n output: RampCreateMemoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACjG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACtD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-memo.cjs","names":["z","action"],"sources":["../../src/actions/create-memo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMemoInput = z.object({\n memo: z.string().describe(\"Text content of the memo to create. Maximum length is 255 characters.\"),\n transaction_id: z.string().describe(\"Unique identifier for the transaction to attach the memo to\"),\n is_memo_recurring: z.boolean().default(false).describe(\"Whether this memo should automatically apply to similar future transactions. Defaults to false.\").optional(),\n});\nexport const RampCreateMemoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction associated with this memo\").nullable(),\n memo: z.string().describe(\"Text content of the memo\").nullable(),\n}).passthrough().describe(\"Response containing the created memo details\");\n\nexport const rampCreateMemo = action(\"RAMP_CREATE_MEMO\", {\n slug: \"ramp-create-memo\",\n name: \"Create Transaction Memo\",\n description: \"Tool for uploading a new memo for a transaction in Ramp. Use when you need to add notes or context to existing transactions.\",\n input: RampCreateMemoInput,\n output: RampCreateMemoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACjG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACjG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-memo.d.ts
4
- declare const RampCreateMemoInput: z.ZodTypeAny;
5
- declare const RampCreateMemoOutput: z.ZodTypeAny;
6
- declare const rampCreateMemo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateMemoInput: z.ZodObject<{
5
+ memo: z.ZodString;
6
+ transaction_id: z.ZodString;
7
+ is_memo_recurring: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ }, z.core.$strip>;
9
+ declare const RampCreateMemoOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ memo: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const rampCreateMemo: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ memo: string;
15
+ transaction_id: string;
16
+ is_memo_recurring?: boolean | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { rampCreateMemo };
9
20
  //# sourceMappingURL=create-memo.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-memo.d.cts","names":[],"sources":["../../src/actions/create-memo.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIlC;AAAA,cACW,oBAAA,EAAsB,CAAA,CAAE,UAGsB;AAAA,cAE9C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-memo.d.cts","names":[],"sources":["../../src/actions/create-memo.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-memo.d.ts
4
- declare const RampCreateMemoInput: z.ZodTypeAny;
5
- declare const RampCreateMemoOutput: z.ZodTypeAny;
6
- declare const rampCreateMemo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampCreateMemoInput: z.ZodObject<{
5
+ memo: z.ZodString;
6
+ transaction_id: z.ZodString;
7
+ is_memo_recurring: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
8
+ }, z.core.$strip>;
9
+ declare const RampCreateMemoOutput: z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ memo: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$loose>;
13
+ declare const rampCreateMemo: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ memo: string;
15
+ transaction_id: string;
16
+ is_memo_recurring?: boolean | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { rampCreateMemo };
9
20
  //# sourceMappingURL=create-memo.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-memo.d.mts","names":[],"sources":["../../src/actions/create-memo.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAIlC;AAAA,cACW,oBAAA,EAAsB,CAAA,CAAE,UAGsB;AAAA,cAE9C,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-memo.d.mts","names":[],"sources":["../../src/actions/create-memo.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,gCAAc,wBAAA"}
@@ -10,9 +10,9 @@ const rampCreateMemo = action("RAMP_CREATE_MEMO", {
10
10
  is_memo_recurring: z.boolean().default(false).describe("Whether this memo should automatically apply to similar future transactions. Defaults to false.").optional()
11
11
  }),
12
12
  output: z.object({
13
- id: z.string().describe("Unique identifier for the transaction associated with this memo"),
14
- memo: z.string().describe("Text content of the memo")
15
- }).describe("Response containing the created memo details")
13
+ id: z.string().describe("Unique identifier for the transaction associated with this memo").nullable(),
14
+ memo: z.string().describe("Text content of the memo").nullable()
15
+ }).passthrough().describe("Response containing the created memo details")
16
16
  });
17
17
  //#endregion
18
18
  export { rampCreateMemo };
@@ -1 +1 @@
1
- {"version":3,"file":"create-memo.mjs","names":[],"sources":["../../src/actions/create-memo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMemoInput: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"Text content of the memo to create. Maximum length is 255 characters.\"),\n transaction_id: z.string().describe(\"Unique identifier for the transaction to attach the memo to\"),\n is_memo_recurring: z.boolean().default(false).describe(\"Whether this memo should automatically apply to similar future transactions. Defaults to false.\").optional(),\n});\nexport const RampCreateMemoOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the transaction associated with this memo\"),\n memo: z.string().describe(\"Text content of the memo\"),\n}).describe(\"Response containing the created memo details\");\n\nexport const rampCreateMemo = action(\"RAMP_CREATE_MEMO\", {\n slug: \"ramp-create-memo\",\n name: \"Create Transaction Memo\",\n description: \"Tool for uploading a new memo for a transaction in Ramp. Use when you need to add notes or context to existing transactions.\",\n input: RampCreateMemoInput,\n output: RampCreateMemoOutput,\n});\n"],"mappings":";;AAcA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACjG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACrK,CAUS;CACP,QAVgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACtD,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-memo.mjs","names":[],"sources":["../../src/actions/create-memo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMemoInput = z.object({\n memo: z.string().describe(\"Text content of the memo to create. Maximum length is 255 characters.\"),\n transaction_id: z.string().describe(\"Unique identifier for the transaction to attach the memo to\"),\n is_memo_recurring: z.boolean().default(false).describe(\"Whether this memo should automatically apply to similar future transactions. Defaults to false.\").optional(),\n});\nexport const RampCreateMemoOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transaction associated with this memo\").nullable(),\n memo: z.string().describe(\"Text content of the memo\").nullable(),\n}).passthrough().describe(\"Response containing the created memo details\");\n\nexport const rampCreateMemo = action(\"RAMP_CREATE_MEMO\", {\n slug: \"ramp-create-memo\",\n name: \"Create Transaction Memo\",\n description: \"Tool for uploading a new memo for a transaction in Ramp. Use when you need to add notes or context to existing transactions.\",\n input: RampCreateMemoInput,\n output: RampCreateMemoOutput,\n});\n"],"mappings":";;AAcA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiC,EAAE,OAAO;EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACjG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACjG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACrK,CAUS;CACP,QAVkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -44,58 +44,58 @@ const RampCreateMileageReimbursement_ReimbursementStateSchema = zod.z.enum([
44
44
  "REJECTED"
45
45
  ]).describe("Current state of the reimbursement.");
46
46
  const RampCreateMileageReimbursement_AttendeeSchema = zod.z.object({
47
- name: zod.z.string().describe("Name of the attendee"),
47
+ name: zod.z.string().describe("Name of the attendee").nullable(),
48
48
  user_id: zod.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 = zod.z.enum(["BUSINESS_TO_USER", "USER_TO_BUSINESS"]).describe("Direction of the reimbursement.");
51
51
  const RampCreateMileageReimbursement_LineItemAmountSchema = zod.z.object({
52
- amount: zod.z.number().int().describe("Numeric value of the line item amount in minor currency units"),
53
- currency_code: zod.z.string().describe("Currency code for the line item")
54
- }).describe("Amount object for a line item.");
52
+ amount: zod.z.number().int().describe("Numeric value of the line item amount in minor currency units").nullable(),
53
+ currency_code: zod.z.string().describe("Currency code for the line item").nullable()
54
+ }).passthrough().describe("Amount object for a line item.");
55
55
  const RampCreateMileageReimbursement_CategoryInfoSchema = zod.z.object({
56
56
  id: zod.z.string().describe("Internal identifier for the category").nullable().optional(),
57
57
  name: zod.z.string().describe("Name of the category").nullable().optional(),
58
58
  type: zod.z.string().describe("Type of accounting field (e.g., GL_ACCOUNT, Subsidiary)").nullable().optional(),
59
59
  external_id: zod.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 = zod.z.object({
62
62
  id: zod.z.string().describe("Internal identifier for the accounting field selection").nullable().optional(),
63
63
  name: zod.z.string().describe("Name of the accounting field selection").nullable().optional(),
64
64
  type: zod.z.string().describe("Type of the accounting field selection").nullable().optional(),
65
- source: zod.z.object({}).describe("Source information for the accounting field selection").nullable().optional(),
65
+ source: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Source information for the accounting field selection").nullable().optional(),
66
66
  external_id: zod.z.string().describe("External identifier for the accounting field selection").nullable().optional(),
67
67
  category_info: RampCreateMileageReimbursement_CategoryInfoSchema.nullable().optional(),
68
68
  external_code: zod.z.string().describe("External code for the accounting field selection").nullable().optional(),
69
69
  provider_name: zod.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 = zod.z.object({
72
72
  memo: zod.z.string().describe("Memo for this line item").nullable().optional(),
73
73
  amount: RampCreateMileageReimbursement_LineItemAmountSchema.nullable(),
74
74
  accounting_field_selections: zod.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 = zod.z.enum([
77
77
  "NOT_SYNC_READY",
78
78
  "SYNCED",
79
79
  "SYNC_READY"
80
80
  ]).describe("Current sync status of the reimbursement.");
81
81
  const RampCreateMileageReimbursement_MoneyAmountSchema = zod.z.object({
82
- amount: zod.z.number().int().describe("Numeric value of the amount in minor currency units (e.g., cents)"),
83
- currency_code: zod.z.string().describe("Currency code (e.g., USD, EUR)"),
82
+ amount: zod.z.number().int().describe("Numeric value of the amount in minor currency units (e.g., cents)").nullable(),
83
+ currency_code: zod.z.string().describe("Currency code (e.g., USD, EUR)").nullable(),
84
84
  minor_unit_conversion_rate: zod.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 = zod.z.object({
87
- id: zod.z.string().describe("Unique identifier of the expense group"),
88
- name: zod.z.string().describe("Name of the expense group")
89
- }).describe("Expense group information.");
87
+ id: zod.z.string().describe("Unique identifier of the expense group").nullable(),
88
+ name: zod.z.string().describe("Name of the expense group").nullable()
89
+ }).passthrough().describe("Expense group information.");
90
90
  const RampCreateMileageReimbursementOutput = zod.z.object({
91
- id: zod.z.string().describe("Unique identifier of the reimbursement"),
91
+ id: zod.z.string().describe("Unique identifier of the reimbursement").nullable(),
92
92
  memo: zod.z.string().describe("Reimbursement memo").nullable().optional(),
93
93
  type: RampCreateMileageReimbursement_ReimbursementTypeSchema.nullable(),
94
94
  state: RampCreateMileageReimbursement_ReimbursementStateSchema.nullable(),
95
95
  amount: zod.z.number().describe("The amount that the payor pays.").nullable().optional(),
96
96
  trip_id: zod.z.string().describe("Trip ID associated with the reimbursement if a Trip ID is available.").nullable().optional(),
97
- user_id: zod.z.string().describe("Unique identifier of the person who made the reimbursement."),
98
- currency: zod.z.string().describe("The currency that the payor pays with."),
97
+ user_id: zod.z.string().describe("Unique identifier of the person who made the reimbursement.").nullable(),
98
+ currency: zod.z.string().describe("The currency that the payor pays with.").nullable(),
99
99
  distance: zod.z.number().describe("The distance of the reimbursement in miles, for mileage reimbursements.").nullable().optional(),
100
100
  merchant: zod.z.string().describe("The name of the merchant that the reimbursement is associated with.").nullable().optional(),
101
101
  receipts: zod.z.array(zod.z.string()).describe("List of receipt IDs associated with the reimbursement.").nullable().optional(),
@@ -104,11 +104,11 @@ const RampCreateMileageReimbursementOutput = zod.z.object({
104
104
  entity_id: zod.z.string().describe("Unique identifier of the associated business entity.").nullable().optional(),
105
105
  synced_at: zod.z.string().describe("Time when reimbursement has been synced. Will be None if the reimbursement is not synced.").nullable().optional(),
106
106
  waypoints: zod.z.array(zod.z.string()).describe("List of intermediate stops during the trip, for mileage reimbursements.").nullable().optional(),
107
- created_at: zod.z.string().describe("Time at which the reimbursement is created. Presented in ISO8601 format."),
107
+ created_at: zod.z.string().describe("Time at which the reimbursement is created. Presented in ISO8601 format.").nullable(),
108
108
  line_items: zod.z.array(RampCreateMileageReimbursement_LineItemSchema).describe("List of line items related to the reimbursement.").nullable().optional(),
109
109
  payment_id: zod.z.string().describe("The unique identifier of the payment batch that the reimbursement is associated with, once paid.").nullable().optional(),
110
110
  updated_at: zod.z.string().describe("Time at which the reimbursement was last updated. Presented in ISO8601 format.").nullable().optional(),
111
- user_email: zod.z.string().describe("Email of the person who made the reimbursement."),
111
+ user_email: zod.z.string().describe("Email of the person who made the reimbursement.").nullable(),
112
112
  approved_at: zod.z.string().describe("Time at which the reimbursement is approved. Presented in ISO8601 format.").nullable().optional(),
113
113
  employee_id: zod.z.string().describe("Employee ID of the person who made the reimbursement.").nullable().optional(),
114
114
  merchant_id: zod.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(),
@@ -119,14 +119,14 @@ const RampCreateMileageReimbursementOutput = zod.z.object({
119
119
  expense_group: RampCreateMileageReimbursement_ExpenseGroupSchema.nullable().optional(),
120
120
  spend_limit_id: zod.z.string().describe("Spend limit to which the reimbursement is attributed, if it exists.").nullable().optional(),
121
121
  start_location: zod.z.string().describe("Starting location of the trip, for mileage reimbursements.").nullable().optional(),
122
- user_full_name: zod.z.string().describe("Full name of the person who made the reimbursement."),
122
+ user_full_name: zod.z.string().describe("Full name of the person who made the reimbursement.").nullable(),
123
123
  accounting_date: zod.z.string().describe("The date for the reimbursement for accounting purposes. If not specified, falls back to the transaction date.").nullable().optional(),
124
124
  payment_batch_id: zod.z.string().describe("The unique identifier of the reimbursement payment batch that the reimbursement is associated with.").nullable().optional(),
125
125
  transaction_date: zod.z.string().describe("Date of the transaction in ISO 8601 date format.").nullable().optional(),
126
126
  payment_processed_at: zod.z.string().describe("Time of reimbursement payment. Presented in ISO8601 format.").nullable().optional(),
127
127
  accounting_field_selections: zod.z.array(RampCreateMileageReimbursement_AccountingFieldSelectionSchema).describe("List of accounting fields selected to code the reimbursement.").nullable().optional(),
128
128
  original_reimbursement_amount: RampCreateMileageReimbursement_MoneyAmountSchema.nullable().optional()
129
- }).describe("Complete mileage reimbursement details returned by the API.");
129
+ }).passthrough().describe("Complete mileage reimbursement details returned by the API.");
130
130
  const rampCreateMileageReimbursement = require_action.action("RAMP_CREATE_MILEAGE_REIMBURSEMENT", {
131
131
  slug: "ramp-create-mileage-reimbursement",
132
132
  name: "Create Mileage Reimbursement",
@@ -1 +1 @@
1
- {"version":3,"file":"create-mileage-reimbursement.cjs","names":["z","action"],"sources":["../../src/actions/create-mileage-reimbursement.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampCreateMileageReimbursementInput: z.ZodTypeAny = 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.ZodTypeAny = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of the reimbursement.\");\nconst RampCreateMileageReimbursement_ReimbursementStateSchema: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the attendee\"),\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.ZodTypeAny = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of the reimbursement.\");\nconst RampCreateMileageReimbursement_LineItemAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Numeric value of the line item amount in minor currency units\"),\n currency_code: z.string().describe(\"Currency code for the line item\"),\n}).describe(\"Amount object for a line item.\");\nconst RampCreateMileageReimbursement_CategoryInfoSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Current sync status of the reimbursement.\");\nconst RampCreateMileageReimbursement_MoneyAmountSchema: z.ZodTypeAny = z.object({\n amount: z.number().int().describe(\"Numeric value of the amount in minor currency units (e.g., cents)\"),\n currency_code: z.string().describe(\"Currency code (e.g., USD, EUR)\"),\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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the expense group\"),\n name: z.string().describe(\"Name of the expense group\"),\n}).describe(\"Expense group information.\");\nexport const RampCreateMileageReimbursementOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\"),\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.\"),\n currency: z.string().describe(\"The currency that the payor pays with.\"),\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.\"),\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.\"),\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.\"),\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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAuEA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACtM,MAAM,0DAAwEA,IAAAA,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,C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AC,CAAC,SAAS;CACnF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAe,kDAAkD,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1K,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,6BAA6BA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-mileage-reimbursement.cjs","names":["z","action"],"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,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACrH,UAAUA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;CAC1C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACvF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC3F,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,cAAc,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxL,MAAM,0DAA0DA,IAAAA,EAAE,KAAK;CAAC;CAA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