@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,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-subscription-features.ts
4
+ const ProabonoListSubscriptionFeaturesInput = z.object({
5
+ IdFeature: z.number().int().describe("Filter subscription features by Feature ID").optional(),
6
+ IdBusiness: z.number().int().describe("Filter subscription features by Business ID").optional(),
7
+ DateUpdateMin: z.string().describe("Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)").optional()
8
+ }).describe("Request model for listing subscription features with optional filters.");
9
+ const ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema = z.object({
10
+ Rel: z.string().describe("The relationship type of the link").nullable().optional(),
11
+ Href: z.string().describe("The URL of the linked resource").nullable().optional(),
12
+ Method: z.string().describe("The HTTP method for the link").nullable().optional()
13
+ }).describe("Represents a navigation link to related resources.");
14
+ const ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema = z.object({
15
+ Id: z.number().int().describe("ID of the SubscriptionFeature").nullable().optional(),
16
+ Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe("Navigation links to related resources").nullable().optional(),
17
+ Quantity: z.number().int().describe("Current quantity of the feature").nullable().optional(),
18
+ IdFeature: z.number().int().describe("Identifier of the associated feature").nullable().optional(),
19
+ DateUpdate: z.string().describe("Date of last update of the object").nullable().optional(),
20
+ DateCreation: z.string().describe("Creation date of the object on ProAbono").nullable().optional(),
21
+ IdSubscription: z.number().int().describe("Identifier linking to parent subscription").nullable().optional()
22
+ }).describe("Represents a subscription feature object from ProAbono.");
23
+ const ProabonoListSubscriptionFeatures_PaginationLinkSchema = z.object({
24
+ Rel: z.string().describe("The relationship type (prev, next, etc.)").nullable().optional(),
25
+ Href: z.string().describe("The URL of the linked page").nullable().optional()
26
+ }).describe("Represents a pagination link for navigating through results.");
27
+ const proabonoListSubscriptionFeatures = action("PROABONO_LIST_SUBSCRIPTION_FEATURES", {
28
+ slug: "proabono-list-subscription-features",
29
+ name: "List Subscription Features",
30
+ description: "Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.",
31
+ input: ProabonoListSubscriptionFeaturesInput,
32
+ output: z.object({
33
+ Page: z.number().int().describe("Current page number").nullable().optional(),
34
+ Count: z.number().int().describe("Number of items in current response").nullable().optional(),
35
+ Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe("List of subscription feature objects").nullable().optional(),
36
+ Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe("HATEOAS links for pagination navigation").nullable().optional(),
37
+ SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
38
+ TotalItems: z.number().int().describe("Total number of items matching the query").nullable().optional(),
39
+ DateGenerated: z.string().describe("Timestamp when the response was generated").nullable().optional()
40
+ }).describe("Response model for listing subscription features with pagination.")
41
+ });
42
+ //#endregion
43
+ export { proabonoListSubscriptionFeatures };
44
+
45
+ //# sourceMappingURL=list-subscription-features.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscription-features.mjs","names":[],"sources":["../../src/actions/list-subscription-features.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionFeaturesInput: z.ZodTypeAny = z.object({\n IdFeature: z.number().int().describe(\"Filter subscription features by Feature ID\").optional(),\n IdBusiness: z.number().int().describe(\"Filter subscription features by Business ID\").optional(),\n DateUpdateMin: z.string().describe(\"Minimum update date filter in ISO 8601 format (e.g., 2025-08-27T13:54:00)\").optional(),\n}).describe(\"Request model for listing subscription features with optional filters.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema: z.ZodTypeAny = z.object({\n Rel: z.string().describe(\"The relationship type of the link\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked resource\").nullable().optional(),\n Method: z.string().describe(\"The HTTP method for the link\").nullable().optional(),\n}).describe(\"Represents a navigation link to related resources.\");\nconst ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"ID of the SubscriptionFeature\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureLinkSchema).describe(\"Navigation links to related resources\").nullable().optional(),\n Quantity: z.number().int().describe(\"Current quantity of the feature\").nullable().optional(),\n IdFeature: z.number().int().describe(\"Identifier of the associated feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date of last update of the object\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date of the object on ProAbono\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"Identifier linking to parent subscription\").nullable().optional(),\n}).describe(\"Represents a subscription feature object from ProAbono.\");\nconst ProabonoListSubscriptionFeatures_PaginationLinkSchema: z.ZodTypeAny = z.object({\n Rel: z.string().describe(\"The relationship type (prev, next, etc.)\").nullable().optional(),\n Href: z.string().describe(\"The URL of the linked page\").nullable().optional(),\n}).describe(\"Represents a pagination link for navigating through results.\");\nexport const ProabonoListSubscriptionFeaturesOutput: 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 response\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionFeatures_SubscriptionFeatureSchema).describe(\"List of subscription feature objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionFeatures_PaginationLinkSchema).describe(\"HATEOAS 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 matching the query\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated\").nullable().optional(),\n}).describe(\"Response model for listing subscription features with pagination.\");\n\nexport const proabonoListSubscriptionFeatures = action(\"PROABONO_LIST_SUBSCRIPTION_FEATURES\", {\n slug: \"proabono-list-subscription-features\",\n name: \"List Subscription Features\",\n description: \"Tool to list all subscription features via the ProAbono Backoffice API. Use when you need to retrieve subscription features with optional filtering by Business ID, Feature ID, or minimum update date.\",\n input: ProabonoListSubscriptionFeaturesInput,\n output: ProabonoListSubscriptionFeaturesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsD,EAAE,OAAO;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,iEAA+E,EAAE,OAAO;CAC5F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAA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C,CAAC,SAAS,8DAA8D;AAW1E,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfkE,EAAE,OAAO;EAC3E,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,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,OAAO,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,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,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-subscription-periods.ts
4
+ const ProabonoListSubscriptionPeriodsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
6
+ size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
7
+ IdBusiness: zod.z.number().int().describe("Filter by Business ID. Use this to retrieve subscription periods for a specific business.").optional(),
8
+ DateStartMin: zod.z.string().describe("Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.").optional(),
9
+ IdSubscription: zod.z.number().int().describe("Filter by Subscription ID. Use this to retrieve periods for a specific subscription.").optional()
10
+ });
11
+ const ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = zod.z.object({
12
+ rel: zod.z.string().describe("The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')").nullable().optional(),
13
+ href: zod.z.string().describe("The URI path for the related resource").nullable().optional()
14
+ });
15
+ const ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = zod.z.object({
16
+ Id: zod.z.number().int().describe("Unique identifier for the subscription period").nullable().optional(),
17
+ Links: zod.z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe("Related resource links for the subscription period").nullable().optional(),
18
+ IsTrial: zod.z.boolean().describe("Indicates whether this is a trial period").nullable().optional(),
19
+ DateTerm: zod.z.string().describe("End date and time of the subscription period (ISO 8601 format)").nullable().optional(),
20
+ DateStart: zod.z.string().describe("Start date and time of the subscription period (ISO 8601 format)").nullable().optional(),
21
+ DateUpdate: zod.z.string().describe("Date and time when the subscription period was last updated (ISO 8601 format)").nullable().optional(),
22
+ DateCreation: zod.z.string().describe("Date and time when the subscription period was created (ISO 8601 format)").nullable().optional(),
23
+ IdUserUpdate: zod.z.number().int().describe("ID of the user who last updated the subscription period").nullable().optional(),
24
+ IdSubscription: zod.z.number().int().describe("ID of the subscription this period belongs to").nullable().optional(),
25
+ IdUserCreation: zod.z.number().int().describe("ID of the user who created the subscription period").nullable().optional()
26
+ });
27
+ const ProabonoListSubscriptionPeriodsOutput = zod.z.object({
28
+ Page: zod.z.number().int().describe("Current page number in the paginated results").nullable().optional(),
29
+ Count: zod.z.number().int().describe("Number of items in the current page").nullable().optional(),
30
+ Items: zod.z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe("Array of subscription period objects").nullable().optional(),
31
+ Links: zod.z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe("Navigation links for pagination (next, prev)").nullable().optional(),
32
+ SizePage: zod.z.number().int().describe("Number of items per page").nullable().optional(),
33
+ TotalItems: zod.z.number().int().describe("Total number of subscription periods matching the filter criteria").nullable().optional(),
34
+ DateGenerated: zod.z.string().describe("Timestamp when the response was generated (ISO 8601 format)").nullable().optional()
35
+ });
36
+ const proabonoListSubscriptionPeriods = require_action.action("PROABONO_LIST_SUBSCRIPTION_PERIODS", {
37
+ slug: "proabono-list-subscription-periods",
38
+ name: "List Subscription Periods",
39
+ description: "Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.",
40
+ input: ProabonoListSubscriptionPeriodsInput,
41
+ output: ProabonoListSubscriptionPeriodsOutput
42
+ });
43
+ //#endregion
44
+ exports.proabonoListSubscriptionPeriods = proabonoListSubscriptionPeriods;
45
+
46
+ //# sourceMappingURL=list-subscription-periods.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscription-periods.cjs","names":["z","action"],"sources":["../../src/actions/list-subscription-periods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionPeriodsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").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. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n});\nexport const ProabonoListSubscriptionPeriodsOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const proabonoListSubscriptionPeriods = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,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,2FAA2F,CAAC,CAAC,SAAS;CAC5I,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CAC5K,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;AAC7I,CAAC;AACD,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC;AACD,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,OAAOA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,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,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC;AAED,MAAa,kCAAkCC,eAAAA,OAAO,sCAAsC;CAC1F,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-subscription-periods.d.ts
4
+ declare const ProabonoListSubscriptionPeriodsInput: z.ZodTypeAny;
5
+ declare const ProabonoListSubscriptionPeriodsOutput: z.ZodTypeAny;
6
+ declare const proabonoListSubscriptionPeriods: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListSubscriptionPeriods };
9
+ //# sourceMappingURL=list-subscription-periods.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscription-periods.d.cts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAMnD;AAAA,cAiBW,qCAAA,EAAuC,CAAA,CAAE,UAQpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-subscription-periods.d.ts
4
+ declare const ProabonoListSubscriptionPeriodsInput: z.ZodTypeAny;
5
+ declare const ProabonoListSubscriptionPeriodsOutput: z.ZodTypeAny;
6
+ declare const proabonoListSubscriptionPeriods: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListSubscriptionPeriods };
9
+ //# sourceMappingURL=list-subscription-periods.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscription-periods.d.mts","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAMnD;AAAA,cAiBW,qCAAA,EAAuC,CAAA,CAAE,UAQpD;AAAA,cAEW,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-subscription-periods.ts
4
+ const ProabonoListSubscriptionPeriodsInput = z.object({
5
+ page: z.number().int().describe("Page number. Default: 1.").optional(),
6
+ size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
7
+ IdBusiness: z.number().int().describe("Filter by Business ID. Use this to retrieve subscription periods for a specific business.").optional(),
8
+ DateStartMin: z.string().describe("Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.").optional(),
9
+ IdSubscription: z.number().int().describe("Filter by Subscription ID. Use this to retrieve periods for a specific subscription.").optional()
10
+ });
11
+ const ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema = z.object({
12
+ rel: z.string().describe("The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')").nullable().optional(),
13
+ href: z.string().describe("The URI path for the related resource").nullable().optional()
14
+ });
15
+ const ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema = z.object({
16
+ Id: z.number().int().describe("Unique identifier for the subscription period").nullable().optional(),
17
+ Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe("Related resource links for the subscription period").nullable().optional(),
18
+ IsTrial: z.boolean().describe("Indicates whether this is a trial period").nullable().optional(),
19
+ DateTerm: z.string().describe("End date and time of the subscription period (ISO 8601 format)").nullable().optional(),
20
+ DateStart: z.string().describe("Start date and time of the subscription period (ISO 8601 format)").nullable().optional(),
21
+ DateUpdate: z.string().describe("Date and time when the subscription period was last updated (ISO 8601 format)").nullable().optional(),
22
+ DateCreation: z.string().describe("Date and time when the subscription period was created (ISO 8601 format)").nullable().optional(),
23
+ IdUserUpdate: z.number().int().describe("ID of the user who last updated the subscription period").nullable().optional(),
24
+ IdSubscription: z.number().int().describe("ID of the subscription this period belongs to").nullable().optional(),
25
+ IdUserCreation: z.number().int().describe("ID of the user who created the subscription period").nullable().optional()
26
+ });
27
+ const proabonoListSubscriptionPeriods = action("PROABONO_LIST_SUBSCRIPTION_PERIODS", {
28
+ slug: "proabono-list-subscription-periods",
29
+ name: "List Subscription Periods",
30
+ description: "Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.",
31
+ input: ProabonoListSubscriptionPeriodsInput,
32
+ output: z.object({
33
+ Page: z.number().int().describe("Current page number in the paginated results").nullable().optional(),
34
+ Count: z.number().int().describe("Number of items in the current page").nullable().optional(),
35
+ Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe("Array of subscription period objects").nullable().optional(),
36
+ Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe("Navigation links for pagination (next, prev)").nullable().optional(),
37
+ SizePage: z.number().int().describe("Number of items per page").nullable().optional(),
38
+ TotalItems: z.number().int().describe("Total number of subscription periods matching the filter criteria").nullable().optional(),
39
+ DateGenerated: z.string().describe("Timestamp when the response was generated (ISO 8601 format)").nullable().optional()
40
+ })
41
+ });
42
+ //#endregion
43
+ export { proabonoListSubscriptionPeriods };
44
+
45
+ //# sourceMappingURL=list-subscription-periods.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscription-periods.mjs","names":[],"sources":["../../src/actions/list-subscription-periods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionPeriodsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").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. Use this to retrieve subscription periods for a specific business.\").optional(),\n DateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-08-27T13:54:00'). Returns periods that start on or after this date.\").optional(),\n IdSubscription: z.number().int().describe(\"Filter by Subscription ID. Use this to retrieve periods for a specific subscription.\").optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship type of the link (e.g., 'related-subscription', 'next', 'prev')\").nullable().optional(),\n href: z.string().describe(\"The URI path for the related resource\").nullable().optional(),\n});\nconst ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier for the subscription period\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Related resource links for the subscription period\").nullable().optional(),\n IsTrial: z.boolean().describe(\"Indicates whether this is a trial period\").nullable().optional(),\n DateTerm: z.string().describe(\"End date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateStart: z.string().describe(\"Start date and time of the subscription period (ISO 8601 format)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Date and time when the subscription period was last updated (ISO 8601 format)\").nullable().optional(),\n DateCreation: z.string().describe(\"Date and time when the subscription period was created (ISO 8601 format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of the user who last updated the subscription period\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"ID of the subscription this period belongs to\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of the user who created the subscription period\").nullable().optional(),\n});\nexport const ProabonoListSubscriptionPeriodsOutput: z.ZodTypeAny = z.object({\n Page: z.number().int().describe(\"Current page number in the paginated results\").nullable().optional(),\n Count: z.number().int().describe(\"Number of items in the current page\").nullable().optional(),\n Items: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodSchema).describe(\"Array of subscription period objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptionPeriods_SubscriptionPeriodLinkSchema).describe(\"Navigation links for pagination (next, prev)\").nullable().optional(),\n SizePage: z.number().int().describe(\"Number of items per page\").nullable().optional(),\n TotalItems: z.number().int().describe(\"Total number of subscription periods matching the filter criteria\").nullable().optional(),\n DateGenerated: z.string().describe(\"Timestamp when the response was generated (ISO 8601 format)\").nullable().optional(),\n});\n\nexport const proabonoListSubscriptionPeriods = action(\"PROABONO_LIST_SUBSCRIPTION_PERIODS\", {\n slug: \"proabono-list-subscription-periods\",\n name: \"List Subscription Periods\",\n description: \"Tool to list all subscription periods (billing cycles) from ProAbono Backoffice API. Use when you need to retrieve subscription period information with optional filtering by business ID, subscription ID, or start date. Supports pagination for large result sets.\",\n input: ProabonoListSubscriptionPeriodsInput,\n output: ProabonoListSubscriptionPeriodsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqD,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CAC5I,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,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,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC;AAWD,MAAa,kCAAkC,OAAO,sCAAsC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfiE,EAAE,OAAO;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,OAAO,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,OAAO,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,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,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAOU;AACV,CAAC"}
@@ -0,0 +1,59 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-subscriptions.ts
4
+ const ProabonoListSubscriptionsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
6
+ size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
7
+ IdBusiness: zod.z.number().int().describe("Filter by Business ID to retrieve subscriptions for a specific business").optional(),
8
+ dateStartMin: zod.z.string().describe("Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')").optional(),
9
+ StateSubscription: zod.z.string().describe("Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')").optional()
10
+ });
11
+ const ProabonoListSubscriptions_SubscriptionLinkSchema = zod.z.object({
12
+ rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-customer', 'collection-features')").nullable().optional(),
13
+ href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
14
+ });
15
+ const ProabonoListSubscriptions_SubscriptionSchema = zod.z.object({
16
+ Id: zod.z.number().int().describe("Unique subscription identifier").nullable().optional(),
17
+ Links: zod.z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe("Related resource links").nullable().optional(),
18
+ Status: zod.z.string().describe("Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')").nullable().optional(),
19
+ IdOffer: zod.z.number().int().describe("Related offer identifier").nullable().optional(),
20
+ DateTerm: zod.z.string().describe("Subscription termination or renewal date").nullable().optional(),
21
+ DateStart: zod.z.string().describe("Subscription commencement date in ISO 8601 format").nullable().optional(),
22
+ IdSegment: zod.z.number().int().describe("Segment association ID").nullable().optional(),
23
+ StateLife: zod.z.string().describe("Lifecycle state (e.g., 'Ok', 'ToModerate')").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
+ IdCustomer: zod.z.number().int().describe("Associated customer identifier").nullable().optional(),
27
+ DateCreation: zod.z.string().describe("Creation timestamp").nullable().optional(),
28
+ IdUserUpdate: zod.z.number().int().describe("User ID who last modified the subscription record").nullable().optional(),
29
+ DatePeriodEnd: zod.z.string().describe("Current billing period end date").nullable().optional(),
30
+ IdUserCreation: zod.z.number().int().describe("User ID who created the subscription record").nullable().optional(),
31
+ TitleLocalized: zod.z.string().describe("Localized subscription/offer title").nullable().optional(),
32
+ DatePeriodStart: zod.z.string().describe("Current billing period start date").nullable().optional(),
33
+ ReferenceCustomer: zod.z.string().describe("Customer's external reference key").nullable().optional(),
34
+ StateSubscription: zod.z.string().describe("Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')").nullable().optional()
35
+ });
36
+ const ProabonoListSubscriptions_NavigationLinkSchema = zod.z.object({
37
+ rel: zod.z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
38
+ href: zod.z.string().describe("API endpoint path for navigation").nullable().optional()
39
+ });
40
+ const ProabonoListSubscriptionsOutput = zod.z.object({
41
+ Page: zod.z.number().int().describe("Current page number").nullable().optional(),
42
+ Count: zod.z.number().int().describe("Number of items on current page").nullable().optional(),
43
+ Items: zod.z.array(ProabonoListSubscriptions_SubscriptionSchema).describe("Collection of subscription objects").nullable().optional(),
44
+ Links: zod.z.array(ProabonoListSubscriptions_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
45
+ SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
46
+ TotalItems: zod.z.number().int().describe("Total matching subscriptions across all pages").nullable().optional(),
47
+ DateGenerated: zod.z.string().describe("Response generation timestamp").nullable().optional()
48
+ });
49
+ const proabonoListSubscriptions = require_action.action("PROABONO_LIST_SUBSCRIPTIONS", {
50
+ slug: "proabono-list-subscriptions",
51
+ name: "List Subscriptions",
52
+ description: "Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.",
53
+ input: ProabonoListSubscriptionsInput,
54
+ output: ProabonoListSubscriptionsOutput
55
+ });
56
+ //#endregion
57
+ exports.proabonoListSubscriptions = proabonoListSubscriptions;
58
+
59
+ //# sourceMappingURL=list-subscriptions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").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 subscriptions for a specific business\").optional(),\n dateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')\").optional(),\n StateSubscription: z.string().describe(\"Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')\").optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'collection-features')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Related offer identifier\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription termination or renewal date\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state (e.g., 'Ok', 'ToModerate')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized subscription/offer title\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer's external reference key\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')\").nullable().optional(),\n});\nconst ProabonoListSubscriptions_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 ProabonoListSubscriptionsOutput: 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(ProabonoListSubscriptions_SubscriptionSchema).describe(\"Collection of subscription objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_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 subscriptions across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n});\n\nexport const proabonoListSubscriptions = action(\"PROABONO_LIST_SUBSCRIPTIONS\", {\n slug: \"proabono-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.\",\n input: ProabonoListSubscriptionsInput,\n output: ProabonoListSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IA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C,CAAC,SAAS;AAC1F,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,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-subscriptions.d.ts
4
+ declare const ProabonoListSubscriptionsInput: z.ZodTypeAny;
5
+ declare const ProabonoListSubscriptionsOutput: z.ZodTypeAny;
6
+ declare const proabonoListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListSubscriptions };
9
+ //# sourceMappingURL=list-subscriptions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscriptions.d.cts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAM7C;AAAA,cA8BW,+BAAA,EAAiC,CAAA,CAAE,UAQ9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-subscriptions.d.ts
4
+ declare const ProabonoListSubscriptionsInput: z.ZodTypeAny;
5
+ declare const ProabonoListSubscriptionsOutput: z.ZodTypeAny;
6
+ declare const proabonoListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListSubscriptions };
9
+ //# sourceMappingURL=list-subscriptions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscriptions.d.mts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAM7C;AAAA,cA8BW,+BAAA,EAAiC,CAAA,CAAE,UAQ9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,58 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-subscriptions.ts
4
+ const ProabonoListSubscriptionsInput = z.object({
5
+ page: z.number().int().describe("Page number. Default: 1.").optional(),
6
+ size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
7
+ IdBusiness: z.number().int().describe("Filter by Business ID to retrieve subscriptions for a specific business").optional(),
8
+ dateStartMin: z.string().describe("Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')").optional(),
9
+ StateSubscription: z.string().describe("Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')").optional()
10
+ });
11
+ const ProabonoListSubscriptions_SubscriptionLinkSchema = z.object({
12
+ rel: z.string().describe("Relationship type (e.g., 'self', 'related-customer', 'collection-features')").nullable().optional(),
13
+ href: z.string().describe("API endpoint path for the related resource").nullable().optional()
14
+ });
15
+ const ProabonoListSubscriptions_SubscriptionSchema = z.object({
16
+ Id: z.number().int().describe("Unique subscription identifier").nullable().optional(),
17
+ Links: z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe("Related resource links").nullable().optional(),
18
+ Status: z.string().describe("Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')").nullable().optional(),
19
+ IdOffer: z.number().int().describe("Related offer identifier").nullable().optional(),
20
+ DateTerm: z.string().describe("Subscription termination or renewal date").nullable().optional(),
21
+ DateStart: z.string().describe("Subscription commencement date in ISO 8601 format").nullable().optional(),
22
+ IdSegment: z.number().int().describe("Segment association ID").nullable().optional(),
23
+ StateLife: z.string().describe("Lifecycle state (e.g., 'Ok', 'ToModerate')").nullable().optional(),
24
+ DateUpdate: z.string().describe("Last modification timestamp").nullable().optional(),
25
+ IdBusiness: z.number().int().describe("Business association ID").nullable().optional(),
26
+ IdCustomer: z.number().int().describe("Associated customer identifier").nullable().optional(),
27
+ DateCreation: z.string().describe("Creation timestamp").nullable().optional(),
28
+ IdUserUpdate: z.number().int().describe("User ID who last modified the subscription record").nullable().optional(),
29
+ DatePeriodEnd: z.string().describe("Current billing period end date").nullable().optional(),
30
+ IdUserCreation: z.number().int().describe("User ID who created the subscription record").nullable().optional(),
31
+ TitleLocalized: z.string().describe("Localized subscription/offer title").nullable().optional(),
32
+ DatePeriodStart: z.string().describe("Current billing period start date").nullable().optional(),
33
+ ReferenceCustomer: z.string().describe("Customer's external reference key").nullable().optional(),
34
+ StateSubscription: z.string().describe("Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')").nullable().optional()
35
+ });
36
+ const ProabonoListSubscriptions_NavigationLinkSchema = z.object({
37
+ rel: z.string().describe("Relationship type (e.g., 'next', 'prev', 'self')").nullable().optional(),
38
+ href: z.string().describe("API endpoint path for navigation").nullable().optional()
39
+ });
40
+ const proabonoListSubscriptions = action("PROABONO_LIST_SUBSCRIPTIONS", {
41
+ slug: "proabono-list-subscriptions",
42
+ name: "List Subscriptions",
43
+ description: "Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.",
44
+ input: ProabonoListSubscriptionsInput,
45
+ output: z.object({
46
+ Page: z.number().int().describe("Current page number").nullable().optional(),
47
+ Count: z.number().int().describe("Number of items on current page").nullable().optional(),
48
+ Items: z.array(ProabonoListSubscriptions_SubscriptionSchema).describe("Collection of subscription objects").nullable().optional(),
49
+ Links: z.array(ProabonoListSubscriptions_NavigationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
50
+ SizePage: z.number().int().describe("Maximum items per page").nullable().optional(),
51
+ TotalItems: z.number().int().describe("Total matching subscriptions across all pages").nullable().optional(),
52
+ DateGenerated: z.string().describe("Response generation timestamp").nullable().optional()
53
+ })
54
+ });
55
+ //#endregion
56
+ export { proabonoListSubscriptions };
57
+
58
+ //# sourceMappingURL=list-subscriptions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-subscriptions.mjs","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListSubscriptionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").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 subscriptions for a specific business\").optional(),\n dateStartMin: z.string().describe(\"Minimum start date filter in ISO 8601 format (e.g., '2025-04-27T13:54:00')\").optional(),\n StateSubscription: z.string().describe(\"Filter by subscription technical state (e.g., 'ActiveRunning', 'Draft', 'Suspended', 'Ended')\").optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-customer', 'collection-features')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n});\nconst ProabonoListSubscriptions_SubscriptionSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique subscription identifier\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_SubscriptionLinkSchema).describe(\"Related resource links\").nullable().optional(),\n Status: z.string().describe(\"Functional state (e.g., 'Draft', 'Active', 'Suspended', 'Ended', 'Deleted')\").nullable().optional(),\n IdOffer: z.number().int().describe(\"Related offer identifier\").nullable().optional(),\n DateTerm: z.string().describe(\"Subscription termination or renewal date\").nullable().optional(),\n DateStart: z.string().describe(\"Subscription commencement date in ISO 8601 format\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n StateLife: z.string().describe(\"Lifecycle state (e.g., 'Ok', 'ToModerate')\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the subscription record\").nullable().optional(),\n DatePeriodEnd: z.string().describe(\"Current billing period end date\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the subscription record\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized subscription/offer title\").nullable().optional(),\n DatePeriodStart: z.string().describe(\"Current billing period start date\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Customer's external reference key\").nullable().optional(),\n StateSubscription: z.string().describe(\"Technical state reflecting lifecycle position (e.g., 'ActiveRunning', 'ActivePaused')\").nullable().optional(),\n});\nconst ProabonoListSubscriptions_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 ProabonoListSubscriptionsOutput: 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(ProabonoListSubscriptions_SubscriptionSchema).describe(\"Collection of subscription objects\").nullable().optional(),\n Links: z.array(ProabonoListSubscriptions_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 subscriptions across all pages\").nullable().optional(),\n DateGenerated: z.string().describe(\"Response generation timestamp\").nullable().optional(),\n});\n\nexport const proabonoListSubscriptions = action(\"PROABONO_LIST_SUBSCRIPTIONS\", {\n slug: \"proabono-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list all subscriptions from ProAbono via the Backoffice API. Use when you need to retrieve subscription information with optional filtering by business, state, or start date. Returns paginated results with subscription details including customer, offer, dates, and status.\",\n input: ProabonoListSubscriptionsInput,\n output: ProabonoListSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACzH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;AACnJ,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC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,CAOU;AACV,CAAC"}
@@ -0,0 +1,52 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-tax-profile-exceptions.ts
4
+ const ProabonoListTaxProfileExceptionsInput = zod.z.object({
5
+ page: zod.z.number().int().describe("Page number. Default: 1.").optional(),
6
+ region: zod.z.string().describe("Filter by region or state code (e.g., 'US-CA' for California, 'US-TX' for Texas)").optional(),
7
+ country: zod.z.string().describe("Filter by ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR', 'GB')").optional(),
8
+ size_page: zod.z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
9
+ id_business: zod.z.number().int().describe("Filter by business identifier to retrieve tax profile exceptions for a specific business").optional(),
10
+ id_tax_profile: zod.z.number().int().describe("Filter by tax profile identifier to retrieve exceptions for a specific tax profile").optional()
11
+ }).describe("Request model for listing tax profile exceptions.");
12
+ const ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema = zod.z.object({
13
+ rel: zod.z.string().describe("Relationship type (e.g., 'self', 'related-taxprofile')").nullable().optional(),
14
+ href: zod.z.string().describe("API endpoint path for the related resource").nullable().optional()
15
+ }).describe("Model for HATEOAS navigation links in tax profile exception items.");
16
+ const ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema = zod.z.object({
17
+ Id: zod.z.number().int().describe("Unique identifier of the tax profile exception").nullable().optional(),
18
+ Rate: zod.z.number().describe("Tax rate (e.g., 7.0 for 7%, 19.6 for 19.6%)").nullable().optional(),
19
+ Links: zod.z.array(ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
20
+ Region: zod.z.string().describe("Region or state code (e.g., 'US-DE' for Delaware)").nullable().optional(),
21
+ Country: zod.z.string().describe("ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR')").nullable().optional(),
22
+ IsCompany: zod.z.boolean().describe("Whether this exception applies to company entities").nullable().optional(),
23
+ DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
24
+ IdBusiness: zod.z.number().int().describe("Business identifier associated with this tax profile exception").nullable().optional(),
25
+ TypeRateTax: zod.z.string().describe("Type of tax rate (e.g., 'Outside', 'Inside')").nullable().optional(),
26
+ IdTaxProfile: zod.z.number().int().describe("Tax profile identifier that this exception applies to").nullable().optional(),
27
+ IdUserUpdate: zod.z.number().int().describe("ID of user who last modified the tax profile exception").nullable().optional()
28
+ }).describe("Model for a single tax profile exception item.");
29
+ const ProabonoListTaxProfileExceptions_PaginationLinkSchema = zod.z.object({
30
+ rel: zod.z.string().describe("Link relation type (e.g., 'next', 'prev', 'self')").nullable().optional(),
31
+ href: zod.z.string().describe("API endpoint path for navigation").nullable().optional()
32
+ }).describe("Model for pagination navigation links.");
33
+ const ProabonoListTaxProfileExceptionsOutput = zod.z.object({
34
+ Page: zod.z.number().int().describe("Current page number").nullable().optional(),
35
+ Count: zod.z.number().int().describe("Number of items on current page").nullable().optional(),
36
+ Items: zod.z.array(ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema).describe("Collection of tax profile exception objects").nullable().optional(),
37
+ Links: zod.z.array(ProabonoListTaxProfileExceptions_PaginationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
38
+ SizePage: zod.z.number().int().describe("Maximum items per page").nullable().optional(),
39
+ TotalItems: zod.z.number().int().describe("Total matching items across all pages").nullable().optional(),
40
+ DateGenerated: zod.z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
41
+ }).describe("Response model for listing tax profile exceptions.");
42
+ const proabonoListTaxProfileExceptions = require_action.action("PROABONO_LIST_TAX_PROFILE_EXCEPTIONS", {
43
+ slug: "proabono-list-tax-profile-exceptions",
44
+ name: "List Tax Profile Exceptions",
45
+ description: "Tool to list tax profile exceptions from ProAbono Organization API. Use when you need to retrieve tax exceptions with optional filtering by business, tax profile, country, or region. Returns a paginated collection of tax exception records including rates, geographic scope, and applicability.",
46
+ input: ProabonoListTaxProfileExceptionsInput,
47
+ output: ProabonoListTaxProfileExceptionsOutput
48
+ });
49
+ //#endregion
50
+ exports.proabonoListTaxProfileExceptions = proabonoListTaxProfileExceptions;
51
+
52
+ //# sourceMappingURL=list-tax-profile-exceptions.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tax-profile-exceptions.cjs","names":["z","action"],"sources":["../../src/actions/list-tax-profile-exceptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoListTaxProfileExceptionsInput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Page number. Default: 1.\").optional(),\n region: z.string().describe(\"Filter by region or state code (e.g., 'US-CA' for California, 'US-TX' for Texas)\").optional(),\n country: z.string().describe(\"Filter by ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR', 'GB')\").optional(),\n size_page: z.number().int().describe(\"Number of items per page. Default: 10, max: 1000.\").optional(),\n id_business: z.number().int().describe(\"Filter by business identifier to retrieve tax profile exceptions for a specific business\").optional(),\n id_tax_profile: z.number().int().describe(\"Filter by tax profile identifier to retrieve exceptions for a specific tax profile\").optional(),\n}).describe(\"Request model for listing tax profile exceptions.\");\nconst ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-taxprofile')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).describe(\"Model for HATEOAS navigation links in tax profile exception items.\");\nconst ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile exception\").nullable().optional(),\n Rate: z.number().describe(\"Tax rate (e.g., 7.0 for 7%, 19.6 for 19.6%)\").nullable().optional(),\n Links: z.array(ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Region: z.string().describe(\"Region or state code (e.g., 'US-DE' for Delaware)\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR')\").nullable().optional(),\n IsCompany: z.boolean().describe(\"Whether this exception applies to company entities\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier associated with this tax profile exception\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate (e.g., 'Outside', 'Inside')\").nullable().optional(),\n IdTaxProfile: z.number().int().describe(\"Tax profile identifier that this exception applies to\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the tax profile exception\").nullable().optional(),\n}).describe(\"Model for a single tax profile exception item.\");\nconst ProabonoListTaxProfileExceptions_PaginationLinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Link relation type (e.g., 'next', 'prev', 'self')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for navigation\").nullable().optional(),\n}).describe(\"Model for pagination navigation links.\");\nexport const ProabonoListTaxProfileExceptionsOutput: 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(ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema).describe(\"Collection of tax profile exception objects\").nullable().optional(),\n Links: z.array(ProabonoListTaxProfileExceptions_PaginationLinkSchema).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 in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model for listing tax profile exceptions.\");\n\nexport const proabonoListTaxProfileExceptions = action(\"PROABONO_LIST_TAX_PROFILE_EXCEPTIONS\", {\n slug: \"proabono-list-tax-profile-exceptions\",\n name: \"List Tax Profile Exceptions\",\n description: \"Tool to list tax profile exceptions from ProAbono Organization API. Use when you need to retrieve tax exceptions with optional filtering by business, tax profile, country, or region. Returns a paginated collection of tax exception records including rates, geographic scope, and applicability.\",\n input: ProabonoListTaxProfileExceptionsInput,\n output: ProabonoListTaxProfileExceptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC5I,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,iEAA+EA,IAAAA,EAAE,OAAO;CAC5F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,iEAA+EA,IAAAA,EAAE,OAAO;CAC5F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MA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AS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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,8DAA8D,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,OAAOA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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-tax-profile-exceptions.d.ts
4
+ declare const ProabonoListTaxProfileExceptionsInput: z.ZodTypeAny;
5
+ declare const ProabonoListTaxProfileExceptionsOutput: z.ZodTypeAny;
6
+ declare const proabonoListTaxProfileExceptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListTaxProfileExceptions };
9
+ //# sourceMappingURL=list-tax-profile-exceptions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tax-profile-exceptions.d.cts","names":[],"sources":["../../src/actions/list-tax-profile-exceptions.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOU;AAAA,cAsBnD,sCAAA,EAAwC,CAAA,CAAE,UAQU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-tax-profile-exceptions.d.ts
4
+ declare const ProabonoListTaxProfileExceptionsInput: z.ZodTypeAny;
5
+ declare const ProabonoListTaxProfileExceptionsOutput: z.ZodTypeAny;
6
+ declare const proabonoListTaxProfileExceptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoListTaxProfileExceptions };
9
+ //# sourceMappingURL=list-tax-profile-exceptions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-tax-profile-exceptions.d.mts","names":[],"sources":["../../src/actions/list-tax-profile-exceptions.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAOU;AAAA,cAsBnD,sCAAA,EAAwC,CAAA,CAAE,UAQU;AAAA,cAEpD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,51 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-tax-profile-exceptions.ts
4
+ const ProabonoListTaxProfileExceptionsInput = z.object({
5
+ page: z.number().int().describe("Page number. Default: 1.").optional(),
6
+ region: z.string().describe("Filter by region or state code (e.g., 'US-CA' for California, 'US-TX' for Texas)").optional(),
7
+ country: z.string().describe("Filter by ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR', 'GB')").optional(),
8
+ size_page: z.number().int().describe("Number of items per page. Default: 10, max: 1000.").optional(),
9
+ id_business: z.number().int().describe("Filter by business identifier to retrieve tax profile exceptions for a specific business").optional(),
10
+ id_tax_profile: z.number().int().describe("Filter by tax profile identifier to retrieve exceptions for a specific tax profile").optional()
11
+ }).describe("Request model for listing tax profile exceptions.");
12
+ const ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema = z.object({
13
+ rel: z.string().describe("Relationship type (e.g., 'self', 'related-taxprofile')").nullable().optional(),
14
+ href: z.string().describe("API endpoint path for the related resource").nullable().optional()
15
+ }).describe("Model for HATEOAS navigation links in tax profile exception items.");
16
+ const ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema = z.object({
17
+ Id: z.number().int().describe("Unique identifier of the tax profile exception").nullable().optional(),
18
+ Rate: z.number().describe("Tax rate (e.g., 7.0 for 7%, 19.6 for 19.6%)").nullable().optional(),
19
+ Links: z.array(ProabonoListTaxProfileExceptions_TaxProfileExceptionLinkSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
20
+ Region: z.string().describe("Region or state code (e.g., 'US-DE' for Delaware)").nullable().optional(),
21
+ Country: z.string().describe("ISO 3166-1 alpha-2 country code (e.g., 'US', 'FR')").nullable().optional(),
22
+ IsCompany: z.boolean().describe("Whether this exception applies to company entities").nullable().optional(),
23
+ DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
24
+ IdBusiness: z.number().int().describe("Business identifier associated with this tax profile exception").nullable().optional(),
25
+ TypeRateTax: z.string().describe("Type of tax rate (e.g., 'Outside', 'Inside')").nullable().optional(),
26
+ IdTaxProfile: z.number().int().describe("Tax profile identifier that this exception applies to").nullable().optional(),
27
+ IdUserUpdate: z.number().int().describe("ID of user who last modified the tax profile exception").nullable().optional()
28
+ }).describe("Model for a single tax profile exception item.");
29
+ const ProabonoListTaxProfileExceptions_PaginationLinkSchema = z.object({
30
+ rel: z.string().describe("Link relation type (e.g., 'next', 'prev', 'self')").nullable().optional(),
31
+ href: z.string().describe("API endpoint path for navigation").nullable().optional()
32
+ }).describe("Model for pagination navigation links.");
33
+ const proabonoListTaxProfileExceptions = action("PROABONO_LIST_TAX_PROFILE_EXCEPTIONS", {
34
+ slug: "proabono-list-tax-profile-exceptions",
35
+ name: "List Tax Profile Exceptions",
36
+ description: "Tool to list tax profile exceptions from ProAbono Organization API. Use when you need to retrieve tax exceptions with optional filtering by business, tax profile, country, or region. Returns a paginated collection of tax exception records including rates, geographic scope, and applicability.",
37
+ input: ProabonoListTaxProfileExceptionsInput,
38
+ output: z.object({
39
+ Page: z.number().int().describe("Current page number").nullable().optional(),
40
+ Count: z.number().int().describe("Number of items on current page").nullable().optional(),
41
+ Items: z.array(ProabonoListTaxProfileExceptions_TaxProfileExceptionItemSchema).describe("Collection of tax profile exception objects").nullable().optional(),
42
+ Links: z.array(ProabonoListTaxProfileExceptions_PaginationLinkSchema).describe("Navigation links for pagination (next/prev)").nullable().optional(),
43
+ SizePage: z.number().int().describe("Maximum items per page").nullable().optional(),
44
+ TotalItems: z.number().int().describe("Total matching items across all pages").nullable().optional(),
45
+ DateGenerated: z.string().describe("Response generation timestamp in ISO 8601 format").nullable().optional()
46
+ }).describe("Response model for listing tax profile exceptions.")
47
+ });
48
+ //#endregion
49
+ export { proabonoListTaxProfileExceptions };
50
+
51
+ //# sourceMappingURL=list-tax-profile-exceptions.mjs.map