@keystrokehq/quaderno 0.1.2 → 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 (471) hide show
  1. package/dist/actions/add-expense-payment.cjs +1 -1
  2. package/dist/actions/add-expense-payment.cjs.map +1 -1
  3. package/dist/actions/add-expense-payment.d.cts +1 -1
  4. package/dist/actions/add-expense-payment.d.mts +1 -1
  5. package/dist/actions/add-expense-payment.mjs +1 -1
  6. package/dist/actions/add-expense-payment.mjs.map +1 -1
  7. package/dist/actions/calculate-tax-rate.cjs +1 -1
  8. package/dist/actions/calculate-tax-rate.cjs.map +1 -1
  9. package/dist/actions/calculate-tax-rate.d.cts +1 -1
  10. package/dist/actions/calculate-tax-rate.d.mts +1 -1
  11. package/dist/actions/calculate-tax-rate.mjs +1 -1
  12. package/dist/actions/calculate-tax-rate.mjs.map +1 -1
  13. package/dist/actions/create-contact.cjs +1 -1
  14. package/dist/actions/create-contact.cjs.map +1 -1
  15. package/dist/actions/create-contact.d.cts +1 -1
  16. package/dist/actions/create-contact.d.mts +1 -1
  17. package/dist/actions/create-contact.mjs +1 -1
  18. package/dist/actions/create-contact.mjs.map +1 -1
  19. package/dist/actions/create-coupon.cjs +1 -1
  20. package/dist/actions/create-coupon.cjs.map +1 -1
  21. package/dist/actions/create-coupon.d.cts +1 -1
  22. package/dist/actions/create-coupon.d.mts +1 -1
  23. package/dist/actions/create-coupon.mjs +1 -1
  24. package/dist/actions/create-coupon.mjs.map +1 -1
  25. package/dist/actions/create-estimate.cjs +3 -3
  26. package/dist/actions/create-estimate.cjs.map +1 -1
  27. package/dist/actions/create-estimate.d.cts +3 -3
  28. package/dist/actions/create-estimate.d.mts +3 -3
  29. package/dist/actions/create-estimate.mjs +3 -3
  30. package/dist/actions/create-estimate.mjs.map +1 -1
  31. package/dist/actions/create-evidence.cjs +1 -1
  32. package/dist/actions/create-evidence.cjs.map +1 -1
  33. package/dist/actions/create-evidence.d.cts +1 -1
  34. package/dist/actions/create-evidence.d.mts +1 -1
  35. package/dist/actions/create-evidence.mjs +1 -1
  36. package/dist/actions/create-evidence.mjs.map +1 -1
  37. package/dist/actions/create-expense.cjs +13 -13
  38. package/dist/actions/create-expense.cjs.map +1 -1
  39. package/dist/actions/create-expense.d.cts +18 -15
  40. package/dist/actions/create-expense.d.mts +18 -15
  41. package/dist/actions/create-expense.mjs +13 -13
  42. package/dist/actions/create-expense.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +8 -8
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +8 -8
  46. package/dist/actions/create-invoice.d.mts +8 -8
  47. package/dist/actions/create-invoice.mjs +8 -8
  48. package/dist/actions/create-invoice.mjs.map +1 -1
  49. package/dist/actions/create-product.cjs +1 -1
  50. package/dist/actions/create-product.cjs.map +1 -1
  51. package/dist/actions/create-product.d.cts +1 -1
  52. package/dist/actions/create-product.d.mts +1 -1
  53. package/dist/actions/create-product.mjs +1 -1
  54. package/dist/actions/create-product.mjs.map +1 -1
  55. package/dist/actions/create-receipt.cjs +9 -9
  56. package/dist/actions/create-receipt.cjs.map +1 -1
  57. package/dist/actions/create-receipt.d.cts +9 -9
  58. package/dist/actions/create-receipt.d.mts +9 -9
  59. package/dist/actions/create-receipt.mjs +9 -9
  60. package/dist/actions/create-receipt.mjs.map +1 -1
  61. package/dist/actions/create-recurring.cjs +4 -4
  62. package/dist/actions/create-recurring.cjs.map +1 -1
  63. package/dist/actions/create-recurring.d.cts +4 -4
  64. package/dist/actions/create-recurring.d.mts +4 -4
  65. package/dist/actions/create-recurring.mjs +4 -4
  66. package/dist/actions/create-recurring.mjs.map +1 -1
  67. package/dist/actions/create-report-request.cjs +1 -1
  68. package/dist/actions/create-report-request.cjs.map +1 -1
  69. package/dist/actions/create-report-request.d.cts +1 -1
  70. package/dist/actions/create-report-request.d.mts +1 -1
  71. package/dist/actions/create-report-request.mjs +1 -1
  72. package/dist/actions/create-report-request.mjs.map +1 -1
  73. package/dist/actions/create-tax-id.cjs +2 -2
  74. package/dist/actions/create-tax-id.cjs.map +1 -1
  75. package/dist/actions/create-tax-id.d.cts +2 -2
  76. package/dist/actions/create-tax-id.d.mts +2 -2
  77. package/dist/actions/create-tax-id.mjs +2 -2
  78. package/dist/actions/create-tax-id.mjs.map +1 -1
  79. package/dist/actions/create-transaction.cjs +6 -6
  80. package/dist/actions/create-transaction.cjs.map +1 -1
  81. package/dist/actions/create-transaction.d.cts +7 -6
  82. package/dist/actions/create-transaction.d.mts +7 -6
  83. package/dist/actions/create-transaction.mjs +6 -6
  84. package/dist/actions/create-transaction.mjs.map +1 -1
  85. package/dist/actions/create-webhook.cjs +1 -1
  86. package/dist/actions/create-webhook.cjs.map +1 -1
  87. package/dist/actions/create-webhook.d.cts +1 -1
  88. package/dist/actions/create-webhook.d.mts +1 -1
  89. package/dist/actions/create-webhook.mjs +1 -1
  90. package/dist/actions/create-webhook.mjs.map +1 -1
  91. package/dist/actions/delete-contact.cjs +1 -1
  92. package/dist/actions/delete-contact.cjs.map +1 -1
  93. package/dist/actions/delete-contact.d.cts +1 -1
  94. package/dist/actions/delete-contact.d.cts.map +1 -1
  95. package/dist/actions/delete-contact.d.mts +1 -1
  96. package/dist/actions/delete-contact.d.mts.map +1 -1
  97. package/dist/actions/delete-contact.mjs +1 -1
  98. package/dist/actions/delete-contact.mjs.map +1 -1
  99. package/dist/actions/delete-coupon.cjs +1 -1
  100. package/dist/actions/delete-coupon.cjs.map +1 -1
  101. package/dist/actions/delete-coupon.d.cts +1 -1
  102. package/dist/actions/delete-coupon.d.cts.map +1 -1
  103. package/dist/actions/delete-coupon.d.mts +1 -1
  104. package/dist/actions/delete-coupon.d.mts.map +1 -1
  105. package/dist/actions/delete-coupon.mjs +1 -1
  106. package/dist/actions/delete-coupon.mjs.map +1 -1
  107. package/dist/actions/delete-estimate.cjs +1 -1
  108. package/dist/actions/delete-estimate.cjs.map +1 -1
  109. package/dist/actions/delete-estimate.d.cts +1 -1
  110. package/dist/actions/delete-estimate.d.cts.map +1 -1
  111. package/dist/actions/delete-estimate.d.mts +1 -1
  112. package/dist/actions/delete-estimate.d.mts.map +1 -1
  113. package/dist/actions/delete-estimate.mjs +1 -1
  114. package/dist/actions/delete-estimate.mjs.map +1 -1
  115. package/dist/actions/delete-expense.cjs +1 -1
  116. package/dist/actions/delete-expense.cjs.map +1 -1
  117. package/dist/actions/delete-expense.d.cts +1 -1
  118. package/dist/actions/delete-expense.d.cts.map +1 -1
  119. package/dist/actions/delete-expense.d.mts +1 -1
  120. package/dist/actions/delete-expense.d.mts.map +1 -1
  121. package/dist/actions/delete-expense.mjs +1 -1
  122. package/dist/actions/delete-expense.mjs.map +1 -1
  123. package/dist/actions/delete-product.cjs +1 -1
  124. package/dist/actions/delete-product.cjs.map +1 -1
  125. package/dist/actions/delete-product.d.cts +1 -1
  126. package/dist/actions/delete-product.d.cts.map +1 -1
  127. package/dist/actions/delete-product.d.mts +1 -1
  128. package/dist/actions/delete-product.d.mts.map +1 -1
  129. package/dist/actions/delete-product.mjs +1 -1
  130. package/dist/actions/delete-product.mjs.map +1 -1
  131. package/dist/actions/delete-recurring.cjs +1 -1
  132. package/dist/actions/delete-recurring.cjs.map +1 -1
  133. package/dist/actions/delete-recurring.d.cts +1 -1
  134. package/dist/actions/delete-recurring.d.cts.map +1 -1
  135. package/dist/actions/delete-recurring.d.mts +1 -1
  136. package/dist/actions/delete-recurring.d.mts.map +1 -1
  137. package/dist/actions/delete-recurring.mjs +1 -1
  138. package/dist/actions/delete-recurring.mjs.map +1 -1
  139. package/dist/actions/delete-tax-id.cjs +1 -1
  140. package/dist/actions/delete-tax-id.cjs.map +1 -1
  141. package/dist/actions/delete-tax-id.d.cts +1 -1
  142. package/dist/actions/delete-tax-id.d.cts.map +1 -1
  143. package/dist/actions/delete-tax-id.d.mts +1 -1
  144. package/dist/actions/delete-tax-id.d.mts.map +1 -1
  145. package/dist/actions/delete-tax-id.mjs +1 -1
  146. package/dist/actions/delete-tax-id.mjs.map +1 -1
  147. package/dist/actions/delete-webhook.cjs +1 -1
  148. package/dist/actions/delete-webhook.cjs.map +1 -1
  149. package/dist/actions/delete-webhook.d.cts +1 -1
  150. package/dist/actions/delete-webhook.d.cts.map +1 -1
  151. package/dist/actions/delete-webhook.d.mts +1 -1
  152. package/dist/actions/delete-webhook.d.mts.map +1 -1
  153. package/dist/actions/delete-webhook.mjs +1 -1
  154. package/dist/actions/delete-webhook.mjs.map +1 -1
  155. package/dist/actions/deliver-credit-note.cjs +1 -1
  156. package/dist/actions/deliver-credit-note.cjs.map +1 -1
  157. package/dist/actions/deliver-credit-note.d.cts +1 -1
  158. package/dist/actions/deliver-credit-note.d.mts +1 -1
  159. package/dist/actions/deliver-credit-note.mjs +1 -1
  160. package/dist/actions/deliver-credit-note.mjs.map +1 -1
  161. package/dist/actions/deliver-estimate.cjs +1 -1
  162. package/dist/actions/deliver-estimate.cjs.map +1 -1
  163. package/dist/actions/deliver-estimate.d.cts +1 -1
  164. package/dist/actions/deliver-estimate.d.mts +1 -1
  165. package/dist/actions/deliver-estimate.mjs +1 -1
  166. package/dist/actions/deliver-estimate.mjs.map +1 -1
  167. package/dist/actions/deliver-invoice.cjs +1 -1
  168. package/dist/actions/deliver-invoice.cjs.map +1 -1
  169. package/dist/actions/deliver-invoice.d.cts +1 -1
  170. package/dist/actions/deliver-invoice.d.mts +1 -1
  171. package/dist/actions/deliver-invoice.mjs +1 -1
  172. package/dist/actions/deliver-invoice.mjs.map +1 -1
  173. package/dist/actions/deliver-receipt.cjs +1 -1
  174. package/dist/actions/deliver-receipt.cjs.map +1 -1
  175. package/dist/actions/deliver-receipt.d.cts +1 -1
  176. package/dist/actions/deliver-receipt.d.mts +1 -1
  177. package/dist/actions/deliver-receipt.mjs +1 -1
  178. package/dist/actions/deliver-receipt.mjs.map +1 -1
  179. package/dist/actions/get-authorization.cjs +1 -1
  180. package/dist/actions/get-authorization.cjs.map +1 -1
  181. package/dist/actions/get-authorization.d.cts +1 -1
  182. package/dist/actions/get-authorization.d.mts +1 -1
  183. package/dist/actions/get-authorization.mjs +1 -1
  184. package/dist/actions/get-authorization.mjs.map +1 -1
  185. package/dist/actions/get-estimate.cjs +2 -2
  186. package/dist/actions/get-estimate.cjs.map +1 -1
  187. package/dist/actions/get-estimate.d.cts +2 -2
  188. package/dist/actions/get-estimate.d.mts +2 -2
  189. package/dist/actions/get-estimate.mjs +2 -2
  190. package/dist/actions/get-estimate.mjs.map +1 -1
  191. package/dist/actions/list-contacts.cjs +2 -2
  192. package/dist/actions/list-contacts.cjs.map +1 -1
  193. package/dist/actions/list-contacts.d.cts +2 -2
  194. package/dist/actions/list-contacts.d.mts +2 -2
  195. package/dist/actions/list-contacts.mjs +2 -2
  196. package/dist/actions/list-contacts.mjs.map +1 -1
  197. package/dist/actions/list-coupons.cjs +2 -2
  198. package/dist/actions/list-coupons.cjs.map +1 -1
  199. package/dist/actions/list-coupons.d.cts +2 -2
  200. package/dist/actions/list-coupons.d.mts +2 -2
  201. package/dist/actions/list-coupons.mjs +2 -2
  202. package/dist/actions/list-coupons.mjs.map +1 -1
  203. package/dist/actions/list-credits.cjs +5 -5
  204. package/dist/actions/list-credits.cjs.map +1 -1
  205. package/dist/actions/list-credits.d.cts +5 -5
  206. package/dist/actions/list-credits.d.mts +5 -5
  207. package/dist/actions/list-credits.mjs +5 -5
  208. package/dist/actions/list-credits.mjs.map +1 -1
  209. package/dist/actions/list-estimates.cjs +5 -5
  210. package/dist/actions/list-estimates.cjs.map +1 -1
  211. package/dist/actions/list-estimates.d.cts +5 -5
  212. package/dist/actions/list-estimates.d.mts +5 -5
  213. package/dist/actions/list-estimates.mjs +5 -5
  214. package/dist/actions/list-estimates.mjs.map +1 -1
  215. package/dist/actions/list-evidence.cjs +2 -2
  216. package/dist/actions/list-evidence.cjs.map +1 -1
  217. package/dist/actions/list-evidence.d.cts +2 -2
  218. package/dist/actions/list-evidence.d.mts +2 -2
  219. package/dist/actions/list-evidence.mjs +2 -2
  220. package/dist/actions/list-evidence.mjs.map +1 -1
  221. package/dist/actions/list-expenses.cjs +5 -5
  222. package/dist/actions/list-expenses.cjs.map +1 -1
  223. package/dist/actions/list-expenses.d.cts +5 -5
  224. package/dist/actions/list-expenses.d.mts +5 -5
  225. package/dist/actions/list-expenses.mjs +5 -5
  226. package/dist/actions/list-expenses.mjs.map +1 -1
  227. package/dist/actions/list-invoices.cjs +9 -9
  228. package/dist/actions/list-invoices.cjs.map +1 -1
  229. package/dist/actions/list-invoices.d.cts +9 -9
  230. package/dist/actions/list-invoices.d.mts +9 -9
  231. package/dist/actions/list-invoices.mjs +9 -9
  232. package/dist/actions/list-invoices.mjs.map +1 -1
  233. package/dist/actions/list-jurisdictions.cjs +2 -2
  234. package/dist/actions/list-jurisdictions.cjs.map +1 -1
  235. package/dist/actions/list-jurisdictions.d.cts +2 -2
  236. package/dist/actions/list-jurisdictions.d.mts +2 -2
  237. package/dist/actions/list-jurisdictions.mjs +2 -2
  238. package/dist/actions/list-jurisdictions.mjs.map +1 -1
  239. package/dist/actions/list-products.cjs +2 -2
  240. package/dist/actions/list-products.cjs.map +1 -1
  241. package/dist/actions/list-products.d.cts +2 -2
  242. package/dist/actions/list-products.d.mts +2 -2
  243. package/dist/actions/list-products.mjs +2 -2
  244. package/dist/actions/list-products.mjs.map +1 -1
  245. package/dist/actions/list-receipts.cjs +7 -7
  246. package/dist/actions/list-receipts.cjs.map +1 -1
  247. package/dist/actions/list-receipts.d.cts +7 -7
  248. package/dist/actions/list-receipts.d.mts +7 -7
  249. package/dist/actions/list-receipts.mjs +7 -7
  250. package/dist/actions/list-receipts.mjs.map +1 -1
  251. package/dist/actions/list-recurrings.cjs +7 -7
  252. package/dist/actions/list-recurrings.cjs.map +1 -1
  253. package/dist/actions/list-recurrings.d.cts +7 -7
  254. package/dist/actions/list-recurrings.d.mts +7 -7
  255. package/dist/actions/list-recurrings.mjs +7 -7
  256. package/dist/actions/list-recurrings.mjs.map +1 -1
  257. package/dist/actions/list-registered-tax-i-ds.cjs +3 -3
  258. package/dist/actions/list-registered-tax-i-ds.cjs.map +1 -1
  259. package/dist/actions/list-registered-tax-i-ds.d.cts +3 -3
  260. package/dist/actions/list-registered-tax-i-ds.d.mts +3 -3
  261. package/dist/actions/list-registered-tax-i-ds.mjs +3 -3
  262. package/dist/actions/list-registered-tax-i-ds.mjs.map +1 -1
  263. package/dist/actions/list-reporting-requests.cjs +3 -3
  264. package/dist/actions/list-reporting-requests.cjs.map +1 -1
  265. package/dist/actions/list-reporting-requests.d.cts +3 -3
  266. package/dist/actions/list-reporting-requests.d.mts +3 -3
  267. package/dist/actions/list-reporting-requests.mjs +3 -3
  268. package/dist/actions/list-reporting-requests.mjs.map +1 -1
  269. package/dist/actions/list-sessions.cjs +5 -5
  270. package/dist/actions/list-sessions.cjs.map +1 -1
  271. package/dist/actions/list-sessions.d.cts +5 -5
  272. package/dist/actions/list-sessions.d.mts +5 -5
  273. package/dist/actions/list-sessions.mjs +5 -5
  274. package/dist/actions/list-sessions.mjs.map +1 -1
  275. package/dist/actions/list-tax-codes.cjs +2 -2
  276. package/dist/actions/list-tax-codes.cjs.map +1 -1
  277. package/dist/actions/list-tax-codes.d.cts +2 -2
  278. package/dist/actions/list-tax-codes.d.mts +2 -2
  279. package/dist/actions/list-tax-codes.mjs +2 -2
  280. package/dist/actions/list-tax-codes.mjs.map +1 -1
  281. package/dist/actions/list-webhooks.cjs +2 -2
  282. package/dist/actions/list-webhooks.cjs.map +1 -1
  283. package/dist/actions/list-webhooks.d.cts +2 -2
  284. package/dist/actions/list-webhooks.d.mts +2 -2
  285. package/dist/actions/list-webhooks.mjs +2 -2
  286. package/dist/actions/list-webhooks.mjs.map +1 -1
  287. package/dist/actions/mark-invoice-uncollectible.cjs +10 -10
  288. package/dist/actions/mark-invoice-uncollectible.cjs.map +1 -1
  289. package/dist/actions/mark-invoice-uncollectible.d.cts +10 -10
  290. package/dist/actions/mark-invoice-uncollectible.d.mts +10 -10
  291. package/dist/actions/mark-invoice-uncollectible.mjs +10 -10
  292. package/dist/actions/mark-invoice-uncollectible.mjs.map +1 -1
  293. package/dist/actions/ping.cjs +1 -1
  294. package/dist/actions/ping.cjs.map +1 -1
  295. package/dist/actions/ping.d.cts +1 -1
  296. package/dist/actions/ping.d.mts +1 -1
  297. package/dist/actions/ping.mjs +1 -1
  298. package/dist/actions/ping.mjs.map +1 -1
  299. package/dist/actions/record-invoice-payment.cjs +1 -1
  300. package/dist/actions/record-invoice-payment.cjs.map +1 -1
  301. package/dist/actions/record-invoice-payment.d.cts +1 -1
  302. package/dist/actions/record-invoice-payment.d.mts +1 -1
  303. package/dist/actions/record-invoice-payment.mjs +1 -1
  304. package/dist/actions/record-invoice-payment.mjs.map +1 -1
  305. package/dist/actions/remove-invoice-payment.cjs +1 -1
  306. package/dist/actions/remove-invoice-payment.cjs.map +1 -1
  307. package/dist/actions/remove-invoice-payment.d.cts +1 -1
  308. package/dist/actions/remove-invoice-payment.d.cts.map +1 -1
  309. package/dist/actions/remove-invoice-payment.d.mts +1 -1
  310. package/dist/actions/remove-invoice-payment.d.mts.map +1 -1
  311. package/dist/actions/remove-invoice-payment.mjs +1 -1
  312. package/dist/actions/remove-invoice-payment.mjs.map +1 -1
  313. package/dist/actions/retrieve-contact-by-processor-id.cjs +1 -1
  314. package/dist/actions/retrieve-contact-by-processor-id.cjs.map +1 -1
  315. package/dist/actions/retrieve-contact-by-processor-id.d.cts +1 -1
  316. package/dist/actions/retrieve-contact-by-processor-id.d.mts +1 -1
  317. package/dist/actions/retrieve-contact-by-processor-id.mjs +1 -1
  318. package/dist/actions/retrieve-contact-by-processor-id.mjs.map +1 -1
  319. package/dist/actions/retrieve-contact.cjs +1 -1
  320. package/dist/actions/retrieve-contact.cjs.map +1 -1
  321. package/dist/actions/retrieve-contact.d.cts +1 -1
  322. package/dist/actions/retrieve-contact.d.mts +1 -1
  323. package/dist/actions/retrieve-contact.mjs +1 -1
  324. package/dist/actions/retrieve-contact.mjs.map +1 -1
  325. package/dist/actions/retrieve-coupon.cjs +1 -1
  326. package/dist/actions/retrieve-coupon.cjs.map +1 -1
  327. package/dist/actions/retrieve-coupon.d.cts +1 -1
  328. package/dist/actions/retrieve-coupon.d.mts +1 -1
  329. package/dist/actions/retrieve-coupon.mjs +1 -1
  330. package/dist/actions/retrieve-coupon.mjs.map +1 -1
  331. package/dist/actions/retrieve-credit.cjs +4 -4
  332. package/dist/actions/retrieve-credit.cjs.map +1 -1
  333. package/dist/actions/retrieve-credit.d.cts +4 -4
  334. package/dist/actions/retrieve-credit.d.mts +4 -4
  335. package/dist/actions/retrieve-credit.mjs +4 -4
  336. package/dist/actions/retrieve-credit.mjs.map +1 -1
  337. package/dist/actions/retrieve-evidence.cjs +1 -1
  338. package/dist/actions/retrieve-evidence.cjs.map +1 -1
  339. package/dist/actions/retrieve-evidence.d.cts +1 -1
  340. package/dist/actions/retrieve-evidence.d.mts +1 -1
  341. package/dist/actions/retrieve-evidence.mjs +1 -1
  342. package/dist/actions/retrieve-evidence.mjs.map +1 -1
  343. package/dist/actions/retrieve-expense.cjs +6 -6
  344. package/dist/actions/retrieve-expense.cjs.map +1 -1
  345. package/dist/actions/retrieve-expense.d.cts +6 -6
  346. package/dist/actions/retrieve-expense.d.mts +6 -6
  347. package/dist/actions/retrieve-expense.mjs +6 -6
  348. package/dist/actions/retrieve-expense.mjs.map +1 -1
  349. package/dist/actions/retrieve-invoice.cjs +2 -2
  350. package/dist/actions/retrieve-invoice.cjs.map +1 -1
  351. package/dist/actions/retrieve-invoice.d.cts +2 -2
  352. package/dist/actions/retrieve-invoice.d.mts +2 -2
  353. package/dist/actions/retrieve-invoice.mjs +2 -2
  354. package/dist/actions/retrieve-invoice.mjs.map +1 -1
  355. package/dist/actions/retrieve-jurisdiction.cjs +1 -1
  356. package/dist/actions/retrieve-jurisdiction.cjs.map +1 -1
  357. package/dist/actions/retrieve-jurisdiction.d.cts +1 -1
  358. package/dist/actions/retrieve-jurisdiction.d.mts +1 -1
  359. package/dist/actions/retrieve-jurisdiction.mjs +1 -1
  360. package/dist/actions/retrieve-jurisdiction.mjs.map +1 -1
  361. package/dist/actions/retrieve-product.cjs +1 -1
  362. package/dist/actions/retrieve-product.cjs.map +1 -1
  363. package/dist/actions/retrieve-product.d.cts +1 -1
  364. package/dist/actions/retrieve-product.d.mts +1 -1
  365. package/dist/actions/retrieve-product.mjs +1 -1
  366. package/dist/actions/retrieve-product.mjs.map +1 -1
  367. package/dist/actions/retrieve-receipt.cjs +2 -2
  368. package/dist/actions/retrieve-receipt.cjs.map +1 -1
  369. package/dist/actions/retrieve-receipt.d.cts +2 -2
  370. package/dist/actions/retrieve-receipt.d.mts +2 -2
  371. package/dist/actions/retrieve-receipt.mjs +2 -2
  372. package/dist/actions/retrieve-receipt.mjs.map +1 -1
  373. package/dist/actions/retrieve-recurring.cjs +6 -6
  374. package/dist/actions/retrieve-recurring.cjs.map +1 -1
  375. package/dist/actions/retrieve-recurring.d.cts +6 -6
  376. package/dist/actions/retrieve-recurring.d.mts +6 -6
  377. package/dist/actions/retrieve-recurring.mjs +6 -6
  378. package/dist/actions/retrieve-recurring.mjs.map +1 -1
  379. package/dist/actions/retrieve-reporting-request.cjs +2 -2
  380. package/dist/actions/retrieve-reporting-request.cjs.map +1 -1
  381. package/dist/actions/retrieve-reporting-request.d.cts +2 -2
  382. package/dist/actions/retrieve-reporting-request.d.mts +2 -2
  383. package/dist/actions/retrieve-reporting-request.mjs +2 -2
  384. package/dist/actions/retrieve-reporting-request.mjs.map +1 -1
  385. package/dist/actions/retrieve-tax-code.cjs +1 -1
  386. package/dist/actions/retrieve-tax-code.cjs.map +1 -1
  387. package/dist/actions/retrieve-tax-code.d.cts +1 -1
  388. package/dist/actions/retrieve-tax-code.d.mts +1 -1
  389. package/dist/actions/retrieve-tax-code.mjs +1 -1
  390. package/dist/actions/retrieve-tax-code.mjs.map +1 -1
  391. package/dist/actions/retrieve-tax-id.cjs +2 -2
  392. package/dist/actions/retrieve-tax-id.cjs.map +1 -1
  393. package/dist/actions/retrieve-tax-id.d.cts +2 -2
  394. package/dist/actions/retrieve-tax-id.d.mts +2 -2
  395. package/dist/actions/retrieve-tax-id.mjs +2 -2
  396. package/dist/actions/retrieve-tax-id.mjs.map +1 -1
  397. package/dist/actions/update-contact.cjs +1 -1
  398. package/dist/actions/update-contact.cjs.map +1 -1
  399. package/dist/actions/update-contact.d.cts +1 -1
  400. package/dist/actions/update-contact.d.mts +1 -1
  401. package/dist/actions/update-contact.mjs +1 -1
  402. package/dist/actions/update-contact.mjs.map +1 -1
  403. package/dist/actions/update-coupon.cjs +1 -1
  404. package/dist/actions/update-coupon.cjs.map +1 -1
  405. package/dist/actions/update-coupon.d.cts +1 -1
  406. package/dist/actions/update-coupon.d.mts +1 -1
  407. package/dist/actions/update-coupon.mjs +1 -1
  408. package/dist/actions/update-coupon.mjs.map +1 -1
  409. package/dist/actions/update-estimate.cjs +4 -4
  410. package/dist/actions/update-estimate.cjs.map +1 -1
  411. package/dist/actions/update-estimate.d.cts +5 -4
  412. package/dist/actions/update-estimate.d.mts +5 -4
  413. package/dist/actions/update-estimate.mjs +4 -4
  414. package/dist/actions/update-estimate.mjs.map +1 -1
  415. package/dist/actions/update-evidence.cjs +1 -1
  416. package/dist/actions/update-evidence.cjs.map +1 -1
  417. package/dist/actions/update-evidence.d.cts +1 -1
  418. package/dist/actions/update-evidence.d.mts +1 -1
  419. package/dist/actions/update-evidence.mjs +1 -1
  420. package/dist/actions/update-evidence.mjs.map +1 -1
  421. package/dist/actions/update-expense.cjs +4 -4
  422. package/dist/actions/update-expense.cjs.map +1 -1
  423. package/dist/actions/update-expense.d.cts +4 -4
  424. package/dist/actions/update-expense.d.mts +4 -4
  425. package/dist/actions/update-expense.mjs +4 -4
  426. package/dist/actions/update-expense.mjs.map +1 -1
  427. package/dist/actions/update-invoice.cjs +3 -3
  428. package/dist/actions/update-invoice.cjs.map +1 -1
  429. package/dist/actions/update-invoice.d.cts +3 -3
  430. package/dist/actions/update-invoice.d.mts +3 -3
  431. package/dist/actions/update-invoice.mjs +3 -3
  432. package/dist/actions/update-invoice.mjs.map +1 -1
  433. package/dist/actions/update-product.cjs +1 -1
  434. package/dist/actions/update-product.cjs.map +1 -1
  435. package/dist/actions/update-product.d.cts +1 -1
  436. package/dist/actions/update-product.d.mts +1 -1
  437. package/dist/actions/update-product.mjs +1 -1
  438. package/dist/actions/update-product.mjs.map +1 -1
  439. package/dist/actions/update-recurring.cjs +6 -6
  440. package/dist/actions/update-recurring.cjs.map +1 -1
  441. package/dist/actions/update-recurring.d.cts +8 -6
  442. package/dist/actions/update-recurring.d.cts.map +1 -1
  443. package/dist/actions/update-recurring.d.mts +8 -6
  444. package/dist/actions/update-recurring.d.mts.map +1 -1
  445. package/dist/actions/update-recurring.mjs +6 -6
  446. package/dist/actions/update-recurring.mjs.map +1 -1
  447. package/dist/actions/update-tax-id.cjs +2 -2
  448. package/dist/actions/update-tax-id.cjs.map +1 -1
  449. package/dist/actions/update-tax-id.d.cts +2 -2
  450. package/dist/actions/update-tax-id.d.mts +2 -2
  451. package/dist/actions/update-tax-id.mjs +2 -2
  452. package/dist/actions/update-tax-id.mjs.map +1 -1
  453. package/dist/actions/update-webhook.cjs +1 -1
  454. package/dist/actions/update-webhook.cjs.map +1 -1
  455. package/dist/actions/update-webhook.d.cts +1 -1
  456. package/dist/actions/update-webhook.d.mts +1 -1
  457. package/dist/actions/update-webhook.mjs +1 -1
  458. package/dist/actions/update-webhook.mjs.map +1 -1
  459. package/dist/actions/validate-tax-id.cjs +1 -1
  460. package/dist/actions/validate-tax-id.cjs.map +1 -1
  461. package/dist/actions/validate-tax-id.d.cts +1 -1
  462. package/dist/actions/validate-tax-id.d.mts +1 -1
  463. package/dist/actions/validate-tax-id.mjs +1 -1
  464. package/dist/actions/validate-tax-id.mjs.map +1 -1
  465. package/dist/actions/void-credit-note.cjs +3 -3
  466. package/dist/actions/void-credit-note.cjs.map +1 -1
  467. package/dist/actions/void-credit-note.d.cts +3 -3
  468. package/dist/actions/void-credit-note.d.mts +3 -3
  469. package/dist/actions/void-credit-note.mjs +3 -3
  470. package/dist/actions/void-credit-note.mjs.map +1 -1
  471. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-coupon.cjs","names":["z","action"],"sources":["../../src/actions/update-coupon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateCouponInput = z.object({\n id: z.string().describe(\"Unique identifier of the coupon to update\"),\n code: z.string().describe(\"Coupon code. Must be unique across all coupons\").optional(),\n name: z.string().describe(\"Name of the coupon displayed to customers on invoices\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase) required when amount_off is set\").optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD format) after which the coupon can no longer be redeemed\").optional(),\n amount_off: z.number().describe(\"Fixed amount discount in the specified currency. Cannot be used with percent_off. Requires currency field to be set\").optional(),\n percent_off: z.number().describe(\"Percentage discount applied to the purchase subtotal. Cannot be used with amount_off\").optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed. Set to null for unlimited redemptions\").optional(),\n}).describe(\"Request model for updating a coupon. All body fields are optional;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateCouponOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the coupon\").nullable(),\n code: z.string().describe(\"Unique coupon code\").nullable(),\n name: z.string().describe(\"Display name of the coupon on invoices\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\").nullable().optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD) after which the coupon can no longer be redeemed\").nullable().optional(),\n percent_off: z.number().describe(\"Percentage to subtract from the purchase subtotal\").nullable().optional(),\n processor_id: z.string().describe(\"External payment processor ID (e.g., Stripe coupon ID)\").nullable().optional(),\n times_redeemed: z.number().int().describe(\"Number of times this coupon has been redeemed\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed\").nullable().optional(),\n amount_off_cents: z.number().int().describe(\"Fixed amount in cents to subtract\").nullable().optional(),\n}).describe(\"Response model for an updated coupon.\");\n\nexport const quadernoUpdateCoupon = action(\"QUADERNO_UPDATE_COUPON\", {\n slug: \"quaderno-update-coupon\",\n name: \"Update Coupon\",\n description: \"Tool to update an existing coupon. Use when you need to modify coupon properties like discount amount, name, or redemption limits. Note: Coupons linked to Stripe cannot be edited and will return an error. Only fields provided in the request will be updated; omitted fields remain unchanged.\",\n input: QuadernoUpdateCouponInput,\n output: QuadernoUpdateCouponOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACrH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAChK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,0GAA0G;AACtH,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-coupon.cjs","names":["z","action"],"sources":["../../src/actions/update-coupon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateCouponInput = z.object({\n id: z.string().describe(\"Unique identifier of the coupon to update\"),\n code: z.string().describe(\"Coupon code. Must be unique across all coupons\").optional(),\n name: z.string().describe(\"Name of the coupon displayed to customers on invoices\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase) required when amount_off is set\").optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD format) after which the coupon can no longer be redeemed\").optional(),\n amount_off: z.number().describe(\"Fixed amount discount in the specified currency. Cannot be used with percent_off. Requires currency field to be set\").optional(),\n percent_off: z.number().describe(\"Percentage discount applied to the purchase subtotal. Cannot be used with amount_off\").optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed. Set to null for unlimited redemptions\").optional(),\n}).describe(\"Request model for updating a coupon. All body fields are optional;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateCouponOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the coupon\").nullable(),\n code: z.string().describe(\"Unique coupon code\").nullable(),\n name: z.string().describe(\"Display name of the coupon on invoices\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\").nullable().optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD) after which the coupon can no longer be redeemed\").nullable().optional(),\n percent_off: z.number().describe(\"Percentage to subtract from the purchase subtotal\").nullable().optional(),\n processor_id: z.string().describe(\"External payment processor ID (e.g., Stripe coupon ID)\").nullable().optional(),\n times_redeemed: z.number().int().describe(\"Number of times this coupon has been redeemed\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed\").nullable().optional(),\n amount_off_cents: z.number().int().describe(\"Fixed amount in cents to subtract\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated coupon.\");\n\nexport const quadernoUpdateCoupon = action(\"QUADERNO_UPDATE_COUPON\", {\n slug: \"quaderno-update-coupon\",\n name: \"Update Coupon\",\n description: \"Tool to update an existing coupon. Use when you need to modify coupon properties like discount amount, name, or redemption limits. Note: Coupons linked to Stripe cannot be edited and will return an error. Only fields provided in the request will be updated; omitted fields remain unchanged.\",\n input: QuadernoU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AS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,7 +22,7 @@ declare const QuadernoUpdateCouponOutput: z.ZodObject<{
22
22
  times_redeemed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  max_redemptions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  amount_off_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const quadernoUpdateCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  id: string;
28
28
  code?: string | undefined;
@@ -22,7 +22,7 @@ declare const QuadernoUpdateCouponOutput: z.ZodObject<{
22
22
  times_redeemed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  max_redemptions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  amount_off_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>;
25
+ }, z.core.$loose>;
26
26
  declare const quadernoUpdateCoupon: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  id: string;
28
28
  code?: string | undefined;
@@ -25,7 +25,7 @@ const quadernoUpdateCoupon = action("QUADERNO_UPDATE_COUPON", {
25
25
  times_redeemed: z.number().int().describe("Number of times this coupon has been redeemed").nullable().optional(),
26
26
  max_redemptions: z.number().int().describe("Maximum number of times this coupon can be redeemed").nullable().optional(),
27
27
  amount_off_cents: z.number().int().describe("Fixed amount in cents to subtract").nullable().optional()
28
- }).describe("Response model for an updated coupon.")
28
+ }).passthrough().describe("Response model for an updated coupon.")
29
29
  });
30
30
  //#endregion
31
31
  export { quadernoUpdateCoupon };
@@ -1 +1 @@
1
- {"version":3,"file":"update-coupon.mjs","names":[],"sources":["../../src/actions/update-coupon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateCouponInput = z.object({\n id: z.string().describe(\"Unique identifier of the coupon to update\"),\n code: z.string().describe(\"Coupon code. Must be unique across all coupons\").optional(),\n name: z.string().describe(\"Name of the coupon displayed to customers on invoices\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase) required when amount_off is set\").optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD format) after which the coupon can no longer be redeemed\").optional(),\n amount_off: z.number().describe(\"Fixed amount discount in the specified currency. Cannot be used with percent_off. Requires currency field to be set\").optional(),\n percent_off: z.number().describe(\"Percentage discount applied to the purchase subtotal. Cannot be used with amount_off\").optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed. Set to null for unlimited redemptions\").optional(),\n}).describe(\"Request model for updating a coupon. All body fields are optional;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateCouponOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the coupon\").nullable(),\n code: z.string().describe(\"Unique coupon code\").nullable(),\n name: z.string().describe(\"Display name of the coupon on invoices\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\").nullable().optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD) after which the coupon can no longer be redeemed\").nullable().optional(),\n percent_off: z.number().describe(\"Percentage to subtract from the purchase subtotal\").nullable().optional(),\n processor_id: z.string().describe(\"External payment processor ID (e.g., Stripe coupon ID)\").nullable().optional(),\n times_redeemed: z.number().int().describe(\"Number of times this coupon has been redeemed\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed\").nullable().optional(),\n amount_off_cents: z.number().int().describe(\"Fixed amount in cents to subtract\").nullable().optional(),\n}).describe(\"Response model for an updated coupon.\");\n\nexport const quadernoUpdateCoupon = action(\"QUADERNO_UPDATE_COUPON\", {\n slug: \"quaderno-update-coupon\",\n name: \"Update Coupon\",\n description: \"Tool to update an existing coupon. Use when you need to modify coupon properties like discount amount, name, or redemption limits. Note: Coupons linked to Stripe cannot be edited and will return an error. Only fields provided in the request will be updated; omitted fields remain unchanged.\",\n input: QuadernoUpdateCouponInput,\n output: QuadernoUpdateCouponOutput,\n});\n"],"mappings":";;AA2BA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAChK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-coupon.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateCouponInput = z.object({\n id: z.string().describe(\"Unique identifier of the coupon to update\"),\n code: z.string().describe(\"Coupon code. Must be unique across all coupons\").optional(),\n name: z.string().describe(\"Name of the coupon displayed to customers on invoices\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (uppercase) required when amount_off is set\").optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD format) after which the coupon can no longer be redeemed\").optional(),\n amount_off: z.number().describe(\"Fixed amount discount in the specified currency. Cannot be used with percent_off. Requires currency field to be set\").optional(),\n percent_off: z.number().describe(\"Percentage discount applied to the purchase subtotal. Cannot be used with amount_off\").optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed. Set to null for unlimited redemptions\").optional(),\n}).describe(\"Request model for updating a coupon. All body fields are optional;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateCouponOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the coupon\").nullable(),\n code: z.string().describe(\"Unique coupon code\").nullable(),\n name: z.string().describe(\"Display name of the coupon on invoices\").nullable().optional(),\n currency: z.string().describe(\"Three-letter ISO currency code, uppercase\").nullable().optional(),\n redeem_by: z.string().describe(\"Date (YYYY-MM-DD) after which the coupon can no longer be redeemed\").nullable().optional(),\n percent_off: z.number().describe(\"Percentage to subtract from the purchase subtotal\").nullable().optional(),\n processor_id: z.string().describe(\"External payment processor ID (e.g., Stripe coupon ID)\").nullable().optional(),\n times_redeemed: z.number().int().describe(\"Number of times this coupon has been redeemed\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of times this coupon can be redeemed\").nullable().optional(),\n amount_off_cents: z.number().int().describe(\"Fixed amount in cents to subtract\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated coupon.\");\n\nexport const quadernoUpdateCoupon = action(\"QUADERNO_UPDATE_COUPON\", {\n slug: \"quaderno-update-coupon\",\n name: \"Update Coupon\",\n description: \"Tool to update an existing coupon. Use when you need to modify coupon properties like discount amount, name, or redemption limits. Note: Coupons linked to Stripe cannot be edited and will return an error. Only fields provided in the request will be updated; omitted fields remain unchanged.\",\n input: QuadernoUpdateCouponInput,\n output: QuadernoUpdateCouponOutput,\n});\n"],"mappings":";;AA2BA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACrH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;EAChK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClI,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,0GAkBH;CACP,QAlBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -33,7 +33,7 @@ const QuadernoUpdateEstimateInput = zod.z.object({
33
33
  description: zod.z.string().describe("Item description").optional(),
34
34
  product_code: zod.z.string().describe("Product code").optional(),
35
35
  discount_rate: zod.z.number().describe("Discount rate percentage (0-100)").optional()
36
- }).describe("Line item for an estimate")).describe("List of line items to add, update, or remove").optional()
36
+ }).passthrough().describe("Line item for an estimate")).describe("List of line items to add, update, or remove").optional()
37
37
  }).describe("Request model for updating an estimate. Include only fields to modify;\nunspecified fields remain unchanged.");
38
38
  const QuadernoUpdateEstimate_EstimateItemSchema = zod.z.object({
39
39
  id: zod.z.number().int().describe("Item ID").nullable(),
@@ -45,7 +45,7 @@ const QuadernoUpdateEstimate_EstimateItemSchema = zod.z.object({
45
45
  subtotal_cents: zod.z.number().int().describe("Subtotal in cents").nullable().optional(),
46
46
  unit_price_cents: zod.z.number().int().describe("Unit price in cents").nullable().optional(),
47
47
  gross_amount_cents: zod.z.number().int().describe("Gross amount in cents").nullable().optional()
48
- }).describe("Line item in the estimate");
48
+ }).passthrough().describe("Line item in the estimate");
49
49
  const QuadernoUpdateEstimate_EstimateContactSchema = zod.z.object({
50
50
  id: zod.z.number().int().describe("Contact unique identifier").nullable(),
51
51
  city: zod.z.string().describe("City").nullable().optional(),
@@ -55,7 +55,7 @@ const QuadernoUpdateEstimate_EstimateContactSchema = zod.z.object({
55
55
  country: zod.z.string().describe("2-letter ISO country code").nullable().optional(),
56
56
  full_name: zod.z.string().describe("Full name of the contact").nullable(),
57
57
  postal_code: zod.z.string().describe("Postal code").nullable().optional()
58
- }).describe("Contact information for the estimate");
58
+ }).passthrough().describe("Contact information for the estimate");
59
59
  const QuadernoUpdateEstimateOutput = zod.z.object({
60
60
  id: zod.z.number().int().describe("Unique estimate ID").nullable(),
61
61
  url: zod.z.string().describe("API endpoint URL for this estimate").nullable(),
@@ -83,7 +83,7 @@ const QuadernoUpdateEstimateOutput = zod.z.object({
83
83
  subtotal_cents: zod.z.number().int().describe("Subtotal before taxes in cents").nullable().optional(),
84
84
  custom_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata key-value pairs").nullable().optional(),
85
85
  payment_details: zod.z.string().describe("Payment method details").nullable().optional()
86
- }).describe("Complete updated estimate object returned by the Quaderno API.");
86
+ }).passthrough().describe("Complete updated estimate object returned by the Quaderno API.");
87
87
  const quadernoUpdateEstimate = require_action.action("QUADERNO_UPDATE_ESTIMATE", {
88
88
  slug: "quaderno-update-estimate",
89
89
  name: "Update Estimate",
@@ -1 +1 @@
1
- {"version":3,"file":"update-estimate.cjs","names":["z","action"],"sources":["../../src/actions/update-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEstimateInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to update\"),\n city: z.string().describe(\"Billing city\").optional(),\n notes: z.string().describe(\"Extra notes about the estimate\").optional(),\n region: z.string().describe(\"Billing region/state\").optional(),\n tax_id: z.string().describe(\"Customer tax ID\").optional(),\n country: z.string().describe(\"Billing country (2-letter ISO code)\").optional(),\n subject: z.string().describe(\"Estimate subject or summary\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., USD, EUR, GBP)\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,project')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n attachment: z.object({\n data: z.string().describe(\"Base64-encoded content of the file\"),\n public: z.boolean().describe(\"Whether the file should be publicly accessible\"),\n filename: z.string().describe(\"File name including extension\"),\n}).describe(\"Represents a file attachment for the estimate.\").optional(),\n contact_id: z.string().describe(\"Contact identifier\").optional(),\n issue_date: z.string().describe(\"Estimate issue date (YYYY-MM-DD)\").optional(),\n postal_code: z.string().describe(\"Billing postal code\").optional(),\n contact_name: z.string().describe(\"Contact name\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the estimate\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n items_attributes: z.array(z.object({\n id: z.number().int().describe(\"Line item ID for existing items\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n reference: z.string().describe(\"Item reference\").optional(),\n unit_price: z.number().describe(\"Unit price in currency units (not cents)\").optional(),\n description: z.string().describe(\"Item description\").optional(),\n product_code: z.string().describe(\"Product code\").optional(),\n discount_rate: z.number().describe(\"Discount rate percentage (0-100)\").optional(),\n}).describe(\"Line item for an estimate\")).describe(\"List of line items to add, update, or remove\").optional(),\n}).describe(\"Request model for updating an estimate. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nconst QuadernoUpdateEstimate_EstimateItemSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n quantity: z.number().describe(\"Quantity\").nullable(),\n reference: z.string().describe(\"Reference\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable().optional(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable().optional(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable().optional(),\n}).describe(\"Line item in the estimate\");\nconst QuadernoUpdateEstimate_EstimateContactSchema = z.object({\n id: z.number().int().describe(\"Contact unique identifier\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (person or company)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n country: z.string().describe(\"2-letter ISO country code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n postal_code: z.string().describe(\"Postal code\").nullable().optional(),\n}).describe(\"Contact information for the estimate\");\nexport const QuadernoUpdateEstimateOutput = z.object({\n id: z.number().int().describe(\"Unique estimate ID\").nullable(),\n url: z.string().describe(\"API endpoint URL for this estimate\").nullable(),\n city: z.string().describe(\"Billing city\").nullable().optional(),\n items: z.array(QuadernoUpdateEstimate_EstimateItemSchema).describe(\"Estimate line items\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"Estimate state (outstanding, accepted, rejected, etc.)\").nullable(),\n number: z.string().describe(\"Estimate number\").nullable(),\n region: z.string().describe(\"Billing region/state\").nullable().optional(),\n tax_id: z.string().describe(\"Customer tax ID\").nullable().optional(),\n contact: QuadernoUpdateEstimate_EstimateContactSchema.nullable(),\n country: z.string().describe(\"Billing country code\").nullable().optional(),\n subject: z.string().describe(\"Estimate subject or summary\").nullable().optional(),\n currency: z.string().describe(\"Currency code (USD, EUR, etc.)\").nullable(),\n tag_list: z.array(z.string()).describe(\"List of tags assigned to the estimate\").nullable().optional(),\n permalink: z.string().describe(\"Public estimate URL\").nullable(),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp\").nullable(),\n issue_date: z.string().describe(\"Estimate issue date\").nullable(),\n postal_code: z.string().describe(\"Billing postal code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Billing address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal before taxes in cents\").nullable().optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs\").nullable().optional(),\n payment_details: z.string().describe(\"Payment method details\").nullable().optional(),\n}).describe(\"Complete updated estimate object returned by the Quaderno API.\");\n\nexport const quadernoUpdateEstimate = action(\"QUADERNO_UPDATE_ESTIMATE\", {\n slug: \"quaderno-update-estimate\",\n name: \"Update Estimate\",\n description: \"Updates an existing estimate in Quaderno by modifying allowed fields. Use when you need to change estimate details like notes, purchase order number, tags, payment details, billing address, contact information, or line items. Fields not specified remain unchanged.\",\n input: QuadernoUpdateEstimateInput,\n output: QuadernoUpdateEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAA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C,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-estimate.cjs","names":["z","action"],"sources":["../../src/actions/update-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEstimateInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to update\"),\n city: z.string().describe(\"Billing city\").optional(),\n notes: z.string().describe(\"Extra notes about the estimate\").optional(),\n region: z.string().describe(\"Billing region/state\").optional(),\n tax_id: z.string().describe(\"Customer tax ID\").optional(),\n country: z.string().describe(\"Billing country (2-letter ISO code)\").optional(),\n subject: z.string().describe(\"Estimate subject or summary\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., USD, EUR, GBP)\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,project')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n attachment: z.object({\n data: z.string().describe(\"Base64-encoded content of the file\"),\n public: z.boolean().describe(\"Whether the file should be publicly accessible\"),\n filename: z.string().describe(\"File name including extension\"),\n}).describe(\"Represents a file attachment for the estimate.\").optional(),\n contact_id: z.string().describe(\"Contact identifier\").optional(),\n issue_date: z.string().describe(\"Estimate issue date (YYYY-MM-DD)\").optional(),\n postal_code: z.string().describe(\"Billing postal code\").optional(),\n contact_name: z.string().describe(\"Contact name\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the estimate\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n items_attributes: z.array(z.object({\n id: z.number().int().describe(\"Line item ID for existing items\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n reference: z.string().describe(\"Item reference\").optional(),\n unit_price: z.number().describe(\"Unit price in currency units (not cents)\").optional(),\n description: z.string().describe(\"Item description\").optional(),\n product_code: z.string().describe(\"Product code\").optional(),\n discount_rate: z.number().describe(\"Discount rate percentage (0-100)\").optional(),\n}).passthrough().describe(\"Line item for an estimate\")).describe(\"List of line items to add, update, or remove\").optional(),\n}).describe(\"Request model for updating an estimate. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nconst QuadernoUpdateEstimate_EstimateItemSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n quantity: z.number().describe(\"Quantity\").nullable(),\n reference: z.string().describe(\"Reference\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable().optional(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable().optional(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable().optional(),\n}).passthrough().describe(\"Line item in the estimate\");\nconst QuadernoUpdateEstimate_EstimateContactSchema = z.object({\n id: z.number().int().describe(\"Contact unique identifier\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (person or company)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n country: z.string().describe(\"2-letter ISO country code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n postal_code: z.string().describe(\"Postal code\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the estimate\");\nexport const QuadernoUpdateEstimateOutput = z.object({\n id: z.number().int().describe(\"Unique estimate ID\").nullable(),\n url: z.string().describe(\"API endpoint URL for this estimate\").nullable(),\n city: z.string().describe(\"Billing city\").nullable().optional(),\n items: z.array(QuadernoUpdateEstimate_EstimateItemSchema).describe(\"Estimate line items\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"Estimate state (outstanding, accepted, rejected, etc.)\").nullable(),\n number: z.string().describe(\"Estimate number\").nullable(),\n region: z.string().describe(\"Billing region/state\").nullable().optional(),\n tax_id: z.string().describe(\"Customer tax ID\").nullable().optional(),\n contact: QuadernoUpdateEstimate_EstimateContactSchema.nullable(),\n country: z.string().describe(\"Billing country code\").nullable().optional(),\n subject: z.string().describe(\"Estimate subject or summary\").nullable().optional(),\n currency: z.string().describe(\"Currency code (USD, EUR, etc.)\").nullable(),\n tag_list: z.array(z.string()).describe(\"List of tags assigned to the estimate\").nullable().optional(),\n permalink: z.string().describe(\"Public estimate URL\").nullable(),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp\").nullable(),\n issue_date: z.string().describe(\"Estimate issue date\").nullable(),\n postal_code: z.string().describe(\"Billing postal code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Billing address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal before taxes in cents\").nullable().optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs\").nullable().optional(),\n payment_details: z.string().describe(\"Payment method details\").nullable().optional(),\n}).passthrough().describe(\"Complete updated estimate object returned by the Quaderno API.\");\n\nexport const quadernoUpdateEstimate = action(\"QUADERNO_UPDATE_ESTIMATE\", {\n slug: \"quaderno-update-estimate\",\n name: \"Update Estimate\",\n description: \"Updates an existing estimate in Quaderno by modifying allowed fields. Use when you need to change estimate details like notes, purchase order number, tags, payment details, billing address, contact information, or line items. Fields not specified remain unchanged.\",\n input: QuadernoUpdateEstimateInput,\n output: QuadernoUpdateEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAYA,IAAAA,EAAE,OAAO;EACrB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAA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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACzE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -33,7 +33,7 @@ declare const QuadernoUpdateEstimateInput: z.ZodObject<{
33
33
  description: z.ZodOptional<z.ZodString>;
34
34
  product_code: z.ZodOptional<z.ZodString>;
35
35
  discount_rate: z.ZodOptional<z.ZodNumber>;
36
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
37
  }, z.core.$strip>;
38
38
  declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
39
39
  id: z.ZodNullable<z.ZodNumber>;
@@ -49,7 +49,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
49
49
  subtotal_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
51
  gross_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
- }, z.core.$strip>>;
52
+ }, z.core.$loose>>;
53
53
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  state: z.ZodNullable<z.ZodString>;
55
55
  number: z.ZodNullable<z.ZodString>;
@@ -64,7 +64,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
64
64
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  full_name: z.ZodNullable<z.ZodString>;
66
66
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>;
67
+ }, z.core.$loose>>;
68
68
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  currency: z.ZodNullable<z.ZodString>;
@@ -81,7 +81,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
81
81
  subtotal_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
82
82
  custom_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
83
83
  payment_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
- }, z.core.$strip>;
84
+ }, z.core.$loose>;
85
85
  declare const quadernoUpdateEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
86
86
  id: number;
87
87
  city?: string | undefined;
@@ -107,6 +107,7 @@ declare const quadernoUpdateEstimate: import("@keystrokehq/action").WorkflowActi
107
107
  custom_metadata?: Record<string, unknown> | undefined;
108
108
  payment_details?: string | undefined;
109
109
  items_attributes?: {
110
+ [x: string]: unknown;
110
111
  id?: number | undefined;
111
112
  quantity?: number | undefined;
112
113
  reference?: string | undefined;
@@ -33,7 +33,7 @@ declare const QuadernoUpdateEstimateInput: z.ZodObject<{
33
33
  description: z.ZodOptional<z.ZodString>;
34
34
  product_code: z.ZodOptional<z.ZodString>;
35
35
  discount_rate: z.ZodOptional<z.ZodNumber>;
36
- }, z.core.$strip>>>;
36
+ }, z.core.$loose>>>;
37
37
  }, z.core.$strip>;
38
38
  declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
39
39
  id: z.ZodNullable<z.ZodNumber>;
@@ -49,7 +49,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
49
49
  subtotal_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
51
  gross_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
52
- }, z.core.$strip>>;
52
+ }, z.core.$loose>>;
53
53
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  state: z.ZodNullable<z.ZodString>;
55
55
  number: z.ZodNullable<z.ZodString>;
@@ -64,7 +64,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
64
64
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  full_name: z.ZodNullable<z.ZodString>;
66
66
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
- }, z.core.$strip>>;
67
+ }, z.core.$loose>>;
68
68
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
69
  subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
70
  currency: z.ZodNullable<z.ZodString>;
@@ -81,7 +81,7 @@ declare const QuadernoUpdateEstimateOutput: z.ZodObject<{
81
81
  subtotal_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
82
82
  custom_metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
83
83
  payment_details: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
- }, z.core.$strip>;
84
+ }, z.core.$loose>;
85
85
  declare const quadernoUpdateEstimate: import("@keystrokehq/action").WorkflowActionDefinition<{
86
86
  id: number;
87
87
  city?: string | undefined;
@@ -107,6 +107,7 @@ declare const quadernoUpdateEstimate: import("@keystrokehq/action").WorkflowActi
107
107
  custom_metadata?: Record<string, unknown> | undefined;
108
108
  payment_details?: string | undefined;
109
109
  items_attributes?: {
110
+ [x: string]: unknown;
110
111
  id?: number | undefined;
111
112
  quantity?: number | undefined;
112
113
  reference?: string | undefined;
@@ -33,7 +33,7 @@ const QuadernoUpdateEstimateInput = z.object({
33
33
  description: z.string().describe("Item description").optional(),
34
34
  product_code: z.string().describe("Product code").optional(),
35
35
  discount_rate: z.number().describe("Discount rate percentage (0-100)").optional()
36
- }).describe("Line item for an estimate")).describe("List of line items to add, update, or remove").optional()
36
+ }).passthrough().describe("Line item for an estimate")).describe("List of line items to add, update, or remove").optional()
37
37
  }).describe("Request model for updating an estimate. Include only fields to modify;\nunspecified fields remain unchanged.");
38
38
  const QuadernoUpdateEstimate_EstimateItemSchema = z.object({
39
39
  id: z.number().int().describe("Item ID").nullable(),
@@ -45,7 +45,7 @@ const QuadernoUpdateEstimate_EstimateItemSchema = z.object({
45
45
  subtotal_cents: z.number().int().describe("Subtotal in cents").nullable().optional(),
46
46
  unit_price_cents: z.number().int().describe("Unit price in cents").nullable().optional(),
47
47
  gross_amount_cents: z.number().int().describe("Gross amount in cents").nullable().optional()
48
- }).describe("Line item in the estimate");
48
+ }).passthrough().describe("Line item in the estimate");
49
49
  const QuadernoUpdateEstimate_EstimateContactSchema = z.object({
50
50
  id: z.number().int().describe("Contact unique identifier").nullable(),
51
51
  city: z.string().describe("City").nullable().optional(),
@@ -55,7 +55,7 @@ const QuadernoUpdateEstimate_EstimateContactSchema = z.object({
55
55
  country: z.string().describe("2-letter ISO country code").nullable().optional(),
56
56
  full_name: z.string().describe("Full name of the contact").nullable(),
57
57
  postal_code: z.string().describe("Postal code").nullable().optional()
58
- }).describe("Contact information for the estimate");
58
+ }).passthrough().describe("Contact information for the estimate");
59
59
  const quadernoUpdateEstimate = action("QUADERNO_UPDATE_ESTIMATE", {
60
60
  slug: "quaderno-update-estimate",
61
61
  name: "Update Estimate",
@@ -88,7 +88,7 @@ const quadernoUpdateEstimate = action("QUADERNO_UPDATE_ESTIMATE", {
88
88
  subtotal_cents: z.number().int().describe("Subtotal before taxes in cents").nullable().optional(),
89
89
  custom_metadata: z.record(z.string(), z.unknown()).describe("Custom metadata key-value pairs").nullable().optional(),
90
90
  payment_details: z.string().describe("Payment method details").nullable().optional()
91
- }).describe("Complete updated estimate object returned by the Quaderno API.")
91
+ }).passthrough().describe("Complete updated estimate object returned by the Quaderno API.")
92
92
  });
93
93
  //#endregion
94
94
  export { quadernoUpdateEstimate };
@@ -1 +1 @@
1
- {"version":3,"file":"update-estimate.mjs","names":[],"sources":["../../src/actions/update-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEstimateInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to update\"),\n city: z.string().describe(\"Billing city\").optional(),\n notes: z.string().describe(\"Extra notes about the estimate\").optional(),\n region: z.string().describe(\"Billing region/state\").optional(),\n tax_id: z.string().describe(\"Customer tax ID\").optional(),\n country: z.string().describe(\"Billing country (2-letter ISO code)\").optional(),\n subject: z.string().describe(\"Estimate subject or summary\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., USD, EUR, GBP)\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,project')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n attachment: z.object({\n data: z.string().describe(\"Base64-encoded content of the file\"),\n public: z.boolean().describe(\"Whether the file should be publicly accessible\"),\n filename: z.string().describe(\"File name including extension\"),\n}).describe(\"Represents a file attachment for the estimate.\").optional(),\n contact_id: z.string().describe(\"Contact identifier\").optional(),\n issue_date: z.string().describe(\"Estimate issue date (YYYY-MM-DD)\").optional(),\n postal_code: z.string().describe(\"Billing postal code\").optional(),\n contact_name: z.string().describe(\"Contact name\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the estimate\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n items_attributes: z.array(z.object({\n id: z.number().int().describe(\"Line item ID for existing items\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n reference: z.string().describe(\"Item reference\").optional(),\n unit_price: z.number().describe(\"Unit price in currency units (not cents)\").optional(),\n description: z.string().describe(\"Item description\").optional(),\n product_code: z.string().describe(\"Product code\").optional(),\n discount_rate: z.number().describe(\"Discount rate percentage (0-100)\").optional(),\n}).describe(\"Line item for an estimate\")).describe(\"List of line items to add, update, or remove\").optional(),\n}).describe(\"Request model for updating an estimate. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nconst QuadernoUpdateEstimate_EstimateItemSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n quantity: z.number().describe(\"Quantity\").nullable(),\n reference: z.string().describe(\"Reference\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable().optional(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable().optional(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable().optional(),\n}).describe(\"Line item in the estimate\");\nconst QuadernoUpdateEstimate_EstimateContactSchema = z.object({\n id: z.number().int().describe(\"Contact unique identifier\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (person or company)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n country: z.string().describe(\"2-letter ISO country code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n postal_code: z.string().describe(\"Postal code\").nullable().optional(),\n}).describe(\"Contact information for the estimate\");\nexport const QuadernoUpdateEstimateOutput = z.object({\n id: z.number().int().describe(\"Unique estimate ID\").nullable(),\n url: z.string().describe(\"API endpoint URL for this estimate\").nullable(),\n city: z.string().describe(\"Billing city\").nullable().optional(),\n items: z.array(QuadernoUpdateEstimate_EstimateItemSchema).describe(\"Estimate line items\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"Estimate state (outstanding, accepted, rejected, etc.)\").nullable(),\n number: z.string().describe(\"Estimate number\").nullable(),\n region: z.string().describe(\"Billing region/state\").nullable().optional(),\n tax_id: z.string().describe(\"Customer tax ID\").nullable().optional(),\n contact: QuadernoUpdateEstimate_EstimateContactSchema.nullable(),\n country: z.string().describe(\"Billing country code\").nullable().optional(),\n subject: z.string().describe(\"Estimate subject or summary\").nullable().optional(),\n currency: z.string().describe(\"Currency code (USD, EUR, etc.)\").nullable(),\n tag_list: z.array(z.string()).describe(\"List of tags assigned to the estimate\").nullable().optional(),\n permalink: z.string().describe(\"Public estimate URL\").nullable(),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp\").nullable(),\n issue_date: z.string().describe(\"Estimate issue date\").nullable(),\n postal_code: z.string().describe(\"Billing postal code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Billing address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal before taxes in cents\").nullable().optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs\").nullable().optional(),\n payment_details: z.string().describe(\"Payment method details\").nullable().optional(),\n}).describe(\"Complete updated estimate object returned by the Quaderno API.\");\n\nexport const quadernoUpdateEstimate = action(\"QUADERNO_UPDATE_ESTIMATE\", {\n slug: \"quaderno-update-estimate\",\n name: \"Update Estimate\",\n description: \"Updates an existing estimate in Quaderno by modifying allowed fields. Use when you need to change estimate details like notes, purchase order number, tags, payment details, billing address, contact information, or line items. Fields not specified remain unchanged.\",\n input: QuadernoUpdateEstimateInput,\n output: QuadernoUpdateEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC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SAAS,CAAC,CAAC,SAAS;EAChG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-estimate.mjs","names":[],"sources":["../../src/actions/update-estimate.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEstimateInput = z.object({\n id: z.number().int().describe(\"ID of the estimate to update\"),\n city: z.string().describe(\"Billing city\").optional(),\n notes: z.string().describe(\"Extra notes about the estimate\").optional(),\n region: z.string().describe(\"Billing region/state\").optional(),\n tax_id: z.string().describe(\"Customer tax ID\").optional(),\n country: z.string().describe(\"Billing country (2-letter ISO code)\").optional(),\n subject: z.string().describe(\"Estimate subject or summary\").optional(),\n currency: z.string().describe(\"Three-letter ISO currency code (e.g., USD, EUR, GBP)\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,project')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n attachment: z.object({\n data: z.string().describe(\"Base64-encoded content of the file\"),\n public: z.boolean().describe(\"Whether the file should be publicly accessible\"),\n filename: z.string().describe(\"File name including extension\"),\n}).describe(\"Represents a file attachment for the estimate.\").optional(),\n contact_id: z.string().describe(\"Contact identifier\").optional(),\n issue_date: z.string().describe(\"Estimate issue date (YYYY-MM-DD)\").optional(),\n postal_code: z.string().describe(\"Billing postal code\").optional(),\n contact_name: z.string().describe(\"Contact name\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the estimate\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n items_attributes: z.array(z.object({\n id: z.number().int().describe(\"Line item ID for existing items\").optional(),\n quantity: z.number().describe(\"Quantity of the item\").optional(),\n reference: z.string().describe(\"Item reference\").optional(),\n unit_price: z.number().describe(\"Unit price in currency units (not cents)\").optional(),\n description: z.string().describe(\"Item description\").optional(),\n product_code: z.string().describe(\"Product code\").optional(),\n discount_rate: z.number().describe(\"Discount rate percentage (0-100)\").optional(),\n}).passthrough().describe(\"Line item for an estimate\")).describe(\"List of line items to add, update, or remove\").optional(),\n}).describe(\"Request model for updating an estimate. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nconst QuadernoUpdateEstimate_EstimateItemSchema = z.object({\n id: z.number().int().describe(\"Item ID\").nullable(),\n quantity: z.number().describe(\"Quantity\").nullable(),\n reference: z.string().describe(\"Reference\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable().optional(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable().optional(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable().optional(),\n}).passthrough().describe(\"Line item in the estimate\");\nconst QuadernoUpdateEstimate_EstimateContactSchema = z.object({\n id: z.number().int().describe(\"Contact unique identifier\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (person or company)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n country: z.string().describe(\"2-letter ISO country code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n postal_code: z.string().describe(\"Postal code\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the estimate\");\nexport const QuadernoUpdateEstimateOutput = z.object({\n id: z.number().int().describe(\"Unique estimate ID\").nullable(),\n url: z.string().describe(\"API endpoint URL for this estimate\").nullable(),\n city: z.string().describe(\"Billing city\").nullable().optional(),\n items: z.array(QuadernoUpdateEstimate_EstimateItemSchema).describe(\"Estimate line items\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"Estimate state (outstanding, accepted, rejected, etc.)\").nullable(),\n number: z.string().describe(\"Estimate number\").nullable(),\n region: z.string().describe(\"Billing region/state\").nullable().optional(),\n tax_id: z.string().describe(\"Customer tax ID\").nullable().optional(),\n contact: QuadernoUpdateEstimate_EstimateContactSchema.nullable(),\n country: z.string().describe(\"Billing country code\").nullable().optional(),\n subject: z.string().describe(\"Estimate subject or summary\").nullable().optional(),\n currency: z.string().describe(\"Currency code (USD, EUR, etc.)\").nullable(),\n tag_list: z.array(z.string()).describe(\"List of tags assigned to the estimate\").nullable().optional(),\n permalink: z.string().describe(\"Public estimate URL\").nullable(),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Creation timestamp\").nullable(),\n issue_date: z.string().describe(\"Estimate issue date\").nullable(),\n postal_code: z.string().describe(\"Billing postal code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Billing address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable().optional(),\n subtotal_cents: z.number().int().describe(\"Subtotal before taxes in cents\").nullable().optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata key-value pairs\").nullable().optional(),\n payment_details: z.string().describe(\"Payment method details\").nullable().optional(),\n}).passthrough().describe(\"Complete updated estimate object returned by the Quaderno API.\");\n\nexport const quadernoUpdateEstimate = action(\"QUADERNO_UPDATE_ESTIMATE\", {\n slug: \"quaderno-update-estimate\",\n name: \"Update Estimate\",\n description: \"Updates an existing estimate in Quaderno by modifying allowed fields. Use when you need to change estimate details like notes, purchase order number, tags, payment details, billing address, contact information, or line items. Fields not specified remain unchanged.\",\n input: QuadernoUpdateEstimateInput,\n output: QuadernoUpdateEstimateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,YAAY,EAAE,OAAO;EACrB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;EAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC/D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7E,aAAa,EA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C,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -29,7 +29,7 @@ const QuadernoUpdateEvidenceOutput = zod.z.object({
29
29
  billing_country: zod.z.string().describe("2-letter ISO 3166-1 code of the billing country").nullable().optional(),
30
30
  additional_evidence: zod.z.string().describe("Additional evidence used to proof the customer's location").nullable().optional(),
31
31
  additional_evidence_country: zod.z.string().describe("2-letter ISO 3166-1 code for the additional evidence country").nullable().optional()
32
- }).describe("Response model for an updated evidence object.");
32
+ }).passthrough().describe("Response model for an updated evidence object.");
33
33
  const quadernoUpdateEvidence = require_action.action("QUADERNO_UPDATE_EVIDENCE", {
34
34
  slug: "quaderno-update-evidence",
35
35
  name: "Update Evidence",
@@ -1 +1 @@
1
- {"version":3,"file":"update-evidence.cjs","names":["z","action"],"sources":["../../src/actions/update-evidence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEvidenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the evidence object to update\"),\n notes: z.string().describe(\"Internal notes about the evidence\").optional(),\n ip_address: z.string().describe(\"The customer's IP address\").optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").optional(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location. Required if there's an additional_evidence_country\").optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").optional(),\n}).describe(\"Request model for updating an evidence object. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateEvidenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the evidence object\").nullable(),\n url: z.string().describe(\"URI of the evidence object\").nullable().optional(),\n notes: z.string().describe(\"Internal notes about the evidence\").nullable().optional(),\n state: z.enum([\"unsettled\", \"conflicting\", \"confirmed\"]).describe(\"State of the evidence: 'unsettled', 'conflicting', or 'confirmed'\").nullable(),\n created_at: z.number().int().describe(\"Time at which the object was created. Measured in seconds since the Unix epoch\").nullable().optional(),\n ip_address: z.string().describe(\"The customer's IP address\").nullable().optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").nullable().optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").nullable(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").nullable().optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").nullable().optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location\").nullable().optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").nullable().optional(),\n}).describe(\"Response model for an updated evidence object.\");\n\nexport const quadernoUpdateEvidence = action(\"QUADERNO_UPDATE_EVIDENCE\", {\n slug: \"quaderno-update-evidence\",\n name: \"Update Evidence\",\n description: \"Tool to update an evidence object. Use when you need to modify location proofs (billing country, IP address, bank country, notes) for tax compliance records.\",\n input: QuadernoUpdateEvidenceInput,\n output: QuadernoUpdateEvidenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtE,YAAYA,IAAA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CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-evidence.cjs","names":["z","action"],"sources":["../../src/actions/update-evidence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEvidenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the evidence object to update\"),\n notes: z.string().describe(\"Internal notes about the evidence\").optional(),\n ip_address: z.string().describe(\"The customer's IP address\").optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").optional(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location. Required if there's an additional_evidence_country\").optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").optional(),\n}).describe(\"Request model for updating an evidence object. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateEvidenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the evidence object\").nullable(),\n url: z.string().describe(\"URI of the evidence object\").nullable().optional(),\n notes: z.string().describe(\"Internal notes about the evidence\").nullable().optional(),\n state: z.enum([\"unsettled\", \"conflicting\", \"confirmed\"]).describe(\"State of the evidence: 'unsettled', 'conflicting', or 'confirmed'\").nullable(),\n created_at: z.number().int().describe(\"Time at which the object was created. Measured in seconds since the Unix epoch\").nullable().optional(),\n ip_address: z.string().describe(\"The customer's IP address\").nullable().optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").nullable().optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").nullable(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").nullable().optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").nullable().optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location\").nullable().optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated evidence object.\");\n\nexport const quadernoUpdateEvidence = action(\"QUADERNO_UPDATE_EVIDENCE\", {\n slug: \"quaderno-update-evidence\",\n name: \"Update Evidence\",\n description: \"Tool to update an evidence object. Use when you need to modify location proofs (billing country, IP address, bank country, notes) for tax compliance records.\",\n input: QuadernoUpdateEvidenceInput,\n output: QuadernoUpdateEvidenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2B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AC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -29,7 +29,7 @@ declare const QuadernoUpdateEvidenceOutput: z.ZodObject<{
29
29
  billing_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  additional_evidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  additional_evidence_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const quadernoUpdateEvidence: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  notes?: string | undefined;
@@ -29,7 +29,7 @@ declare const QuadernoUpdateEvidenceOutput: z.ZodObject<{
29
29
  billing_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  additional_evidence: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  additional_evidence_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
33
33
  declare const quadernoUpdateEvidence: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: number;
35
35
  notes?: string | undefined;
@@ -32,7 +32,7 @@ const quadernoUpdateEvidence = action("QUADERNO_UPDATE_EVIDENCE", {
32
32
  billing_country: z.string().describe("2-letter ISO 3166-1 code of the billing country").nullable().optional(),
33
33
  additional_evidence: z.string().describe("Additional evidence used to proof the customer's location").nullable().optional(),
34
34
  additional_evidence_country: z.string().describe("2-letter ISO 3166-1 code for the additional evidence country").nullable().optional()
35
- }).describe("Response model for an updated evidence object.")
35
+ }).passthrough().describe("Response model for an updated evidence object.")
36
36
  });
37
37
  //#endregion
38
38
  export { quadernoUpdateEvidence };
@@ -1 +1 @@
1
- {"version":3,"file":"update-evidence.mjs","names":[],"sources":["../../src/actions/update-evidence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEvidenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the evidence object to update\"),\n notes: z.string().describe(\"Internal notes about the evidence\").optional(),\n ip_address: z.string().describe(\"The customer's IP address\").optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").optional(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location. Required if there's an additional_evidence_country\").optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").optional(),\n}).describe(\"Request model for updating an evidence object. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateEvidenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the evidence object\").nullable(),\n url: z.string().describe(\"URI of the evidence object\").nullable().optional(),\n notes: z.string().describe(\"Internal notes about the evidence\").nullable().optional(),\n state: z.enum([\"unsettled\", \"conflicting\", \"confirmed\"]).describe(\"State of the evidence: 'unsettled', 'conflicting', or 'confirmed'\").nullable(),\n created_at: z.number().int().describe(\"Time at which the object was created. Measured in seconds since the Unix epoch\").nullable().optional(),\n ip_address: z.string().describe(\"The customer's IP address\").nullable().optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").nullable().optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").nullable(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").nullable().optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").nullable().optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location\").nullable().optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").nullable().optional(),\n}).describe(\"Response model for an updated evidence object.\");\n\nexport const quadernoUpdateEvidence = action(\"QUADERNO_UPDATE_EVIDENCE\", {\n slug: \"quaderno-update-evidence\",\n name: \"Update Evidence\",\n description: \"Tool to update an evidence object. Use when you need to modify location proofs (billing country, IP address, bank country, notes) for tax compliance records.\",\n input: QuadernoUpdateEvidenceInput,\n output: QuadernoUpdateEvidenceOutput,\n});\n"],"mappings":";;AA8BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9ByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC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,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,6BAA6B,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-evidence.mjs","names":[],"sources":["../../src/actions/update-evidence.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateEvidenceInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the evidence object to update\"),\n notes: z.string().describe(\"Internal notes about the evidence\").optional(),\n ip_address: z.string().describe(\"The customer's IP address\").optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").optional(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location. Required if there's an additional_evidence_country\").optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").optional(),\n}).describe(\"Request model for updating an evidence object. Include only fields to modify;\\nunspecified fields remain unchanged.\");\nexport const QuadernoUpdateEvidenceOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the evidence object\").nullable(),\n url: z.string().describe(\"URI of the evidence object\").nullable().optional(),\n notes: z.string().describe(\"Internal notes about the evidence\").nullable().optional(),\n state: z.enum([\"unsettled\", \"conflicting\", \"confirmed\"]).describe(\"State of the evidence: 'unsettled', 'conflicting', or 'confirmed'\").nullable(),\n created_at: z.number().int().describe(\"Time at which the object was created. Measured in seconds since the Unix epoch\").nullable().optional(),\n ip_address: z.string().describe(\"The customer's IP address\").nullable().optional(),\n ip_country: z.string().describe(\"2-letter ISO 3166-1 code for the IP country\").nullable().optional(),\n document_id: z.number().int().describe(\"Unique identifier for the related invoice\").nullable(),\n bank_country: z.string().describe(\"2-letter ISO 3166-1 code of the customer's bank country\").nullable().optional(),\n billing_country: z.string().describe(\"2-letter ISO 3166-1 code of the billing country\").nullable().optional(),\n additional_evidence: z.string().describe(\"Additional evidence used to proof the customer's location\").nullable().optional(),\n additional_evidence_country: z.string().describe(\"2-letter ISO 3166-1 code for the additional evidence country\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated evidence object.\");\n\nexport const quadernoUpdateEvidence = action(\"QUADERNO_UPDATE_EVIDENCE\", {\n slug: \"quaderno-update-evidence\",\n name: \"Update Evidence\",\n description: \"Tool to update an evidence object. Use when you need to modify location proofs (billing country, IP address, bank country, notes) for tax compliance records.\",\n input: QuadernoUpdateEvidenceInput,\n output: QuadernoUpdateEvidenceOutput,\n});\n"],"mappings":";;AA8BA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9ByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACjG,qBAAqB,EAAE,OAAO,CAAC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C,SAAS,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -32,7 +32,7 @@ const QuadernoUpdateExpense_ExpenseItemSchema = zod.z.object({
32
32
  gross_amount_cents: zod.z.number().int().describe("Gross amount in cents").nullable(),
33
33
  tax_1_transaction_type: zod.z.string().describe("Transaction type for first tax").nullable().optional(),
34
34
  tax_2_transaction_type: zod.z.string().describe("Transaction type for second tax").nullable().optional()
35
- }).describe("Line item within an expense");
35
+ }).passthrough().describe("Line item within an expense");
36
36
  const QuadernoUpdateExpense_ContactSchema = zod.z.object({
37
37
  id: zod.z.number().int().describe("Unique identifier for the contact").nullable(),
38
38
  web: zod.z.string().describe("Website URL").nullable().optional(),
@@ -56,7 +56,7 @@ const QuadernoUpdateExpense_ContactSchema = zod.z.object({
56
56
  street_line_1: zod.z.string().describe("Street address line 1").nullable().optional(),
57
57
  street_line_2: zod.z.string().describe("Street address line 2").nullable().optional(),
58
58
  contact_person: zod.z.string().describe("Contact person name").nullable().optional()
59
- }).describe("Contact information associated with an expense");
59
+ }).passthrough().describe("Contact information associated with an expense");
60
60
  const QuadernoUpdateExpense_PaymentSchema = zod.z.object({
61
61
  id: zod.z.number().int().describe("Unique identifier for the payment").nullable(),
62
62
  url: zod.z.string().describe("API URL for this payment").nullable(),
@@ -65,7 +65,7 @@ const QuadernoUpdateExpense_PaymentSchema = zod.z.object({
65
65
  amount_cents: zod.z.number().int().describe("Payment amount in cents").nullable(),
66
66
  processor_id: zod.z.string().describe("ID in payment processor").nullable().optional(),
67
67
  payment_method: zod.z.string().describe("Method of payment (e.g., credit_card)").nullable()
68
- }).describe("Payment information for an expense");
68
+ }).passthrough().describe("Payment information for an expense");
69
69
  const QuadernoUpdateExpenseOutput = zod.z.object({
70
70
  id: zod.z.number().int().describe("Unique identifier for the expense").nullable(),
71
71
  url: zod.z.string().describe("API URL for this expense").nullable(),
@@ -93,7 +93,7 @@ const QuadernoUpdateExpenseOutput = zod.z.object({
93
93
  discount_cents: zod.z.number().int().describe("Total discount in cents").nullable(),
94
94
  subtotal_cents: zod.z.number().int().describe("Subtotal amount in cents").nullable(),
95
95
  custom_metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom metadata")
96
- }).describe("Complete expense object returned by the Quaderno API");
96
+ }).passthrough().describe("Complete expense object returned by the Quaderno API");
97
97
  const quadernoUpdateExpense = require_action.action("QUADERNO_UPDATE_EXPENSE", {
98
98
  slug: "quaderno-update-expense",
99
99
  name: "Update Expense",
@@ -1 +1 @@
1
- {"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n notes: z.string().describe(\"Extra notes about the expense\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,corporate')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the expense\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n}).describe(\"Request model for updating an expense. Include only fields to modify; unspecified fields remain unchanged.\");\nconst QuadernoUpdateExpense_ExpenseItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the item\").nullable(),\n quantity: z.number().describe(\"Quantity of items\").nullable(),\n reference: z.string().describe(\"Item reference\").nullable().optional(),\n tax_1_name: z.string().describe(\"Name of first tax\").nullable().optional(),\n tax_1_rate: z.number().describe(\"Rate of first tax\").nullable().optional(),\n tax_2_name: z.string().describe(\"Name of second tax\").nullable().optional(),\n tax_2_rate: z.number().describe(\"Rate of second tax\").nullable().optional(),\n description: z.string().describe(\"Description of the item\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n tax_1_region: z.string().describe(\"Region for first tax\").nullable().optional(),\n tax_2_region: z.string().describe(\"Region for second tax\").nullable().optional(),\n discount_rate: z.number().describe(\"Discount rate as decimal\").nullable(),\n tax_1_country: z.string().describe(\"Country for first tax\").nullable().optional(),\n tax_2_country: z.string().describe(\"Country for second tax\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable(),\n tax_1_transaction_type: z.string().describe(\"Transaction type for first tax\").nullable().optional(),\n tax_2_transaction_type: z.string().describe(\"Transaction type for second tax\").nullable().optional(),\n}).describe(\"Line item within an expense\");\nconst QuadernoUpdateExpense_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact\").nullable(),\n web: z.string().describe(\"Website URL\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (company, person)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n phone_1: z.string().describe(\"Primary phone number\").nullable().optional(),\n language: z.string().describe(\"Language code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n permalink: z.string().describe(\"Permalink URL\").nullable().optional(),\n processor: z.string().describe(\"Payment processor\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n department: z.string().describe(\"Department\").nullable().optional(),\n tax_status: z.string().describe(\"Tax status\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n processor_id: z.string().describe(\"ID in payment processor\").nullable().optional(),\n street_line_1: z.string().describe(\"Street address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Street address line 2\").nullable().optional(),\n contact_person: z.string().describe(\"Contact person name\").nullable().optional(),\n}).describe(\"Contact information associated with an expense\");\nconst QuadernoUpdateExpense_PaymentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the payment\").nullable(),\n url: z.string().describe(\"API URL for this payment\").nullable(),\n date: z.string().describe(\"Payment date (YYYY-MM-DD)\").nullable(),\n processor: z.string().describe(\"Payment processor\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Payment amount in cents\").nullable(),\n processor_id: z.string().describe(\"ID in payment processor\").nullable().optional(),\n payment_method: z.string().describe(\"Method of payment (e.g., credit_card)\").nullable(),\n}).describe(\"Payment information for an expense\");\nexport const QuadernoUpdateExpenseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the expense\").nullable(),\n url: z.string().describe(\"API URL for this expense\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n items: z.array(QuadernoUpdateExpense_ExpenseItemSchema).describe(\"Line items in the expense\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"State of the expense (e.g., paid, outstanding)\").nullable(),\n taxes: z.array(z.record(z.string(), z.unknown())).describe(\"Tax information\"),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n blocked: z.boolean().describe(\"Whether the expense is blocked\").nullable(),\n contact: QuadernoUpdateExpense_ContactSchema.nullable(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n subject: z.string().describe(\"Subject of the expense\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n payments: z.array(QuadernoUpdateExpense_PaymentSchema).describe(\"Payment records for this expense\"),\n tag_list: z.array(z.string()).describe(\"List of tags\"),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n issue_date: z.string().describe(\"Issue date of the expense (YYYY-MM-DD)\").nullable(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Street address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Street address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable(),\n subtotal_cents: z.number().int().describe(\"Subtotal amount in cents\").nullable(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata\"),\n}).describe(\"Complete expense object returned by the Quaderno API\");\n\nexport const quadernoUpdateExpense = action(\"QUADERNO_UPDATE_EXPENSE\", {\n slug: \"quaderno-update-expense\",\n name: \"Update Expense\",\n description: \"Updates an existing expense in Quaderno by modifying allowed fields. This action sends a PUT request to /expenses/{id}.json and returns the complete updated expense. Only specific fields can be modified: purchase order number (po_number), tags (tag_list), payment details (payment_details), notes, billing address (street_line_1, street_line_2), and custom metadata. Use this when you need to add or modify administrative information on an expense. Fields not specified in the request remain unchanged.\",\n input: QuadernoUpdateExpenseInput,\n output: QuadernoUpdateExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACtE,i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C,SAAS,iBAAiB;AAC/E,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-expense.cjs","names":["z","action"],"sources":["../../src/actions/update-expense.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const QuadernoUpdateExpenseInput = z.object({\n id: z.number().int().describe(\"ID of the expense to update\"),\n notes: z.string().describe(\"Extra notes about the expense\").optional(),\n tag_list: z.string().describe(\"Comma-separated list of tags (e.g., 'urgent,Q1-2026,corporate')\").optional(),\n po_number: z.string().describe(\"Purchase order number\").optional(),\n street_line_1: z.string().describe(\"Billing address line 1\").optional(),\n street_line_2: z.string().describe(\"Billing address line 2\").optional(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom key-value metadata attached to the expense\").optional(),\n payment_details: z.string().describe(\"Details about accepted payment methods\").optional(),\n}).describe(\"Request model for updating an expense. Include only fields to modify; unspecified fields remain unchanged.\");\nconst QuadernoUpdateExpense_ExpenseItemSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the item\").nullable(),\n quantity: z.number().describe(\"Quantity of items\").nullable(),\n reference: z.string().describe(\"Item reference\").nullable().optional(),\n tax_1_name: z.string().describe(\"Name of first tax\").nullable().optional(),\n tax_1_rate: z.number().describe(\"Rate of first tax\").nullable().optional(),\n tax_2_name: z.string().describe(\"Name of second tax\").nullable().optional(),\n tax_2_rate: z.number().describe(\"Rate of second tax\").nullable().optional(),\n description: z.string().describe(\"Description of the item\").nullable(),\n product_code: z.string().describe(\"Product code\").nullable().optional(),\n tax_1_region: z.string().describe(\"Region for first tax\").nullable().optional(),\n tax_2_region: z.string().describe(\"Region for second tax\").nullable().optional(),\n discount_rate: z.number().describe(\"Discount rate as decimal\").nullable(),\n tax_1_country: z.string().describe(\"Country for first tax\").nullable().optional(),\n tax_2_country: z.string().describe(\"Country for second tax\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Discount amount in cents\").nullable(),\n subtotal_cents: z.number().int().describe(\"Subtotal in cents\").nullable(),\n unit_price_cents: z.number().int().describe(\"Unit price in cents\").nullable(),\n gross_amount_cents: z.number().int().describe(\"Gross amount in cents\").nullable(),\n tax_1_transaction_type: z.string().describe(\"Transaction type for first tax\").nullable().optional(),\n tax_2_transaction_type: z.string().describe(\"Transaction type for second tax\").nullable().optional(),\n}).passthrough().describe(\"Line item within an expense\");\nconst QuadernoUpdateExpense_ContactSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the contact\").nullable(),\n web: z.string().describe(\"Website URL\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n kind: z.string().describe(\"Type of contact (company, person)\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n phone_1: z.string().describe(\"Primary phone number\").nullable().optional(),\n language: z.string().describe(\"Language code\").nullable().optional(),\n full_name: z.string().describe(\"Full name of the contact\").nullable(),\n permalink: z.string().describe(\"Permalink URL\").nullable().optional(),\n processor: z.string().describe(\"Payment processor\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable().optional(),\n department: z.string().describe(\"Department\").nullable().optional(),\n tax_status: z.string().describe(\"Tax status\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n processor_id: z.string().describe(\"ID in payment processor\").nullable().optional(),\n street_line_1: z.string().describe(\"Street address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Street address line 2\").nullable().optional(),\n contact_person: z.string().describe(\"Contact person name\").nullable().optional(),\n}).passthrough().describe(\"Contact information associated with an expense\");\nconst QuadernoUpdateExpense_PaymentSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the payment\").nullable(),\n url: z.string().describe(\"API URL for this payment\").nullable(),\n date: z.string().describe(\"Payment date (YYYY-MM-DD)\").nullable(),\n processor: z.string().describe(\"Payment processor\").nullable().optional(),\n amount_cents: z.number().int().describe(\"Payment amount in cents\").nullable(),\n processor_id: z.string().describe(\"ID in payment processor\").nullable().optional(),\n payment_method: z.string().describe(\"Method of payment (e.g., credit_card)\").nullable(),\n}).passthrough().describe(\"Payment information for an expense\");\nexport const QuadernoUpdateExpenseOutput = z.object({\n id: z.number().int().describe(\"Unique identifier for the expense\").nullable(),\n url: z.string().describe(\"API URL for this expense\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n items: z.array(QuadernoUpdateExpense_ExpenseItemSchema).describe(\"Line items in the expense\"),\n notes: z.string().describe(\"Additional notes\").nullable().optional(),\n state: z.string().describe(\"State of the expense (e.g., paid, outstanding)\").nullable(),\n taxes: z.array(z.record(z.string(), z.unknown())).describe(\"Tax information\"),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n blocked: z.boolean().describe(\"Whether the expense is blocked\").nullable(),\n contact: QuadernoUpdateExpense_ContactSchema.nullable(),\n country: z.string().describe(\"Country code\").nullable().optional(),\n subject: z.string().describe(\"Subject of the expense\").nullable().optional(),\n currency: z.string().describe(\"Currency code (e.g., USD, EUR)\").nullable(),\n payments: z.array(QuadernoUpdateExpense_PaymentSchema).describe(\"Payment records for this expense\"),\n tag_list: z.array(z.string()).describe(\"List of tags\"),\n po_number: z.string().describe(\"Purchase order number\").nullable().optional(),\n created_at: z.number().int().describe(\"Unix timestamp of creation\").nullable(),\n issue_date: z.string().describe(\"Issue date of the expense (YYYY-MM-DD)\").nullable(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n total_cents: z.number().int().describe(\"Total amount in cents\").nullable(),\n street_line_1: z.string().describe(\"Street address line 1\").nullable().optional(),\n street_line_2: z.string().describe(\"Street address line 2\").nullable().optional(),\n discount_cents: z.number().int().describe(\"Total discount in cents\").nullable(),\n subtotal_cents: z.number().int().describe(\"Subtotal amount in cents\").nullable(),\n custom_metadata: z.record(z.string(), z.unknown()).describe(\"Custom metadata\"),\n}).passthrough().describe(\"Complete expense object returned by the Quaderno API\");\n\nexport const quadernoUpdateExpense = action(\"QUADERNO_UPDATE_EXPENSE\", {\n slug: \"quaderno-update-expense\",\n name: \"Update Expense\",\n description: \"Updates an existing expense in Quaderno by modifying allowed fields. This action sends a PUT request to /expenses/{id}.json and returns the complete updated expense. Only specific fields can be modified: purchase order number (po_number), tags (tag_list), payment details (payment_details), notes, billing address (street_line_1, street_line_2), and custom metadata. Use this when you need to add or modify administrative information on an expense. Fields not specified in the request remain unchanged.\",\n input: QuadernoUpdateExpenseInput,\n output: QuadernoUpdateExpenseOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACjE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACtE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACtE,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CA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