@keystrokehq/proabono 0.1.5 → 0.1.6

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 (525) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/anonymize-customer.cjs +1 -0
  4. package/dist/actions/anonymize-customer.cjs.map +1 -1
  5. package/dist/actions/anonymize-customer.d.cts +3 -21
  6. package/dist/actions/anonymize-customer.d.cts.map +1 -1
  7. package/dist/actions/anonymize-customer.d.mts +3 -21
  8. package/dist/actions/anonymize-customer.d.mts.map +1 -1
  9. package/dist/actions/anonymize-customer.mjs +1 -0
  10. package/dist/actions/anonymize-customer.mjs.map +1 -1
  11. package/dist/actions/bill-customer.cjs +1 -0
  12. package/dist/actions/bill-customer.cjs.map +1 -1
  13. package/dist/actions/bill-customer.d.cts +3 -21
  14. package/dist/actions/bill-customer.d.cts.map +1 -1
  15. package/dist/actions/bill-customer.d.mts +3 -21
  16. package/dist/actions/bill-customer.d.mts.map +1 -1
  17. package/dist/actions/bill-customer.mjs +1 -0
  18. package/dist/actions/bill-customer.mjs.map +1 -1
  19. package/dist/actions/create-customer.cjs +1 -0
  20. package/dist/actions/create-customer.cjs.map +1 -1
  21. package/dist/actions/create-customer.d.cts +3 -28
  22. package/dist/actions/create-customer.d.cts.map +1 -1
  23. package/dist/actions/create-customer.d.mts +3 -28
  24. package/dist/actions/create-customer.d.mts.map +1 -1
  25. package/dist/actions/create-customer.mjs +1 -0
  26. package/dist/actions/create-customer.mjs.map +1 -1
  27. package/dist/actions/create-feature.cjs +1 -0
  28. package/dist/actions/create-feature.cjs.map +1 -1
  29. package/dist/actions/create-feature.d.cts +3 -26
  30. package/dist/actions/create-feature.d.cts.map +1 -1
  31. package/dist/actions/create-feature.d.mts +3 -26
  32. package/dist/actions/create-feature.d.mts.map +1 -1
  33. package/dist/actions/create-feature.mjs +1 -0
  34. package/dist/actions/create-feature.mjs.map +1 -1
  35. package/dist/actions/delete-customer.cjs +1 -0
  36. package/dist/actions/delete-customer.cjs.map +1 -1
  37. package/dist/actions/delete-customer.d.cts +3 -21
  38. package/dist/actions/delete-customer.d.cts.map +1 -1
  39. package/dist/actions/delete-customer.d.mts +3 -21
  40. package/dist/actions/delete-customer.d.mts.map +1 -1
  41. package/dist/actions/delete-customer.mjs +1 -0
  42. package/dist/actions/delete-customer.mjs.map +1 -1
  43. package/dist/actions/delete-offer.cjs +1 -0
  44. package/dist/actions/delete-offer.cjs.map +1 -1
  45. package/dist/actions/delete-offer.d.cts +3 -21
  46. package/dist/actions/delete-offer.d.cts.map +1 -1
  47. package/dist/actions/delete-offer.d.mts +3 -21
  48. package/dist/actions/delete-offer.d.mts.map +1 -1
  49. package/dist/actions/delete-offer.mjs +1 -0
  50. package/dist/actions/delete-offer.mjs.map +1 -1
  51. package/dist/actions/delete-pricing-table-offer.cjs +1 -0
  52. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
  53. package/dist/actions/delete-pricing-table-offer.d.cts +3 -21
  54. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
  55. package/dist/actions/delete-pricing-table-offer.d.mts +3 -21
  56. package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
  57. package/dist/actions/delete-pricing-table-offer.mjs +1 -0
  58. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
  59. package/dist/actions/delete-pricing-table.cjs +1 -0
  60. package/dist/actions/delete-pricing-table.cjs.map +1 -1
  61. package/dist/actions/delete-pricing-table.d.cts +3 -21
  62. package/dist/actions/delete-pricing-table.d.cts.map +1 -1
  63. package/dist/actions/delete-pricing-table.d.mts +3 -21
  64. package/dist/actions/delete-pricing-table.d.mts.map +1 -1
  65. package/dist/actions/delete-pricing-table.mjs +1 -0
  66. package/dist/actions/delete-pricing-table.mjs.map +1 -1
  67. package/dist/actions/delete-subscription-discount.cjs +1 -0
  68. package/dist/actions/delete-subscription-discount.cjs.map +1 -1
  69. package/dist/actions/delete-subscription-discount.d.cts +3 -21
  70. package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
  71. package/dist/actions/delete-subscription-discount.d.mts +3 -21
  72. package/dist/actions/delete-subscription-discount.d.mts.map +1 -1
  73. package/dist/actions/delete-subscription-discount.mjs +1 -0
  74. package/dist/actions/delete-subscription-discount.mjs.map +1 -1
  75. package/dist/actions/enable-webhook.cjs +1 -0
  76. package/dist/actions/enable-webhook.cjs.map +1 -1
  77. package/dist/actions/enable-webhook.d.cts +3 -21
  78. package/dist/actions/enable-webhook.d.cts.map +1 -1
  79. package/dist/actions/enable-webhook.d.mts +3 -21
  80. package/dist/actions/enable-webhook.d.mts.map +1 -1
  81. package/dist/actions/enable-webhook.mjs +1 -0
  82. package/dist/actions/enable-webhook.mjs.map +1 -1
  83. package/dist/actions/get-customer-billing-address.cjs +1 -0
  84. package/dist/actions/get-customer-billing-address.cjs.map +1 -1
  85. package/dist/actions/get-customer-billing-address.d.cts +3 -21
  86. package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
  87. package/dist/actions/get-customer-billing-address.d.mts +3 -21
  88. package/dist/actions/get-customer-billing-address.d.mts.map +1 -1
  89. package/dist/actions/get-customer-billing-address.mjs +1 -0
  90. package/dist/actions/get-customer-billing-address.mjs.map +1 -1
  91. package/dist/actions/get-customer-billing.cjs +1 -0
  92. package/dist/actions/get-customer-billing.cjs.map +1 -1
  93. package/dist/actions/get-customer-billing.d.cts +3 -21
  94. package/dist/actions/get-customer-billing.d.cts.map +1 -1
  95. package/dist/actions/get-customer-billing.d.mts +3 -21
  96. package/dist/actions/get-customer-billing.d.mts.map +1 -1
  97. package/dist/actions/get-customer-billing.mjs +1 -0
  98. package/dist/actions/get-customer-billing.mjs.map +1 -1
  99. package/dist/actions/get-customer-by-reference.cjs +1 -0
  100. package/dist/actions/get-customer-by-reference.cjs.map +1 -1
  101. package/dist/actions/get-customer-by-reference.d.cts +3 -21
  102. package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
  103. package/dist/actions/get-customer-by-reference.d.mts +3 -21
  104. package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
  105. package/dist/actions/get-customer-by-reference.mjs +1 -0
  106. package/dist/actions/get-customer-by-reference.mjs.map +1 -1
  107. package/dist/actions/get-customer-payment-settings.cjs +1 -0
  108. package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
  109. package/dist/actions/get-customer-payment-settings.d.cts +3 -21
  110. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
  111. package/dist/actions/get-customer-payment-settings.d.mts +3 -21
  112. package/dist/actions/get-customer-payment-settings.d.mts.map +1 -1
  113. package/dist/actions/get-customer-payment-settings.mjs +1 -0
  114. package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
  115. package/dist/actions/get-customer.cjs +1 -0
  116. package/dist/actions/get-customer.cjs.map +1 -1
  117. package/dist/actions/get-customer.d.cts +3 -22
  118. package/dist/actions/get-customer.d.cts.map +1 -1
  119. package/dist/actions/get-customer.d.mts +3 -22
  120. package/dist/actions/get-customer.d.mts.map +1 -1
  121. package/dist/actions/get-customer.mjs +1 -0
  122. package/dist/actions/get-customer.mjs.map +1 -1
  123. package/dist/actions/get-discount.cjs +1 -0
  124. package/dist/actions/get-discount.cjs.map +1 -1
  125. package/dist/actions/get-discount.d.cts +3 -22
  126. package/dist/actions/get-discount.d.cts.map +1 -1
  127. package/dist/actions/get-discount.d.mts +3 -22
  128. package/dist/actions/get-discount.d.mts.map +1 -1
  129. package/dist/actions/get-discount.mjs +1 -0
  130. package/dist/actions/get-discount.mjs.map +1 -1
  131. package/dist/actions/get-feature.cjs +1 -0
  132. package/dist/actions/get-feature.cjs.map +1 -1
  133. package/dist/actions/get-feature.d.cts +3 -22
  134. package/dist/actions/get-feature.d.cts.map +1 -1
  135. package/dist/actions/get-feature.d.mts +3 -22
  136. package/dist/actions/get-feature.d.mts.map +1 -1
  137. package/dist/actions/get-feature.mjs +1 -0
  138. package/dist/actions/get-feature.mjs.map +1 -1
  139. package/dist/actions/get-invoice.cjs +1 -0
  140. package/dist/actions/get-invoice.cjs.map +1 -1
  141. package/dist/actions/get-invoice.d.cts +3 -21
  142. package/dist/actions/get-invoice.d.cts.map +1 -1
  143. package/dist/actions/get-invoice.d.mts +3 -21
  144. package/dist/actions/get-invoice.d.mts.map +1 -1
  145. package/dist/actions/get-invoice.mjs +1 -0
  146. package/dist/actions/get-invoice.mjs.map +1 -1
  147. package/dist/actions/get-offer.cjs +1 -0
  148. package/dist/actions/get-offer.cjs.map +1 -1
  149. package/dist/actions/get-offer.d.cts +3 -22
  150. package/dist/actions/get-offer.d.cts.map +1 -1
  151. package/dist/actions/get-offer.d.mts +3 -22
  152. package/dist/actions/get-offer.d.mts.map +1 -1
  153. package/dist/actions/get-offer.mjs +1 -0
  154. package/dist/actions/get-offer.mjs.map +1 -1
  155. package/dist/actions/get-subscription-by-customer.cjs +1 -0
  156. package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
  157. package/dist/actions/get-subscription-by-customer.d.cts +3 -22
  158. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
  159. package/dist/actions/get-subscription-by-customer.d.mts +3 -22
  160. package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
  161. package/dist/actions/get-subscription-by-customer.mjs +1 -0
  162. package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
  163. package/dist/actions/get-subscription-creation-quote.cjs +1 -0
  164. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
  165. package/dist/actions/get-subscription-creation-quote.d.cts +3 -22
  166. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
  167. package/dist/actions/get-subscription-creation-quote.d.mts +3 -22
  168. package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
  169. package/dist/actions/get-subscription-creation-quote.mjs +1 -0
  170. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
  171. package/dist/actions/get-usage.cjs +1 -0
  172. package/dist/actions/get-usage.cjs.map +1 -1
  173. package/dist/actions/get-usage.d.cts +3 -22
  174. package/dist/actions/get-usage.d.cts.map +1 -1
  175. package/dist/actions/get-usage.d.mts +3 -22
  176. package/dist/actions/get-usage.d.mts.map +1 -1
  177. package/dist/actions/get-usage.mjs +1 -0
  178. package/dist/actions/get-usage.mjs.map +1 -1
  179. package/dist/actions/get-usages-for-customer.cjs +1 -0
  180. package/dist/actions/get-usages-for-customer.cjs.map +1 -1
  181. package/dist/actions/get-usages-for-customer.d.cts +3 -23
  182. package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
  183. package/dist/actions/get-usages-for-customer.d.mts +3 -23
  184. package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
  185. package/dist/actions/get-usages-for-customer.mjs +1 -0
  186. package/dist/actions/get-usages-for-customer.mjs.map +1 -1
  187. package/dist/actions/invalidate-customer-by-id.cjs +1 -0
  188. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
  189. package/dist/actions/invalidate-customer-by-id.d.cts +3 -21
  190. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
  191. package/dist/actions/invalidate-customer-by-id.d.mts +3 -21
  192. package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
  193. package/dist/actions/invalidate-customer-by-id.mjs +1 -0
  194. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
  195. package/dist/actions/invalidate-customer.cjs +1 -0
  196. package/dist/actions/invalidate-customer.cjs.map +1 -1
  197. package/dist/actions/invalidate-customer.d.cts +3 -21
  198. package/dist/actions/invalidate-customer.d.cts.map +1 -1
  199. package/dist/actions/invalidate-customer.d.mts +3 -21
  200. package/dist/actions/invalidate-customer.d.mts.map +1 -1
  201. package/dist/actions/invalidate-customer.mjs +1 -0
  202. package/dist/actions/invalidate-customer.mjs.map +1 -1
  203. package/dist/actions/list-balance-lines.cjs +1 -0
  204. package/dist/actions/list-balance-lines.cjs.map +1 -1
  205. package/dist/actions/list-balance-lines.d.cts +3 -25
  206. package/dist/actions/list-balance-lines.d.cts.map +1 -1
  207. package/dist/actions/list-balance-lines.d.mts +3 -25
  208. package/dist/actions/list-balance-lines.d.mts.map +1 -1
  209. package/dist/actions/list-balance-lines.mjs +1 -0
  210. package/dist/actions/list-balance-lines.mjs.map +1 -1
  211. package/dist/actions/list-business-localization.cjs +1 -0
  212. package/dist/actions/list-business-localization.cjs.map +1 -1
  213. package/dist/actions/list-business-localization.d.cts +3 -27
  214. package/dist/actions/list-business-localization.d.cts.map +1 -1
  215. package/dist/actions/list-business-localization.d.mts +3 -27
  216. package/dist/actions/list-business-localization.d.mts.map +1 -1
  217. package/dist/actions/list-business-localization.mjs +1 -0
  218. package/dist/actions/list-business-localization.mjs.map +1 -1
  219. package/dist/actions/list-businesses.cjs +1 -0
  220. package/dist/actions/list-businesses.cjs.map +1 -1
  221. package/dist/actions/list-businesses.d.cts +3 -24
  222. package/dist/actions/list-businesses.d.cts.map +1 -1
  223. package/dist/actions/list-businesses.d.mts +3 -24
  224. package/dist/actions/list-businesses.d.mts.map +1 -1
  225. package/dist/actions/list-businesses.mjs +1 -0
  226. package/dist/actions/list-businesses.mjs.map +1 -1
  227. package/dist/actions/list-customer-moves.cjs +1 -0
  228. package/dist/actions/list-customer-moves.cjs.map +1 -1
  229. package/dist/actions/list-customer-moves.d.cts +3 -28
  230. package/dist/actions/list-customer-moves.d.cts.map +1 -1
  231. package/dist/actions/list-customer-moves.d.mts +3 -28
  232. package/dist/actions/list-customer-moves.d.mts.map +1 -1
  233. package/dist/actions/list-customer-moves.mjs +1 -0
  234. package/dist/actions/list-customer-moves.mjs.map +1 -1
  235. package/dist/actions/list-customers-by-feature.cjs +1 -0
  236. package/dist/actions/list-customers-by-feature.cjs.map +1 -1
  237. package/dist/actions/list-customers-by-feature.d.cts +3 -24
  238. package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
  239. package/dist/actions/list-customers-by-feature.d.mts +3 -24
  240. package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
  241. package/dist/actions/list-customers-by-feature.mjs +1 -0
  242. package/dist/actions/list-customers-by-feature.mjs.map +1 -1
  243. package/dist/actions/list-customers.cjs +1 -0
  244. package/dist/actions/list-customers.cjs.map +1 -1
  245. package/dist/actions/list-customers.d.cts +3 -26
  246. package/dist/actions/list-customers.d.cts.map +1 -1
  247. package/dist/actions/list-customers.d.mts +3 -26
  248. package/dist/actions/list-customers.d.mts.map +1 -1
  249. package/dist/actions/list-customers.mjs +1 -0
  250. package/dist/actions/list-customers.mjs.map +1 -1
  251. package/dist/actions/list-discounts.cjs +1 -0
  252. package/dist/actions/list-discounts.cjs.map +1 -1
  253. package/dist/actions/list-discounts.d.cts +3 -24
  254. package/dist/actions/list-discounts.d.cts.map +1 -1
  255. package/dist/actions/list-discounts.d.mts +3 -24
  256. package/dist/actions/list-discounts.d.mts.map +1 -1
  257. package/dist/actions/list-discounts.mjs +1 -0
  258. package/dist/actions/list-discounts.mjs.map +1 -1
  259. package/dist/actions/list-features.cjs +1 -0
  260. package/dist/actions/list-features.cjs.map +1 -1
  261. package/dist/actions/list-features.d.cts +3 -24
  262. package/dist/actions/list-features.d.cts.map +1 -1
  263. package/dist/actions/list-features.d.mts +3 -24
  264. package/dist/actions/list-features.d.mts.map +1 -1
  265. package/dist/actions/list-features.mjs +1 -0
  266. package/dist/actions/list-features.mjs.map +1 -1
  267. package/dist/actions/list-gateway-accounts.cjs +1 -0
  268. package/dist/actions/list-gateway-accounts.cjs.map +1 -1
  269. package/dist/actions/list-gateway-accounts.d.cts +3 -26
  270. package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
  271. package/dist/actions/list-gateway-accounts.d.mts +3 -26
  272. package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
  273. package/dist/actions/list-gateway-accounts.mjs +1 -0
  274. package/dist/actions/list-gateway-accounts.mjs.map +1 -1
  275. package/dist/actions/list-gateway-permissions.cjs +1 -0
  276. package/dist/actions/list-gateway-permissions.cjs.map +1 -1
  277. package/dist/actions/list-gateway-permissions.d.cts +3 -23
  278. package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
  279. package/dist/actions/list-gateway-permissions.d.mts +3 -23
  280. package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
  281. package/dist/actions/list-gateway-permissions.mjs +1 -0
  282. package/dist/actions/list-gateway-permissions.mjs.map +1 -1
  283. package/dist/actions/list-gateway-requests.cjs +1 -0
  284. package/dist/actions/list-gateway-requests.cjs.map +1 -1
  285. package/dist/actions/list-gateway-requests.d.cts +3 -31
  286. package/dist/actions/list-gateway-requests.d.cts.map +1 -1
  287. package/dist/actions/list-gateway-requests.d.mts +3 -31
  288. package/dist/actions/list-gateway-requests.d.mts.map +1 -1
  289. package/dist/actions/list-gateway-requests.mjs +1 -0
  290. package/dist/actions/list-gateway-requests.mjs.map +1 -1
  291. package/dist/actions/list-gateway-transactions.cjs +1 -0
  292. package/dist/actions/list-gateway-transactions.cjs.map +1 -1
  293. package/dist/actions/list-gateway-transactions.d.cts +3 -25
  294. package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
  295. package/dist/actions/list-gateway-transactions.d.mts +3 -25
  296. package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
  297. package/dist/actions/list-gateway-transactions.mjs +1 -0
  298. package/dist/actions/list-gateway-transactions.mjs.map +1 -1
  299. package/dist/actions/list-invoice-lines.cjs +1 -0
  300. package/dist/actions/list-invoice-lines.cjs.map +1 -1
  301. package/dist/actions/list-invoice-lines.d.cts +3 -23
  302. package/dist/actions/list-invoice-lines.d.cts.map +1 -1
  303. package/dist/actions/list-invoice-lines.d.mts +3 -23
  304. package/dist/actions/list-invoice-lines.d.mts.map +1 -1
  305. package/dist/actions/list-invoice-lines.mjs +1 -0
  306. package/dist/actions/list-invoice-lines.mjs.map +1 -1
  307. package/dist/actions/list-invoices-by-customer.cjs +1 -0
  308. package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
  309. package/dist/actions/list-invoices-by-customer.d.cts +3 -23
  310. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
  311. package/dist/actions/list-invoices-by-customer.d.mts +3 -23
  312. package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
  313. package/dist/actions/list-invoices-by-customer.mjs +1 -0
  314. package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
  315. package/dist/actions/list-invoices.cjs +1 -0
  316. package/dist/actions/list-invoices.cjs.map +1 -1
  317. package/dist/actions/list-invoices.d.cts +3 -25
  318. package/dist/actions/list-invoices.d.cts.map +1 -1
  319. package/dist/actions/list-invoices.d.mts +3 -25
  320. package/dist/actions/list-invoices.d.mts.map +1 -1
  321. package/dist/actions/list-invoices.mjs +1 -0
  322. package/dist/actions/list-invoices.mjs.map +1 -1
  323. package/dist/actions/list-offers.cjs +1 -0
  324. package/dist/actions/list-offers.cjs.map +1 -1
  325. package/dist/actions/list-offers.d.cts +3 -26
  326. package/dist/actions/list-offers.d.cts.map +1 -1
  327. package/dist/actions/list-offers.d.mts +3 -26
  328. package/dist/actions/list-offers.d.mts.map +1 -1
  329. package/dist/actions/list-offers.mjs +1 -0
  330. package/dist/actions/list-offers.mjs.map +1 -1
  331. package/dist/actions/list-payments.cjs +1 -0
  332. package/dist/actions/list-payments.cjs.map +1 -1
  333. package/dist/actions/list-payments.d.cts +3 -25
  334. package/dist/actions/list-payments.d.cts.map +1 -1
  335. package/dist/actions/list-payments.d.mts +3 -25
  336. package/dist/actions/list-payments.d.mts.map +1 -1
  337. package/dist/actions/list-payments.mjs +1 -0
  338. package/dist/actions/list-payments.mjs.map +1 -1
  339. package/dist/actions/list-pricing-table-offers.cjs +1 -0
  340. package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
  341. package/dist/actions/list-pricing-table-offers.d.cts +3 -23
  342. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
  343. package/dist/actions/list-pricing-table-offers.d.mts +3 -23
  344. package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
  345. package/dist/actions/list-pricing-table-offers.mjs +1 -0
  346. package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
  347. package/dist/actions/list-pricing-tables.cjs +1 -0
  348. package/dist/actions/list-pricing-tables.cjs.map +1 -1
  349. package/dist/actions/list-pricing-tables.d.cts +3 -25
  350. package/dist/actions/list-pricing-tables.d.cts.map +1 -1
  351. package/dist/actions/list-pricing-tables.d.mts +3 -25
  352. package/dist/actions/list-pricing-tables.d.mts.map +1 -1
  353. package/dist/actions/list-pricing-tables.mjs +1 -0
  354. package/dist/actions/list-pricing-tables.mjs.map +1 -1
  355. package/dist/actions/list-segment-localizations.cjs +1 -0
  356. package/dist/actions/list-segment-localizations.cjs.map +1 -1
  357. package/dist/actions/list-segment-localizations.d.cts +3 -27
  358. package/dist/actions/list-segment-localizations.d.cts.map +1 -1
  359. package/dist/actions/list-segment-localizations.d.mts +3 -27
  360. package/dist/actions/list-segment-localizations.d.mts.map +1 -1
  361. package/dist/actions/list-segment-localizations.mjs +1 -0
  362. package/dist/actions/list-segment-localizations.mjs.map +1 -1
  363. package/dist/actions/list-segments.cjs +1 -0
  364. package/dist/actions/list-segments.cjs.map +1 -1
  365. package/dist/actions/list-segments.d.cts +3 -24
  366. package/dist/actions/list-segments.d.cts.map +1 -1
  367. package/dist/actions/list-segments.d.mts +3 -24
  368. package/dist/actions/list-segments.d.mts.map +1 -1
  369. package/dist/actions/list-segments.mjs +1 -0
  370. package/dist/actions/list-segments.mjs.map +1 -1
  371. package/dist/actions/list-subscription-discounts.cjs +1 -0
  372. package/dist/actions/list-subscription-discounts.cjs.map +1 -1
  373. package/dist/actions/list-subscription-discounts.d.cts +3 -23
  374. package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
  375. package/dist/actions/list-subscription-discounts.d.mts +3 -23
  376. package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
  377. package/dist/actions/list-subscription-discounts.mjs +1 -0
  378. package/dist/actions/list-subscription-discounts.mjs.map +1 -1
  379. package/dist/actions/list-subscription-features.cjs +1 -0
  380. package/dist/actions/list-subscription-features.cjs.map +1 -1
  381. package/dist/actions/list-subscription-features.d.cts +3 -23
  382. package/dist/actions/list-subscription-features.d.cts.map +1 -1
  383. package/dist/actions/list-subscription-features.d.mts +3 -23
  384. package/dist/actions/list-subscription-features.d.mts.map +1 -1
  385. package/dist/actions/list-subscription-features.mjs +1 -0
  386. package/dist/actions/list-subscription-features.mjs.map +1 -1
  387. package/dist/actions/list-subscription-periods.cjs +1 -0
  388. package/dist/actions/list-subscription-periods.cjs.map +1 -1
  389. package/dist/actions/list-subscription-periods.d.cts +3 -25
  390. package/dist/actions/list-subscription-periods.d.cts.map +1 -1
  391. package/dist/actions/list-subscription-periods.d.mts +3 -25
  392. package/dist/actions/list-subscription-periods.d.mts.map +1 -1
  393. package/dist/actions/list-subscription-periods.mjs +1 -0
  394. package/dist/actions/list-subscription-periods.mjs.map +1 -1
  395. package/dist/actions/list-subscriptions.cjs +1 -0
  396. package/dist/actions/list-subscriptions.cjs.map +1 -1
  397. package/dist/actions/list-subscriptions.d.cts +3 -25
  398. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  399. package/dist/actions/list-subscriptions.d.mts +3 -25
  400. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  401. package/dist/actions/list-subscriptions.mjs +1 -0
  402. package/dist/actions/list-subscriptions.mjs.map +1 -1
  403. package/dist/actions/list-tax-profile-exceptions.cjs +1 -0
  404. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
  405. package/dist/actions/list-tax-profile-exceptions.d.cts +3 -26
  406. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
  407. package/dist/actions/list-tax-profile-exceptions.d.mts +3 -26
  408. package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
  409. package/dist/actions/list-tax-profile-exceptions.mjs +1 -0
  410. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
  411. package/dist/actions/list-tax-profiles.cjs +1 -0
  412. package/dist/actions/list-tax-profiles.cjs.map +1 -1
  413. package/dist/actions/list-tax-profiles.d.cts +3 -23
  414. package/dist/actions/list-tax-profiles.d.cts.map +1 -1
  415. package/dist/actions/list-tax-profiles.d.mts +3 -23
  416. package/dist/actions/list-tax-profiles.d.mts.map +1 -1
  417. package/dist/actions/list-tax-profiles.mjs +1 -0
  418. package/dist/actions/list-tax-profiles.mjs.map +1 -1
  419. package/dist/actions/list-upgrade-offers.cjs +1 -0
  420. package/dist/actions/list-upgrade-offers.cjs.map +1 -1
  421. package/dist/actions/list-upgrade-offers.d.cts +3 -24
  422. package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
  423. package/dist/actions/list-upgrade-offers.d.mts +3 -24
  424. package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
  425. package/dist/actions/list-upgrade-offers.mjs +1 -0
  426. package/dist/actions/list-upgrade-offers.mjs.map +1 -1
  427. package/dist/actions/list-webhook-notifications.cjs +1 -0
  428. package/dist/actions/list-webhook-notifications.cjs.map +1 -1
  429. package/dist/actions/list-webhook-notifications.d.cts +3 -30
  430. package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
  431. package/dist/actions/list-webhook-notifications.d.mts +3 -30
  432. package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
  433. package/dist/actions/list-webhook-notifications.mjs +1 -0
  434. package/dist/actions/list-webhook-notifications.mjs.map +1 -1
  435. package/dist/actions/list-webhooks.cjs +1 -0
  436. package/dist/actions/list-webhooks.cjs.map +1 -1
  437. package/dist/actions/list-webhooks.d.cts +3 -28
  438. package/dist/actions/list-webhooks.d.cts.map +1 -1
  439. package/dist/actions/list-webhooks.d.mts +3 -28
  440. package/dist/actions/list-webhooks.d.mts.map +1 -1
  441. package/dist/actions/list-webhooks.mjs +1 -0
  442. package/dist/actions/list-webhooks.mjs.map +1 -1
  443. package/dist/actions/quote-balance-line.cjs +1 -0
  444. package/dist/actions/quote-balance-line.cjs.map +1 -1
  445. package/dist/actions/quote-balance-line.d.cts +3 -24
  446. package/dist/actions/quote-balance-line.d.cts.map +1 -1
  447. package/dist/actions/quote-balance-line.d.mts +3 -24
  448. package/dist/actions/quote-balance-line.d.mts.map +1 -1
  449. package/dist/actions/quote-balance-line.mjs +1 -0
  450. package/dist/actions/quote-balance-line.mjs.map +1 -1
  451. package/dist/actions/revoke-customer-links.cjs +1 -0
  452. package/dist/actions/revoke-customer-links.cjs.map +1 -1
  453. package/dist/actions/revoke-customer-links.d.cts +3 -21
  454. package/dist/actions/revoke-customer-links.d.cts.map +1 -1
  455. package/dist/actions/revoke-customer-links.d.mts +3 -21
  456. package/dist/actions/revoke-customer-links.d.mts.map +1 -1
  457. package/dist/actions/revoke-customer-links.mjs +1 -0
  458. package/dist/actions/revoke-customer-links.mjs.map +1 -1
  459. package/dist/actions/update-businesses-billing-address.cjs +1 -0
  460. package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
  461. package/dist/actions/update-businesses-billing-address.d.cts +3 -32
  462. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
  463. package/dist/actions/update-businesses-billing-address.d.mts +3 -32
  464. package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
  465. package/dist/actions/update-businesses-billing-address.mjs +1 -0
  466. package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
  467. package/dist/actions/update-customer-billing-address.cjs +1 -0
  468. package/dist/actions/update-customer-billing-address.cjs.map +1 -1
  469. package/dist/actions/update-customer-billing-address.d.cts +3 -32
  470. package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
  471. package/dist/actions/update-customer-billing-address.d.mts +3 -32
  472. package/dist/actions/update-customer-billing-address.d.mts.map +1 -1
  473. package/dist/actions/update-customer-billing-address.mjs +1 -0
  474. package/dist/actions/update-customer-billing-address.mjs.map +1 -1
  475. package/dist/actions/update-customer-payment-settings.cjs +1 -0
  476. package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
  477. package/dist/actions/update-customer-payment-settings.d.cts +3 -22
  478. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
  479. package/dist/actions/update-customer-payment-settings.d.mts +3 -22
  480. package/dist/actions/update-customer-payment-settings.d.mts.map +1 -1
  481. package/dist/actions/update-customer-payment-settings.mjs +1 -0
  482. package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
  483. package/dist/actions/update-customer-shipping.cjs +1 -0
  484. package/dist/actions/update-customer-shipping.cjs.map +1 -1
  485. package/dist/actions/update-customer-shipping.d.cts +3 -33
  486. package/dist/actions/update-customer-shipping.d.cts.map +1 -1
  487. package/dist/actions/update-customer-shipping.d.mts +3 -33
  488. package/dist/actions/update-customer-shipping.d.mts.map +1 -1
  489. package/dist/actions/update-customer-shipping.mjs +1 -0
  490. package/dist/actions/update-customer-shipping.mjs.map +1 -1
  491. package/dist/actions/update-customer.cjs +1 -0
  492. package/dist/actions/update-customer.cjs.map +1 -1
  493. package/dist/actions/update-customer.d.cts +3 -26
  494. package/dist/actions/update-customer.d.cts.map +1 -1
  495. package/dist/actions/update-customer.d.mts +3 -26
  496. package/dist/actions/update-customer.d.mts.map +1 -1
  497. package/dist/actions/update-customer.mjs +1 -0
  498. package/dist/actions/update-customer.mjs.map +1 -1
  499. package/dist/actions/update-feature.cjs +1 -0
  500. package/dist/actions/update-feature.cjs.map +1 -1
  501. package/dist/actions/update-feature.d.cts +3 -27
  502. package/dist/actions/update-feature.d.cts.map +1 -1
  503. package/dist/actions/update-feature.d.mts +3 -27
  504. package/dist/actions/update-feature.d.mts.map +1 -1
  505. package/dist/actions/update-feature.mjs +1 -0
  506. package/dist/actions/update-feature.mjs.map +1 -1
  507. package/dist/actions/update-tax-profiles.cjs +1 -0
  508. package/dist/actions/update-tax-profiles.cjs.map +1 -1
  509. package/dist/actions/update-tax-profiles.d.cts +3 -27
  510. package/dist/actions/update-tax-profiles.d.cts.map +1 -1
  511. package/dist/actions/update-tax-profiles.d.mts +3 -27
  512. package/dist/actions/update-tax-profiles.d.mts.map +1 -1
  513. package/dist/actions/update-tax-profiles.mjs +1 -0
  514. package/dist/actions/update-tax-profiles.mjs.map +1 -1
  515. package/dist/app.cjs +7 -6
  516. package/dist/app.cjs.map +1 -1
  517. package/dist/app.d.cts +4 -6
  518. package/dist/app.d.cts.map +1 -1
  519. package/dist/app.d.mts +4 -6
  520. package/dist/app.d.mts.map +1 -1
  521. package/dist/app.mjs +0 -1
  522. package/dist/app.mjs.map +1 -1
  523. package/dist/index.d.cts +1 -1
  524. package/dist/index.d.mts +1 -1
  525. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-customer-payment-settings.d.ts
@@ -12,27 +14,7 @@ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodObject<{
12
14
  IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- ReferenceCustomer: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- full: z.ZodString;
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- full: z.ZodString;
32
- username: z.ZodString;
33
- password: z.ZodString;
34
- generic_id: z.ZodString;
35
- }, z.core.$strip>>]>;
17
+ declare const proabonoGetCustomerPaymentSettings: AppAction<typeof ProabonoGetCustomerPaymentSettingsInput, typeof ProabonoGetCustomerPaymentSettingsOutput, typeof proabono.credential>;
36
18
  //#endregion
37
19
  export { proabonoGetCustomerPaymentSettings };
38
20
  //# sourceMappingURL=get-customer-payment-settings.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-payment-settings.d.cts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-customer-payment-settings.d.cts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-customer-payment-settings.d.ts
@@ -12,27 +14,7 @@ declare const ProabonoGetCustomerPaymentSettingsOutput: z.ZodObject<{
12
14
  IsAutoBilling: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13
15
  DateNextBilling: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const proabonoGetCustomerPaymentSettings: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- ReferenceCustomer: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- full: z.ZodString;
23
- username: z.ZodString;
24
- password: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- full: z.ZodString;
32
- username: z.ZodString;
33
- password: z.ZodString;
34
- generic_id: z.ZodString;
35
- }, z.core.$strip>>]>;
17
+ declare const proabonoGetCustomerPaymentSettings: AppAction<typeof ProabonoGetCustomerPaymentSettingsInput, typeof ProabonoGetCustomerPaymentSettingsOutput, typeof proabono.credential>;
36
18
  //#endregion
37
19
  export { proabonoGetCustomerPaymentSettings };
38
20
  //# sourceMappingURL=get-customer-payment-settings.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;cAIa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,gCAAkC,wBAAA"}
1
+ {"version":3,"file":"get-customer-payment-settings.d.mts","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"mappings":";;;;;cAMa,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;cAGvC,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cASxC,kCAAA,EAAoC,SAAA,QACxC,uCAAA,SACA,wCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const proabonoGetCustomerPaymentSettings = action("PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qCAAqC,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqD,EAAE,OAAO,EAC9D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer-payment-settings.mjs","names":[],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.object({\n ReferenceCustomer: z.string().describe(\"The unique reference identifier of the customer whose payment settings to retrieve (ReferenceCustomer property)\"),\n}).describe(\"Request model for the GetCustomerPaymentSettings action.\");\nexport const ProabonoGetCustomerPaymentSettingsOutput = z.object({\n IsTaxed: z.boolean().describe(\"Indicates whether the customer is subject to taxation\").nullable().optional(),\n NoteInvoice: z.string().describe(\"A note that will be added at the bottom of all upcoming invoices for this customer\").nullable().optional(),\n TypePayment: z.string().describe(\"The manual payment method type. Possible values: Card, ExternalBank, ExternalCash, ExternalCheck, ExternalOther\").nullable().optional(),\n IsGreyListed: z.boolean().describe(\"Indicates if access to payment forms is prevented due to suspicious activity or payment issues\").nullable().optional(),\n IsAutoBilling: z.boolean().describe(\"Whether automatic billing is enabled for the next billing date\").nullable().optional(),\n DateNextBilling: z.string().describe(\"ISO 8601 timestamp of the next billing date for this customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for customer payment settings.\");\n\nexport const proabonoGetCustomerPaymentSettings: AppAction<\n typeof ProabonoGetCustomerPaymentSettingsInput,\n typeof ProabonoGetCustomerPaymentSettingsOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER_PAYMENT_SETTINGS\", {\n slug: \"proabono-get-customer-payment-settings\",\n name: \"Get Customer Payment Settings\",\n description: \"Tool to retrieve customer payment settings via the Backoffice API. Use when you need to check a customer's payment configuration, billing schedule, or payment method type.\",\n input: ProabonoGetCustomerPaymentSettingsInput,\n output: ProabonoGetCustomerPaymentSettingsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqD,EAAE,OAAO,EAC9D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAkBH;CACP,QAlBsD,EAAE,OAAO;EAC/D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzJ,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-customer.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC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get-customer.cjs","names":["z","action"],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer: AppAction<\n typeof ProabonoGetCustomerInput,\n typeof ProabonoGetCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,w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D;AAEnF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-customer.d.ts
@@ -24,28 +26,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
24
26
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- id: number;
29
- id_business?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- full: z.ZodString;
36
- username: z.ZodString;
37
- password: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- full: z.ZodString;
45
- username: z.ZodString;
46
- password: z.ZodString;
47
- generic_id: z.ZodString;
48
- }, z.core.$strip>>]>;
29
+ declare const proabonoGetCustomer: AppAction<typeof ProabonoGetCustomerInput, typeof ProabonoGetCustomerOutput, typeof proabono.credential>;
49
30
  //#endregion
50
31
  export { proabonoGetCustomer };
51
32
  //# sourceMappingURL=get-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer.d.cts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-customer.d.cts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-customer.d.ts
@@ -24,28 +26,7 @@ declare const ProabonoGetCustomerOutput: z.ZodObject<{
24
26
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
27
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>;
27
- declare const proabonoGetCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
28
- id: number;
29
- id_business?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- full: z.ZodString;
36
- username: z.ZodString;
37
- password: z.ZodString;
38
- generic_id: z.ZodString;
39
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
40
- connectionId: z.ZodString;
41
- entityId: z.ZodString;
42
- instanceId: z.ZodString;
43
- }, z.core.$strip>, z.ZodObject<{
44
- full: z.ZodString;
45
- username: z.ZodString;
46
- password: z.ZodString;
47
- generic_id: z.ZodString;
48
- }, z.core.$strip>>]>;
29
+ declare const proabonoGetCustomer: AppAction<typeof ProabonoGetCustomerInput, typeof ProabonoGetCustomerOutput, typeof proabono.credential>;
49
30
  //#endregion
50
31
  export { proabonoGetCustomer };
51
32
  //# sourceMappingURL=get-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer.d.mts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-customer.d.mts","names":[],"sources":["../../src/actions/get-customer.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAiBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-customer.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8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EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer.mjs","names":[],"sources":["../../src/actions/get-customer.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetCustomerInput = z.object({\n id: z.number().int().describe(\"The unique identifier of the customer to retrieve\"),\n id_business: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n}).describe(\"Request model for retrieving a customer by ID from ProAbono.\");\nconst ProabonoGetCustomer_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'self', 'related-address-billing', 'collection-subscription')\").nullable().optional(),\n href: z.string().describe(\"API endpoint path for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS navigation links in customer response.\");\nexport const ProabonoGetCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer email address\").nullable().optional(),\n Links: z.array(ProabonoGetCustomer_CustomerLinkSchema).describe(\"HATEOAS navigation links for related resources (billing address, subscriptions, invoices, etc.)\").nullable().optional(),\n Status: z.string().describe(\"Functional state reflecting customer status (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Language: z.string().describe(\"ISO 639-1 language code (e.g., 'en', 'fr')\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Segment association ID\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association ID\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in ISO 8601 format\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the customer record\").nullable().optional(),\n StateCustomer: z.string().describe(\"Technical state of the customer (e.g., 'Enabled', 'Disabled')\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who created the customer record\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared key of the customer between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by ID.\");\n\nexport const proabonoGetCustomer: AppAction<\n typeof ProabonoGetCustomerInput,\n typeof ProabonoGetCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER\", {\n slug: \"proabono-get-customer\",\n name: \"Get Customer by ID\",\n description: \"Tool to retrieve a single customer by ID from ProAbono Backoffice API. Use when you need to fetch detailed information about a specific customer including their billing details, status, and related resource links.\",\n input: ProabonoGetCustomerInput,\n output: ProabonoGetCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,S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EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-discount.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-discount.cjs","names":["z","action"],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetDiscountInput = z.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.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}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = 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}).passthrough().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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAA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ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetDiscountInput = 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.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}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = 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}).passthrough().describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount: AppAction<\n typeof ProabonoGetDiscountInput,\n typeof ProabonoGetDiscountOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;AAC1D,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,eAAe;AACzC,MAAM,4CAA4CA,IAAAA,EAAE,KAAK,CAAC,QAAQ,gBAAgB,CAAC,CAAC,CAAC,S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AC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-discount.d.ts
@@ -44,28 +46,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
44
46
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
47
  ReferenceDiscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
48
  }, z.core.$loose>;
47
- declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<{
48
- Id: number;
49
- IdBusiness: number;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- full: z.ZodString;
56
- username: z.ZodString;
57
- password: z.ZodString;
58
- generic_id: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- full: z.ZodString;
65
- username: z.ZodString;
66
- password: z.ZodString;
67
- generic_id: z.ZodString;
68
- }, z.core.$strip>>]>;
49
+ declare const proabonoGetDiscount: AppAction<typeof ProabonoGetDiscountInput, typeof ProabonoGetDiscountOutput, typeof proabono.credential>;
69
50
  //#endregion
70
51
  export { proabonoGetDiscount };
71
52
  //# sourceMappingURL=get-discount.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-discount.d.cts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-discount.d.cts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-discount.d.ts
@@ -44,28 +46,7 @@ declare const ProabonoGetDiscountOutput: z.ZodObject<{
44
46
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
45
47
  ReferenceDiscount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
48
  }, z.core.$loose>;
47
- declare const proabonoGetDiscount: import("@keystrokehq/action").WorkflowActionDefinition<{
48
- Id: number;
49
- IdBusiness: number;
50
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
51
- connectionId: z.ZodString;
52
- entityId: z.ZodString;
53
- instanceId: z.ZodString;
54
- }, z.core.$strip>, z.ZodObject<{
55
- full: z.ZodString;
56
- username: z.ZodString;
57
- password: z.ZodString;
58
- generic_id: z.ZodString;
59
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
60
- connectionId: z.ZodString;
61
- entityId: z.ZodString;
62
- instanceId: z.ZodString;
63
- }, z.core.$strip>, z.ZodObject<{
64
- full: z.ZodString;
65
- username: z.ZodString;
66
- password: z.ZodString;
67
- generic_id: z.ZodString;
68
- }, z.core.$strip>>]>;
49
+ declare const proabonoGetDiscount: AppAction<typeof ProabonoGetDiscountInput, typeof ProabonoGetDiscountOutput, typeof proabono.credential>;
69
50
  //#endregion
70
51
  export { proabonoGetDiscount };
71
52
  //# sourceMappingURL=get-discount.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-discount.d.mts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"get-discount.d.mts","names":[],"sources":["../../src/actions/get-discount.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAYxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-discount.ts
@@ -1 +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.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.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}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = 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}).passthrough().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,2BAA2B,EAAE,OAAO;CAC/C,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,iCAAiC,EAAE,OAAO;CAC9C,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,YAAY,CAAC,CAAC,SAAS,eAAe;AACzC,MAAM,4CAA4C,EAAE,KAAK,CAAC,QAAQ,gBAAgB,CAAC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SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-discount.mjs","names":[],"sources":["../../src/actions/get-discount.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetDiscountInput = 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.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}).passthrough().describe(\"HATEOAS link.\");\nconst ProabonoGetDiscount_DiscountTypeOffSchema = z.enum([\"Flat\", \"PerTenThousand\"]).describe(\"Type of discount.\");\nconst ProabonoGetDiscount_StateLifeCycleSchema = z.enum([\"Ok\", \"ToModerate\", \"DisabledUser\", \"DisabledSystem\", \"DisabledModeration\", \"Deleted\"]).describe(\"Lifecycle state of the discount.\");\nconst ProabonoGetDiscount_DiscountTargetFeeSchema = z.enum([\"UpfrontFee\", \"FlatFee\", \"FeatureFee\", \"AllRecurring\", \"All\"]).describe(\"Target fees for the discount.\");\nconst ProabonoGetDiscount_DiscountStateSchema = z.enum([\"Draft\", \"Enabled\"]).describe(\"Functional state of the discount.\");\nexport const ProabonoGetDiscountOutput = 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}).passthrough().describe(\"Response model for a discount retrieved from the Backoffice API.\");\n\nexport const proabonoGetDiscount: AppAction<\n typeof ProabonoGetDiscountInput,\n typeof ProabonoGetDiscountOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,2BAA2B,EAAE,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,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACxE,WAAW,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-feature.ts
@@ -1 +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.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.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.record(z.string(), z.unknown())).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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CA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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,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-feature.cjs","names":["z","action"],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetFeatureInput = 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.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.record(z.string(), z.unknown())).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}).passthrough().describe(\"Response model for a retrieved feature.\");\n\nexport const proabonoGetFeature: AppAction<\n typeof ProabonoGetFeatureInput,\n typeof ProabonoGetFeatureOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,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,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC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AS,CAAC,CAAC,SAAS;CACjG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-feature.d.ts
@@ -21,28 +23,7 @@ declare const ProabonoGetFeatureOutput: z.ZodObject<{
21
23
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
24
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: number;
26
- id_business?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- full: z.ZodString;
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- full: z.ZodString;
42
- username: z.ZodString;
43
- password: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>;
26
+ declare const proabonoGetFeature: AppAction<typeof ProabonoGetFeatureInput, typeof ProabonoGetFeatureOutput, typeof proabono.credential>;
46
27
  //#endregion
47
28
  export { proabonoGetFeature };
48
29
  //# sourceMappingURL=get-feature.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-feature.d.cts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-feature.d.cts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { proabono } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-feature.d.ts
@@ -21,28 +23,7 @@ declare const ProabonoGetFeatureOutput: z.ZodObject<{
21
23
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
24
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const proabonoGetFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- id: number;
26
- id_business?: number | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- full: z.ZodString;
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- generic_id: z.ZodString;
36
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- full: z.ZodString;
42
- username: z.ZodString;
43
- password: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>;
26
+ declare const proabonoGetFeature: AppAction<typeof ProabonoGetFeatureInput, typeof ProabonoGetFeatureOutput, typeof proabono.credential>;
46
27
  //#endregion
47
28
  export { proabonoGetFeature };
48
29
  //# sourceMappingURL=get-feature.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-feature.d.mts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-feature.d.mts","names":[],"sources":["../../src/actions/get-feature.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAiBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const proabonoGetFeature = action("PROABONO_GET_FEATURE", {
@@ -1 +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.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.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.record(z.string(), z.unknown())).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}).passthrough().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,OAzBqC,EAAE,OAAO;EAC9C,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,QAtBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAA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CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-feature.mjs","names":[],"sources":["../../src/actions/get-feature.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetFeatureInput = 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.object({\n Id: z.number().int().describe(\"ID of the Feature Object\").nullable(),\n Name: z.string().describe(\"Name of the Feature\").nullable().optional(),\n Links: z.array(z.record(z.string(), z.unknown())).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}).passthrough().describe(\"Response model for a retrieved feature.\");\n\nexport const proabonoGetFeature: AppAction<\n typeof ProabonoGetFeatureInput,\n typeof ProabonoGetFeatureOutput,\n typeof proabono.credential\n> = 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":";;;AA2BA,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA7BqC,EAAE,OAAO;EAC9C,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,+CA0BH;CACP,QA1BsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-invoice.ts
@@ -1 +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.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.object({\n rel: z.string().describe(\"The relationship type of the link.\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"Link object in the invoice response.\");\nexport const ProabonoGetInvoiceOutput = 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}).passthrough().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,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,MAAM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AAC,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,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-invoice.cjs","names":["z","action"],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { proabono } from \"../app\";\n\nexport const ProabonoGetInvoiceInput = 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.object({\n rel: z.string().describe(\"The relationship type of the link.\").nullable().optional(),\n href: z.string().describe(\"The URL of the linked resource.\").nullable().optional(),\n}).passthrough().describe(\"Link object in the invoice response.\");\nexport const ProabonoGetInvoiceOutput = 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}).passthrough().describe(\"Response schema for retrieving a ProAbono invoice or credit note.\");\n\nexport const proabonoGetInvoice: AppAction<\n typeof ProabonoGetInvoiceInput,\n typeof ProabonoGetInvoiceOutput,\n typeof proabono.credential\n> = 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":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,EAClG,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC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