@keystrokehq/ramp 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/create-department.cjs +3 -3
  5. package/dist/actions/create-department.cjs.map +1 -1
  6. package/dist/actions/create-department.d.cts +10 -3
  7. package/dist/actions/create-department.d.cts.map +1 -1
  8. package/dist/actions/create-department.d.mts +10 -3
  9. package/dist/actions/create-department.d.mts.map +1 -1
  10. package/dist/actions/create-department.mjs +3 -3
  11. package/dist/actions/create-department.mjs.map +1 -1
  12. package/dist/actions/create-inventory-item-accounting-field.cjs +5 -5
  13. package/dist/actions/create-inventory-item-accounting-field.cjs.map +1 -1
  14. package/dist/actions/create-inventory-item-accounting-field.d.cts +15 -3
  15. package/dist/actions/create-inventory-item-accounting-field.d.cts.map +1 -1
  16. package/dist/actions/create-inventory-item-accounting-field.d.mts +15 -3
  17. package/dist/actions/create-inventory-item-accounting-field.d.mts.map +1 -1
  18. package/dist/actions/create-inventory-item-accounting-field.mjs +5 -5
  19. package/dist/actions/create-inventory-item-accounting-field.mjs.map +1 -1
  20. package/dist/actions/create-memo.cjs +3 -3
  21. package/dist/actions/create-memo.cjs.map +1 -1
  22. package/dist/actions/create-memo.d.cts +14 -3
  23. package/dist/actions/create-memo.d.cts.map +1 -1
  24. package/dist/actions/create-memo.d.mts +14 -3
  25. package/dist/actions/create-memo.d.mts.map +1 -1
  26. package/dist/actions/create-memo.mjs +3 -3
  27. package/dist/actions/create-memo.mjs.map +1 -1
  28. package/dist/actions/create-mileage-reimbursement.cjs +22 -22
  29. package/dist/actions/create-mileage-reimbursement.cjs.map +1 -1
  30. package/dist/actions/create-mileage-reimbursement.d.cts +149 -3
  31. package/dist/actions/create-mileage-reimbursement.d.cts.map +1 -1
  32. package/dist/actions/create-mileage-reimbursement.d.mts +149 -3
  33. package/dist/actions/create-mileage-reimbursement.d.mts.map +1 -1
  34. package/dist/actions/create-mileage-reimbursement.mjs +22 -22
  35. package/dist/actions/create-mileage-reimbursement.mjs.map +1 -1
  36. package/dist/actions/create-new-custom-accounting-field.cjs +9 -9
  37. package/dist/actions/create-new-custom-accounting-field.cjs.map +1 -1
  38. package/dist/actions/create-new-custom-accounting-field.d.cts +38 -3
  39. package/dist/actions/create-new-custom-accounting-field.d.cts.map +1 -1
  40. package/dist/actions/create-new-custom-accounting-field.d.mts +38 -3
  41. package/dist/actions/create-new-custom-accounting-field.d.mts.map +1 -1
  42. package/dist/actions/create-new-custom-accounting-field.mjs +9 -9
  43. package/dist/actions/create-new-custom-accounting-field.mjs.map +1 -1
  44. package/dist/actions/create-tax-code-accounting-field.cjs +5 -5
  45. package/dist/actions/create-tax-code-accounting-field.cjs.map +1 -1
  46. package/dist/actions/create-tax-code-accounting-field.d.cts +15 -3
  47. package/dist/actions/create-tax-code-accounting-field.d.cts.map +1 -1
  48. package/dist/actions/create-tax-code-accounting-field.d.mts +15 -3
  49. package/dist/actions/create-tax-code-accounting-field.d.mts.map +1 -1
  50. package/dist/actions/create-tax-code-accounting-field.mjs +5 -5
  51. package/dist/actions/create-tax-code-accounting-field.mjs.map +1 -1
  52. package/dist/actions/create-user-invite.cjs +1 -1
  53. package/dist/actions/create-user-invite.cjs.map +1 -1
  54. package/dist/actions/create-user-invite.d.cts +33 -3
  55. package/dist/actions/create-user-invite.d.cts.map +1 -1
  56. package/dist/actions/create-user-invite.d.mts +33 -3
  57. package/dist/actions/create-user-invite.d.mts.map +1 -1
  58. package/dist/actions/create-user-invite.mjs +1 -1
  59. package/dist/actions/create-user-invite.mjs.map +1 -1
  60. package/dist/actions/create-webhook-subscription.cjs +8 -8
  61. package/dist/actions/create-webhook-subscription.cjs.map +1 -1
  62. package/dist/actions/create-webhook-subscription.d.cts +48 -3
  63. package/dist/actions/create-webhook-subscription.d.cts.map +1 -1
  64. package/dist/actions/create-webhook-subscription.d.mts +48 -3
  65. package/dist/actions/create-webhook-subscription.d.mts.map +1 -1
  66. package/dist/actions/create-webhook-subscription.mjs +8 -8
  67. package/dist/actions/create-webhook-subscription.mjs.map +1 -1
  68. package/dist/actions/deactivate-user.cjs +1 -1
  69. package/dist/actions/deactivate-user.cjs.map +1 -1
  70. package/dist/actions/deactivate-user.d.cts +7 -3
  71. package/dist/actions/deactivate-user.d.cts.map +1 -1
  72. package/dist/actions/deactivate-user.d.mts +7 -3
  73. package/dist/actions/deactivate-user.d.mts.map +1 -1
  74. package/dist/actions/deactivate-user.mjs +1 -1
  75. package/dist/actions/deactivate-user.mjs.map +1 -1
  76. package/dist/actions/delete-accounting-account.cjs +1 -1
  77. package/dist/actions/delete-accounting-account.cjs.map +1 -1
  78. package/dist/actions/delete-accounting-account.d.cts +9 -3
  79. package/dist/actions/delete-accounting-account.d.cts.map +1 -1
  80. package/dist/actions/delete-accounting-account.d.mts +9 -3
  81. package/dist/actions/delete-accounting-account.d.mts.map +1 -1
  82. package/dist/actions/delete-accounting-account.mjs +1 -1
  83. package/dist/actions/delete-accounting-account.mjs.map +1 -1
  84. package/dist/actions/delete-accounting-connection.cjs +1 -1
  85. package/dist/actions/delete-accounting-connection.cjs.map +1 -1
  86. package/dist/actions/delete-accounting-connection.d.cts +5 -3
  87. package/dist/actions/delete-accounting-connection.d.cts.map +1 -1
  88. package/dist/actions/delete-accounting-connection.d.mts +5 -3
  89. package/dist/actions/delete-accounting-connection.d.mts.map +1 -1
  90. package/dist/actions/delete-accounting-connection.mjs +1 -1
  91. package/dist/actions/delete-accounting-connection.mjs.map +1 -1
  92. package/dist/actions/delete-accounting-fields.cjs +1 -1
  93. package/dist/actions/delete-accounting-fields.cjs.map +1 -1
  94. package/dist/actions/delete-accounting-fields.d.cts +9 -3
  95. package/dist/actions/delete-accounting-fields.d.cts.map +1 -1
  96. package/dist/actions/delete-accounting-fields.d.mts +9 -3
  97. package/dist/actions/delete-accounting-fields.d.mts.map +1 -1
  98. package/dist/actions/delete-accounting-fields.mjs +1 -1
  99. package/dist/actions/delete-accounting-fields.mjs.map +1 -1
  100. package/dist/actions/delete-accounting-inventory-item-options.cjs +1 -1
  101. package/dist/actions/delete-accounting-inventory-item-options.cjs.map +1 -1
  102. package/dist/actions/delete-accounting-inventory-item-options.d.cts +9 -3
  103. package/dist/actions/delete-accounting-inventory-item-options.d.cts.map +1 -1
  104. package/dist/actions/delete-accounting-inventory-item-options.d.mts +9 -3
  105. package/dist/actions/delete-accounting-inventory-item-options.d.mts.map +1 -1
  106. package/dist/actions/delete-accounting-inventory-item-options.mjs +1 -1
  107. package/dist/actions/delete-accounting-inventory-item-options.mjs.map +1 -1
  108. package/dist/actions/delete-accounting-tax-code-options.cjs +1 -1
  109. package/dist/actions/delete-accounting-tax-code-options.cjs.map +1 -1
  110. package/dist/actions/delete-accounting-tax-code-options.d.cts +9 -3
  111. package/dist/actions/delete-accounting-tax-code-options.d.cts.map +1 -1
  112. package/dist/actions/delete-accounting-tax-code-options.d.mts +9 -3
  113. package/dist/actions/delete-accounting-tax-code-options.d.mts.map +1 -1
  114. package/dist/actions/delete-accounting-tax-code-options.mjs +1 -1
  115. package/dist/actions/delete-accounting-tax-code-options.mjs.map +1 -1
  116. package/dist/actions/delete-accounting-tax-code.cjs +1 -1
  117. package/dist/actions/delete-accounting-tax-code.cjs.map +1 -1
  118. package/dist/actions/delete-accounting-tax-code.d.cts +5 -3
  119. package/dist/actions/delete-accounting-tax-code.d.cts.map +1 -1
  120. package/dist/actions/delete-accounting-tax-code.d.mts +5 -3
  121. package/dist/actions/delete-accounting-tax-code.d.mts.map +1 -1
  122. package/dist/actions/delete-accounting-tax-code.mjs +1 -1
  123. package/dist/actions/delete-accounting-tax-code.mjs.map +1 -1
  124. package/dist/actions/delete-accounting-tax-rates.cjs +1 -1
  125. package/dist/actions/delete-accounting-tax-rates.cjs.map +1 -1
  126. package/dist/actions/delete-accounting-tax-rates.d.cts +11 -3
  127. package/dist/actions/delete-accounting-tax-rates.d.cts.map +1 -1
  128. package/dist/actions/delete-accounting-tax-rates.d.mts +11 -3
  129. package/dist/actions/delete-accounting-tax-rates.d.mts.map +1 -1
  130. package/dist/actions/delete-accounting-tax-rates.mjs +1 -1
  131. package/dist/actions/delete-accounting-tax-rates.mjs.map +1 -1
  132. package/dist/actions/delete-accounting-vendors.cjs +1 -1
  133. package/dist/actions/delete-accounting-vendors.cjs.map +1 -1
  134. package/dist/actions/delete-accounting-vendors.d.cts +9 -3
  135. package/dist/actions/delete-accounting-vendors.d.cts.map +1 -1
  136. package/dist/actions/delete-accounting-vendors.d.mts +9 -3
  137. package/dist/actions/delete-accounting-vendors.d.mts.map +1 -1
  138. package/dist/actions/delete-accounting-vendors.mjs +1 -1
  139. package/dist/actions/delete-accounting-vendors.mjs.map +1 -1
  140. package/dist/actions/delete-custom-field-option.cjs +1 -1
  141. package/dist/actions/delete-custom-field-option.cjs.map +1 -1
  142. package/dist/actions/delete-custom-field-option.d.cts +9 -3
  143. package/dist/actions/delete-custom-field-option.d.cts.map +1 -1
  144. package/dist/actions/delete-custom-field-option.d.mts +9 -3
  145. package/dist/actions/delete-custom-field-option.d.mts.map +1 -1
  146. package/dist/actions/delete-custom-field-option.mjs +1 -1
  147. package/dist/actions/delete-custom-field-option.mjs.map +1 -1
  148. package/dist/actions/delete-inventory-item-field.cjs +1 -1
  149. package/dist/actions/delete-inventory-item-field.cjs.map +1 -1
  150. package/dist/actions/delete-inventory-item-field.d.cts +5 -3
  151. package/dist/actions/delete-inventory-item-field.d.cts.map +1 -1
  152. package/dist/actions/delete-inventory-item-field.d.mts +5 -3
  153. package/dist/actions/delete-inventory-item-field.d.mts.map +1 -1
  154. package/dist/actions/delete-inventory-item-field.mjs +1 -1
  155. package/dist/actions/delete-inventory-item-field.mjs.map +1 -1
  156. package/dist/actions/delete-spend-allocation-delete-users.cjs +17 -17
  157. package/dist/actions/delete-spend-allocation-delete-users.cjs.map +1 -1
  158. package/dist/actions/delete-spend-allocation-delete-users.d.cts +76 -3
  159. package/dist/actions/delete-spend-allocation-delete-users.d.cts.map +1 -1
  160. package/dist/actions/delete-spend-allocation-delete-users.d.mts +76 -3
  161. package/dist/actions/delete-spend-allocation-delete-users.d.mts.map +1 -1
  162. package/dist/actions/delete-spend-allocation-delete-users.mjs +17 -17
  163. package/dist/actions/delete-spend-allocation-delete-users.mjs.map +1 -1
  164. package/dist/actions/delete-webhook.cjs +1 -1
  165. package/dist/actions/delete-webhook.cjs.map +1 -1
  166. package/dist/actions/delete-webhook.d.cts +9 -3
  167. package/dist/actions/delete-webhook.d.cts.map +1 -1
  168. package/dist/actions/delete-webhook.d.mts +9 -3
  169. package/dist/actions/delete-webhook.d.mts.map +1 -1
  170. package/dist/actions/delete-webhook.mjs +1 -1
  171. package/dist/actions/delete-webhook.mjs.map +1 -1
  172. package/dist/actions/fetch-accounting-account.cjs +7 -7
  173. package/dist/actions/fetch-accounting-account.cjs.map +1 -1
  174. package/dist/actions/fetch-accounting-account.d.cts +25 -3
  175. package/dist/actions/fetch-accounting-account.d.cts.map +1 -1
  176. package/dist/actions/fetch-accounting-account.d.mts +25 -3
  177. package/dist/actions/fetch-accounting-account.d.mts.map +1 -1
  178. package/dist/actions/fetch-accounting-account.mjs +7 -7
  179. package/dist/actions/fetch-accounting-account.mjs.map +1 -1
  180. package/dist/actions/fetch-accounting-vendor.cjs +9 -9
  181. package/dist/actions/fetch-accounting-vendor.cjs.map +1 -1
  182. package/dist/actions/fetch-accounting-vendor.d.cts +25 -3
  183. package/dist/actions/fetch-accounting-vendor.d.cts.map +1 -1
  184. package/dist/actions/fetch-accounting-vendor.d.mts +25 -3
  185. package/dist/actions/fetch-accounting-vendor.d.mts.map +1 -1
  186. package/dist/actions/fetch-accounting-vendor.mjs +9 -9
  187. package/dist/actions/fetch-accounting-vendor.mjs.map +1 -1
  188. package/dist/actions/fetch-custom-accounting-field.cjs +10 -10
  189. package/dist/actions/fetch-custom-accounting-field.cjs.map +1 -1
  190. package/dist/actions/fetch-custom-accounting-field.d.cts +18 -3
  191. package/dist/actions/fetch-custom-accounting-field.d.cts.map +1 -1
  192. package/dist/actions/fetch-custom-accounting-field.d.mts +18 -3
  193. package/dist/actions/fetch-custom-accounting-field.d.mts.map +1 -1
  194. package/dist/actions/fetch-custom-accounting-field.mjs +10 -10
  195. package/dist/actions/fetch-custom-accounting-field.mjs.map +1 -1
  196. package/dist/actions/get-accounting-accounts.cjs +4 -4
  197. package/dist/actions/get-accounting-accounts.cjs.map +1 -1
  198. package/dist/actions/get-accounting-accounts.d.cts +38 -3
  199. package/dist/actions/get-accounting-accounts.d.cts.map +1 -1
  200. package/dist/actions/get-accounting-accounts.d.mts +38 -3
  201. package/dist/actions/get-accounting-accounts.d.mts.map +1 -1
  202. package/dist/actions/get-accounting-accounts.mjs +4 -4
  203. package/dist/actions/get-accounting-accounts.mjs.map +1 -1
  204. package/dist/actions/get-accounting-all-connections.cjs +2 -2
  205. package/dist/actions/get-accounting-all-connections.cjs.map +1 -1
  206. package/dist/actions/get-accounting-all-connections.d.cts +11 -3
  207. package/dist/actions/get-accounting-all-connections.d.cts.map +1 -1
  208. package/dist/actions/get-accounting-all-connections.d.mts +11 -3
  209. package/dist/actions/get-accounting-all-connections.d.mts.map +1 -1
  210. package/dist/actions/get-accounting-all-connections.mjs +2 -2
  211. package/dist/actions/get-accounting-all-connections.mjs.map +1 -1
  212. package/dist/actions/get-accounting-connection-by-id.cjs +8 -8
  213. package/dist/actions/get-accounting-connection-by-id.cjs.map +1 -1
  214. package/dist/actions/get-accounting-connection-by-id.d.cts +29 -3
  215. package/dist/actions/get-accounting-connection-by-id.d.cts.map +1 -1
  216. package/dist/actions/get-accounting-connection-by-id.d.mts +29 -3
  217. package/dist/actions/get-accounting-connection-by-id.d.mts.map +1 -1
  218. package/dist/actions/get-accounting-connection-by-id.mjs +8 -8
  219. package/dist/actions/get-accounting-connection-by-id.mjs.map +1 -1
  220. package/dist/actions/get-accounting-connection.cjs +2 -2
  221. package/dist/actions/get-accounting-connection.cjs.map +1 -1
  222. package/dist/actions/get-accounting-connection.d.cts +15 -3
  223. package/dist/actions/get-accounting-connection.d.cts.map +1 -1
  224. package/dist/actions/get-accounting-connection.d.mts +15 -3
  225. package/dist/actions/get-accounting-connection.d.mts.map +1 -1
  226. package/dist/actions/get-accounting-connection.mjs +2 -2
  227. package/dist/actions/get-accounting-connection.mjs.map +1 -1
  228. package/dist/actions/get-accounting-fields.cjs +3 -3
  229. package/dist/actions/get-accounting-fields.cjs.map +1 -1
  230. package/dist/actions/get-accounting-fields.d.cts +19 -3
  231. package/dist/actions/get-accounting-fields.d.cts.map +1 -1
  232. package/dist/actions/get-accounting-fields.d.mts +19 -3
  233. package/dist/actions/get-accounting-fields.d.mts.map +1 -1
  234. package/dist/actions/get-accounting-fields.mjs +3 -3
  235. package/dist/actions/get-accounting-fields.mjs.map +1 -1
  236. package/dist/actions/get-accounting-vendors.cjs +3 -3
  237. package/dist/actions/get-accounting-vendors.cjs.map +1 -1
  238. package/dist/actions/get-accounting-vendors.d.cts +19 -3
  239. package/dist/actions/get-accounting-vendors.d.cts.map +1 -1
  240. package/dist/actions/get-accounting-vendors.d.mts +19 -3
  241. package/dist/actions/get-accounting-vendors.d.mts.map +1 -1
  242. package/dist/actions/get-accounting-vendors.mjs +3 -3
  243. package/dist/actions/get-accounting-vendors.mjs.map +1 -1
  244. package/dist/actions/get-all-transactions.cjs +6 -6
  245. package/dist/actions/get-all-transactions.cjs.map +1 -1
  246. package/dist/actions/get-all-transactions.d.cts +91 -3
  247. package/dist/actions/get-all-transactions.d.cts.map +1 -1
  248. package/dist/actions/get-all-transactions.d.mts +91 -3
  249. package/dist/actions/get-all-transactions.d.mts.map +1 -1
  250. package/dist/actions/get-all-transactions.mjs +6 -6
  251. package/dist/actions/get-all-transactions.mjs.map +1 -1
  252. package/dist/actions/get-card-vault-resource.cjs +4 -4
  253. package/dist/actions/get-card-vault-resource.cjs.map +1 -1
  254. package/dist/actions/get-card-vault-resource.d.cts +11 -3
  255. package/dist/actions/get-card-vault-resource.d.cts.map +1 -1
  256. package/dist/actions/get-card-vault-resource.d.mts +11 -3
  257. package/dist/actions/get-card-vault-resource.d.mts.map +1 -1
  258. package/dist/actions/get-card-vault-resource.mjs +4 -4
  259. package/dist/actions/get-card-vault-resource.mjs.map +1 -1
  260. package/dist/actions/get-card.cjs +14 -14
  261. package/dist/actions/get-card.cjs.map +1 -1
  262. package/dist/actions/get-card.d.cts +48 -3
  263. package/dist/actions/get-card.d.cts.map +1 -1
  264. package/dist/actions/get-card.d.mts +48 -3
  265. package/dist/actions/get-card.d.mts.map +1 -1
  266. package/dist/actions/get-card.mjs +14 -14
  267. package/dist/actions/get-card.mjs.map +1 -1
  268. package/dist/actions/get-custom-field-option.cjs +1 -1
  269. package/dist/actions/get-custom-field-option.cjs.map +1 -1
  270. package/dist/actions/get-custom-field-option.d.cts +19 -3
  271. package/dist/actions/get-custom-field-option.d.cts.map +1 -1
  272. package/dist/actions/get-custom-field-option.d.mts +19 -3
  273. package/dist/actions/get-custom-field-option.d.mts.map +1 -1
  274. package/dist/actions/get-custom-field-option.mjs +1 -1
  275. package/dist/actions/get-custom-field-option.mjs.map +1 -1
  276. package/dist/actions/get-department.cjs +3 -3
  277. package/dist/actions/get-department.cjs.map +1 -1
  278. package/dist/actions/get-department.d.cts +10 -3
  279. package/dist/actions/get-department.d.cts.map +1 -1
  280. package/dist/actions/get-department.d.mts +10 -3
  281. package/dist/actions/get-department.d.mts.map +1 -1
  282. package/dist/actions/get-department.mjs +3 -3
  283. package/dist/actions/get-department.mjs.map +1 -1
  284. package/dist/actions/get-inventory-item-field.cjs +5 -5
  285. package/dist/actions/get-inventory-item-field.cjs.map +1 -1
  286. package/dist/actions/get-inventory-item-field.d.cts +9 -3
  287. package/dist/actions/get-inventory-item-field.d.cts.map +1 -1
  288. package/dist/actions/get-inventory-item-field.d.mts +9 -3
  289. package/dist/actions/get-inventory-item-field.d.mts.map +1 -1
  290. package/dist/actions/get-inventory-item-field.mjs +5 -5
  291. package/dist/actions/get-inventory-item-field.mjs.map +1 -1
  292. package/dist/actions/get-memo.cjs +1 -1
  293. package/dist/actions/get-memo.cjs.map +1 -1
  294. package/dist/actions/get-memo.d.cts +10 -3
  295. package/dist/actions/get-memo.d.cts.map +1 -1
  296. package/dist/actions/get-memo.d.mts +10 -3
  297. package/dist/actions/get-memo.d.mts.map +1 -1
  298. package/dist/actions/get-memo.mjs +1 -1
  299. package/dist/actions/get-memo.mjs.map +1 -1
  300. package/dist/actions/get-reimbursement.cjs +9 -9
  301. package/dist/actions/get-reimbursement.cjs.map +1 -1
  302. package/dist/actions/get-reimbursement.d.cts +50 -3
  303. package/dist/actions/get-reimbursement.d.cts.map +1 -1
  304. package/dist/actions/get-reimbursement.d.mts +50 -3
  305. package/dist/actions/get-reimbursement.d.mts.map +1 -1
  306. package/dist/actions/get-reimbursement.mjs +9 -9
  307. package/dist/actions/get-reimbursement.mjs.map +1 -1
  308. package/dist/actions/get-spend-limit.cjs +26 -26
  309. package/dist/actions/get-spend-limit.cjs.map +1 -1
  310. package/dist/actions/get-spend-limit.d.cts +107 -3
  311. package/dist/actions/get-spend-limit.d.cts.map +1 -1
  312. package/dist/actions/get-spend-limit.d.mts +107 -3
  313. package/dist/actions/get-spend-limit.d.mts.map +1 -1
  314. package/dist/actions/get-spend-limit.mjs +26 -26
  315. package/dist/actions/get-spend-limit.mjs.map +1 -1
  316. package/dist/actions/get-statement.cjs +8 -8
  317. package/dist/actions/get-statement.cjs.map +1 -1
  318. package/dist/actions/get-statement.d.cts +49 -3
  319. package/dist/actions/get-statement.d.cts.map +1 -1
  320. package/dist/actions/get-statement.d.mts +49 -3
  321. package/dist/actions/get-statement.d.mts.map +1 -1
  322. package/dist/actions/get-statement.mjs +8 -8
  323. package/dist/actions/get-statement.mjs.map +1 -1
  324. package/dist/actions/get-transaction.cjs +4 -4
  325. package/dist/actions/get-transaction.cjs.map +1 -1
  326. package/dist/actions/get-transaction.d.cts +46 -3
  327. package/dist/actions/get-transaction.d.cts.map +1 -1
  328. package/dist/actions/get-transaction.d.mts +46 -3
  329. package/dist/actions/get-transaction.d.mts.map +1 -1
  330. package/dist/actions/get-transaction.mjs +4 -4
  331. package/dist/actions/get-transaction.mjs.map +1 -1
  332. package/dist/actions/get-user.cjs +11 -11
  333. package/dist/actions/get-user.cjs.map +1 -1
  334. package/dist/actions/get-user.d.cts +27 -3
  335. package/dist/actions/get-user.d.cts.map +1 -1
  336. package/dist/actions/get-user.d.mts +27 -3
  337. package/dist/actions/get-user.d.mts.map +1 -1
  338. package/dist/actions/get-user.mjs +11 -11
  339. package/dist/actions/get-user.mjs.map +1 -1
  340. package/dist/actions/get-users-deferred-status.cjs +4 -4
  341. package/dist/actions/get-users-deferred-status.cjs.map +1 -1
  342. package/dist/actions/get-users-deferred-status.d.cts +22 -3
  343. package/dist/actions/get-users-deferred-status.d.cts.map +1 -1
  344. package/dist/actions/get-users-deferred-status.d.mts +22 -3
  345. package/dist/actions/get-users-deferred-status.d.mts.map +1 -1
  346. package/dist/actions/get-users-deferred-status.mjs +4 -4
  347. package/dist/actions/get-users-deferred-status.mjs.map +1 -1
  348. package/dist/actions/get-vendor.cjs +5 -5
  349. package/dist/actions/get-vendor.cjs.map +1 -1
  350. package/dist/actions/get-vendor.d.cts +56 -3
  351. package/dist/actions/get-vendor.d.cts.map +1 -1
  352. package/dist/actions/get-vendor.d.mts +56 -3
  353. package/dist/actions/get-vendor.d.mts.map +1 -1
  354. package/dist/actions/get-vendor.mjs +5 -5
  355. package/dist/actions/get-vendor.mjs.map +1 -1
  356. package/dist/actions/get-webhook.cjs +5 -5
  357. package/dist/actions/get-webhook.cjs.map +1 -1
  358. package/dist/actions/get-webhook.d.cts +42 -3
  359. package/dist/actions/get-webhook.d.cts.map +1 -1
  360. package/dist/actions/get-webhook.d.mts +42 -3
  361. package/dist/actions/get-webhook.d.mts.map +1 -1
  362. package/dist/actions/get-webhook.mjs +5 -5
  363. package/dist/actions/get-webhook.mjs.map +1 -1
  364. package/dist/actions/issue-virtual-card.cjs +4 -4
  365. package/dist/actions/issue-virtual-card.cjs.map +1 -1
  366. package/dist/actions/issue-virtual-card.d.cts +38 -3
  367. package/dist/actions/issue-virtual-card.d.cts.map +1 -1
  368. package/dist/actions/issue-virtual-card.d.mts +38 -3
  369. package/dist/actions/issue-virtual-card.d.mts.map +1 -1
  370. package/dist/actions/issue-virtual-card.mjs +4 -4
  371. package/dist/actions/issue-virtual-card.mjs.map +1 -1
  372. package/dist/actions/list-accounting-inventory-item-options.cjs +8 -8
  373. package/dist/actions/list-accounting-inventory-item-options.cjs.map +1 -1
  374. package/dist/actions/list-accounting-inventory-item-options.d.cts +28 -3
  375. package/dist/actions/list-accounting-inventory-item-options.d.cts.map +1 -1
  376. package/dist/actions/list-accounting-inventory-item-options.d.mts +28 -3
  377. package/dist/actions/list-accounting-inventory-item-options.d.mts.map +1 -1
  378. package/dist/actions/list-accounting-inventory-item-options.mjs +8 -8
  379. package/dist/actions/list-accounting-inventory-item-options.mjs.map +1 -1
  380. package/dist/actions/list-accounting-tax-rates.cjs +9 -9
  381. package/dist/actions/list-accounting-tax-rates.cjs.map +1 -1
  382. package/dist/actions/list-accounting-tax-rates.d.cts +21 -3
  383. package/dist/actions/list-accounting-tax-rates.d.cts.map +1 -1
  384. package/dist/actions/list-accounting-tax-rates.d.mts +21 -3
  385. package/dist/actions/list-accounting-tax-rates.d.mts.map +1 -1
  386. package/dist/actions/list-accounting-tax-rates.mjs +9 -9
  387. package/dist/actions/list-accounting-tax-rates.mjs.map +1 -1
  388. package/dist/actions/list-cards.cjs +18 -18
  389. package/dist/actions/list-cards.cjs.map +1 -1
  390. package/dist/actions/list-cards.d.cts +65 -3
  391. package/dist/actions/list-cards.d.cts.map +1 -1
  392. package/dist/actions/list-cards.d.mts +65 -3
  393. package/dist/actions/list-cards.d.mts.map +1 -1
  394. package/dist/actions/list-cards.mjs +18 -18
  395. package/dist/actions/list-cards.mjs.map +1 -1
  396. package/dist/actions/list-departments.cjs +5 -5
  397. package/dist/actions/list-departments.cjs.map +1 -1
  398. package/dist/actions/list-departments.d.cts +17 -3
  399. package/dist/actions/list-departments.d.cts.map +1 -1
  400. package/dist/actions/list-departments.d.mts +17 -3
  401. package/dist/actions/list-departments.d.mts.map +1 -1
  402. package/dist/actions/list-departments.mjs +5 -5
  403. package/dist/actions/list-departments.mjs.map +1 -1
  404. package/dist/actions/list-memos.cjs +4 -4
  405. package/dist/actions/list-memos.cjs.map +1 -1
  406. package/dist/actions/list-memos.d.cts +33 -3
  407. package/dist/actions/list-memos.d.cts.map +1 -1
  408. package/dist/actions/list-memos.d.mts +33 -3
  409. package/dist/actions/list-memos.d.mts.map +1 -1
  410. package/dist/actions/list-memos.mjs +4 -4
  411. package/dist/actions/list-memos.mjs.map +1 -1
  412. package/dist/actions/list-reimbursements.cjs +11 -11
  413. package/dist/actions/list-reimbursements.cjs.map +1 -1
  414. package/dist/actions/list-reimbursements.d.cts +91 -3
  415. package/dist/actions/list-reimbursements.d.cts.map +1 -1
  416. package/dist/actions/list-reimbursements.d.mts +91 -3
  417. package/dist/actions/list-reimbursements.d.mts.map +1 -1
  418. package/dist/actions/list-reimbursements.mjs +11 -11
  419. package/dist/actions/list-reimbursements.mjs.map +1 -1
  420. package/dist/actions/list-statements.cjs +18 -18
  421. package/dist/actions/list-statements.cjs.map +1 -1
  422. package/dist/actions/list-statements.d.cts +85 -3
  423. package/dist/actions/list-statements.d.cts.map +1 -1
  424. package/dist/actions/list-statements.d.mts +85 -3
  425. package/dist/actions/list-statements.d.mts.map +1 -1
  426. package/dist/actions/list-statements.mjs +18 -18
  427. package/dist/actions/list-statements.mjs.map +1 -1
  428. package/dist/actions/list-users.cjs +13 -13
  429. package/dist/actions/list-users.cjs.map +1 -1
  430. package/dist/actions/list-users.d.cts +45 -3
  431. package/dist/actions/list-users.d.cts.map +1 -1
  432. package/dist/actions/list-users.d.mts +45 -3
  433. package/dist/actions/list-users.d.mts.map +1 -1
  434. package/dist/actions/list-users.mjs +13 -13
  435. package/dist/actions/list-users.mjs.map +1 -1
  436. package/dist/actions/list-vendors-accounts.cjs +6 -6
  437. package/dist/actions/list-vendors-accounts.cjs.map +1 -1
  438. package/dist/actions/list-vendors-accounts.d.cts +22 -3
  439. package/dist/actions/list-vendors-accounts.d.cts.map +1 -1
  440. package/dist/actions/list-vendors-accounts.d.mts +22 -3
  441. package/dist/actions/list-vendors-accounts.d.mts.map +1 -1
  442. package/dist/actions/list-vendors-accounts.mjs +6 -6
  443. package/dist/actions/list-vendors-accounts.mjs.map +1 -1
  444. package/dist/actions/list-vendors-contacts.cjs +9 -9
  445. package/dist/actions/list-vendors-contacts.cjs.map +1 -1
  446. package/dist/actions/list-vendors-contacts.d.cts +23 -3
  447. package/dist/actions/list-vendors-contacts.d.cts.map +1 -1
  448. package/dist/actions/list-vendors-contacts.d.mts +23 -3
  449. package/dist/actions/list-vendors-contacts.d.mts.map +1 -1
  450. package/dist/actions/list-vendors-contacts.mjs +9 -9
  451. package/dist/actions/list-vendors-contacts.mjs.map +1 -1
  452. package/dist/actions/list-vendors-credits.cjs +11 -11
  453. package/dist/actions/list-vendors-credits.cjs.map +1 -1
  454. package/dist/actions/list-vendors-credits.d.cts +116 -3
  455. package/dist/actions/list-vendors-credits.d.cts.map +1 -1
  456. package/dist/actions/list-vendors-credits.d.mts +116 -3
  457. package/dist/actions/list-vendors-credits.d.mts.map +1 -1
  458. package/dist/actions/list-vendors-credits.mjs +11 -11
  459. package/dist/actions/list-vendors-credits.mjs.map +1 -1
  460. package/dist/actions/list-vendors.cjs +7 -7
  461. package/dist/actions/list-vendors.cjs.map +1 -1
  462. package/dist/actions/list-vendors.d.cts +60 -3
  463. package/dist/actions/list-vendors.d.cts.map +1 -1
  464. package/dist/actions/list-vendors.d.mts +60 -3
  465. package/dist/actions/list-vendors.d.mts.map +1 -1
  466. package/dist/actions/list-vendors.mjs +7 -7
  467. package/dist/actions/list-vendors.mjs.map +1 -1
  468. package/dist/actions/list-webhooks.cjs +7 -7
  469. package/dist/actions/list-webhooks.cjs.map +1 -1
  470. package/dist/actions/list-webhooks.d.cts +13 -3
  471. package/dist/actions/list-webhooks.d.cts.map +1 -1
  472. package/dist/actions/list-webhooks.d.mts +13 -3
  473. package/dist/actions/list-webhooks.d.mts.map +1 -1
  474. package/dist/actions/list-webhooks.mjs +7 -7
  475. package/dist/actions/list-webhooks.mjs.map +1 -1
  476. package/dist/actions/options-for-custom-accounting-field.cjs +6 -6
  477. package/dist/actions/options-for-custom-accounting-field.cjs.map +1 -1
  478. package/dist/actions/options-for-custom-accounting-field.d.cts +24 -3
  479. package/dist/actions/options-for-custom-accounting-field.d.cts.map +1 -1
  480. package/dist/actions/options-for-custom-accounting-field.d.mts +24 -3
  481. package/dist/actions/options-for-custom-accounting-field.d.mts.map +1 -1
  482. package/dist/actions/options-for-custom-accounting-field.mjs +6 -6
  483. package/dist/actions/options-for-custom-accounting-field.mjs.map +1 -1
  484. package/dist/actions/patch-accounting-connection.cjs +10 -10
  485. package/dist/actions/patch-accounting-connection.cjs.map +1 -1
  486. package/dist/actions/patch-accounting-connection.d.cts +28 -3
  487. package/dist/actions/patch-accounting-connection.d.cts.map +1 -1
  488. package/dist/actions/patch-accounting-connection.d.mts +28 -3
  489. package/dist/actions/patch-accounting-connection.d.mts.map +1 -1
  490. package/dist/actions/patch-accounting-connection.mjs +10 -10
  491. package/dist/actions/patch-accounting-connection.mjs.map +1 -1
  492. package/dist/actions/patch-card-resource.cjs +2 -2
  493. package/dist/actions/patch-card-resource.cjs.map +1 -1
  494. package/dist/actions/patch-card-resource.d.cts +53 -3
  495. package/dist/actions/patch-card-resource.d.cts.map +1 -1
  496. package/dist/actions/patch-card-resource.d.mts +53 -3
  497. package/dist/actions/patch-card-resource.d.mts.map +1 -1
  498. package/dist/actions/patch-card-resource.mjs +2 -2
  499. package/dist/actions/patch-card-resource.mjs.map +1 -1
  500. package/dist/actions/patch-custom-field-option.cjs +2 -2
  501. package/dist/actions/patch-custom-field-option.cjs.map +1 -1
  502. package/dist/actions/patch-custom-field-option.d.cts +32 -3
  503. package/dist/actions/patch-custom-field-option.d.cts.map +1 -1
  504. package/dist/actions/patch-custom-field-option.d.mts +32 -3
  505. package/dist/actions/patch-custom-field-option.d.mts.map +1 -1
  506. package/dist/actions/patch-custom-field-option.mjs +2 -2
  507. package/dist/actions/patch-custom-field-option.mjs.map +1 -1
  508. package/dist/actions/patch-gl-account-resource.cjs +7 -7
  509. package/dist/actions/patch-gl-account-resource.cjs.map +1 -1
  510. package/dist/actions/patch-gl-account-resource.d.cts +29 -3
  511. package/dist/actions/patch-gl-account-resource.d.cts.map +1 -1
  512. package/dist/actions/patch-gl-account-resource.d.mts +29 -3
  513. package/dist/actions/patch-gl-account-resource.d.mts.map +1 -1
  514. package/dist/actions/patch-gl-account-resource.mjs +7 -7
  515. package/dist/actions/patch-gl-account-resource.mjs.map +1 -1
  516. package/dist/actions/patch-inventory-item-field.cjs +5 -5
  517. package/dist/actions/patch-inventory-item-field.cjs.map +1 -1
  518. package/dist/actions/patch-inventory-item-field.d.cts +15 -3
  519. package/dist/actions/patch-inventory-item-field.d.cts.map +1 -1
  520. package/dist/actions/patch-inventory-item-field.d.mts +15 -3
  521. package/dist/actions/patch-inventory-item-field.d.mts.map +1 -1
  522. package/dist/actions/patch-inventory-item-field.mjs +5 -5
  523. package/dist/actions/patch-inventory-item-field.mjs.map +1 -1
  524. package/dist/actions/post-accounting-accounts.cjs +11 -11
  525. package/dist/actions/post-accounting-accounts.cjs.map +1 -1
  526. package/dist/actions/post-accounting-accounts.d.cts +42 -3
  527. package/dist/actions/post-accounting-accounts.d.cts.map +1 -1
  528. package/dist/actions/post-accounting-accounts.d.mts +42 -3
  529. package/dist/actions/post-accounting-accounts.d.mts.map +1 -1
  530. package/dist/actions/post-accounting-accounts.mjs +11 -11
  531. package/dist/actions/post-accounting-accounts.mjs.map +1 -1
  532. package/dist/actions/post-accounting-connection.cjs +7 -7
  533. package/dist/actions/post-accounting-connection.cjs.map +1 -1
  534. package/dist/actions/post-accounting-connection.d.cts +26 -3
  535. package/dist/actions/post-accounting-connection.d.cts.map +1 -1
  536. package/dist/actions/post-accounting-connection.d.mts +26 -3
  537. package/dist/actions/post-accounting-connection.d.mts.map +1 -1
  538. package/dist/actions/post-accounting-connection.mjs +7 -7
  539. package/dist/actions/post-accounting-connection.mjs.map +1 -1
  540. package/dist/actions/post-accounting-vendors.cjs +10 -10
  541. package/dist/actions/post-accounting-vendors.cjs.map +1 -1
  542. package/dist/actions/post-accounting-vendors.d.cts +31 -3
  543. package/dist/actions/post-accounting-vendors.d.cts.map +1 -1
  544. package/dist/actions/post-accounting-vendors.d.mts +31 -3
  545. package/dist/actions/post-accounting-vendors.d.mts.map +1 -1
  546. package/dist/actions/post-accounting-vendors.mjs +10 -10
  547. package/dist/actions/post-accounting-vendors.mjs.map +1 -1
  548. package/dist/actions/post-inventory-item-options.cjs +8 -8
  549. package/dist/actions/post-inventory-item-options.cjs.map +1 -1
  550. package/dist/actions/post-inventory-item-options.d.cts +22 -3
  551. package/dist/actions/post-inventory-item-options.d.cts.map +1 -1
  552. package/dist/actions/post-inventory-item-options.d.mts +22 -3
  553. package/dist/actions/post-inventory-item-options.d.mts.map +1 -1
  554. package/dist/actions/post-inventory-item-options.mjs +8 -8
  555. package/dist/actions/post-inventory-item-options.mjs.map +1 -1
  556. package/dist/actions/post-physical-card.cjs +2 -2
  557. package/dist/actions/post-physical-card.cjs.map +1 -1
  558. package/dist/actions/post-physical-card.d.cts +92 -3
  559. package/dist/actions/post-physical-card.d.cts.map +1 -1
  560. package/dist/actions/post-physical-card.d.mts +92 -3
  561. package/dist/actions/post-physical-card.d.mts.map +1 -1
  562. package/dist/actions/post-physical-card.mjs +2 -2
  563. package/dist/actions/post-physical-card.mjs.map +1 -1
  564. package/dist/actions/reactivate-accounting-connection.cjs +7 -7
  565. package/dist/actions/reactivate-accounting-connection.cjs.map +1 -1
  566. package/dist/actions/reactivate-accounting-connection.d.cts +18 -3
  567. package/dist/actions/reactivate-accounting-connection.d.cts.map +1 -1
  568. package/dist/actions/reactivate-accounting-connection.d.mts +18 -3
  569. package/dist/actions/reactivate-accounting-connection.d.mts.map +1 -1
  570. package/dist/actions/reactivate-accounting-connection.mjs +7 -7
  571. package/dist/actions/reactivate-accounting-connection.mjs.map +1 -1
  572. package/dist/actions/reactivate-user.cjs +1 -1
  573. package/dist/actions/reactivate-user.cjs.map +1 -1
  574. package/dist/actions/reactivate-user.d.cts +7 -3
  575. package/dist/actions/reactivate-user.d.cts.map +1 -1
  576. package/dist/actions/reactivate-user.d.mts +7 -3
  577. package/dist/actions/reactivate-user.d.mts.map +1 -1
  578. package/dist/actions/reactivate-user.mjs +1 -1
  579. package/dist/actions/reactivate-user.mjs.map +1 -1
  580. package/dist/actions/submit-reimbursement-receipt.cjs +16 -16
  581. package/dist/actions/submit-reimbursement-receipt.cjs.map +1 -1
  582. package/dist/actions/submit-reimbursement-receipt.d.cts +152 -3
  583. package/dist/actions/submit-reimbursement-receipt.d.cts.map +1 -1
  584. package/dist/actions/submit-reimbursement-receipt.d.mts +152 -3
  585. package/dist/actions/submit-reimbursement-receipt.d.mts.map +1 -1
  586. package/dist/actions/submit-reimbursement-receipt.mjs +16 -16
  587. package/dist/actions/submit-reimbursement-receipt.mjs.map +1 -1
  588. package/dist/actions/suspend-card.cjs +1 -1
  589. package/dist/actions/suspend-card.cjs.map +1 -1
  590. package/dist/actions/suspend-card.d.cts +11 -3
  591. package/dist/actions/suspend-card.d.cts.map +1 -1
  592. package/dist/actions/suspend-card.d.mts +11 -3
  593. package/dist/actions/suspend-card.d.mts.map +1 -1
  594. package/dist/actions/suspend-card.mjs +1 -1
  595. package/dist/actions/suspend-card.mjs.map +1 -1
  596. package/dist/actions/terminate-card.cjs +1 -1
  597. package/dist/actions/terminate-card.cjs.map +1 -1
  598. package/dist/actions/terminate-card.d.cts +11 -3
  599. package/dist/actions/terminate-card.d.cts.map +1 -1
  600. package/dist/actions/terminate-card.d.mts +11 -3
  601. package/dist/actions/terminate-card.d.mts.map +1 -1
  602. package/dist/actions/terminate-card.mjs +1 -1
  603. package/dist/actions/terminate-card.mjs.map +1 -1
  604. package/dist/actions/update-accounting-field.cjs +1 -1
  605. package/dist/actions/update-accounting-field.cjs.map +1 -1
  606. package/dist/actions/update-accounting-field.d.cts +38 -3
  607. package/dist/actions/update-accounting-field.d.cts.map +1 -1
  608. package/dist/actions/update-accounting-field.d.mts +38 -3
  609. package/dist/actions/update-accounting-field.d.mts.map +1 -1
  610. package/dist/actions/update-accounting-field.mjs +1 -1
  611. package/dist/actions/update-accounting-field.mjs.map +1 -1
  612. package/dist/actions/update-accounting-inventory-item-options.cjs +6 -6
  613. package/dist/actions/update-accounting-inventory-item-options.cjs.map +1 -1
  614. package/dist/actions/update-accounting-inventory-item-options.d.cts +15 -3
  615. package/dist/actions/update-accounting-inventory-item-options.d.cts.map +1 -1
  616. package/dist/actions/update-accounting-inventory-item-options.d.mts +15 -3
  617. package/dist/actions/update-accounting-inventory-item-options.d.mts.map +1 -1
  618. package/dist/actions/update-accounting-inventory-item-options.mjs +6 -6
  619. package/dist/actions/update-accounting-inventory-item-options.mjs.map +1 -1
  620. package/dist/actions/update-accounting-tax-code-options.cjs +6 -6
  621. package/dist/actions/update-accounting-tax-code-options.cjs.map +1 -1
  622. package/dist/actions/update-accounting-tax-code-options.d.cts +18 -3
  623. package/dist/actions/update-accounting-tax-code-options.d.cts.map +1 -1
  624. package/dist/actions/update-accounting-tax-code-options.d.mts +18 -3
  625. package/dist/actions/update-accounting-tax-code-options.d.mts.map +1 -1
  626. package/dist/actions/update-accounting-tax-code-options.mjs +6 -6
  627. package/dist/actions/update-accounting-tax-code-options.mjs.map +1 -1
  628. package/dist/actions/update-accounting-tax-code.cjs +5 -5
  629. package/dist/actions/update-accounting-tax-code.cjs.map +1 -1
  630. package/dist/actions/update-accounting-tax-code.d.cts +15 -3
  631. package/dist/actions/update-accounting-tax-code.d.cts.map +1 -1
  632. package/dist/actions/update-accounting-tax-code.d.mts +15 -3
  633. package/dist/actions/update-accounting-tax-code.d.mts.map +1 -1
  634. package/dist/actions/update-accounting-tax-code.mjs +5 -5
  635. package/dist/actions/update-accounting-tax-code.mjs.map +1 -1
  636. package/dist/actions/update-accounting-tax-rate.cjs +6 -6
  637. package/dist/actions/update-accounting-tax-rate.cjs.map +1 -1
  638. package/dist/actions/update-accounting-tax-rate.d.cts +20 -3
  639. package/dist/actions/update-accounting-tax-rate.d.cts.map +1 -1
  640. package/dist/actions/update-accounting-tax-rate.d.mts +20 -3
  641. package/dist/actions/update-accounting-tax-rate.d.mts.map +1 -1
  642. package/dist/actions/update-accounting-tax-rate.mjs +6 -6
  643. package/dist/actions/update-accounting-tax-rate.mjs.map +1 -1
  644. package/dist/actions/update-accounting-vendor.cjs +9 -9
  645. package/dist/actions/update-accounting-vendor.cjs.map +1 -1
  646. package/dist/actions/update-accounting-vendor.d.cts +29 -3
  647. package/dist/actions/update-accounting-vendor.d.cts.map +1 -1
  648. package/dist/actions/update-accounting-vendor.d.mts +29 -3
  649. package/dist/actions/update-accounting-vendor.d.mts.map +1 -1
  650. package/dist/actions/update-accounting-vendor.mjs +9 -9
  651. package/dist/actions/update-accounting-vendor.mjs.map +1 -1
  652. package/dist/actions/update-card-limit.cjs +10 -10
  653. package/dist/actions/update-card-limit.cjs.map +1 -1
  654. package/dist/actions/update-card-limit.d.cts +32 -3
  655. package/dist/actions/update-card-limit.d.cts.map +1 -1
  656. package/dist/actions/update-card-limit.d.mts +32 -3
  657. package/dist/actions/update-card-limit.d.mts.map +1 -1
  658. package/dist/actions/update-card-limit.mjs +10 -10
  659. package/dist/actions/update-card-limit.mjs.map +1 -1
  660. package/dist/actions/update-department.cjs +3 -3
  661. package/dist/actions/update-department.cjs.map +1 -1
  662. package/dist/actions/update-department.d.cts +16 -3
  663. package/dist/actions/update-department.d.cts.map +1 -1
  664. package/dist/actions/update-department.d.mts +16 -3
  665. package/dist/actions/update-department.d.mts.map +1 -1
  666. package/dist/actions/update-department.mjs +3 -3
  667. package/dist/actions/update-department.mjs.map +1 -1
  668. package/dist/actions/update-limits.cjs +26 -26
  669. package/dist/actions/update-limits.cjs.map +1 -1
  670. package/dist/actions/update-limits.d.cts +137 -3
  671. package/dist/actions/update-limits.d.cts.map +1 -1
  672. package/dist/actions/update-limits.d.mts +137 -3
  673. package/dist/actions/update-limits.d.mts.map +1 -1
  674. package/dist/actions/update-limits.mjs +26 -26
  675. package/dist/actions/update-limits.mjs.map +1 -1
  676. package/dist/actions/update-user.cjs +1 -1
  677. package/dist/actions/update-user.cjs.map +1 -1
  678. package/dist/actions/update-user.d.cts +33 -3
  679. package/dist/actions/update-user.d.cts.map +1 -1
  680. package/dist/actions/update-user.d.mts +33 -3
  681. package/dist/actions/update-user.d.mts.map +1 -1
  682. package/dist/actions/update-user.mjs +1 -1
  683. package/dist/actions/update-user.mjs.map +1 -1
  684. package/dist/actions/upload-new-options.cjs +7 -7
  685. package/dist/actions/upload-new-options.cjs.map +1 -1
  686. package/dist/actions/upload-new-options.d.cts +34 -3
  687. package/dist/actions/upload-new-options.d.cts.map +1 -1
  688. package/dist/actions/upload-new-options.d.mts +34 -3
  689. package/dist/actions/upload-new-options.d.mts.map +1 -1
  690. package/dist/actions/upload-new-options.mjs +7 -7
  691. package/dist/actions/upload-new-options.mjs.map +1 -1
  692. package/dist/actions/upload-tax-code-options.cjs +8 -8
  693. package/dist/actions/upload-tax-code-options.cjs.map +1 -1
  694. package/dist/actions/upload-tax-code-options.d.cts +25 -3
  695. package/dist/actions/upload-tax-code-options.d.cts.map +1 -1
  696. package/dist/actions/upload-tax-code-options.d.mts +25 -3
  697. package/dist/actions/upload-tax-code-options.d.mts.map +1 -1
  698. package/dist/actions/upload-tax-code-options.mjs +8 -8
  699. package/dist/actions/upload-tax-code-options.mjs.map +1 -1
  700. package/dist/actions/upload-tax-rates.cjs +8 -8
  701. package/dist/actions/upload-tax-rates.cjs.map +1 -1
  702. package/dist/actions/upload-tax-rates.d.cts +28 -3
  703. package/dist/actions/upload-tax-rates.d.cts.map +1 -1
  704. package/dist/actions/upload-tax-rates.d.mts +28 -3
  705. package/dist/actions/upload-tax-rates.d.mts.map +1 -1
  706. package/dist/actions/upload-tax-rates.mjs +8 -8
  707. package/dist/actions/upload-tax-rates.mjs.map +1 -1
  708. package/dist/execute.cjs +1 -1
  709. package/dist/execute.cjs.map +1 -1
  710. package/dist/execute.mjs +1 -1
  711. package/dist/execute.mjs.map +1 -1
  712. package/package.json +2 -2
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-gl-account-resource.d.ts
4
- declare const RampPatchGlAccountResourceInput: z.ZodTypeAny;
5
- declare const RampPatchGlAccountResourceOutput: z.ZodTypeAny;
6
- declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPatchGlAccountResourceInput: z.ZodObject<{
5
+ code: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ reactivate: z.ZodOptional<z.ZodBoolean>;
8
+ gl_account_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RampPatchGlAccountResourceOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ ramp_id: z.ZodNullable<z.ZodString>;
15
+ is_active: z.ZodNullable<z.ZodBoolean>;
16
+ created_at: z.ZodNullable<z.ZodString>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ classification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
21
+ gl_account_category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
+ declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ gl_account_id: string;
29
+ code?: string | undefined;
30
+ name?: string | undefined;
31
+ reactivate?: boolean | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { rampPatchGlAccountResource };
9
35
  //# sourceMappingURL=patch-gl-account-resource.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-gl-account-resource.d.cts","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKqB;AAAA,cAMxD,gCAAA,EAAkC,CAAA,CAAE,UAY6B;AAAA,cAEjE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-gl-account-resource.d.cts","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAchC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,35 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-gl-account-resource.d.ts
4
- declare const RampPatchGlAccountResourceInput: z.ZodTypeAny;
5
- declare const RampPatchGlAccountResourceOutput: z.ZodTypeAny;
6
- declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPatchGlAccountResourceInput: z.ZodObject<{
5
+ code: z.ZodOptional<z.ZodString>;
6
+ name: z.ZodOptional<z.ZodString>;
7
+ reactivate: z.ZodOptional<z.ZodBoolean>;
8
+ gl_account_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const RampPatchGlAccountResourceOutput: z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ ramp_id: z.ZodNullable<z.ZodString>;
15
+ is_active: z.ZodNullable<z.ZodBoolean>;
16
+ created_at: z.ZodNullable<z.ZodString>;
17
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ provider_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ classification: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
21
+ gl_account_category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ ramp_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>;
26
+ }, z.core.$loose>;
27
+ declare const rampPatchGlAccountResource: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ gl_account_id: string;
29
+ code?: string | undefined;
30
+ name?: string | undefined;
31
+ reactivate?: boolean | undefined;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
33
  //#endregion
8
34
  export { rampPatchGlAccountResource };
9
35
  //# sourceMappingURL=patch-gl-account-resource.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-gl-account-resource.d.mts","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKqB;AAAA,cAMxD,gCAAA,EAAkC,CAAA,CAAE,UAY6B;AAAA,cAEjE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-gl-account-resource.d.mts","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAchC,0BAAA,gCAA0B,wBAAA"}
@@ -11,7 +11,7 @@ const RampPatchGlAccountResource_GLAccountCategoryInfoSchema = z.object({
11
11
  id: z.string().describe("Remote/external ID of the category").nullable().optional(),
12
12
  name: z.string().describe("Name of the category").nullable().optional(),
13
13
  ramp_id: z.string().describe("Ramp's internal UUID for the category").nullable().optional()
14
- }).describe("Category information for a general ledger account.");
14
+ }).passthrough().describe("Category information for a general ledger account.");
15
15
  const rampPatchGlAccountResource = action("RAMP_PATCH_GL_ACCOUNT_RESOURCE", {
16
16
  slug: "ramp-patch-gl-account-resource",
17
17
  name: "Update General Ledger Account",
@@ -20,16 +20,16 @@ const rampPatchGlAccountResource = action("RAMP_PATCH_GL_ACCOUNT_RESOURCE", {
20
20
  output: z.object({
21
21
  id: z.string().describe("Remote/external ID of GL account in ERP system").nullable().optional(),
22
22
  code: z.string().describe("Account code (e.g., '1500-UPDATED', '6410', '400-100')").nullable().optional(),
23
- name: z.string().describe("Name of the general ledger account"),
24
- ramp_id: z.string().describe("UUID to uniquely identify a general ledger account within Ramp system"),
25
- is_active: z.boolean().describe("Whether the account is active"),
26
- created_at: z.string().describe("ISO 8601 datetime when the account was created"),
23
+ name: z.string().describe("Name of the general ledger account").nullable(),
24
+ ramp_id: z.string().describe("UUID to uniquely identify a general ledger account within Ramp system").nullable(),
25
+ is_active: z.boolean().describe("Whether the account is active").nullable(),
26
+ created_at: z.string().describe("ISO 8601 datetime when the account was created").nullable(),
27
27
  updated_at: z.string().describe("ISO 8601 datetime when the account was last updated").nullable().optional(),
28
28
  provider_name: z.string().describe("Name of the accounting connection that the GL account is uploaded to (e.g., 'QuickBooks')").nullable().optional(),
29
29
  classification: z.string().describe("Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY, EQUITY)").nullable().optional(),
30
- accounting_connection_id: z.string().describe("UUID of the accounting connection that the GL account is uploaded to"),
30
+ accounting_connection_id: z.string().describe("UUID of the accounting connection that the GL account is uploaded to").nullable(),
31
31
  gl_account_category_info: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional()
32
- }).describe("Response containing the updated general ledger account details.")
32
+ }).passthrough().describe("Response containing the updated general ledger account details.")
33
33
  });
34
34
  //#endregion
35
35
  export { rampPatchGlAccountResource };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-gl-account-resource.mjs","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput: z.ZodTypeAny = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_GLAccountCategoryInfoSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n ramp_id: z.string().describe(\"Ramp's internal UUID for the category\").nullable().optional(),\n}).describe(\"Category information for a general ledger account.\");\nexport const RampPatchGlAccountResourceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of GL account in ERP system\").nullable().optional(),\n code: z.string().describe(\"Account code (e.g., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\"),\n ramp_id: z.string().describe(\"UUID to uniquely identify a general ledger account within Ramp system\"),\n is_active: z.boolean().describe(\"Whether the account is active\"),\n created_at: z.string().describe(\"ISO 8601 datetime when the account was created\"),\n updated_at: z.string().describe(\"ISO 8601 datetime when the account was last updated\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the GL account is uploaded to (e.g., 'QuickBooks')\").nullable().optional(),\n classification: z.string().describe(\"Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY, EQUITY)\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the GL account is uploaded to\"),\n gl_account_category_info: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yDAAuE,EAAE,OAAO;CACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAehE,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B;EAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;EACpH,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-gl-account-resource.mjs","names":[],"sources":["../../src/actions/patch-gl-account-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchGlAccountResourceInput = z.object({\n code: z.string().describe(\"Code of the general ledger account (e.g., '1500-UPDATED', '6410'). Provide an empty string to reset the code.\").optional(),\n name: z.string().describe(\"Name of the general ledger account (e.g., 'Updated Equipment Account', 'Travel : Travel - Lodging')\").optional(),\n reactivate: z.boolean().describe(\"Reactivate a deleted general ledger account. Set to true to reactivate.\").optional(),\n gl_account_id: z.string().describe(\"UUID of the general ledger account to update\"),\n}).describe(\"Request parameters to update a general ledger account.\");\nconst RampPatchGlAccountResource_GLAccountCategoryInfoSchema = z.object({\n id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n name: z.string().describe(\"Name of the category\").nullable().optional(),\n ramp_id: z.string().describe(\"Ramp's internal UUID for the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a general ledger account.\");\nexport const RampPatchGlAccountResourceOutput = z.object({\n id: z.string().describe(\"Remote/external ID of GL account in ERP system\").nullable().optional(),\n code: z.string().describe(\"Account code (e.g., '1500-UPDATED', '6410', '400-100')\").nullable().optional(),\n name: z.string().describe(\"Name of the general ledger account\").nullable(),\n ramp_id: z.string().describe(\"UUID to uniquely identify a general ledger account within Ramp system\").nullable(),\n is_active: z.boolean().describe(\"Whether the account is active\").nullable(),\n created_at: z.string().describe(\"ISO 8601 datetime when the account was created\").nullable(),\n updated_at: z.string().describe(\"ISO 8601 datetime when the account was last updated\").nullable().optional(),\n provider_name: z.string().describe(\"Name of the accounting connection that the GL account is uploaded to (e.g., 'QuickBooks')\").nullable().optional(),\n classification: z.string().describe(\"Account classification (e.g., EXPENSE, REVENUE, ASSET, LIABILITY, EQUITY)\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"UUID of the accounting connection that the GL account is uploaded to\").nullable(),\n gl_account_category_info: RampPatchGlAccountResource_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Response containing the updated general ledger account details.\");\n\nexport const rampPatchGlAccountResource = action(\"RAMP_PATCH_GL_ACCOUNT_RESOURCE\", {\n slug: \"ramp-patch-gl-account-resource\",\n name: \"Update General Ledger Account\",\n description: \"Tool to update a general ledger account in Ramp. Use when you need to modify the name, code, or reactivate a deleted GL account.\",\n input: RampPatchGlAccountResourceInput,\n output: RampPatchGlAccountResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACpJ,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC1I,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACrH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAe9E,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC/H,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
@@ -6,12 +6,12 @@ const RampPatchInventoryItemFieldInput = zod.z.object({
6
6
  display_name: zod.z.string().describe("Display name of the inventory item field on Ramp.").optional()
7
7
  }).describe("Request to update inventory item accounting field.");
8
8
  const RampPatchInventoryItemFieldOutput = zod.z.object({
9
- id: zod.z.string().describe("Remote/external ID of inventory item field from ERP system."),
10
- name: zod.z.string().describe("Name of the inventory item field in the remote ERP system."),
11
- ramp_id: zod.z.string().describe("Unique identifier for the inventory item field within Ramp system."),
9
+ id: zod.z.string().describe("Remote/external ID of inventory item field from ERP system.").nullable(),
10
+ name: zod.z.string().describe("Name of the inventory item field in the remote ERP system.").nullable(),
11
+ ramp_id: zod.z.string().describe("Unique identifier for the inventory item field within Ramp system.").nullable(),
12
12
  display_name: zod.z.string().describe("Display name of the inventory item field on Ramp.").nullable().optional(),
13
- accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item field is associated with.")
14
- }).describe("Response from updating inventory item accounting field.");
13
+ accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the inventory item field is associated with.").nullable()
14
+ }).passthrough().describe("Response from updating inventory item accounting field.");
15
15
  const rampPatchInventoryItemField = require_action.action("RAMP_PATCH_INVENTORY_ITEM_FIELD", {
16
16
  slug: "ramp-patch-inventory-item-field",
17
17
  name: "Update Inventory Item Field",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\"),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\"),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\"),\n}).describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACtF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;AACnI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-inventory-item-field.cjs","names":["z","action"],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-inventory-item-field.d.ts
4
- declare const RampPatchInventoryItemFieldInput: z.ZodTypeAny;
5
- declare const RampPatchInventoryItemFieldOutput: z.ZodTypeAny;
6
- declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPatchInventoryItemFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ display_name: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RampPatchInventoryItemFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ ramp_id: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ display_name?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rampPatchInventoryItemField };
9
21
  //# sourceMappingURL=patch-inventory-item-field.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.d.cts","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAMoB;AAAA,cAEzD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-inventory-item-field.d.cts","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/patch-inventory-item-field.d.ts
4
- declare const RampPatchInventoryItemFieldInput: z.ZodTypeAny;
5
- declare const RampPatchInventoryItemFieldOutput: z.ZodTypeAny;
6
- declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPatchInventoryItemFieldInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ display_name: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const RampPatchInventoryItemFieldOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodString>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ ramp_id: z.ZodNullable<z.ZodString>;
12
+ display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ accounting_connection_id: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const rampPatchInventoryItemField: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ name: string;
17
+ display_name?: string | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { rampPatchInventoryItemField };
9
21
  //# sourceMappingURL=patch-inventory-item-field.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.d.mts","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAGgB;AAAA,cACpD,iCAAA,EAAmC,CAAA,CAAE,UAMoB;AAAA,cAEzD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"patch-inventory-item-field.d.mts","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAQjC,2BAAA,gCAA2B,wBAAA"}
@@ -9,12 +9,12 @@ const rampPatchInventoryItemField = action("RAMP_PATCH_INVENTORY_ITEM_FIELD", {
9
9
  display_name: z.string().describe("Display name of the inventory item field on Ramp.").optional()
10
10
  }).describe("Request to update inventory item accounting field."),
11
11
  output: z.object({
12
- id: z.string().describe("Remote/external ID of inventory item field from ERP system."),
13
- name: z.string().describe("Name of the inventory item field in the remote ERP system."),
14
- ramp_id: z.string().describe("Unique identifier for the inventory item field within Ramp system."),
12
+ id: z.string().describe("Remote/external ID of inventory item field from ERP system.").nullable(),
13
+ name: z.string().describe("Name of the inventory item field in the remote ERP system.").nullable(),
14
+ ramp_id: z.string().describe("Unique identifier for the inventory item field within Ramp system.").nullable(),
15
15
  display_name: z.string().describe("Display name of the inventory item field on Ramp.").nullable().optional(),
16
- accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item field is associated with.")
17
- }).describe("Response from updating inventory item accounting field.")
16
+ accounting_connection_id: z.string().describe("ID of the accounting connection that the inventory item field is associated with.").nullable()
17
+ }).passthrough().describe("Response from updating inventory item accounting field.")
18
18
  });
19
19
  //#endregion
20
20
  export { rampPatchInventoryItemField };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-inventory-item-field.mjs","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\"),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\"),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\"),\n}).describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAb6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACtF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACnI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-inventory-item-field.mjs","names":[],"sources":["../../src/actions/patch-inventory-item-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPatchInventoryItemFieldInput = z.object({\n name: z.string().describe(\"Name of the inventory item field.\"),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").optional(),\n}).describe(\"Request to update inventory item accounting field.\");\nexport const RampPatchInventoryItemFieldOutput = z.object({\n id: z.string().describe(\"Remote/external ID of inventory item field from ERP system.\").nullable(),\n name: z.string().describe(\"Name of the inventory item field in the remote ERP system.\").nullable(),\n ramp_id: z.string().describe(\"Unique identifier for the inventory item field within Ramp system.\").nullable(),\n display_name: z.string().describe(\"Display name of the inventory item field on Ramp.\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the inventory item field is associated with.\").nullable(),\n}).passthrough().describe(\"Response from updating inventory item accounting field.\");\n\nexport const rampPatchInventoryItemField = action(\"RAMP_PATCH_INVENTORY_ITEM_FIELD\", {\n slug: \"ramp-patch-inventory-item-field\",\n name: \"Update Inventory Item Field\",\n description: \"Tool to update the inventory item accounting field for a Ramp connection. Use when you need to modify the name or display name of the inventory item field.\",\n input: RampPatchInventoryItemFieldInput,\n output: RampPatchInventoryItemFieldOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,oDAaH;CACP,QAb+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC5G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -12,28 +12,28 @@ const RampPostAccountingAccountsInput = zod.z.object({ gl_accounts: zod.z.array(
12
12
  "LIABILITY",
13
13
  "EQUITY"
14
14
  ]).describe("Account classification type")
15
- }).describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
15
+ }).passthrough().describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
16
16
  const RampPostAccountingAccounts_GLAccountCategoryInfoSchema = zod.z.object({
17
- ramp_id: zod.z.string().describe("Ramp's unique identifier for the category"),
17
+ ramp_id: zod.z.string().describe("Ramp's unique identifier for the category").nullable(),
18
18
  remote_id: zod.z.string().describe("Remote/external ID of the category").nullable().optional(),
19
19
  remote_name: zod.z.string().describe("Remote/external name of the category").nullable().optional()
20
- }).describe("Category information for a GL account.");
20
+ }).passthrough().describe("Category information for a GL account.");
21
21
  const RampPostAccountingAccounts_GLAccountOutputSchema = zod.z.object({
22
- id: zod.z.string().describe("Remote/external ID of GL account"),
22
+ id: zod.z.string().describe("Remote/external ID of GL account").nullable(),
23
23
  code: zod.z.string().describe("Accounting code for the GL account").nullable().optional(),
24
- name: zod.z.string().describe("Display name of the GL account"),
25
- ramp_id: zod.z.string().describe("Ramp's unique identifier for this GL account"),
26
- is_active: zod.z.boolean().describe("Whether the GL account is active"),
27
- created_at: zod.z.string().describe("Timestamp when the GL account was created (ISO 8601 format)"),
24
+ name: zod.z.string().describe("Display name of the GL account").nullable(),
25
+ ramp_id: zod.z.string().describe("Ramp's unique identifier for this GL account").nullable(),
26
+ is_active: zod.z.boolean().describe("Whether the GL account is active").nullable(),
27
+ created_at: zod.z.string().describe("Timestamp when the GL account was created (ISO 8601 format)").nullable(),
28
28
  updated_at: zod.z.string().describe("Timestamp when the GL account was last updated (ISO 8601 format)").nullable().optional(),
29
- classification: zod.z.string().describe("Account classification type"),
29
+ classification: zod.z.string().describe("Account classification type").nullable(),
30
30
  gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional()
31
- }).describe("A successfully uploaded general ledger account with full details.");
31
+ }).passthrough().describe("A successfully uploaded general ledger account with full details.");
32
32
  const RampPostAccountingAccountsOutput = zod.z.object({
33
33
  uploaded: zod.z.array(zod.z.string()).describe("A list of Ramp UUIDs from the uploaded GL accounts").nullable().optional(),
34
34
  gl_accounts: zod.z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe("A list of general ledger accounts that were successfully uploaded").nullable().optional(),
35
35
  accounting_connection_id: zod.z.string().describe("ID of the accounting connection that the GL accounts are uploaded to").nullable().optional()
36
- }).describe("Response from uploading general ledger accounts.");
36
+ }).passthrough().describe("Response from uploading general ledger accounts.");
37
37
  const rampPostAccountingAccounts = require_action.action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
38
38
  slug: "ramp-post-accounting-accounts",
39
39
  name: "Upload Accounting GL Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput: z.ZodTypeAny = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema: z.ZodTypeAny = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\"),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\"),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\"),\n is_active: z.boolean().describe(\"Whether the GL account is active\"),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\"),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\"),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput: z.ZodTypeAny = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC7O,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACjE,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-accounts.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).passthrough().describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC9B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC3P,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAC7F,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzK,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-accounting-accounts.d.ts
4
- declare const RampPostAccountingAccountsInput: z.ZodTypeAny;
5
- declare const RampPostAccountingAccountsOutput: z.ZodTypeAny;
6
- declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPostAccountingAccountsInput: z.ZodObject<{
5
+ gl_accounts: z.ZodArray<z.ZodObject<{
6
+ id: z.ZodString;
7
+ code: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodString;
9
+ classification: z.ZodEnum<{
10
+ EXPENSE: "EXPENSE";
11
+ REVENUE: "REVENUE";
12
+ ASSET: "ASSET";
13
+ LIABILITY: "LIABILITY";
14
+ EQUITY: "EQUITY";
15
+ }>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$strip>;
18
+ declare const RampPostAccountingAccountsOutput: z.ZodObject<{
19
+ uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ gl_accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodNullable<z.ZodString>;
24
+ ramp_id: z.ZodNullable<z.ZodString>;
25
+ is_active: z.ZodNullable<z.ZodBoolean>;
26
+ created_at: z.ZodNullable<z.ZodString>;
27
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ classification: z.ZodNullable<z.ZodString>;
29
+ gl_account_category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ ramp_id: z.ZodNullable<z.ZodString>;
31
+ remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>>;
35
+ accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>;
37
+ declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ gl_accounts: {
39
+ [x: string]: unknown;
40
+ id: string;
41
+ name: string;
42
+ classification: "EXPENSE" | "REVENUE" | "ASSET" | "LIABILITY" | "EQUITY";
43
+ code?: string | undefined;
44
+ }[];
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { rampPostAccountingAccounts };
9
48
  //# sourceMappingURL=post-accounting-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.d.cts","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiB;AAAA,cAiBpD,gCAAA,EAAkC,CAAA,CAAE,UAIc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-accounting-accounts.d.cts","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAwB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/post-accounting-accounts.d.ts
4
- declare const RampPostAccountingAccountsInput: z.ZodTypeAny;
5
- declare const RampPostAccountingAccountsOutput: z.ZodTypeAny;
6
- declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RampPostAccountingAccountsInput: z.ZodObject<{
5
+ gl_accounts: z.ZodArray<z.ZodObject<{
6
+ id: z.ZodString;
7
+ code: z.ZodOptional<z.ZodString>;
8
+ name: z.ZodString;
9
+ classification: z.ZodEnum<{
10
+ EXPENSE: "EXPENSE";
11
+ REVENUE: "REVENUE";
12
+ ASSET: "ASSET";
13
+ LIABILITY: "LIABILITY";
14
+ EQUITY: "EQUITY";
15
+ }>;
16
+ }, z.core.$loose>>;
17
+ }, z.core.$strip>;
18
+ declare const RampPostAccountingAccountsOutput: z.ZodObject<{
19
+ uploaded: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
20
+ gl_accounts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodString>;
22
+ code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ name: z.ZodNullable<z.ZodString>;
24
+ ramp_id: z.ZodNullable<z.ZodString>;
25
+ is_active: z.ZodNullable<z.ZodBoolean>;
26
+ created_at: z.ZodNullable<z.ZodString>;
27
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ classification: z.ZodNullable<z.ZodString>;
29
+ gl_account_category_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ ramp_id: z.ZodNullable<z.ZodString>;
31
+ remote_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ remote_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ }, z.core.$loose>>>;
34
+ }, z.core.$loose>>>>;
35
+ accounting_connection_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ }, z.core.$loose>;
37
+ declare const rampPostAccountingAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ gl_accounts: {
39
+ [x: string]: unknown;
40
+ id: string;
41
+ name: string;
42
+ classification: "EXPENSE" | "REVENUE" | "ASSET" | "LIABILITY" | "EQUITY";
43
+ code?: string | undefined;
44
+ }[];
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { rampPostAccountingAccounts };
9
48
  //# sourceMappingURL=post-accounting-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.d.mts","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAOiB;AAAA,cAiBpD,gCAAA,EAAkC,CAAA,CAAE,UAIc;AAAA,cAElD,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"post-accounting-accounts.d.mts","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAwB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
@@ -12,23 +12,23 @@ const RampPostAccountingAccountsInput = z.object({ gl_accounts: z.array(z.object
12
12
  "LIABILITY",
13
13
  "EQUITY"
14
14
  ]).describe("Account classification type")
15
- }).describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
15
+ }).passthrough().describe("A general ledger account to be uploaded.")).describe("A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.") }).describe("Request to upload general ledger accounts to Ramp.");
16
16
  const RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({
17
- ramp_id: z.string().describe("Ramp's unique identifier for the category"),
17
+ ramp_id: z.string().describe("Ramp's unique identifier for the category").nullable(),
18
18
  remote_id: z.string().describe("Remote/external ID of the category").nullable().optional(),
19
19
  remote_name: z.string().describe("Remote/external name of the category").nullable().optional()
20
- }).describe("Category information for a GL account.");
20
+ }).passthrough().describe("Category information for a GL account.");
21
21
  const RampPostAccountingAccounts_GLAccountOutputSchema = z.object({
22
- id: z.string().describe("Remote/external ID of GL account"),
22
+ id: z.string().describe("Remote/external ID of GL account").nullable(),
23
23
  code: z.string().describe("Accounting code for the GL account").nullable().optional(),
24
- name: z.string().describe("Display name of the GL account"),
25
- ramp_id: z.string().describe("Ramp's unique identifier for this GL account"),
26
- is_active: z.boolean().describe("Whether the GL account is active"),
27
- created_at: z.string().describe("Timestamp when the GL account was created (ISO 8601 format)"),
24
+ name: z.string().describe("Display name of the GL account").nullable(),
25
+ ramp_id: z.string().describe("Ramp's unique identifier for this GL account").nullable(),
26
+ is_active: z.boolean().describe("Whether the GL account is active").nullable(),
27
+ created_at: z.string().describe("Timestamp when the GL account was created (ISO 8601 format)").nullable(),
28
28
  updated_at: z.string().describe("Timestamp when the GL account was last updated (ISO 8601 format)").nullable().optional(),
29
- classification: z.string().describe("Account classification type"),
29
+ classification: z.string().describe("Account classification type").nullable(),
30
30
  gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional()
31
- }).describe("A successfully uploaded general ledger account with full details.");
31
+ }).passthrough().describe("A successfully uploaded general ledger account with full details.");
32
32
  const rampPostAccountingAccounts = action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
33
33
  slug: "ramp-post-accounting-accounts",
34
34
  name: "Upload Accounting GL Accounts",
@@ -38,7 +38,7 @@ const rampPostAccountingAccounts = action("RAMP_POST_ACCOUNTING_ACCOUNTS", {
38
38
  uploaded: z.array(z.string()).describe("A list of Ramp UUIDs from the uploaded GL accounts").nullable().optional(),
39
39
  gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe("A list of general ledger accounts that were successfully uploaded").nullable().optional(),
40
40
  accounting_connection_id: z.string().describe("ID of the accounting connection that the GL accounts are uploaded to").nullable().optional()
41
- }).describe("Response from uploading general ledger accounts.")
41
+ }).passthrough().describe("Response from uploading general ledger accounts.")
42
42
  });
43
43
  //#endregion
44
44
  export { rampPostAccountingAccounts };
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-accounts.mjs","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput: z.ZodTypeAny = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema: z.ZodTypeAny = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\"),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\"),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\"),\n is_active: z.boolean().describe(\"Whether the GL account is active\"),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\"),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\"),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput: z.ZodTypeAny = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,EAAE,OAAO;CAC9B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgB,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC7O,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAuE,EAAE,OAAO;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC3E,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACjE,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAO/E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX4D,EAAE,OAAO;EACrE,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-accounts.mjs","names":[],"sources":["../../src/actions/post-accounting-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingAccountsInput = z.object({\n gl_accounts: z.array(z.object({\n id: z.string().describe(\"Unique identifier for the GL account (from your ERP system)\"),\n code: z.string().describe(\"Accounting code for the GL account\").optional(),\n name: z.string().describe(\"Display name of the GL account\"),\n classification: z.enum([\"EXPENSE\", \"REVENUE\", \"ASSET\", \"LIABILITY\", \"EQUITY\"]).describe(\"Account classification type\"),\n}).passthrough().describe(\"A general ledger account to be uploaded.\")).describe(\"A list of general ledger accounts to upload. Maximum 500 accounts per API call. All-or-nothing validation: if any account fails validation, the entire batch is rejected.\"),\n}).describe(\"Request to upload general ledger accounts to Ramp.\");\nconst RampPostAccountingAccounts_GLAccountCategoryInfoSchema = z.object({\n ramp_id: z.string().describe(\"Ramp's unique identifier for the category\").nullable(),\n remote_id: z.string().describe(\"Remote/external ID of the category\").nullable().optional(),\n remote_name: z.string().describe(\"Remote/external name of the category\").nullable().optional(),\n}).passthrough().describe(\"Category information for a GL account.\");\nconst RampPostAccountingAccounts_GLAccountOutputSchema = z.object({\n id: z.string().describe(\"Remote/external ID of GL account\").nullable(),\n code: z.string().describe(\"Accounting code for the GL account\").nullable().optional(),\n name: z.string().describe(\"Display name of the GL account\").nullable(),\n ramp_id: z.string().describe(\"Ramp's unique identifier for this GL account\").nullable(),\n is_active: z.boolean().describe(\"Whether the GL account is active\").nullable(),\n created_at: z.string().describe(\"Timestamp when the GL account was created (ISO 8601 format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the GL account was last updated (ISO 8601 format)\").nullable().optional(),\n classification: z.string().describe(\"Account classification type\").nullable(),\n gl_account_category_info: RampPostAccountingAccounts_GLAccountCategoryInfoSchema.nullable().optional(),\n}).passthrough().describe(\"A successfully uploaded general ledger account with full details.\");\nexport const RampPostAccountingAccountsOutput = z.object({\n uploaded: z.array(z.string()).describe(\"A list of Ramp UUIDs from the uploaded GL accounts\").nullable().optional(),\n gl_accounts: z.array(RampPostAccountingAccounts_GLAccountOutputSchema).describe(\"A list of general ledger accounts that were successfully uploaded\").nullable().optional(),\n accounting_connection_id: z.string().describe(\"ID of the accounting connection that the GL accounts are uploaded to\").nullable().optional(),\n}).passthrough().describe(\"Response from uploading general ledger accounts.\");\n\nexport const rampPostAccountingAccounts = action(\"RAMP_POST_ACCOUNTING_ACCOUNTS\", {\n slug: \"ramp-post-accounting-accounts\",\n name: \"Upload Accounting GL Accounts\",\n description: \"Tool to batch upload general ledger accounts to Ramp. Supports up to 500 accounts per call with all-or-nothing validation. Use when you need to create GL accounts in Ramp's accounting system.\",\n input: RampPostAccountingAccountsInput,\n output: RampPostAccountingAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,aAAa,EAAE,MAAM,EAAE,OAAO;CAC9B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,gBAAgB,EAAE,KAAK;EAAC;EAAW;EAAW;EAAS;EAAa;CAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,CAAC,SAAS,2KAA2K,EAC3P,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yDAAyD,EAAE,OAAO;CACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAC5E,0BAA0B,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAO7F,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX8C,EAAE,OAAO;EACvD,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,aAAa,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -6,17 +6,17 @@ const RampPostAccountingConnectionInput = zod.z.object({
6
6
  reactivate: zod.z.boolean().describe("Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead").optional(),
7
7
  remote_provider_name: zod.z.string().describe("The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)")
8
8
  });
9
- const RampPostAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() });
9
+ const RampPostAccountingConnection_AccountingConnectionSettingsSchema = zod.z.object({ vendor_credits_enabled: zod.z.boolean().describe("Whether vendor credits are enabled for this connection").nullable().optional() }).passthrough();
10
10
  const RampPostAccountingConnectionOutput = zod.z.object({
11
- id: zod.z.string().describe("Unique identifier for the accounting connection in UUID format"),
12
- status: zod.z.string().describe("The current status of the accounting connection (e.g., LINKED, UNLINKED)"),
11
+ id: zod.z.string().describe("Unique identifier for the accounting connection in UUID format").nullable(),
12
+ status: zod.z.string().describe("The current status of the accounting connection (e.g., LINKED, UNLINKED)").nullable(),
13
13
  settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),
14
- is_active: zod.z.boolean().describe("Whether the accounting connection is currently active"),
15
- created_at: zod.z.string().describe("The date and time the accounting connection was created in ISO 8601 format"),
14
+ is_active: zod.z.boolean().describe("Whether the accounting connection is currently active").nullable(),
15
+ created_at: zod.z.string().describe("The date and time the accounting connection was created in ISO 8601 format").nullable(),
16
16
  last_linked_at: zod.z.string().describe("The date and time the accounting connection was last connected in ISO 8601 format").nullable().optional(),
17
- connection_type: zod.z.string().describe("The type of the accounting connection (e.g., API, CSV)"),
17
+ connection_type: zod.z.string().describe("The type of the accounting connection (e.g., API, CSV)").nullable(),
18
18
  remote_provider_name: zod.z.string().describe("The name of the remote accounting provider (e.g., QuickBooks, NetSuite)").nullable().optional()
19
- });
19
+ }).passthrough();
20
20
  const rampPostAccountingConnection = require_action.action("RAMP_POST_ACCOUNTING_CONNECTION", {
21
21
  slug: "ramp-post-accounting-connection",
22
22
  name: "Create Accounting Connection",
@@ -1 +1 @@
1
- {"version":3,"file":"post-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput: z.ZodTypeAny = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema: z.ZodTypeAny = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n});\nexport const RampPostAccountingConnectionOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\"),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\"),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\"),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\"),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\"),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n});\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,UAAUA,IAAAA,EAAE,OAAO,EACnB,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAgFA,IAAAA,EAAE,OAAO,EAC7F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACtG,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC5G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAC7F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"post-accounting-connection.cjs","names":["z","action"],"sources":["../../src/actions/post-accounting-connection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RampPostAccountingConnectionInput = z.object({\n settings: z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").optional(),\n}).describe(\"Connection settings for API-based accounting connections. Applies only to API-based connections\").optional(),\n reactivate: z.boolean().describe(\"Deprecated parameter. Use POST accounting/connection/<connection_id>/reactivate instead\").optional(),\n remote_provider_name: z.string().describe(\"The name of the accounting provider to connect to (e.g., QUICKBOOKS, NETSUITE, XERO, ACCOUNTING_SEED)\"),\n});\nconst RampPostAccountingConnection_AccountingConnectionSettingsSchema = z.object({\n vendor_credits_enabled: z.boolean().describe(\"Whether vendor credits are enabled for this connection\").nullable().optional(),\n}).passthrough();\nexport const RampPostAccountingConnectionOutput = z.object({\n id: z.string().describe(\"Unique identifier for the accounting connection in UUID format\").nullable(),\n status: z.string().describe(\"The current status of the accounting connection (e.g., LINKED, UNLINKED)\").nullable(),\n settings: RampPostAccountingConnection_AccountingConnectionSettingsSchema.nullable().optional(),\n is_active: z.boolean().describe(\"Whether the accounting connection is currently active\").nullable(),\n created_at: z.string().describe(\"The date and time the accounting connection was created in ISO 8601 format\").nullable(),\n last_linked_at: z.string().describe(\"The date and time the accounting connection was last connected in ISO 8601 format\").nullable().optional(),\n connection_type: z.string().describe(\"The type of the accounting connection (e.g., API, CSV)\").nullable(),\n remote_provider_name: z.string().describe(\"The name of the remote accounting provider (e.g., QuickBooks, NetSuite)\").nullable().optional(),\n}).passthrough();\n\nexport const rampPostAccountingConnection = action(\"RAMP_POST_ACCOUNTING_CONNECTION\", {\n slug: \"ramp-post-accounting-connection\",\n name: \"Create Accounting Connection\",\n description: \"Tool to register a new API-based accounting connection between Ramp and an accounting provider. Use when establishing a new connection to accounting systems like QuickBooks, NetSuite, or Xero. If a Universal CSV connection exists, it will be upgraded to an API-based connection.\",\n input: RampPostAccountingConnectionInput,\n output: RampPostAccountingConnectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,EACnB,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,EAClH,CAAC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACrI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;AACnJ,CAAC;AACD,MAAM,kEAAkEA,IAAAA,EAAE,OAAO,EAC/E,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CACjH,UAAU,gEAAgE,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACvH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACxG,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}