@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,43 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-businesses.ts
4
+ const ProabonoListBusinessesInput = z.object({
5
+ page: z.number().int().describe("Page number. Default: 1.").optional(),
6
+ StateLife: z.string().describe("Filter businesses by lifecycle state. Common values include 'Ok' for active businesses.").optional(),
7
+ size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
8
+ DateUpdateMin: z.string().describe("Filter businesses updated after this date. Must be in ISO 8601 format (e.g., '2023-04-27T06:54:00').").optional()
9
+ }).describe("Request model for listing businesses with optional filters.");
10
+ const ProabonoListBusinesses_LinkObjectSchema = z.object({
11
+ rel: z.string().describe("Relationship type of the link (e.g., 'self', 'next', 'previous')").nullable().optional(),
12
+ href: z.string().describe("URL of the related resource").nullable().optional()
13
+ }).describe("Represents a link to a related resource.");
14
+ const ProabonoListBusinesses_BusinessObjectSchema = z.object({
15
+ Id: z.number().int().describe("Unique identifier for the business").nullable().optional(),
16
+ Name: z.string().describe("Display name of the business").nullable().optional(),
17
+ Links: z.array(ProabonoListBusinesses_LinkObjectSchema).describe("Array of links to related resources (agents, segments, billing addresses, etc.)").nullable().optional(),
18
+ StateLife: z.string().describe("Lifecycle state of the business (e.g., 'Ok' for active)").nullable().optional(),
19
+ DateUpdate: z.string().describe("Timestamp of the last modification (ISO 8601 format)").nullable().optional(),
20
+ DateCreation: z.string().describe("Timestamp when the business was created (ISO 8601 format)").nullable().optional(),
21
+ IdUserUpdate: z.number().int().describe("User ID of the person who last updated this business").nullable().optional(),
22
+ IdUserCreation: z.number().int().describe("User ID of the person who created this business").nullable().optional(),
23
+ LanguageDefault: z.string().describe("Default language code for the business (ISO 639-1 format)").nullable().optional()
24
+ }).describe("Represents a single business entity in ProAbono.");
25
+ const proabonoListBusinesses = action("PROABONO_LIST_BUSINESSES", {
26
+ slug: "proabono-list-businesses",
27
+ name: "List Businesses",
28
+ description: "Tool to list all businesses from ProAbono via the Backoffice API. Use when you need to retrieve business information with optional filtering by state or update date.",
29
+ input: ProabonoListBusinessesInput,
30
+ output: z.object({
31
+ Page: z.number().int().describe("Current page number in the result set").nullable().optional(),
32
+ Count: z.number().int().describe("Number of items returned in this page").nullable().optional(),
33
+ Items: z.array(ProabonoListBusinesses_BusinessObjectSchema).describe("Array of business objects returned in this page").nullable().optional(),
34
+ Links: z.array(ProabonoListBusinesses_LinkObjectSchema).describe("Array of links for pagination navigation").nullable().optional(),
35
+ SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
36
+ TotalItems: z.number().int().describe("Total number of items available across all pages").nullable().optional(),
37
+ DateGenerated: z.string().describe("Timestamp when this response was generated (ISO 8601 format)").nullable().optional()
38
+ }).describe("Response model for listing businesses with pagination metadata.")
39
+ });
40
+ //#endregion
41
+ export { proabonoListBusinesses };
42
+
43
+ //# sourceMappingURL=list-businesses.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-businesses.mjs","names":[],"sources":["../../src/actions/list-businesses.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListBusinessesInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n StateLife: z.string().describe(\"Filter businesses by lifecycle state. Common values include 'Ok' for active businesses.\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n DateUpdateMin: z.string().describe(\"Filter businesses updated after this date. Must be in ISO 8601 format (e.g., '2023-04-27T06:54:00').\").optional(),\n}).describe(\"Request model for listing businesses with optional filters.\");\nconst ProabonoListBusinesses_LinkObjectSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'next', 'previous')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).describe(\"Represents a link to a related resource.\");\nconst ProabonoListBusinesses_BusinessObjectSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier for the business\").nullable().optional(),\n Name: z.string().describe(\"Display name of the business\").nullable().optional(),\n Links: z.array(ProabonoListBusinesses_LinkObjectSchema).describe(\"Array of links to related resources (agents, segments, billing addresses, etc.)\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state of the business (e.g., 'Ok' for active)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Timestamp of the last modification (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Timestamp when the business was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID of the person who last updated this business\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID of the person who created this business\").nullable().optional(),\n LanguageDefault: z.string().describe(\"Default language code for the business (ISO 639-1 format)\").nullable().optional(),\n}).describe(\"Represents a single business entity in ProAbono.\");\nexport const ProabonoListBusinessesOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number in the result set\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items returned in this page\").nullable().optional(),\n Items: z.array(ProabonoListBusinesses_BusinessObjectSchema).describe(\"Array of business objects returned in this page\").nullable().optional(),\n Links: z.array(ProabonoListBusinesses_LinkObjectSchema).describe(\"Array of links for pagination navigation\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items available across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when this response was generated (ISO 8601 format)\").nullable().optional(),\n}).describe(\"Response model for listing businesses with pagination metadata.\");\n\nexport const proabonoListBusinesses = action(\"PROABONO_LIST_BUSINESSES\", {\n slug: \"proabono-list-businesses\",\n name: \"List Businesses\",\n description: \"Tool to list all businesses from ProAbono via the Backoffice API. Use when you need to retrieve business information with optional filtering by state or update date.\",\n input: ProabonoListBusinessesInput,\n output: ProabonoListBusinessesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACnI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0CAAwD,EAAE,OAAO;CACrE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,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CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,iEAOF;AACV,CAAC"}
@@ -0,0 +1,50 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-customer-moves.ts
4
+ const ProabonoListCustomerMovesInput = zod.z.object({
5
+ Page: zod.z.number().int().describe("Page number for paginated results. Defaults to 1 if not specified.").optional(),
6
+ Count: zod.z.boolean().describe("Whether to include total count in the response. Defaults to true.").optional(),
7
+ Links: zod.z.boolean().describe("Whether to generate HATEOAS links in the response. Defaults to true.").optional(),
8
+ SizePage: zod.z.number().int().describe("Number of items per page. Maximum is 1000.").optional(),
9
+ IdBusiness: zod.z.number().int().describe("Your business ID. This is required to identify which business to query."),
10
+ IdCustomer: zod.z.number().int().describe("Customer identifier to filter moves for a specific customer").optional(),
11
+ IsNotBilled: zod.z.boolean().describe("Filter to show only unbilled moves (true) or all moves (false/null)").optional(),
12
+ DateUpdateMin: zod.z.string().describe("Filter moves updated after this date (ISO 8601 format: YYYY-MM-DDTHH:MM:SS)").optional()
13
+ }).describe("Request model for listing customer balance moves.");
14
+ const ProabonoListCustomerMoves_CustomerMoveSchema = zod.z.object({
15
+ Id: zod.z.number().int().describe("Identifier of the CustomerMove object").nullable().optional(),
16
+ TypeMove: zod.z.string().describe("Category of the balance transaction (e.g., AutoBillingReport, AutoSubscriptionRecurrence)").nullable().optional(),
17
+ AmountMove: zod.z.number().int().describe("Transaction amount in cents").nullable().optional(),
18
+ DateUpdate: zod.z.string().describe("Date of last update").nullable().optional(),
19
+ IdCustomer: zod.z.number().int().describe("Associated customer identifier").nullable().optional(),
20
+ IsNotBilled: zod.z.boolean().describe("Whether the move is unbilled").nullable().optional(),
21
+ DateCreation: zod.z.string().describe("Creation date of the object").nullable().optional(),
22
+ IdUserUpdate: zod.z.number().int().describe("User ID who last updated the record").nullable().optional(),
23
+ AmountSubtotal: zod.z.number().int().describe("Amount in cents before taxes").nullable().optional(),
24
+ AmountTotalDue: zod.z.number().int().describe("Amount in cents after taxes").nullable().optional(),
25
+ IdUserCreation: zod.z.number().int().describe("User ID who created the record").nullable().optional()
26
+ }).describe("CustomerMove resource representing a balance transaction.");
27
+ const ProabonoListCustomerMoves_LinkSchema = zod.z.object({
28
+ rel: zod.z.string().describe("Relationship type of the link").nullable().optional(),
29
+ href: zod.z.string().describe("URL of the link").nullable().optional()
30
+ }).describe("HATEOAS link object.");
31
+ const ProabonoListCustomerMovesOutput = zod.z.object({
32
+ Page: zod.z.number().int().describe("Current page number").nullable().optional(),
33
+ Count: zod.z.number().int().describe("Number of items in current page").nullable().optional(),
34
+ Items: zod.z.array(ProabonoListCustomerMoves_CustomerMoveSchema).describe("List of customer balance moves").nullable().optional(),
35
+ Links: zod.z.array(ProabonoListCustomerMoves_LinkSchema).describe("HATEOAS navigation links").nullable().optional(),
36
+ SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
37
+ TotalItems: zod.z.number().int().describe("Total number of items across all pages").nullable().optional(),
38
+ DateGenerated: zod.z.string().describe("Timestamp when the response was generated").nullable().optional()
39
+ }).describe("Response model for listing customer balance moves.");
40
+ const proabonoListCustomerMoves = require_action.action("PROABONO_LIST_CUSTOMER_MOVES", {
41
+ slug: "proabono-list-customer-moves",
42
+ name: "List Customer Moves",
43
+ description: "Tool to list all customer balance moves via the ProAbono Backoffice API. Use when you need to retrieve balance transactions, credits, debits, or billing movements for customers. Supports filtering by customer, billing status, and date range with pagination.",
44
+ input: ProabonoListCustomerMovesInput,
45
+ output: ProabonoListCustomerMovesOutput
46
+ });
47
+ //#endregion
48
+ exports.proabonoListCustomerMoves = proabonoListCustomerMoves;
49
+
50
+ //# sourceMappingURL=list-customer-moves.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customer-moves.cjs","names":["z","action"],"sources":["../../src/actions/list-customer-moves.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomerMovesInput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n Count: z.boolean().describe(\"Whether to include total count in the response. Defaults to true.\").optional(),\n Links: z.boolean().describe(\"Whether to generate HATEOAS links in the response. Defaults to true.\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page. Maximum is 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business to query.\"),\n IdCustomer: z.number().int().describe(\"Customer identifier to filter moves for a specific customer\").optional(),\n IsNotBilled: z.boolean().describe(\"Filter to show only unbilled moves (true) or all moves (false/null)\").optional(),\n DateUpdateMin: z.string().describe(\"Filter moves updated after this date (ISO 8601 format: YYYY-MM-DDTHH:MM:SS)\").optional(),\n}).describe(\"Request model for listing customer balance moves.\");\nconst ProabonoListCustomerMoves_CustomerMoveSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Identifier of the CustomerMove object\").nullable().optional(),\n TypeMove: z.string().describe(\"Category of the balance transaction (e.g., AutoBillingReport, AutoSubscriptionRecurrence)\").nullable().optional(),\n AmountMove: z.number().int().describe(\"Transaction amount in cents\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n IsNotBilled: z.boolean().describe(\"Whether the move is unbilled\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last updated the record\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Amount in cents before taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Amount in cents after taxes\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the record\").nullable().optional(),\n}).describe(\"CustomerMove resource representing a balance transaction.\");\nconst ProabonoListCustomerMoves_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the link\").nullable().optional(),\n}).describe(\"HATEOAS link object.\");\nexport const ProabonoListCustomerMovesOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomerMoves_CustomerMoveSchema).describe(\"List of customer balance moves\").nullable().optional(),\n Links: z.array(ProabonoListCustomerMoves_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).describe(\"Response model for listing customer balance moves.\");\n\nexport const proabonoListCustomerMoves = action(\"PROABONO_LIST_CUSTOMER_MOVES\", {\n slug: \"proabono-list-customer-moves\",\n name: \"List Customer Moves\",\n description: \"Tool to list all customer balance moves via the ProAbono Backoffice API. Use when you need to retrieve balance transactions, credits, debits, or billing movements for customers. Supports filtering by customer, billing status, and date range with pagination.\",\n input: ProabonoListCustomerMovesInput,\n output: ProabonoListCustomerMovesOutput,\n});\n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AS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,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/list-customer-moves.d.ts
4
+ declare const ProabonoListCustomerMovesInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomerMovesOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomerMoves: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomerMoves };
9
+ //# sourceMappingURL=list-customer-moves.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customer-moves.d.cts","names":[],"sources":["../../src/actions/list-customer-moves.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UASiB;AAAA,cAkBnD,+BAAA,EAAiC,CAAA,CAAE,UAQiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-customer-moves.d.ts
4
+ declare const ProabonoListCustomerMovesInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomerMovesOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomerMoves: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomerMoves };
9
+ //# sourceMappingURL=list-customer-moves.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customer-moves.d.mts","names":[],"sources":["../../src/actions/list-customer-moves.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UASiB;AAAA,cAkBnD,+BAAA,EAAiC,CAAA,CAAE,UAQiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,49 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-customer-moves.ts
4
+ const ProabonoListCustomerMovesInput = z.object({
5
+ Page: z.number().int().describe("Page number for paginated results. Defaults to 1 if not specified.").optional(),
6
+ Count: z.boolean().describe("Whether to include total count in the response. Defaults to true.").optional(),
7
+ Links: z.boolean().describe("Whether to generate HATEOAS links in the response. Defaults to true.").optional(),
8
+ SizePage: z.number().int().describe("Number of items per page. Maximum is 1000.").optional(),
9
+ IdBusiness: z.number().int().describe("Your business ID. This is required to identify which business to query."),
10
+ IdCustomer: z.number().int().describe("Customer identifier to filter moves for a specific customer").optional(),
11
+ IsNotBilled: z.boolean().describe("Filter to show only unbilled moves (true) or all moves (false/null)").optional(),
12
+ DateUpdateMin: z.string().describe("Filter moves updated after this date (ISO 8601 format: YYYY-MM-DDTHH:MM:SS)").optional()
13
+ }).describe("Request model for listing customer balance moves.");
14
+ const ProabonoListCustomerMoves_CustomerMoveSchema = z.object({
15
+ Id: z.number().int().describe("Identifier of the CustomerMove object").nullable().optional(),
16
+ TypeMove: z.string().describe("Category of the balance transaction (e.g., AutoBillingReport, AutoSubscriptionRecurrence)").nullable().optional(),
17
+ AmountMove: z.number().int().describe("Transaction amount in cents").nullable().optional(),
18
+ DateUpdate: z.string().describe("Date of last update").nullable().optional(),
19
+ IdCustomer: z.number().int().describe("Associated customer identifier").nullable().optional(),
20
+ IsNotBilled: z.boolean().describe("Whether the move is unbilled").nullable().optional(),
21
+ DateCreation: z.string().describe("Creation date of the object").nullable().optional(),
22
+ IdUserUpdate: z.number().int().describe("User ID who last updated the record").nullable().optional(),
23
+ AmountSubtotal: z.number().int().describe("Amount in cents before taxes").nullable().optional(),
24
+ AmountTotalDue: z.number().int().describe("Amount in cents after taxes").nullable().optional(),
25
+ IdUserCreation: z.number().int().describe("User ID who created the record").nullable().optional()
26
+ }).describe("CustomerMove resource representing a balance transaction.");
27
+ const ProabonoListCustomerMoves_LinkSchema = z.object({
28
+ rel: z.string().describe("Relationship type of the link").nullable().optional(),
29
+ href: z.string().describe("URL of the link").nullable().optional()
30
+ }).describe("HATEOAS link object.");
31
+ const proabonoListCustomerMoves = action("PROABONO_LIST_CUSTOMER_MOVES", {
32
+ slug: "proabono-list-customer-moves",
33
+ name: "List Customer Moves",
34
+ description: "Tool to list all customer balance moves via the ProAbono Backoffice API. Use when you need to retrieve balance transactions, credits, debits, or billing movements for customers. Supports filtering by customer, billing status, and date range with pagination.",
35
+ input: ProabonoListCustomerMovesInput,
36
+ output: z.object({
37
+ Page: z.number().int().describe("Current page number").nullable().optional(),
38
+ Count: z.number().int().describe("Number of items in current page").nullable().optional(),
39
+ Items: z.array(ProabonoListCustomerMoves_CustomerMoveSchema).describe("List of customer balance moves").nullable().optional(),
40
+ Links: z.array(ProabonoListCustomerMoves_LinkSchema).describe("HATEOAS navigation links").nullable().optional(),
41
+ SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
42
+ TotalItems: z.number().int().describe("Total number of items across all pages").nullable().optional(),
43
+ DateGenerated: z.string().describe("Timestamp when the response was generated").nullable().optional()
44
+ }).describe("Response model for listing customer balance moves.")
45
+ });
46
+ //#endregion
47
+ export { proabonoListCustomerMoves };
48
+
49
+ //# sourceMappingURL=list-customer-moves.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customer-moves.mjs","names":[],"sources":["../../src/actions/list-customer-moves.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomerMovesInput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Page number for paginated results. Defaults to 1 if not specified.\").optional(),\n Count: z.boolean().describe(\"Whether to include total count in the response. Defaults to true.\").optional(),\n Links: z.boolean().describe(\"Whether to generate HATEOAS links in the response. Defaults to true.\").optional(),\n SizePage: z.number().int().describe(\"Number of items per page. Maximum is 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Your business ID. This is required to identify which business to query.\"),\n IdCustomer: z.number().int().describe(\"Customer identifier to filter moves for a specific customer\").optional(),\n IsNotBilled: z.boolean().describe(\"Filter to show only unbilled moves (true) or all moves (false/null)\").optional(),\n DateUpdateMin: z.string().describe(\"Filter moves updated after this date (ISO 8601 format: YYYY-MM-DDTHH:MM:SS)\").optional(),\n}).describe(\"Request model for listing customer balance moves.\");\nconst ProabonoListCustomerMoves_CustomerMoveSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Identifier of the CustomerMove object\").nullable().optional(),\n TypeMove: z.string().describe(\"Category of the balance transaction (e.g., AutoBillingReport, AutoSubscriptionRecurrence)\").nullable().optional(),\n AmountMove: z.number().int().describe(\"Transaction amount in cents\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n IsNotBilled: z.boolean().describe(\"Whether the move is unbilled\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last updated the record\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"Amount in cents before taxes\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"Amount in cents after taxes\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the record\").nullable().optional(),\n}).describe(\"CustomerMove resource representing a balance transaction.\");\nconst ProabonoListCustomerMoves_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the link\").nullable().optional(),\n}).describe(\"HATEOAS link object.\");\nexport const ProabonoListCustomerMovesOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomerMoves_CustomerMoveSchema).describe(\"List of customer balance moves\").nullable().optional(),\n Links: z.array(ProabonoListCustomerMoves_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).describe(\"Response model for listing customer balance moves.\");\n\nexport const proabonoListCustomerMoves = action(\"PROABONO_LIST_CUSTOMER_MOVES\", {\n slug: \"proabono-list-customer-moves\",\n name: \"List Customer Moves\",\n description: \"Tool to list all customer balance moves via the ProAbono Backoffice API. Use when you need to retrieve balance transactions, credits, debits, or billing movements for customers. Supports filtering by customer, billing status, and date range with pagination.\",\n input: Proabon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AC,SAAS;EACxF,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,38 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-customers-by-feature.ts
4
+ const ProabonoListCustomersByFeatureInput = zod.z.object({
5
+ Page: zod.z.number().int().describe("Page number for pagination (starts at 1)").optional(),
6
+ SizePage: zod.z.number().int().describe("Number of results per page (default and maximum values are API-defined)").optional(),
7
+ ReferenceFeature: zod.z.string().describe("Reference of the Feature to filter customers having active subscriptions containing that specific feature"),
8
+ ReferenceSegment: zod.z.string().describe("Limit results to customers in a specific segment").optional()
9
+ });
10
+ const ProabonoListCustomersByFeature_CustomerByFeatureSchema = zod.z.object({
11
+ Id: zod.z.number().int().describe("Customer ID").nullable().optional(),
12
+ IsEnabled: zod.z.boolean().describe("Whether feature is enabled").nullable().optional(),
13
+ IsIncluded: zod.z.boolean().describe("Whether feature is included (for OnOff features)").nullable().optional(),
14
+ DatePeriodEnd: zod.z.string().describe("Billing period end date in ISO 8601 format").nullable().optional(),
15
+ DatePeriodStart: zod.z.string().describe("Billing period start date in ISO 8601 format").nullable().optional(),
16
+ QuantityCurrent: zod.z.number().describe("Currently used quantity").nullable().optional(),
17
+ QuantityIncluded: zod.z.number().describe("Available quota/limit for the feature").nullable().optional(),
18
+ ReferenceCustomer: zod.z.string().describe("Customer reference identifier").nullable().optional()
19
+ });
20
+ const ProabonoListCustomersByFeatureOutput = zod.z.object({
21
+ Page: zod.z.number().int().describe("Current page number").nullable().optional(),
22
+ Count: zod.z.number().int().describe("Number of items in current page").nullable().optional(),
23
+ Items: zod.z.array(ProabonoListCustomersByFeature_CustomerByFeatureSchema).describe("Array of customer objects with feature-specific properties").nullable().optional(),
24
+ SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
25
+ TotalItems: zod.z.number().int().describe("Total number of customers with this feature").nullable().optional(),
26
+ DateGenerated: zod.z.string().describe("Timestamp when response was generated").nullable().optional()
27
+ });
28
+ const proabonoListCustomersByFeature = require_action.action("PROABONO_LIST_CUSTOMERS_BY_FEATURE", {
29
+ slug: "proabono-list-customers-by-feature",
30
+ name: "List Customers by Feature",
31
+ description: "Tool to list customers that have access to a specific feature via the ProAbono API. Use when you need to identify which customers have subscriptions containing a particular feature. Returns feature-specific details including quota usage and billing period information. Note: Returns HTTP 204 (No Content) when no customers match the feature filter.",
32
+ input: ProabonoListCustomersByFeatureInput,
33
+ output: ProabonoListCustomersByFeatureOutput
34
+ });
35
+ //#endregion
36
+ exports.proabonoListCustomersByFeature = proabonoListCustomersByFeature;
37
+
38
+ //# sourceMappingURL=list-customers-by-feature.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers-by-feature.cjs","names":["z","action"],"sources":["../../src/actions/list-customers-by-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomersByFeatureInput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n SizePage: z.number().int().describe(\"Number of results per page (default and maximum values are API-defined)\").optional(),\n ReferenceFeature: z.string().describe(\"Reference of the Feature to filter customers having active subscriptions containing that specific feature\"),\n ReferenceSegment: z.string().describe(\"Limit results to customers in a specific segment\").optional(),\n});\nconst ProabonoListCustomersByFeature_CustomerByFeatureSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Whether feature is enabled\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Whether feature is included (for OnOff features)\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period end date in ISO 8601 format\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period start date in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().describe(\"Currently used quantity\").nullable().optional(),\n QuantityIncluded: z.number().describe(\"Available quota/limit for the feature\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference identifier\").nullable().optional(),\n});\nexport const ProabonoListCustomersByFeatureOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomersByFeature_CustomerByFeatureSchema).describe(\"Array of customer objects with feature-specific properties\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of customers with this feature\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when response was generated\").nullable().optional(),\n});\n\nexport const proabonoListCustomersByFeature = action(\"PROABONO_LIST_CUSTOMERS_BY_FEATURE\", {\n slug: \"proabono-list-customers-by-feature\",\n name: \"List Customers by Feature\",\n description: \"Tool to list customers that have access to a specific feature via the ProAbono API. Use when you need to identify which customers have subscriptions containing a particular feature. Returns feature-specific details including quota usage and billing period information. Note: Returns HTTP 204 (No Content) when no customers match the feature filter.\",\n input: ProabonoListCustomersByFeatureInput,\n output: ProabonoListCustomersByFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OA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C,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AAED,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/list-customers-by-feature.d.ts
4
+ declare const ProabonoListCustomersByFeatureInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomersByFeatureOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomersByFeature: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomersByFeature };
9
+ //# sourceMappingURL=list-customers-by-feature.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers-by-feature.d.cts","names":[],"sources":["../../src/actions/list-customers-by-feature.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cAWW,oCAAA,EAAsC,CAAA,CAAE,UAOnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-customers-by-feature.d.ts
4
+ declare const ProabonoListCustomersByFeatureInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomersByFeatureOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomersByFeature: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomersByFeature };
9
+ //# sourceMappingURL=list-customers-by-feature.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers-by-feature.d.mts","names":[],"sources":["../../src/actions/list-customers-by-feature.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cAWW,oCAAA,EAAsC,CAAA,CAAE,UAOnD;AAAA,cAEW,8BAAA,gCAA8B,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/list-customers-by-feature.ts
4
+ const ProabonoListCustomersByFeatureInput = z.object({
5
+ Page: z.number().int().describe("Page number for pagination (starts at 1)").optional(),
6
+ SizePage: z.number().int().describe("Number of results per page (default and maximum values are API-defined)").optional(),
7
+ ReferenceFeature: z.string().describe("Reference of the Feature to filter customers having active subscriptions containing that specific feature"),
8
+ ReferenceSegment: z.string().describe("Limit results to customers in a specific segment").optional()
9
+ });
10
+ const ProabonoListCustomersByFeature_CustomerByFeatureSchema = z.object({
11
+ Id: z.number().int().describe("Customer ID").nullable().optional(),
12
+ IsEnabled: z.boolean().describe("Whether feature is enabled").nullable().optional(),
13
+ IsIncluded: z.boolean().describe("Whether feature is included (for OnOff features)").nullable().optional(),
14
+ DatePeriodEnd: z.string().describe("Billing period end date in ISO 8601 format").nullable().optional(),
15
+ DatePeriodStart: z.string().describe("Billing period start date in ISO 8601 format").nullable().optional(),
16
+ QuantityCurrent: z.number().describe("Currently used quantity").nullable().optional(),
17
+ QuantityIncluded: z.number().describe("Available quota/limit for the feature").nullable().optional(),
18
+ ReferenceCustomer: z.string().describe("Customer reference identifier").nullable().optional()
19
+ });
20
+ const proabonoListCustomersByFeature = action("PROABONO_LIST_CUSTOMERS_BY_FEATURE", {
21
+ slug: "proabono-list-customers-by-feature",
22
+ name: "List Customers by Feature",
23
+ description: "Tool to list customers that have access to a specific feature via the ProAbono API. Use when you need to identify which customers have subscriptions containing a particular feature. Returns feature-specific details including quota usage and billing period information. Note: Returns HTTP 204 (No Content) when no customers match the feature filter.",
24
+ input: ProabonoListCustomersByFeatureInput,
25
+ output: z.object({
26
+ Page: z.number().int().describe("Current page number").nullable().optional(),
27
+ Count: z.number().int().describe("Number of items in current page").nullable().optional(),
28
+ Items: z.array(ProabonoListCustomersByFeature_CustomerByFeatureSchema).describe("Array of customer objects with feature-specific properties").nullable().optional(),
29
+ SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
30
+ TotalItems: z.number().int().describe("Total number of customers with this feature").nullable().optional(),
31
+ DateGenerated: z.string().describe("Timestamp when response was generated").nullable().optional()
32
+ })
33
+ });
34
+ //#endregion
35
+ export { proabonoListCustomersByFeature };
36
+
37
+ //# sourceMappingURL=list-customers-by-feature.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers-by-feature.mjs","names":[],"sources":["../../src/actions/list-customers-by-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomersByFeatureInput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Page number for pagination (starts at 1)\").optional(),\n SizePage: z.number().int().describe(\"Number of results per page (default and maximum values are API-defined)\").optional(),\n ReferenceFeature: z.string().describe(\"Reference of the Feature to filter customers having active subscriptions containing that specific feature\"),\n ReferenceSegment: z.string().describe(\"Limit results to customers in a specific segment\").optional(),\n});\nconst ProabonoListCustomersByFeature_CustomerByFeatureSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Customer ID\").nullable().optional(),\n IsEnabled: z.boolean().describe(\"Whether feature is enabled\").nullable().optional(),\n IsIncluded: z.boolean().describe(\"Whether feature is included (for OnOff features)\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Billing period end date in ISO 8601 format\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Billing period start date in ISO 8601 format\").nullable().optional(),\n QuantityCurrent: z.number().describe(\"Currently used quantity\").nullable().optional(),\n QuantityIncluded: z.number().describe(\"Available quota/limit for the feature\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer reference identifier\").nullable().optional(),\n});\nexport const ProabonoListCustomersByFeatureOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomersByFeature_CustomerByFeatureSchema).describe(\"Array of customer objects with feature-specific properties\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of customers with this feature\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when response was generated\").nullable().optional(),\n});\n\nexport const proabonoListCustomersByFeature = action(\"PROABONO_LIST_CUSTOMERS_BY_FEATURE\", {\n slug: \"proabono-list-customers-by-feature\",\n name: \"List Customers by Feature\",\n description: \"Tool to list customers that have access to a specific feature via the ProAbono API. Use when you need to identify which customers have subscriptions containing a particular feature. Returns feature-specific details including quota usage and billing period information. Note: Returns HTTP 204 (No Content) when no customers match the feature filter.\",\n input: ProabonoListCustomersByFeatureInput,\n output: ProabonoListCustom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AE,OAAO;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,OAAO,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,CAOU;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-customers.ts
4
+ const ProabonoListCustomersInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
6
+ Language: zod.z.string().describe("Filter by language code (ISO 639-1 format, e.g., 'EN', 'FR')").optional(),
7
+ StateLife: zod.z.string().describe("Filter by state life status of the customer (e.g., 'Ok')").optional(),
8
+ size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
9
+ IdBusiness: zod.z.number().int().describe("Filter by Business ID to retrieve customers for a specific business").optional(),
10
+ DateCreationMin: zod.z.string().describe("Minimum creation date filter in ISO 8601 format (e.g., '2025-07-27T13:54:00')").optional()
11
+ });
12
+ const ProabonoListCustomers_CustomerLinkSchema = zod.z.object({
13
+ rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
14
+ href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
15
+ });
16
+ const ProabonoListCustomers_CustomerSchema = zod.z.object({
17
+ Id: zod.z.number().int().describe("Unique customer identifier").nullable().optional(),
18
+ Name: zod.z.string().describe("Customer display name").nullable().optional(),
19
+ Email: zod.z.string().describe("Customer email address").nullable().optional(),
20
+ Links: zod.z.array(ProabonoListCustomers_CustomerLinkSchema).describe("Related resource links").nullable().optional(),
21
+ Status: zod.z.string().describe("Functional state (e.g., 'Enabled', 'Suspended')").nullable().optional(),
22
+ Language: zod.z.string().describe("ISO 639-1 language code").nullable().optional(),
23
+ IdSegment: zod.z.number().int().describe("Segment association ID").nullable().optional(),
24
+ DateUpdate: zod.z.string().describe("Last modification timestamp").nullable().optional(),
25
+ IdBusiness: zod.z.number().int().describe("Business association ID").nullable().optional(),
26
+ DateCreation: zod.z.string().describe("Creation timestamp").nullable().optional(),
27
+ IdUserUpdate: zod.z.number().int().describe("User ID who last modified the customer record").nullable().optional(),
28
+ StateCustomer: zod.z.string().describe("Technical state reflecting functional status of the customer").nullable().optional(),
29
+ IdUserCreation: zod.z.number().int().describe("User ID who created the customer record").nullable().optional(),
30
+ ReferenceCustomer: zod.z.string().describe("External reference key for the customer").nullable().optional()
31
+ });
32
+ const ProabonoListCustomers_NavigationLinkSchema = zod.z.object({
33
+ rel: zod.z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
34
+ href: zod.z.string().describe("API endpoint path for navigation").nullable().optional()
35
+ });
36
+ const ProabonoListCustomersOutput = zod.z.object({
37
+ Page: zod.z.number().int().describe("Current page number").nullable().optional(),
38
+ Count: zod.z.number().int().describe("Number of items on current page").nullable().optional(),
39
+ Items: zod.z.array(ProabonoListCustomers_CustomerSchema).describe("Collection of customer objects").nullable().optional(),
40
+ Links: zod.z.array(ProabonoListCustomers_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
41
+ SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
42
+ TotalItems: zod.z.number().int().describe("Total matching items across all pages").nullable().optional(),
43
+ DateGenerated: zod.z.string().describe("Response generation timestamp").nullable().optional()
44
+ });
45
+ const proabonoListCustomers = require_action.action("PROABONO_LIST_CUSTOMERS", {
46
+ slug: "proabono-list-customers",
47
+ name: "List Customers",
48
+ description: "Tool to list all customers from ProAbono via the Backoffice API. Use when you need to retrieve customer information with optional filtering by business, state, language, or creation date. Returns paginated results with customer details including ID, name, email, and status.",
49
+ input: ProabonoListCustomersInput,
50
+ output: ProabonoListCustomersOutput
51
+ });
52
+ //#endregion
53
+ exports.proabonoListCustomers = proabonoListCustomers;
54
+
55
+ //# sourceMappingURL=list-customers.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers.cjs","names":["z","action"],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Language: z.string().describe(\"Filter by language code (ISO 639-1 format, e.g., 'EN', 'FR')\").optional(),\n StateLife: z.string().describe(\"Filter by state life status of the customer (e.g., 'Ok')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve customers for a specific business\").optional(),\n DateCreationMin: z.string().describe(\"Minimum creation date filter in ISO 8601 format (e.g., '2025-07-27T13:54:00')\").optional(),\n});\nconst ProabonoListCustomers_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});\nconst ProabonoListCustomers_CustomerSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Customer display name\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoListCustomers_CustomerLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status of the customer\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"External reference key for the customer\").nullable().optional(),\n});\nconst ProabonoListCustomers_NavigationLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n});\nexport const ProabonoListCustomersOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomers_CustomerSchema).describe(\"Collection of customer objects\").nullable().optional(),\n Links: z.array(ProabonoListCustomers_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n});\n\nexport const proabonoListCustomers = action(\"PROABONO_LIST_CUSTOMERS\", {\n slug: \"proabono-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers from ProAbono via the Backoffice API. Use when you need to retrieve customer information with optional filtering by business, state, language, or creation date. Returns paginated results with customer details including ID, name, email, and status.\",\n input: ProabonoListCustomersInput,\n output: ProabonoListCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACjI,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AACD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,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AAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC;AACD,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAED,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,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/list-customers.d.ts
4
+ declare const ProabonoListCustomersInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomersOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomers };
9
+ //# sourceMappingURL=list-customers.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers.d.cts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOzC;AAAA,cAyBW,2BAAA,EAA6B,CAAA,CAAE,UAQ1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-customers.d.ts
4
+ declare const ProabonoListCustomersInput: z.ZodTypeAny;
5
+ declare const ProabonoListCustomersOutput: z.ZodTypeAny;
6
+ declare const proabonoListCustomers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListCustomers };
9
+ //# sourceMappingURL=list-customers.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers.d.mts","names":[],"sources":["../../src/actions/list-customers.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAOzC;AAAA,cAyBW,2BAAA,EAA6B,CAAA,CAAE,UAQ1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-customers.ts
4
+ const ProabonoListCustomersInput = z.object({
5
+ page: z.number().int().describe("Page number. Default: 1.").optional(),
6
+ Language: z.string().describe("Filter by language code (ISO 639-1 format, e.g., 'EN', 'FR')").optional(),
7
+ StateLife: z.string().describe("Filter by state life status of the customer (e.g., 'Ok')").optional(),
8
+ size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
9
+ IdBusiness: z.number().int().describe("Filter by Business ID to retrieve customers for a specific business").optional(),
10
+ DateCreationMin: z.string().describe("Minimum creation date filter in ISO 8601 format (e.g., '2025-07-27T13:54:00')").optional()
11
+ });
12
+ const ProabonoListCustomers_CustomerLinkSchema = z.object({
13
+ rel: z.string().describe("Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')").nullable().optional(),
14
+ href: z.string().describe("API endpoint path for the related resource").nullable().optional()
15
+ });
16
+ const ProabonoListCustomers_CustomerSchema = z.object({
17
+ Id: z.number().int().describe("Unique customer identifier").nullable().optional(),
18
+ Name: z.string().describe("Customer display name").nullable().optional(),
19
+ Email: z.string().describe("Customer email address").nullable().optional(),
20
+ Links: z.array(ProabonoListCustomers_CustomerLinkSchema).describe("Related resource links").nullable().optional(),
21
+ Status: z.string().describe("Functional state (e.g., 'Enabled', 'Suspended')").nullable().optional(),
22
+ Language: z.string().describe("ISO 639-1 language code").nullable().optional(),
23
+ IdSegment: z.number().int().describe("Segment association ID").nullable().optional(),
24
+ DateUpdate: z.string().describe("Last modification timestamp").nullable().optional(),
25
+ IdBusiness: z.number().int().describe("Business association ID").nullable().optional(),
26
+ DateCreation: z.string().describe("Creation timestamp").nullable().optional(),
27
+ IdUserUpdate: z.number().int().describe("User ID who last modified the customer record").nullable().optional(),
28
+ StateCustomer: z.string().describe("Technical state reflecting functional status of the customer").nullable().optional(),
29
+ IdUserCreation: z.number().int().describe("User ID who created the customer record").nullable().optional(),
30
+ ReferenceCustomer: z.string().describe("External reference key for the customer").nullable().optional()
31
+ });
32
+ const ProabonoListCustomers_NavigationLinkSchema = z.object({
33
+ rel: z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
34
+ href: z.string().describe("API endpoint path for navigation").nullable().optional()
35
+ });
36
+ const proabonoListCustomers = action("PROABONO_LIST_CUSTOMERS", {
37
+ slug: "proabono-list-customers",
38
+ name: "List Customers",
39
+ description: "Tool to list all customers from ProAbono via the Backoffice API. Use when you need to retrieve customer information with optional filtering by business, state, language, or creation date. Returns paginated results with customer details including ID, name, email, and status.",
40
+ input: ProabonoListCustomersInput,
41
+ output: z.object({
42
+ Page: z.number().int().describe("Current page number").nullable().optional(),
43
+ Count: z.number().int().describe("Number of items on current page").nullable().optional(),
44
+ Items: z.array(ProabonoListCustomers_CustomerSchema).describe("Collection of customer objects").nullable().optional(),
45
+ Links: z.array(ProabonoListCustomers_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
46
+ SizePage: z.number().int().describe("Maximum items per page").nullable().optional(),
47
+ TotalItems: z.number().int().describe("Total matching items across all pages").nullable().optional(),
48
+ DateGenerated: z.string().describe("Response generation timestamp").nullable().optional()
49
+ })
50
+ });
51
+ //#endregion
52
+ export { proabonoListCustomers };
53
+
54
+ //# sourceMappingURL=list-customers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-customers.mjs","names":[],"sources":["../../src/actions/list-customers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListCustomersInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n Language: z.string().describe(\"Filter by language code (ISO 639-1 format, e.g., 'EN', 'FR')\").optional(),\n StateLife: z.string().describe(\"Filter by state life status of the customer (e.g., 'Ok')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n IdBusiness: z.number().int().describe(\"Filter by Business ID to retrieve customers for a specific business\").optional(),\n DateCreationMin: z.string().describe(\"Minimum creation date filter in ISO 8601 format (e.g., '2025-07-27T13:54:00')\").optional(),\n});\nconst ProabonoListCustomers_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});\nconst ProabonoListCustomers_CustomerSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Customer display name\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoListCustomers_CustomerLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state reflecting functional status of the customer\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"External reference key for the customer\").nullable().optional(),\n});\nconst ProabonoListCustomers_NavigationLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n});\nexport const ProabonoListCustomersOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items on current page\").nullable().optional(),\n Items: z.array(ProabonoListCustomers_CustomerSchema).describe(\"Collection of customer objects\").nullable().optional(),\n Links: z.array(ProabonoListCustomers_NavigationLinkSchema).describe(\"Navigation links for pagination (next/prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Maximum items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total matching items across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n});\n\nexport const proabonoListCustomers = action(\"PROABONO_LIST_CUSTOMERS\", {\n slug: \"proabono-list-customers\",\n name: \"List Customers\",\n description: \"Tool to list all customers from ProAbono via the Backoffice API. Use when you need to retrieve customer information with optional filtering by business, state, language, or creation date. Returns paginated results with customer details including ID, name, email, and status.\",\n input: ProabonoListCustomersInput,\n output: ProabonoListCustomersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACjI,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,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;AACD,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,CAAC,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