@keystrokehq/ramp 0.1.3 → 0.1.5

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 (717) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-department.cjs +1 -0
  4. package/dist/actions/create-department.cjs.map +1 -1
  5. package/dist/actions/create-department.d.cts +3 -3
  6. package/dist/actions/create-department.d.cts.map +1 -1
  7. package/dist/actions/create-department.d.mts +3 -3
  8. package/dist/actions/create-department.d.mts.map +1 -1
  9. package/dist/actions/create-department.mjs +1 -0
  10. package/dist/actions/create-department.mjs.map +1 -1
  11. package/dist/actions/create-inventory-item-accounting-field.cjs +1 -0
  12. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  13. package/dist/actions/create-inventory-item-accounting-field.d.cts +3 -4
  14. package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
  15. package/dist/actions/create-inventory-item-accounting-field.d.mts +3 -4
  16. package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
  17. package/dist/actions/create-inventory-item-accounting-field.mjs +1 -0
  18. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  19. package/dist/actions/create-memo.cjs +1 -0
  20. package/dist/actions/create-memo.cjs.map +1 -1
  21. package/dist/actions/create-memo.d.cts +3 -5
  22. package/dist/actions/create-memo.d.cts.map +1 -1
  23. package/dist/actions/create-memo.d.mts +3 -5
  24. package/dist/actions/create-memo.d.mts.map +1 -1
  25. package/dist/actions/create-memo.mjs +1 -0
  26. package/dist/actions/create-memo.mjs.map +1 -1
  27. package/dist/actions/create-mileage-reimbursement.cjs +1 -0
  28. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  29. package/dist/actions/create-mileage-reimbursement.d.cts +3 -10
  30. package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
  31. package/dist/actions/create-mileage-reimbursement.d.mts +3 -10
  32. package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
  33. package/dist/actions/create-mileage-reimbursement.mjs +1 -0
  34. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  35. package/dist/actions/create-new-custom-accounting-field.cjs +1 -0
  36. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  37. package/dist/actions/create-new-custom-accounting-field.d.cts +3 -7
  38. package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
  39. package/dist/actions/create-new-custom-accounting-field.d.mts +3 -7
  40. package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
  41. package/dist/actions/create-new-custom-accounting-field.mjs +1 -0
  42. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  43. package/dist/actions/create-tax-code-accounting-field.cjs +1 -0
  44. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  45. package/dist/actions/create-tax-code-accounting-field.d.cts +3 -4
  46. package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
  47. package/dist/actions/create-tax-code-accounting-field.d.mts +3 -4
  48. package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
  49. package/dist/actions/create-tax-code-accounting-field.mjs +1 -0
  50. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  51. package/dist/actions/create-user-invite.cjs +1 -0
  52. package/dist/actions/create-user-invite.cjs.map +1 -1
  53. package/dist/actions/create-user-invite.d.cts +3 -11
  54. package/dist/actions/create-user-invite.d.cts.map +1 -1
  55. package/dist/actions/create-user-invite.d.mts +3 -11
  56. package/dist/actions/create-user-invite.d.mts.map +1 -1
  57. package/dist/actions/create-user-invite.mjs +1 -0
  58. package/dist/actions/create-user-invite.mjs.map +1 -1
  59. package/dist/actions/create-webhook-subscription.cjs +1 -0
  60. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  61. package/dist/actions/create-webhook-subscription.d.cts +3 -5
  62. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  63. package/dist/actions/create-webhook-subscription.d.mts +3 -5
  64. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  65. package/dist/actions/create-webhook-subscription.mjs +1 -0
  66. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  67. package/dist/actions/deactivate-user.cjs +1 -0
  68. package/dist/actions/deactivate-user.cjs.map +1 -1
  69. package/dist/actions/deactivate-user.d.cts +3 -3
  70. package/dist/actions/deactivate-user.d.cts.map +1 -1
  71. package/dist/actions/deactivate-user.d.mts +3 -3
  72. package/dist/actions/deactivate-user.d.mts.map +1 -1
  73. package/dist/actions/deactivate-user.mjs +1 -0
  74. package/dist/actions/deactivate-user.mjs.map +1 -1
  75. package/dist/actions/delete-accounting-account.cjs +1 -0
  76. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  77. package/dist/actions/delete-accounting-account.d.cts +3 -3
  78. package/dist/actions/delete-accounting-account.d.cts.map +1 -1
  79. package/dist/actions/delete-accounting-account.d.mts +3 -3
  80. package/dist/actions/delete-accounting-account.d.mts.map +1 -1
  81. package/dist/actions/delete-accounting-account.mjs +1 -0
  82. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  83. package/dist/actions/delete-accounting-connection.cjs +1 -0
  84. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  85. package/dist/actions/delete-accounting-connection.d.cts +3 -1
  86. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  87. package/dist/actions/delete-accounting-connection.d.mts +3 -1
  88. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  89. package/dist/actions/delete-accounting-connection.mjs +1 -0
  90. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  91. package/dist/actions/delete-accounting-fields.cjs +1 -0
  92. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  93. package/dist/actions/delete-accounting-fields.d.cts +3 -3
  94. package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
  95. package/dist/actions/delete-accounting-fields.d.mts +3 -3
  96. package/dist/actions/delete-accounting-fields.d.mts.map +1 -1
  97. package/dist/actions/delete-accounting-fields.mjs +1 -0
  98. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  99. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -0
  100. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  101. package/dist/actions/delete-accounting-inventory-item-options.d.cts +3 -3
  102. package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
  103. package/dist/actions/delete-accounting-inventory-item-options.d.mts +3 -3
  104. package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -1
  105. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -0
  106. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  107. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -0
  108. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  109. package/dist/actions/delete-accounting-tax-code-options.d.cts +3 -3
  110. package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
  111. package/dist/actions/delete-accounting-tax-code-options.d.mts +3 -3
  112. package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -1
  113. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -0
  114. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  115. package/dist/actions/delete-accounting-tax-code.cjs +1 -0
  116. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  117. package/dist/actions/delete-accounting-tax-code.d.cts +3 -1
  118. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  119. package/dist/actions/delete-accounting-tax-code.d.mts +3 -1
  120. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  121. package/dist/actions/delete-accounting-tax-code.mjs +1 -0
  122. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  123. package/dist/actions/delete-accounting-tax-rates.cjs +1 -0
  124. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  125. package/dist/actions/delete-accounting-tax-rates.d.cts +3 -4
  126. package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
  127. package/dist/actions/delete-accounting-tax-rates.d.mts +3 -4
  128. package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -1
  129. package/dist/actions/delete-accounting-tax-rates.mjs +1 -0
  130. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  131. package/dist/actions/delete-accounting-vendors.cjs +1 -0
  132. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  133. package/dist/actions/delete-accounting-vendors.d.cts +3 -3
  134. package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
  135. package/dist/actions/delete-accounting-vendors.d.mts +3 -3
  136. package/dist/actions/delete-accounting-vendors.d.mts.map +1 -1
  137. package/dist/actions/delete-accounting-vendors.mjs +1 -0
  138. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  139. package/dist/actions/delete-custom-field-option.cjs +1 -0
  140. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  141. package/dist/actions/delete-custom-field-option.d.cts +3 -3
  142. package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
  143. package/dist/actions/delete-custom-field-option.d.mts +3 -3
  144. package/dist/actions/delete-custom-field-option.d.mts.map +1 -1
  145. package/dist/actions/delete-custom-field-option.mjs +1 -0
  146. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  147. package/dist/actions/delete-inventory-item-field.cjs +1 -0
  148. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  149. package/dist/actions/delete-inventory-item-field.d.cts +3 -1
  150. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  151. package/dist/actions/delete-inventory-item-field.d.mts +3 -1
  152. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  153. package/dist/actions/delete-inventory-item-field.mjs +1 -0
  154. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  155. package/dist/actions/delete-spend-allocation-delete-users.cjs +1 -0
  156. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  157. package/dist/actions/delete-spend-allocation-delete-users.d.cts +3 -4
  158. package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
  159. package/dist/actions/delete-spend-allocation-delete-users.d.mts +3 -4
  160. package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
  161. package/dist/actions/delete-spend-allocation-delete-users.mjs +1 -0
  162. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  163. package/dist/actions/delete-webhook.cjs +1 -0
  164. package/dist/actions/delete-webhook.cjs.map +1 -1
  165. package/dist/actions/delete-webhook.d.cts +3 -3
  166. package/dist/actions/delete-webhook.d.cts.map +1 -1
  167. package/dist/actions/delete-webhook.d.mts +3 -3
  168. package/dist/actions/delete-webhook.d.mts.map +1 -1
  169. package/dist/actions/delete-webhook.mjs +1 -0
  170. package/dist/actions/delete-webhook.mjs.map +1 -1
  171. package/dist/actions/fetch-accounting-account.cjs +1 -0
  172. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  173. package/dist/actions/fetch-accounting-account.d.cts +3 -4
  174. package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
  175. package/dist/actions/fetch-accounting-account.d.mts +3 -4
  176. package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
  177. package/dist/actions/fetch-accounting-account.mjs +1 -0
  178. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  179. package/dist/actions/fetch-accounting-vendor.cjs +1 -0
  180. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  181. package/dist/actions/fetch-accounting-vendor.d.cts +3 -4
  182. package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
  183. package/dist/actions/fetch-accounting-vendor.d.mts +3 -4
  184. package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
  185. package/dist/actions/fetch-accounting-vendor.mjs +1 -0
  186. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  187. package/dist/actions/fetch-custom-accounting-field.cjs +1 -0
  188. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  189. package/dist/actions/fetch-custom-accounting-field.d.cts +3 -3
  190. package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
  191. package/dist/actions/fetch-custom-accounting-field.d.mts +3 -3
  192. package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
  193. package/dist/actions/fetch-custom-accounting-field.mjs +1 -0
  194. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  195. package/dist/actions/get-accounting-accounts.cjs +1 -0
  196. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  197. package/dist/actions/get-accounting-accounts.d.cts +3 -8
  198. package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
  199. package/dist/actions/get-accounting-accounts.d.mts +3 -8
  200. package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
  201. package/dist/actions/get-accounting-accounts.mjs +1 -0
  202. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  203. package/dist/actions/get-accounting-all-connections.cjs +1 -0
  204. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  205. package/dist/actions/get-accounting-all-connections.d.cts +3 -1
  206. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  207. package/dist/actions/get-accounting-all-connections.d.mts +3 -1
  208. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  209. package/dist/actions/get-accounting-all-connections.mjs +1 -0
  210. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  211. package/dist/actions/get-accounting-connection-by-id.cjs +1 -0
  212. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  213. package/dist/actions/get-accounting-connection-by-id.d.cts +3 -3
  214. package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
  215. package/dist/actions/get-accounting-connection-by-id.d.mts +3 -3
  216. package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
  217. package/dist/actions/get-accounting-connection-by-id.mjs +1 -0
  218. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  219. package/dist/actions/get-accounting-connection.cjs +1 -0
  220. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  221. package/dist/actions/get-accounting-connection.d.cts +3 -1
  222. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  223. package/dist/actions/get-accounting-connection.d.mts +3 -1
  224. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  225. package/dist/actions/get-accounting-connection.mjs +1 -0
  226. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  227. package/dist/actions/get-accounting-fields.cjs +1 -0
  228. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  229. package/dist/actions/get-accounting-fields.d.cts +3 -4
  230. package/dist/actions/get-accounting-fields.d.cts.map +1 -1
  231. package/dist/actions/get-accounting-fields.d.mts +3 -4
  232. package/dist/actions/get-accounting-fields.d.mts.map +1 -1
  233. package/dist/actions/get-accounting-fields.mjs +1 -0
  234. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  235. package/dist/actions/get-accounting-vendors.cjs +1 -0
  236. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  237. package/dist/actions/get-accounting-vendors.d.cts +3 -4
  238. package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
  239. package/dist/actions/get-accounting-vendors.d.mts +3 -4
  240. package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
  241. package/dist/actions/get-accounting-vendors.mjs +1 -0
  242. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  243. package/dist/actions/get-all-transactions.cjs +1 -0
  244. package/dist/actions/get-all-transactions.cjs.map +1 -1
  245. package/dist/actions/get-all-transactions.d.cts +3 -33
  246. package/dist/actions/get-all-transactions.d.cts.map +1 -1
  247. package/dist/actions/get-all-transactions.d.mts +3 -33
  248. package/dist/actions/get-all-transactions.d.mts.map +1 -1
  249. package/dist/actions/get-all-transactions.mjs +1 -0
  250. package/dist/actions/get-all-transactions.mjs.map +1 -1
  251. package/dist/actions/get-card-vault-resource.cjs +1 -0
  252. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  253. package/dist/actions/get-card-vault-resource.d.cts +3 -3
  254. package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
  255. package/dist/actions/get-card-vault-resource.d.mts +3 -3
  256. package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
  257. package/dist/actions/get-card-vault-resource.mjs +1 -0
  258. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  259. package/dist/actions/get-card.cjs +1 -0
  260. package/dist/actions/get-card.cjs.map +1 -1
  261. package/dist/actions/get-card.d.cts +3 -3
  262. package/dist/actions/get-card.d.cts.map +1 -1
  263. package/dist/actions/get-card.d.mts +3 -3
  264. package/dist/actions/get-card.d.mts.map +1 -1
  265. package/dist/actions/get-card.mjs +1 -0
  266. package/dist/actions/get-card.mjs.map +1 -1
  267. package/dist/actions/get-custom-field-option.cjs +1 -0
  268. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  269. package/dist/actions/get-custom-field-option.d.cts +3 -3
  270. package/dist/actions/get-custom-field-option.d.cts.map +1 -1
  271. package/dist/actions/get-custom-field-option.d.mts +3 -3
  272. package/dist/actions/get-custom-field-option.d.mts.map +1 -1
  273. package/dist/actions/get-custom-field-option.mjs +1 -0
  274. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  275. package/dist/actions/get-department.cjs +1 -0
  276. package/dist/actions/get-department.cjs.map +1 -1
  277. package/dist/actions/get-department.d.cts +3 -3
  278. package/dist/actions/get-department.d.cts.map +1 -1
  279. package/dist/actions/get-department.d.mts +3 -3
  280. package/dist/actions/get-department.d.mts.map +1 -1
  281. package/dist/actions/get-department.mjs +1 -0
  282. package/dist/actions/get-department.mjs.map +1 -1
  283. package/dist/actions/get-inventory-item-field.cjs +1 -0
  284. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  285. package/dist/actions/get-inventory-item-field.d.cts +3 -1
  286. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  287. package/dist/actions/get-inventory-item-field.d.mts +3 -1
  288. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  289. package/dist/actions/get-inventory-item-field.mjs +1 -0
  290. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  291. package/dist/actions/get-memo.cjs +1 -0
  292. package/dist/actions/get-memo.cjs.map +1 -1
  293. package/dist/actions/get-memo.d.cts +3 -3
  294. package/dist/actions/get-memo.d.cts.map +1 -1
  295. package/dist/actions/get-memo.d.mts +3 -3
  296. package/dist/actions/get-memo.d.mts.map +1 -1
  297. package/dist/actions/get-memo.mjs +1 -0
  298. package/dist/actions/get-memo.mjs.map +1 -1
  299. package/dist/actions/get-reimbursement.cjs +1 -0
  300. package/dist/actions/get-reimbursement.cjs.map +1 -1
  301. package/dist/actions/get-reimbursement.d.cts +3 -3
  302. package/dist/actions/get-reimbursement.d.cts.map +1 -1
  303. package/dist/actions/get-reimbursement.d.mts +3 -3
  304. package/dist/actions/get-reimbursement.d.mts.map +1 -1
  305. package/dist/actions/get-reimbursement.mjs +1 -0
  306. package/dist/actions/get-reimbursement.mjs.map +1 -1
  307. package/dist/actions/get-spend-limit.cjs +1 -0
  308. package/dist/actions/get-spend-limit.cjs.map +1 -1
  309. package/dist/actions/get-spend-limit.d.cts +3 -3
  310. package/dist/actions/get-spend-limit.d.cts.map +1 -1
  311. package/dist/actions/get-spend-limit.d.mts +3 -3
  312. package/dist/actions/get-spend-limit.d.mts.map +1 -1
  313. package/dist/actions/get-spend-limit.mjs +1 -0
  314. package/dist/actions/get-spend-limit.mjs.map +1 -1
  315. package/dist/actions/get-statement.cjs +1 -0
  316. package/dist/actions/get-statement.cjs.map +1 -1
  317. package/dist/actions/get-statement.d.cts +3 -4
  318. package/dist/actions/get-statement.d.cts.map +1 -1
  319. package/dist/actions/get-statement.d.mts +3 -4
  320. package/dist/actions/get-statement.d.mts.map +1 -1
  321. package/dist/actions/get-statement.mjs +1 -0
  322. package/dist/actions/get-statement.mjs.map +1 -1
  323. package/dist/actions/get-transaction.cjs +1 -0
  324. package/dist/actions/get-transaction.cjs.map +1 -1
  325. package/dist/actions/get-transaction.d.cts +3 -3
  326. package/dist/actions/get-transaction.d.cts.map +1 -1
  327. package/dist/actions/get-transaction.d.mts +3 -3
  328. package/dist/actions/get-transaction.d.mts.map +1 -1
  329. package/dist/actions/get-transaction.mjs +1 -0
  330. package/dist/actions/get-transaction.mjs.map +1 -1
  331. package/dist/actions/get-user.cjs +1 -0
  332. package/dist/actions/get-user.cjs.map +1 -1
  333. package/dist/actions/get-user.d.cts +3 -3
  334. package/dist/actions/get-user.d.cts.map +1 -1
  335. package/dist/actions/get-user.d.mts +3 -3
  336. package/dist/actions/get-user.d.mts.map +1 -1
  337. package/dist/actions/get-user.mjs +1 -0
  338. package/dist/actions/get-user.mjs.map +1 -1
  339. package/dist/actions/get-users-deferred-status.cjs +1 -0
  340. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  341. package/dist/actions/get-users-deferred-status.d.cts +3 -3
  342. package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
  343. package/dist/actions/get-users-deferred-status.d.mts +3 -3
  344. package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
  345. package/dist/actions/get-users-deferred-status.mjs +1 -0
  346. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  347. package/dist/actions/get-vendor.cjs +1 -0
  348. package/dist/actions/get-vendor.cjs.map +1 -1
  349. package/dist/actions/get-vendor.d.cts +3 -3
  350. package/dist/actions/get-vendor.d.cts.map +1 -1
  351. package/dist/actions/get-vendor.d.mts +3 -3
  352. package/dist/actions/get-vendor.d.mts.map +1 -1
  353. package/dist/actions/get-vendor.mjs +1 -0
  354. package/dist/actions/get-vendor.mjs.map +1 -1
  355. package/dist/actions/get-webhook.cjs +1 -0
  356. package/dist/actions/get-webhook.cjs.map +1 -1
  357. package/dist/actions/get-webhook.d.cts +3 -3
  358. package/dist/actions/get-webhook.d.cts.map +1 -1
  359. package/dist/actions/get-webhook.d.mts +3 -3
  360. package/dist/actions/get-webhook.d.mts.map +1 -1
  361. package/dist/actions/get-webhook.mjs +1 -0
  362. package/dist/actions/get-webhook.mjs.map +1 -1
  363. package/dist/actions/issue-virtual-card.cjs +1 -0
  364. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  365. package/dist/actions/issue-virtual-card.d.cts +3 -14
  366. package/dist/actions/issue-virtual-card.d.cts.map +1 -1
  367. package/dist/actions/issue-virtual-card.d.mts +3 -14
  368. package/dist/actions/issue-virtual-card.d.mts.map +1 -1
  369. package/dist/actions/issue-virtual-card.mjs +1 -0
  370. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  371. package/dist/actions/list-accounting-inventory-item-options.cjs +1 -0
  372. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  373. package/dist/actions/list-accounting-inventory-item-options.d.cts +3 -8
  374. package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
  375. package/dist/actions/list-accounting-inventory-item-options.d.mts +3 -8
  376. package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
  377. package/dist/actions/list-accounting-inventory-item-options.mjs +1 -0
  378. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  379. package/dist/actions/list-accounting-tax-rates.cjs +1 -0
  380. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  381. package/dist/actions/list-accounting-tax-rates.d.cts +3 -4
  382. package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
  383. package/dist/actions/list-accounting-tax-rates.d.mts +3 -4
  384. package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
  385. package/dist/actions/list-accounting-tax-rates.mjs +1 -0
  386. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  387. package/dist/actions/list-cards.cjs +1 -0
  388. package/dist/actions/list-cards.cjs.map +1 -1
  389. package/dist/actions/list-cards.d.cts +3 -10
  390. package/dist/actions/list-cards.d.cts.map +1 -1
  391. package/dist/actions/list-cards.d.mts +3 -10
  392. package/dist/actions/list-cards.d.mts.map +1 -1
  393. package/dist/actions/list-cards.mjs +1 -0
  394. package/dist/actions/list-cards.mjs.map +1 -1
  395. package/dist/actions/list-departments.cjs +1 -0
  396. package/dist/actions/list-departments.cjs.map +1 -1
  397. package/dist/actions/list-departments.d.cts +3 -4
  398. package/dist/actions/list-departments.d.cts.map +1 -1
  399. package/dist/actions/list-departments.d.mts +3 -4
  400. package/dist/actions/list-departments.d.mts.map +1 -1
  401. package/dist/actions/list-departments.mjs +1 -0
  402. package/dist/actions/list-departments.mjs.map +1 -1
  403. package/dist/actions/list-memos.cjs +1 -0
  404. package/dist/actions/list-memos.cjs.map +1 -1
  405. package/dist/actions/list-memos.d.cts +3 -12
  406. package/dist/actions/list-memos.d.cts.map +1 -1
  407. package/dist/actions/list-memos.d.mts +3 -12
  408. package/dist/actions/list-memos.d.mts.map +1 -1
  409. package/dist/actions/list-memos.mjs +1 -0
  410. package/dist/actions/list-memos.mjs.map +1 -1
  411. package/dist/actions/list-reimbursements.cjs +1 -0
  412. package/dist/actions/list-reimbursements.cjs.map +1 -1
  413. package/dist/actions/list-reimbursements.d.cts +3 -21
  414. package/dist/actions/list-reimbursements.d.cts.map +1 -1
  415. package/dist/actions/list-reimbursements.d.mts +3 -21
  416. package/dist/actions/list-reimbursements.d.mts.map +1 -1
  417. package/dist/actions/list-reimbursements.mjs +1 -0
  418. package/dist/actions/list-reimbursements.mjs.map +1 -1
  419. package/dist/actions/list-statements.cjs +1 -0
  420. package/dist/actions/list-statements.cjs.map +1 -1
  421. package/dist/actions/list-statements.d.cts +3 -6
  422. package/dist/actions/list-statements.d.cts.map +1 -1
  423. package/dist/actions/list-statements.d.mts +3 -6
  424. package/dist/actions/list-statements.d.mts.map +1 -1
  425. package/dist/actions/list-statements.mjs +1 -0
  426. package/dist/actions/list-statements.mjs.map +1 -1
  427. package/dist/actions/list-users.cjs +1 -0
  428. package/dist/actions/list-users.cjs.map +1 -1
  429. package/dist/actions/list-users.d.cts +3 -10
  430. package/dist/actions/list-users.d.cts.map +1 -1
  431. package/dist/actions/list-users.d.mts +3 -10
  432. package/dist/actions/list-users.d.mts.map +1 -1
  433. package/dist/actions/list-users.mjs +1 -0
  434. package/dist/actions/list-users.mjs.map +1 -1
  435. package/dist/actions/list-vendors-accounts.cjs +1 -0
  436. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  437. package/dist/actions/list-vendors-accounts.d.cts +3 -5
  438. package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
  439. package/dist/actions/list-vendors-accounts.d.mts +3 -5
  440. package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
  441. package/dist/actions/list-vendors-accounts.mjs +1 -0
  442. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  443. package/dist/actions/list-vendors-contacts.cjs +1 -0
  444. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  445. package/dist/actions/list-vendors-contacts.d.cts +3 -5
  446. package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
  447. package/dist/actions/list-vendors-contacts.d.mts +3 -5
  448. package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
  449. package/dist/actions/list-vendors-contacts.mjs +1 -0
  450. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  451. package/dist/actions/list-vendors-credits.cjs +1 -0
  452. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  453. package/dist/actions/list-vendors-credits.d.cts +3 -7
  454. package/dist/actions/list-vendors-credits.d.cts.map +1 -1
  455. package/dist/actions/list-vendors-credits.d.mts +3 -7
  456. package/dist/actions/list-vendors-credits.d.mts.map +1 -1
  457. package/dist/actions/list-vendors-credits.mjs +1 -0
  458. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  459. package/dist/actions/list-vendors.cjs +1 -0
  460. package/dist/actions/list-vendors.cjs.map +1 -1
  461. package/dist/actions/list-vendors.d.cts +3 -9
  462. package/dist/actions/list-vendors.d.cts.map +1 -1
  463. package/dist/actions/list-vendors.d.mts +3 -9
  464. package/dist/actions/list-vendors.d.mts.map +1 -1
  465. package/dist/actions/list-vendors.mjs +1 -0
  466. package/dist/actions/list-vendors.mjs.map +1 -1
  467. package/dist/actions/list-webhooks.cjs +1 -0
  468. package/dist/actions/list-webhooks.cjs.map +1 -1
  469. package/dist/actions/list-webhooks.d.cts +3 -1
  470. package/dist/actions/list-webhooks.d.cts.map +1 -1
  471. package/dist/actions/list-webhooks.d.mts +3 -1
  472. package/dist/actions/list-webhooks.d.mts.map +1 -1
  473. package/dist/actions/list-webhooks.mjs +1 -0
  474. package/dist/actions/list-webhooks.mjs.map +1 -1
  475. package/dist/actions/options-for-custom-accounting-field.cjs +1 -0
  476. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  477. package/dist/actions/options-for-custom-accounting-field.d.cts +3 -3
  478. package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
  479. package/dist/actions/options-for-custom-accounting-field.d.mts +3 -3
  480. package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
  481. package/dist/actions/options-for-custom-accounting-field.mjs +1 -0
  482. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  483. package/dist/actions/patch-accounting-connection.cjs +1 -0
  484. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  485. package/dist/actions/patch-accounting-connection.d.cts +3 -7
  486. package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
  487. package/dist/actions/patch-accounting-connection.d.mts +3 -7
  488. package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
  489. package/dist/actions/patch-accounting-connection.mjs +1 -0
  490. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  491. package/dist/actions/patch-card-resource.cjs +1 -0
  492. package/dist/actions/patch-card-resource.cjs.map +1 -1
  493. package/dist/actions/patch-card-resource.d.cts +3 -21
  494. package/dist/actions/patch-card-resource.d.cts.map +1 -1
  495. package/dist/actions/patch-card-resource.d.mts +3 -21
  496. package/dist/actions/patch-card-resource.d.mts.map +1 -1
  497. package/dist/actions/patch-card-resource.mjs +1 -0
  498. package/dist/actions/patch-card-resource.mjs.map +1 -1
  499. package/dist/actions/patch-custom-field-option.cjs +1 -0
  500. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  501. package/dist/actions/patch-custom-field-option.d.cts +3 -8
  502. package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
  503. package/dist/actions/patch-custom-field-option.d.mts +3 -8
  504. package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
  505. package/dist/actions/patch-custom-field-option.mjs +1 -0
  506. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  507. package/dist/actions/patch-gl-account-resource.cjs +1 -0
  508. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  509. package/dist/actions/patch-gl-account-resource.d.cts +3 -6
  510. package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
  511. package/dist/actions/patch-gl-account-resource.d.mts +3 -6
  512. package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
  513. package/dist/actions/patch-gl-account-resource.mjs +1 -0
  514. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  515. package/dist/actions/patch-inventory-item-field.cjs +1 -0
  516. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  517. package/dist/actions/patch-inventory-item-field.d.cts +3 -4
  518. package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
  519. package/dist/actions/patch-inventory-item-field.d.mts +3 -4
  520. package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
  521. package/dist/actions/patch-inventory-item-field.mjs +1 -0
  522. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  523. package/dist/actions/post-accounting-accounts.cjs +1 -0
  524. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  525. package/dist/actions/post-accounting-accounts.d.cts +3 -9
  526. package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
  527. package/dist/actions/post-accounting-accounts.d.mts +3 -9
  528. package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
  529. package/dist/actions/post-accounting-accounts.mjs +1 -0
  530. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  531. package/dist/actions/post-accounting-connection.cjs +1 -0
  532. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  533. package/dist/actions/post-accounting-connection.d.cts +3 -7
  534. package/dist/actions/post-accounting-connection.d.cts.map +1 -1
  535. package/dist/actions/post-accounting-connection.d.mts +3 -7
  536. package/dist/actions/post-accounting-connection.d.mts.map +1 -1
  537. package/dist/actions/post-accounting-connection.mjs +1 -0
  538. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  539. package/dist/actions/post-accounting-vendors.cjs +1 -0
  540. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  541. package/dist/actions/post-accounting-vendors.d.cts +3 -7
  542. package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
  543. package/dist/actions/post-accounting-vendors.d.mts +3 -7
  544. package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
  545. package/dist/actions/post-accounting-vendors.mjs +1 -0
  546. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  547. package/dist/actions/post-inventory-item-options.cjs +1 -0
  548. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  549. package/dist/actions/post-inventory-item-options.d.cts +3 -7
  550. package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
  551. package/dist/actions/post-inventory-item-options.d.mts +3 -7
  552. package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
  553. package/dist/actions/post-inventory-item-options.mjs +1 -0
  554. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  555. package/dist/actions/post-physical-card.cjs +1 -0
  556. package/dist/actions/post-physical-card.cjs.map +1 -1
  557. package/dist/actions/post-physical-card.d.cts +3 -41
  558. package/dist/actions/post-physical-card.d.cts.map +1 -1
  559. package/dist/actions/post-physical-card.d.mts +3 -41
  560. package/dist/actions/post-physical-card.d.mts.map +1 -1
  561. package/dist/actions/post-physical-card.mjs +1 -0
  562. package/dist/actions/post-physical-card.mjs.map +1 -1
  563. package/dist/actions/reactivate-accounting-connection.cjs +1 -0
  564. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  565. package/dist/actions/reactivate-accounting-connection.d.cts +3 -3
  566. package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
  567. package/dist/actions/reactivate-accounting-connection.d.mts +3 -3
  568. package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
  569. package/dist/actions/reactivate-accounting-connection.mjs +1 -0
  570. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  571. package/dist/actions/reactivate-user.cjs +1 -0
  572. package/dist/actions/reactivate-user.cjs.map +1 -1
  573. package/dist/actions/reactivate-user.d.cts +3 -3
  574. package/dist/actions/reactivate-user.d.cts.map +1 -1
  575. package/dist/actions/reactivate-user.d.mts +3 -3
  576. package/dist/actions/reactivate-user.d.mts.map +1 -1
  577. package/dist/actions/reactivate-user.mjs +1 -0
  578. package/dist/actions/reactivate-user.mjs.map +1 -1
  579. package/dist/actions/submit-reimbursement-receipt.cjs +1 -0
  580. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  581. package/dist/actions/submit-reimbursement-receipt.d.cts +3 -10
  582. package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
  583. package/dist/actions/submit-reimbursement-receipt.d.mts +3 -10
  584. package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
  585. package/dist/actions/submit-reimbursement-receipt.mjs +1 -0
  586. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  587. package/dist/actions/suspend-card.cjs +1 -0
  588. package/dist/actions/suspend-card.cjs.map +1 -1
  589. package/dist/actions/suspend-card.d.cts +3 -4
  590. package/dist/actions/suspend-card.d.cts.map +1 -1
  591. package/dist/actions/suspend-card.d.mts +3 -4
  592. package/dist/actions/suspend-card.d.mts.map +1 -1
  593. package/dist/actions/suspend-card.mjs +1 -0
  594. package/dist/actions/suspend-card.mjs.map +1 -1
  595. package/dist/actions/terminate-card.cjs +1 -0
  596. package/dist/actions/terminate-card.cjs.map +1 -1
  597. package/dist/actions/terminate-card.d.cts +3 -4
  598. package/dist/actions/terminate-card.d.cts.map +1 -1
  599. package/dist/actions/terminate-card.d.mts +3 -4
  600. package/dist/actions/terminate-card.d.mts.map +1 -1
  601. package/dist/actions/terminate-card.mjs +1 -0
  602. package/dist/actions/terminate-card.mjs.map +1 -1
  603. package/dist/actions/update-accounting-field.cjs +1 -0
  604. package/dist/actions/update-accounting-field.cjs.map +1 -1
  605. package/dist/actions/update-accounting-field.d.cts +3 -6
  606. package/dist/actions/update-accounting-field.d.cts.map +1 -1
  607. package/dist/actions/update-accounting-field.d.mts +3 -6
  608. package/dist/actions/update-accounting-field.d.mts.map +1 -1
  609. package/dist/actions/update-accounting-field.mjs +1 -0
  610. package/dist/actions/update-accounting-field.mjs.map +1 -1
  611. package/dist/actions/update-accounting-inventory-item-options.cjs +1 -0
  612. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  613. package/dist/actions/update-accounting-inventory-item-options.d.cts +3 -4
  614. package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
  615. package/dist/actions/update-accounting-inventory-item-options.d.mts +3 -4
  616. package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
  617. package/dist/actions/update-accounting-inventory-item-options.mjs +1 -0
  618. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  619. package/dist/actions/update-accounting-tax-code-options.cjs +1 -0
  620. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  621. package/dist/actions/update-accounting-tax-code-options.d.cts +3 -5
  622. package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
  623. package/dist/actions/update-accounting-tax-code-options.d.mts +3 -5
  624. package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
  625. package/dist/actions/update-accounting-tax-code-options.mjs +1 -0
  626. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  627. package/dist/actions/update-accounting-tax-code.cjs +1 -0
  628. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  629. package/dist/actions/update-accounting-tax-code.d.cts +3 -4
  630. package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
  631. package/dist/actions/update-accounting-tax-code.d.mts +3 -4
  632. package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
  633. package/dist/actions/update-accounting-tax-code.mjs +1 -0
  634. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  635. package/dist/actions/update-accounting-tax-rate.cjs +1 -0
  636. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  637. package/dist/actions/update-accounting-tax-rate.d.cts +3 -6
  638. package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
  639. package/dist/actions/update-accounting-tax-rate.d.mts +3 -6
  640. package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
  641. package/dist/actions/update-accounting-tax-rate.mjs +1 -0
  642. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  643. package/dist/actions/update-accounting-vendor.cjs +1 -0
  644. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  645. package/dist/actions/update-accounting-vendor.d.cts +3 -6
  646. package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
  647. package/dist/actions/update-accounting-vendor.d.mts +3 -6
  648. package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
  649. package/dist/actions/update-accounting-vendor.mjs +1 -0
  650. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  651. package/dist/actions/update-card-limit.cjs +1 -0
  652. package/dist/actions/update-card-limit.cjs.map +1 -1
  653. package/dist/actions/update-card-limit.d.cts +3 -5
  654. package/dist/actions/update-card-limit.d.cts.map +1 -1
  655. package/dist/actions/update-card-limit.d.mts +3 -5
  656. package/dist/actions/update-card-limit.d.mts.map +1 -1
  657. package/dist/actions/update-card-limit.mjs +1 -0
  658. package/dist/actions/update-card-limit.mjs.map +1 -1
  659. package/dist/actions/update-department.cjs +1 -0
  660. package/dist/actions/update-department.cjs.map +1 -1
  661. package/dist/actions/update-department.d.cts +3 -6
  662. package/dist/actions/update-department.d.cts.map +1 -1
  663. package/dist/actions/update-department.d.mts +3 -6
  664. package/dist/actions/update-department.d.mts.map +1 -1
  665. package/dist/actions/update-department.mjs +1 -0
  666. package/dist/actions/update-department.mjs.map +1 -1
  667. package/dist/actions/update-limits.cjs +1 -0
  668. package/dist/actions/update-limits.cjs.map +1 -1
  669. package/dist/actions/update-limits.d.cts +3 -28
  670. package/dist/actions/update-limits.d.cts.map +1 -1
  671. package/dist/actions/update-limits.d.mts +3 -28
  672. package/dist/actions/update-limits.d.mts.map +1 -1
  673. package/dist/actions/update-limits.mjs +1 -0
  674. package/dist/actions/update-limits.mjs.map +1 -1
  675. package/dist/actions/update-user.cjs +1 -0
  676. package/dist/actions/update-user.cjs.map +1 -1
  677. package/dist/actions/update-user.d.cts +3 -12
  678. package/dist/actions/update-user.d.cts.map +1 -1
  679. package/dist/actions/update-user.d.mts +3 -12
  680. package/dist/actions/update-user.d.mts.map +1 -1
  681. package/dist/actions/update-user.mjs +1 -0
  682. package/dist/actions/update-user.mjs.map +1 -1
  683. package/dist/actions/upload-new-options.cjs +1 -0
  684. package/dist/actions/upload-new-options.cjs.map +1 -1
  685. package/dist/actions/upload-new-options.d.cts +3 -9
  686. package/dist/actions/upload-new-options.d.cts.map +1 -1
  687. package/dist/actions/upload-new-options.d.mts +3 -9
  688. package/dist/actions/upload-new-options.d.mts.map +1 -1
  689. package/dist/actions/upload-new-options.mjs +1 -0
  690. package/dist/actions/upload-new-options.mjs.map +1 -1
  691. package/dist/actions/upload-tax-code-options.cjs +1 -0
  692. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  693. package/dist/actions/upload-tax-code-options.d.cts +3 -8
  694. package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
  695. package/dist/actions/upload-tax-code-options.d.mts +3 -8
  696. package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
  697. package/dist/actions/upload-tax-code-options.mjs +1 -0
  698. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  699. package/dist/actions/upload-tax-rates.cjs +1 -0
  700. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  701. package/dist/actions/upload-tax-rates.d.cts +3 -9
  702. package/dist/actions/upload-tax-rates.d.cts.map +1 -1
  703. package/dist/actions/upload-tax-rates.d.mts +3 -9
  704. package/dist/actions/upload-tax-rates.d.mts.map +1 -1
  705. package/dist/actions/upload-tax-rates.mjs +1 -0
  706. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  707. package/dist/app.cjs +5 -2
  708. package/dist/app.cjs.map +1 -1
  709. package/dist/app.d.cts +7 -1
  710. package/dist/app.d.cts.map +1 -1
  711. package/dist/app.d.mts +7 -1
  712. package/dist/app.d.mts.map +1 -1
  713. package/dist/app.mjs +3 -2
  714. package/dist/app.mjs.map +1 -1
  715. package/dist/index.d.cts +1 -1
  716. package/dist/index.d.mts +1 -1
  717. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"post-physical-card.cjs","names":["z","action"],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPostPhysicalCardInput,\n output: RampPostPhysicalCardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACxH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CACjK,aAAaA,IAAAA,EAAE,OAAO;EACtB,UAAUA,IAAAA,EAAE,OAAO,EACnB,mBAAmBA,IAAAA,EAAE,OAAO;GAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;GAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;GACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;GAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GACnE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACxD,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C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AACV,CAAC"}
1
+ {"version":3,"file":"post-physical-card.cjs","names":["z","action"],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard: AppAction<\n typeof RampPostPhysicalCardInput,\n typeof RampPostPhysicalCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPost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AA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC1H,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC1H,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC5I,0BAA0BA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-physical-card.d.ts
@@ -52,47 +54,7 @@ declare const RampPostPhysicalCardInput: z.ZodObject<{
52
54
  declare const RampPostPhysicalCardOutput: z.ZodObject<{
53
55
  id: z.ZodNullable<z.ZodString>;
54
56
  }, z.core.$loose>;
55
- declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- user_id: string;
57
- display_name: string;
58
- idempotency_key: string;
59
- entity_id?: string | undefined;
60
- fulfillment?: {
61
- shipping: {
62
- recipient_address: {
63
- city: string;
64
- state: string;
65
- country: string;
66
- address1: string;
67
- last_name: string;
68
- first_name: string;
69
- postal_code: string;
70
- address2?: string | undefined;
71
- };
72
- };
73
- cardholder_uuid?: string | undefined;
74
- card_personalization?: {
75
- text?: string | undefined;
76
- } | undefined;
77
- } | undefined;
78
- is_temporary?: boolean | undefined;
79
- card_program_id?: string | undefined;
80
- spending_restrictions?: {
81
- amount: number;
82
- interval: "DAILY" | "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "TOTAL";
83
- currency?: string | undefined;
84
- lock_date?: string | undefined;
85
- policy_id?: string | undefined;
86
- categories?: number[] | undefined;
87
- vendor_blacklist?: string[] | undefined;
88
- vendor_whitelist?: string[] | undefined;
89
- blocked_mcc_codes?: string[] | undefined;
90
- categories_blacklist?: number[] | undefined;
91
- categories_whitelist?: number[] | undefined;
92
- card_accounting_rules?: Record<string, unknown>[] | undefined;
93
- transaction_amount_limit?: number | undefined;
94
- } | undefined;
95
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ declare const rampPostPhysicalCard: AppAction<typeof RampPostPhysicalCardInput, typeof RampPostPhysicalCardOutput, typeof ramp.credential>;
96
58
  //#endregion
97
59
  export { rampPostPhysicalCard };
98
60
  //# sourceMappingURL=post-physical-card.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-physical-card.d.cts","names":[],"sources":["../../src/actions/post-physical-card.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAM/B,MAAA"}
1
+ {"version":3,"file":"post-physical-card.d.cts","names":[],"sources":["../../src/actions/post-physical-card.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/post-physical-card.d.ts
@@ -52,47 +54,7 @@ declare const RampPostPhysicalCardInput: z.ZodObject<{
52
54
  declare const RampPostPhysicalCardOutput: z.ZodObject<{
53
55
  id: z.ZodNullable<z.ZodString>;
54
56
  }, z.core.$loose>;
55
- declare const rampPostPhysicalCard: import("@keystrokehq/action").WorkflowActionDefinition<{
56
- user_id: string;
57
- display_name: string;
58
- idempotency_key: string;
59
- entity_id?: string | undefined;
60
- fulfillment?: {
61
- shipping: {
62
- recipient_address: {
63
- city: string;
64
- state: string;
65
- country: string;
66
- address1: string;
67
- last_name: string;
68
- first_name: string;
69
- postal_code: string;
70
- address2?: string | undefined;
71
- };
72
- };
73
- cardholder_uuid?: string | undefined;
74
- card_personalization?: {
75
- text?: string | undefined;
76
- } | undefined;
77
- } | undefined;
78
- is_temporary?: boolean | undefined;
79
- card_program_id?: string | undefined;
80
- spending_restrictions?: {
81
- amount: number;
82
- interval: "DAILY" | "WEEKLY" | "MONTHLY" | "QUARTERLY" | "YEARLY" | "TOTAL";
83
- currency?: string | undefined;
84
- lock_date?: string | undefined;
85
- policy_id?: string | undefined;
86
- categories?: number[] | undefined;
87
- vendor_blacklist?: string[] | undefined;
88
- vendor_whitelist?: string[] | undefined;
89
- blocked_mcc_codes?: string[] | undefined;
90
- categories_blacklist?: number[] | undefined;
91
- categories_whitelist?: number[] | undefined;
92
- card_accounting_rules?: Record<string, unknown>[] | undefined;
93
- transaction_amount_limit?: number | undefined;
94
- } | undefined;
95
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
57
+ declare const rampPostPhysicalCard: AppAction<typeof RampPostPhysicalCardInput, typeof RampPostPhysicalCardOutput, typeof ramp.credential>;
96
58
  //#endregion
97
59
  export { rampPostPhysicalCard };
98
60
  //# sourceMappingURL=post-physical-card.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-physical-card.d.mts","names":[],"sources":["../../src/actions/post-physical-card.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAM/B,MAAA"}
1
+ {"version":3,"file":"post-physical-card.d.mts","names":[],"sources":["../../src/actions/post-physical-card.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const rampPostPhysicalCard = action("RAMP_POST_PHYSICAL_CARD", {
@@ -1 +1 @@
1
- {"version":3,"file":"post-physical-card.mjs","names":[],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPostPhysicalCardInput,\n output: RampPostPhysicalCardOutput,\n});\n"],"mappings":";;AAiDA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjDuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SA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AAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,6CASH;CACP,QATwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"post-physical-card.mjs","names":[],"sources":["../../src/actions/post-physical-card.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampPostPhysicalCardInput = z.object({\n user_id: z.string().describe(\"Unique identifier (UUID) of the card owner. This user will be assigned as the cardholder.\"),\n entity_id: z.string().describe(\"Business entity UUID to associate with the card. If not provided, defaults to entity associated with user's location.\").optional(),\n fulfillment: z.object({\n shipping: z.object({\n recipient_address: z.object({\n city: z.string().describe(\"City of the shipping address.\"),\n state: z.string().describe(\"State or province code (e.g., 'NY', 'CA', 'TX').\"),\n country: z.string().describe(\"Country code (e.g., 'US'). Typically 'US' for Ramp cards.\"),\n address1: z.string().describe(\"Primary street address line.\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, etc.).\").optional(),\n last_name: z.string().describe(\"Last name of the card recipient.\"),\n first_name: z.string().describe(\"First name of the card recipient.\"),\n postal_code: z.string().describe(\"Postal or ZIP code.\"),\n}).describe(\"Address where the physical card will be shipped.\"),\n}).describe(\"Shipping information for the physical card.\"),\n cardholder_uuid: z.string().describe(\"UUID of the cardholder. If not provided, defaults to the user_id.\").optional(),\n card_personalization: z.object({\n text: z.string().describe(\"Custom text to be printed on the card (if supported by card program).\").optional(),\n}).describe(\"Card personalization details for the physical card.\").optional(),\n}).describe(\"Fulfillment details for the physical card.\").optional(),\n display_name: z.string().describe(\"Cosmetic display name for the card (e.g., 'Business Travel Card', 'T&E'). Required by the API.\"),\n is_temporary: z.boolean().default(false).describe(\"Set to true to create a temporary card. Defaults to false.\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card. One of spending_restrictions or card_program_id must be provided.\").optional(),\n idempotency_key: z.string().describe(\"Unique value to recognize subsequent retries of the same request. Use a random UUID to avoid collisions.\"),\n spending_restrictions: z.object({\n amount: z.union([z.number().int(), z.number()]),\n currency: z.string().describe(\"Currency code for the spending limit (e.g., 'USD'). Defaults to organization's currency if not specified.\").optional(),\n interval: z.enum([\"DAILY\", \"WEEKLY\", \"MONTHLY\", \"QUARTERLY\", \"YEARLY\", \"TOTAL\"]).describe(\"Spending limit interval for the card.\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: ISO 8601 or YYYY-MM-DD).\").optional(),\n policy_id: z.string().describe(\"Policy ID to apply to the card spending restrictions.\").optional(),\n categories: z.array(z.number().int()).describe(\"List of allowed merchant category codes (MCC). Empty list means no category restrictions.\").optional(),\n vendor_blacklist: z.array(z.string()).describe(\"List of blocked vendor IDs (blacklist).\").optional(),\n vendor_whitelist: z.array(z.string()).describe(\"List of allowed vendor IDs (whitelist).\").optional(),\n blocked_mcc_codes: z.array(z.string()).describe(\"List of blocked merchant category codes.\").optional(),\n categories_blacklist: z.array(z.number().int()).describe(\"List of blocked merchant category codes (blacklist).\").optional(),\n categories_whitelist: z.array(z.number().int()).describe(\"List of allowed merchant category codes (whitelist).\").optional(),\n card_accounting_rules: z.array(z.record(z.string(), z.unknown())).describe(\"Card accounting rules for the spending restrictions.\").optional(),\n transaction_amount_limit: z.union([z.number().int(), z.number()]).optional(),\n}).describe(\"Spending restrictions for the physical card.\").optional(),\n}).describe(\"Request model for creating a physical card.\");\nexport const RampPostPhysicalCardOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the deferred task. Use this ID to check the status via GET /developer/v1/cards/deferred/status/{task_id}\").nullable(),\n}).passthrough().describe(\"Response model containing the deferred task ID for physical card creation.\");\n\nexport const rampPostPhysicalCard: AppAction<\n typeof RampPostPhysicalCardInput,\n typeof RampPostPhysicalCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_POST_PHYSICAL_CARD\", {\n slug: \"ramp-post-physical-card\",\n name: \"Create Physical Card\",\n description: \"Tool to create a physical card asynchronously. Returns a task ID which can be used to track the card creation status. Physical cards require fulfillment details with a shipping address. Use when a user needs a physical card for in-person transactions.\",\n input: RampPostPhysicalCardInput,\n output: RampPostPhysicalCardOutput,\n});\n"],"mappings":";;;AAmDA,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArDuC,EAAE,OAAO;EAChD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACxH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;EACjK,aAAa,EAAE,OAAO;GACtB,UAAU,EAAE,OAAO,EACnB,mBAAmB,EAAE,OAAO;IAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;IACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;IAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;IACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;IAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;IAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;IACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;IACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;GACxD,CAAC,CAAC,CAAC,SAAS,kDAAkD,EAC9D,CAAC,CAAC,CAAC,SAAS,6CAA6C;GACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;GACnH,sBAAsB,EAAE,OAAO,EAC/B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAA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AAS,sDAAsD,CAAC,CAAC,SAAS;GAC1H,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC1H,uBAAuB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC5I,0BAA0B,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;EAC7E,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrE,CAAC,CAAC,CAAC,SAAS,6CAaH;CACP,QAbwC,EAAE,OAAO,EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS,EAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/reactivate-accounting-connection.ts
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwEA,IAAAA,EAAE,OAAO,EACrF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAAqCC,eAAAA,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"reactivate-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection: AppAction<\n typeof RampReactivateAccountingConnectionInput,\n typeof RampReactivateAccountingConnectionOutput,\n typeof ramp.credential\n> = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwEA,IAAAA,EAAE,OAAO,EACrF,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/reactivate-accounting-connection.d.ts
@@ -16,9 +18,7 @@ declare const RampReactivateAccountingConnectionOutput: z.ZodObject<{
16
18
  connection_type: z.ZodNullable<z.ZodString>;
17
19
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const rampReactivateAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- connection_id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const rampReactivateAccountingConnection: AppAction<typeof RampReactivateAccountingConnectionInput, typeof RampReactivateAccountingConnectionOutput, typeof ramp.credential>;
22
22
  //#endregion
23
23
  export { rampReactivateAccountingConnection };
24
24
  //# sourceMappingURL=reactivate-accounting-connection.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-accounting-connection.d.cts","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAMvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"reactivate-accounting-connection.d.cts","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAMvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/reactivate-accounting-connection.d.ts
@@ -16,9 +18,7 @@ declare const RampReactivateAccountingConnectionOutput: z.ZodObject<{
16
18
  connection_type: z.ZodNullable<z.ZodString>;
17
19
  remote_provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const rampReactivateAccountingConnection: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- connection_id: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const rampReactivateAccountingConnection: AppAction<typeof RampReactivateAccountingConnectionInput, typeof RampReactivateAccountingConnectionOutput, typeof ramp.credential>;
22
22
  //#endregion
23
23
  export { rampReactivateAccountingConnection };
24
24
  //# sourceMappingURL=reactivate-accounting-connection.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-accounting-connection.d.mts","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAMvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"reactivate-accounting-connection.d.mts","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAMvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAWxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/reactivate-accounting-connection.ts
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-accounting-connection.mjs","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwE,EAAE,OAAO,EACrF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,qCAAqC,OAAO,yCAAyC;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"reactivate-accounting-connection.mjs","names":[],"sources":["../../src/actions/reactivate-accounting-connection.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampReactivateAccountingConnectionInput = z.object({\n connection_id: z.string().describe(\"The UUID of the accounting connection to reactivate\"),\n});\nconst RampReactivateAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampReactivateAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampReactivateAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampReactivateAccountingConnection: AppAction<\n typeof RampReactivateAccountingConnectionInput,\n typeof RampReactivateAccountingConnectionOutput,\n typeof ramp.credential\n> = action(\"RAMP_REACTIVATE_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-reactivate-accounting-connection\",\n name: \"Reactivate Accounting Connection\",\n description: \"Tool to reactivate a previously unlinked accounting connection by changing its status back to linked. This preserves all previous accounting field configurations and settings. Use when you need to restore a disconnected accounting integration. The business must not have any other active accounting connections.\",\n input: RampReactivateAccountingConnectionInput,\n output: RampReactivateAccountingConnectionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0CAA0C,EAAE,OAAO,EAC9D,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC1F,CAAC;AACD,MAAM,wEAAwE,EAAE,OAAO,EACrF,wBAAwB,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AAYf,MAAa,qCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EACjH,UAAU,sEAAsE,SAAS,CAAC,CAAC,SAAS;EACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACvH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EACxG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/reactivate-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-user.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAExJ,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"reactivate-user.cjs","names":["z","action"],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser: AppAction<\n typeof RampReactivateUserInput,\n typeof RampReactivateUserOutput,\n typeof ramp.credential\n> = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAExJ,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/reactivate-user.d.ts
@@ -5,9 +7,7 @@ declare const RampReactivateUserInput: z.ZodObject<{
5
7
  user_id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const RampReactivateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const rampReactivateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- user_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const rampReactivateUser: AppAction<typeof RampReactivateUserInput, typeof RampReactivateUserOutput, typeof ramp.credential>;
11
11
  //#endregion
12
12
  export { rampReactivateUser };
13
13
  //# sourceMappingURL=reactivate-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-user.d.cts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"reactivate-user.d.cts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/reactivate-user.d.ts
@@ -5,9 +7,7 @@ declare const RampReactivateUserInput: z.ZodObject<{
5
7
  user_id: z.ZodString;
6
8
  }, z.core.$strip>;
7
9
  declare const RampReactivateUserOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- declare const rampReactivateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
9
- user_id: string;
10
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
10
+ declare const rampReactivateUser: AppAction<typeof RampReactivateUserInput, typeof RampReactivateUserOutput, typeof ramp.credential>;
11
11
  //#endregion
12
12
  export { rampReactivateUser };
13
13
  //# sourceMappingURL=reactivate-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-user.d.mts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"reactivate-user.d.mts","names":[],"sources":["../../src/actions/reactivate-user.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAExB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const rampReactivateUser = action("RAMP_REACTIVATE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"reactivate-user.mjs","names":[],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAOS;CACP,QAPsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAOzE;AACV,CAAC"}
1
+ {"version":3,"file":"reactivate-user.mjs","names":[],"sources":["../../src/actions/reactivate-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampReactivateUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to reactivate\"),\n});\nexport const RampReactivateUserOutput = z.record(z.string(), z.unknown()).describe(\"Response from reactivating a user. Returns empty object on success.\");\n\nexport const rampReactivateUser: AppAction<\n typeof RampReactivateUserInput,\n typeof RampReactivateUserOutput,\n typeof ramp.credential\n> = action(\"RAMP_REACTIVATE_USER\", {\n slug: \"ramp-reactivate-user\",\n name: \"Reactivate User\",\n description: \"Tool to reactivate a suspended user in your Ramp organization. Use when you need to restore a user's access. Upon reactivation, users can log in to Ramp again, spend on their previously issued cards, and resume receiving Ramp notifications.\",\n input: RampReactivateUserInput,\n output: RampReactivateUserOutput,\n});\n"],"mappings":";;;AAWA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,EACvF,CAWS;CACP,QAXsC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAWzE;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/submit-reimbursement-receipt.ts
@@ -1 +1 @@
1
- {"version":3,"file":"submit-reimbursement-receipt.cjs","names":["z","action"],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampSubmitReimbursementReceiptInput = z.object({\n receipt: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Receipt file to upload. The file name should match the receipt filename (for example, 'receipt.pdf' or 'receipt.jpg').\"),\n reimbursee_id: z.string().describe(\"UUID of the user to create the reimbursement for\"),\n idempotency_key: z.string().describe(\"Unique value to prevent duplicate uploads. Use a UUID to avoid collisions\"),\n reimbursement_id: z.string().describe(\"Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR\").optional(),\n});\nconst RampSubmitReimbursementReceipt_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of reimbursement.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable().optional(),\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 RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of reimbursement payment.\");\nconst RampSubmitReimbursementReceipt_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = z.object({\n id: z.string().describe(\"Source identifier\").nullable().optional(),\n name: z.string().describe(\"Source name\").nullable().optional(),\n}).passthrough().describe(\"Source information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_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: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting provider\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampSubmitReimbursementReceipt_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Sync status of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Money amount with currency information.\");\nconst RampSubmitReimbursementReceipt_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the expense group\").nullable().optional(),\n name: z.string().describe(\"Name of the expense group\").nullable().optional(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampSubmitReimbursementReceiptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),\n state: RampSubmitReimbursementReceipt_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 identifiers\").nullable().optional(),\n attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe(\"List of attendees for the reimbursement\").nullable().optional(),\n direction: RampSubmitReimbursementReceipt_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 (ISO8601 format)\").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 (ISO8601 format)\").nullable(),\n line_items: z.array(RampSubmitReimbursementReceipt_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 (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 (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: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements\").nullable().optional(),\n payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted (ISO8601 format)\").nullable().optional(),\n expense_group: RampSubmitReimbursementReceipt_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 (ISO 8601 date format)\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment (ISO8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement\").nullable().optional(),\n original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned after submitting a receipt.\");\n\nexport const rampSubmitReimbursementReceipt = action(\"RAMP_SUBMIT_REIMBURSEMENT_RECEIPT\", {\n slug: \"ramp-submit-reimbursement-receipt\",\n name: \"Submit Reimbursement Receipt\",\n description: \"Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.\",\n input: RampSubmitReimbursementReceiptInput,\n output: RampSubmitReimbursementReceiptOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wHAAwH;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;AACrL,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpL,MAAM,0DAA0DA,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,CAAC,SAAS,qCAAqC;AACrgB,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAM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AAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,6BAA6BA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"submit-reimbursement-receipt.cjs","names":["z","action"],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampSubmitReimbursementReceiptInput = z.object({\n receipt: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Receipt file to upload. The file name should match the receipt filename (for example, 'receipt.pdf' or 'receipt.jpg').\"),\n reimbursee_id: z.string().describe(\"UUID of the user to create the reimbursement for\"),\n idempotency_key: z.string().describe(\"Unique value to prevent duplicate uploads. Use a UUID to avoid collisions\"),\n reimbursement_id: z.string().describe(\"Optional UUID of existing reimbursement to attach receipt to. If not provided, a new draft reimbursement will be created via OCR\").optional(),\n});\nconst RampSubmitReimbursementReceipt_ReimbursementTypeSchema = z.enum([\"MILEAGE\", \"OUT_OF_POCKET\", \"PAYBACK_FULL\", \"PAYBACK_PARTIAL\", \"PER_DIEM\"]).describe(\"Type of reimbursement.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_AttendeeSchema = z.object({\n name: z.string().describe(\"Name of the attendee\").nullable().optional(),\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 RampSubmitReimbursementReceipt_ReimbursementDirectionSchema = z.enum([\"BUSINESS_TO_USER\", \"USER_TO_BUSINESS\"]).describe(\"Direction of reimbursement payment.\");\nconst RampSubmitReimbursementReceipt_LineItemAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD)\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code\").nullable().optional(),\n}).passthrough().describe(\"Amount object for a line item.\");\nconst RampSubmitReimbursementReceipt_AccountingFieldSourceSchema = z.object({\n id: z.string().describe(\"Source identifier\").nullable().optional(),\n name: z.string().describe(\"Source name\").nullable().optional(),\n}).passthrough().describe(\"Source information for an accounting field.\");\nconst RampSubmitReimbursementReceipt_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 RampSubmitReimbursementReceipt_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: RampSubmitReimbursementReceipt_AccountingFieldSourceSchema.nullable().optional(),\n external_id: z.string().describe(\"External identifier for the accounting field selection\").nullable().optional(),\n category_info: RampSubmitReimbursementReceipt_CategoryInfoSchema.nullable().optional(),\n external_code: z.string().describe(\"External code for the accounting field\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting provider\").nullable().optional(),\n}).passthrough().describe(\"Accounting field selection with category information.\");\nconst RampSubmitReimbursementReceipt_LineItemSchema = z.object({\n memo: z.string().describe(\"Memo for this line item\").nullable().optional(),\n amount: RampSubmitReimbursementReceipt_LineItemAmountSchema.nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"Accounting field selections for this line item\").nullable().optional(),\n}).passthrough().describe(\"Individual line item within a reimbursement.\");\nconst RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema = z.enum([\"NOT_SYNC_READY\", \"SYNCED\", \"SYNC_READY\"]).describe(\"Sync status of the reimbursement.\");\nconst RampSubmitReimbursementReceipt_MoneyAmountSchema = z.object({\n amount: z.number().int().describe(\"Amount in minor units (e.g., cents for USD). Divide by minor_unit_conversion_rate to get decimal amount\").nullable().optional(),\n currency_code: z.string().describe(\"ISO 4217 currency code (e.g., USD, EUR)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Conversion rate from minor units to major units (e.g., 100 for USD cents to dollars)\").nullable().optional(),\n}).passthrough().describe(\"Money amount with currency information.\");\nconst RampSubmitReimbursementReceipt_ExpenseGroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the expense group\").nullable().optional(),\n name: z.string().describe(\"Name of the expense group\").nullable().optional(),\n}).passthrough().describe(\"Expense group information.\");\nexport const RampSubmitReimbursementReceiptOutput = z.object({\n id: z.string().describe(\"Unique identifier of the reimbursement\").nullable(),\n memo: z.string().describe(\"Reimbursement memo\").nullable().optional(),\n type: RampSubmitReimbursementReceipt_ReimbursementTypeSchema.nullable(),\n state: RampSubmitReimbursementReceipt_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 identifiers\").nullable().optional(),\n attendees: z.array(RampSubmitReimbursementReceipt_AttendeeSchema).describe(\"List of attendees for the reimbursement\").nullable().optional(),\n direction: RampSubmitReimbursementReceipt_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 (ISO8601 format)\").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 (ISO8601 format)\").nullable(),\n line_items: z.array(RampSubmitReimbursementReceipt_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 (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 (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: RampSubmitReimbursementReceipt_ReimbursementSyncStatusSchema.nullable().optional(),\n end_location: z.string().describe(\"Ending location of the trip, for mileage reimbursements\").nullable().optional(),\n payee_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n submitted_at: z.string().describe(\"Time when reimbursement was most recently submitted (ISO8601 format)\").nullable().optional(),\n expense_group: RampSubmitReimbursementReceipt_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 (ISO 8601 date format)\").nullable().optional(),\n payment_processed_at: z.string().describe(\"Time of reimbursement payment (ISO8601 format)\").nullable().optional(),\n accounting_field_selections: z.array(RampSubmitReimbursementReceipt_AccountingFieldSelectionSchema).describe(\"List of accounting fields selected to code the reimbursement\").nullable().optional(),\n original_reimbursement_amount: RampSubmitReimbursementReceipt_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Complete reimbursement details returned after submitting a receipt.\");\n\nexport const rampSubmitReimbursementReceipt: AppAction<\n typeof RampSubmitReimbursementReceiptInput,\n typeof RampSubmitReimbursementReceiptOutput,\n typeof ramp.credential\n> = action(\"RAMP_SUBMIT_REIMBURSEMENT_RECEIPT\", {\n slug: \"ramp-submit-reimbursement-receipt\",\n name: \"Submit Reimbursement Receipt\",\n description: \"Tool to upload a receipt for a reimbursement. Use when submitting receipts for out-of-pocket expenses. If reimbursement_id is provided, attaches the receipt to an existing reimbursement; otherwise creates a new draft reimbursement via OCR.\",\n input: RampSubmitReimbursementReceiptInput,\n output: RampSubmitReimbursementReceiptOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO;EAClB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,wHAAwH;CAClI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CACrF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CAChH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;AACrL,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAiB;CAAgB;CAAmB;AAAU,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpL,MAAM,0DAA0DA,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,CAAC,SAAS,qCAAqC;AACrgB,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,M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O,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,6BAA6BA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,+BAA+B,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAE/F,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-reimbursement-receipt.d.ts
@@ -143,16 +145,7 @@ declare const RampSubmitReimbursementReceiptOutput: z.ZodObject<{
143
145
  minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
144
146
  }, z.core.$loose>>>;
145
147
  }, z.core.$loose>;
146
- declare const rampSubmitReimbursementReceipt: import("@keystrokehq/action").WorkflowActionDefinition<{
147
- receipt: {
148
- name: string;
149
- s3key: string;
150
- mimetype: string;
151
- };
152
- reimbursee_id: string;
153
- idempotency_key: string;
154
- reimbursement_id?: string | undefined;
155
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
148
+ declare const rampSubmitReimbursementReceipt: AppAction<typeof RampSubmitReimbursementReceiptInput, typeof RampSubmitReimbursementReceiptOutput, typeof ramp.credential>;
156
149
  //#endregion
157
150
  export { rampSubmitReimbursementReceipt };
158
151
  //# sourceMappingURL=submit-reimbursement-receipt.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-reimbursement-receipt.d.cts","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAwDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"submit-reimbursement-receipt.d.cts","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAwDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { ramp } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/submit-reimbursement-receipt.d.ts
@@ -143,16 +145,7 @@ declare const RampSubmitReimbursementReceiptOutput: z.ZodObject<{
143
145
  minor_unit_conversion_rate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
144
146
  }, z.core.$loose>>>;
145
147
  }, z.core.$loose>;
146
- declare const rampSubmitReimbursementReceipt: import("@keystrokehq/action").WorkflowActionDefinition<{
147
- receipt: {
148
- name: string;
149
- s3key: string;
150
- mimetype: string;
151
- };
152
- reimbursee_id: string;
153
- idempotency_key: string;
154
- reimbursement_id?: string | undefined;
155
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
148
+ declare const rampSubmitReimbursementReceipt: AppAction<typeof RampSubmitReimbursementReceiptInput, typeof RampSubmitReimbursementReceiptOutput, typeof ramp.credential>;
156
149
  //#endregion
157
150
  export { rampSubmitReimbursementReceipt };
158
151
  //# sourceMappingURL=submit-reimbursement-receipt.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"submit-reimbursement-receipt.d.mts","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAwDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"submit-reimbursement-receipt.d.mts","names":[],"sources":["../../src/actions/submit-reimbursement-receipt.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;cAwDnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyCpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/submit-reimbursement-receipt.ts