@keystrokehq/proabono 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/anonymize-customer.cjs +31 -0
  7. package/dist/actions/anonymize-customer.cjs.map +1 -0
  8. package/dist/actions/anonymize-customer.d.cts +9 -0
  9. package/dist/actions/anonymize-customer.d.cts.map +1 -0
  10. package/dist/actions/anonymize-customer.d.mts +9 -0
  11. package/dist/actions/anonymize-customer.d.mts.map +1 -0
  12. package/dist/actions/anonymize-customer.mjs +30 -0
  13. package/dist/actions/anonymize-customer.mjs.map +1 -0
  14. package/dist/actions/bill-customer.cjs +23 -0
  15. package/dist/actions/bill-customer.cjs.map +1 -0
  16. package/dist/actions/bill-customer.d.cts +9 -0
  17. package/dist/actions/bill-customer.d.cts.map +1 -0
  18. package/dist/actions/bill-customer.d.mts +9 -0
  19. package/dist/actions/bill-customer.d.mts.map +1 -0
  20. package/dist/actions/bill-customer.mjs +20 -0
  21. package/dist/actions/bill-customer.mjs.map +1 -0
  22. package/dist/actions/create-customer.cjs +48 -0
  23. package/dist/actions/create-customer.cjs.map +1 -0
  24. package/dist/actions/create-customer.d.cts +9 -0
  25. package/dist/actions/create-customer.d.cts.map +1 -0
  26. package/dist/actions/create-customer.d.mts +9 -0
  27. package/dist/actions/create-customer.d.mts.map +1 -0
  28. package/dist/actions/create-customer.mjs +47 -0
  29. package/dist/actions/create-customer.mjs.map +1 -0
  30. package/dist/actions/create-feature.cjs +45 -0
  31. package/dist/actions/create-feature.cjs.map +1 -0
  32. package/dist/actions/create-feature.d.cts +9 -0
  33. package/dist/actions/create-feature.d.cts.map +1 -0
  34. package/dist/actions/create-feature.d.mts +9 -0
  35. package/dist/actions/create-feature.d.mts.map +1 -0
  36. package/dist/actions/create-feature.mjs +44 -0
  37. package/dist/actions/create-feature.mjs.map +1 -0
  38. package/dist/actions/delete-customer.cjs +19 -0
  39. package/dist/actions/delete-customer.cjs.map +1 -0
  40. package/dist/actions/delete-customer.d.cts +9 -0
  41. package/dist/actions/delete-customer.d.cts.map +1 -0
  42. package/dist/actions/delete-customer.d.mts +9 -0
  43. package/dist/actions/delete-customer.d.mts.map +1 -0
  44. package/dist/actions/delete-customer.mjs +16 -0
  45. package/dist/actions/delete-customer.mjs.map +1 -0
  46. package/dist/actions/delete-offer.cjs +20 -0
  47. package/dist/actions/delete-offer.cjs.map +1 -0
  48. package/dist/actions/delete-offer.d.cts +9 -0
  49. package/dist/actions/delete-offer.d.cts.map +1 -0
  50. package/dist/actions/delete-offer.d.mts +9 -0
  51. package/dist/actions/delete-offer.d.mts.map +1 -0
  52. package/dist/actions/delete-offer.mjs +17 -0
  53. package/dist/actions/delete-offer.mjs.map +1 -0
  54. package/dist/actions/delete-pricing-table-offer.cjs +19 -0
  55. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -0
  56. package/dist/actions/delete-pricing-table-offer.d.cts +9 -0
  57. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -0
  58. package/dist/actions/delete-pricing-table-offer.d.mts +9 -0
  59. package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -0
  60. package/dist/actions/delete-pricing-table-offer.mjs +16 -0
  61. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -0
  62. package/dist/actions/delete-pricing-table.cjs +19 -0
  63. package/dist/actions/delete-pricing-table.cjs.map +1 -0
  64. package/dist/actions/delete-pricing-table.d.cts +9 -0
  65. package/dist/actions/delete-pricing-table.d.cts.map +1 -0
  66. package/dist/actions/delete-pricing-table.d.mts +9 -0
  67. package/dist/actions/delete-pricing-table.d.mts.map +1 -0
  68. package/dist/actions/delete-pricing-table.mjs +16 -0
  69. package/dist/actions/delete-pricing-table.mjs.map +1 -0
  70. package/dist/actions/delete-subscription-discount.cjs +16 -0
  71. package/dist/actions/delete-subscription-discount.cjs.map +1 -0
  72. package/dist/actions/delete-subscription-discount.d.cts +9 -0
  73. package/dist/actions/delete-subscription-discount.d.cts.map +1 -0
  74. package/dist/actions/delete-subscription-discount.d.mts +9 -0
  75. package/dist/actions/delete-subscription-discount.d.mts.map +1 -0
  76. package/dist/actions/delete-subscription-discount.mjs +13 -0
  77. package/dist/actions/delete-subscription-discount.mjs.map +1 -0
  78. package/dist/actions/enable-webhook.cjs +19 -0
  79. package/dist/actions/enable-webhook.cjs.map +1 -0
  80. package/dist/actions/enable-webhook.d.cts +9 -0
  81. package/dist/actions/enable-webhook.d.cts.map +1 -0
  82. package/dist/actions/enable-webhook.d.mts +9 -0
  83. package/dist/actions/enable-webhook.d.mts.map +1 -0
  84. package/dist/actions/enable-webhook.mjs +16 -0
  85. package/dist/actions/enable-webhook.mjs.map +1 -0
  86. package/dist/actions/get-customer-billing-address.cjs +28 -0
  87. package/dist/actions/get-customer-billing-address.cjs.map +1 -0
  88. package/dist/actions/get-customer-billing-address.d.cts +9 -0
  89. package/dist/actions/get-customer-billing-address.d.cts.map +1 -0
  90. package/dist/actions/get-customer-billing-address.d.mts +9 -0
  91. package/dist/actions/get-customer-billing-address.d.mts.map +1 -0
  92. package/dist/actions/get-customer-billing-address.mjs +25 -0
  93. package/dist/actions/get-customer-billing-address.mjs.map +1 -0
  94. package/dist/actions/get-customer-billing.cjs +37 -0
  95. package/dist/actions/get-customer-billing.cjs.map +1 -0
  96. package/dist/actions/get-customer-billing.d.cts +9 -0
  97. package/dist/actions/get-customer-billing.d.cts.map +1 -0
  98. package/dist/actions/get-customer-billing.d.mts +9 -0
  99. package/dist/actions/get-customer-billing.d.mts.map +1 -0
  100. package/dist/actions/get-customer-billing.mjs +36 -0
  101. package/dist/actions/get-customer-billing.mjs.map +1 -0
  102. package/dist/actions/get-customer-by-reference.cjs +35 -0
  103. package/dist/actions/get-customer-by-reference.cjs.map +1 -0
  104. package/dist/actions/get-customer-by-reference.d.cts +9 -0
  105. package/dist/actions/get-customer-by-reference.d.cts.map +1 -0
  106. package/dist/actions/get-customer-by-reference.d.mts +9 -0
  107. package/dist/actions/get-customer-by-reference.d.mts.map +1 -0
  108. package/dist/actions/get-customer-by-reference.mjs +34 -0
  109. package/dist/actions/get-customer-by-reference.mjs.map +1 -0
  110. package/dist/actions/get-customer-payment-settings.cjs +23 -0
  111. package/dist/actions/get-customer-payment-settings.cjs.map +1 -0
  112. package/dist/actions/get-customer-payment-settings.d.cts +9 -0
  113. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -0
  114. package/dist/actions/get-customer-payment-settings.d.mts +9 -0
  115. package/dist/actions/get-customer-payment-settings.d.mts.map +1 -0
  116. package/dist/actions/get-customer-payment-settings.mjs +20 -0
  117. package/dist/actions/get-customer-payment-settings.mjs.map +1 -0
  118. package/dist/actions/get-customer.cjs +38 -0
  119. package/dist/actions/get-customer.cjs.map +1 -0
  120. package/dist/actions/get-customer.d.cts +9 -0
  121. package/dist/actions/get-customer.d.cts.map +1 -0
  122. package/dist/actions/get-customer.d.mts +9 -0
  123. package/dist/actions/get-customer.d.mts.map +1 -0
  124. package/dist/actions/get-customer.mjs +37 -0
  125. package/dist/actions/get-customer.mjs.map +1 -0
  126. package/dist/actions/get-discount.cjs +56 -0
  127. package/dist/actions/get-discount.cjs.map +1 -0
  128. package/dist/actions/get-discount.d.cts +9 -0
  129. package/dist/actions/get-discount.d.cts.map +1 -0
  130. package/dist/actions/get-discount.d.mts +9 -0
  131. package/dist/actions/get-discount.d.mts.map +1 -0
  132. package/dist/actions/get-discount.mjs +55 -0
  133. package/dist/actions/get-discount.mjs.map +1 -0
  134. package/dist/actions/get-feature.cjs +34 -0
  135. package/dist/actions/get-feature.cjs.map +1 -0
  136. package/dist/actions/get-feature.d.cts +9 -0
  137. package/dist/actions/get-feature.d.cts.map +1 -0
  138. package/dist/actions/get-feature.d.mts +9 -0
  139. package/dist/actions/get-feature.d.mts.map +1 -0
  140. package/dist/actions/get-feature.mjs +31 -0
  141. package/dist/actions/get-feature.mjs.map +1 -0
  142. package/dist/actions/get-invoice.cjs +48 -0
  143. package/dist/actions/get-invoice.cjs.map +1 -0
  144. package/dist/actions/get-invoice.d.cts +9 -0
  145. package/dist/actions/get-invoice.d.cts.map +1 -0
  146. package/dist/actions/get-invoice.d.mts +9 -0
  147. package/dist/actions/get-invoice.d.mts.map +1 -0
  148. package/dist/actions/get-invoice.mjs +47 -0
  149. package/dist/actions/get-invoice.mjs.map +1 -0
  150. package/dist/actions/get-offer.cjs +54 -0
  151. package/dist/actions/get-offer.cjs.map +1 -0
  152. package/dist/actions/get-offer.d.cts +9 -0
  153. package/dist/actions/get-offer.d.cts.map +1 -0
  154. package/dist/actions/get-offer.d.mts +9 -0
  155. package/dist/actions/get-offer.d.mts.map +1 -0
  156. package/dist/actions/get-offer.mjs +53 -0
  157. package/dist/actions/get-offer.mjs.map +1 -0
  158. package/dist/actions/get-subscription-by-customer.cjs +78 -0
  159. package/dist/actions/get-subscription-by-customer.cjs.map +1 -0
  160. package/dist/actions/get-subscription-by-customer.d.cts +9 -0
  161. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -0
  162. package/dist/actions/get-subscription-by-customer.d.mts +9 -0
  163. package/dist/actions/get-subscription-by-customer.d.mts.map +1 -0
  164. package/dist/actions/get-subscription-by-customer.mjs +77 -0
  165. package/dist/actions/get-subscription-by-customer.mjs.map +1 -0
  166. package/dist/actions/get-subscription-creation-quote.cjs +46 -0
  167. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -0
  168. package/dist/actions/get-subscription-creation-quote.d.cts +9 -0
  169. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -0
  170. package/dist/actions/get-subscription-creation-quote.d.mts +9 -0
  171. package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -0
  172. package/dist/actions/get-subscription-creation-quote.mjs +45 -0
  173. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -0
  174. package/dist/actions/get-usage.cjs +34 -0
  175. package/dist/actions/get-usage.cjs.map +1 -0
  176. package/dist/actions/get-usage.d.cts +9 -0
  177. package/dist/actions/get-usage.d.cts.map +1 -0
  178. package/dist/actions/get-usage.d.mts +9 -0
  179. package/dist/actions/get-usage.d.mts.map +1 -0
  180. package/dist/actions/get-usage.mjs +31 -0
  181. package/dist/actions/get-usage.mjs.map +1 -0
  182. package/dist/actions/get-usages-for-customer.cjs +48 -0
  183. package/dist/actions/get-usages-for-customer.cjs.map +1 -0
  184. package/dist/actions/get-usages-for-customer.d.cts +9 -0
  185. package/dist/actions/get-usages-for-customer.d.cts.map +1 -0
  186. package/dist/actions/get-usages-for-customer.d.mts +9 -0
  187. package/dist/actions/get-usages-for-customer.d.mts.map +1 -0
  188. package/dist/actions/get-usages-for-customer.mjs +47 -0
  189. package/dist/actions/get-usages-for-customer.mjs.map +1 -0
  190. package/dist/actions/index.cjs +129 -0
  191. package/dist/actions/index.d.cts +65 -0
  192. package/dist/actions/index.d.mts +65 -0
  193. package/dist/actions/index.mjs +65 -0
  194. package/dist/actions/invalidate-customer-by-id.cjs +32 -0
  195. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -0
  196. package/dist/actions/invalidate-customer-by-id.d.cts +9 -0
  197. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -0
  198. package/dist/actions/invalidate-customer-by-id.d.mts +9 -0
  199. package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -0
  200. package/dist/actions/invalidate-customer-by-id.mjs +31 -0
  201. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -0
  202. package/dist/actions/invalidate-customer.cjs +35 -0
  203. package/dist/actions/invalidate-customer.cjs.map +1 -0
  204. package/dist/actions/invalidate-customer.d.cts +9 -0
  205. package/dist/actions/invalidate-customer.d.cts.map +1 -0
  206. package/dist/actions/invalidate-customer.d.mts +9 -0
  207. package/dist/actions/invalidate-customer.d.mts.map +1 -0
  208. package/dist/actions/invalidate-customer.mjs +34 -0
  209. package/dist/actions/invalidate-customer.mjs.map +1 -0
  210. package/dist/actions/list-balance-lines.cjs +49 -0
  211. package/dist/actions/list-balance-lines.cjs.map +1 -0
  212. package/dist/actions/list-balance-lines.d.cts +9 -0
  213. package/dist/actions/list-balance-lines.d.cts.map +1 -0
  214. package/dist/actions/list-balance-lines.d.mts +9 -0
  215. package/dist/actions/list-balance-lines.d.mts.map +1 -0
  216. package/dist/actions/list-balance-lines.mjs +48 -0
  217. package/dist/actions/list-balance-lines.mjs.map +1 -0
  218. package/dist/actions/list-business-localization.cjs +43 -0
  219. package/dist/actions/list-business-localization.cjs.map +1 -0
  220. package/dist/actions/list-business-localization.d.cts +9 -0
  221. package/dist/actions/list-business-localization.d.cts.map +1 -0
  222. package/dist/actions/list-business-localization.d.mts +9 -0
  223. package/dist/actions/list-business-localization.d.mts.map +1 -0
  224. package/dist/actions/list-business-localization.mjs +42 -0
  225. package/dist/actions/list-business-localization.mjs.map +1 -0
  226. package/dist/actions/list-businesses.cjs +44 -0
  227. package/dist/actions/list-businesses.cjs.map +1 -0
  228. package/dist/actions/list-businesses.d.cts +9 -0
  229. package/dist/actions/list-businesses.d.cts.map +1 -0
  230. package/dist/actions/list-businesses.d.mts +9 -0
  231. package/dist/actions/list-businesses.d.mts.map +1 -0
  232. package/dist/actions/list-businesses.mjs +43 -0
  233. package/dist/actions/list-businesses.mjs.map +1 -0
  234. package/dist/actions/list-customer-moves.cjs +50 -0
  235. package/dist/actions/list-customer-moves.cjs.map +1 -0
  236. package/dist/actions/list-customer-moves.d.cts +9 -0
  237. package/dist/actions/list-customer-moves.d.cts.map +1 -0
  238. package/dist/actions/list-customer-moves.d.mts +9 -0
  239. package/dist/actions/list-customer-moves.d.mts.map +1 -0
  240. package/dist/actions/list-customer-moves.mjs +49 -0
  241. package/dist/actions/list-customer-moves.mjs.map +1 -0
  242. package/dist/actions/list-customers-by-feature.cjs +38 -0
  243. package/dist/actions/list-customers-by-feature.cjs.map +1 -0
  244. package/dist/actions/list-customers-by-feature.d.cts +9 -0
  245. package/dist/actions/list-customers-by-feature.d.cts.map +1 -0
  246. package/dist/actions/list-customers-by-feature.d.mts +9 -0
  247. package/dist/actions/list-customers-by-feature.d.mts.map +1 -0
  248. package/dist/actions/list-customers-by-feature.mjs +37 -0
  249. package/dist/actions/list-customers-by-feature.mjs.map +1 -0
  250. package/dist/actions/list-customers.cjs +55 -0
  251. package/dist/actions/list-customers.cjs.map +1 -0
  252. package/dist/actions/list-customers.d.cts +9 -0
  253. package/dist/actions/list-customers.d.cts.map +1 -0
  254. package/dist/actions/list-customers.d.mts +9 -0
  255. package/dist/actions/list-customers.d.mts.map +1 -0
  256. package/dist/actions/list-customers.mjs +54 -0
  257. package/dist/actions/list-customers.mjs.map +1 -0
  258. package/dist/actions/list-discounts.cjs +55 -0
  259. package/dist/actions/list-discounts.cjs.map +1 -0
  260. package/dist/actions/list-discounts.d.cts +9 -0
  261. package/dist/actions/list-discounts.d.cts.map +1 -0
  262. package/dist/actions/list-discounts.d.mts +9 -0
  263. package/dist/actions/list-discounts.d.mts.map +1 -0
  264. package/dist/actions/list-discounts.mjs +54 -0
  265. package/dist/actions/list-discounts.mjs.map +1 -0
  266. package/dist/actions/list-features.cjs +52 -0
  267. package/dist/actions/list-features.cjs.map +1 -0
  268. package/dist/actions/list-features.d.cts +9 -0
  269. package/dist/actions/list-features.d.cts.map +1 -0
  270. package/dist/actions/list-features.d.mts +9 -0
  271. package/dist/actions/list-features.d.mts.map +1 -0
  272. package/dist/actions/list-features.mjs +51 -0
  273. package/dist/actions/list-features.mjs.map +1 -0
  274. package/dist/actions/list-gateway-accounts.cjs +55 -0
  275. package/dist/actions/list-gateway-accounts.cjs.map +1 -0
  276. package/dist/actions/list-gateway-accounts.d.cts +9 -0
  277. package/dist/actions/list-gateway-accounts.d.cts.map +1 -0
  278. package/dist/actions/list-gateway-accounts.d.mts +9 -0
  279. package/dist/actions/list-gateway-accounts.d.mts.map +1 -0
  280. package/dist/actions/list-gateway-accounts.mjs +54 -0
  281. package/dist/actions/list-gateway-accounts.mjs.map +1 -0
  282. package/dist/actions/list-gateway-permissions.cjs +52 -0
  283. package/dist/actions/list-gateway-permissions.cjs.map +1 -0
  284. package/dist/actions/list-gateway-permissions.d.cts +9 -0
  285. package/dist/actions/list-gateway-permissions.d.cts.map +1 -0
  286. package/dist/actions/list-gateway-permissions.d.mts +9 -0
  287. package/dist/actions/list-gateway-permissions.d.mts.map +1 -0
  288. package/dist/actions/list-gateway-permissions.mjs +51 -0
  289. package/dist/actions/list-gateway-permissions.mjs.map +1 -0
  290. package/dist/actions/list-gateway-requests.cjs +66 -0
  291. package/dist/actions/list-gateway-requests.cjs.map +1 -0
  292. package/dist/actions/list-gateway-requests.d.cts +9 -0
  293. package/dist/actions/list-gateway-requests.d.cts.map +1 -0
  294. package/dist/actions/list-gateway-requests.d.mts +9 -0
  295. package/dist/actions/list-gateway-requests.d.mts.map +1 -0
  296. package/dist/actions/list-gateway-requests.mjs +65 -0
  297. package/dist/actions/list-gateway-requests.mjs.map +1 -0
  298. package/dist/actions/list-gateway-transactions.cjs +57 -0
  299. package/dist/actions/list-gateway-transactions.cjs.map +1 -0
  300. package/dist/actions/list-gateway-transactions.d.cts +9 -0
  301. package/dist/actions/list-gateway-transactions.d.cts.map +1 -0
  302. package/dist/actions/list-gateway-transactions.d.mts +9 -0
  303. package/dist/actions/list-gateway-transactions.d.mts.map +1 -0
  304. package/dist/actions/list-gateway-transactions.mjs +56 -0
  305. package/dist/actions/list-gateway-transactions.mjs.map +1 -0
  306. package/dist/actions/list-invoice-lines.cjs +37 -0
  307. package/dist/actions/list-invoice-lines.cjs.map +1 -0
  308. package/dist/actions/list-invoice-lines.d.cts +9 -0
  309. package/dist/actions/list-invoice-lines.d.cts.map +1 -0
  310. package/dist/actions/list-invoice-lines.d.mts +9 -0
  311. package/dist/actions/list-invoice-lines.d.mts.map +1 -0
  312. package/dist/actions/list-invoice-lines.mjs +36 -0
  313. package/dist/actions/list-invoice-lines.mjs.map +1 -0
  314. package/dist/actions/list-invoices-by-customer.cjs +50 -0
  315. package/dist/actions/list-invoices-by-customer.cjs.map +1 -0
  316. package/dist/actions/list-invoices-by-customer.d.cts +9 -0
  317. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -0
  318. package/dist/actions/list-invoices-by-customer.d.mts +9 -0
  319. package/dist/actions/list-invoices-by-customer.d.mts.map +1 -0
  320. package/dist/actions/list-invoices-by-customer.mjs +49 -0
  321. package/dist/actions/list-invoices-by-customer.mjs.map +1 -0
  322. package/dist/actions/list-invoices.cjs +52 -0
  323. package/dist/actions/list-invoices.cjs.map +1 -0
  324. package/dist/actions/list-invoices.d.cts +9 -0
  325. package/dist/actions/list-invoices.d.cts.map +1 -0
  326. package/dist/actions/list-invoices.d.mts +9 -0
  327. package/dist/actions/list-invoices.d.mts.map +1 -0
  328. package/dist/actions/list-invoices.mjs +51 -0
  329. package/dist/actions/list-invoices.mjs.map +1 -0
  330. package/dist/actions/list-offers.cjs +55 -0
  331. package/dist/actions/list-offers.cjs.map +1 -0
  332. package/dist/actions/list-offers.d.cts +9 -0
  333. package/dist/actions/list-offers.d.cts.map +1 -0
  334. package/dist/actions/list-offers.d.mts +9 -0
  335. package/dist/actions/list-offers.d.mts.map +1 -0
  336. package/dist/actions/list-offers.mjs +54 -0
  337. package/dist/actions/list-offers.mjs.map +1 -0
  338. package/dist/actions/list-payments.cjs +50 -0
  339. package/dist/actions/list-payments.cjs.map +1 -0
  340. package/dist/actions/list-payments.d.cts +9 -0
  341. package/dist/actions/list-payments.d.cts.map +1 -0
  342. package/dist/actions/list-payments.d.mts +9 -0
  343. package/dist/actions/list-payments.d.mts.map +1 -0
  344. package/dist/actions/list-payments.mjs +49 -0
  345. package/dist/actions/list-payments.mjs.map +1 -0
  346. package/dist/actions/list-pricing-table-offers.cjs +41 -0
  347. package/dist/actions/list-pricing-table-offers.cjs.map +1 -0
  348. package/dist/actions/list-pricing-table-offers.d.cts +9 -0
  349. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -0
  350. package/dist/actions/list-pricing-table-offers.d.mts +9 -0
  351. package/dist/actions/list-pricing-table-offers.d.mts.map +1 -0
  352. package/dist/actions/list-pricing-table-offers.mjs +40 -0
  353. package/dist/actions/list-pricing-table-offers.mjs.map +1 -0
  354. package/dist/actions/list-pricing-tables.cjs +48 -0
  355. package/dist/actions/list-pricing-tables.cjs.map +1 -0
  356. package/dist/actions/list-pricing-tables.d.cts +9 -0
  357. package/dist/actions/list-pricing-tables.d.cts.map +1 -0
  358. package/dist/actions/list-pricing-tables.d.mts +9 -0
  359. package/dist/actions/list-pricing-tables.d.mts.map +1 -0
  360. package/dist/actions/list-pricing-tables.mjs +47 -0
  361. package/dist/actions/list-pricing-tables.mjs.map +1 -0
  362. package/dist/actions/list-segment-localizations.cjs +38 -0
  363. package/dist/actions/list-segment-localizations.cjs.map +1 -0
  364. package/dist/actions/list-segment-localizations.d.cts +9 -0
  365. package/dist/actions/list-segment-localizations.d.cts.map +1 -0
  366. package/dist/actions/list-segment-localizations.d.mts +9 -0
  367. package/dist/actions/list-segment-localizations.d.mts.map +1 -0
  368. package/dist/actions/list-segment-localizations.mjs +37 -0
  369. package/dist/actions/list-segment-localizations.mjs.map +1 -0
  370. package/dist/actions/list-segments.cjs +53 -0
  371. package/dist/actions/list-segments.cjs.map +1 -0
  372. package/dist/actions/list-segments.d.cts +9 -0
  373. package/dist/actions/list-segments.d.cts.map +1 -0
  374. package/dist/actions/list-segments.d.mts +9 -0
  375. package/dist/actions/list-segments.d.mts.map +1 -0
  376. package/dist/actions/list-segments.mjs +52 -0
  377. package/dist/actions/list-segments.mjs.map +1 -0
  378. package/dist/actions/list-subscription-discounts.cjs +47 -0
  379. package/dist/actions/list-subscription-discounts.cjs.map +1 -0
  380. package/dist/actions/list-subscription-discounts.d.cts +9 -0
  381. package/dist/actions/list-subscription-discounts.d.cts.map +1 -0
  382. package/dist/actions/list-subscription-discounts.d.mts +9 -0
  383. package/dist/actions/list-subscription-discounts.d.mts.map +1 -0
  384. package/dist/actions/list-subscription-discounts.mjs +46 -0
  385. package/dist/actions/list-subscription-discounts.mjs.map +1 -0
  386. package/dist/actions/list-subscription-features.cjs +46 -0
  387. package/dist/actions/list-subscription-features.cjs.map +1 -0
  388. package/dist/actions/list-subscription-features.d.cts +9 -0
  389. package/dist/actions/list-subscription-features.d.cts.map +1 -0
  390. package/dist/actions/list-subscription-features.d.mts +9 -0
  391. package/dist/actions/list-subscription-features.d.mts.map +1 -0
  392. package/dist/actions/list-subscription-features.mjs +45 -0
  393. package/dist/actions/list-subscription-features.mjs.map +1 -0
  394. package/dist/actions/list-subscription-periods.cjs +46 -0
  395. package/dist/actions/list-subscription-periods.cjs.map +1 -0
  396. package/dist/actions/list-subscription-periods.d.cts +9 -0
  397. package/dist/actions/list-subscription-periods.d.cts.map +1 -0
  398. package/dist/actions/list-subscription-periods.d.mts +9 -0
  399. package/dist/actions/list-subscription-periods.d.mts.map +1 -0
  400. package/dist/actions/list-subscription-periods.mjs +45 -0
  401. package/dist/actions/list-subscription-periods.mjs.map +1 -0
  402. package/dist/actions/list-subscriptions.cjs +59 -0
  403. package/dist/actions/list-subscriptions.cjs.map +1 -0
  404. package/dist/actions/list-subscriptions.d.cts +9 -0
  405. package/dist/actions/list-subscriptions.d.cts.map +1 -0
  406. package/dist/actions/list-subscriptions.d.mts +9 -0
  407. package/dist/actions/list-subscriptions.d.mts.map +1 -0
  408. package/dist/actions/list-subscriptions.mjs +58 -0
  409. package/dist/actions/list-subscriptions.mjs.map +1 -0
  410. package/dist/actions/list-tax-profile-exceptions.cjs +52 -0
  411. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -0
  412. package/dist/actions/list-tax-profile-exceptions.d.cts +9 -0
  413. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -0
  414. package/dist/actions/list-tax-profile-exceptions.d.mts +9 -0
  415. package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -0
  416. package/dist/actions/list-tax-profile-exceptions.mjs +51 -0
  417. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -0
  418. package/dist/actions/list-tax-profiles.cjs +48 -0
  419. package/dist/actions/list-tax-profiles.cjs.map +1 -0
  420. package/dist/actions/list-tax-profiles.d.cts +9 -0
  421. package/dist/actions/list-tax-profiles.d.cts.map +1 -0
  422. package/dist/actions/list-tax-profiles.d.mts +9 -0
  423. package/dist/actions/list-tax-profiles.d.mts.map +1 -0
  424. package/dist/actions/list-tax-profiles.mjs +47 -0
  425. package/dist/actions/list-tax-profiles.mjs.map +1 -0
  426. package/dist/actions/list-upgrade-offers.cjs +72 -0
  427. package/dist/actions/list-upgrade-offers.cjs.map +1 -0
  428. package/dist/actions/list-upgrade-offers.d.cts +9 -0
  429. package/dist/actions/list-upgrade-offers.d.cts.map +1 -0
  430. package/dist/actions/list-upgrade-offers.d.mts +9 -0
  431. package/dist/actions/list-upgrade-offers.d.mts.map +1 -0
  432. package/dist/actions/list-upgrade-offers.mjs +71 -0
  433. package/dist/actions/list-upgrade-offers.mjs.map +1 -0
  434. package/dist/actions/list-webhook-notifications.cjs +58 -0
  435. package/dist/actions/list-webhook-notifications.cjs.map +1 -0
  436. package/dist/actions/list-webhook-notifications.d.cts +9 -0
  437. package/dist/actions/list-webhook-notifications.d.cts.map +1 -0
  438. package/dist/actions/list-webhook-notifications.d.mts +9 -0
  439. package/dist/actions/list-webhook-notifications.d.mts.map +1 -0
  440. package/dist/actions/list-webhook-notifications.mjs +57 -0
  441. package/dist/actions/list-webhook-notifications.mjs.map +1 -0
  442. package/dist/actions/list-webhooks.cjs +49 -0
  443. package/dist/actions/list-webhooks.cjs.map +1 -0
  444. package/dist/actions/list-webhooks.d.cts +9 -0
  445. package/dist/actions/list-webhooks.d.cts.map +1 -0
  446. package/dist/actions/list-webhooks.d.mts +9 -0
  447. package/dist/actions/list-webhooks.d.mts.map +1 -0
  448. package/dist/actions/list-webhooks.mjs +48 -0
  449. package/dist/actions/list-webhooks.mjs.map +1 -0
  450. package/dist/actions/quote-balance-line.cjs +41 -0
  451. package/dist/actions/quote-balance-line.cjs.map +1 -0
  452. package/dist/actions/quote-balance-line.d.cts +9 -0
  453. package/dist/actions/quote-balance-line.d.cts.map +1 -0
  454. package/dist/actions/quote-balance-line.d.mts +9 -0
  455. package/dist/actions/quote-balance-line.d.mts.map +1 -0
  456. package/dist/actions/quote-balance-line.mjs +40 -0
  457. package/dist/actions/quote-balance-line.mjs.map +1 -0
  458. package/dist/actions/revoke-customer-links.cjs +31 -0
  459. package/dist/actions/revoke-customer-links.cjs.map +1 -0
  460. package/dist/actions/revoke-customer-links.d.cts +9 -0
  461. package/dist/actions/revoke-customer-links.d.cts.map +1 -0
  462. package/dist/actions/revoke-customer-links.d.mts +9 -0
  463. package/dist/actions/revoke-customer-links.d.mts.map +1 -0
  464. package/dist/actions/revoke-customer-links.mjs +30 -0
  465. package/dist/actions/revoke-customer-links.mjs.map +1 -0
  466. package/dist/actions/update-businesses-billing-address.cjs +50 -0
  467. package/dist/actions/update-businesses-billing-address.cjs.map +1 -0
  468. package/dist/actions/update-businesses-billing-address.d.cts +9 -0
  469. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -0
  470. package/dist/actions/update-businesses-billing-address.d.mts +9 -0
  471. package/dist/actions/update-businesses-billing-address.d.mts.map +1 -0
  472. package/dist/actions/update-businesses-billing-address.mjs +49 -0
  473. package/dist/actions/update-businesses-billing-address.mjs.map +1 -0
  474. package/dist/actions/update-customer-billing-address.cjs +41 -0
  475. package/dist/actions/update-customer-billing-address.cjs.map +1 -0
  476. package/dist/actions/update-customer-billing-address.d.cts +9 -0
  477. package/dist/actions/update-customer-billing-address.d.cts.map +1 -0
  478. package/dist/actions/update-customer-billing-address.d.mts +9 -0
  479. package/dist/actions/update-customer-billing-address.d.mts.map +1 -0
  480. package/dist/actions/update-customer-billing-address.mjs +38 -0
  481. package/dist/actions/update-customer-billing-address.mjs.map +1 -0
  482. package/dist/actions/update-customer-payment-settings.cjs +25 -0
  483. package/dist/actions/update-customer-payment-settings.cjs.map +1 -0
  484. package/dist/actions/update-customer-payment-settings.d.cts +9 -0
  485. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -0
  486. package/dist/actions/update-customer-payment-settings.d.mts +9 -0
  487. package/dist/actions/update-customer-payment-settings.d.mts.map +1 -0
  488. package/dist/actions/update-customer-payment-settings.mjs +22 -0
  489. package/dist/actions/update-customer-payment-settings.mjs.map +1 -0
  490. package/dist/actions/update-customer-shipping.cjs +51 -0
  491. package/dist/actions/update-customer-shipping.cjs.map +1 -0
  492. package/dist/actions/update-customer-shipping.d.cts +9 -0
  493. package/dist/actions/update-customer-shipping.d.cts.map +1 -0
  494. package/dist/actions/update-customer-shipping.d.mts +9 -0
  495. package/dist/actions/update-customer-shipping.d.mts.map +1 -0
  496. package/dist/actions/update-customer-shipping.mjs +50 -0
  497. package/dist/actions/update-customer-shipping.mjs.map +1 -0
  498. package/dist/actions/update-customer.cjs +46 -0
  499. package/dist/actions/update-customer.cjs.map +1 -0
  500. package/dist/actions/update-customer.d.cts +9 -0
  501. package/dist/actions/update-customer.d.cts.map +1 -0
  502. package/dist/actions/update-customer.d.mts +9 -0
  503. package/dist/actions/update-customer.d.mts.map +1 -0
  504. package/dist/actions/update-customer.mjs +45 -0
  505. package/dist/actions/update-customer.mjs.map +1 -0
  506. package/dist/actions/update-feature.cjs +46 -0
  507. package/dist/actions/update-feature.cjs.map +1 -0
  508. package/dist/actions/update-feature.d.cts +9 -0
  509. package/dist/actions/update-feature.d.cts.map +1 -0
  510. package/dist/actions/update-feature.d.mts +9 -0
  511. package/dist/actions/update-feature.d.mts.map +1 -0
  512. package/dist/actions/update-feature.mjs +45 -0
  513. package/dist/actions/update-feature.mjs.map +1 -0
  514. package/dist/actions/update-tax-profiles.cjs +39 -0
  515. package/dist/actions/update-tax-profiles.cjs.map +1 -0
  516. package/dist/actions/update-tax-profiles.d.cts +9 -0
  517. package/dist/actions/update-tax-profiles.d.cts.map +1 -0
  518. package/dist/actions/update-tax-profiles.d.mts +9 -0
  519. package/dist/actions/update-tax-profiles.d.mts.map +1 -0
  520. package/dist/actions/update-tax-profiles.mjs +38 -0
  521. package/dist/actions/update-tax-profiles.mjs.map +1 -0
  522. package/dist/app.cjs +9 -0
  523. package/dist/app.cjs.map +1 -0
  524. package/dist/app.d.cts +5 -0
  525. package/dist/app.d.cts.map +1 -0
  526. package/dist/app.d.mts +5 -0
  527. package/dist/app.d.mts.map +1 -0
  528. package/dist/app.mjs +10 -0
  529. package/dist/app.mjs.map +1 -0
  530. package/dist/catalog.cjs +15 -0
  531. package/dist/catalog.cjs.map +1 -0
  532. package/dist/catalog.d.cts +14 -0
  533. package/dist/catalog.d.cts.map +1 -0
  534. package/dist/catalog.d.mts +14 -0
  535. package/dist/catalog.d.mts.map +1 -0
  536. package/dist/catalog.mjs +15 -0
  537. package/dist/catalog.mjs.map +1 -0
  538. package/dist/execute.cjs +18 -0
  539. package/dist/execute.cjs.map +1 -0
  540. package/dist/execute.mjs +18 -0
  541. package/dist/execute.mjs.map +1 -0
  542. package/dist/index.cjs +134 -0
  543. package/dist/index.d.cts +67 -0
  544. package/dist/index.d.mts +67 -0
  545. package/dist/index.mjs +68 -0
  546. package/package.json +49 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-discount.d.cts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGoB;AAAA,cAShD,yBAAA,EAA2B,CAAA,CAAE,UAgBqC;AAAA,cAElE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-discount.d.ts
4
+ declare const ProabonoGetDiscountInput: z.ZodTypeAny;
5
+ declare const ProabonoGetDiscountOutput: z.ZodTypeAny;
6
+ declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetDiscount };
9
+ //# sourceMappingURL=get-discount.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-discount.d.mts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGoB;AAAA,cAShD,yBAAA,EAA2B,CAAA,CAAE,UAgBqC;AAAA,cAElE,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,55 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-discount.ts
4
+ const ProabonoGetDiscountInput = z.object({
5
+ Id: z.number().int().describe("The discount ID to retrieve"),
6
+ IdBusiness: z.number().int().describe("Your business ID")
7
+ }).describe("Request model for retrieving a discount by ID.");
8
+ const ProabonoGetDiscount_LinkSchema = z.object({
9
+ rel: z.string().describe("Relation type of the link").nullable().optional(),
10
+ href: z.string().describe("URL of the linked resource").nullable().optional()
11
+ }).describe("HATEOAS link.");
12
+ const ProabonoGetDiscount_DiscountTypeOffSchema = z.enum(["Flat", "PerTenThousand"]).describe("Type of discount.");
13
+ const ProabonoGetDiscount_StateLifeCycleSchema = z.enum([
14
+ "Ok",
15
+ "ToModerate",
16
+ "DisabledUser",
17
+ "DisabledSystem",
18
+ "DisabledModeration",
19
+ "Deleted"
20
+ ]).describe("Lifecycle state of the discount.");
21
+ const ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([
22
+ "UpfrontFee",
23
+ "FlatFee",
24
+ "FeatureFee",
25
+ "AllRecurring",
26
+ "All"
27
+ ]).describe("Target fees for the discount.");
28
+ const ProabonoGetDiscount_DiscountStateSchema = z.enum(["Draft", "Enabled"]).describe("Functional state of the discount.");
29
+ const proabonoGetDiscount = action("PROABONO_GET_DISCOUNT", {
30
+ slug: "proabono-get-discount",
31
+ name: "Get Discount",
32
+ description: "Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.",
33
+ input: ProabonoGetDiscountInput,
34
+ output: z.object({
35
+ Id: z.number().int().describe("Unique identifier of the discount").nullable().optional(),
36
+ Name: z.string().describe("Display name of the discount").nullable().optional(),
37
+ Links: z.array(ProabonoGetDiscount_LinkSchema).describe("HATEOAS links including self reference").nullable().optional(),
38
+ TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),
39
+ AmountOff: z.number().int().describe("Discount amount in cents or per ten thousand").nullable().optional(),
40
+ IdSegment: z.number().int().describe("Associated segment identifier").nullable().optional(),
41
+ StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),
42
+ TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),
43
+ DateUpdate: z.string().describe("Last modification timestamp").nullable().optional(),
44
+ IdBusiness: z.number().int().describe("Business identifier").nullable().optional(),
45
+ DateCreation: z.string().describe("Creation timestamp").nullable().optional(),
46
+ IdUserUpdate: z.number().int().describe("ID of user who last modified the discount").nullable().optional(),
47
+ StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),
48
+ IdUserCreation: z.number().int().describe("ID of user who created the discount").nullable().optional(),
49
+ ReferenceDiscount: z.string().describe("Shared reference key with external systems").nullable().optional()
50
+ }).describe("Response model for a discount retrieved from the Backoffice API.")
51
+ });
52
+ //#endregion
53
+ export { proabonoGetDiscount };
54
+
55
+ //# sourceMappingURL=get-discount.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-discount.mjs","names":[],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The discount ID to retrieve\"),\n IdBusiness: z.number().int().describe(\"Your business ID\"),\n}).describe(\"Request model for retrieving a discount by ID.\");\nconst ProabonoGetDiscount_LinkSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relation type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the linked resource\").nullable().optional(),\n}).describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema: z.ZodTypeAny = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema: z.ZodTypeAny = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema: z.ZodTypeAny = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema: z.ZodTypeAny = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Unique identifier of the discount\").nullable().optional(),\n Name: z.string().describe(\"Display name of the discount\").nullable().optional(),\n Links: z.array(ProabonoGetDiscount_LinkSchema).describe(\"HATEOAS links including self reference\").nullable().optional(),\n TypeOff: ProabonoGetDiscount_DiscountTypeOffSchema.nullable().optional(),\n AmountOff: z.number().int().describe(\"Discount amount in cents or per ten thousand\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n StateLife: ProabonoGetDiscount_StateLifeCycleSchema.nullable().optional(),\n TargetFee: ProabonoGetDiscount_DiscountTargetFeeSchema.nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"ID of user who last modified the discount\").nullable().optional(),\n StateDiscount: ProabonoGetDiscount_DiscountStateSchema.nullable().optional(),\n IdUserCreation: z.number().int().describe(\"ID of user who created the discount\").nullable().optional(),\n ReferenceDiscount: z.string().describe(\"Shared reference key with external systems\").nullable().optional(),\n}).describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount = action(\"PROABONO_GET_DISCOUNT\", {\n slug: \"proabono-get-discount\",\n name: \"Get Discount\",\n description: \"Tool to retrieve a discount by ID via the Backoffice API. Use when you need to fetch details of a specific discount including its amount, type, target fees, and state.\",\n input: ProabonoGetDiscountInput,\n output: ProabonoGetDiscountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAA+C,EAAE,OAAO;CAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,eAAe;AAC3B,MAAM,4CAA0D,EAAE,KAAK,CAAC,QAAQ,gBAAgB,CAAC,CAAC,CAAC,SAAS,mBAAmB;AAC/H,MAAM,2CAAyD,EAAE,KAAK;CAAC;CAAM;CAAc;CAAgB;CAAkB;CAAsB;AAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC1M,MAAM,8CAA4D,EAAE,KAAK;CAAC;CAAc;CAAW;CAAc;CAAgB;AAAK,CAAC,CAAC,CAAC,SAAS,+BAA+B;AACjL,MAAM,0CAAwD,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAmBvI,MA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,kEAOF;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-feature.ts
4
+ const ProabonoGetFeatureInput = zod.z.object({
5
+ id: zod.z.number().int().describe("ID of the feature to retrieve"),
6
+ id_business: zod.z.number().int().describe("Optional business identifier filter").optional()
7
+ }).describe("Request model for retrieving a feature by ID.");
8
+ const ProabonoGetFeatureOutput = zod.z.object({
9
+ Id: zod.z.number().int().describe("ID of the Feature Object"),
10
+ Name: zod.z.string().describe("Name of the Feature").nullable().optional(),
11
+ Links: zod.z.array(zod.z.object({})).describe("Collection of HATEOAS links for related resources").nullable().optional(),
12
+ Order: zod.z.number().int().describe("Define the position of the Feature among all Features when displayed").nullable().optional(),
13
+ IdSegment: zod.z.number().int().describe("Associated segment identifier").nullable().optional(),
14
+ IsVisible: zod.z.boolean().describe("Visibility of the Feature in offers and hosted pages").nullable().optional(),
15
+ StateLife: zod.z.string().describe("State of the Feature").nullable().optional(),
16
+ DateUpdate: zod.z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
17
+ IdBusiness: zod.z.number().int().describe("Associated business identifier").nullable().optional(),
18
+ TypeFeature: zod.z.string().describe("Type of the Feature (OnOff, Limitation, Consumption)").nullable().optional(),
19
+ DateCreation: zod.z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
20
+ IdUserUpdate: zod.z.number().int().describe("User ID who last updated the feature").nullable().optional(),
21
+ IdUserCreation: zod.z.number().int().describe("User ID who created the feature").nullable().optional(),
22
+ ReferenceFeature: zod.z.string().describe("Shared Key of the Feature between ProAbono and your application").nullable().optional()
23
+ }).describe("Response model for a retrieved feature.");
24
+ const proabonoGetFeature = require_action.action("PROABONO_GET_FEATURE", {
25
+ slug: "proabono-get-feature",
26
+ name: "Get Feature by ID",
27
+ description: "Tool to retrieve a feature by ID from ProAbono Backoffice API. Use when you need to fetch details about a specific feature.",
28
+ input: ProabonoGetFeatureInput,
29
+ output: ProabonoGetFeatureOutput
30
+ });
31
+ //#endregion
32
+ exports.proabonoGetFeature = proabonoGetFeature;
33
+
34
+ //# sourceMappingURL=get-feature.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-feature.cjs","names":["z","action"],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetFeatureInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the feature to retrieve\"),\n id_business: z.number().int().describe(\"Optional business identifier filter\").optional(),\n}).describe(\"Request model for retrieving a feature by ID.\");\nexport const ProabonoGetFeatureOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"ID of the Feature Object\"),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.object({})).describe(\"Collection of HATEOAS links for related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Define the position of the Feature among all Features when displayed\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility of the Feature in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"State of the Feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n TypeFeature: z.string().describe(\"Type of the Feature (OnOff, Limitation, Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last updated the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared Key of the Feature between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a retrieved feature.\");\n\nexport const proabonoGetFeature = action(\"PROABONO_GET_FEATURE\", {\n slug: \"proabono-get-feature\",\n name: \"Get Feature by ID\",\n description: \"Tool to retrieve a feature by ID from ProAbono Backoffice API. Use when you need to fetch details about a specific feature.\",\n input: ProabonoGetFeatureInput,\n output: ProabonoGetFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-feature.d.ts
4
+ declare const ProabonoGetFeatureInput: z.ZodTypeAny;
5
+ declare const ProabonoGetFeatureOutput: z.ZodTypeAny;
6
+ declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetFeature };
9
+ //# sourceMappingURL=get-feature.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-feature.d.cts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoB;AAAA,cAC/C,wBAAA,EAA0B,CAAA,CAAE,UAea;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-feature.d.ts
4
+ declare const ProabonoGetFeatureInput: z.ZodTypeAny;
5
+ declare const ProabonoGetFeatureOutput: z.ZodTypeAny;
6
+ declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetFeature };
9
+ //# sourceMappingURL=get-feature.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-feature.d.mts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGoB;AAAA,cAC/C,wBAAA,EAA0B,CAAA,CAAE,UAea;AAAA,cAEzC,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const proabonoGetFeature = action("PROABONO_GET_FEATURE", {
4
+ slug: "proabono-get-feature",
5
+ name: "Get Feature by ID",
6
+ description: "Tool to retrieve a feature by ID from ProAbono Backoffice API. Use when you need to fetch details about a specific feature.",
7
+ input: z.object({
8
+ id: z.number().int().describe("ID of the feature to retrieve"),
9
+ id_business: z.number().int().describe("Optional business identifier filter").optional()
10
+ }).describe("Request model for retrieving a feature by ID."),
11
+ output: z.object({
12
+ Id: z.number().int().describe("ID of the Feature Object"),
13
+ Name: z.string().describe("Name of the Feature").nullable().optional(),
14
+ Links: z.array(z.object({})).describe("Collection of HATEOAS links for related resources").nullable().optional(),
15
+ Order: z.number().int().describe("Define the position of the Feature among all Features when displayed").nullable().optional(),
16
+ IdSegment: z.number().int().describe("Associated segment identifier").nullable().optional(),
17
+ IsVisible: z.boolean().describe("Visibility of the Feature in offers and hosted pages").nullable().optional(),
18
+ StateLife: z.string().describe("State of the Feature").nullable().optional(),
19
+ DateUpdate: z.string().describe("Last modification timestamp in ISO 8601 format").nullable().optional(),
20
+ IdBusiness: z.number().int().describe("Associated business identifier").nullable().optional(),
21
+ TypeFeature: z.string().describe("Type of the Feature (OnOff, Limitation, Consumption)").nullable().optional(),
22
+ DateCreation: z.string().describe("Creation timestamp in ISO 8601 format").nullable().optional(),
23
+ IdUserUpdate: z.number().int().describe("User ID who last updated the feature").nullable().optional(),
24
+ IdUserCreation: z.number().int().describe("User ID who created the feature").nullable().optional(),
25
+ ReferenceFeature: z.string().describe("Shared Key of the Feature between ProAbono and your application").nullable().optional()
26
+ }).describe("Response model for a retrieved feature.")
27
+ });
28
+ //#endregion
29
+ export { proabonoGetFeature };
30
+
31
+ //# sourceMappingURL=get-feature.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-feature.mjs","names":[],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetFeatureInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"ID of the feature to retrieve\"),\n id_business: z.number().int().describe(\"Optional business identifier filter\").optional(),\n}).describe(\"Request model for retrieving a feature by ID.\");\nexport const ProabonoGetFeatureOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"ID of the Feature Object\"),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.object({})).describe(\"Collection of HATEOAS links for related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Define the position of the Feature among all Features when displayed\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility of the Feature in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"State of the Feature\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n TypeFeature: z.string().describe(\"Type of the Feature (OnOff, Limitation, Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last updated the feature\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the feature\").nullable().optional(),\n ReferenceFeature: z.string().describe(\"Shared Key of the Feature between ProAbono and your application\").nullable().optional(),\n}).describe(\"Response model for a retrieved feature.\");\n\nexport const proabonoGetFeature = action(\"PROABONO_GET_FEATURE\", {\n slug: \"proabono-get-feature\",\n name: \"Get Feature by ID\",\n description: \"Tool to retrieve a feature by ID from ProAbono Backoffice API. Use when you need to fetch details about a specific feature.\",\n input: ProabonoGetFeatureInput,\n output: ProabonoGetFeatureOutput,\n});\n"],"mappings":";;AAyBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAzBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,+CAsBH;CACP,QAtBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAA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AC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,48 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-invoice.ts
4
+ const ProabonoGetInvoiceInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the invoice or credit note to retrieve.") }).describe("Request schema for retrieving a ProAbono invoice or credit note.");
5
+ const ProabonoGetInvoice_GetInvoiceResponseLinkSchema = zod.z.object({
6
+ rel: zod.z.string().describe("The relationship type of the link.").nullable().optional(),
7
+ href: zod.z.string().describe("The URL of the linked resource.").nullable().optional()
8
+ }).describe("Link object in the invoice response.");
9
+ const ProabonoGetInvoiceOutput = zod.z.object({
10
+ Id: zod.z.number().int().describe("The unique identifier of the invoice.").nullable().optional(),
11
+ Links: zod.z.array(ProabonoGetInvoice_GetInvoiceResponseLinkSchema).describe("Collection of related resource URIs and relationships.").nullable().optional(),
12
+ Status: zod.z.string().describe("The functional accounting state of the invoice (e.g., Draft, Due, Paid, Problem, Void, Uncollectible).").nullable().optional(),
13
+ DateDue: zod.z.string().describe("The due date for payment (ISO 8601 format).").nullable().optional(),
14
+ DateEnd: zod.z.string().describe("The end date of the billing period (ISO 8601 format).").nullable().optional(),
15
+ IdOffer: zod.z.number().int().describe("The offer identifier associated with the invoice.").nullable().optional(),
16
+ Currency: zod.z.string().describe("The currency code of the invoice (e.g., EUR, USD).").nullable().optional(),
17
+ Language: zod.z.string().describe("The language code of the invoice (e.g., en, fr).").nullable().optional(),
18
+ AmountTax: zod.z.number().int().describe("The tax amount (in cents).").nullable().optional(),
19
+ DateStart: zod.z.string().describe("The start date of the billing period (ISO 8601 format).").nullable().optional(),
20
+ IdSegment: zod.z.number().int().describe("The segment identifier.").nullable().optional(),
21
+ DateUpdate: zod.z.string().describe("The last update date of the invoice (ISO 8601 format).").nullable().optional(),
22
+ IdBusiness: zod.z.number().int().describe("The business identifier associated with the invoice.").nullable().optional(),
23
+ IdCustomer: zod.z.number().int().describe("The customer identifier associated with the invoice.").nullable().optional(),
24
+ AmountTotal: zod.z.number().int().describe("The total amount including taxes (in cents).").nullable().optional(),
25
+ TypeInvoice: zod.z.string().describe("The type of invoice (e.g., Debit, Credit).").nullable().optional(),
26
+ TypePayment: zod.z.string().describe("The payment type used for the invoice.").nullable().optional(),
27
+ DateCreation: zod.z.string().describe("The creation date of the invoice (ISO 8601 format).").nullable().optional(),
28
+ StateInvoice: zod.z.string().describe("The technical processing state of the invoice during its lifecycle.").nullable().optional(),
29
+ AmountBalance: zod.z.number().int().describe("The remaining balance amount (in cents).").nullable().optional(),
30
+ AmountSubtotal: zod.z.number().int().describe("The subtotal amount without taxes (in cents).").nullable().optional(),
31
+ AmountTotalDue: zod.z.number().int().describe("The total amount due including taxes (in cents).").nullable().optional(),
32
+ IdSubscription: zod.z.number().int().describe("The subscription identifier associated with the invoice.").nullable().optional(),
33
+ TitleLocalized: zod.z.string().describe("The localized title of the invoice.").nullable().optional(),
34
+ IdCustomerBuyer: zod.z.number().int().describe("The buyer customer identifier.").nullable().optional(),
35
+ ReferenceInvoice: zod.z.string().describe("The invoice reference number.").nullable().optional(),
36
+ DescriptionLocalized: zod.z.string().describe("The localized description of the invoice.").nullable().optional()
37
+ }).describe("Response schema for retrieving a ProAbono invoice or credit note.");
38
+ const proabonoGetInvoice = require_action.action("PROABONO_GET_INVOICE", {
39
+ slug: "proabono-get-invoice",
40
+ name: "Get Invoice",
41
+ description: "Tool to retrieve a specific invoice or credit note by ID from ProAbono. Use when you need to fetch detailed information about an invoice.",
42
+ input: ProabonoGetInvoiceInput,
43
+ output: ProabonoGetInvoiceOutput
44
+ });
45
+ //#endregion
46
+ exports.proabonoGetInvoice = proabonoGetInvoice;
47
+
48
+ //# sourceMappingURL=get-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the invoice or credit note to retrieve.\"),\n}).describe(\"Request schema for retrieving a ProAbono invoice or credit note.\");\nconst ProabonoGetInvoice_GetInvoiceResponseLinkSchema: 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}).describe(\"Link object in the invoice response.\");\nexport const ProabonoGetInvoiceOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The unique identifier of the invoice.\").nullable().optional(),\n Links: z.array(ProabonoGetInvoice_GetInvoiceResponseLinkSchema).describe(\"Collection of related resource URIs and relationships.\").nullable().optional(),\n Status: z.string().describe(\"The functional accounting state of the invoice (e.g., Draft, Due, Paid, Problem, Void, Uncollectible).\").nullable().optional(),\n DateDue: z.string().describe(\"The due date for payment (ISO 8601 format).\").nullable().optional(),\n DateEnd: z.string().describe(\"The end date of the billing period (ISO 8601 format).\").nullable().optional(),\n IdOffer: z.number().int().describe(\"The offer identifier associated with the invoice.\").nullable().optional(),\n Currency: z.string().describe(\"The currency code of the invoice (e.g., EUR, USD).\").nullable().optional(),\n Language: z.string().describe(\"The language code of the invoice (e.g., en, fr).\").nullable().optional(),\n AmountTax: z.number().int().describe(\"The tax amount (in cents).\").nullable().optional(),\n DateStart: z.string().describe(\"The start date of the billing period (ISO 8601 format).\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The segment identifier.\").nullable().optional(),\n DateUpdate: z.string().describe(\"The last update date of the invoice (ISO 8601 format).\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"The business identifier associated with the invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"The customer identifier associated with the invoice.\").nullable().optional(),\n AmountTotal: z.number().int().describe(\"The total amount including taxes (in cents).\").nullable().optional(),\n TypeInvoice: z.string().describe(\"The type of invoice (e.g., Debit, Credit).\").nullable().optional(),\n TypePayment: z.string().describe(\"The payment type used for the invoice.\").nullable().optional(),\n DateCreation: z.string().describe(\"The creation date of the invoice (ISO 8601 format).\").nullable().optional(),\n StateInvoice: z.string().describe(\"The technical processing state of the invoice during its lifecycle.\").nullable().optional(),\n AmountBalance: z.number().int().describe(\"The remaining balance amount (in cents).\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"The subtotal amount without taxes (in cents).\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"The total amount due including taxes (in cents).\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"The subscription identifier associated with the invoice.\").nullable().optional(),\n TitleLocalized: z.string().describe(\"The localized title of the invoice.\").nullable().optional(),\n IdCustomerBuyer: z.number().int().describe(\"The buyer customer identifier.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"The invoice reference number.\").nullable().optional(),\n DescriptionLocalized: z.string().describe(\"The localized description of the invoice.\").nullable().optional(),\n}).describe(\"Response schema for retrieving a ProAbono invoice or credit note.\");\n\nexport const proabonoGetInvoice = action(\"PROABONO_GET_INVOICE\", {\n slug: \"proabono-get-invoice\",\n name: \"Get Invoice\",\n description: \"Tool to retrieve a specific invoice or credit note by ID from ProAbono. Use when you need to fetch detailed information about an invoice.\",\n input: ProabonoGetInvoiceInput,\n output: ProabonoGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,s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1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const ProabonoGetInvoiceInput: z.ZodTypeAny;
5
+ declare const ProabonoGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const proabonoGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.cts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEuC;AAAA,cAKlE,wBAAA,EAA0B,CAAA,CAAE,UA4BuC;AAAA,cAEnE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-invoice.d.ts
4
+ declare const ProabonoGetInvoiceInput: z.ZodTypeAny;
5
+ declare const ProabonoGetInvoiceOutput: z.ZodTypeAny;
6
+ declare const proabonoGetInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetInvoice };
9
+ //# sourceMappingURL=get-invoice.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.d.mts","names":[],"sources":["../../src/actions/get-invoice.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEuC;AAAA,cAKlE,wBAAA,EAA0B,CAAA,CAAE,UA4BuC;AAAA,cAEnE,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-invoice.ts
4
+ const ProabonoGetInvoiceInput = z.object({ id: z.number().int().describe("The unique identifier of the invoice or credit note to retrieve.") }).describe("Request schema for retrieving a ProAbono invoice or credit note.");
5
+ const ProabonoGetInvoice_GetInvoiceResponseLinkSchema = z.object({
6
+ rel: z.string().describe("The relationship type of the link.").nullable().optional(),
7
+ href: z.string().describe("The URL of the linked resource.").nullable().optional()
8
+ }).describe("Link object in the invoice response.");
9
+ const proabonoGetInvoice = action("PROABONO_GET_INVOICE", {
10
+ slug: "proabono-get-invoice",
11
+ name: "Get Invoice",
12
+ description: "Tool to retrieve a specific invoice or credit note by ID from ProAbono. Use when you need to fetch detailed information about an invoice.",
13
+ input: ProabonoGetInvoiceInput,
14
+ output: z.object({
15
+ Id: z.number().int().describe("The unique identifier of the invoice.").nullable().optional(),
16
+ Links: z.array(ProabonoGetInvoice_GetInvoiceResponseLinkSchema).describe("Collection of related resource URIs and relationships.").nullable().optional(),
17
+ Status: z.string().describe("The functional accounting state of the invoice (e.g., Draft, Due, Paid, Problem, Void, Uncollectible).").nullable().optional(),
18
+ DateDue: z.string().describe("The due date for payment (ISO 8601 format).").nullable().optional(),
19
+ DateEnd: z.string().describe("The end date of the billing period (ISO 8601 format).").nullable().optional(),
20
+ IdOffer: z.number().int().describe("The offer identifier associated with the invoice.").nullable().optional(),
21
+ Currency: z.string().describe("The currency code of the invoice (e.g., EUR, USD).").nullable().optional(),
22
+ Language: z.string().describe("The language code of the invoice (e.g., en, fr).").nullable().optional(),
23
+ AmountTax: z.number().int().describe("The tax amount (in cents).").nullable().optional(),
24
+ DateStart: z.string().describe("The start date of the billing period (ISO 8601 format).").nullable().optional(),
25
+ IdSegment: z.number().int().describe("The segment identifier.").nullable().optional(),
26
+ DateUpdate: z.string().describe("The last update date of the invoice (ISO 8601 format).").nullable().optional(),
27
+ IdBusiness: z.number().int().describe("The business identifier associated with the invoice.").nullable().optional(),
28
+ IdCustomer: z.number().int().describe("The customer identifier associated with the invoice.").nullable().optional(),
29
+ AmountTotal: z.number().int().describe("The total amount including taxes (in cents).").nullable().optional(),
30
+ TypeInvoice: z.string().describe("The type of invoice (e.g., Debit, Credit).").nullable().optional(),
31
+ TypePayment: z.string().describe("The payment type used for the invoice.").nullable().optional(),
32
+ DateCreation: z.string().describe("The creation date of the invoice (ISO 8601 format).").nullable().optional(),
33
+ StateInvoice: z.string().describe("The technical processing state of the invoice during its lifecycle.").nullable().optional(),
34
+ AmountBalance: z.number().int().describe("The remaining balance amount (in cents).").nullable().optional(),
35
+ AmountSubtotal: z.number().int().describe("The subtotal amount without taxes (in cents).").nullable().optional(),
36
+ AmountTotalDue: z.number().int().describe("The total amount due including taxes (in cents).").nullable().optional(),
37
+ IdSubscription: z.number().int().describe("The subscription identifier associated with the invoice.").nullable().optional(),
38
+ TitleLocalized: z.string().describe("The localized title of the invoice.").nullable().optional(),
39
+ IdCustomerBuyer: z.number().int().describe("The buyer customer identifier.").nullable().optional(),
40
+ ReferenceInvoice: z.string().describe("The invoice reference number.").nullable().optional(),
41
+ DescriptionLocalized: z.string().describe("The localized description of the invoice.").nullable().optional()
42
+ }).describe("Response schema for retrieving a ProAbono invoice or credit note.")
43
+ });
44
+ //#endregion
45
+ export { proabonoGetInvoice };
46
+
47
+ //# sourceMappingURL=get-invoice.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetInvoiceInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the invoice or credit note to retrieve.\"),\n}).describe(\"Request schema for retrieving a ProAbono invoice or credit note.\");\nconst ProabonoGetInvoice_GetInvoiceResponseLinkSchema: 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}).describe(\"Link object in the invoice response.\");\nexport const ProabonoGetInvoiceOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"The unique identifier of the invoice.\").nullable().optional(),\n Links: z.array(ProabonoGetInvoice_GetInvoiceResponseLinkSchema).describe(\"Collection of related resource URIs and relationships.\").nullable().optional(),\n Status: z.string().describe(\"The functional accounting state of the invoice (e.g., Draft, Due, Paid, Problem, Void, Uncollectible).\").nullable().optional(),\n DateDue: z.string().describe(\"The due date for payment (ISO 8601 format).\").nullable().optional(),\n DateEnd: z.string().describe(\"The end date of the billing period (ISO 8601 format).\").nullable().optional(),\n IdOffer: z.number().int().describe(\"The offer identifier associated with the invoice.\").nullable().optional(),\n Currency: z.string().describe(\"The currency code of the invoice (e.g., EUR, USD).\").nullable().optional(),\n Language: z.string().describe(\"The language code of the invoice (e.g., en, fr).\").nullable().optional(),\n AmountTax: z.number().int().describe(\"The tax amount (in cents).\").nullable().optional(),\n DateStart: z.string().describe(\"The start date of the billing period (ISO 8601 format).\").nullable().optional(),\n IdSegment: z.number().int().describe(\"The segment identifier.\").nullable().optional(),\n DateUpdate: z.string().describe(\"The last update date of the invoice (ISO 8601 format).\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"The business identifier associated with the invoice.\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"The customer identifier associated with the invoice.\").nullable().optional(),\n AmountTotal: z.number().int().describe(\"The total amount including taxes (in cents).\").nullable().optional(),\n TypeInvoice: z.string().describe(\"The type of invoice (e.g., Debit, Credit).\").nullable().optional(),\n TypePayment: z.string().describe(\"The payment type used for the invoice.\").nullable().optional(),\n DateCreation: z.string().describe(\"The creation date of the invoice (ISO 8601 format).\").nullable().optional(),\n StateInvoice: z.string().describe(\"The technical processing state of the invoice during its lifecycle.\").nullable().optional(),\n AmountBalance: z.number().int().describe(\"The remaining balance amount (in cents).\").nullable().optional(),\n AmountSubtotal: z.number().int().describe(\"The subtotal amount without taxes (in cents).\").nullable().optional(),\n AmountTotalDue: z.number().int().describe(\"The total amount due including taxes (in cents).\").nullable().optional(),\n IdSubscription: z.number().int().describe(\"The subscription identifier associated with the invoice.\").nullable().optional(),\n TitleLocalized: z.string().describe(\"The localized title of the invoice.\").nullable().optional(),\n IdCustomerBuyer: z.number().int().describe(\"The buyer customer identifier.\").nullable().optional(),\n ReferenceInvoice: z.string().describe(\"The invoice reference number.\").nullable().optional(),\n DescriptionLocalized: z.string().describe(\"The localized description of the invoice.\").nullable().optional(),\n}).describe(\"Response schema for retrieving a ProAbono invoice or credit note.\");\n\nexport const proabonoGetInvoice = action(\"PROABONO_GET_INVOICE\", {\n slug: \"proabono-get-invoice\",\n name: \"Get Invoice\",\n description: \"Tool to retrieve a specific invoice or credit note by ID from ProAbono. Use when you need to fetch detailed information about an invoice.\",\n input: ProabonoGetInvoiceInput,\n output: ProabonoGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
@@ -0,0 +1,54 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-offer.ts
4
+ const ProabonoGetOfferInput = zod.z.object({
5
+ id: zod.z.number().int().describe("The unique identifier of the offer to retrieve"),
6
+ id_business: zod.z.number().int().describe("The business identifier. Required to scope the request to a specific business")
7
+ }).describe("Request model for retrieving an offer by ID from ProAbono.");
8
+ const ProabonoGetOffer_LinkObjectSchema = zod.z.object({
9
+ rel: zod.z.string().describe("Relationship type of the link (e.g., 'self', 'insite-subscribe')").nullable().optional(),
10
+ href: zod.z.string().describe("URL of the related resource").nullable().optional()
11
+ }).describe("Represents a HATEOAS link to a related resource.");
12
+ const ProabonoGetOfferOutput = zod.z.object({
13
+ Id: zod.z.number().int().describe("Offer identifier").nullable().optional(),
14
+ Name: zod.z.string().describe("Name of the offer").nullable().optional(),
15
+ Links: zod.z.array(ProabonoGetOffer_LinkObjectSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
16
+ Order: zod.z.number().int().describe("Display position/order among other offerings").nullable().optional(),
17
+ Pricing: zod.z.number().int().describe("Base pricing amount in cents").nullable().optional(),
18
+ Currency: zod.z.string().describe("Currency code for the offer (e.g., 'USD', 'EUR')").nullable().optional(),
19
+ IsPriced: zod.z.boolean().describe("Whether the offer has pricing information").nullable().optional(),
20
+ IdSegment: zod.z.number().int().describe("Segment identifier associated with this offer").nullable().optional(),
21
+ IsVisible: zod.z.boolean().describe("Whether the offer is visible in hosted pages").nullable().optional(),
22
+ StateLife: zod.z.string().describe("Current state of the offer in its lifecycle").nullable().optional(),
23
+ UnitTrial: zod.z.string().describe("Time unit for measuring the trial duration (e.g., days, weeks)").nullable().optional(),
24
+ DateUpdate: zod.z.string().describe("Last modification date and time (ISO format)").nullable().optional(),
25
+ AmountTrial: zod.z.number().int().describe("Cost of the trial period in cents").nullable().optional(),
26
+ DateCreation: zod.z.string().describe("Creation date and time (ISO format)").nullable().optional(),
27
+ IdUserUpdate: zod.z.number().int().describe("Identifier of the user who last updated the offer").nullable().optional(),
28
+ PricingTotal: zod.z.number().int().describe("Total pricing amount in cents including taxes").nullable().optional(),
29
+ AmountUpFront: zod.z.number().int().describe("Setup or initial fee in cents").nullable().optional(),
30
+ DurationTrial: zod.z.number().int().describe("Duration of the trial period").nullable().optional(),
31
+ IdUserCreation: zod.z.number().int().describe("Identifier of the user who created the offer").nullable().optional(),
32
+ ReferenceOffer: zod.z.string().describe("Shared key between ProAbono and your application for reference").nullable().optional(),
33
+ TitleLocalized: zod.z.string().describe("Localized display title of the offer").nullable().optional(),
34
+ UnitRecurrence: zod.z.string().describe("Time unit for measuring recurrence period (e.g., month, year)").nullable().optional(),
35
+ PricingSubtotal: zod.z.number().int().describe("Subtotal pricing amount in cents before taxes").nullable().optional(),
36
+ AmountRecurrence: zod.z.number().int().describe("Recurring charge amount in cents").nullable().optional(),
37
+ CountRecurrences: zod.z.number().int().describe("Total number of recurrence periods").nullable().optional(),
38
+ PricingLocalized: zod.z.string().describe("Localized pricing display string with HTML formatting").nullable().optional(),
39
+ ReferenceSegment: zod.z.string().describe("Reference key of the segment this offer belongs to").nullable().optional(),
40
+ AmountTermination: zod.z.number().int().describe("Fee charged upon termination in cents").nullable().optional(),
41
+ DurationRecurrence: zod.z.number().int().describe("Duration of each recurrence period").nullable().optional(),
42
+ CountMinRecurrences: zod.z.number().int().describe("Minimum number of committed recurrence periods").nullable().optional()
43
+ }).describe("Response model for a ProAbono offer retrieved by ID.");
44
+ const proabonoGetOffer = require_action.action("PROABONO_GET_OFFER", {
45
+ slug: "proabono-get-offer",
46
+ name: "Get Offer by ID",
47
+ description: "Tool to retrieve a single offer by its ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific offer.",
48
+ input: ProabonoGetOfferInput,
49
+ output: ProabonoGetOfferOutput
50
+ });
51
+ //#endregion
52
+ exports.proabonoGetOffer = proabonoGetOffer;
53
+
54
+ //# sourceMappingURL=get-offer.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offer.cjs","names":["z","action"],"sources":["../../src/actions/get-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetOfferInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the offer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Required to scope the request to a specific business\"),\n}).describe(\"Request model for retrieving an offer by ID from ProAbono.\");\nconst ProabonoGetOffer_LinkObjectSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'insite-subscribe')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).describe(\"Represents a HATEOAS link to a related resource.\");\nexport const ProabonoGetOfferOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Offer identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the offer\").nullable().optional(),\n Links: z.array(ProabonoGetOffer_LinkObjectSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offerings\").nullable().optional(),\n Pricing: z.number().int().describe(\"Base pricing amount in cents\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the offer (e.g., 'USD', 'EUR')\").nullable().optional(),\n IsPriced: z.boolean().describe(\"Whether the offer has pricing information\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier associated with this offer\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the offer in its lifecycle\").nullable().optional(),\n UnitTrial: z.string().describe(\"Time unit for measuring the trial duration (e.g., days, weeks)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date and time (ISO format)\").nullable().optional(),\n AmountTrial: z.number().int().describe(\"Cost of the trial period in cents\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date and time (ISO format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"Identifier of the user who last updated the offer\").nullable().optional(),\n PricingTotal: z.number().int().describe(\"Total pricing amount in cents including taxes\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup or initial fee in cents\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Duration of the trial period\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"Identifier of the user who created the offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key between ProAbono and your application for reference\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized display title of the offer\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Time unit for measuring recurrence period (e.g., month, year)\").nullable().optional(),\n PricingSubtotal: z.number().int().describe(\"Subtotal pricing amount in cents before taxes\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring charge amount in cents\").nullable().optional(),\n CountRecurrences: z.number().int().describe(\"Total number of recurrence periods\").nullable().optional(),\n PricingLocalized: z.string().describe(\"Localized pricing display string with HTML formatting\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference key of the segment this offer belongs to\").nullable().optional(),\n AmountTermination: z.number().int().describe(\"Fee charged upon termination in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Duration of each recurrence period\").nullable().optional(),\n CountMinRecurrences: z.number().int().describe(\"Minimum number of committed recurrence periods\").nullable().optional(),\n}).describe(\"Response model for a ProAbono offer retrieved by ID.\");\n\nexport const proabonoGetOffer = action(\"PROABONO_GET_OFFER\", {\n slug: \"proabono-get-offer\",\n name: \"Get Offer by ID\",\n description: \"Tool to retrieve a single offer by its ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific offer.\",\n input: ProabonoGetOfferInput,\n output: ProabonoGetOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;AACxH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,g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AAC,SAAS;CACnH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-offer.d.ts
4
+ declare const ProabonoGetOfferInput: z.ZodTypeAny;
5
+ declare const ProabonoGetOfferOutput: z.ZodTypeAny;
6
+ declare const proabonoGetOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetOffer };
9
+ //# sourceMappingURL=get-offer.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offer.d.cts","names":[],"sources":["../../src/actions/get-offer.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGmC;AAAA,cAK5D,sBAAA,EAAwB,CAAA,CAAE,UA+B4B;AAAA,cAEtD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-offer.d.ts
4
+ declare const ProabonoGetOfferInput: z.ZodTypeAny;
5
+ declare const ProabonoGetOfferOutput: z.ZodTypeAny;
6
+ declare const proabonoGetOffer: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { proabonoGetOffer };
9
+ //# sourceMappingURL=get-offer.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offer.d.mts","names":[],"sources":["../../src/actions/get-offer.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAGmC;AAAA,cAK5D,sBAAA,EAAwB,CAAA,CAAE,UA+B4B;AAAA,cAEtD,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,53 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-offer.ts
4
+ const ProabonoGetOfferInput = z.object({
5
+ id: z.number().int().describe("The unique identifier of the offer to retrieve"),
6
+ id_business: z.number().int().describe("The business identifier. Required to scope the request to a specific business")
7
+ }).describe("Request model for retrieving an offer by ID from ProAbono.");
8
+ const ProabonoGetOffer_LinkObjectSchema = z.object({
9
+ rel: z.string().describe("Relationship type of the link (e.g., 'self', 'insite-subscribe')").nullable().optional(),
10
+ href: z.string().describe("URL of the related resource").nullable().optional()
11
+ }).describe("Represents a HATEOAS link to a related resource.");
12
+ const proabonoGetOffer = action("PROABONO_GET_OFFER", {
13
+ slug: "proabono-get-offer",
14
+ name: "Get Offer by ID",
15
+ description: "Tool to retrieve a single offer by its ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific offer.",
16
+ input: ProabonoGetOfferInput,
17
+ output: z.object({
18
+ Id: z.number().int().describe("Offer identifier").nullable().optional(),
19
+ Name: z.string().describe("Name of the offer").nullable().optional(),
20
+ Links: z.array(ProabonoGetOffer_LinkObjectSchema).describe("HATEOAS navigation links for related resources").nullable().optional(),
21
+ Order: z.number().int().describe("Display position/order among other offerings").nullable().optional(),
22
+ Pricing: z.number().int().describe("Base pricing amount in cents").nullable().optional(),
23
+ Currency: z.string().describe("Currency code for the offer (e.g., 'USD', 'EUR')").nullable().optional(),
24
+ IsPriced: z.boolean().describe("Whether the offer has pricing information").nullable().optional(),
25
+ IdSegment: z.number().int().describe("Segment identifier associated with this offer").nullable().optional(),
26
+ IsVisible: z.boolean().describe("Whether the offer is visible in hosted pages").nullable().optional(),
27
+ StateLife: z.string().describe("Current state of the offer in its lifecycle").nullable().optional(),
28
+ UnitTrial: z.string().describe("Time unit for measuring the trial duration (e.g., days, weeks)").nullable().optional(),
29
+ DateUpdate: z.string().describe("Last modification date and time (ISO format)").nullable().optional(),
30
+ AmountTrial: z.number().int().describe("Cost of the trial period in cents").nullable().optional(),
31
+ DateCreation: z.string().describe("Creation date and time (ISO format)").nullable().optional(),
32
+ IdUserUpdate: z.number().int().describe("Identifier of the user who last updated the offer").nullable().optional(),
33
+ PricingTotal: z.number().int().describe("Total pricing amount in cents including taxes").nullable().optional(),
34
+ AmountUpFront: z.number().int().describe("Setup or initial fee in cents").nullable().optional(),
35
+ DurationTrial: z.number().int().describe("Duration of the trial period").nullable().optional(),
36
+ IdUserCreation: z.number().int().describe("Identifier of the user who created the offer").nullable().optional(),
37
+ ReferenceOffer: z.string().describe("Shared key between ProAbono and your application for reference").nullable().optional(),
38
+ TitleLocalized: z.string().describe("Localized display title of the offer").nullable().optional(),
39
+ UnitRecurrence: z.string().describe("Time unit for measuring recurrence period (e.g., month, year)").nullable().optional(),
40
+ PricingSubtotal: z.number().int().describe("Subtotal pricing amount in cents before taxes").nullable().optional(),
41
+ AmountRecurrence: z.number().int().describe("Recurring charge amount in cents").nullable().optional(),
42
+ CountRecurrences: z.number().int().describe("Total number of recurrence periods").nullable().optional(),
43
+ PricingLocalized: z.string().describe("Localized pricing display string with HTML formatting").nullable().optional(),
44
+ ReferenceSegment: z.string().describe("Reference key of the segment this offer belongs to").nullable().optional(),
45
+ AmountTermination: z.number().int().describe("Fee charged upon termination in cents").nullable().optional(),
46
+ DurationRecurrence: z.number().int().describe("Duration of each recurrence period").nullable().optional(),
47
+ CountMinRecurrences: z.number().int().describe("Minimum number of committed recurrence periods").nullable().optional()
48
+ }).describe("Response model for a ProAbono offer retrieved by ID.")
49
+ });
50
+ //#endregion
51
+ export { proabonoGetOffer };
52
+
53
+ //# sourceMappingURL=get-offer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-offer.mjs","names":[],"sources":["../../src/actions/get-offer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetOfferInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the offer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Required to scope the request to a specific business\"),\n}).describe(\"Request model for retrieving an offer by ID from ProAbono.\");\nconst ProabonoGetOffer_LinkObjectSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'insite-subscribe')\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n}).describe(\"Represents a HATEOAS link to a related resource.\");\nexport const ProabonoGetOfferOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Offer identifier\").nullable().optional(),\n Name: z.string().describe(\"Name of the offer\").nullable().optional(),\n Links: z.array(ProabonoGetOffer_LinkObjectSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n Order: z.number().int().describe(\"Display position/order among other offerings\").nullable().optional(),\n Pricing: z.number().int().describe(\"Base pricing amount in cents\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the offer (e.g., 'USD', 'EUR')\").nullable().optional(),\n IsPriced: z.boolean().describe(\"Whether the offer has pricing information\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment identifier associated with this offer\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Whether the offer is visible in hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Current state of the offer in its lifecycle\").nullable().optional(),\n UnitTrial: z.string().describe(\"Time unit for measuring the trial duration (e.g., days, weeks)\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification date and time (ISO format)\").nullable().optional(),\n AmountTrial: z.number().int().describe(\"Cost of the trial period in cents\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation date and time (ISO format)\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"Identifier of the user who last updated the offer\").nullable().optional(),\n PricingTotal: z.number().int().describe(\"Total pricing amount in cents including taxes\").nullable().optional(),\n AmountUpFront: z.number().int().describe(\"Setup or initial fee in cents\").nullable().optional(),\n DurationTrial: z.number().int().describe(\"Duration of the trial period\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"Identifier of the user who created the offer\").nullable().optional(),\n ReferenceOffer: z.string().describe(\"Shared key between ProAbono and your application for reference\").nullable().optional(),\n TitleLocalized: z.string().describe(\"Localized display title of the offer\").nullable().optional(),\n UnitRecurrence: z.string().describe(\"Time unit for measuring recurrence period (e.g., month, year)\").nullable().optional(),\n PricingSubtotal: z.number().int().describe(\"Subtotal pricing amount in cents before taxes\").nullable().optional(),\n AmountRecurrence: z.number().int().describe(\"Recurring charge amount in cents\").nullable().optional(),\n CountRecurrences: z.number().int().describe(\"Total number of recurrence periods\").nullable().optional(),\n PricingLocalized: z.string().describe(\"Localized pricing display string with HTML formatting\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference key of the segment this offer belongs to\").nullable().optional(),\n AmountTermination: z.number().int().describe(\"Fee charged upon termination in cents\").nullable().optional(),\n DurationRecurrence: z.number().int().describe(\"Duration of each recurrence period\").nullable().optional(),\n CountMinRecurrences: z.number().int().describe(\"Minimum number of committed recurrence periods\").nullable().optional(),\n}).describe(\"Response model for a ProAbono offer retrieved by ID.\");\n\nexport const proabonoGetOffer = action(\"PROABONO_GET_OFFER\", {\n slug: \"proabono-get-offer\",\n name: \"Get Offer by ID\",\n description: \"Tool to retrieve a single offer by its ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific offer.\",\n input: ProabonoGetOfferInput,\n output: ProabonoGetOfferOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+EAA+E;AACxH,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,oCAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAkC9D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtCkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,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