@keystrokehq/proabono 0.1.2 → 0.1.4

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 (391) hide show
  1. package/dist/actions/anonymize-customer.cjs +2 -2
  2. package/dist/actions/anonymize-customer.cjs.map +1 -1
  3. package/dist/actions/anonymize-customer.d.cts +2 -2
  4. package/dist/actions/anonymize-customer.d.mts +2 -2
  5. package/dist/actions/anonymize-customer.mjs +2 -2
  6. package/dist/actions/anonymize-customer.mjs.map +1 -1
  7. package/dist/actions/bill-customer.cjs +1 -1
  8. package/dist/actions/bill-customer.cjs.map +1 -1
  9. package/dist/actions/bill-customer.d.cts +1 -1
  10. package/dist/actions/bill-customer.d.mts +1 -1
  11. package/dist/actions/bill-customer.mjs +1 -1
  12. package/dist/actions/bill-customer.mjs.map +1 -1
  13. package/dist/actions/create-customer.cjs +4 -4
  14. package/dist/actions/create-customer.cjs.map +1 -1
  15. package/dist/actions/create-customer.d.cts +5 -5
  16. package/dist/actions/create-customer.d.mts +5 -5
  17. package/dist/actions/create-customer.mjs +4 -4
  18. package/dist/actions/create-customer.mjs.map +1 -1
  19. package/dist/actions/create-feature.cjs +2 -2
  20. package/dist/actions/create-feature.cjs.map +1 -1
  21. package/dist/actions/create-feature.d.cts +2 -2
  22. package/dist/actions/create-feature.d.mts +2 -2
  23. package/dist/actions/create-feature.mjs +2 -2
  24. package/dist/actions/create-feature.mjs.map +1 -1
  25. package/dist/actions/delete-customer.cjs +1 -1
  26. package/dist/actions/delete-customer.cjs.map +1 -1
  27. package/dist/actions/delete-customer.d.cts +1 -1
  28. package/dist/actions/delete-customer.d.mts +1 -1
  29. package/dist/actions/delete-customer.mjs +1 -1
  30. package/dist/actions/delete-customer.mjs.map +1 -1
  31. package/dist/actions/delete-offer.cjs +1 -1
  32. package/dist/actions/delete-offer.cjs.map +1 -1
  33. package/dist/actions/delete-offer.d.cts +1 -1
  34. package/dist/actions/delete-offer.d.mts +1 -1
  35. package/dist/actions/delete-offer.mjs +1 -1
  36. package/dist/actions/delete-offer.mjs.map +1 -1
  37. package/dist/actions/delete-pricing-table-offer.cjs +1 -1
  38. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
  39. package/dist/actions/delete-pricing-table-offer.d.cts +1 -1
  40. package/dist/actions/delete-pricing-table-offer.d.mts +1 -1
  41. package/dist/actions/delete-pricing-table-offer.mjs +1 -1
  42. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
  43. package/dist/actions/delete-pricing-table.cjs +1 -1
  44. package/dist/actions/delete-pricing-table.cjs.map +1 -1
  45. package/dist/actions/delete-pricing-table.d.cts +1 -1
  46. package/dist/actions/delete-pricing-table.d.mts +1 -1
  47. package/dist/actions/delete-pricing-table.mjs +1 -1
  48. package/dist/actions/delete-pricing-table.mjs.map +1 -1
  49. package/dist/actions/delete-subscription-discount.cjs +1 -1
  50. package/dist/actions/delete-subscription-discount.cjs.map +1 -1
  51. package/dist/actions/delete-subscription-discount.d.cts +1 -1
  52. package/dist/actions/delete-subscription-discount.d.mts +1 -1
  53. package/dist/actions/delete-subscription-discount.mjs +1 -1
  54. package/dist/actions/delete-subscription-discount.mjs.map +1 -1
  55. package/dist/actions/enable-webhook.cjs +1 -1
  56. package/dist/actions/enable-webhook.cjs.map +1 -1
  57. package/dist/actions/enable-webhook.d.cts +1 -1
  58. package/dist/actions/enable-webhook.d.mts +1 -1
  59. package/dist/actions/enable-webhook.mjs +1 -1
  60. package/dist/actions/enable-webhook.mjs.map +1 -1
  61. package/dist/actions/get-customer-billing-address.cjs +1 -1
  62. package/dist/actions/get-customer-billing-address.cjs.map +1 -1
  63. package/dist/actions/get-customer-billing-address.d.cts +1 -1
  64. package/dist/actions/get-customer-billing-address.d.mts +1 -1
  65. package/dist/actions/get-customer-billing-address.mjs +1 -1
  66. package/dist/actions/get-customer-billing-address.mjs.map +1 -1
  67. package/dist/actions/get-customer-billing.cjs +2 -2
  68. package/dist/actions/get-customer-billing.cjs.map +1 -1
  69. package/dist/actions/get-customer-billing.d.cts +2 -2
  70. package/dist/actions/get-customer-billing.d.mts +2 -2
  71. package/dist/actions/get-customer-billing.mjs +2 -2
  72. package/dist/actions/get-customer-billing.mjs.map +1 -1
  73. package/dist/actions/get-customer-by-reference.cjs +3 -3
  74. package/dist/actions/get-customer-by-reference.cjs.map +1 -1
  75. package/dist/actions/get-customer-by-reference.d.cts +3 -3
  76. package/dist/actions/get-customer-by-reference.d.mts +3 -3
  77. package/dist/actions/get-customer-by-reference.mjs +3 -3
  78. package/dist/actions/get-customer-by-reference.mjs.map +1 -1
  79. package/dist/actions/get-customer-payment-settings.cjs +1 -1
  80. package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
  81. package/dist/actions/get-customer-payment-settings.d.cts +1 -1
  82. package/dist/actions/get-customer-payment-settings.d.mts +1 -1
  83. package/dist/actions/get-customer-payment-settings.mjs +1 -1
  84. package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
  85. package/dist/actions/get-customer.cjs +2 -2
  86. package/dist/actions/get-customer.cjs.map +1 -1
  87. package/dist/actions/get-customer.d.cts +2 -2
  88. package/dist/actions/get-customer.d.mts +2 -2
  89. package/dist/actions/get-customer.mjs +2 -2
  90. package/dist/actions/get-customer.mjs.map +1 -1
  91. package/dist/actions/get-discount.cjs +2 -2
  92. package/dist/actions/get-discount.cjs.map +1 -1
  93. package/dist/actions/get-discount.d.cts +2 -2
  94. package/dist/actions/get-discount.d.mts +2 -2
  95. package/dist/actions/get-discount.mjs +2 -2
  96. package/dist/actions/get-discount.mjs.map +1 -1
  97. package/dist/actions/get-feature.cjs +2 -2
  98. package/dist/actions/get-feature.cjs.map +1 -1
  99. package/dist/actions/get-feature.d.cts +2 -2
  100. package/dist/actions/get-feature.d.mts +2 -2
  101. package/dist/actions/get-feature.mjs +2 -2
  102. package/dist/actions/get-feature.mjs.map +1 -1
  103. package/dist/actions/get-invoice.cjs +2 -2
  104. package/dist/actions/get-invoice.cjs.map +1 -1
  105. package/dist/actions/get-invoice.d.cts +2 -2
  106. package/dist/actions/get-invoice.d.mts +2 -2
  107. package/dist/actions/get-invoice.mjs +2 -2
  108. package/dist/actions/get-invoice.mjs.map +1 -1
  109. package/dist/actions/get-offer.cjs +2 -2
  110. package/dist/actions/get-offer.cjs.map +1 -1
  111. package/dist/actions/get-offer.d.cts +2 -2
  112. package/dist/actions/get-offer.d.mts +2 -2
  113. package/dist/actions/get-offer.mjs +2 -2
  114. package/dist/actions/get-offer.mjs.map +1 -1
  115. package/dist/actions/get-subscription-by-customer.cjs +3 -3
  116. package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
  117. package/dist/actions/get-subscription-by-customer.d.cts +3 -3
  118. package/dist/actions/get-subscription-by-customer.d.mts +3 -3
  119. package/dist/actions/get-subscription-by-customer.mjs +3 -3
  120. package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
  121. package/dist/actions/get-subscription-creation-quote.cjs +3 -3
  122. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
  123. package/dist/actions/get-subscription-creation-quote.d.cts +4 -4
  124. package/dist/actions/get-subscription-creation-quote.d.mts +4 -4
  125. package/dist/actions/get-subscription-creation-quote.mjs +3 -3
  126. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
  127. package/dist/actions/get-usage.cjs +1 -1
  128. package/dist/actions/get-usage.cjs.map +1 -1
  129. package/dist/actions/get-usage.d.cts +1 -1
  130. package/dist/actions/get-usage.d.mts +1 -1
  131. package/dist/actions/get-usage.mjs +1 -1
  132. package/dist/actions/get-usage.mjs.map +1 -1
  133. package/dist/actions/get-usages-for-customer.cjs +3 -3
  134. package/dist/actions/get-usages-for-customer.cjs.map +1 -1
  135. package/dist/actions/get-usages-for-customer.d.cts +3 -3
  136. package/dist/actions/get-usages-for-customer.d.mts +3 -3
  137. package/dist/actions/get-usages-for-customer.mjs +3 -3
  138. package/dist/actions/get-usages-for-customer.mjs.map +1 -1
  139. package/dist/actions/invalidate-customer-by-id.cjs +2 -2
  140. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
  141. package/dist/actions/invalidate-customer-by-id.d.cts +2 -2
  142. package/dist/actions/invalidate-customer-by-id.d.mts +2 -2
  143. package/dist/actions/invalidate-customer-by-id.mjs +2 -2
  144. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
  145. package/dist/actions/invalidate-customer.cjs +2 -2
  146. package/dist/actions/invalidate-customer.cjs.map +1 -1
  147. package/dist/actions/invalidate-customer.d.cts +2 -2
  148. package/dist/actions/invalidate-customer.d.mts +2 -2
  149. package/dist/actions/invalidate-customer.mjs +2 -2
  150. package/dist/actions/invalidate-customer.mjs.map +1 -1
  151. package/dist/actions/list-balance-lines.cjs +3 -3
  152. package/dist/actions/list-balance-lines.cjs.map +1 -1
  153. package/dist/actions/list-balance-lines.d.cts +4 -4
  154. package/dist/actions/list-balance-lines.d.mts +4 -4
  155. package/dist/actions/list-balance-lines.mjs +3 -3
  156. package/dist/actions/list-balance-lines.mjs.map +1 -1
  157. package/dist/actions/list-business-localization.cjs +2 -2
  158. package/dist/actions/list-business-localization.cjs.map +1 -1
  159. package/dist/actions/list-business-localization.d.cts +2 -2
  160. package/dist/actions/list-business-localization.d.mts +2 -2
  161. package/dist/actions/list-business-localization.mjs +2 -2
  162. package/dist/actions/list-business-localization.mjs.map +1 -1
  163. package/dist/actions/list-businesses.cjs +3 -3
  164. package/dist/actions/list-businesses.cjs.map +1 -1
  165. package/dist/actions/list-businesses.d.cts +4 -4
  166. package/dist/actions/list-businesses.d.mts +4 -4
  167. package/dist/actions/list-businesses.mjs +3 -3
  168. package/dist/actions/list-businesses.mjs.map +1 -1
  169. package/dist/actions/list-customer-moves.cjs +3 -3
  170. package/dist/actions/list-customer-moves.cjs.map +1 -1
  171. package/dist/actions/list-customer-moves.d.cts +3 -3
  172. package/dist/actions/list-customer-moves.d.mts +3 -3
  173. package/dist/actions/list-customer-moves.mjs +3 -3
  174. package/dist/actions/list-customer-moves.mjs.map +1 -1
  175. package/dist/actions/list-customers-by-feature.cjs +2 -2
  176. package/dist/actions/list-customers-by-feature.cjs.map +1 -1
  177. package/dist/actions/list-customers-by-feature.d.cts +2 -2
  178. package/dist/actions/list-customers-by-feature.d.mts +2 -2
  179. package/dist/actions/list-customers-by-feature.mjs +2 -2
  180. package/dist/actions/list-customers-by-feature.mjs.map +1 -1
  181. package/dist/actions/list-customers.cjs +4 -4
  182. package/dist/actions/list-customers.cjs.map +1 -1
  183. package/dist/actions/list-customers.d.cts +4 -4
  184. package/dist/actions/list-customers.d.mts +4 -4
  185. package/dist/actions/list-customers.mjs +4 -4
  186. package/dist/actions/list-customers.mjs.map +1 -1
  187. package/dist/actions/list-discounts.cjs +4 -4
  188. package/dist/actions/list-discounts.cjs.map +1 -1
  189. package/dist/actions/list-discounts.d.cts +4 -4
  190. package/dist/actions/list-discounts.d.mts +4 -4
  191. package/dist/actions/list-discounts.mjs +4 -4
  192. package/dist/actions/list-discounts.mjs.map +1 -1
  193. package/dist/actions/list-features.cjs +4 -4
  194. package/dist/actions/list-features.cjs.map +1 -1
  195. package/dist/actions/list-features.d.cts +4 -4
  196. package/dist/actions/list-features.d.mts +4 -4
  197. package/dist/actions/list-features.mjs +4 -4
  198. package/dist/actions/list-features.mjs.map +1 -1
  199. package/dist/actions/list-gateway-accounts.cjs +5 -5
  200. package/dist/actions/list-gateway-accounts.cjs.map +1 -1
  201. package/dist/actions/list-gateway-accounts.d.cts +5 -5
  202. package/dist/actions/list-gateway-accounts.d.mts +5 -5
  203. package/dist/actions/list-gateway-accounts.mjs +5 -5
  204. package/dist/actions/list-gateway-accounts.mjs.map +1 -1
  205. package/dist/actions/list-gateway-permissions.cjs +3 -3
  206. package/dist/actions/list-gateway-permissions.cjs.map +1 -1
  207. package/dist/actions/list-gateway-permissions.d.cts +4 -4
  208. package/dist/actions/list-gateway-permissions.d.mts +4 -4
  209. package/dist/actions/list-gateway-permissions.mjs +3 -3
  210. package/dist/actions/list-gateway-permissions.mjs.map +1 -1
  211. package/dist/actions/list-gateway-requests.cjs +4 -4
  212. package/dist/actions/list-gateway-requests.cjs.map +1 -1
  213. package/dist/actions/list-gateway-requests.d.cts +4 -4
  214. package/dist/actions/list-gateway-requests.d.mts +4 -4
  215. package/dist/actions/list-gateway-requests.mjs +4 -4
  216. package/dist/actions/list-gateway-requests.mjs.map +1 -1
  217. package/dist/actions/list-gateway-transactions.cjs +4 -4
  218. package/dist/actions/list-gateway-transactions.cjs.map +1 -1
  219. package/dist/actions/list-gateway-transactions.d.cts +4 -4
  220. package/dist/actions/list-gateway-transactions.d.mts +4 -4
  221. package/dist/actions/list-gateway-transactions.mjs +4 -4
  222. package/dist/actions/list-gateway-transactions.mjs.map +1 -1
  223. package/dist/actions/list-invoice-lines.cjs +2 -2
  224. package/dist/actions/list-invoice-lines.cjs.map +1 -1
  225. package/dist/actions/list-invoice-lines.d.cts +2 -2
  226. package/dist/actions/list-invoice-lines.d.mts +2 -2
  227. package/dist/actions/list-invoice-lines.mjs +2 -2
  228. package/dist/actions/list-invoice-lines.mjs.map +1 -1
  229. package/dist/actions/list-invoices-by-customer.cjs +3 -3
  230. package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
  231. package/dist/actions/list-invoices-by-customer.d.cts +4 -4
  232. package/dist/actions/list-invoices-by-customer.d.mts +4 -4
  233. package/dist/actions/list-invoices-by-customer.mjs +3 -3
  234. package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
  235. package/dist/actions/list-invoices.cjs +3 -3
  236. package/dist/actions/list-invoices.cjs.map +1 -1
  237. package/dist/actions/list-invoices.d.cts +4 -4
  238. package/dist/actions/list-invoices.d.mts +4 -4
  239. package/dist/actions/list-invoices.mjs +3 -3
  240. package/dist/actions/list-invoices.mjs.map +1 -1
  241. package/dist/actions/list-offers.cjs +3 -3
  242. package/dist/actions/list-offers.cjs.map +1 -1
  243. package/dist/actions/list-offers.d.cts +4 -4
  244. package/dist/actions/list-offers.d.mts +4 -4
  245. package/dist/actions/list-offers.mjs +3 -3
  246. package/dist/actions/list-offers.mjs.map +1 -1
  247. package/dist/actions/list-payments.cjs +3 -3
  248. package/dist/actions/list-payments.cjs.map +1 -1
  249. package/dist/actions/list-payments.d.cts +4 -4
  250. package/dist/actions/list-payments.d.mts +4 -4
  251. package/dist/actions/list-payments.mjs +3 -3
  252. package/dist/actions/list-payments.mjs.map +1 -1
  253. package/dist/actions/list-pricing-table-offers.cjs +3 -3
  254. package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
  255. package/dist/actions/list-pricing-table-offers.d.cts +4 -4
  256. package/dist/actions/list-pricing-table-offers.d.mts +4 -4
  257. package/dist/actions/list-pricing-table-offers.mjs +3 -3
  258. package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
  259. package/dist/actions/list-pricing-tables.cjs +3 -3
  260. package/dist/actions/list-pricing-tables.cjs.map +1 -1
  261. package/dist/actions/list-pricing-tables.d.cts +4 -4
  262. package/dist/actions/list-pricing-tables.d.mts +4 -4
  263. package/dist/actions/list-pricing-tables.mjs +3 -3
  264. package/dist/actions/list-pricing-tables.mjs.map +1 -1
  265. package/dist/actions/list-segment-localizations.cjs +2 -2
  266. package/dist/actions/list-segment-localizations.cjs.map +1 -1
  267. package/dist/actions/list-segment-localizations.d.cts +2 -2
  268. package/dist/actions/list-segment-localizations.d.mts +2 -2
  269. package/dist/actions/list-segment-localizations.mjs +2 -2
  270. package/dist/actions/list-segment-localizations.mjs.map +1 -1
  271. package/dist/actions/list-segments.cjs +4 -4
  272. package/dist/actions/list-segments.cjs.map +1 -1
  273. package/dist/actions/list-segments.d.cts +4 -4
  274. package/dist/actions/list-segments.d.mts +4 -4
  275. package/dist/actions/list-segments.mjs +4 -4
  276. package/dist/actions/list-segments.mjs.map +1 -1
  277. package/dist/actions/list-subscription-discounts.cjs +4 -4
  278. package/dist/actions/list-subscription-discounts.cjs.map +1 -1
  279. package/dist/actions/list-subscription-discounts.d.cts +4 -4
  280. package/dist/actions/list-subscription-discounts.d.mts +4 -4
  281. package/dist/actions/list-subscription-discounts.mjs +4 -4
  282. package/dist/actions/list-subscription-discounts.mjs.map +1 -1
  283. package/dist/actions/list-subscription-features.cjs +4 -4
  284. package/dist/actions/list-subscription-features.cjs.map +1 -1
  285. package/dist/actions/list-subscription-features.d.cts +4 -4
  286. package/dist/actions/list-subscription-features.d.mts +4 -4
  287. package/dist/actions/list-subscription-features.mjs +4 -4
  288. package/dist/actions/list-subscription-features.mjs.map +1 -1
  289. package/dist/actions/list-subscription-periods.cjs +3 -3
  290. package/dist/actions/list-subscription-periods.cjs.map +1 -1
  291. package/dist/actions/list-subscription-periods.d.cts +4 -4
  292. package/dist/actions/list-subscription-periods.d.mts +4 -4
  293. package/dist/actions/list-subscription-periods.mjs +3 -3
  294. package/dist/actions/list-subscription-periods.mjs.map +1 -1
  295. package/dist/actions/list-subscriptions.cjs +4 -4
  296. package/dist/actions/list-subscriptions.cjs.map +1 -1
  297. package/dist/actions/list-subscriptions.d.cts +4 -4
  298. package/dist/actions/list-subscriptions.d.mts +4 -4
  299. package/dist/actions/list-subscriptions.mjs +4 -4
  300. package/dist/actions/list-subscriptions.mjs.map +1 -1
  301. package/dist/actions/list-tax-profile-exceptions.cjs +4 -4
  302. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
  303. package/dist/actions/list-tax-profile-exceptions.d.cts +4 -4
  304. package/dist/actions/list-tax-profile-exceptions.d.mts +4 -4
  305. package/dist/actions/list-tax-profile-exceptions.mjs +4 -4
  306. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
  307. package/dist/actions/list-tax-profiles.cjs +4 -4
  308. package/dist/actions/list-tax-profiles.cjs.map +1 -1
  309. package/dist/actions/list-tax-profiles.d.cts +4 -4
  310. package/dist/actions/list-tax-profiles.d.mts +4 -4
  311. package/dist/actions/list-tax-profiles.mjs +4 -4
  312. package/dist/actions/list-tax-profiles.mjs.map +1 -1
  313. package/dist/actions/list-upgrade-offers.cjs +5 -5
  314. package/dist/actions/list-upgrade-offers.cjs.map +1 -1
  315. package/dist/actions/list-upgrade-offers.d.cts +6 -6
  316. package/dist/actions/list-upgrade-offers.d.mts +6 -6
  317. package/dist/actions/list-upgrade-offers.mjs +5 -5
  318. package/dist/actions/list-upgrade-offers.mjs.map +1 -1
  319. package/dist/actions/list-webhook-notifications.cjs +4 -4
  320. package/dist/actions/list-webhook-notifications.cjs.map +1 -1
  321. package/dist/actions/list-webhook-notifications.d.cts +4 -4
  322. package/dist/actions/list-webhook-notifications.d.mts +4 -4
  323. package/dist/actions/list-webhook-notifications.mjs +4 -4
  324. package/dist/actions/list-webhook-notifications.mjs.map +1 -1
  325. package/dist/actions/list-webhooks.cjs +3 -3
  326. package/dist/actions/list-webhooks.cjs.map +1 -1
  327. package/dist/actions/list-webhooks.d.cts +4 -4
  328. package/dist/actions/list-webhooks.d.mts +4 -4
  329. package/dist/actions/list-webhooks.mjs +3 -3
  330. package/dist/actions/list-webhooks.mjs.map +1 -1
  331. package/dist/actions/quote-balance-line.cjs +2 -2
  332. package/dist/actions/quote-balance-line.cjs.map +1 -1
  333. package/dist/actions/quote-balance-line.d.cts +3 -3
  334. package/dist/actions/quote-balance-line.d.mts +3 -3
  335. package/dist/actions/quote-balance-line.mjs +2 -2
  336. package/dist/actions/quote-balance-line.mjs.map +1 -1
  337. package/dist/actions/revoke-customer-links.cjs +2 -2
  338. package/dist/actions/revoke-customer-links.cjs.map +1 -1
  339. package/dist/actions/revoke-customer-links.d.cts +2 -2
  340. package/dist/actions/revoke-customer-links.d.mts +2 -2
  341. package/dist/actions/revoke-customer-links.mjs +2 -2
  342. package/dist/actions/revoke-customer-links.mjs.map +1 -1
  343. package/dist/actions/update-businesses-billing-address.cjs +2 -2
  344. package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
  345. package/dist/actions/update-businesses-billing-address.d.cts +2 -2
  346. package/dist/actions/update-businesses-billing-address.d.mts +2 -2
  347. package/dist/actions/update-businesses-billing-address.mjs +2 -2
  348. package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
  349. package/dist/actions/update-customer-billing-address.cjs +1 -1
  350. package/dist/actions/update-customer-billing-address.cjs.map +1 -1
  351. package/dist/actions/update-customer-billing-address.d.cts +1 -1
  352. package/dist/actions/update-customer-billing-address.d.mts +1 -1
  353. package/dist/actions/update-customer-billing-address.mjs +1 -1
  354. package/dist/actions/update-customer-billing-address.mjs.map +1 -1
  355. package/dist/actions/update-customer-payment-settings.cjs +1 -1
  356. package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
  357. package/dist/actions/update-customer-payment-settings.d.cts +1 -1
  358. package/dist/actions/update-customer-payment-settings.d.mts +1 -1
  359. package/dist/actions/update-customer-payment-settings.mjs +1 -1
  360. package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
  361. package/dist/actions/update-customer-shipping.cjs +2 -2
  362. package/dist/actions/update-customer-shipping.cjs.map +1 -1
  363. package/dist/actions/update-customer-shipping.d.cts +2 -2
  364. package/dist/actions/update-customer-shipping.d.mts +2 -2
  365. package/dist/actions/update-customer-shipping.mjs +2 -2
  366. package/dist/actions/update-customer-shipping.mjs.map +1 -1
  367. package/dist/actions/update-customer.cjs +3 -3
  368. package/dist/actions/update-customer.cjs.map +1 -1
  369. package/dist/actions/update-customer.d.cts +3 -3
  370. package/dist/actions/update-customer.d.mts +3 -3
  371. package/dist/actions/update-customer.mjs +3 -3
  372. package/dist/actions/update-customer.mjs.map +1 -1
  373. package/dist/actions/update-feature.cjs +2 -2
  374. package/dist/actions/update-feature.cjs.map +1 -1
  375. package/dist/actions/update-feature.d.cts +2 -2
  376. package/dist/actions/update-feature.d.mts +2 -2
  377. package/dist/actions/update-feature.mjs +2 -2
  378. package/dist/actions/update-feature.mjs.map +1 -1
  379. package/dist/actions/update-tax-profiles.cjs +2 -2
  380. package/dist/actions/update-tax-profiles.cjs.map +1 -1
  381. package/dist/actions/update-tax-profiles.d.cts +2 -2
  382. package/dist/actions/update-tax-profiles.d.mts +2 -2
  383. package/dist/actions/update-tax-profiles.mjs +2 -2
  384. package/dist/actions/update-tax-profiles.mjs.map +1 -1
  385. package/dist/catalog.cjs +1 -1
  386. package/dist/catalog.cjs.map +1 -1
  387. package/dist/catalog.d.cts +1 -1
  388. package/dist/catalog.d.mts +1 -1
  389. package/dist/catalog.mjs +1 -1
  390. package/dist/catalog.mjs.map +1 -1
  391. package/package.json +1 -1
@@ -19,7 +19,7 @@ const ProabonoUpdateCustomerShippingInput = zod.z.object({
19
19
  const ProabonoUpdateCustomerShipping_LinkSchema = zod.z.object({
20
20
  rel: zod.z.string().describe("The relationship type of the link").nullable().optional(),
21
21
  href: zod.z.string().describe("The URL of the linked resource").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const ProabonoUpdateCustomerShippingOutput = zod.z.object({
24
24
  Id: zod.z.number().int().describe("Address object identifier").nullable().optional(),
25
25
  City: zod.z.string().describe("City name").nullable().optional(),
@@ -37,7 +37,7 @@ const ProabonoUpdateCustomerShippingOutput = zod.z.object({
37
37
  AddressLine2: zod.z.string().describe("Line 2 of the address").nullable().optional(),
38
38
  IdUserUpdate: zod.z.number().int().describe("User ID who last modified the address").nullable().optional(),
39
39
  TaxInformation: zod.z.string().describe("VAT ID or tax identification number").nullable().optional()
40
- });
40
+ }).passthrough();
41
41
  const proabonoUpdateCustomerShipping = require_action.action("PROABONO_UPDATE_CUSTOMER_SHIPPING", {
42
42
  slug: "proabono-update-customer-shipping",
43
43
  name: "Update Customer Shipping Address",
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-shipping.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n});\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n});\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,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AAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer-shipping.cjs","names":["z","action"],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,E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SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,7 +22,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
22
22
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  Region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  Company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -36,7 +36,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
36
36
  AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  Id: number;
42
42
  IdBusiness: number;
@@ -22,7 +22,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
22
22
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  Region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  Company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -36,7 +36,7 @@ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
36
36
  AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  Id: number;
42
42
  IdBusiness: number;
@@ -19,7 +19,7 @@ const ProabonoUpdateCustomerShippingInput = z.object({
19
19
  const ProabonoUpdateCustomerShipping_LinkSchema = z.object({
20
20
  rel: z.string().describe("The relationship type of the link").nullable().optional(),
21
21
  href: z.string().describe("The URL of the linked resource").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const proabonoUpdateCustomerShipping = action("PROABONO_UPDATE_CUSTOMER_SHIPPING", {
24
24
  slug: "proabono-update-customer-shipping",
25
25
  name: "Update Customer Shipping Address",
@@ -42,7 +42,7 @@ const proabonoUpdateCustomerShipping = action("PROABONO_UPDATE_CUSTOMER_SHIPPING
42
42
  AddressLine2: z.string().describe("Line 2 of the address").nullable().optional(),
43
43
  IdUserUpdate: z.number().int().describe("User ID who last modified the address").nullable().optional(),
44
44
  TaxInformation: z.string().describe("VAT ID or tax identification number").nullable().optional()
45
- })
45
+ }).passthrough()
46
46
  });
47
47
  //#endregion
48
48
  export { proabonoUpdateCustomerShipping };
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-shipping.mjs","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n});\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n});\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC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,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer-shipping.mjs","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerShippingInput = z.object({\n Id: z.number().int().describe(\"The customer ID whose shipping address to update\"),\n City: z.string().describe(\"City name\").optional(),\n Phone: z.string().describe(\"Phone number\").optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province code\").optional(),\n Company: z.string().describe(\"Company name\").optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n ZipCode: z.string().describe(\"Postal code\").optional(),\n LastName: z.string().describe(\"Last name\").optional(),\n FirstName: z.string().describe(\"First name\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business ID\"),\n AddressLine1: z.string().describe(\"Primary address line\").optional(),\n AddressLine2: z.string().describe(\"Secondary address line\").optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identifier\").optional(),\n});\nconst ProabonoUpdateCustomerShipping_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n}).passthrough();\nexport const ProabonoUpdateCustomerShippingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomerShipping_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoUpdateCustomerShipping = action(\"PROABONO_UPDATE_CUSTOMER_SHIPPING\", {\n slug: \"proabono-update-customer-shipping\",\n name: \"Update Customer Shipping Address\",\n description: \"Tool to update customer shipping address via the Backoffice API. Use when you need to modify shipping information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoUpdateCustomerShippingInput,\n output: ProabonoUpdateCustomerShippingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CACrD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CACxD,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CACnE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CACrE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAC3E,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAA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CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -13,7 +13,7 @@ const ProabonoUpdateCustomer_LinkSchema = zod.z.object({
13
13
  rel: zod.z.string().describe("Relationship type of the link").nullable().optional(),
14
14
  href: zod.z.string().describe("URL of the related resource").nullable().optional(),
15
15
  query: zod.z.string().describe("Query parameter for the related resource").nullable().optional()
16
- }).describe("Related resource link.");
16
+ }).passthrough().describe("Related resource link.");
17
17
  const ProabonoUpdateCustomerOutput = zod.z.object({
18
18
  Id: zod.z.number().int().describe("Unique identifier of the updated Customer object").nullable().optional(),
19
19
  Name: zod.z.string().describe("Display name of the customer").nullable().optional(),
@@ -22,7 +22,7 @@ const ProabonoUpdateCustomerOutput = zod.z.object({
22
22
  Status: zod.z.string().describe("Functional state indicating external perspective of customer condition").nullable().optional(),
23
23
  Currency: zod.z.string().describe("Currency code for the customer").nullable().optional(),
24
24
  Language: zod.z.string().describe("Customer's language preference (ISO 639-1 code)").nullable().optional(),
25
- Metadata: zod.z.object({}).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
25
+ Metadata: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
26
26
  IdSegment: zod.z.number().int().describe("Associated segment identifier").nullable().optional(),
27
27
  DateUpdate: zod.z.string().describe("Most recent modification timestamp in UTC/ISO 8601 format").nullable().optional(),
28
28
  IdBusiness: zod.z.number().int().describe("Associated business identifier").nullable().optional(),
@@ -32,7 +32,7 @@ const ProabonoUpdateCustomerOutput = zod.z.object({
32
32
  IdUserCreation: zod.z.number().int().describe("User ID who initially created the customer").nullable().optional(),
33
33
  ReferenceSegment: zod.z.string().describe("Reference of the segment the customer belongs to").nullable().optional(),
34
34
  ReferenceCustomer: zod.z.string().describe("Shared reference key between ProAbono and your application").nullable().optional()
35
- }).describe("Response model for an updated ProAbono customer.");
35
+ }).passthrough().describe("Response model for an updated ProAbono customer.");
36
36
  const proabonoUpdateCustomer = require_action.action("PROABONO_UPDATE_CUSTOMER", {
37
37
  slug: "proabono-update-customer",
38
38
  name: "Update Customer",
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.object({}).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EA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AC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,C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C,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,11 +17,11 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
17
17
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- Metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
24
+ Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
25
  IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -31,7 +31,7 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
31
31
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  Id: number;
37
37
  Name?: string | undefined;
@@ -17,11 +17,11 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
17
17
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- Metadata: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
24
+ Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
25
  IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -31,7 +31,7 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
31
31
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  Id: number;
37
37
  Name?: string | undefined;
@@ -13,7 +13,7 @@ const ProabonoUpdateCustomer_LinkSchema = z.object({
13
13
  rel: z.string().describe("Relationship type of the link").nullable().optional(),
14
14
  href: z.string().describe("URL of the related resource").nullable().optional(),
15
15
  query: z.string().describe("Query parameter for the related resource").nullable().optional()
16
- }).describe("Related resource link.");
16
+ }).passthrough().describe("Related resource link.");
17
17
  const proabonoUpdateCustomer = action("PROABONO_UPDATE_CUSTOMER", {
18
18
  slug: "proabono-update-customer",
19
19
  name: "Update Customer",
@@ -27,7 +27,7 @@ const proabonoUpdateCustomer = action("PROABONO_UPDATE_CUSTOMER", {
27
27
  Status: z.string().describe("Functional state indicating external perspective of customer condition").nullable().optional(),
28
28
  Currency: z.string().describe("Currency code for the customer").nullable().optional(),
29
29
  Language: z.string().describe("Customer's language preference (ISO 639-1 code)").nullable().optional(),
30
- Metadata: z.object({}).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
30
+ Metadata: z.record(z.string(), z.unknown()).describe("Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)").nullable().optional(),
31
31
  IdSegment: z.number().int().describe("Associated segment identifier").nullable().optional(),
32
32
  DateUpdate: z.string().describe("Most recent modification timestamp in UTC/ISO 8601 format").nullable().optional(),
33
33
  IdBusiness: z.number().int().describe("Associated business identifier").nullable().optional(),
@@ -37,7 +37,7 @@ const proabonoUpdateCustomer = action("PROABONO_UPDATE_CUSTOMER", {
37
37
  IdUserCreation: z.number().int().describe("User ID who initially created the customer").nullable().optional(),
38
38
  ReferenceSegment: z.string().describe("Reference of the segment the customer belongs to").nullable().optional(),
39
39
  ReferenceCustomer: z.string().describe("Shared reference key between ProAbono and your application").nullable().optional()
40
- }).describe("Response model for an updated ProAbono customer.")
40
+ }).passthrough().describe("Response model for an updated ProAbono customer.")
41
41
  });
42
42
  //#endregion
43
43
  export { proabonoUpdateCustomer };
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.object({}).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACnK,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC1I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wBAAwB;AAqBpC,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,MAAM,EAAE,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IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACn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e("Link relation type").nullable().optional(),
19
19
  href: zod.z.string().describe("Link URL").nullable().optional()
20
- }).describe("Navigation link model.");
20
+ }).passthrough().describe("Navigation link model.");
21
21
  const ProabonoUpdateFeatureOutput = zod.z.object({
22
22
  Id: zod.z.number().int().describe("Feature identifier").nullable().optional(),
23
23
  Name: zod.z.string().describe("Feature name").nullable().optional(),
@@ -32,7 +32,7 @@ const ProabonoUpdateFeatureOutput = zod.z.object({
32
32
  IdUserUpdate: zod.z.number().int().describe("User ID who last modified the feature").nullable().optional(),
33
33
  IdUserCreation: zod.z.number().int().describe("User ID who created the feature").nullable().optional(),
34
34
  ReferenceFeature: zod.z.string().describe("Shared key between ProAbono and your application").nullable().optional()
35
- }).describe("Response model for updated feature.");
35
+ }).passthrough().describe("Response model for updated feature.");
36
36
  const proabonoUpdateFeature = require_action.action("PROABONO_UPDATE_FEATURE", {
37
37
  slug: "proabono-update-feature",
38
38
  name: "Update Feature",
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.cjs","names":["z","action"],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC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SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-feature.cjs","names":["z","action"],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACj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;CACP,QAAQ;AACV,CAAC"}
@@ -20,7 +20,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
20
20
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>>;
23
+ }, z.core.$loose>>>>;
24
24
  Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
25
  IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  StateLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31,7 +31,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
31
31
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: number;
37
37
  Name?: string | undefined;
@@ -20,7 +20,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
20
20
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>>>>;
23
+ }, z.core.$loose>>>>;
24
24
  Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
25
  IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
26
  StateLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31,7 +31,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
31
31
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  id: number;
37
37
  Name?: string | undefined;
@@ -17,7 +17,7 @@ const ProabonoUpdateFeatureInput = z.object({
17
17
  const ProabonoUpdateFeature_LinkSchema = z.object({
18
18
  rel: z.string().describe("Link relation type").nullable().optional(),
19
19
  href: z.string().describe("Link URL").nullable().optional()
20
- }).describe("Navigation link model.");
20
+ }).passthrough().describe("Navigation link model.");
21
21
  const proabonoUpdateFeature = action("PROABONO_UPDATE_FEATURE", {
22
22
  slug: "proabono-update-feature",
23
23
  name: "Update Feature",
@@ -37,7 +37,7 @@ const proabonoUpdateFeature = action("PROABONO_UPDATE_FEATURE", {
37
37
  IdUserUpdate: z.number().int().describe("User ID who last modified the feature").nullable().optional(),
38
38
  IdUserCreation: z.number().int().describe("User ID who created the feature").nullable().optional(),
39
39
  ReferenceFeature: z.string().describe("Shared key between ProAbono and your application").nullable().optional()
40
- }).describe("Response model for updated feature.")
40
+ }).passthrough().describe("Response model for updated feature.")
41
41
  });
42
42
  //#endregion
43
43
  export { proabonoUpdateFeature };
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.mjs","names":[],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,C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AAS;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-feature.mjs","names":[],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAA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AO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const ProabonoUpdateTaxProfilesInput = zod.z.object({
13
13
  const ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = zod.z.object({
14
14
  rel: zod.z.string().describe("Relationship type of the link (e.g., 'self', 'related')").nullable().optional(),
15
15
  href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
16
- }).describe("Model for HATEOAS navigation links in tax profile response.");
16
+ }).passthrough().describe("Model for HATEOAS navigation links in tax profile response.");
17
17
  const ProabonoUpdateTaxProfilesOutput = zod.z.object({
18
18
  Id: zod.z.number().int().describe("Unique identifier of the tax profile").nullable().optional(),
19
19
  Name: zod.z.string().describe("Name of the tax profile").nullable().optional(),
@@ -25,7 +25,7 @@ const ProabonoUpdateTaxProfilesOutput = zod.z.object({
25
25
  RateDefault: zod.z.number().int().describe("Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)").nullable().optional(),
26
26
  TypeRateTax: zod.z.string().describe("Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')").nullable().optional(),
27
27
  IdUserUpdate: zod.z.number().int().describe("User ID who last modified the tax profile").nullable().optional()
28
- }).describe("Response model for updated ProAbono tax profile.");
28
+ }).passthrough().describe("Response model for updated ProAbono tax profile.");
29
29
  const proabonoUpdateTaxProfiles = require_action.action("PROABONO_UPDATE_TAX_PROFILES", {
30
30
  slug: "proabono-update-tax-profiles",
31
31
  name: "Update Tax Profiles",
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.cjs","names":["z","action"],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAA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,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-tax-profiles.cjs","names":["z","action"],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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AC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,14 +17,14 @@ declare const ProabonoUpdateTaxProfilesOutput: z.ZodObject<{
17
17
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
18
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  RateDefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
25
  TypeRateTax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const proabonoUpdateTaxProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  Id: number;
30
30
  IdBusiness: number;
@@ -17,14 +17,14 @@ declare const ProabonoUpdateTaxProfilesOutput: z.ZodObject<{
17
17
  Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
18
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>>>;
20
+ }, z.core.$loose>>>>;
21
21
  DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  RateDefault: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
25
  TypeRateTax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
- }, z.core.$strip>;
27
+ }, z.core.$loose>;
28
28
  declare const proabonoUpdateTaxProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  Id: number;
30
30
  IdBusiness: number;
@@ -13,7 +13,7 @@ const ProabonoUpdateTaxProfilesInput = z.object({
13
13
  const ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({
14
14
  rel: z.string().describe("Relationship type of the link (e.g., 'self', 'related')").nullable().optional(),
15
15
  href: z.string().describe("API endpoint path for the related resource").nullable().optional()
16
- }).describe("Model for HATEOAS navigation links in tax profile response.");
16
+ }).passthrough().describe("Model for HATEOAS navigation links in tax profile response.");
17
17
  const proabonoUpdateTaxProfiles = action("PROABONO_UPDATE_TAX_PROFILES", {
18
18
  slug: "proabono-update-tax-profiles",
19
19
  name: "Update Tax Profiles",
@@ -30,7 +30,7 @@ const proabonoUpdateTaxProfiles = action("PROABONO_UPDATE_TAX_PROFILES", {
30
30
  RateDefault: z.number().int().describe("Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)").nullable().optional(),
31
31
  TypeRateTax: z.string().describe("Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')").nullable().optional(),
32
32
  IdUserUpdate: z.number().int().describe("User ID who last modified the tax profile").nullable().optional()
33
- }).describe("Response model for updated ProAbono tax profile.")
33
+ }).passthrough().describe("Response model for updated ProAbono tax profile.")
34
34
  });
35
35
  //#endregion
36
36
  export { proabonoUpdateTaxProfiles };
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.mjs","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAa,EAAE,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S,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-tax-profiles.mjs","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACrK,a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AChJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -9,7 +9,7 @@ const proabonoCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "api_endpoint": {
12
+ "full": {
13
13
  "label": "API Endpoint",
14
14
  "description": "Your ProAbono API endpoint from BackOffice > Integration > API (e.g., https://api-42.proabono.com)"
15
15
  },