@keystrokehq/proabono 0.1.4 → 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 -3
  6. package/dist/actions/anonymize-customer.d.cts.map +1 -1
  7. package/dist/actions/anonymize-customer.d.mts +3 -3
  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 -3
  14. package/dist/actions/bill-customer.d.cts.map +1 -1
  15. package/dist/actions/bill-customer.d.mts +3 -3
  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 -10
  22. package/dist/actions/create-customer.d.cts.map +1 -1
  23. package/dist/actions/create-customer.d.mts +3 -10
  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 -8
  30. package/dist/actions/create-feature.d.cts.map +1 -1
  31. package/dist/actions/create-feature.d.mts +3 -8
  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 -3
  38. package/dist/actions/delete-customer.d.cts.map +1 -1
  39. package/dist/actions/delete-customer.d.mts +3 -3
  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 -3
  46. package/dist/actions/delete-offer.d.cts.map +1 -1
  47. package/dist/actions/delete-offer.d.mts +3 -3
  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 -3
  54. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
  55. package/dist/actions/delete-pricing-table-offer.d.mts +3 -3
  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 -3
  62. package/dist/actions/delete-pricing-table.d.cts.map +1 -1
  63. package/dist/actions/delete-pricing-table.d.mts +3 -3
  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 -3
  70. package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
  71. package/dist/actions/delete-subscription-discount.d.mts +3 -3
  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 -3
  78. package/dist/actions/enable-webhook.d.cts.map +1 -1
  79. package/dist/actions/enable-webhook.d.mts +3 -3
  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 -3
  86. package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
  87. package/dist/actions/get-customer-billing-address.d.mts +3 -3
  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 -3
  94. package/dist/actions/get-customer-billing.d.cts.map +1 -1
  95. package/dist/actions/get-customer-billing.d.mts +3 -3
  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 -3
  102. package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
  103. package/dist/actions/get-customer-by-reference.d.mts +3 -3
  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 -3
  110. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
  111. package/dist/actions/get-customer-payment-settings.d.mts +3 -3
  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 -4
  118. package/dist/actions/get-customer.d.cts.map +1 -1
  119. package/dist/actions/get-customer.d.mts +3 -4
  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 -4
  126. package/dist/actions/get-discount.d.cts.map +1 -1
  127. package/dist/actions/get-discount.d.mts +3 -4
  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 -4
  134. package/dist/actions/get-feature.d.cts.map +1 -1
  135. package/dist/actions/get-feature.d.mts +3 -4
  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 -3
  142. package/dist/actions/get-invoice.d.cts.map +1 -1
  143. package/dist/actions/get-invoice.d.mts +3 -3
  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 -4
  150. package/dist/actions/get-offer.d.cts.map +1 -1
  151. package/dist/actions/get-offer.d.mts +3 -4
  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 -4
  158. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
  159. package/dist/actions/get-subscription-by-customer.d.mts +3 -4
  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 -4
  166. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
  167. package/dist/actions/get-subscription-creation-quote.d.mts +3 -4
  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 -4
  174. package/dist/actions/get-usage.d.cts.map +1 -1
  175. package/dist/actions/get-usage.d.mts +3 -4
  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 -5
  182. package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
  183. package/dist/actions/get-usages-for-customer.d.mts +3 -5
  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 -3
  190. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
  191. package/dist/actions/invalidate-customer-by-id.d.mts +3 -3
  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 -3
  198. package/dist/actions/invalidate-customer.d.cts.map +1 -1
  199. package/dist/actions/invalidate-customer.d.mts +3 -3
  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 -7
  206. package/dist/actions/list-balance-lines.d.cts.map +1 -1
  207. package/dist/actions/list-balance-lines.d.mts +3 -7
  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 -9
  214. package/dist/actions/list-business-localization.d.cts.map +1 -1
  215. package/dist/actions/list-business-localization.d.mts +3 -9
  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 -6
  222. package/dist/actions/list-businesses.d.cts.map +1 -1
  223. package/dist/actions/list-businesses.d.mts +3 -6
  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 -10
  230. package/dist/actions/list-customer-moves.d.cts.map +1 -1
  231. package/dist/actions/list-customer-moves.d.mts +3 -10
  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 -6
  238. package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
  239. package/dist/actions/list-customers-by-feature.d.mts +3 -6
  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 -8
  246. package/dist/actions/list-customers.d.cts.map +1 -1
  247. package/dist/actions/list-customers.d.mts +3 -8
  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 -6
  254. package/dist/actions/list-discounts.d.cts.map +1 -1
  255. package/dist/actions/list-discounts.d.mts +3 -6
  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 -6
  262. package/dist/actions/list-features.d.cts.map +1 -1
  263. package/dist/actions/list-features.d.mts +3 -6
  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 -8
  270. package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
  271. package/dist/actions/list-gateway-accounts.d.mts +3 -8
  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 -5
  278. package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
  279. package/dist/actions/list-gateway-permissions.d.mts +3 -5
  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 -13
  286. package/dist/actions/list-gateway-requests.d.cts.map +1 -1
  287. package/dist/actions/list-gateway-requests.d.mts +3 -13
  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 -7
  294. package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
  295. package/dist/actions/list-gateway-transactions.d.mts +3 -7
  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 -5
  302. package/dist/actions/list-invoice-lines.d.cts.map +1 -1
  303. package/dist/actions/list-invoice-lines.d.mts +3 -5
  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 -5
  310. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
  311. package/dist/actions/list-invoices-by-customer.d.mts +3 -5
  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 -7
  318. package/dist/actions/list-invoices.d.cts.map +1 -1
  319. package/dist/actions/list-invoices.d.mts +3 -7
  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 -8
  326. package/dist/actions/list-offers.d.cts.map +1 -1
  327. package/dist/actions/list-offers.d.mts +3 -8
  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 -7
  334. package/dist/actions/list-payments.d.cts.map +1 -1
  335. package/dist/actions/list-payments.d.mts +3 -7
  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 -5
  342. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
  343. package/dist/actions/list-pricing-table-offers.d.mts +3 -5
  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 -7
  350. package/dist/actions/list-pricing-tables.d.cts.map +1 -1
  351. package/dist/actions/list-pricing-tables.d.mts +3 -7
  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 -9
  358. package/dist/actions/list-segment-localizations.d.cts.map +1 -1
  359. package/dist/actions/list-segment-localizations.d.mts +3 -9
  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 -6
  366. package/dist/actions/list-segments.d.cts.map +1 -1
  367. package/dist/actions/list-segments.d.mts +3 -6
  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 -5
  374. package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
  375. package/dist/actions/list-subscription-discounts.d.mts +3 -5
  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 -5
  382. package/dist/actions/list-subscription-features.d.cts.map +1 -1
  383. package/dist/actions/list-subscription-features.d.mts +3 -5
  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 -7
  390. package/dist/actions/list-subscription-periods.d.cts.map +1 -1
  391. package/dist/actions/list-subscription-periods.d.mts +3 -7
  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 -7
  398. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  399. package/dist/actions/list-subscriptions.d.mts +3 -7
  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 -8
  406. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
  407. package/dist/actions/list-tax-profile-exceptions.d.mts +3 -8
  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 -5
  414. package/dist/actions/list-tax-profiles.d.cts.map +1 -1
  415. package/dist/actions/list-tax-profiles.d.mts +3 -5
  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 -6
  422. package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
  423. package/dist/actions/list-upgrade-offers.d.mts +3 -6
  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 -12
  430. package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
  431. package/dist/actions/list-webhook-notifications.d.mts +3 -12
  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 -10
  438. package/dist/actions/list-webhooks.d.cts.map +1 -1
  439. package/dist/actions/list-webhooks.d.mts +3 -10
  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 -6
  446. package/dist/actions/quote-balance-line.d.cts.map +1 -1
  447. package/dist/actions/quote-balance-line.d.mts +3 -6
  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 -3
  454. package/dist/actions/revoke-customer-links.d.cts.map +1 -1
  455. package/dist/actions/revoke-customer-links.d.mts +3 -3
  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 -14
  462. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
  463. package/dist/actions/update-businesses-billing-address.d.mts +3 -14
  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 -14
  470. package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
  471. package/dist/actions/update-customer-billing-address.d.mts +3 -14
  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 -4
  478. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
  479. package/dist/actions/update-customer-payment-settings.d.mts +3 -4
  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 -15
  486. package/dist/actions/update-customer-shipping.d.cts.map +1 -1
  487. package/dist/actions/update-customer-shipping.d.mts +3 -15
  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 -8
  494. package/dist/actions/update-customer.d.cts.map +1 -1
  495. package/dist/actions/update-customer.d.mts +3 -8
  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 -9
  502. package/dist/actions/update-feature.d.cts.map +1 -1
  503. package/dist/actions/update-feature.d.mts +3 -9
  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 -9
  510. package/dist/actions/update-tax-profiles.d.cts.map +1 -1
  511. package/dist/actions/update-tax-profiles.d.mts +3 -9
  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 +11 -2
  516. package/dist/app.cjs.map +1 -1
  517. package/dist/app.d.cts +10 -1
  518. package/dist/app.d.cts.map +1 -1
  519. package/dist/app.d.mts +10 -1
  520. package/dist/app.d.mts.map +1 -1
  521. package/dist/app.mjs +8 -2
  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.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-customer-billing.d.ts
@@ -25,9 +27,7 @@ declare const ProabonoGetCustomerBillingOutput: z.ZodObject<{
25
27
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
28
  TaxInformation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
29
  }, z.core.$loose>;
28
- declare const proabonoGetCustomerBilling: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- id: number;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ declare const proabonoGetCustomerBilling: AppAction<typeof ProabonoGetCustomerBillingInput, typeof ProabonoGetCustomerBillingOutput, typeof proabono.credential>;
31
31
  //#endregion
32
32
  export { proabonoGetCustomerBilling };
33
33
  //# sourceMappingURL=get-customer-billing.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-billing.d.mts","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"get-customer-billing.d.mts","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAmBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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-billing.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-billing.mjs","names":[],"sources":["../../src/actions/get-customer-billing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerBillingInput = z.object({\n id: z.number().int().describe(\"The customer ID whose billing address to retrieve\"),\n});\nconst ProabonoGetCustomerBilling_LinkSchema = 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();\nexport const ProabonoGetCustomerBillingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerBilling_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoGetCustomerBilling = action(\"PROABONO_GET_CUSTOMER_BILLING\", {\n slug: \"proabono-get-customer-billing\",\n name: \"Get Customer Billing Address\",\n description: \"Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoGetCustomerBillingInput,\n output: ProabonoGetCustomerBillingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,EACnF,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY;AAoBf,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAxB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer-billing.mjs","names":[],"sources":["../../src/actions/get-customer-billing.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 ProabonoGetCustomerBillingInput = z.object({\n id: z.number().int().describe(\"The customer ID whose billing address to retrieve\"),\n});\nconst ProabonoGetCustomerBilling_LinkSchema = 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();\nexport const ProabonoGetCustomerBillingOutput = z.object({\n Id: z.number().int().describe(\"Address object identifier\").nullable().optional(),\n City: z.string().describe(\"City name\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerBilling_LinkSchema).describe(\"HATEOAS navigation links\").nullable().optional(),\n Phone: z.string().describe(\"Phone number\").nullable().optional(),\n Region: z.string().describe(\"ISO 3166-2 region/province/state code\").nullable().optional(),\n Company: z.string().describe(\"Company name\").nullable().optional(),\n Country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n ZipCode: z.string().describe(\"Postal code\").nullable().optional(),\n LastName: z.string().describe(\"Contact last name\").nullable().optional(),\n FirstName: z.string().describe(\"Contact first name\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp\").nullable().optional(),\n IdCustomer: z.number().int().describe(\"Associated customer identifier\").nullable().optional(),\n AddressLine1: z.string().describe(\"Line 1 of the address\").nullable().optional(),\n AddressLine2: z.string().describe(\"Line 2 of the address\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the address\").nullable().optional(),\n TaxInformation: z.string().describe(\"VAT ID or tax identification number\").nullable().optional(),\n}).passthrough();\n\nexport const proabonoGetCustomerBilling: AppAction<\n typeof ProabonoGetCustomerBillingInput,\n typeof ProabonoGetCustomerBillingOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER_BILLING\", {\n slug: \"proabono-get-customer-billing\",\n name: \"Get Customer Billing Address\",\n description: \"Tool to retrieve a customer's billing address via the Backoffice API. Use when you need to fetch billing information including company name, contact details, address lines, and tax information for a specific customer.\",\n input: ProabonoGetCustomerBillingInput,\n output: ProabonoGetCustomerBillingOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC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AAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAWO;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-by-reference.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-by-reference.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1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AAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer-by-reference.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-by-reference.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 ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference: AppAction<\n typeof ProabonoGetCustomerByReferenceInput,\n typeof ProabonoGetCustomerByReferenceOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal 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AC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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-by-reference.d.ts
@@ -23,9 +25,7 @@ declare const ProabonoGetCustomerByReferenceOutput: z.ZodObject<{
23
25
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  ReferenceAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, z.core.$loose>;
26
- declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- reference_customer: string;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const proabonoGetCustomerByReference: AppAction<typeof ProabonoGetCustomerByReferenceInput, typeof ProabonoGetCustomerByReferenceOutput, typeof proabono.credential>;
29
29
  //#endregion
30
30
  export { proabonoGetCustomerByReference };
31
31
  //# sourceMappingURL=get-customer-by-reference.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-by-reference.d.cts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-customer-by-reference.d.cts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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-by-reference.d.ts
@@ -23,9 +25,7 @@ declare const ProabonoGetCustomerByReferenceOutput: z.ZodObject<{
23
25
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  ReferenceAffiliation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
27
  }, z.core.$loose>;
26
- declare const proabonoGetCustomerByReference: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- reference_customer: string;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const proabonoGetCustomerByReference: AppAction<typeof ProabonoGetCustomerByReferenceInput, typeof ProabonoGetCustomerByReferenceOutput, typeof proabono.credential>;
29
29
  //#endregion
30
30
  export { proabonoGetCustomerByReference };
31
31
  //# sourceMappingURL=get-customer-by-reference.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-by-reference.d.mts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"get-customer-by-reference.d.mts","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAgBpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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-by-reference.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-by-reference.mjs","names":[],"sources":["../../src/actions/get-customer-by-reference.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: Proab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SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer-by-reference.mjs","names":[],"sources":["../../src/actions/get-customer-by-reference.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 ProabonoGetCustomerByReferenceInput = z.object({\n reference_customer: z.string().describe(\"The unique reference identifier of the customer to retrieve, used within your own application\"),\n}).describe(\"Request model for retrieving a customer by their reference from ProAbono.\");\nconst ProabonoGetCustomerByReference_CustomerLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type (e.g., 'insite-home', 'insite-collection-offers', 'insite-register')\").nullable().optional(),\n href: z.string().describe(\"URL for accessing the hosted page or customer portal\").nullable().optional(),\n query: z.string().describe(\"Unique encrypted query parameter for secure access\").nullable().optional(),\n}).passthrough().describe(\"Model for navigation links to hosted pages and customer portal.\");\nexport const ProabonoGetCustomerByReferenceOutput = z.object({\n Id: z.number().int().describe(\"Customer identifier\").nullable().optional(),\n Name: z.string().describe(\"Fullname of your customer\").nullable().optional(),\n Email: z.string().describe(\"Email of your customer\").nullable().optional(),\n Links: z.array(ProabonoGetCustomerByReference_CustomerLinkSchema).describe(\"Collection of navigation links to hosted pages and customer portal\").nullable().optional(),\n Status: z.string().describe(\"Status of your Customer (e.g., 'Enabled', 'Suspended')\").nullable().optional(),\n Currency: z.string().describe(\"Customer's currency code (e.g., 'EUR', 'USD')\").nullable().optional(),\n Language: z.string().describe(\"Language of your customer in ISO 639-1 format (e.g., 'en', 'fr')\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"A set of key/value pairs that you can add to a customer (max 5 pairs). Values can be strings, integers, floats, or booleans.\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Id of the Segment in which your Customer has been created\").nullable().optional(),\n DateAffiliation: z.string().describe(\"Affiliation timestamp in UTC/ISO 8601 format\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Segment reference containing the customer\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"The unique identifier used within your own application for this customer\").nullable().optional(),\n ReferenceAffiliation: z.string().describe(\"Reference of the affiliate who brought the customer\").nullable().optional(),\n}).passthrough().describe(\"Response model for a ProAbono customer retrieved by reference.\");\n\nexport const proabonoGetCustomerByReference: AppAction<\n typeof ProabonoGetCustomerByReferenceInput,\n typeof ProabonoGetCustomerByReferenceOutput,\n typeof proabono.credential\n> = action(\"PROABONO_GET_CUSTOMER_BY_REFERENCE\", {\n slug: \"proabono-get-customer-by-reference\",\n name: \"Get Customer by Reference\",\n description: \"Tool to retrieve a customer by their reference identifier from ProAbono API. Use when you need to fetch customer details using the unique reference identifier from your own application rather than the ProAbono internal ID.\",\n input: ProabonoGetCustomerByReferenceInput,\n output: ProabonoGetCustomerByReferenceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsC,EAAE,OAAO,EAC1D,oBAAoB,EAAE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,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;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-payment-settings.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-customer-payment-settings.cjs","names":["z","action"],"sources":["../../src/actions/get-customer-payment-settings.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoGetCustomerPaymentSettingsInput = z.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":";;;AAIA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qCAAqCC,eAAAA,OAAO,0CAA0C;CACjG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-customer-payment-settings.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,EAC1J,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,qCAITC,eAAAA,OAAO,0CAA0C;CACnD,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-payment-settings.d.ts
@@ -12,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const proabonoGetCustomerPaymentSettings: AppAction<typeof ProabonoGetCustomerPaymentSettingsInput, typeof ProabonoGetCustomerPaymentSettingsOutput, typeof proabono.credential>;
18
18
  //#endregion
19
19
  export { proabonoGetCustomerPaymentSettings };
20
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const proabonoGetCustomerPaymentSettings: AppAction<typeof ProabonoGetCustomerPaymentSettingsInput, typeof ProabonoGetCustomerPaymentSettingsOutput, typeof proabono.credential>;
18
18
  //#endregion
19
19
  export { proabonoGetCustomerPaymentSettings };
20
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,SA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BAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"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,8BA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kE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const proabonoGetCustomer: AppAction<typeof ProabonoGetCustomerInput, typeof ProabonoGetCustomerOutput, typeof proabono.credential>;
31
30
  //#endregion
32
31
  export { proabonoGetCustomer };
33
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ declare const proabonoGetCustomer: AppAction<typeof ProabonoGetCustomerInput, typeof ProabonoGetCustomerOutput, typeof proabono.credential>;
31
30
  //#endregion
32
31
  export { proabonoGetCustomer };
33
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,8DAA8D;AAC1E,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAkBpF,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,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,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAkBpF,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA1BuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,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,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,SAAS,mBAAmB;AACjH,MAAM,2CAA2CA,IAAAA,EAAE,KAAK;CAAC;CAAM;CAAc;CAAgB;CAAkB;CAAsB;AAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC5L,MAAM,8CAA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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,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-discount.cjs","names":["z","action"],"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,2BAA2BA,IAAAA,EAAE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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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ declare const proabonoGetDiscount: AppAction<typeof ProabonoGetDiscountInput, typeof ProabonoGetDiscountOutput, typeof proabono.credential>;
51
50
  //#endregion
52
51
  export { proabonoGetDiscount };
53
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
49
+ declare const proabonoGetDiscount: AppAction<typeof ProabonoGetDiscountInput, typeof ProabonoGetDiscountOutput, typeof proabono.credential>;
51
50
  //#endregion
52
51
  export { proabonoGetDiscount };
53
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,CAAC,CAAC,SAAS,mBAAmB;AACjH,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAM;CAAc;CAAgB;CAAkB;CAAsB;AAAS,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC5L,MAAM,8CAA8C,EAAE,KAAK;CAA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A2C,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,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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AAC,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,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,2BA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AAA,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,SAAS,CAAC,CAAC,SAAS;CACrE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC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;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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const proabonoGetFeature: AppAction<typeof ProabonoGetFeatureInput, typeof ProabonoGetFeatureOutput, typeof proabono.credential>;
28
27
  //#endregion
29
28
  export { proabonoGetFeature };
30
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,10 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const proabonoGetFeature: AppAction<typeof ProabonoGetFeatureInput, typeof ProabonoGetFeatureOutput, typeof proabono.credential>;
28
27
  //#endregion
29
28
  export { proabonoGetFeature };
30
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"}