@keystrokehq/proabono 0.1.0

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 (546) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/anonymize-customer.cjs +31 -0
  7. package/dist/actions/anonymize-customer.cjs.map +1 -0
  8. package/dist/actions/anonymize-customer.d.cts +9 -0
  9. package/dist/actions/anonymize-customer.d.cts.map +1 -0
  10. package/dist/actions/anonymize-customer.d.mts +9 -0
  11. package/dist/actions/anonymize-customer.d.mts.map +1 -0
  12. package/dist/actions/anonymize-customer.mjs +30 -0
  13. package/dist/actions/anonymize-customer.mjs.map +1 -0
  14. package/dist/actions/bill-customer.cjs +23 -0
  15. package/dist/actions/bill-customer.cjs.map +1 -0
  16. package/dist/actions/bill-customer.d.cts +9 -0
  17. package/dist/actions/bill-customer.d.cts.map +1 -0
  18. package/dist/actions/bill-customer.d.mts +9 -0
  19. package/dist/actions/bill-customer.d.mts.map +1 -0
  20. package/dist/actions/bill-customer.mjs +20 -0
  21. package/dist/actions/bill-customer.mjs.map +1 -0
  22. package/dist/actions/create-customer.cjs +48 -0
  23. package/dist/actions/create-customer.cjs.map +1 -0
  24. package/dist/actions/create-customer.d.cts +9 -0
  25. package/dist/actions/create-customer.d.cts.map +1 -0
  26. package/dist/actions/create-customer.d.mts +9 -0
  27. package/dist/actions/create-customer.d.mts.map +1 -0
  28. package/dist/actions/create-customer.mjs +47 -0
  29. package/dist/actions/create-customer.mjs.map +1 -0
  30. package/dist/actions/create-feature.cjs +45 -0
  31. package/dist/actions/create-feature.cjs.map +1 -0
  32. package/dist/actions/create-feature.d.cts +9 -0
  33. package/dist/actions/create-feature.d.cts.map +1 -0
  34. package/dist/actions/create-feature.d.mts +9 -0
  35. package/dist/actions/create-feature.d.mts.map +1 -0
  36. package/dist/actions/create-feature.mjs +44 -0
  37. package/dist/actions/create-feature.mjs.map +1 -0
  38. package/dist/actions/delete-customer.cjs +19 -0
  39. package/dist/actions/delete-customer.cjs.map +1 -0
  40. package/dist/actions/delete-customer.d.cts +9 -0
  41. package/dist/actions/delete-customer.d.cts.map +1 -0
  42. package/dist/actions/delete-customer.d.mts +9 -0
  43. package/dist/actions/delete-customer.d.mts.map +1 -0
  44. package/dist/actions/delete-customer.mjs +16 -0
  45. package/dist/actions/delete-customer.mjs.map +1 -0
  46. package/dist/actions/delete-offer.cjs +20 -0
  47. package/dist/actions/delete-offer.cjs.map +1 -0
  48. package/dist/actions/delete-offer.d.cts +9 -0
  49. package/dist/actions/delete-offer.d.cts.map +1 -0
  50. package/dist/actions/delete-offer.d.mts +9 -0
  51. package/dist/actions/delete-offer.d.mts.map +1 -0
  52. package/dist/actions/delete-offer.mjs +17 -0
  53. package/dist/actions/delete-offer.mjs.map +1 -0
  54. package/dist/actions/delete-pricing-table-offer.cjs +19 -0
  55. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -0
  56. package/dist/actions/delete-pricing-table-offer.d.cts +9 -0
  57. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -0
  58. package/dist/actions/delete-pricing-table-offer.d.mts +9 -0
  59. package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -0
  60. package/dist/actions/delete-pricing-table-offer.mjs +16 -0
  61. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -0
  62. package/dist/actions/delete-pricing-table.cjs +19 -0
  63. package/dist/actions/delete-pricing-table.cjs.map +1 -0
  64. package/dist/actions/delete-pricing-table.d.cts +9 -0
  65. package/dist/actions/delete-pricing-table.d.cts.map +1 -0
  66. package/dist/actions/delete-pricing-table.d.mts +9 -0
  67. package/dist/actions/delete-pricing-table.d.mts.map +1 -0
  68. package/dist/actions/delete-pricing-table.mjs +16 -0
  69. package/dist/actions/delete-pricing-table.mjs.map +1 -0
  70. package/dist/actions/delete-subscription-discount.cjs +16 -0
  71. package/dist/actions/delete-subscription-discount.cjs.map +1 -0
  72. package/dist/actions/delete-subscription-discount.d.cts +9 -0
  73. package/dist/actions/delete-subscription-discount.d.cts.map +1 -0
  74. package/dist/actions/delete-subscription-discount.d.mts +9 -0
  75. package/dist/actions/delete-subscription-discount.d.mts.map +1 -0
  76. package/dist/actions/delete-subscription-discount.mjs +13 -0
  77. package/dist/actions/delete-subscription-discount.mjs.map +1 -0
  78. package/dist/actions/enable-webhook.cjs +19 -0
  79. package/dist/actions/enable-webhook.cjs.map +1 -0
  80. package/dist/actions/enable-webhook.d.cts +9 -0
  81. package/dist/actions/enable-webhook.d.cts.map +1 -0
  82. package/dist/actions/enable-webhook.d.mts +9 -0
  83. package/dist/actions/enable-webhook.d.mts.map +1 -0
  84. package/dist/actions/enable-webhook.mjs +16 -0
  85. package/dist/actions/enable-webhook.mjs.map +1 -0
  86. package/dist/actions/get-customer-billing-address.cjs +28 -0
  87. package/dist/actions/get-customer-billing-address.cjs.map +1 -0
  88. package/dist/actions/get-customer-billing-address.d.cts +9 -0
  89. package/dist/actions/get-customer-billing-address.d.cts.map +1 -0
  90. package/dist/actions/get-customer-billing-address.d.mts +9 -0
  91. package/dist/actions/get-customer-billing-address.d.mts.map +1 -0
  92. package/dist/actions/get-customer-billing-address.mjs +25 -0
  93. package/dist/actions/get-customer-billing-address.mjs.map +1 -0
  94. package/dist/actions/get-customer-billing.cjs +37 -0
  95. package/dist/actions/get-customer-billing.cjs.map +1 -0
  96. package/dist/actions/get-customer-billing.d.cts +9 -0
  97. package/dist/actions/get-customer-billing.d.cts.map +1 -0
  98. package/dist/actions/get-customer-billing.d.mts +9 -0
  99. package/dist/actions/get-customer-billing.d.mts.map +1 -0
  100. package/dist/actions/get-customer-billing.mjs +36 -0
  101. package/dist/actions/get-customer-billing.mjs.map +1 -0
  102. package/dist/actions/get-customer-by-reference.cjs +35 -0
  103. package/dist/actions/get-customer-by-reference.cjs.map +1 -0
  104. package/dist/actions/get-customer-by-reference.d.cts +9 -0
  105. package/dist/actions/get-customer-by-reference.d.cts.map +1 -0
  106. package/dist/actions/get-customer-by-reference.d.mts +9 -0
  107. package/dist/actions/get-customer-by-reference.d.mts.map +1 -0
  108. package/dist/actions/get-customer-by-reference.mjs +34 -0
  109. package/dist/actions/get-customer-by-reference.mjs.map +1 -0
  110. package/dist/actions/get-customer-payment-settings.cjs +23 -0
  111. package/dist/actions/get-customer-payment-settings.cjs.map +1 -0
  112. package/dist/actions/get-customer-payment-settings.d.cts +9 -0
  113. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -0
  114. package/dist/actions/get-customer-payment-settings.d.mts +9 -0
  115. package/dist/actions/get-customer-payment-settings.d.mts.map +1 -0
  116. package/dist/actions/get-customer-payment-settings.mjs +20 -0
  117. package/dist/actions/get-customer-payment-settings.mjs.map +1 -0
  118. package/dist/actions/get-customer.cjs +38 -0
  119. package/dist/actions/get-customer.cjs.map +1 -0
  120. package/dist/actions/get-customer.d.cts +9 -0
  121. package/dist/actions/get-customer.d.cts.map +1 -0
  122. package/dist/actions/get-customer.d.mts +9 -0
  123. package/dist/actions/get-customer.d.mts.map +1 -0
  124. package/dist/actions/get-customer.mjs +37 -0
  125. package/dist/actions/get-customer.mjs.map +1 -0
  126. package/dist/actions/get-discount.cjs +56 -0
  127. package/dist/actions/get-discount.cjs.map +1 -0
  128. package/dist/actions/get-discount.d.cts +9 -0
  129. package/dist/actions/get-discount.d.cts.map +1 -0
  130. package/dist/actions/get-discount.d.mts +9 -0
  131. package/dist/actions/get-discount.d.mts.map +1 -0
  132. package/dist/actions/get-discount.mjs +55 -0
  133. package/dist/actions/get-discount.mjs.map +1 -0
  134. package/dist/actions/get-feature.cjs +34 -0
  135. package/dist/actions/get-feature.cjs.map +1 -0
  136. package/dist/actions/get-feature.d.cts +9 -0
  137. package/dist/actions/get-feature.d.cts.map +1 -0
  138. package/dist/actions/get-feature.d.mts +9 -0
  139. package/dist/actions/get-feature.d.mts.map +1 -0
  140. package/dist/actions/get-feature.mjs +31 -0
  141. package/dist/actions/get-feature.mjs.map +1 -0
  142. package/dist/actions/get-invoice.cjs +48 -0
  143. package/dist/actions/get-invoice.cjs.map +1 -0
  144. package/dist/actions/get-invoice.d.cts +9 -0
  145. package/dist/actions/get-invoice.d.cts.map +1 -0
  146. package/dist/actions/get-invoice.d.mts +9 -0
  147. package/dist/actions/get-invoice.d.mts.map +1 -0
  148. package/dist/actions/get-invoice.mjs +47 -0
  149. package/dist/actions/get-invoice.mjs.map +1 -0
  150. package/dist/actions/get-offer.cjs +54 -0
  151. package/dist/actions/get-offer.cjs.map +1 -0
  152. package/dist/actions/get-offer.d.cts +9 -0
  153. package/dist/actions/get-offer.d.cts.map +1 -0
  154. package/dist/actions/get-offer.d.mts +9 -0
  155. package/dist/actions/get-offer.d.mts.map +1 -0
  156. package/dist/actions/get-offer.mjs +53 -0
  157. package/dist/actions/get-offer.mjs.map +1 -0
  158. package/dist/actions/get-subscription-by-customer.cjs +78 -0
  159. package/dist/actions/get-subscription-by-customer.cjs.map +1 -0
  160. package/dist/actions/get-subscription-by-customer.d.cts +9 -0
  161. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -0
  162. package/dist/actions/get-subscription-by-customer.d.mts +9 -0
  163. package/dist/actions/get-subscription-by-customer.d.mts.map +1 -0
  164. package/dist/actions/get-subscription-by-customer.mjs +77 -0
  165. package/dist/actions/get-subscription-by-customer.mjs.map +1 -0
  166. package/dist/actions/get-subscription-creation-quote.cjs +46 -0
  167. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -0
  168. package/dist/actions/get-subscription-creation-quote.d.cts +9 -0
  169. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -0
  170. package/dist/actions/get-subscription-creation-quote.d.mts +9 -0
  171. package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -0
  172. package/dist/actions/get-subscription-creation-quote.mjs +45 -0
  173. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -0
  174. package/dist/actions/get-usage.cjs +34 -0
  175. package/dist/actions/get-usage.cjs.map +1 -0
  176. package/dist/actions/get-usage.d.cts +9 -0
  177. package/dist/actions/get-usage.d.cts.map +1 -0
  178. package/dist/actions/get-usage.d.mts +9 -0
  179. package/dist/actions/get-usage.d.mts.map +1 -0
  180. package/dist/actions/get-usage.mjs +31 -0
  181. package/dist/actions/get-usage.mjs.map +1 -0
  182. package/dist/actions/get-usages-for-customer.cjs +48 -0
  183. package/dist/actions/get-usages-for-customer.cjs.map +1 -0
  184. package/dist/actions/get-usages-for-customer.d.cts +9 -0
  185. package/dist/actions/get-usages-for-customer.d.cts.map +1 -0
  186. package/dist/actions/get-usages-for-customer.d.mts +9 -0
  187. package/dist/actions/get-usages-for-customer.d.mts.map +1 -0
  188. package/dist/actions/get-usages-for-customer.mjs +47 -0
  189. package/dist/actions/get-usages-for-customer.mjs.map +1 -0
  190. package/dist/actions/index.cjs +129 -0
  191. package/dist/actions/index.d.cts +65 -0
  192. package/dist/actions/index.d.mts +65 -0
  193. package/dist/actions/index.mjs +65 -0
  194. package/dist/actions/invalidate-customer-by-id.cjs +32 -0
  195. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -0
  196. package/dist/actions/invalidate-customer-by-id.d.cts +9 -0
  197. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -0
  198. package/dist/actions/invalidate-customer-by-id.d.mts +9 -0
  199. package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -0
  200. package/dist/actions/invalidate-customer-by-id.mjs +31 -0
  201. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -0
  202. package/dist/actions/invalidate-customer.cjs +35 -0
  203. package/dist/actions/invalidate-customer.cjs.map +1 -0
  204. package/dist/actions/invalidate-customer.d.cts +9 -0
  205. package/dist/actions/invalidate-customer.d.cts.map +1 -0
  206. package/dist/actions/invalidate-customer.d.mts +9 -0
  207. package/dist/actions/invalidate-customer.d.mts.map +1 -0
  208. package/dist/actions/invalidate-customer.mjs +34 -0
  209. package/dist/actions/invalidate-customer.mjs.map +1 -0
  210. package/dist/actions/list-balance-lines.cjs +49 -0
  211. package/dist/actions/list-balance-lines.cjs.map +1 -0
  212. package/dist/actions/list-balance-lines.d.cts +9 -0
  213. package/dist/actions/list-balance-lines.d.cts.map +1 -0
  214. package/dist/actions/list-balance-lines.d.mts +9 -0
  215. package/dist/actions/list-balance-lines.d.mts.map +1 -0
  216. package/dist/actions/list-balance-lines.mjs +48 -0
  217. package/dist/actions/list-balance-lines.mjs.map +1 -0
  218. package/dist/actions/list-business-localization.cjs +43 -0
  219. package/dist/actions/list-business-localization.cjs.map +1 -0
  220. package/dist/actions/list-business-localization.d.cts +9 -0
  221. package/dist/actions/list-business-localization.d.cts.map +1 -0
  222. package/dist/actions/list-business-localization.d.mts +9 -0
  223. package/dist/actions/list-business-localization.d.mts.map +1 -0
  224. package/dist/actions/list-business-localization.mjs +42 -0
  225. package/dist/actions/list-business-localization.mjs.map +1 -0
  226. package/dist/actions/list-businesses.cjs +44 -0
  227. package/dist/actions/list-businesses.cjs.map +1 -0
  228. package/dist/actions/list-businesses.d.cts +9 -0
  229. package/dist/actions/list-businesses.d.cts.map +1 -0
  230. package/dist/actions/list-businesses.d.mts +9 -0
  231. package/dist/actions/list-businesses.d.mts.map +1 -0
  232. package/dist/actions/list-businesses.mjs +43 -0
  233. package/dist/actions/list-businesses.mjs.map +1 -0
  234. package/dist/actions/list-customer-moves.cjs +50 -0
  235. package/dist/actions/list-customer-moves.cjs.map +1 -0
  236. package/dist/actions/list-customer-moves.d.cts +9 -0
  237. package/dist/actions/list-customer-moves.d.cts.map +1 -0
  238. package/dist/actions/list-customer-moves.d.mts +9 -0
  239. package/dist/actions/list-customer-moves.d.mts.map +1 -0
  240. package/dist/actions/list-customer-moves.mjs +49 -0
  241. package/dist/actions/list-customer-moves.mjs.map +1 -0
  242. package/dist/actions/list-customers-by-feature.cjs +38 -0
  243. package/dist/actions/list-customers-by-feature.cjs.map +1 -0
  244. package/dist/actions/list-customers-by-feature.d.cts +9 -0
  245. package/dist/actions/list-customers-by-feature.d.cts.map +1 -0
  246. package/dist/actions/list-customers-by-feature.d.mts +9 -0
  247. package/dist/actions/list-customers-by-feature.d.mts.map +1 -0
  248. package/dist/actions/list-customers-by-feature.mjs +37 -0
  249. package/dist/actions/list-customers-by-feature.mjs.map +1 -0
  250. package/dist/actions/list-customers.cjs +55 -0
  251. package/dist/actions/list-customers.cjs.map +1 -0
  252. package/dist/actions/list-customers.d.cts +9 -0
  253. package/dist/actions/list-customers.d.cts.map +1 -0
  254. package/dist/actions/list-customers.d.mts +9 -0
  255. package/dist/actions/list-customers.d.mts.map +1 -0
  256. package/dist/actions/list-customers.mjs +54 -0
  257. package/dist/actions/list-customers.mjs.map +1 -0
  258. package/dist/actions/list-discounts.cjs +55 -0
  259. package/dist/actions/list-discounts.cjs.map +1 -0
  260. package/dist/actions/list-discounts.d.cts +9 -0
  261. package/dist/actions/list-discounts.d.cts.map +1 -0
  262. package/dist/actions/list-discounts.d.mts +9 -0
  263. package/dist/actions/list-discounts.d.mts.map +1 -0
  264. package/dist/actions/list-discounts.mjs +54 -0
  265. package/dist/actions/list-discounts.mjs.map +1 -0
  266. package/dist/actions/list-features.cjs +52 -0
  267. package/dist/actions/list-features.cjs.map +1 -0
  268. package/dist/actions/list-features.d.cts +9 -0
  269. package/dist/actions/list-features.d.cts.map +1 -0
  270. package/dist/actions/list-features.d.mts +9 -0
  271. package/dist/actions/list-features.d.mts.map +1 -0
  272. package/dist/actions/list-features.mjs +51 -0
  273. package/dist/actions/list-features.mjs.map +1 -0
  274. package/dist/actions/list-gateway-accounts.cjs +55 -0
  275. package/dist/actions/list-gateway-accounts.cjs.map +1 -0
  276. package/dist/actions/list-gateway-accounts.d.cts +9 -0
  277. package/dist/actions/list-gateway-accounts.d.cts.map +1 -0
  278. package/dist/actions/list-gateway-accounts.d.mts +9 -0
  279. package/dist/actions/list-gateway-accounts.d.mts.map +1 -0
  280. package/dist/actions/list-gateway-accounts.mjs +54 -0
  281. package/dist/actions/list-gateway-accounts.mjs.map +1 -0
  282. package/dist/actions/list-gateway-permissions.cjs +52 -0
  283. package/dist/actions/list-gateway-permissions.cjs.map +1 -0
  284. package/dist/actions/list-gateway-permissions.d.cts +9 -0
  285. package/dist/actions/list-gateway-permissions.d.cts.map +1 -0
  286. package/dist/actions/list-gateway-permissions.d.mts +9 -0
  287. package/dist/actions/list-gateway-permissions.d.mts.map +1 -0
  288. package/dist/actions/list-gateway-permissions.mjs +51 -0
  289. package/dist/actions/list-gateway-permissions.mjs.map +1 -0
  290. package/dist/actions/list-gateway-requests.cjs +66 -0
  291. package/dist/actions/list-gateway-requests.cjs.map +1 -0
  292. package/dist/actions/list-gateway-requests.d.cts +9 -0
  293. package/dist/actions/list-gateway-requests.d.cts.map +1 -0
  294. package/dist/actions/list-gateway-requests.d.mts +9 -0
  295. package/dist/actions/list-gateway-requests.d.mts.map +1 -0
  296. package/dist/actions/list-gateway-requests.mjs +65 -0
  297. package/dist/actions/list-gateway-requests.mjs.map +1 -0
  298. package/dist/actions/list-gateway-transactions.cjs +57 -0
  299. package/dist/actions/list-gateway-transactions.cjs.map +1 -0
  300. package/dist/actions/list-gateway-transactions.d.cts +9 -0
  301. package/dist/actions/list-gateway-transactions.d.cts.map +1 -0
  302. package/dist/actions/list-gateway-transactions.d.mts +9 -0
  303. package/dist/actions/list-gateway-transactions.d.mts.map +1 -0
  304. package/dist/actions/list-gateway-transactions.mjs +56 -0
  305. package/dist/actions/list-gateway-transactions.mjs.map +1 -0
  306. package/dist/actions/list-invoice-lines.cjs +37 -0
  307. package/dist/actions/list-invoice-lines.cjs.map +1 -0
  308. package/dist/actions/list-invoice-lines.d.cts +9 -0
  309. package/dist/actions/list-invoice-lines.d.cts.map +1 -0
  310. package/dist/actions/list-invoice-lines.d.mts +9 -0
  311. package/dist/actions/list-invoice-lines.d.mts.map +1 -0
  312. package/dist/actions/list-invoice-lines.mjs +36 -0
  313. package/dist/actions/list-invoice-lines.mjs.map +1 -0
  314. package/dist/actions/list-invoices-by-customer.cjs +50 -0
  315. package/dist/actions/list-invoices-by-customer.cjs.map +1 -0
  316. package/dist/actions/list-invoices-by-customer.d.cts +9 -0
  317. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -0
  318. package/dist/actions/list-invoices-by-customer.d.mts +9 -0
  319. package/dist/actions/list-invoices-by-customer.d.mts.map +1 -0
  320. package/dist/actions/list-invoices-by-customer.mjs +49 -0
  321. package/dist/actions/list-invoices-by-customer.mjs.map +1 -0
  322. package/dist/actions/list-invoices.cjs +52 -0
  323. package/dist/actions/list-invoices.cjs.map +1 -0
  324. package/dist/actions/list-invoices.d.cts +9 -0
  325. package/dist/actions/list-invoices.d.cts.map +1 -0
  326. package/dist/actions/list-invoices.d.mts +9 -0
  327. package/dist/actions/list-invoices.d.mts.map +1 -0
  328. package/dist/actions/list-invoices.mjs +51 -0
  329. package/dist/actions/list-invoices.mjs.map +1 -0
  330. package/dist/actions/list-offers.cjs +55 -0
  331. package/dist/actions/list-offers.cjs.map +1 -0
  332. package/dist/actions/list-offers.d.cts +9 -0
  333. package/dist/actions/list-offers.d.cts.map +1 -0
  334. package/dist/actions/list-offers.d.mts +9 -0
  335. package/dist/actions/list-offers.d.mts.map +1 -0
  336. package/dist/actions/list-offers.mjs +54 -0
  337. package/dist/actions/list-offers.mjs.map +1 -0
  338. package/dist/actions/list-payments.cjs +50 -0
  339. package/dist/actions/list-payments.cjs.map +1 -0
  340. package/dist/actions/list-payments.d.cts +9 -0
  341. package/dist/actions/list-payments.d.cts.map +1 -0
  342. package/dist/actions/list-payments.d.mts +9 -0
  343. package/dist/actions/list-payments.d.mts.map +1 -0
  344. package/dist/actions/list-payments.mjs +49 -0
  345. package/dist/actions/list-payments.mjs.map +1 -0
  346. package/dist/actions/list-pricing-table-offers.cjs +41 -0
  347. package/dist/actions/list-pricing-table-offers.cjs.map +1 -0
  348. package/dist/actions/list-pricing-table-offers.d.cts +9 -0
  349. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -0
  350. package/dist/actions/list-pricing-table-offers.d.mts +9 -0
  351. package/dist/actions/list-pricing-table-offers.d.mts.map +1 -0
  352. package/dist/actions/list-pricing-table-offers.mjs +40 -0
  353. package/dist/actions/list-pricing-table-offers.mjs.map +1 -0
  354. package/dist/actions/list-pricing-tables.cjs +48 -0
  355. package/dist/actions/list-pricing-tables.cjs.map +1 -0
  356. package/dist/actions/list-pricing-tables.d.cts +9 -0
  357. package/dist/actions/list-pricing-tables.d.cts.map +1 -0
  358. package/dist/actions/list-pricing-tables.d.mts +9 -0
  359. package/dist/actions/list-pricing-tables.d.mts.map +1 -0
  360. package/dist/actions/list-pricing-tables.mjs +47 -0
  361. package/dist/actions/list-pricing-tables.mjs.map +1 -0
  362. package/dist/actions/list-segment-localizations.cjs +38 -0
  363. package/dist/actions/list-segment-localizations.cjs.map +1 -0
  364. package/dist/actions/list-segment-localizations.d.cts +9 -0
  365. package/dist/actions/list-segment-localizations.d.cts.map +1 -0
  366. package/dist/actions/list-segment-localizations.d.mts +9 -0
  367. package/dist/actions/list-segment-localizations.d.mts.map +1 -0
  368. package/dist/actions/list-segment-localizations.mjs +37 -0
  369. package/dist/actions/list-segment-localizations.mjs.map +1 -0
  370. package/dist/actions/list-segments.cjs +53 -0
  371. package/dist/actions/list-segments.cjs.map +1 -0
  372. package/dist/actions/list-segments.d.cts +9 -0
  373. package/dist/actions/list-segments.d.cts.map +1 -0
  374. package/dist/actions/list-segments.d.mts +9 -0
  375. package/dist/actions/list-segments.d.mts.map +1 -0
  376. package/dist/actions/list-segments.mjs +52 -0
  377. package/dist/actions/list-segments.mjs.map +1 -0
  378. package/dist/actions/list-subscription-discounts.cjs +47 -0
  379. package/dist/actions/list-subscription-discounts.cjs.map +1 -0
  380. package/dist/actions/list-subscription-discounts.d.cts +9 -0
  381. package/dist/actions/list-subscription-discounts.d.cts.map +1 -0
  382. package/dist/actions/list-subscription-discounts.d.mts +9 -0
  383. package/dist/actions/list-subscription-discounts.d.mts.map +1 -0
  384. package/dist/actions/list-subscription-discounts.mjs +46 -0
  385. package/dist/actions/list-subscription-discounts.mjs.map +1 -0
  386. package/dist/actions/list-subscription-features.cjs +46 -0
  387. package/dist/actions/list-subscription-features.cjs.map +1 -0
  388. package/dist/actions/list-subscription-features.d.cts +9 -0
  389. package/dist/actions/list-subscription-features.d.cts.map +1 -0
  390. package/dist/actions/list-subscription-features.d.mts +9 -0
  391. package/dist/actions/list-subscription-features.d.mts.map +1 -0
  392. package/dist/actions/list-subscription-features.mjs +45 -0
  393. package/dist/actions/list-subscription-features.mjs.map +1 -0
  394. package/dist/actions/list-subscription-periods.cjs +46 -0
  395. package/dist/actions/list-subscription-periods.cjs.map +1 -0
  396. package/dist/actions/list-subscription-periods.d.cts +9 -0
  397. package/dist/actions/list-subscription-periods.d.cts.map +1 -0
  398. package/dist/actions/list-subscription-periods.d.mts +9 -0
  399. package/dist/actions/list-subscription-periods.d.mts.map +1 -0
  400. package/dist/actions/list-subscription-periods.mjs +45 -0
  401. package/dist/actions/list-subscription-periods.mjs.map +1 -0
  402. package/dist/actions/list-subscriptions.cjs +59 -0
  403. package/dist/actions/list-subscriptions.cjs.map +1 -0
  404. package/dist/actions/list-subscriptions.d.cts +9 -0
  405. package/dist/actions/list-subscriptions.d.cts.map +1 -0
  406. package/dist/actions/list-subscriptions.d.mts +9 -0
  407. package/dist/actions/list-subscriptions.d.mts.map +1 -0
  408. package/dist/actions/list-subscriptions.mjs +58 -0
  409. package/dist/actions/list-subscriptions.mjs.map +1 -0
  410. package/dist/actions/list-tax-profile-exceptions.cjs +52 -0
  411. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -0
  412. package/dist/actions/list-tax-profile-exceptions.d.cts +9 -0
  413. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -0
  414. package/dist/actions/list-tax-profile-exceptions.d.mts +9 -0
  415. package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -0
  416. package/dist/actions/list-tax-profile-exceptions.mjs +51 -0
  417. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -0
  418. package/dist/actions/list-tax-profiles.cjs +48 -0
  419. package/dist/actions/list-tax-profiles.cjs.map +1 -0
  420. package/dist/actions/list-tax-profiles.d.cts +9 -0
  421. package/dist/actions/list-tax-profiles.d.cts.map +1 -0
  422. package/dist/actions/list-tax-profiles.d.mts +9 -0
  423. package/dist/actions/list-tax-profiles.d.mts.map +1 -0
  424. package/dist/actions/list-tax-profiles.mjs +47 -0
  425. package/dist/actions/list-tax-profiles.mjs.map +1 -0
  426. package/dist/actions/list-upgrade-offers.cjs +72 -0
  427. package/dist/actions/list-upgrade-offers.cjs.map +1 -0
  428. package/dist/actions/list-upgrade-offers.d.cts +9 -0
  429. package/dist/actions/list-upgrade-offers.d.cts.map +1 -0
  430. package/dist/actions/list-upgrade-offers.d.mts +9 -0
  431. package/dist/actions/list-upgrade-offers.d.mts.map +1 -0
  432. package/dist/actions/list-upgrade-offers.mjs +71 -0
  433. package/dist/actions/list-upgrade-offers.mjs.map +1 -0
  434. package/dist/actions/list-webhook-notifications.cjs +58 -0
  435. package/dist/actions/list-webhook-notifications.cjs.map +1 -0
  436. package/dist/actions/list-webhook-notifications.d.cts +9 -0
  437. package/dist/actions/list-webhook-notifications.d.cts.map +1 -0
  438. package/dist/actions/list-webhook-notifications.d.mts +9 -0
  439. package/dist/actions/list-webhook-notifications.d.mts.map +1 -0
  440. package/dist/actions/list-webhook-notifications.mjs +57 -0
  441. package/dist/actions/list-webhook-notifications.mjs.map +1 -0
  442. package/dist/actions/list-webhooks.cjs +49 -0
  443. package/dist/actions/list-webhooks.cjs.map +1 -0
  444. package/dist/actions/list-webhooks.d.cts +9 -0
  445. package/dist/actions/list-webhooks.d.cts.map +1 -0
  446. package/dist/actions/list-webhooks.d.mts +9 -0
  447. package/dist/actions/list-webhooks.d.mts.map +1 -0
  448. package/dist/actions/list-webhooks.mjs +48 -0
  449. package/dist/actions/list-webhooks.mjs.map +1 -0
  450. package/dist/actions/quote-balance-line.cjs +41 -0
  451. package/dist/actions/quote-balance-line.cjs.map +1 -0
  452. package/dist/actions/quote-balance-line.d.cts +9 -0
  453. package/dist/actions/quote-balance-line.d.cts.map +1 -0
  454. package/dist/actions/quote-balance-line.d.mts +9 -0
  455. package/dist/actions/quote-balance-line.d.mts.map +1 -0
  456. package/dist/actions/quote-balance-line.mjs +40 -0
  457. package/dist/actions/quote-balance-line.mjs.map +1 -0
  458. package/dist/actions/revoke-customer-links.cjs +31 -0
  459. package/dist/actions/revoke-customer-links.cjs.map +1 -0
  460. package/dist/actions/revoke-customer-links.d.cts +9 -0
  461. package/dist/actions/revoke-customer-links.d.cts.map +1 -0
  462. package/dist/actions/revoke-customer-links.d.mts +9 -0
  463. package/dist/actions/revoke-customer-links.d.mts.map +1 -0
  464. package/dist/actions/revoke-customer-links.mjs +30 -0
  465. package/dist/actions/revoke-customer-links.mjs.map +1 -0
  466. package/dist/actions/update-businesses-billing-address.cjs +50 -0
  467. package/dist/actions/update-businesses-billing-address.cjs.map +1 -0
  468. package/dist/actions/update-businesses-billing-address.d.cts +9 -0
  469. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -0
  470. package/dist/actions/update-businesses-billing-address.d.mts +9 -0
  471. package/dist/actions/update-businesses-billing-address.d.mts.map +1 -0
  472. package/dist/actions/update-businesses-billing-address.mjs +49 -0
  473. package/dist/actions/update-businesses-billing-address.mjs.map +1 -0
  474. package/dist/actions/update-customer-billing-address.cjs +41 -0
  475. package/dist/actions/update-customer-billing-address.cjs.map +1 -0
  476. package/dist/actions/update-customer-billing-address.d.cts +9 -0
  477. package/dist/actions/update-customer-billing-address.d.cts.map +1 -0
  478. package/dist/actions/update-customer-billing-address.d.mts +9 -0
  479. package/dist/actions/update-customer-billing-address.d.mts.map +1 -0
  480. package/dist/actions/update-customer-billing-address.mjs +38 -0
  481. package/dist/actions/update-customer-billing-address.mjs.map +1 -0
  482. package/dist/actions/update-customer-payment-settings.cjs +25 -0
  483. package/dist/actions/update-customer-payment-settings.cjs.map +1 -0
  484. package/dist/actions/update-customer-payment-settings.d.cts +9 -0
  485. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -0
  486. package/dist/actions/update-customer-payment-settings.d.mts +9 -0
  487. package/dist/actions/update-customer-payment-settings.d.mts.map +1 -0
  488. package/dist/actions/update-customer-payment-settings.mjs +22 -0
  489. package/dist/actions/update-customer-payment-settings.mjs.map +1 -0
  490. package/dist/actions/update-customer-shipping.cjs +51 -0
  491. package/dist/actions/update-customer-shipping.cjs.map +1 -0
  492. package/dist/actions/update-customer-shipping.d.cts +9 -0
  493. package/dist/actions/update-customer-shipping.d.cts.map +1 -0
  494. package/dist/actions/update-customer-shipping.d.mts +9 -0
  495. package/dist/actions/update-customer-shipping.d.mts.map +1 -0
  496. package/dist/actions/update-customer-shipping.mjs +50 -0
  497. package/dist/actions/update-customer-shipping.mjs.map +1 -0
  498. package/dist/actions/update-customer.cjs +46 -0
  499. package/dist/actions/update-customer.cjs.map +1 -0
  500. package/dist/actions/update-customer.d.cts +9 -0
  501. package/dist/actions/update-customer.d.cts.map +1 -0
  502. package/dist/actions/update-customer.d.mts +9 -0
  503. package/dist/actions/update-customer.d.mts.map +1 -0
  504. package/dist/actions/update-customer.mjs +45 -0
  505. package/dist/actions/update-customer.mjs.map +1 -0
  506. package/dist/actions/update-feature.cjs +46 -0
  507. package/dist/actions/update-feature.cjs.map +1 -0
  508. package/dist/actions/update-feature.d.cts +9 -0
  509. package/dist/actions/update-feature.d.cts.map +1 -0
  510. package/dist/actions/update-feature.d.mts +9 -0
  511. package/dist/actions/update-feature.d.mts.map +1 -0
  512. package/dist/actions/update-feature.mjs +45 -0
  513. package/dist/actions/update-feature.mjs.map +1 -0
  514. package/dist/actions/update-tax-profiles.cjs +39 -0
  515. package/dist/actions/update-tax-profiles.cjs.map +1 -0
  516. package/dist/actions/update-tax-profiles.d.cts +9 -0
  517. package/dist/actions/update-tax-profiles.d.cts.map +1 -0
  518. package/dist/actions/update-tax-profiles.d.mts +9 -0
  519. package/dist/actions/update-tax-profiles.d.mts.map +1 -0
  520. package/dist/actions/update-tax-profiles.mjs +38 -0
  521. package/dist/actions/update-tax-profiles.mjs.map +1 -0
  522. package/dist/app.cjs +9 -0
  523. package/dist/app.cjs.map +1 -0
  524. package/dist/app.d.cts +5 -0
  525. package/dist/app.d.cts.map +1 -0
  526. package/dist/app.d.mts +5 -0
  527. package/dist/app.d.mts.map +1 -0
  528. package/dist/app.mjs +10 -0
  529. package/dist/app.mjs.map +1 -0
  530. package/dist/catalog.cjs +15 -0
  531. package/dist/catalog.cjs.map +1 -0
  532. package/dist/catalog.d.cts +14 -0
  533. package/dist/catalog.d.cts.map +1 -0
  534. package/dist/catalog.d.mts +14 -0
  535. package/dist/catalog.d.mts.map +1 -0
  536. package/dist/catalog.mjs +15 -0
  537. package/dist/catalog.mjs.map +1 -0
  538. package/dist/execute.cjs +18 -0
  539. package/dist/execute.cjs.map +1 -0
  540. package/dist/execute.mjs +18 -0
  541. package/dist/execute.mjs.map +1 -0
  542. package/dist/index.cjs +134 -0
  543. package/dist/index.d.cts +67 -0
  544. package/dist/index.d.mts +67 -0
  545. package/dist/index.mjs +68 -0
  546. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-billing-address.mjs","names":[],"sources":["../../src/actions/get-customer-billing-address.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerBillingAddressInput: z.ZodTypeAny = z.object({\n reference_customer: z.string().describe(\"The unique reference of the customer to retrieve billing address for. This is the shared identifier between ProAbono and your application.\"),\n}).describe(\"Request model for retrieving a customer's billing address by reference.\");\nexport const ProabonoGetCustomerBillingAddressOutput: z.ZodTypeAny = z.object({\n City: z.string().describe(\"Name of the city\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region code representing subdivision, department, region, province, or state\").nullable().optional(),\n Company: z.string().describe(\"Name of the company\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code of the address\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code of the address\").nullable().optional(),\n LastName: z.string().describe(\"Last name of the address holder\").nullable().optional(),\n FirstName: z.string().describe(\"First name of the address holder\").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 TaxInformation: z.string().describe(\"Tax information such as VAT ID, Num TVA Intra, GST, etc.\").nullable().optional(),\n}).describe(\"Response model for customer billing address retrieved from ProAbono.\");\n\nexport const proabonoGetCustomerBillingAddress = action(\"PROABONO_GET_CUSTOMER_BILLING_ADDRESS\", {\n slug: \"proabono-get-customer-billing-address\",\n name: \"Get Customer Billing Address by Reference\",\n description: \"Tool to retrieve the billing address for a customer by reference from ProAbono API. Use when you need to fetch billing address details including company, contact information, address lines, and tax information using the customer's reference identifier.\",\n input: ProabonoGetCustomerBillingAddressInput,\n output: ProabonoGetCustomerBillingAddressOutput,\n});\n"],"mappings":";;AAqBA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBkE,EAAE,OAAO,EAC3E,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,EACtL,CAAC,CAAC,CAAC,SAAS,yEAmBH;CACP,QAnBmE,EAAE,OAAO;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,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,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-customer-billing.ts
4
+ const ProabonoGetCustomerBillingInput = zod.z.object({ id: zod.z.number().int().describe("The customer ID whose billing address to retrieve") });
5
+ const ProabonoGetCustomerBilling_LinkSchema = zod.z.object({
6
+ rel: zod.z.string().describe("The relationship type of the link").nullable().optional(),
7
+ href: zod.z.string().describe("The URL of the linked resource").nullable().optional()
8
+ });
9
+ const ProabonoGetCustomerBillingOutput = zod.z.object({
10
+ Id: zod.z.number().int().describe("Address object identifier").nullable().optional(),
11
+ City: zod.z.string().describe("City name").nullable().optional(),
12
+ Links: zod.z.array(ProabonoGetCustomerBilling_LinkSchema).describe("HATEOAS navigation links").nullable().optional(),
13
+ Phone: zod.z.string().describe("Phone number").nullable().optional(),
14
+ Region: zod.z.string().describe("ISO 3166-2 region/province/state code").nullable().optional(),
15
+ Company: zod.z.string().describe("Company name").nullable().optional(),
16
+ Country: zod.z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
17
+ ZipCode: zod.z.string().describe("Postal code").nullable().optional(),
18
+ LastName: zod.z.string().describe("Contact last name").nullable().optional(),
19
+ FirstName: zod.z.string().describe("Contact first name").nullable().optional(),
20
+ DateUpdate: zod.z.string().describe("Most recent modification timestamp").nullable().optional(),
21
+ IdCustomer: zod.z.number().int().describe("Associated customer identifier").nullable().optional(),
22
+ AddressLine1: zod.z.string().describe("Line 1 of the address").nullable().optional(),
23
+ AddressLine2: zod.z.string().describe("Line 2 of the address").nullable().optional(),
24
+ IdUserUpdate: zod.z.number().int().describe("User ID who last modified the address").nullable().optional(),
25
+ TaxInformation: zod.z.string().describe("VAT ID or tax identification number").nullable().optional()
26
+ });
27
+ const proabonoGetCustomerBilling = require_action.action("PROABONO_GET_CUSTOMER_BILLING", {
28
+ slug: "proabono-get-customer-billing",
29
+ name: "Get Customer Billing Address",
30
+ description: "Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.",
31
+ input: ProabonoGetCustomerBillingInput,
32
+ output: ProabonoGetCustomerBillingOutput
33
+ });
34
+ //#endregion
35
+ exports.proabonoGetCustomerBilling = proabonoGetCustomerBilling;
36
+
37
+ //# sourceMappingURL=get-customer-billing.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-billing.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-billing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerBillingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The customer ID whose billing address to retrieve\"),\n});\nconst ProabonoGetCustomerBilling_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 ProabonoGetCustomerBillingOutput: 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(ProabonoGetCustomerBilling_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 proabonoGetCustomerBilling = action(\"PROABONO_GET_CUSTOMER_BILLING\", {\n slug: \"proabono-get-customer-billing\",\n name: \"Get Customer Billing Address\",\n description: \"Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoGetCustomerBillingInput,\n output: ProabonoGetCustomerBillingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAA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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjG,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-billing.d.ts
4
+ declare const ProabonoGetCustomerBillingInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerBillingOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerBilling: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerBilling };
9
+ //# sourceMappingURL=get-customer-billing.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-billing.d.cts","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAKW,gCAAA,EAAkC,CAAA,CAAE,UAiB/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-billing.d.ts
4
+ declare const ProabonoGetCustomerBillingInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerBillingOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerBilling: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerBilling };
9
+ //# sourceMappingURL=get-customer-billing.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-billing.d.mts","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cAKW,gCAAA,EAAkC,CAAA,CAAE,UAiB/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-customer-billing.ts
4
+ const ProabonoGetCustomerBillingInput = z.object({ id: z.number().int().describe("The customer ID whose billing address to retrieve") });
5
+ const ProabonoGetCustomerBilling_LinkSchema = z.object({
6
+ rel: z.string().describe("The relationship type of the link").nullable().optional(),
7
+ href: z.string().describe("The URL of the linked resource").nullable().optional()
8
+ });
9
+ const proabonoGetCustomerBilling = action("PROABONO_GET_CUSTOMER_BILLING", {
10
+ slug: "proabono-get-customer-billing",
11
+ name: "Get Customer Billing Address",
12
+ description: "Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.",
13
+ input: ProabonoGetCustomerBillingInput,
14
+ output: z.object({
15
+ Id: z.number().int().describe("Address object identifier").nullable().optional(),
16
+ City: z.string().describe("City name").nullable().optional(),
17
+ Links: z.array(ProabonoGetCustomerBilling_LinkSchema).describe("HATEOAS navigation links").nullable().optional(),
18
+ Phone: z.string().describe("Phone number").nullable().optional(),
19
+ Region: z.string().describe("ISO 3166-2 region/province/state code").nullable().optional(),
20
+ Company: z.string().describe("Company name").nullable().optional(),
21
+ Country: z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
22
+ ZipCode: z.string().describe("Postal code").nullable().optional(),
23
+ LastName: z.string().describe("Contact last name").nullable().optional(),
24
+ FirstName: z.string().describe("Contact first name").nullable().optional(),
25
+ DateUpdate: z.string().describe("Most recent modification timestamp").nullable().optional(),
26
+ IdCustomer: z.number().int().describe("Associated customer identifier").nullable().optional(),
27
+ AddressLine1: z.string().describe("Line 1 of the address").nullable().optional(),
28
+ AddressLine2: z.string().describe("Line 2 of the address").nullable().optional(),
29
+ IdUserUpdate: z.number().int().describe("User ID who last modified the address").nullable().optional(),
30
+ TaxInformation: z.string().describe("VAT ID or tax identification number").nullable().optional()
31
+ })
32
+ });
33
+ //#endregion
34
+ export { proabonoGetCustomerBilling };
35
+
36
+ //# sourceMappingURL=get-customer-billing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-billing.mjs","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerBillingInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The customer ID whose billing address to retrieve\"),\n});\nconst ProabonoGetCustomerBilling_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 ProabonoGetCustomerBillingOutput: 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(ProabonoGetCustomerBilling_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 proabonoGetCustomerBilling = action(\"PROABONO_GET_CUSTOMER_BILLING\", {\n slug: \"proabono-get-customer-billing\",\n name: \"Get Customer Billing Address\",\n description: \"Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoGetCustomerBillingInput,\n output: ProabonoGetCustomerBillingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC;AAoBD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAxB4D,EAAE,OA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AAC,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"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-customer-by-reference.ts
4
+ const ProabonoGetCustomerByReferenceInput = zod.z.object({ reference_customer: zod.z.string().describe("The unique reference identifier of the customer to retrieve, used within your own application") }).describe("Request model for retrieving a customer by their reference from ProAbono.");
5
+ const ProabonoGetCustomerByReference_CustomerLinkSchema = zod.z.object({
6
+ rel: zod.z.string().describe("Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')").nullable().optional(),
7
+ href: zod.z.string().describe("URL for accessing the hosted page or customer portal").nullable().optional(),
8
+ query: zod.z.string().describe("Unique encrypted query parameter for secure access").nullable().optional()
9
+ }).describe("Model for navigation links to hosted pages and customer portal.");
10
+ const ProabonoGetCustomerByReferenceOutput = zod.z.object({
11
+ Id: zod.z.number().int().describe("Customer identifier").nullable().optional(),
12
+ Name: zod.z.string().describe("Fullname of your customer").nullable().optional(),
13
+ Email: zod.z.string().describe("Email of your customer").nullable().optional(),
14
+ Links: zod.z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe("Collection of navigation links to hosted pages and customer portal").nullable().optional(),
15
+ Status: zod.z.string().describe("Status of your Customer (e.g., 'Enabled', 'Suspended')").nullable().optional(),
16
+ Currency: zod.z.string().describe("Customer's currency code (e.g., 'EUR', 'USD')").nullable().optional(),
17
+ Language: zod.z.string().describe("Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
18
+ Metadata: zod.z.object({}).describe("A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.").nullable().optional(),
19
+ IdSegment: zod.z.number().int().describe("Id of the Segment in which your Customer has been created").nullable().optional(),
20
+ DateAffiliation: zod.z.string().describe("Affiliation timestamp in UTC/ISO 8601 format").nullable().optional(),
21
+ ReferenceSegment: zod.z.string().describe("Segment reference containing the customer").nullable().optional(),
22
+ ReferenceCustomer: zod.z.string().describe("The unique identifier used within your own application for this customer").nullable().optional(),
23
+ ReferenceAffiliation: zod.z.string().describe("Reference of the affiliate who brought the customer").nullable().optional()
24
+ }).describe("Response model for a ProAbono customer retrieved by reference.");
25
+ const proabonoGetCustomerByReference = require_action.action("PROABONO_GET_CUSTOMER_BY_REFERENCE", {
26
+ slug: "proabono-get-customer-by-reference",
27
+ name: "Get Customer by Reference",
28
+ description: "Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.",
29
+ input: ProabonoGetCustomerByReferenceInput,
30
+ output: ProabonoGetCustomerByReferenceOutput
31
+ });
32
+ //#endregion
33
+ exports.proabonoGetCustomerByReference = proabonoGetCustomerByReference;
34
+
35
+ //# sourceMappingURL=get-customer-by-reference.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-by-reference.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput: z.ZodTypeAny = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.object({}).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EACzI,CAAC,C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S;CACpL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-by-reference.d.ts
4
+ declare const ProabonoGetCustomerByReferenceInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerByReferenceOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerByReference };
9
+ //# sourceMappingURL=get-customer-by-reference.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-by-reference.d.cts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEoC;AAAA,cAM3E,oCAAA,EAAsC,CAAA,CAAE,UAcwB;AAAA,cAEhE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-by-reference.d.ts
4
+ declare const ProabonoGetCustomerByReferenceInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerByReferenceOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerByReference };
9
+ //# sourceMappingURL=get-customer-by-reference.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-by-reference.d.mts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAEoC;AAAA,cAM3E,oCAAA,EAAsC,CAAA,CAAE,UAcwB;AAAA,cAEhE,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-customer-by-reference.ts
4
+ const ProabonoGetCustomerByReferenceInput = z.object({ reference_customer: z.string().describe("The unique reference identifier of the customer to retrieve, used within your own application") }).describe("Request model for retrieving a customer by their reference from ProAbono.");
5
+ const ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({
6
+ rel: z.string().describe("Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')").nullable().optional(),
7
+ href: z.string().describe("URL for accessing the hosted page or customer portal").nullable().optional(),
8
+ query: z.string().describe("Unique encrypted query parameter for secure access").nullable().optional()
9
+ }).describe("Model for navigation links to hosted pages and customer portal.");
10
+ const proabonoGetCustomerByReference = action("PROABONO_GET_CUSTOMER_BY_REFERENCE", {
11
+ slug: "proabono-get-customer-by-reference",
12
+ name: "Get Customer by Reference",
13
+ description: "Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.",
14
+ input: ProabonoGetCustomerByReferenceInput,
15
+ output: z.object({
16
+ Id: z.number().int().describe("Customer identifier").nullable().optional(),
17
+ Name: z.string().describe("Fullname of your customer").nullable().optional(),
18
+ Email: z.string().describe("Email of your customer").nullable().optional(),
19
+ Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe("Collection of navigation links to hosted pages and customer portal").nullable().optional(),
20
+ Status: z.string().describe("Status of your Customer (e.g., 'Enabled', 'Suspended')").nullable().optional(),
21
+ Currency: z.string().describe("Customer's currency code (e.g., 'EUR', 'USD')").nullable().optional(),
22
+ Language: z.string().describe("Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')").nullable().optional(),
23
+ Metadata: z.object({}).describe("A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.").nullable().optional(),
24
+ IdSegment: z.number().int().describe("Id of the Segment in which your Customer has been created").nullable().optional(),
25
+ DateAffiliation: z.string().describe("Affiliation timestamp in UTC/ISO 8601 format").nullable().optional(),
26
+ ReferenceSegment: z.string().describe("Segment reference containing the customer").nullable().optional(),
27
+ ReferenceCustomer: z.string().describe("The unique identifier used within your own application for this customer").nullable().optional(),
28
+ ReferenceAffiliation: z.string().describe("Reference of the affiliate who brought the customer").nullable().optional()
29
+ }).describe("Response model for a ProAbono customer retrieved by reference.")
30
+ });
31
+ //#endregion
32
+ export { proabonoGetCustomerByReference };
33
+
34
+ //# sourceMappingURL=get-customer-by-reference.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-by-reference.mjs","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput: z.ZodTypeAny = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.object({}).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO,EACxE,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,EACzI,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,oDAAkE,EAAE,OAAO;CAC/E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAiB7E,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QArBgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-customer-payment-settings.ts
4
+ const ProabonoGetCustomerPaymentSettingsInput = zod.z.object({ ReferenceCustomer: zod.z.string().describe("The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)") }).describe("Request model for the GetCustomerPaymentSettings action.");
5
+ const ProabonoGetCustomerPaymentSettingsOutput = zod.z.object({
6
+ IsTaxed: zod.z.boolean().describe("Indicates whether the customer is subject to taxation").nullable().optional(),
7
+ NoteInvoice: zod.z.string().describe("A note that will be added at the bottom of all upcoming invoices for this customer").nullable().optional(),
8
+ TypePayment: zod.z.string().describe("The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther").nullable().optional(),
9
+ IsGreyListed: zod.z.boolean().describe("Indicates if access to payment forms is prevented due to suspicious activity or payment issues").nullable().optional(),
10
+ IsAutoBilling: zod.z.boolean().describe("Whether automatic billing is enabled for the next billing date").nullable().optional(),
11
+ DateNextBilling: zod.z.string().describe("ISO 8601 timestamp of the next billing date for this customer").nullable().optional()
12
+ }).describe("Response model for customer payment settings.");
13
+ const proabonoGetCustomerPaymentSettings = require_action.action("PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS", {
14
+ slug: "proabono-get-customer-payment-settings",
15
+ name: "Get Customer Payment Settings",
16
+ description: "Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.",
17
+ input: ProabonoGetCustomerPaymentSettingsInput,
18
+ output: ProabonoGetCustomerPaymentSettingsOutput
19
+ });
20
+ //#endregion
21
+ exports.proabonoGetCustomerPaymentSettings = proabonoGetCustomerPaymentSettings;
22
+
23
+ //# sourceMappingURL=get-customer-payment-settings.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput: z.ZodTypeAny = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput: z.ZodTypeAny = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\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 customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0CAAwDA,IAAAA,EAAE,OAAO,EAC5E,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-payment-settings.d.ts
4
+ declare const ProabonoGetCustomerPaymentSettingsInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerPaymentSettings };
9
+ //# sourceMappingURL=get-customer-payment-settings.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-payment-settings.d.cts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEe;AAAA,cAC1D,wCAAA,EAA0C,CAAA,CAAE,UAOG;AAAA,cAE/C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer-payment-settings.d.ts
4
+ declare const ProabonoGetCustomerPaymentSettingsInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomerPaymentSettings };
9
+ //# sourceMappingURL=get-customer-payment-settings.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;cAIa,uCAAA,EAAyC,CAAA,CAAE,UAEe;AAAA,cAC1D,wCAAA,EAA0C,CAAA,CAAE,UAOG;AAAA,cAE/C,kCAAA,gCAAkC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const proabonoGetCustomerPaymentSettings = action("PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS", {
4
+ slug: "proabono-get-customer-payment-settings",
5
+ name: "Get Customer Payment Settings",
6
+ description: "Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.",
7
+ input: z.object({ ReferenceCustomer: z.string().describe("The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)") }).describe("Request model for the GetCustomerPaymentSettings action."),
8
+ output: z.object({
9
+ IsTaxed: z.boolean().describe("Indicates whether the customer is subject to taxation").nullable().optional(),
10
+ NoteInvoice: z.string().describe("A note that will be added at the bottom of all upcoming invoices for this customer").nullable().optional(),
11
+ TypePayment: z.string().describe("The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther").nullable().optional(),
12
+ IsGreyListed: z.boolean().describe("Indicates if access to payment forms is prevented due to suspicious activity or payment issues").nullable().optional(),
13
+ IsAutoBilling: z.boolean().describe("Whether automatic billing is enabled for the next billing date").nullable().optional(),
14
+ DateNextBilling: z.string().describe("ISO 8601 timestamp of the next billing date for this customer").nullable().optional()
15
+ }).describe("Response model for customer payment settings.")
16
+ });
17
+ //#endregion
18
+ export { proabonoGetCustomerPaymentSettings };
19
+
20
+ //# sourceMappingURL=get-customer-payment-settings.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput: z.ZodTypeAny = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput: z.ZodTypeAny = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\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 customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmE,EAAE,OAAO,EAC5E,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdoE,EAAE,OAAO;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,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,+CAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-customer.ts
4
+ const ProabonoGetCustomerInput = zod.z.object({
5
+ id: zod.z.number().int().describe("The unique identifier of the customer to retrieve"),
6
+ id_business: zod.z.number().int().describe("The business identifier. Optional parameter to scope the request to a specific business").optional()
7
+ }).describe("Request model for retrieving a customer by ID from ProAbono.");
8
+ const ProabonoGetCustomer_CustomerLinkSchema = zod.z.object({
9
+ rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
10
+ href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
11
+ }).describe("Model for HATEOAS navigation links in customer response.");
12
+ const ProabonoGetCustomerOutput = zod.z.object({
13
+ Id: zod.z.number().int().describe("Unique customer identifier").nullable().optional(),
14
+ Name: zod.z.string().describe("Display name of the customer").nullable().optional(),
15
+ Email: zod.z.string().describe("Customer email address").nullable().optional(),
16
+ Links: zod.z.array(ProabonoGetCustomer_CustomerLinkSchema).describe("HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)").nullable().optional(),
17
+ Status: zod.z.string().describe("Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')").nullable().optional(),
18
+ Language: zod.z.string().describe("ISO 639-1 language code (e.g., 'en', 'fr')").nullable().optional(),
19
+ IdSegment: zod.z.number().int().describe("Segment association ID").nullable().optional(),
20
+ DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
21
+ IdBusiness: zod.z.number().int().describe("Business association ID").nullable().optional(),
22
+ DateCreation: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
23
+ IdUserUpdate: zod.z.number().int().describe("User ID who last modified the customer record").nullable().optional(),
24
+ StateCustomer: zod.z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled')").nullable().optional(),
25
+ IdUserCreation: zod.z.number().int().describe("User ID who created the customer record").nullable().optional(),
26
+ ReferenceCustomer: zod.z.string().describe("Shared key of the customer between ProAbono and your application").nullable().optional()
27
+ }).describe("Response model for a ProAbono customer retrieved by ID.");
28
+ const proabonoGetCustomer = require_action.action("PROABONO_GET_CUSTOMER", {
29
+ slug: "proabono-get-customer",
30
+ name: "Get Customer by ID",
31
+ description: "Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.",
32
+ input: ProabonoGetCustomerInput,
33
+ output: ProabonoGetCustomerOutput
34
+ });
35
+ //#endregion
36
+ exports.proabonoGetCustomer = proabonoGetCustomer;
37
+
38
+ //# sourceMappingURL=get-customer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in 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 of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: 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O,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer.d.ts
4
+ declare const ProabonoGetCustomerInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomer };
9
+ //# sourceMappingURL=get-customer.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer.d.cts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGkC;AAAA,cAK9D,yBAAA,EAA2B,CAAA,CAAE,UAe4B;AAAA,cAEzD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-customer.d.ts
4
+ declare const ProabonoGetCustomerInput: z.ZodTypeAny;
5
+ declare const ProabonoGetCustomerOutput: z.ZodTypeAny;
6
+ declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetCustomer };
9
+ //# sourceMappingURL=get-customer.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer.d.mts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGkC;AAAA,cAK9D,yBAAA,EAA2B,CAAA,CAAE,UAe4B;AAAA,cAEzD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,37 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-customer.ts
4
+ const ProabonoGetCustomerInput = z.object({
5
+ id: z.number().int().describe("The unique identifier of the customer to retrieve"),
6
+ id_business: z.number().int().describe("The business identifier. Optional parameter to scope the request to a specific business").optional()
7
+ }).describe("Request model for retrieving a customer by ID from ProAbono.");
8
+ const ProabonoGetCustomer_CustomerLinkSchema = z.object({
9
+ rel: z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
10
+ href: z.string().describe("API endpoint path for the related resource").nullable().optional()
11
+ }).describe("Model for HATEOAS navigation links in customer response.");
12
+ const proabonoGetCustomer = action("PROABONO_GET_CUSTOMER", {
13
+ slug: "proabono-get-customer",
14
+ name: "Get Customer by ID",
15
+ description: "Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.",
16
+ input: ProabonoGetCustomerInput,
17
+ output: z.object({
18
+ Id: z.number().int().describe("Unique customer identifier").nullable().optional(),
19
+ Name: z.string().describe("Display name of the customer").nullable().optional(),
20
+ Email: z.string().describe("Customer email address").nullable().optional(),
21
+ Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe("HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)").nullable().optional(),
22
+ Status: z.string().describe("Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')").nullable().optional(),
23
+ Language: z.string().describe("ISO 639-1 language code (e.g., 'en', 'fr')").nullable().optional(),
24
+ IdSegment: z.number().int().describe("Segment association ID").nullable().optional(),
25
+ DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
26
+ IdBusiness: z.number().int().describe("Business association ID").nullable().optional(),
27
+ DateCreation: z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
28
+ IdUserUpdate: z.number().int().describe("User ID who last modified the customer record").nullable().optional(),
29
+ StateCustomer: z.string().describe("Technical state of the customer (e.g., 'Enabled', 'Disabled')").nullable().optional(),
30
+ IdUserCreation: z.number().int().describe("User ID who created the customer record").nullable().optional(),
31
+ ReferenceCustomer: z.string().describe("Shared key of the customer between ProAbono and your application").nullable().optional()
32
+ }).describe("Response model for a ProAbono customer retrieved by ID.")
33
+ });
34
+ //#endregion
35
+ export { proabonoGetCustomer };
36
+
37
+ //# sourceMappingURL=get-customer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in 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 of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAuD,EAAE,OAAO;CACpE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAkBtE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
@@ -0,0 +1,56 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-discount.ts
4
+ const ProabonoGetDiscountInput = zod.z.object({
5
+ Id: zod.z.number().int().describe("The discount ID to retrieve"),
6
+ IdBusiness: zod.z.number().int().describe("Your business ID")
7
+ }).describe("Request model for retrieving a discount by ID.");
8
+ const ProabonoGetDiscount_LinkSchema = zod.z.object({
9
+ rel: zod.z.string().describe("Relation type of the link").nullable().optional(),
10
+ href: zod.z.string().describe("URL of the linked resource").nullable().optional()
11
+ }).describe("HATEOAS link.");
12
+ const ProabonoGetDiscount_DiscountTypeOffSchema = zod.z.enum(["Flat", "PerTenThousand"]).describe("Type of discount.");
13
+ const ProabonoGetDiscount_StateLifeCycleSchema = zod.z.enum([
14
+ "Ok",
15
+ "ToModerate",
16
+ "DisabledUser",
17
+ "DisabledSystem",
18
+ "DisabledModeration",
19
+ "Deleted"
20
+ ]).describe("Lifecycle state of the discount.");
21
+ const ProabonoGetDiscount_DiscountTargetFeeSchema = zod.z.enum([
22
+ "UpfrontFee",
23
+ "FlatFee",
24
+ "FeatureFee",
25
+ "AllRecurring",
26
+ "All"
27
+ ]).describe("Target fees for the discount.");
28
+ const ProabonoGetDiscount_DiscountStateSchema = zod.z.enum(["Draft", "Enabled"]).describe("Functional state of the discount.");
29
+ const ProabonoGetDiscountOutput = zod.z.object({
30
+ Id: zod.z.number().int().describe("Unique identifier of the discount").nullable().optional(),
31
+ Name: zod.z.string().describe("Display name of the discount").nullable().optional(),
32
+ Links: zod.z.array(ProabonoGetDiscount_LinkSchema).describe("HATEOAS links including self reference").nullable().optional(),
33
+ TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),
34
+ AmountOff: zod.z.number().int().describe("Discount amount in cents or per ten thousand").nullable().optional(),
35
+ IdSegment: zod.z.number().int().describe("Associated segment identifier").nullable().optional(),
36
+ StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),
37
+ TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),
38
+ DateUpdate: zod.z.string().describe("Last modification timestamp").nullable().optional(),
39
+ IdBusiness: zod.z.number().int().describe("Business identifier").nullable().optional(),
40
+ DateCreation: zod.z.string().describe("Creation timestamp").nullable().optional(),
41
+ IdUserUpdate: zod.z.number().int().describe("ID of user who last modified the discount").nullable().optional(),
42
+ StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),
43
+ IdUserCreation: zod.z.number().int().describe("ID of user who created the discount").nullable().optional(),
44
+ ReferenceDiscount: zod.z.string().describe("Shared reference key with external systems").nullable().optional()
45
+ }).describe("Response model for a discount retrieved from the Backoffice API.");
46
+ const proabonoGetDiscount = require_action.action("PROABONO_GET_DISCOUNT", {
47
+ slug: "proabono-get-discount",
48
+ name: "Get Discount",
49
+ description: "Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.",
50
+ input: ProabonoGetDiscountInput,
51
+ output: ProabonoGetDiscountOutput
52
+ });
53
+ //#endregion
54
+ exports.proabonoGetDiscount = proabonoGetDiscount;
55
+
56
+ //# sourceMappingURL=get-discount.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-discount.cjs","names":["z","action"],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema: z.ZodTypeAny = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema: z.ZodTypeAny = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema: z.ZodTypeAny = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema: z.ZodTypeAny = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,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/actions/get-discount.d.ts
4
+ declare const ProabonoGetDiscountInput: z.ZodTypeAny;
5
+ declare const ProabonoGetDiscountOutput: z.ZodTypeAny;
6
+ declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetDiscount };
9
+ //# sourceMappingURL=get-discount.d.cts.map