@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,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/get-user.d.ts
@@ -25,9 +27,7 @@ declare const RampGetUserOutput: z.ZodObject<{
25
27
  department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  scheduled_deactivation_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
29
  }, z.core.$loose>;
28
- declare const rampGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- user_id: string;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const rampGetUser: AppAction<typeof RampGetUserInput, typeof RampGetUserOutput, typeof ramp.credential>;
31
31
  //#endregion
32
32
  export { rampGetUser };
33
33
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;cAOhB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBjB,WAAA,gCAAW,wBAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,gBAAA,EAAgB,CAAA,CAAA,SAAA;;;cAOhB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBjB,WAAA,EAAa,SAAA,QACjB,gBAAA,SACA,iBAAA,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/get-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to retrieve\"),\n});\nconst RampGetUser_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nexport const RampGetUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"The employee's role. Possible values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN.\").nullable(),\n email: z.string().describe(\"The employee's email address.\").nullable(),\n phone: z.string().describe(\"The employee's phone number.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Possible values: INVITE_EXPIRED, INVITE_PENDING, USER_ACTIVE, USER_INACTIVE, USER_ONBOARDING, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of business entity user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the employee.\").nullable(),\n first_name: z.string().describe(\"First name of the employee.\").nullable(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager.\").nullable(),\n manager_id: z.string().describe(\"Unique identifier of the employee's manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the company that the employee is working for (UUID format).\").nullable().optional(),\n employee_id: z.string().describe(\"An alternative identifier for an employee, coming from external systems, which can be used in place of an email.\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampGetUser_CustomFieldSchema).describe(\"A list of custom fields of the user.\"),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format).\").nullable().optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated. Presented in ISO8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a Ramp user.\");\n\nexport const rampGetUser = action(\"RAMP_GET_USER\", {\n slug: \"ramp-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve detailed information about a specific Ramp user by their ID. Use when you need complete user profile information including role, status, department, and custom fields.\",\n input: RampGetUserInput,\n output: RampGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmB,EAAE,OAAO,EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACrF,CAAC;AACD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAoBrE,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAxB+B,EAAE,OAAO;EACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EAC/K,OAAO,EA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Action } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { ramp } from \"../app\";\n\nexport const RampGetUserInput = z.object({\n user_id: z.string().describe(\"The unique identifier (UUID) of the user to retrieve\"),\n});\nconst RampGetUser_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field.\").nullable(),\n value: z.string().describe(\"Value of the custom field.\").nullable(),\n}).passthrough().describe(\"Custom field metadata attached to a user.\");\nexport const RampGetUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID format).\").nullable(),\n role: z.string().describe(\"The employee's role. Possible values: AUDITOR, BUSINESS_ADMIN, BUSINESS_BOOKKEEPER, BUSINESS_OWNER, BUSINESS_USER, GUEST_USER, IT_ADMIN.\").nullable(),\n email: z.string().describe(\"The employee's email address.\").nullable(),\n phone: z.string().describe(\"The employee's phone number.\").nullable().optional(),\n status: z.string().describe(\"Current status of the user account. Possible values: INVITE_EXPIRED, INVITE_PENDING, USER_ACTIVE, USER_INACTIVE, USER_ONBOARDING, USER_SUSPENDED.\").nullable(),\n entity_id: z.string().describe(\"Unique identifier of business entity user is associated with (UUID format).\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the employee.\").nullable(),\n first_name: z.string().describe(\"First name of the employee.\").nullable(),\n is_manager: z.boolean().describe(\"Whether the employee is a manager.\").nullable(),\n manager_id: z.string().describe(\"Unique identifier of the employee's manager (UUID format).\").nullable().optional(),\n business_id: z.string().describe(\"Unique identifier of the company that the employee is working for (UUID format).\").nullable().optional(),\n employee_id: z.string().describe(\"An alternative identifier for an employee, coming from external systems, which can be used in place of an email.\").nullable().optional(),\n location_id: z.string().describe(\"Unique identifier of the employee's location (UUID format).\").nullable().optional(),\n custom_fields: z.array(RampGetUser_CustomFieldSchema).describe(\"A list of custom fields of the user.\"),\n department_id: z.string().describe(\"Unique identifier of the employee's department (UUID format).\").nullable().optional(),\n scheduled_deactivation_date: z.string().describe(\"The date when the user is scheduled to be deactivated. Presented in ISO8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed information about a Ramp user.\");\n\nexport const rampGetUser: AppAction<\n typeof RampGetUserInput,\n typeof RampGetUserOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_USER\", {\n slug: \"ramp-get-user\",\n name: \"Get User\",\n description: \"Tool to retrieve detailed information about a specific Ramp user by their ID. Use when you need complete user profile information including role, status, department, and custom fields.\",\n input: RampGetUserInput,\n output: RampGetUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mBAAmB,EAAE,OAAO,EACvC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,EACrF,CAAC;AACD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAoBrE,MAAa,cAIT,OAAO,iBAAiB;CAC1B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA5B+B,EAAE,OAAO;EACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EAC/K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ,CAAC,CAAC,SAAS;EAC1L,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACxE,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,eAAe,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,sCAAsC;EACrG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;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/get-users-deferred-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-users-deferred-status.cjs","names":["z","action"],"sources":["../../src/actions/get-users-deferred-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetUsersDeferredStatusInput = z.object({\n task_id: z.string().describe(\"Unique identifier of the deferred task to retrieve status for (UUID format)\"),\n});\nconst RampGetUsersDeferredStatus_DeferredTaskDataSchema = z.object({\n error: z.string().describe(\"Error message if the deferred task failed\").nullable().optional(),\n user_id: z.string().describe(\"UUID of the user created or affected by the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Detailed data of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskStatusSchema = z.enum([\"STARTED\", \"IN_PROGRESS\", \"ERROR\", \"SUCCESS\"]).describe(\"Status of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskContextSchema = z.object({\n acting_user_id: z.string().describe(\"UUID of the user who initiated the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Context information for the deferred task.\");\nexport const RampGetUsersDeferredStatusOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task (UUID format)\").nullable(),\n data: RampGetUsersDeferredStatus_DeferredTaskDataSchema.nullable().optional(),\n status: RampGetUsersDeferredStatus_DeferredTaskStatusSchema.nullable(),\n context: RampGetUsersDeferredStatus_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the status of a deferred user task.\");\n\nexport const rampGetUsersDeferredStatus = action(\"RAMP_GET_USERS_DEFERRED_STATUS\", {\n slug: \"ramp-get-users-deferred-status\",\n name: \"Get Users Deferred Status\",\n description: \"Tool for fetching the status of a deferred user task. Use when you need to check the progress or outcome of asynchronous user operations like user creation.\",\n input: RampGetUsersDeferredStatusInput,\n output: RampGetUsersDeferredStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAe;CAAS;AAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,oDAAoD,SAAS;CACrE,SAAS,qDAAqD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-users-deferred-status.cjs","names":["z","action"],"sources":["../../src/actions/get-users-deferred-status.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 RampGetUsersDeferredStatusInput = z.object({\n task_id: z.string().describe(\"Unique identifier of the deferred task to retrieve status for (UUID format)\"),\n});\nconst RampGetUsersDeferredStatus_DeferredTaskDataSchema = z.object({\n error: z.string().describe(\"Error message if the deferred task failed\").nullable().optional(),\n user_id: z.string().describe(\"UUID of the user created or affected by the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Detailed data of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskStatusSchema = z.enum([\"STARTED\", \"IN_PROGRESS\", \"ERROR\", \"SUCCESS\"]).describe(\"Status of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskContextSchema = z.object({\n acting_user_id: z.string().describe(\"UUID of the user who initiated the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Context information for the deferred task.\");\nexport const RampGetUsersDeferredStatusOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task (UUID format)\").nullable(),\n data: RampGetUsersDeferredStatus_DeferredTaskDataSchema.nullable().optional(),\n status: RampGetUsersDeferredStatus_DeferredTaskStatusSchema.nullable(),\n context: RampGetUsersDeferredStatus_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the status of a deferred user task.\");\n\nexport const rampGetUsersDeferredStatus: AppAction<\n typeof RampGetUsersDeferredStatusInput,\n typeof RampGetUsersDeferredStatusOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_USERS_DEFERRED_STATUS\", {\n slug: \"ramp-get-users-deferred-status\",\n name: \"Get Users Deferred Status\",\n description: \"Tool for fetching the status of a deferred user task. Use when you need to check the progress or outcome of asynchronous user operations like user creation.\",\n input: RampGetUsersDeferredStatusInput,\n output: RampGetUsersDeferredStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsDA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAe;CAAS;AAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1J,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,oDAAoD,SAAS;CACrE,SAAS,qDAAqD,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,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/get-users-deferred-status.d.ts
@@ -20,9 +22,7 @@ declare const RampGetUsersDeferredStatusOutput: z.ZodObject<{
20
22
  acting_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>>;
22
24
  }, z.core.$loose>;
23
- declare const rampGetUsersDeferredStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- task_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const rampGetUsersDeferredStatus: AppAction<typeof RampGetUsersDeferredStatusInput, typeof RampGetUsersDeferredStatusOutput, typeof ramp.credential>;
26
26
  //#endregion
27
27
  export { rampGetUsersDeferredStatus };
28
28
  //# sourceMappingURL=get-users-deferred-status.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-users-deferred-status.d.cts","names":[],"sources":["../../src/actions/get-users-deferred-status.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-users-deferred-status.d.cts","names":[],"sources":["../../src/actions/get-users-deferred-status.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/get-users-deferred-status.d.ts
@@ -20,9 +22,7 @@ declare const RampGetUsersDeferredStatusOutput: z.ZodObject<{
20
22
  acting_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>>>;
22
24
  }, z.core.$loose>;
23
- declare const rampGetUsersDeferredStatus: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- task_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const rampGetUsersDeferredStatus: AppAction<typeof RampGetUsersDeferredStatusInput, typeof RampGetUsersDeferredStatusOutput, typeof ramp.credential>;
26
26
  //#endregion
27
27
  export { rampGetUsersDeferredStatus };
28
28
  //# sourceMappingURL=get-users-deferred-status.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-users-deferred-status.d.mts","names":[],"sources":["../../src/actions/get-users-deferred-status.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-users-deferred-status.d.mts","names":[],"sources":["../../src/actions/get-users-deferred-status.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAOhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/get-users-deferred-status.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-users-deferred-status.mjs","names":[],"sources":["../../src/actions/get-users-deferred-status.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetUsersDeferredStatusInput = z.object({\n task_id: z.string().describe(\"Unique identifier of the deferred task to retrieve status for (UUID format)\"),\n});\nconst RampGetUsersDeferredStatus_DeferredTaskDataSchema = z.object({\n error: z.string().describe(\"Error message if the deferred task failed\").nullable().optional(),\n user_id: z.string().describe(\"UUID of the user created or affected by the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Detailed data of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskStatusSchema = z.enum([\"STARTED\", \"IN_PROGRESS\", \"ERROR\", \"SUCCESS\"]).describe(\"Status of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskContextSchema = z.object({\n acting_user_id: z.string().describe(\"UUID of the user who initiated the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Context information for the deferred task.\");\nexport const RampGetUsersDeferredStatusOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task (UUID format)\").nullable(),\n data: RampGetUsersDeferredStatus_DeferredTaskDataSchema.nullable().optional(),\n status: RampGetUsersDeferredStatus_DeferredTaskStatusSchema.nullable(),\n context: RampGetUsersDeferredStatus_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the status of a deferred user task.\");\n\nexport const rampGetUsersDeferredStatus = action(\"RAMP_GET_USERS_DEFERRED_STATUS\", {\n slug: \"ramp-get-users-deferred-status\",\n name: \"Get Users Deferred Status\",\n description: \"Tool for fetching the status of a deferred user task. Use when you need to check the progress or outcome of asynchronous user operations like user creation.\",\n input: RampGetUsersDeferredStatusInput,\n output: RampGetUsersDeferredStatusOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsD,EAAE,KAAK;CAAC;CAAW;CAAe;CAAS;AAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1J,MAAM,uDAAuD,EAAE,OAAO,EACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAQtE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzF,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;EAC5E,QAAQ,oDAAoD,SAAS;EACrE,SAAS,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-users-deferred-status.mjs","names":[],"sources":["../../src/actions/get-users-deferred-status.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 RampGetUsersDeferredStatusInput = z.object({\n task_id: z.string().describe(\"Unique identifier of the deferred task to retrieve status for (UUID format)\"),\n});\nconst RampGetUsersDeferredStatus_DeferredTaskDataSchema = z.object({\n error: z.string().describe(\"Error message if the deferred task failed\").nullable().optional(),\n user_id: z.string().describe(\"UUID of the user created or affected by the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Detailed data of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskStatusSchema = z.enum([\"STARTED\", \"IN_PROGRESS\", \"ERROR\", \"SUCCESS\"]).describe(\"Status of the deferred task.\");\nconst RampGetUsersDeferredStatus_DeferredTaskContextSchema = z.object({\n acting_user_id: z.string().describe(\"UUID of the user who initiated the deferred task\").nullable().optional(),\n}).passthrough().describe(\"Context information for the deferred task.\");\nexport const RampGetUsersDeferredStatusOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task (UUID format)\").nullable(),\n data: RampGetUsersDeferredStatus_DeferredTaskDataSchema.nullable().optional(),\n status: RampGetUsersDeferredStatus_DeferredTaskStatusSchema.nullable(),\n context: RampGetUsersDeferredStatus_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the status of a deferred user task.\");\n\nexport const rampGetUsersDeferredStatus: AppAction<\n typeof RampGetUsersDeferredStatusInput,\n typeof RampGetUsersDeferredStatusOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_USERS_DEFERRED_STATUS\", {\n slug: \"ramp-get-users-deferred-status\",\n name: \"Get Users Deferred Status\",\n description: \"Tool for fetching the status of a deferred user task. Use when you need to check the progress or outcome of asynchronous user operations like user creation.\",\n input: RampGetUsersDeferredStatusInput,\n output: RampGetUsersDeferredStatusOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO,EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EAC5G,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,sDAAsD,EAAE,KAAK;CAAC;CAAW;CAAe;CAAS;AAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1J,MAAM,uDAAuD,EAAE,OAAO,EACpE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAQtE,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACzF,MAAM,kDAAkD,SAAS,CAAC,CAAC,SAAS;EAC5E,QAAQ,oDAAoD,SAAS;EACrE,SAAS,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;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/get-vendor.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-vendor.cjs","names":["z","action"],"sources":["../../src/actions/get-vendor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetVendorInput = z.object({\n vendor_id: z.string().describe(\"The ID of the vendor to retrieve\"),\n});\nconst RampGetVendor_VendorContactSchema = z.object({\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for a vendor.\");\nconst RampGetVendor_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency object used for spend tracking.\");\nexport const RampGetVendorOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the vendor.\").nullable(),\n name: z.string().describe(\"Name of the vendor. Must match exactly with the accounting provider to avoid duplicates.\").nullable(),\n state: z.string().describe(\"State or province of the vendor's address.\").nullable().optional(),\n address: z.string().describe(\"Street address of the vendor.\").nullable().optional(),\n country: z.string().describe(\"Country of the vendor's address.\").nullable().optional(),\n contacts: z.array(RampGetVendor_VendorContactSchema).describe(\"Contact information for the vendor.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the vendor is active or inactive.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the vendor was created.\").nullable().optional(),\n name_legal: z.string().describe(\"Legal name of the vendor.\").nullable().optional(),\n description: z.string().describe(\"Description of the vendor.\").nullable().optional(),\n merchant_id: z.string().describe(\"Merchant identifier associated with the vendor.\").nullable().optional(),\n tax_address: z.record(z.string(), z.unknown()).describe(\"Tax address of the vendor.\").nullable().optional(),\n vendor_type: z.string().describe(\"Type of the vendor.\").nullable().optional(),\n is_deletable: z.boolean().describe(\"Indicates whether the vendor can be deleted.\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp spending category ID.\").nullable().optional(),\n total_spend_ytd: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n vendor_owner_id: z.string().describe(\"User ID of the vendor owner responsible for managing the vendor relationship.\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp spending category name.\").nullable().optional(),\n billing_frequency: z.string().describe(\"Billing frequency for the vendor.\").nullable().optional(),\n default_entity_id: z.string().describe(\"Default entity ID for the vendor.\").nullable().optional(),\n external_vendor_id: z.string().describe(\"External vendor identifier.\").nullable().optional(),\n total_spend_all_time: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n default_payment_method: z.string().describe(\"Default payment method for the vendor.\").nullable().optional(),\n total_spend_last_30_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n total_spend_last_365_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n federal_tax_classification: z.string().describe(\"Federal tax classification of the vendor.\").nullable().optional(),\n accounting_vendor_remote_id: z.string().describe(\"Unique identifier of the vendor in the connected accounting provider system.\").nullable().optional(),\n custom_form_collection_response: z.record(z.string(), z.unknown()).describe(\"Custom form collection response data.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed vendor information.\");\n\nexport const rampGetVendor = action(\"RAMP_GET_VENDOR\", {\n slug: \"ramp-get-vendor\",\n name: \"Get Vendor Details\",\n description: \"Tool for retrieving detailed information about a specific vendor. Returns comprehensive vendor details including spending totals, category, and contact information. Use this to get complete vendor profile for analysis or updates.\",\n input: RampGetVendorInput,\n output: RampGetVendorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACnE,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,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C,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsB,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC7E,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0B,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACjF,2BAA2B,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAClF,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,iCAAiCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-vendor.cjs","names":["z","action"],"sources":["../../src/actions/get-vendor.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 RampGetVendorInput = z.object({\n vendor_id: z.string().describe(\"The ID of the vendor to retrieve\"),\n});\nconst RampGetVendor_VendorContactSchema = z.object({\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for a vendor.\");\nconst RampGetVendor_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency object used for spend tracking.\");\nexport const RampGetVendorOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the vendor.\").nullable(),\n name: z.string().describe(\"Name of the vendor. Must match exactly with the accounting provider to avoid duplicates.\").nullable(),\n state: z.string().describe(\"State or province of the vendor's address.\").nullable().optional(),\n address: z.string().describe(\"Street address of the vendor.\").nullable().optional(),\n country: z.string().describe(\"Country of the vendor's address.\").nullable().optional(),\n contacts: z.array(RampGetVendor_VendorContactSchema).describe(\"Contact information for the vendor.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the vendor is active or inactive.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the vendor was created.\").nullable().optional(),\n name_legal: z.string().describe(\"Legal name of the vendor.\").nullable().optional(),\n description: z.string().describe(\"Description of the vendor.\").nullable().optional(),\n merchant_id: z.string().describe(\"Merchant identifier associated with the vendor.\").nullable().optional(),\n tax_address: z.record(z.string(), z.unknown()).describe(\"Tax address of the vendor.\").nullable().optional(),\n vendor_type: z.string().describe(\"Type of the vendor.\").nullable().optional(),\n is_deletable: z.boolean().describe(\"Indicates whether the vendor can be deleted.\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp spending category ID.\").nullable().optional(),\n total_spend_ytd: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n vendor_owner_id: z.string().describe(\"User ID of the vendor owner responsible for managing the vendor relationship.\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp spending category name.\").nullable().optional(),\n billing_frequency: z.string().describe(\"Billing frequency for the vendor.\").nullable().optional(),\n default_entity_id: z.string().describe(\"Default entity ID for the vendor.\").nullable().optional(),\n external_vendor_id: z.string().describe(\"External vendor identifier.\").nullable().optional(),\n total_spend_all_time: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n default_payment_method: z.string().describe(\"Default payment method for the vendor.\").nullable().optional(),\n total_spend_last_30_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n total_spend_last_365_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n federal_tax_classification: z.string().describe(\"Federal tax classification of the vendor.\").nullable().optional(),\n accounting_vendor_remote_id: z.string().describe(\"Unique identifier of the vendor in the connected accounting provider system.\").nullable().optional(),\n custom_form_collection_response: z.record(z.string(), z.unknown()).describe(\"Custom form collection response data.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed vendor information.\");\n\nexport const rampGetVendor: AppAction<\n typeof RampGetVendorInput,\n typeof RampGetVendorOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_VENDOR\", {\n slug: \"ramp-get-vendor\",\n name: \"Get Vendor Details\",\n description: \"Tool for retrieving detailed information about a specific vendor. Returns comprehensive vendor details including spending totals, category, and contact information. Use this to get complete vendor profile for analysis or updates.\",\n input: RampGetVendorInput,\n output: RampGetVendorOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACnE,CAAC;AACD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,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SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsB,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC7E,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,0BAA0B,mCAAmC,SAAS,CAAC,CAAC,SAAS;CACjF,2BAA2B,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAClF,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,iCAAiCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,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/get-vendor.d.ts
@@ -54,9 +56,7 @@ declare const RampGetVendorOutput: z.ZodObject<{
54
56
  accounting_vendor_remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  custom_form_collection_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
58
  }, z.core.$loose>;
57
- declare const rampGetVendor: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- vendor_id: string;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ declare const rampGetVendor: AppAction<typeof RampGetVendorInput, typeof RampGetVendorOutput, typeof ramp.credential>;
60
60
  //#endregion
61
61
  export { rampGetVendor };
62
62
  //# sourceMappingURL=get-vendor.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-vendor.d.cts","names":[],"sources":["../../src/actions/get-vendor.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-vendor.d.cts","names":[],"sources":["../../src/actions/get-vendor.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,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/get-vendor.d.ts
@@ -54,9 +56,7 @@ declare const RampGetVendorOutput: z.ZodObject<{
54
56
  accounting_vendor_remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
57
  custom_form_collection_response: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
56
58
  }, z.core.$loose>;
57
- declare const rampGetVendor: import("@keystrokehq/action").WorkflowActionDefinition<{
58
- vendor_id: string;
59
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
59
+ declare const rampGetVendor: AppAction<typeof RampGetVendorInput, typeof RampGetVendorOutput, typeof ramp.credential>;
60
60
  //#endregion
61
61
  export { rampGetVendor };
62
62
  //# sourceMappingURL=get-vendor.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-vendor.d.mts","names":[],"sources":["../../src/actions/get-vendor.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BnB,aAAA,gCAAa,wBAAA"}
1
+ {"version":3,"file":"get-vendor.d.mts","names":[],"sources":["../../src/actions/get-vendor.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+BnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,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/get-vendor.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-vendor.mjs","names":[],"sources":["../../src/actions/get-vendor.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetVendorInput = z.object({\n vendor_id: z.string().describe(\"The ID of the vendor to retrieve\"),\n});\nconst RampGetVendor_VendorContactSchema = z.object({\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for a vendor.\");\nconst RampGetVendor_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency object used for spend tracking.\");\nexport const RampGetVendorOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the vendor.\").nullable(),\n name: z.string().describe(\"Name of the vendor. Must match exactly with the accounting provider to avoid duplicates.\").nullable(),\n state: z.string().describe(\"State or province of the vendor's address.\").nullable().optional(),\n address: z.string().describe(\"Street address of the vendor.\").nullable().optional(),\n country: z.string().describe(\"Country of the vendor's address.\").nullable().optional(),\n contacts: z.array(RampGetVendor_VendorContactSchema).describe(\"Contact information for the vendor.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the vendor is active or inactive.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the vendor was created.\").nullable().optional(),\n name_legal: z.string().describe(\"Legal name of the vendor.\").nullable().optional(),\n description: z.string().describe(\"Description of the vendor.\").nullable().optional(),\n merchant_id: z.string().describe(\"Merchant identifier associated with the vendor.\").nullable().optional(),\n tax_address: z.record(z.string(), z.unknown()).describe(\"Tax address of the vendor.\").nullable().optional(),\n vendor_type: z.string().describe(\"Type of the vendor.\").nullable().optional(),\n is_deletable: z.boolean().describe(\"Indicates whether the vendor can be deleted.\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp spending category ID.\").nullable().optional(),\n total_spend_ytd: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n vendor_owner_id: z.string().describe(\"User ID of the vendor owner responsible for managing the vendor relationship.\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp spending category name.\").nullable().optional(),\n billing_frequency: z.string().describe(\"Billing frequency for the vendor.\").nullable().optional(),\n default_entity_id: z.string().describe(\"Default entity ID for the vendor.\").nullable().optional(),\n external_vendor_id: z.string().describe(\"External vendor identifier.\").nullable().optional(),\n total_spend_all_time: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n default_payment_method: z.string().describe(\"Default payment method for the vendor.\").nullable().optional(),\n total_spend_last_30_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n total_spend_last_365_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n federal_tax_classification: z.string().describe(\"Federal tax classification of the vendor.\").nullable().optional(),\n accounting_vendor_remote_id: z.string().describe(\"Unique identifier of the vendor in the connected accounting provider system.\").nullable().optional(),\n custom_form_collection_response: z.record(z.string(), z.unknown()).describe(\"Custom form collection response data.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed vendor information.\");\n\nexport const rampGetVendor = action(\"RAMP_GET_VENDOR\", {\n slug: \"ramp-get-vendor\",\n name: \"Get Vendor Details\",\n description: \"Tool for retrieving detailed information about a specific vendor. Returns comprehensive vendor details including spending totals, category, and contact information. Use this to get complete vendor profile for analysis or updates.\",\n input: RampGetVendorInput,\n output: RampGetVendorOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACnE,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,qCAAqC,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,O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C,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,iCAAiC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-vendor.mjs","names":[],"sources":["../../src/actions/get-vendor.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 RampGetVendorInput = z.object({\n vendor_id: z.string().describe(\"The ID of the vendor to retrieve\"),\n});\nconst RampGetVendor_VendorContactSchema = z.object({\n name: z.string().describe(\"Contact name\").nullable().optional(),\n email: z.string().describe(\"Contact email\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number\").nullable().optional(),\n}).passthrough().describe(\"Contact information for a vendor.\");\nconst RampGetVendor_AmountCurrencySchema = z.object({\n amount: z.number().describe(\"Monetary amount in minor units\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code (e.g., USD)\").nullable().optional(),\n minor_unit_conversion_rate: z.number().int().describe(\"Minor unit conversion rate\").nullable().optional(),\n}).passthrough().describe(\"Amount and currency object used for spend tracking.\");\nexport const RampGetVendorOutput = z.object({\n id: z.string().describe(\"Unique identifier (UUID) of the vendor.\").nullable(),\n name: z.string().describe(\"Name of the vendor. Must match exactly with the accounting provider to avoid duplicates.\").nullable(),\n state: z.string().describe(\"State or province of the vendor's address.\").nullable().optional(),\n address: z.string().describe(\"Street address of the vendor.\").nullable().optional(),\n country: z.string().describe(\"Country of the vendor's address.\").nullable().optional(),\n contacts: z.array(RampGetVendor_VendorContactSchema).describe(\"Contact information for the vendor.\").nullable().optional(),\n is_active: z.boolean().describe(\"Indicates whether the vendor is active or inactive.\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp of when the vendor was created.\").nullable().optional(),\n name_legal: z.string().describe(\"Legal name of the vendor.\").nullable().optional(),\n description: z.string().describe(\"Description of the vendor.\").nullable().optional(),\n merchant_id: z.string().describe(\"Merchant identifier associated with the vendor.\").nullable().optional(),\n tax_address: z.record(z.string(), z.unknown()).describe(\"Tax address of the vendor.\").nullable().optional(),\n vendor_type: z.string().describe(\"Type of the vendor.\").nullable().optional(),\n is_deletable: z.boolean().describe(\"Indicates whether the vendor can be deleted.\").nullable().optional(),\n sk_category_id: z.number().int().describe(\"Ramp spending category ID.\").nullable().optional(),\n total_spend_ytd: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n vendor_owner_id: z.string().describe(\"User ID of the vendor owner responsible for managing the vendor relationship.\").nullable().optional(),\n sk_category_name: z.string().describe(\"Ramp spending category name.\").nullable().optional(),\n billing_frequency: z.string().describe(\"Billing frequency for the vendor.\").nullable().optional(),\n default_entity_id: z.string().describe(\"Default entity ID for the vendor.\").nullable().optional(),\n external_vendor_id: z.string().describe(\"External vendor identifier.\").nullable().optional(),\n total_spend_all_time: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n default_payment_method: z.string().describe(\"Default payment method for the vendor.\").nullable().optional(),\n total_spend_last_30_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n total_spend_last_365_days: RampGetVendor_AmountCurrencySchema.nullable().optional(),\n federal_tax_classification: z.string().describe(\"Federal tax classification of the vendor.\").nullable().optional(),\n accounting_vendor_remote_id: z.string().describe(\"Unique identifier of the vendor in the connected accounting provider system.\").nullable().optional(),\n custom_form_collection_response: z.record(z.string(), z.unknown()).describe(\"Custom form collection response data.\").nullable().optional(),\n}).passthrough().describe(\"Response containing detailed vendor information.\");\n\nexport const rampGetVendor: AppAction<\n typeof RampGetVendorInput,\n typeof RampGetVendorOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_VENDOR\", {\n slug: \"ramp-get-vendor\",\n name: \"Get Vendor Details\",\n description: \"Tool for retrieving detailed information about a specific vendor. Returns comprehensive vendor details including spending totals, category, and contact information. Use this to get complete vendor profile for analysis or updates.\",\n input: RampGetVendorInput,\n output: RampGetVendorOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO,EACzC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACnE,CAAC;AACD,MAAM,oCAAoC,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAM,qCAAqC,EAAE,OAAO;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,4BAA4B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAgC/E,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAxCiC,EAAE,OAAO;EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAA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CAAmC,SAAS,CAAC,CAAC,SAAS;EACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,sBAAsB,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC7E,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,0BAA0B,mCAAmC,SAAS,CAAC,CAAC,SAAS;EACjF,2BAA2B,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAClF,4BAA4B,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,iCAAiC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/get-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier of the webhook subscription to retrieve\"),\n});\nconst RampGetWebhook_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status values for webhook subscriptions.\");\nconst RampGetWebhook_WebhookEventTypeSchema = z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that webhooks can subscribe to.\");\nexport const RampGetWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n status: RampGetWebhook_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(RampGetWebhook_WebhookEventTypeSchema).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n}).passthrough().describe(\"Response containing detailed information about a webhook subscription.\");\n\nexport const rampGetWebhook = action(\"RAMP_GET_WEBHOOK\", {\n slug: \"ramp-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve detailed information about a specific webhook subscription by ID. Use when you need to check webhook configuration, status, or event types.\",\n input: RampGetWebhookInput,\n output: RampGetWebhookOutput,\n});\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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 RampGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier of the webhook subscription to retrieve\"),\n});\nconst RampGetWebhook_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status values for webhook subscriptions.\");\nconst RampGetWebhook_WebhookEventTypeSchema = z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that webhooks can subscribe to.\");\nexport const RampGetWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n status: RampGetWebhook_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(RampGetWebhook_WebhookEventTypeSchema).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n}).passthrough().describe(\"Response containing detailed information about a webhook subscription.\");\n\nexport const rampGetWebhook: AppAction<\n typeof RampGetWebhookInput,\n typeof RampGetWebhookOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_WEBHOOK\", {\n slug: \"ramp-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve detailed information about a specific webhook subscription by ID. Use when you need to check webhook configuration, status, or event types.\",\n input: RampGetWebhookInput,\n output: RampGetWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACjG,CAAC;AACD,MAAM,qCAAqCA,IAAAA,EAAE,KAAK;CAAC;CAAU;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACrJ,MAAM,wCAAwCA,IAAAA,EAAE,KAAK;CAAC;CAAkB;CAAiB;CAAc;CAAkB;CAAyB;CAA4B;CAA2B;CAA2B;CAAmC;CAAgC;CAAiC;CAAkC;CAAoB;CAA2B;CAAwB;CAAiC;CAA8B;CAA+B;CAA8C;CAAoD;CAAqB;AAAuB,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACttB,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnF,QAAQ,mCAAmC,SAAS;CACpD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,aAAaA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD;CACrH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,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/get-webhook.d.ts
@@ -40,9 +42,7 @@ declare const RampGetWebhookOutput: z.ZodObject<{
40
42
  }>>;
41
43
  endpoint_url: z.ZodNullable<z.ZodString>;
42
44
  }, z.core.$loose>;
43
- declare const rampGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- webhook_id: string;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const rampGetWebhook: AppAction<typeof RampGetWebhookInput, typeof RampGetWebhookOutput, typeof ramp.credential>;
46
46
  //#endregion
47
47
  export { rampGetWebhook };
48
48
  //# sourceMappingURL=get-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,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/get-webhook.d.ts
@@ -40,9 +42,7 @@ declare const RampGetWebhookOutput: z.ZodObject<{
40
42
  }>>;
41
43
  endpoint_url: z.ZodNullable<z.ZodString>;
42
44
  }, z.core.$loose>;
43
- declare const rampGetWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- webhook_id: string;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const rampGetWebhook: AppAction<typeof RampGetWebhookInput, typeof RampGetWebhookOutput, typeof ramp.credential>;
46
46
  //#endregion
47
47
  export { rampGetWebhook };
48
48
  //# sourceMappingURL=get-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAKnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAUpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,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/get-webhook.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier of the webhook subscription to retrieve\"),\n});\nconst RampGetWebhook_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status values for webhook subscriptions.\");\nconst RampGetWebhook_WebhookEventTypeSchema = z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that webhooks can subscribe to.\");\nexport const RampGetWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n status: RampGetWebhook_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(RampGetWebhook_WebhookEventTypeSchema).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n}).passthrough().describe(\"Response containing detailed information about a webhook subscription.\");\n\nexport const rampGetWebhook = action(\"RAMP_GET_WEBHOOK\", {\n slug: \"ramp-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve detailed information about a specific webhook subscription by ID. Use when you need to check webhook configuration, status, or event types.\",\n input: RampGetWebhookInput,\n output: RampGetWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACjG,CAAC;AACD,MAAM,qCAAqC,EAAE,KAAK;CAAC;CAAU;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACrJ,MAAM,wCAAwC,EAAE,KAAK;CAAC;CAAkB;CAAiB;CAAc;CAAkB;CAAyB;CAA4B;CAA2B;CAA2B;CAAmC;CAAgC;CAAiC;CAAkC;CAAoB;CAA2B;CAAwB;CAAiC;CAA8B;CAA+B;CAA8C;CAAoD;CAAqB;AAAuB,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAWttB,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,QAAQ,mCAAmC,SAAS;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.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 RampGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The unique identifier of the webhook subscription to retrieve\"),\n});\nconst RampGetWebhook_WebhookStatusSchema = z.enum([\"active\", \"inactive\", \"pending_verification\"]).describe(\"Status values for webhook subscriptions.\");\nconst RampGetWebhook_WebhookEventTypeSchema = z.enum([\"bills.approved\", \"bills.created\", \"bills.paid\", \"bills.rejected\", \"item_receipts.created\", \"purchase_orders.archived\", \"purchase_orders.created\", \"purchase_orders.updated\", \"reimbursements.ready_for_review\", \"reimbursements.ready_to_sync\", \"reimbursements.sync_requested\", \"spend_requests.comment_created\", \"tests.test_event\", \"transactions.authorized\", \"transactions.cleared\", \"transactions.ready_for_review\", \"transactions.ready_to_sync\", \"transactions.sync_requested\", \"unified_requests.external_approval_request\", \"unified_requests.external_approval_request_reset\", \"vendors.activated\", \"webhooks.verification\"]).describe(\"Event types that webhooks can subscribe to.\");\nexport const RampGetWebhookOutput = z.object({\n id: z.string().describe(\"Unique identifier for the webhook subscription\").nullable(),\n status: RampGetWebhook_WebhookStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO-8601 timestamp when the subscription was created\").nullable(),\n updated_at: z.string().describe(\"ISO-8601 timestamp when the subscription was last updated\").nullable(),\n business_id: z.string().describe(\"UUID of the business that this webhook subscription is for\").nullable().optional(),\n event_types: z.array(RampGetWebhook_WebhookEventTypeSchema).describe(\"Types of events this subscription will receive\"),\n endpoint_url: z.string().describe(\"URL where webhook events will be sent\").nullable(),\n}).passthrough().describe(\"Response containing detailed information about a webhook subscription.\");\n\nexport const rampGetWebhook: AppAction<\n typeof RampGetWebhookInput,\n typeof RampGetWebhookOutput,\n typeof ramp.credential\n> = action(\"RAMP_GET_WEBHOOK\", {\n slug: \"ramp-get-webhook\",\n name: \"Get Webhook\",\n description: \"Tool to retrieve detailed information about a specific webhook subscription by ID. Use when you need to check webhook configuration, status, or event types.\",\n input: RampGetWebhookInput,\n output: RampGetWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACjG,CAAC;AACD,MAAM,qCAAqC,EAAE,KAAK;CAAC;CAAU;CAAY;AAAsB,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACrJ,MAAM,wCAAwC,EAAE,KAAK;CAAC;CAAkB;CAAiB;CAAc;CAAkB;CAAyB;CAA4B;CAA2B;CAA2B;CAAmC;CAAgC;CAAiC;CAAkC;CAAoB;CAA2B;CAAwB;CAAiC;CAA8B;CAA+B;CAA8C;CAAoD;CAAqB;AAAuB,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAWttB,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnF,QAAQ,mCAAmC,SAAS;EACpD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,aAAa,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,gDAAgD;EACrH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAWhB;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/issue-virtual-card.ts
@@ -1 +1 @@
1
- {"version":3,"file":"issue-virtual-card.cjs","names":["z","action"],"sources":["../../src/actions/issue-virtual-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampIssueVirtualCardInput = z.object({\n memo: z.string().describe(\"Memo for the card creation\").optional(),\n user_id: z.string().describe(\"User ID to issue the card to\"),\n display_name: z.string().describe(\"Display name for the card\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents\"),\n interval: z.string().describe(\"Spending limit interval: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or TOTAL\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: YYYY-MM-DD)\").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 transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction\").optional(),\n}).describe(\"Spending restrictions for the card\").optional(),\n});\nconst RampIssueVirtualCard_DeferredTaskDataSchema = z.object({\n limitId: z.string().describe(\"Unique identifier of the created virtual card limit (returned when task completes successfully).\").nullable().optional(),\n}).passthrough();\nconst RampIssueVirtualCard_DeferredTaskContextSchema = z.object({\n actingUserId: z.string().describe(\"Unique identifier of the user who initiated the virtual card creation request.\").nullable().optional(),\n}).passthrough();\nexport const RampIssueVirtualCardOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task used to track the asynchronous virtual card creation operation.\").nullable(),\n data: RampIssueVirtualCard_DeferredTaskDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the deferred task. Possible values: STARTED, IN_PROGRESS, ERROR, SUCCESS.\").nullable().optional(),\n context: RampIssueVirtualCard_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough();\n\nexport const rampIssueVirtualCard = action(\"RAMP_ISSUE_VIRTUAL_CARD\", {\n slug: \"ramp-issue-virtual-card\",\n name: \"Issue Virtual Card\",\n description: \"Tool for issuing virtual cards to users instantly. Creates cards with customizable spending limits and restrictions. Returns full card details including card number and CVV.\",\n input: RampIssueVirtualCardInput,\n output: RampIssueVirtualCardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAA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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAC3I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"issue-virtual-card.cjs","names":["z","action"],"sources":["../../src/actions/issue-virtual-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 RampIssueVirtualCardInput = z.object({\n memo: z.string().describe(\"Memo for the card creation\").optional(),\n user_id: z.string().describe(\"User ID to issue the card to\"),\n display_name: z.string().describe(\"Display name for the card\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents\"),\n interval: z.string().describe(\"Spending limit interval: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or TOTAL\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: YYYY-MM-DD)\").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 transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction\").optional(),\n}).describe(\"Spending restrictions for the card\").optional(),\n});\nconst RampIssueVirtualCard_DeferredTaskDataSchema = z.object({\n limitId: z.string().describe(\"Unique identifier of the created virtual card limit (returned when task completes successfully).\").nullable().optional(),\n}).passthrough();\nconst RampIssueVirtualCard_DeferredTaskContextSchema = z.object({\n actingUserId: z.string().describe(\"Unique identifier of the user who initiated the virtual card creation request.\").nullable().optional(),\n}).passthrough();\nexport const RampIssueVirtualCardOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task used to track the asynchronous virtual card creation operation.\").nullable(),\n data: RampIssueVirtualCard_DeferredTaskDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the deferred task. Possible values: STARTED, IN_PROGRESS, ERROR, SUCCESS.\").nullable().optional(),\n context: RampIssueVirtualCard_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough();\n\nexport const rampIssueVirtualCard: AppAction<\n typeof RampIssueVirtualCardInput,\n typeof RampIssueVirtualCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_ISSUE_VIRTUAL_CARD\", {\n slug: \"ramp-issue-virtual-card\",\n name: \"Issue Virtual Card\",\n description: \"Tool for issuing virtual cards to users instantly. Creates cards with customizable spending limits and restrictions. Returns full card details including card number and CVV.\",\n input: RampIssueVirtualCardInput,\n output: RampIssueVirtualCardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,uBAAuBA,IAAAA,EAAE,OAAO;EAChC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAClE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8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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/issue-virtual-card.d.ts
@@ -25,20 +27,7 @@ declare const RampIssueVirtualCardOutput: z.ZodObject<{
25
27
  actingUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>>;
27
29
  }, z.core.$loose>;
28
- declare const rampIssueVirtualCard: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- user_id: string;
30
- memo?: string | undefined;
31
- display_name?: string | undefined;
32
- card_program_id?: string | undefined;
33
- spending_restrictions?: {
34
- amount: number;
35
- interval: string;
36
- lock_date?: string | undefined;
37
- categories_blacklist?: number[] | undefined;
38
- categories_whitelist?: number[] | undefined;
39
- transaction_amount_limit?: number | undefined;
40
- } | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const rampIssueVirtualCard: AppAction<typeof RampIssueVirtualCardInput, typeof RampIssueVirtualCardOutput, typeof ramp.credential>;
42
31
  //#endregion
43
32
  export { rampIssueVirtualCard };
44
33
  //# sourceMappingURL=issue-virtual-card.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-virtual-card.d.cts","names":[],"sources":["../../src/actions/issue-virtual-card.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"issue-virtual-card.d.cts","names":[],"sources":["../../src/actions/issue-virtual-card.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,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/issue-virtual-card.d.ts
@@ -25,20 +27,7 @@ declare const RampIssueVirtualCardOutput: z.ZodObject<{
25
27
  actingUserId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>>;
27
29
  }, z.core.$loose>;
28
- declare const rampIssueVirtualCard: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- user_id: string;
30
- memo?: string | undefined;
31
- display_name?: string | undefined;
32
- card_program_id?: string | undefined;
33
- spending_restrictions?: {
34
- amount: number;
35
- interval: string;
36
- lock_date?: string | undefined;
37
- categories_blacklist?: number[] | undefined;
38
- categories_whitelist?: number[] | undefined;
39
- transaction_amount_limit?: number | undefined;
40
- } | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const rampIssueVirtualCard: AppAction<typeof RampIssueVirtualCardInput, typeof RampIssueVirtualCardOutput, typeof ramp.credential>;
42
31
  //#endregion
43
32
  export { rampIssueVirtualCard };
44
33
  //# sourceMappingURL=issue-virtual-card.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"issue-virtual-card.d.mts","names":[],"sources":["../../src/actions/issue-virtual-card.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"issue-virtual-card.d.mts","names":[],"sources":["../../src/actions/issue-virtual-card.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;cAO1B,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
  //#region src/actions/issue-virtual-card.ts
@@ -1 +1 @@
1
- {"version":3,"file":"issue-virtual-card.mjs","names":[],"sources":["../../src/actions/issue-virtual-card.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampIssueVirtualCardInput = z.object({\n memo: z.string().describe(\"Memo for the card creation\").optional(),\n user_id: z.string().describe(\"User ID to issue the card to\"),\n display_name: z.string().describe(\"Display name for the card\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents\"),\n interval: z.string().describe(\"Spending limit interval: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or TOTAL\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: YYYY-MM-DD)\").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 transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction\").optional(),\n}).describe(\"Spending restrictions for the card\").optional(),\n});\nconst RampIssueVirtualCard_DeferredTaskDataSchema = z.object({\n limitId: z.string().describe(\"Unique identifier of the created virtual card limit (returned when task completes successfully).\").nullable().optional(),\n}).passthrough();\nconst RampIssueVirtualCard_DeferredTaskContextSchema = z.object({\n actingUserId: z.string().describe(\"Unique identifier of the user who initiated the virtual card creation request.\").nullable().optional(),\n}).passthrough();\nexport const RampIssueVirtualCardOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task used to track the asynchronous virtual card creation operation.\").nullable(),\n data: RampIssueVirtualCard_DeferredTaskDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the deferred task. Possible values: STARTED, IN_PROGRESS, ERROR, SUCCESS.\").nullable().optional(),\n context: RampIssueVirtualCard_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough();\n\nexport const rampIssueVirtualCard = action(\"RAMP_ISSUE_VIRTUAL_CARD\", {\n slug: \"ramp-issue-virtual-card\",\n name: \"Issue Virtual Card\",\n description: \"Tool for issuing virtual cards to users instantly. Creates cards with customizable spending limits and restrictions. Returns full card details including card number and CVV.\",\n input: RampIssueVirtualCardInput,\n output: RampIssueVirtualCardOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC3D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACxE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACrF,uBAAuB,EAAE,OAAO;EAChC,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAClE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EAC3G,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACzH,sBAAsB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACzH,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACnH,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AAC3D,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvJ,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iDAAiD,EAAE,OAAO,EAC9D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1I,CAAC,CAAC,CAAC,YAAY;AAQf,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAC3I,MAAM,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"issue-virtual-card.mjs","names":[],"sources":["../../src/actions/issue-virtual-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 RampIssueVirtualCardInput = z.object({\n memo: z.string().describe(\"Memo for the card creation\").optional(),\n user_id: z.string().describe(\"User ID to issue the card to\"),\n display_name: z.string().describe(\"Display name for the card\").optional(),\n card_program_id: z.string().describe(\"Card program ID to use for the card\").optional(),\n spending_restrictions: z.object({\n amount: z.number().int().describe(\"Spending limit amount in cents\"),\n interval: z.string().describe(\"Spending limit interval: DAILY, WEEKLY, MONTHLY, QUARTERLY, YEARLY, or TOTAL\"),\n lock_date: z.string().describe(\"Date when the card will automatically lock (format: YYYY-MM-DD)\").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 transaction_amount_limit: z.number().int().describe(\"Maximum amount in cents for a single transaction\").optional(),\n}).describe(\"Spending restrictions for the card\").optional(),\n});\nconst RampIssueVirtualCard_DeferredTaskDataSchema = z.object({\n limitId: z.string().describe(\"Unique identifier of the created virtual card limit (returned when task completes successfully).\").nullable().optional(),\n}).passthrough();\nconst RampIssueVirtualCard_DeferredTaskContextSchema = z.object({\n actingUserId: z.string().describe(\"Unique identifier of the user who initiated the virtual card creation request.\").nullable().optional(),\n}).passthrough();\nexport const RampIssueVirtualCardOutput = z.object({\n id: z.string().describe(\"Unique identifier of the deferred task used to track the asynchronous virtual card creation operation.\").nullable(),\n data: RampIssueVirtualCard_DeferredTaskDataSchema.nullable().optional(),\n status: z.string().describe(\"Status of the deferred task. Possible values: STARTED, IN_PROGRESS, ERROR, SUCCESS.\").nullable().optional(),\n context: RampIssueVirtualCard_DeferredTaskContextSchema.nullable().optional(),\n}).passthrough();\n\nexport const rampIssueVirtualCard: AppAction<\n typeof RampIssueVirtualCardInput,\n typeof RampIssueVirtualCardOutput,\n typeof ramp.credential\n> = action(\"RAMP_ISSUE_VIRTUAL_CARD\", {\n slug: \"ramp-issue-virtual-card\",\n name: \"Issue Virtual Card\",\n description: \"Tool for issuing virtual cards to users instantly. Creates cards with customizable spending limits and restrictions. Returns full card details including card number and CVV.\",\n input: RampIssueVirtualCardInput,\n output: RampIssueVirtualCardOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,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C,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC9E,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/list-accounting-inventory-item-options.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounting-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/list-accounting-inventory-item-options.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampListAccountingInventoryItemOptionsInput = z.object({\n code: z.string().describe(\"Filter by code\").optional(),\n start: z.string().describe(\"The ID of the last entity of the previous page, used for pagination to get the next page\").optional(),\n is_active: z.boolean().describe(\"Filter by active status. If not provided, returns all objects. If true, returns only active objects. If false, returns only inactive objects.\").optional(),\n is_synced: z.boolean().describe(\"Filter by sync status with the accounting system\").optional(),\n page_size: z.number().int().default(20).describe(\"The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used.\").optional(),\n remote_id: z.string().describe(\"Filter by Remote/external ID from the ERP system\").optional(),\n}).describe(\"Request parameters to list accounting inventory item options.\");\nconst RampListAccountingInventoryItemOptions_InventoryItemOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the inventory item is associated with\").nullable(),\n}).passthrough().describe(\"Individual inventory item option object.\");\nconst RampListAccountingInventoryItemOptions_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nexport const RampListAccountingInventoryItemOptionsOutput = z.object({\n data: z.array(RampListAccountingInventoryItemOptions_InventoryItemOptionSchema).describe(\"Array of inventory item option objects returned in the paginated response\"),\n page: RampListAccountingInventoryItemOptions_PageSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp GET accounting inventory item options endpoint with paginated data.\");\n\nexport const rampListAccountingInventoryItemOptions = action(\"RAMP_LIST_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-list-accounting-inventory-item-options\",\n name: \"List Accounting Inventory Item Options\",\n description: \"Tool to list accounting inventory item options from Ramp. Use when you need to retrieve inventory items for accounting integration or transaction categorization.\",\n input: RampListAccountingInventoryItemOptionsInput,\n output: RampListAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAChI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC1L,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CAC1M,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,2EAA2E;CACpK,MAAM,kDAAkD,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-accounting-inventory-item-options.cjs","names":["z","action"],"sources":["../../src/actions/list-accounting-inventory-item-options.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 RampListAccountingInventoryItemOptionsInput = z.object({\n code: z.string().describe(\"Filter by code\").optional(),\n start: z.string().describe(\"The ID of the last entity of the previous page, used for pagination to get the next page\").optional(),\n is_active: z.boolean().describe(\"Filter by active status. If not provided, returns all objects. If true, returns only active objects. If false, returns only inactive objects.\").optional(),\n is_synced: z.boolean().describe(\"Filter by sync status with the accounting system\").optional(),\n page_size: z.number().int().default(20).describe(\"The number of results to be returned in each page. The value must be between 2 and 100. If not specified, the default value 20 will be used.\").optional(),\n remote_id: z.string().describe(\"Filter by Remote/external ID from the ERP system\").optional(),\n}).describe(\"Request parameters to list accounting inventory item options.\");\nconst RampListAccountingInventoryItemOptions_InventoryItemOptionSchema = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item in ERP system\").nullable(),\n name: z.string().describe(\"Display name of the inventory item\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this inventory item\").nullable(),\n is_active: z.boolean().describe(\"Whether the inventory item is active\").nullable(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the inventory item is associated with\").nullable(),\n}).passthrough().describe(\"Individual inventory item option object.\");\nconst RampListAccountingInventoryItemOptions_PageSchema = z.object({\n next: z.string().describe(\"URL for the next page of results. Present when more results are available.\").nullable().optional(),\n}).passthrough().describe(\"Pagination metadata for navigating through results.\");\nexport const RampListAccountingInventoryItemOptionsOutput = z.object({\n data: z.array(RampListAccountingInventoryItemOptions_InventoryItemOptionSchema).describe(\"Array of inventory item option objects returned in the paginated response\"),\n page: RampListAccountingInventoryItemOptions_PageSchema.nullable(),\n}).passthrough().describe(\"Response from Ramp GET accounting inventory item options endpoint with paginated data.\");\n\nexport const rampListAccountingInventoryItemOptions: AppAction<\n typeof RampListAccountingInventoryItemOptionsInput,\n typeof RampListAccountingInventoryItemOptionsOutput,\n typeof ramp.credential\n> = action(\"RAMP_LIST_ACCOUNTING_INVENTORY_ITEM_OPTIONS\", {\n slug: \"ramp-list-accounting-inventory-item-options\",\n name: \"List Accounting Inventory Item Options\",\n description: \"Tool to list accounting inventory item options from Ramp. Use when you need to retrieve inventory items for accounting integration or transaction categorization.\",\n input: RampListAccountingInventoryItemOptionsInput,\n output: RampListAccountingInventoryItemOptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,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Y,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,2EAA2E;CACpK,MAAM,kDAAkD,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,yCAITC,eAAAA,OAAO,+CAA+C;CACxD,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/list-accounting-inventory-item-options.d.ts
@@ -21,14 +23,7 @@ declare const RampListAccountingInventoryItemOptionsOutput: z.ZodObject<{
21
23
  next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const rampListAccountingInventoryItemOptions: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- code?: string | undefined;
26
- start?: string | undefined;
27
- is_active?: boolean | undefined;
28
- is_synced?: boolean | undefined;
29
- page_size?: number | undefined;
30
- remote_id?: string | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const rampListAccountingInventoryItemOptions: AppAction<typeof RampListAccountingInventoryItemOptionsInput, typeof RampListAccountingInventoryItemOptionsOutput, typeof ramp.credential>;
32
27
  //#endregion
33
28
  export { rampListAccountingInventoryItemOptions };
34
29
  //# sourceMappingURL=list-accounting-inventory-item-options.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-accounting-inventory-item-options.d.cts","names":[],"sources":["../../src/actions/list-accounting-inventory-item-options.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAkB3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5C,sCAAA,gCAAsC,wBAAA"}
1
+ {"version":3,"file":"list-accounting-inventory-item-options.d.cts","names":[],"sources":["../../src/actions/list-accounting-inventory-item-options.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;cAkB3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,IAAA,CAAK,UAAA"}