@keystrokehq/proabono 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/anonymize-customer.cjs +2 -2
  4. package/dist/actions/anonymize-customer.cjs.map +1 -1
  5. package/dist/actions/anonymize-customer.d.cts +21 -3
  6. package/dist/actions/anonymize-customer.d.cts.map +1 -1
  7. package/dist/actions/anonymize-customer.d.mts +21 -3
  8. package/dist/actions/anonymize-customer.d.mts.map +1 -1
  9. package/dist/actions/anonymize-customer.mjs +2 -2
  10. package/dist/actions/anonymize-customer.mjs.map +1 -1
  11. package/dist/actions/bill-customer.cjs +1 -1
  12. package/dist/actions/bill-customer.cjs.map +1 -1
  13. package/dist/actions/bill-customer.d.cts +14 -3
  14. package/dist/actions/bill-customer.d.cts.map +1 -1
  15. package/dist/actions/bill-customer.d.mts +14 -3
  16. package/dist/actions/bill-customer.d.mts.map +1 -1
  17. package/dist/actions/bill-customer.mjs +1 -1
  18. package/dist/actions/bill-customer.mjs.map +1 -1
  19. package/dist/actions/create-customer.cjs +4 -4
  20. package/dist/actions/create-customer.cjs.map +1 -1
  21. package/dist/actions/create-customer.d.cts +43 -3
  22. package/dist/actions/create-customer.d.cts.map +1 -1
  23. package/dist/actions/create-customer.d.mts +43 -3
  24. package/dist/actions/create-customer.d.mts.map +1 -1
  25. package/dist/actions/create-customer.mjs +4 -4
  26. package/dist/actions/create-customer.mjs.map +1 -1
  27. package/dist/actions/create-feature.cjs +2 -2
  28. package/dist/actions/create-feature.cjs.map +1 -1
  29. package/dist/actions/create-feature.d.cts +38 -3
  30. package/dist/actions/create-feature.d.cts.map +1 -1
  31. package/dist/actions/create-feature.d.mts +38 -3
  32. package/dist/actions/create-feature.d.mts.map +1 -1
  33. package/dist/actions/create-feature.mjs +2 -2
  34. package/dist/actions/create-feature.mjs.map +1 -1
  35. package/dist/actions/delete-customer.cjs +1 -1
  36. package/dist/actions/delete-customer.cjs.map +1 -1
  37. package/dist/actions/delete-customer.d.cts +10 -3
  38. package/dist/actions/delete-customer.d.cts.map +1 -1
  39. package/dist/actions/delete-customer.d.mts +10 -3
  40. package/dist/actions/delete-customer.d.mts.map +1 -1
  41. package/dist/actions/delete-customer.mjs +1 -1
  42. package/dist/actions/delete-customer.mjs.map +1 -1
  43. package/dist/actions/delete-offer.cjs +4 -4
  44. package/dist/actions/delete-offer.cjs.map +1 -1
  45. package/dist/actions/delete-offer.d.cts +11 -3
  46. package/dist/actions/delete-offer.d.cts.map +1 -1
  47. package/dist/actions/delete-offer.d.mts +11 -3
  48. package/dist/actions/delete-offer.d.mts.map +1 -1
  49. package/dist/actions/delete-offer.mjs +4 -4
  50. package/dist/actions/delete-offer.mjs.map +1 -1
  51. package/dist/actions/delete-pricing-table-offer.cjs +3 -3
  52. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
  53. package/dist/actions/delete-pricing-table-offer.d.cts +10 -3
  54. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
  55. package/dist/actions/delete-pricing-table-offer.d.mts +10 -3
  56. package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
  57. package/dist/actions/delete-pricing-table-offer.mjs +3 -3
  58. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
  59. package/dist/actions/delete-pricing-table.cjs +3 -3
  60. package/dist/actions/delete-pricing-table.cjs.map +1 -1
  61. package/dist/actions/delete-pricing-table.d.cts +10 -3
  62. package/dist/actions/delete-pricing-table.d.cts.map +1 -1
  63. package/dist/actions/delete-pricing-table.d.mts +10 -3
  64. package/dist/actions/delete-pricing-table.d.mts.map +1 -1
  65. package/dist/actions/delete-pricing-table.mjs +3 -3
  66. package/dist/actions/delete-pricing-table.mjs.map +1 -1
  67. package/dist/actions/delete-subscription-discount.cjs +1 -1
  68. package/dist/actions/delete-subscription-discount.cjs.map +1 -1
  69. package/dist/actions/delete-subscription-discount.d.cts +9 -3
  70. package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
  71. package/dist/actions/delete-subscription-discount.d.mts +9 -3
  72. package/dist/actions/delete-subscription-discount.d.mts.map +1 -1
  73. package/dist/actions/delete-subscription-discount.mjs +1 -1
  74. package/dist/actions/delete-subscription-discount.mjs.map +1 -1
  75. package/dist/actions/enable-webhook.cjs +1 -1
  76. package/dist/actions/enable-webhook.cjs.map +1 -1
  77. package/dist/actions/enable-webhook.d.cts +10 -3
  78. package/dist/actions/enable-webhook.d.cts.map +1 -1
  79. package/dist/actions/enable-webhook.d.mts +10 -3
  80. package/dist/actions/enable-webhook.d.mts.map +1 -1
  81. package/dist/actions/enable-webhook.mjs +1 -1
  82. package/dist/actions/enable-webhook.mjs.map +1 -1
  83. package/dist/actions/get-customer-billing-address.cjs +1 -1
  84. package/dist/actions/get-customer-billing-address.cjs.map +1 -1
  85. package/dist/actions/get-customer-billing-address.d.cts +19 -3
  86. package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
  87. package/dist/actions/get-customer-billing-address.d.mts +19 -3
  88. package/dist/actions/get-customer-billing-address.d.mts.map +1 -1
  89. package/dist/actions/get-customer-billing-address.mjs +1 -1
  90. package/dist/actions/get-customer-billing-address.mjs.map +1 -1
  91. package/dist/actions/get-customer-billing.cjs +2 -2
  92. package/dist/actions/get-customer-billing.cjs.map +1 -1
  93. package/dist/actions/get-customer-billing.d.cts +27 -3
  94. package/dist/actions/get-customer-billing.d.cts.map +1 -1
  95. package/dist/actions/get-customer-billing.d.mts +27 -3
  96. package/dist/actions/get-customer-billing.d.mts.map +1 -1
  97. package/dist/actions/get-customer-billing.mjs +2 -2
  98. package/dist/actions/get-customer-billing.mjs.map +1 -1
  99. package/dist/actions/get-customer-by-reference.cjs +3 -3
  100. package/dist/actions/get-customer-by-reference.cjs.map +1 -1
  101. package/dist/actions/get-customer-by-reference.d.cts +25 -3
  102. package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
  103. package/dist/actions/get-customer-by-reference.d.mts +25 -3
  104. package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
  105. package/dist/actions/get-customer-by-reference.mjs +3 -3
  106. package/dist/actions/get-customer-by-reference.mjs.map +1 -1
  107. package/dist/actions/get-customer-payment-settings.cjs +1 -1
  108. package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
  109. package/dist/actions/get-customer-payment-settings.d.cts +14 -3
  110. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
  111. package/dist/actions/get-customer-payment-settings.d.mts +14 -3
  112. package/dist/actions/get-customer-payment-settings.d.mts.map +1 -1
  113. package/dist/actions/get-customer-payment-settings.mjs +1 -1
  114. package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
  115. package/dist/actions/get-customer.cjs +2 -2
  116. package/dist/actions/get-customer.cjs.map +1 -1
  117. package/dist/actions/get-customer.d.cts +27 -3
  118. package/dist/actions/get-customer.d.cts.map +1 -1
  119. package/dist/actions/get-customer.d.mts +27 -3
  120. package/dist/actions/get-customer.d.mts.map +1 -1
  121. package/dist/actions/get-customer.mjs +2 -2
  122. package/dist/actions/get-customer.mjs.map +1 -1
  123. package/dist/actions/get-discount.cjs +2 -2
  124. package/dist/actions/get-discount.cjs.map +1 -1
  125. package/dist/actions/get-discount.d.cts +47 -3
  126. package/dist/actions/get-discount.d.cts.map +1 -1
  127. package/dist/actions/get-discount.d.mts +47 -3
  128. package/dist/actions/get-discount.d.mts.map +1 -1
  129. package/dist/actions/get-discount.mjs +2 -2
  130. package/dist/actions/get-discount.mjs.map +1 -1
  131. package/dist/actions/get-feature.cjs +3 -3
  132. package/dist/actions/get-feature.cjs.map +1 -1
  133. package/dist/actions/get-feature.d.cts +24 -3
  134. package/dist/actions/get-feature.d.cts.map +1 -1
  135. package/dist/actions/get-feature.d.mts +24 -3
  136. package/dist/actions/get-feature.d.mts.map +1 -1
  137. package/dist/actions/get-feature.mjs +3 -3
  138. package/dist/actions/get-feature.mjs.map +1 -1
  139. package/dist/actions/get-invoice.cjs +2 -2
  140. package/dist/actions/get-invoice.cjs.map +1 -1
  141. package/dist/actions/get-invoice.d.cts +38 -3
  142. package/dist/actions/get-invoice.d.cts.map +1 -1
  143. package/dist/actions/get-invoice.d.mts +38 -3
  144. package/dist/actions/get-invoice.d.mts.map +1 -1
  145. package/dist/actions/get-invoice.mjs +2 -2
  146. package/dist/actions/get-invoice.mjs.map +1 -1
  147. package/dist/actions/get-offer.cjs +2 -2
  148. package/dist/actions/get-offer.cjs.map +1 -1
  149. package/dist/actions/get-offer.d.cts +43 -3
  150. package/dist/actions/get-offer.d.cts.map +1 -1
  151. package/dist/actions/get-offer.d.mts +43 -3
  152. package/dist/actions/get-offer.d.mts.map +1 -1
  153. package/dist/actions/get-offer.mjs +2 -2
  154. package/dist/actions/get-offer.mjs.map +1 -1
  155. package/dist/actions/get-subscription-by-customer.cjs +3 -3
  156. package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
  157. package/dist/actions/get-subscription-by-customer.d.cts +66 -3
  158. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
  159. package/dist/actions/get-subscription-by-customer.d.mts +66 -3
  160. package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
  161. package/dist/actions/get-subscription-by-customer.mjs +3 -3
  162. package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
  163. package/dist/actions/get-subscription-creation-quote.cjs +3 -3
  164. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
  165. package/dist/actions/get-subscription-creation-quote.d.cts +40 -3
  166. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
  167. package/dist/actions/get-subscription-creation-quote.d.mts +40 -3
  168. package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
  169. package/dist/actions/get-subscription-creation-quote.mjs +3 -3
  170. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
  171. package/dist/actions/get-usage.cjs +1 -1
  172. package/dist/actions/get-usage.cjs.map +1 -1
  173. package/dist/actions/get-usage.d.cts +24 -3
  174. package/dist/actions/get-usage.d.cts.map +1 -1
  175. package/dist/actions/get-usage.d.mts +24 -3
  176. package/dist/actions/get-usage.d.mts.map +1 -1
  177. package/dist/actions/get-usage.mjs +1 -1
  178. package/dist/actions/get-usage.mjs.map +1 -1
  179. package/dist/actions/get-usages-for-customer.cjs +3 -3
  180. package/dist/actions/get-usages-for-customer.cjs.map +1 -1
  181. package/dist/actions/get-usages-for-customer.d.cts +37 -3
  182. package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
  183. package/dist/actions/get-usages-for-customer.d.mts +37 -3
  184. package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
  185. package/dist/actions/get-usages-for-customer.mjs +3 -3
  186. package/dist/actions/get-usages-for-customer.mjs.map +1 -1
  187. package/dist/actions/invalidate-customer-by-id.cjs +2 -2
  188. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
  189. package/dist/actions/invalidate-customer-by-id.d.cts +22 -3
  190. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
  191. package/dist/actions/invalidate-customer-by-id.d.mts +22 -3
  192. package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
  193. package/dist/actions/invalidate-customer-by-id.mjs +2 -2
  194. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
  195. package/dist/actions/invalidate-customer.cjs +2 -2
  196. package/dist/actions/invalidate-customer.cjs.map +1 -1
  197. package/dist/actions/invalidate-customer.d.cts +25 -3
  198. package/dist/actions/invalidate-customer.d.cts.map +1 -1
  199. package/dist/actions/invalidate-customer.d.mts +25 -3
  200. package/dist/actions/invalidate-customer.d.mts.map +1 -1
  201. package/dist/actions/invalidate-customer.mjs +2 -2
  202. package/dist/actions/invalidate-customer.mjs.map +1 -1
  203. package/dist/actions/list-balance-lines.cjs +3 -3
  204. package/dist/actions/list-balance-lines.cjs.map +1 -1
  205. package/dist/actions/list-balance-lines.d.cts +43 -3
  206. package/dist/actions/list-balance-lines.d.cts.map +1 -1
  207. package/dist/actions/list-balance-lines.d.mts +43 -3
  208. package/dist/actions/list-balance-lines.d.mts.map +1 -1
  209. package/dist/actions/list-balance-lines.mjs +3 -3
  210. package/dist/actions/list-balance-lines.mjs.map +1 -1
  211. package/dist/actions/list-business-localization.cjs +2 -2
  212. package/dist/actions/list-business-localization.cjs.map +1 -1
  213. package/dist/actions/list-business-localization.d.cts +36 -3
  214. package/dist/actions/list-business-localization.d.cts.map +1 -1
  215. package/dist/actions/list-business-localization.d.mts +36 -3
  216. package/dist/actions/list-business-localization.d.mts.map +1 -1
  217. package/dist/actions/list-business-localization.mjs +2 -2
  218. package/dist/actions/list-business-localization.mjs.map +1 -1
  219. package/dist/actions/list-businesses.cjs +3 -3
  220. package/dist/actions/list-businesses.cjs.map +1 -1
  221. package/dist/actions/list-businesses.d.cts +37 -3
  222. package/dist/actions/list-businesses.d.cts.map +1 -1
  223. package/dist/actions/list-businesses.d.mts +37 -3
  224. package/dist/actions/list-businesses.d.mts.map +1 -1
  225. package/dist/actions/list-businesses.mjs +3 -3
  226. package/dist/actions/list-businesses.mjs.map +1 -1
  227. package/dist/actions/list-customer-moves.cjs +3 -3
  228. package/dist/actions/list-customer-moves.cjs.map +1 -1
  229. package/dist/actions/list-customer-moves.d.cts +44 -3
  230. package/dist/actions/list-customer-moves.d.cts.map +1 -1
  231. package/dist/actions/list-customer-moves.d.mts +44 -3
  232. package/dist/actions/list-customer-moves.d.mts.map +1 -1
  233. package/dist/actions/list-customer-moves.mjs +3 -3
  234. package/dist/actions/list-customer-moves.mjs.map +1 -1
  235. package/dist/actions/list-customers-by-feature.cjs +2 -2
  236. package/dist/actions/list-customers-by-feature.cjs.map +1 -1
  237. package/dist/actions/list-customers-by-feature.d.cts +29 -3
  238. package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
  239. package/dist/actions/list-customers-by-feature.d.mts +29 -3
  240. package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
  241. package/dist/actions/list-customers-by-feature.mjs +2 -2
  242. package/dist/actions/list-customers-by-feature.mjs.map +1 -1
  243. package/dist/actions/list-customers.cjs +4 -4
  244. package/dist/actions/list-customers.cjs.map +1 -1
  245. package/dist/actions/list-customers.d.cts +46 -3
  246. package/dist/actions/list-customers.d.cts.map +1 -1
  247. package/dist/actions/list-customers.d.mts +46 -3
  248. package/dist/actions/list-customers.d.mts.map +1 -1
  249. package/dist/actions/list-customers.mjs +4 -4
  250. package/dist/actions/list-customers.mjs.map +1 -1
  251. package/dist/actions/list-discounts.cjs +4 -4
  252. package/dist/actions/list-discounts.cjs.map +1 -1
  253. package/dist/actions/list-discounts.d.cts +45 -3
  254. package/dist/actions/list-discounts.d.cts.map +1 -1
  255. package/dist/actions/list-discounts.d.mts +45 -3
  256. package/dist/actions/list-discounts.d.mts.map +1 -1
  257. package/dist/actions/list-discounts.mjs +4 -4
  258. package/dist/actions/list-discounts.mjs.map +1 -1
  259. package/dist/actions/list-features.cjs +4 -4
  260. package/dist/actions/list-features.cjs.map +1 -1
  261. package/dist/actions/list-features.d.cts +41 -3
  262. package/dist/actions/list-features.d.cts.map +1 -1
  263. package/dist/actions/list-features.d.mts +41 -3
  264. package/dist/actions/list-features.d.mts.map +1 -1
  265. package/dist/actions/list-features.mjs +4 -4
  266. package/dist/actions/list-features.mjs.map +1 -1
  267. package/dist/actions/list-gateway-accounts.cjs +5 -5
  268. package/dist/actions/list-gateway-accounts.cjs.map +1 -1
  269. package/dist/actions/list-gateway-accounts.d.cts +46 -3
  270. package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
  271. package/dist/actions/list-gateway-accounts.d.mts +46 -3
  272. package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
  273. package/dist/actions/list-gateway-accounts.mjs +5 -5
  274. package/dist/actions/list-gateway-accounts.mjs.map +1 -1
  275. package/dist/actions/list-gateway-permissions.cjs +3 -3
  276. package/dist/actions/list-gateway-permissions.cjs.map +1 -1
  277. package/dist/actions/list-gateway-permissions.d.cts +44 -3
  278. package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
  279. package/dist/actions/list-gateway-permissions.d.mts +44 -3
  280. package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
  281. package/dist/actions/list-gateway-permissions.mjs +3 -3
  282. package/dist/actions/list-gateway-permissions.mjs.map +1 -1
  283. package/dist/actions/list-gateway-requests.cjs +4 -4
  284. package/dist/actions/list-gateway-requests.cjs.map +1 -1
  285. package/dist/actions/list-gateway-requests.d.cts +62 -3
  286. package/dist/actions/list-gateway-requests.d.cts.map +1 -1
  287. package/dist/actions/list-gateway-requests.d.mts +62 -3
  288. package/dist/actions/list-gateway-requests.d.mts.map +1 -1
  289. package/dist/actions/list-gateway-requests.mjs +4 -4
  290. package/dist/actions/list-gateway-requests.mjs.map +1 -1
  291. package/dist/actions/list-gateway-transactions.cjs +4 -4
  292. package/dist/actions/list-gateway-transactions.cjs.map +1 -1
  293. package/dist/actions/list-gateway-transactions.d.cts +47 -3
  294. package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
  295. package/dist/actions/list-gateway-transactions.d.mts +47 -3
  296. package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
  297. package/dist/actions/list-gateway-transactions.mjs +4 -4
  298. package/dist/actions/list-gateway-transactions.mjs.map +1 -1
  299. package/dist/actions/list-invoice-lines.cjs +2 -2
  300. package/dist/actions/list-invoice-lines.cjs.map +1 -1
  301. package/dist/actions/list-invoice-lines.d.cts +27 -3
  302. package/dist/actions/list-invoice-lines.d.cts.map +1 -1
  303. package/dist/actions/list-invoice-lines.d.mts +27 -3
  304. package/dist/actions/list-invoice-lines.d.mts.map +1 -1
  305. package/dist/actions/list-invoice-lines.mjs +2 -2
  306. package/dist/actions/list-invoice-lines.mjs.map +1 -1
  307. package/dist/actions/list-invoices-by-customer.cjs +3 -3
  308. package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
  309. package/dist/actions/list-invoices-by-customer.d.cts +42 -3
  310. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
  311. package/dist/actions/list-invoices-by-customer.d.mts +42 -3
  312. package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
  313. package/dist/actions/list-invoices-by-customer.mjs +3 -3
  314. package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
  315. package/dist/actions/list-invoices.cjs +3 -3
  316. package/dist/actions/list-invoices.cjs.map +1 -1
  317. package/dist/actions/list-invoices.d.cts +46 -3
  318. package/dist/actions/list-invoices.d.cts.map +1 -1
  319. package/dist/actions/list-invoices.d.mts +46 -3
  320. package/dist/actions/list-invoices.d.mts.map +1 -1
  321. package/dist/actions/list-invoices.mjs +3 -3
  322. package/dist/actions/list-invoices.mjs.map +1 -1
  323. package/dist/actions/list-offers.cjs +3 -3
  324. package/dist/actions/list-offers.cjs.map +1 -1
  325. package/dist/actions/list-offers.d.cts +50 -3
  326. package/dist/actions/list-offers.d.cts.map +1 -1
  327. package/dist/actions/list-offers.d.mts +50 -3
  328. package/dist/actions/list-offers.d.mts.map +1 -1
  329. package/dist/actions/list-offers.mjs +3 -3
  330. package/dist/actions/list-offers.mjs.map +1 -1
  331. package/dist/actions/list-payments.cjs +3 -3
  332. package/dist/actions/list-payments.cjs.map +1 -1
  333. package/dist/actions/list-payments.d.cts +44 -3
  334. package/dist/actions/list-payments.d.cts.map +1 -1
  335. package/dist/actions/list-payments.d.mts +44 -3
  336. package/dist/actions/list-payments.d.mts.map +1 -1
  337. package/dist/actions/list-payments.mjs +3 -3
  338. package/dist/actions/list-payments.mjs.map +1 -1
  339. package/dist/actions/list-pricing-table-offers.cjs +3 -3
  340. package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
  341. package/dist/actions/list-pricing-table-offers.d.cts +33 -3
  342. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
  343. package/dist/actions/list-pricing-table-offers.d.mts +33 -3
  344. package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
  345. package/dist/actions/list-pricing-table-offers.mjs +3 -3
  346. package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
  347. package/dist/actions/list-pricing-tables.cjs +3 -3
  348. package/dist/actions/list-pricing-tables.cjs.map +1 -1
  349. package/dist/actions/list-pricing-tables.d.cts +42 -3
  350. package/dist/actions/list-pricing-tables.d.cts.map +1 -1
  351. package/dist/actions/list-pricing-tables.d.mts +42 -3
  352. package/dist/actions/list-pricing-tables.d.mts.map +1 -1
  353. package/dist/actions/list-pricing-tables.mjs +3 -3
  354. package/dist/actions/list-pricing-tables.mjs.map +1 -1
  355. package/dist/actions/list-segment-localizations.cjs +2 -2
  356. package/dist/actions/list-segment-localizations.cjs.map +1 -1
  357. package/dist/actions/list-segment-localizations.d.cts +32 -3
  358. package/dist/actions/list-segment-localizations.d.cts.map +1 -1
  359. package/dist/actions/list-segment-localizations.d.mts +32 -3
  360. package/dist/actions/list-segment-localizations.d.mts.map +1 -1
  361. package/dist/actions/list-segment-localizations.mjs +2 -2
  362. package/dist/actions/list-segment-localizations.mjs.map +1 -1
  363. package/dist/actions/list-segments.cjs +4 -4
  364. package/dist/actions/list-segments.cjs.map +1 -1
  365. package/dist/actions/list-segments.d.cts +42 -3
  366. package/dist/actions/list-segments.d.cts.map +1 -1
  367. package/dist/actions/list-segments.d.mts +42 -3
  368. package/dist/actions/list-segments.d.mts.map +1 -1
  369. package/dist/actions/list-segments.mjs +4 -4
  370. package/dist/actions/list-segments.mjs.map +1 -1
  371. package/dist/actions/list-subscription-discounts.cjs +4 -4
  372. package/dist/actions/list-subscription-discounts.cjs.map +1 -1
  373. package/dist/actions/list-subscription-discounts.d.cts +35 -3
  374. package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
  375. package/dist/actions/list-subscription-discounts.d.mts +35 -3
  376. package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
  377. package/dist/actions/list-subscription-discounts.mjs +4 -4
  378. package/dist/actions/list-subscription-discounts.mjs.map +1 -1
  379. package/dist/actions/list-subscription-features.cjs +4 -4
  380. package/dist/actions/list-subscription-features.cjs.map +1 -1
  381. package/dist/actions/list-subscription-features.d.cts +34 -3
  382. package/dist/actions/list-subscription-features.d.cts.map +1 -1
  383. package/dist/actions/list-subscription-features.d.mts +34 -3
  384. package/dist/actions/list-subscription-features.d.mts.map +1 -1
  385. package/dist/actions/list-subscription-features.mjs +4 -4
  386. package/dist/actions/list-subscription-features.mjs.map +1 -1
  387. package/dist/actions/list-subscription-periods.cjs +3 -3
  388. package/dist/actions/list-subscription-periods.cjs.map +1 -1
  389. package/dist/actions/list-subscription-periods.d.cts +40 -3
  390. package/dist/actions/list-subscription-periods.d.cts.map +1 -1
  391. package/dist/actions/list-subscription-periods.d.mts +40 -3
  392. package/dist/actions/list-subscription-periods.d.mts.map +1 -1
  393. package/dist/actions/list-subscription-periods.mjs +3 -3
  394. package/dist/actions/list-subscription-periods.mjs.map +1 -1
  395. package/dist/actions/list-subscriptions.cjs +4 -4
  396. package/dist/actions/list-subscriptions.cjs.map +1 -1
  397. package/dist/actions/list-subscriptions.d.cts +49 -3
  398. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  399. package/dist/actions/list-subscriptions.d.mts +49 -3
  400. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  401. package/dist/actions/list-subscriptions.mjs +4 -4
  402. package/dist/actions/list-subscriptions.mjs.map +1 -1
  403. package/dist/actions/list-tax-profile-exceptions.cjs +4 -4
  404. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
  405. package/dist/actions/list-tax-profile-exceptions.d.cts +43 -3
  406. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
  407. package/dist/actions/list-tax-profile-exceptions.d.mts +43 -3
  408. package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
  409. package/dist/actions/list-tax-profile-exceptions.mjs +4 -4
  410. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
  411. package/dist/actions/list-tax-profiles.cjs +4 -4
  412. package/dist/actions/list-tax-profiles.cjs.map +1 -1
  413. package/dist/actions/list-tax-profiles.d.cts +36 -3
  414. package/dist/actions/list-tax-profiles.d.cts.map +1 -1
  415. package/dist/actions/list-tax-profiles.d.mts +36 -3
  416. package/dist/actions/list-tax-profiles.d.mts.map +1 -1
  417. package/dist/actions/list-tax-profiles.mjs +4 -4
  418. package/dist/actions/list-tax-profiles.mjs.map +1 -1
  419. package/dist/actions/list-upgrade-offers.cjs +5 -5
  420. package/dist/actions/list-upgrade-offers.cjs.map +1 -1
  421. package/dist/actions/list-upgrade-offers.d.cts +65 -3
  422. package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
  423. package/dist/actions/list-upgrade-offers.d.mts +65 -3
  424. package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
  425. package/dist/actions/list-upgrade-offers.mjs +5 -5
  426. package/dist/actions/list-upgrade-offers.mjs.map +1 -1
  427. package/dist/actions/list-webhook-notifications.cjs +4 -4
  428. package/dist/actions/list-webhook-notifications.cjs.map +1 -1
  429. package/dist/actions/list-webhook-notifications.d.cts +53 -3
  430. package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
  431. package/dist/actions/list-webhook-notifications.d.mts +53 -3
  432. package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
  433. package/dist/actions/list-webhook-notifications.mjs +4 -4
  434. package/dist/actions/list-webhook-notifications.mjs.map +1 -1
  435. package/dist/actions/list-webhooks.cjs +3 -3
  436. package/dist/actions/list-webhooks.cjs.map +1 -1
  437. package/dist/actions/list-webhooks.d.cts +46 -3
  438. package/dist/actions/list-webhooks.d.cts.map +1 -1
  439. package/dist/actions/list-webhooks.d.mts +46 -3
  440. package/dist/actions/list-webhooks.d.mts.map +1 -1
  441. package/dist/actions/list-webhooks.mjs +3 -3
  442. package/dist/actions/list-webhooks.mjs.map +1 -1
  443. package/dist/actions/quote-balance-line.cjs +2 -2
  444. package/dist/actions/quote-balance-line.cjs.map +1 -1
  445. package/dist/actions/quote-balance-line.d.cts +38 -3
  446. package/dist/actions/quote-balance-line.d.cts.map +1 -1
  447. package/dist/actions/quote-balance-line.d.mts +38 -3
  448. package/dist/actions/quote-balance-line.d.mts.map +1 -1
  449. package/dist/actions/quote-balance-line.mjs +2 -2
  450. package/dist/actions/quote-balance-line.mjs.map +1 -1
  451. package/dist/actions/revoke-customer-links.cjs +2 -2
  452. package/dist/actions/revoke-customer-links.cjs.map +1 -1
  453. package/dist/actions/revoke-customer-links.d.cts +21 -3
  454. package/dist/actions/revoke-customer-links.d.cts.map +1 -1
  455. package/dist/actions/revoke-customer-links.d.mts +21 -3
  456. package/dist/actions/revoke-customer-links.d.mts.map +1 -1
  457. package/dist/actions/revoke-customer-links.mjs +2 -2
  458. package/dist/actions/revoke-customer-links.mjs.map +1 -1
  459. package/dist/actions/update-businesses-billing-address.cjs +2 -2
  460. package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
  461. package/dist/actions/update-businesses-billing-address.d.cts +49 -3
  462. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
  463. package/dist/actions/update-businesses-billing-address.d.mts +49 -3
  464. package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
  465. package/dist/actions/update-businesses-billing-address.mjs +2 -2
  466. package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
  467. package/dist/actions/update-customer-billing-address.cjs +1 -1
  468. package/dist/actions/update-customer-billing-address.cjs.map +1 -1
  469. package/dist/actions/update-customer-billing-address.d.cts +41 -3
  470. package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
  471. package/dist/actions/update-customer-billing-address.d.mts +41 -3
  472. package/dist/actions/update-customer-billing-address.d.mts.map +1 -1
  473. package/dist/actions/update-customer-billing-address.mjs +1 -1
  474. package/dist/actions/update-customer-billing-address.mjs.map +1 -1
  475. package/dist/actions/update-customer-payment-settings.cjs +1 -1
  476. package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
  477. package/dist/actions/update-customer-payment-settings.d.cts +15 -3
  478. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
  479. package/dist/actions/update-customer-payment-settings.d.mts +15 -3
  480. package/dist/actions/update-customer-payment-settings.d.mts.map +1 -1
  481. package/dist/actions/update-customer-payment-settings.mjs +1 -1
  482. package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
  483. package/dist/actions/update-customer-shipping.cjs +2 -2
  484. package/dist/actions/update-customer-shipping.cjs.map +1 -1
  485. package/dist/actions/update-customer-shipping.d.cts +51 -3
  486. package/dist/actions/update-customer-shipping.d.cts.map +1 -1
  487. package/dist/actions/update-customer-shipping.d.mts +51 -3
  488. package/dist/actions/update-customer-shipping.d.mts.map +1 -1
  489. package/dist/actions/update-customer-shipping.mjs +2 -2
  490. package/dist/actions/update-customer-shipping.mjs.map +1 -1
  491. package/dist/actions/update-customer.cjs +3 -3
  492. package/dist/actions/update-customer.cjs.map +1 -1
  493. package/dist/actions/update-customer.d.cts +39 -3
  494. package/dist/actions/update-customer.d.cts.map +1 -1
  495. package/dist/actions/update-customer.d.mts +39 -3
  496. package/dist/actions/update-customer.d.mts.map +1 -1
  497. package/dist/actions/update-customer.mjs +3 -3
  498. package/dist/actions/update-customer.mjs.map +1 -1
  499. package/dist/actions/update-feature.cjs +2 -2
  500. package/dist/actions/update-feature.cjs.map +1 -1
  501. package/dist/actions/update-feature.d.cts +40 -3
  502. package/dist/actions/update-feature.d.cts.map +1 -1
  503. package/dist/actions/update-feature.d.mts +40 -3
  504. package/dist/actions/update-feature.d.mts.map +1 -1
  505. package/dist/actions/update-feature.mjs +2 -2
  506. package/dist/actions/update-feature.mjs.map +1 -1
  507. package/dist/actions/update-tax-profiles.cjs +2 -2
  508. package/dist/actions/update-tax-profiles.cjs.map +1 -1
  509. package/dist/actions/update-tax-profiles.d.cts +33 -3
  510. package/dist/actions/update-tax-profiles.d.cts.map +1 -1
  511. package/dist/actions/update-tax-profiles.d.mts +33 -3
  512. package/dist/actions/update-tax-profiles.d.mts.map +1 -1
  513. package/dist/actions/update-tax-profiles.mjs +2 -2
  514. package/dist/actions/update-tax-profiles.mjs.map +1 -1
  515. package/dist/catalog.cjs +23 -1
  516. package/dist/catalog.cjs.map +1 -1
  517. package/dist/catalog.d.cts +22 -0
  518. package/dist/catalog.d.mts +22 -0
  519. package/dist/catalog.mjs +23 -1
  520. package/dist/catalog.mjs.map +1 -1
  521. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAGe;AAAA,cAC7D,2CAAA,EAA6C,CAAA,CAAE,UAMoD;AAAA,cAEnG,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;cAI1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAQ3C,qCAAA,gCAAqC,wBAAA"}
@@ -14,7 +14,7 @@ const proabonoUpdateCustomerPaymentSettings = action("PROABONO_UPDATE_CUSTOMER_P
14
14
  IsGreyListed: z.boolean().describe("Indicates if access to payment forms is prevented due to suspicious activity or payment issues").nullable().optional(),
15
15
  IsAutoBilling: z.boolean().describe("Whether automatic billing is enabled for the next billing date").nullable().optional(),
16
16
  DateNextBilling: z.string().describe("ISO 8601 timestamp of the next billing date for this customer").nullable().optional()
17
- }).describe("Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.")
17
+ }).passthrough().describe("Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.")
18
18
  });
19
19
  //#endregion
20
20
  export { proabonoUpdateCustomerPaymentSettings };
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerPaymentSettingsInput: z.ZodTypeAny = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput: z.ZodTypeAny = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsE,EAAE,OAAO;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAC9N,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACpI,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbuE,EAAE,OAAO;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,mGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/update-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerPaymentSettingsInput = z.object({\n TypePayment: z.string().describe(\"The manual payment method type to set. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther. When set, payment collection becomes your responsibility\").optional(),\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings you want to update\"),\n}).describe(\"Request model for the UpdateCustomerPaymentSettings action.\");\nexport const ProabonoUpdateCustomerPaymentSettingsOutput = z.object({\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for the UpdateCustomerPaymentSettings action, containing updated payment settings.\");\n\nexport const proabonoUpdateCustomerPaymentSettings = action(\"PROABONO_UPDATE_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-update-customer-payment-settings\",\n name: \"Update Customer Payment Settings\",\n description: \"Tool to update payment settings for a specific customer in ProAbono. Use when you need to set a customer's payment method preference or update their billing configuration.\",\n input: ProabonoUpdateCustomerPaymentSettingsInput,\n output: ProabonoUpdateCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBwD,EAAE,OAAO;EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;EAC9N,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACpI,CAAC,CAAC,CAAC,SAAS,6DAaH;CACP,QAbyD,EAAE,OAAO;EAClE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAOhB;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC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S,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,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,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AS;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"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer-shipping.d.ts
4
- declare const ProabonoUpdateCustomerShippingInput: z.ZodTypeAny;
5
- declare const ProabonoUpdateCustomerShippingOutput: z.ZodTypeAny;
6
- declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProabonoUpdateCustomerShippingInput: z.ZodObject<{
5
+ Id: z.ZodNumber;
6
+ City: z.ZodOptional<z.ZodString>;
7
+ Phone: z.ZodOptional<z.ZodString>;
8
+ Region: z.ZodOptional<z.ZodString>;
9
+ Company: z.ZodOptional<z.ZodString>;
10
+ Country: z.ZodOptional<z.ZodString>;
11
+ ZipCode: z.ZodOptional<z.ZodString>;
12
+ LastName: z.ZodOptional<z.ZodString>;
13
+ FirstName: z.ZodOptional<z.ZodString>;
14
+ IdBusiness: z.ZodNumber;
15
+ AddressLine1: z.ZodOptional<z.ZodString>;
16
+ AddressLine2: z.ZodOptional<z.ZodString>;
17
+ TaxInformation: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
20
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ City: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ Region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ Company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ Country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ ZipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ IdCustomer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ AddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>;
40
+ declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ Id: number;
42
+ IdBusiness: number;
43
+ City?: string | undefined;
44
+ Phone?: string | undefined;
45
+ Region?: string | undefined;
46
+ Company?: string | undefined;
47
+ Country?: string | undefined;
48
+ ZipCode?: string | undefined;
49
+ LastName?: string | undefined;
50
+ FirstName?: string | undefined;
51
+ AddressLine1?: string | undefined;
52
+ AddressLine2?: string | undefined;
53
+ TaxInformation?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { proabonoUpdateCustomerShipping };
9
57
  //# sourceMappingURL=update-customer-shipping.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-shipping.d.cts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAclD;AAAA,cAKW,oCAAA,EAAsC,CAAA,CAAE,UAiBnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer-shipping.d.cts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,57 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer-shipping.d.ts
4
- declare const ProabonoUpdateCustomerShippingInput: z.ZodTypeAny;
5
- declare const ProabonoUpdateCustomerShippingOutput: z.ZodTypeAny;
6
- declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProabonoUpdateCustomerShippingInput: z.ZodObject<{
5
+ Id: z.ZodNumber;
6
+ City: z.ZodOptional<z.ZodString>;
7
+ Phone: z.ZodOptional<z.ZodString>;
8
+ Region: z.ZodOptional<z.ZodString>;
9
+ Company: z.ZodOptional<z.ZodString>;
10
+ Country: z.ZodOptional<z.ZodString>;
11
+ ZipCode: z.ZodOptional<z.ZodString>;
12
+ LastName: z.ZodOptional<z.ZodString>;
13
+ FirstName: z.ZodOptional<z.ZodString>;
14
+ IdBusiness: z.ZodNumber;
15
+ AddressLine1: z.ZodOptional<z.ZodString>;
16
+ AddressLine2: z.ZodOptional<z.ZodString>;
17
+ TaxInformation: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>;
19
+ declare const ProabonoUpdateCustomerShippingOutput: z.ZodObject<{
20
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ City: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>>>;
26
+ Phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ Region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ Company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ Country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ ZipCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ LastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ FirstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ IdCustomer: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
35
+ AddressLine1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ AddressLine2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ }, z.core.$loose>;
40
+ declare const proabonoUpdateCustomerShipping: import("@keystrokehq/action").WorkflowActionDefinition<{
41
+ Id: number;
42
+ IdBusiness: number;
43
+ City?: string | undefined;
44
+ Phone?: string | undefined;
45
+ Region?: string | undefined;
46
+ Company?: string | undefined;
47
+ Country?: string | undefined;
48
+ ZipCode?: string | undefined;
49
+ LastName?: string | undefined;
50
+ FirstName?: string | undefined;
51
+ AddressLine1?: string | undefined;
52
+ AddressLine2?: string | undefined;
53
+ TaxInformation?: string | undefined;
54
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
55
  //#endregion
8
56
  export { proabonoUpdateCustomerShipping };
9
57
  //# sourceMappingURL=update-customer-shipping.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer-shipping.d.mts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAclD;AAAA,cAKW,oCAAA,EAAsC,CAAA,CAAE,UAiBnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer-shipping.d.mts","names":[],"sources":["../../src/actions/update-customer-shipping.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBpC,8BAAA,gCAA8B,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,sCAAoD,EAAE,OAAO;CACxE,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,CA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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,\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Ac,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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,IA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,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,CAAC,SAAS;CACnK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,C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O,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const ProabonoUpdateCustomerInput: z.ZodTypeAny;
5
- declare const ProabonoUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProabonoUpdateCustomerInput: z.ZodObject<{
5
+ Id: z.ZodNumber;
6
+ Name: z.ZodOptional<z.ZodString>;
7
+ Email: z.ZodOptional<z.ZodString>;
8
+ Language: z.ZodOptional<z.ZodString>;
9
+ IdBusiness: z.ZodOptional<z.ZodNumber>;
10
+ ReferenceCustomer: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
13
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>>>;
21
+ Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>;
35
+ declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ Id: number;
37
+ Name?: string | undefined;
38
+ Email?: string | undefined;
39
+ Language?: string | undefined;
40
+ IdBusiness?: number | undefined;
41
+ ReferenceCustomer?: string | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { proabonoUpdateCustomer };
9
45
  //# sourceMappingURL=update-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO+B;AAAA,cAM9D,4BAAA,EAA8B,CAAA,CAAE,UAkBkB;AAAA,cAElD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-customer.d.ts
4
- declare const ProabonoUpdateCustomerInput: z.ZodTypeAny;
5
- declare const ProabonoUpdateCustomerOutput: z.ZodTypeAny;
6
- declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProabonoUpdateCustomerInput: z.ZodObject<{
5
+ Id: z.ZodNumber;
6
+ Name: z.ZodOptional<z.ZodString>;
7
+ Email: z.ZodOptional<z.ZodString>;
8
+ Language: z.ZodOptional<z.ZodString>;
9
+ IdBusiness: z.ZodOptional<z.ZodNumber>;
10
+ ReferenceCustomer: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
13
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ Email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ query: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>>>>;
21
+ Status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ Currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ Language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ Metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
25
+ IdSegment: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
+ DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ StateCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>;
35
+ declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ Id: number;
37
+ Name?: string | undefined;
38
+ Email?: string | undefined;
39
+ Language?: string | undefined;
40
+ IdBusiness?: number | undefined;
41
+ ReferenceCustomer?: string | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { proabonoUpdateCustomer };
9
45
  //# sourceMappingURL=update-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAO+B;AAAA,cAM9D,4BAAA,EAA8B,CAAA,CAAE,UAkBkB;AAAA,cAElD,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,8BAA4C,EAAE,OAAO;CAChE,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,oCAAkD,EAAE,OAAO;CAC/D,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,0C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cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,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":";;;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AkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const ProabonoUpdateFeatureInput = zod.z.object({
17
17
  const ProabonoUpdateFeature_LinkSchema = zod.z.object({
18
18
  rel: zod.z.string().describe("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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,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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;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,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;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G,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,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,46 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-feature.d.ts
4
- declare const ProabonoUpdateFeatureInput: z.ZodTypeAny;
5
- declare const ProabonoUpdateFeatureOutput: z.ZodTypeAny;
6
- declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProabonoUpdateFeatureInput: z.ZodObject<{
5
+ id: z.ZodNumber;
6
+ Name: z.ZodOptional<z.ZodString>;
7
+ Order: z.ZodOptional<z.ZodNumber>;
8
+ IsVisible: z.ZodOptional<z.ZodBoolean>;
9
+ IdBusiness: z.ZodOptional<z.ZodNumber>;
10
+ TypeFeature: z.ZodOptional<z.ZodEnum<{
11
+ OnOff: "OnOff";
12
+ Limitation: "Limitation";
13
+ Consumption: "Consumption";
14
+ }>>;
15
+ ReferenceFeature: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
18
+ Id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>>>>;
24
+ Order: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ IsVisible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ StateLife: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ DateUpdate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ IdBusiness: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ TypeFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ DateCreation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
+ ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>;
35
+ declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ id: number;
37
+ Name?: string | undefined;
38
+ Order?: number | undefined;
39
+ IsVisible?: boolean | undefined;
40
+ IdBusiness?: number | undefined;
41
+ TypeFeature?: "OnOff" | "Limitation" | "Consumption" | undefined;
42
+ ReferenceFeature?: string | undefined;
43
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
44
  //#endregion
8
45
  export { proabonoUpdateFeature };
9
46
  //# sourceMappingURL=update-feature.d.cts.map