@keystrokehq/proabono 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (525) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/anonymize-customer.cjs +1 -0
  4. package/dist/actions/anonymize-customer.cjs.map +1 -1
  5. package/dist/actions/anonymize-customer.d.cts +3 -21
  6. package/dist/actions/anonymize-customer.d.cts.map +1 -1
  7. package/dist/actions/anonymize-customer.d.mts +3 -21
  8. package/dist/actions/anonymize-customer.d.mts.map +1 -1
  9. package/dist/actions/anonymize-customer.mjs +1 -0
  10. package/dist/actions/anonymize-customer.mjs.map +1 -1
  11. package/dist/actions/bill-customer.cjs +1 -0
  12. package/dist/actions/bill-customer.cjs.map +1 -1
  13. package/dist/actions/bill-customer.d.cts +3 -21
  14. package/dist/actions/bill-customer.d.cts.map +1 -1
  15. package/dist/actions/bill-customer.d.mts +3 -21
  16. package/dist/actions/bill-customer.d.mts.map +1 -1
  17. package/dist/actions/bill-customer.mjs +1 -0
  18. package/dist/actions/bill-customer.mjs.map +1 -1
  19. package/dist/actions/create-customer.cjs +1 -0
  20. package/dist/actions/create-customer.cjs.map +1 -1
  21. package/dist/actions/create-customer.d.cts +3 -28
  22. package/dist/actions/create-customer.d.cts.map +1 -1
  23. package/dist/actions/create-customer.d.mts +3 -28
  24. package/dist/actions/create-customer.d.mts.map +1 -1
  25. package/dist/actions/create-customer.mjs +1 -0
  26. package/dist/actions/create-customer.mjs.map +1 -1
  27. package/dist/actions/create-feature.cjs +1 -0
  28. package/dist/actions/create-feature.cjs.map +1 -1
  29. package/dist/actions/create-feature.d.cts +3 -26
  30. package/dist/actions/create-feature.d.cts.map +1 -1
  31. package/dist/actions/create-feature.d.mts +3 -26
  32. package/dist/actions/create-feature.d.mts.map +1 -1
  33. package/dist/actions/create-feature.mjs +1 -0
  34. package/dist/actions/create-feature.mjs.map +1 -1
  35. package/dist/actions/delete-customer.cjs +1 -0
  36. package/dist/actions/delete-customer.cjs.map +1 -1
  37. package/dist/actions/delete-customer.d.cts +3 -21
  38. package/dist/actions/delete-customer.d.cts.map +1 -1
  39. package/dist/actions/delete-customer.d.mts +3 -21
  40. package/dist/actions/delete-customer.d.mts.map +1 -1
  41. package/dist/actions/delete-customer.mjs +1 -0
  42. package/dist/actions/delete-customer.mjs.map +1 -1
  43. package/dist/actions/delete-offer.cjs +1 -0
  44. package/dist/actions/delete-offer.cjs.map +1 -1
  45. package/dist/actions/delete-offer.d.cts +3 -21
  46. package/dist/actions/delete-offer.d.cts.map +1 -1
  47. package/dist/actions/delete-offer.d.mts +3 -21
  48. package/dist/actions/delete-offer.d.mts.map +1 -1
  49. package/dist/actions/delete-offer.mjs +1 -0
  50. package/dist/actions/delete-offer.mjs.map +1 -1
  51. package/dist/actions/delete-pricing-table-offer.cjs +1 -0
  52. package/dist/actions/delete-pricing-table-offer.cjs.map +1 -1
  53. package/dist/actions/delete-pricing-table-offer.d.cts +3 -21
  54. package/dist/actions/delete-pricing-table-offer.d.cts.map +1 -1
  55. package/dist/actions/delete-pricing-table-offer.d.mts +3 -21
  56. package/dist/actions/delete-pricing-table-offer.d.mts.map +1 -1
  57. package/dist/actions/delete-pricing-table-offer.mjs +1 -0
  58. package/dist/actions/delete-pricing-table-offer.mjs.map +1 -1
  59. package/dist/actions/delete-pricing-table.cjs +1 -0
  60. package/dist/actions/delete-pricing-table.cjs.map +1 -1
  61. package/dist/actions/delete-pricing-table.d.cts +3 -21
  62. package/dist/actions/delete-pricing-table.d.cts.map +1 -1
  63. package/dist/actions/delete-pricing-table.d.mts +3 -21
  64. package/dist/actions/delete-pricing-table.d.mts.map +1 -1
  65. package/dist/actions/delete-pricing-table.mjs +1 -0
  66. package/dist/actions/delete-pricing-table.mjs.map +1 -1
  67. package/dist/actions/delete-subscription-discount.cjs +1 -0
  68. package/dist/actions/delete-subscription-discount.cjs.map +1 -1
  69. package/dist/actions/delete-subscription-discount.d.cts +3 -21
  70. package/dist/actions/delete-subscription-discount.d.cts.map +1 -1
  71. package/dist/actions/delete-subscription-discount.d.mts +3 -21
  72. package/dist/actions/delete-subscription-discount.d.mts.map +1 -1
  73. package/dist/actions/delete-subscription-discount.mjs +1 -0
  74. package/dist/actions/delete-subscription-discount.mjs.map +1 -1
  75. package/dist/actions/enable-webhook.cjs +1 -0
  76. package/dist/actions/enable-webhook.cjs.map +1 -1
  77. package/dist/actions/enable-webhook.d.cts +3 -21
  78. package/dist/actions/enable-webhook.d.cts.map +1 -1
  79. package/dist/actions/enable-webhook.d.mts +3 -21
  80. package/dist/actions/enable-webhook.d.mts.map +1 -1
  81. package/dist/actions/enable-webhook.mjs +1 -0
  82. package/dist/actions/enable-webhook.mjs.map +1 -1
  83. package/dist/actions/get-customer-billing-address.cjs +1 -0
  84. package/dist/actions/get-customer-billing-address.cjs.map +1 -1
  85. package/dist/actions/get-customer-billing-address.d.cts +3 -21
  86. package/dist/actions/get-customer-billing-address.d.cts.map +1 -1
  87. package/dist/actions/get-customer-billing-address.d.mts +3 -21
  88. package/dist/actions/get-customer-billing-address.d.mts.map +1 -1
  89. package/dist/actions/get-customer-billing-address.mjs +1 -0
  90. package/dist/actions/get-customer-billing-address.mjs.map +1 -1
  91. package/dist/actions/get-customer-billing.cjs +1 -0
  92. package/dist/actions/get-customer-billing.cjs.map +1 -1
  93. package/dist/actions/get-customer-billing.d.cts +3 -21
  94. package/dist/actions/get-customer-billing.d.cts.map +1 -1
  95. package/dist/actions/get-customer-billing.d.mts +3 -21
  96. package/dist/actions/get-customer-billing.d.mts.map +1 -1
  97. package/dist/actions/get-customer-billing.mjs +1 -0
  98. package/dist/actions/get-customer-billing.mjs.map +1 -1
  99. package/dist/actions/get-customer-by-reference.cjs +1 -0
  100. package/dist/actions/get-customer-by-reference.cjs.map +1 -1
  101. package/dist/actions/get-customer-by-reference.d.cts +3 -21
  102. package/dist/actions/get-customer-by-reference.d.cts.map +1 -1
  103. package/dist/actions/get-customer-by-reference.d.mts +3 -21
  104. package/dist/actions/get-customer-by-reference.d.mts.map +1 -1
  105. package/dist/actions/get-customer-by-reference.mjs +1 -0
  106. package/dist/actions/get-customer-by-reference.mjs.map +1 -1
  107. package/dist/actions/get-customer-payment-settings.cjs +1 -0
  108. package/dist/actions/get-customer-payment-settings.cjs.map +1 -1
  109. package/dist/actions/get-customer-payment-settings.d.cts +3 -21
  110. package/dist/actions/get-customer-payment-settings.d.cts.map +1 -1
  111. package/dist/actions/get-customer-payment-settings.d.mts +3 -21
  112. package/dist/actions/get-customer-payment-settings.d.mts.map +1 -1
  113. package/dist/actions/get-customer-payment-settings.mjs +1 -0
  114. package/dist/actions/get-customer-payment-settings.mjs.map +1 -1
  115. package/dist/actions/get-customer.cjs +1 -0
  116. package/dist/actions/get-customer.cjs.map +1 -1
  117. package/dist/actions/get-customer.d.cts +3 -22
  118. package/dist/actions/get-customer.d.cts.map +1 -1
  119. package/dist/actions/get-customer.d.mts +3 -22
  120. package/dist/actions/get-customer.d.mts.map +1 -1
  121. package/dist/actions/get-customer.mjs +1 -0
  122. package/dist/actions/get-customer.mjs.map +1 -1
  123. package/dist/actions/get-discount.cjs +1 -0
  124. package/dist/actions/get-discount.cjs.map +1 -1
  125. package/dist/actions/get-discount.d.cts +3 -22
  126. package/dist/actions/get-discount.d.cts.map +1 -1
  127. package/dist/actions/get-discount.d.mts +3 -22
  128. package/dist/actions/get-discount.d.mts.map +1 -1
  129. package/dist/actions/get-discount.mjs +1 -0
  130. package/dist/actions/get-discount.mjs.map +1 -1
  131. package/dist/actions/get-feature.cjs +1 -0
  132. package/dist/actions/get-feature.cjs.map +1 -1
  133. package/dist/actions/get-feature.d.cts +3 -22
  134. package/dist/actions/get-feature.d.cts.map +1 -1
  135. package/dist/actions/get-feature.d.mts +3 -22
  136. package/dist/actions/get-feature.d.mts.map +1 -1
  137. package/dist/actions/get-feature.mjs +1 -0
  138. package/dist/actions/get-feature.mjs.map +1 -1
  139. package/dist/actions/get-invoice.cjs +1 -0
  140. package/dist/actions/get-invoice.cjs.map +1 -1
  141. package/dist/actions/get-invoice.d.cts +3 -21
  142. package/dist/actions/get-invoice.d.cts.map +1 -1
  143. package/dist/actions/get-invoice.d.mts +3 -21
  144. package/dist/actions/get-invoice.d.mts.map +1 -1
  145. package/dist/actions/get-invoice.mjs +1 -0
  146. package/dist/actions/get-invoice.mjs.map +1 -1
  147. package/dist/actions/get-offer.cjs +1 -0
  148. package/dist/actions/get-offer.cjs.map +1 -1
  149. package/dist/actions/get-offer.d.cts +3 -22
  150. package/dist/actions/get-offer.d.cts.map +1 -1
  151. package/dist/actions/get-offer.d.mts +3 -22
  152. package/dist/actions/get-offer.d.mts.map +1 -1
  153. package/dist/actions/get-offer.mjs +1 -0
  154. package/dist/actions/get-offer.mjs.map +1 -1
  155. package/dist/actions/get-subscription-by-customer.cjs +1 -0
  156. package/dist/actions/get-subscription-by-customer.cjs.map +1 -1
  157. package/dist/actions/get-subscription-by-customer.d.cts +3 -22
  158. package/dist/actions/get-subscription-by-customer.d.cts.map +1 -1
  159. package/dist/actions/get-subscription-by-customer.d.mts +3 -22
  160. package/dist/actions/get-subscription-by-customer.d.mts.map +1 -1
  161. package/dist/actions/get-subscription-by-customer.mjs +1 -0
  162. package/dist/actions/get-subscription-by-customer.mjs.map +1 -1
  163. package/dist/actions/get-subscription-creation-quote.cjs +1 -0
  164. package/dist/actions/get-subscription-creation-quote.cjs.map +1 -1
  165. package/dist/actions/get-subscription-creation-quote.d.cts +3 -22
  166. package/dist/actions/get-subscription-creation-quote.d.cts.map +1 -1
  167. package/dist/actions/get-subscription-creation-quote.d.mts +3 -22
  168. package/dist/actions/get-subscription-creation-quote.d.mts.map +1 -1
  169. package/dist/actions/get-subscription-creation-quote.mjs +1 -0
  170. package/dist/actions/get-subscription-creation-quote.mjs.map +1 -1
  171. package/dist/actions/get-usage.cjs +1 -0
  172. package/dist/actions/get-usage.cjs.map +1 -1
  173. package/dist/actions/get-usage.d.cts +3 -22
  174. package/dist/actions/get-usage.d.cts.map +1 -1
  175. package/dist/actions/get-usage.d.mts +3 -22
  176. package/dist/actions/get-usage.d.mts.map +1 -1
  177. package/dist/actions/get-usage.mjs +1 -0
  178. package/dist/actions/get-usage.mjs.map +1 -1
  179. package/dist/actions/get-usages-for-customer.cjs +1 -0
  180. package/dist/actions/get-usages-for-customer.cjs.map +1 -1
  181. package/dist/actions/get-usages-for-customer.d.cts +3 -23
  182. package/dist/actions/get-usages-for-customer.d.cts.map +1 -1
  183. package/dist/actions/get-usages-for-customer.d.mts +3 -23
  184. package/dist/actions/get-usages-for-customer.d.mts.map +1 -1
  185. package/dist/actions/get-usages-for-customer.mjs +1 -0
  186. package/dist/actions/get-usages-for-customer.mjs.map +1 -1
  187. package/dist/actions/invalidate-customer-by-id.cjs +1 -0
  188. package/dist/actions/invalidate-customer-by-id.cjs.map +1 -1
  189. package/dist/actions/invalidate-customer-by-id.d.cts +3 -21
  190. package/dist/actions/invalidate-customer-by-id.d.cts.map +1 -1
  191. package/dist/actions/invalidate-customer-by-id.d.mts +3 -21
  192. package/dist/actions/invalidate-customer-by-id.d.mts.map +1 -1
  193. package/dist/actions/invalidate-customer-by-id.mjs +1 -0
  194. package/dist/actions/invalidate-customer-by-id.mjs.map +1 -1
  195. package/dist/actions/invalidate-customer.cjs +1 -0
  196. package/dist/actions/invalidate-customer.cjs.map +1 -1
  197. package/dist/actions/invalidate-customer.d.cts +3 -21
  198. package/dist/actions/invalidate-customer.d.cts.map +1 -1
  199. package/dist/actions/invalidate-customer.d.mts +3 -21
  200. package/dist/actions/invalidate-customer.d.mts.map +1 -1
  201. package/dist/actions/invalidate-customer.mjs +1 -0
  202. package/dist/actions/invalidate-customer.mjs.map +1 -1
  203. package/dist/actions/list-balance-lines.cjs +1 -0
  204. package/dist/actions/list-balance-lines.cjs.map +1 -1
  205. package/dist/actions/list-balance-lines.d.cts +3 -25
  206. package/dist/actions/list-balance-lines.d.cts.map +1 -1
  207. package/dist/actions/list-balance-lines.d.mts +3 -25
  208. package/dist/actions/list-balance-lines.d.mts.map +1 -1
  209. package/dist/actions/list-balance-lines.mjs +1 -0
  210. package/dist/actions/list-balance-lines.mjs.map +1 -1
  211. package/dist/actions/list-business-localization.cjs +1 -0
  212. package/dist/actions/list-business-localization.cjs.map +1 -1
  213. package/dist/actions/list-business-localization.d.cts +3 -27
  214. package/dist/actions/list-business-localization.d.cts.map +1 -1
  215. package/dist/actions/list-business-localization.d.mts +3 -27
  216. package/dist/actions/list-business-localization.d.mts.map +1 -1
  217. package/dist/actions/list-business-localization.mjs +1 -0
  218. package/dist/actions/list-business-localization.mjs.map +1 -1
  219. package/dist/actions/list-businesses.cjs +1 -0
  220. package/dist/actions/list-businesses.cjs.map +1 -1
  221. package/dist/actions/list-businesses.d.cts +3 -24
  222. package/dist/actions/list-businesses.d.cts.map +1 -1
  223. package/dist/actions/list-businesses.d.mts +3 -24
  224. package/dist/actions/list-businesses.d.mts.map +1 -1
  225. package/dist/actions/list-businesses.mjs +1 -0
  226. package/dist/actions/list-businesses.mjs.map +1 -1
  227. package/dist/actions/list-customer-moves.cjs +1 -0
  228. package/dist/actions/list-customer-moves.cjs.map +1 -1
  229. package/dist/actions/list-customer-moves.d.cts +3 -28
  230. package/dist/actions/list-customer-moves.d.cts.map +1 -1
  231. package/dist/actions/list-customer-moves.d.mts +3 -28
  232. package/dist/actions/list-customer-moves.d.mts.map +1 -1
  233. package/dist/actions/list-customer-moves.mjs +1 -0
  234. package/dist/actions/list-customer-moves.mjs.map +1 -1
  235. package/dist/actions/list-customers-by-feature.cjs +1 -0
  236. package/dist/actions/list-customers-by-feature.cjs.map +1 -1
  237. package/dist/actions/list-customers-by-feature.d.cts +3 -24
  238. package/dist/actions/list-customers-by-feature.d.cts.map +1 -1
  239. package/dist/actions/list-customers-by-feature.d.mts +3 -24
  240. package/dist/actions/list-customers-by-feature.d.mts.map +1 -1
  241. package/dist/actions/list-customers-by-feature.mjs +1 -0
  242. package/dist/actions/list-customers-by-feature.mjs.map +1 -1
  243. package/dist/actions/list-customers.cjs +1 -0
  244. package/dist/actions/list-customers.cjs.map +1 -1
  245. package/dist/actions/list-customers.d.cts +3 -26
  246. package/dist/actions/list-customers.d.cts.map +1 -1
  247. package/dist/actions/list-customers.d.mts +3 -26
  248. package/dist/actions/list-customers.d.mts.map +1 -1
  249. package/dist/actions/list-customers.mjs +1 -0
  250. package/dist/actions/list-customers.mjs.map +1 -1
  251. package/dist/actions/list-discounts.cjs +1 -0
  252. package/dist/actions/list-discounts.cjs.map +1 -1
  253. package/dist/actions/list-discounts.d.cts +3 -24
  254. package/dist/actions/list-discounts.d.cts.map +1 -1
  255. package/dist/actions/list-discounts.d.mts +3 -24
  256. package/dist/actions/list-discounts.d.mts.map +1 -1
  257. package/dist/actions/list-discounts.mjs +1 -0
  258. package/dist/actions/list-discounts.mjs.map +1 -1
  259. package/dist/actions/list-features.cjs +1 -0
  260. package/dist/actions/list-features.cjs.map +1 -1
  261. package/dist/actions/list-features.d.cts +3 -24
  262. package/dist/actions/list-features.d.cts.map +1 -1
  263. package/dist/actions/list-features.d.mts +3 -24
  264. package/dist/actions/list-features.d.mts.map +1 -1
  265. package/dist/actions/list-features.mjs +1 -0
  266. package/dist/actions/list-features.mjs.map +1 -1
  267. package/dist/actions/list-gateway-accounts.cjs +1 -0
  268. package/dist/actions/list-gateway-accounts.cjs.map +1 -1
  269. package/dist/actions/list-gateway-accounts.d.cts +3 -26
  270. package/dist/actions/list-gateway-accounts.d.cts.map +1 -1
  271. package/dist/actions/list-gateway-accounts.d.mts +3 -26
  272. package/dist/actions/list-gateway-accounts.d.mts.map +1 -1
  273. package/dist/actions/list-gateway-accounts.mjs +1 -0
  274. package/dist/actions/list-gateway-accounts.mjs.map +1 -1
  275. package/dist/actions/list-gateway-permissions.cjs +1 -0
  276. package/dist/actions/list-gateway-permissions.cjs.map +1 -1
  277. package/dist/actions/list-gateway-permissions.d.cts +3 -23
  278. package/dist/actions/list-gateway-permissions.d.cts.map +1 -1
  279. package/dist/actions/list-gateway-permissions.d.mts +3 -23
  280. package/dist/actions/list-gateway-permissions.d.mts.map +1 -1
  281. package/dist/actions/list-gateway-permissions.mjs +1 -0
  282. package/dist/actions/list-gateway-permissions.mjs.map +1 -1
  283. package/dist/actions/list-gateway-requests.cjs +1 -0
  284. package/dist/actions/list-gateway-requests.cjs.map +1 -1
  285. package/dist/actions/list-gateway-requests.d.cts +3 -31
  286. package/dist/actions/list-gateway-requests.d.cts.map +1 -1
  287. package/dist/actions/list-gateway-requests.d.mts +3 -31
  288. package/dist/actions/list-gateway-requests.d.mts.map +1 -1
  289. package/dist/actions/list-gateway-requests.mjs +1 -0
  290. package/dist/actions/list-gateway-requests.mjs.map +1 -1
  291. package/dist/actions/list-gateway-transactions.cjs +1 -0
  292. package/dist/actions/list-gateway-transactions.cjs.map +1 -1
  293. package/dist/actions/list-gateway-transactions.d.cts +3 -25
  294. package/dist/actions/list-gateway-transactions.d.cts.map +1 -1
  295. package/dist/actions/list-gateway-transactions.d.mts +3 -25
  296. package/dist/actions/list-gateway-transactions.d.mts.map +1 -1
  297. package/dist/actions/list-gateway-transactions.mjs +1 -0
  298. package/dist/actions/list-gateway-transactions.mjs.map +1 -1
  299. package/dist/actions/list-invoice-lines.cjs +1 -0
  300. package/dist/actions/list-invoice-lines.cjs.map +1 -1
  301. package/dist/actions/list-invoice-lines.d.cts +3 -23
  302. package/dist/actions/list-invoice-lines.d.cts.map +1 -1
  303. package/dist/actions/list-invoice-lines.d.mts +3 -23
  304. package/dist/actions/list-invoice-lines.d.mts.map +1 -1
  305. package/dist/actions/list-invoice-lines.mjs +1 -0
  306. package/dist/actions/list-invoice-lines.mjs.map +1 -1
  307. package/dist/actions/list-invoices-by-customer.cjs +1 -0
  308. package/dist/actions/list-invoices-by-customer.cjs.map +1 -1
  309. package/dist/actions/list-invoices-by-customer.d.cts +3 -23
  310. package/dist/actions/list-invoices-by-customer.d.cts.map +1 -1
  311. package/dist/actions/list-invoices-by-customer.d.mts +3 -23
  312. package/dist/actions/list-invoices-by-customer.d.mts.map +1 -1
  313. package/dist/actions/list-invoices-by-customer.mjs +1 -0
  314. package/dist/actions/list-invoices-by-customer.mjs.map +1 -1
  315. package/dist/actions/list-invoices.cjs +1 -0
  316. package/dist/actions/list-invoices.cjs.map +1 -1
  317. package/dist/actions/list-invoices.d.cts +3 -25
  318. package/dist/actions/list-invoices.d.cts.map +1 -1
  319. package/dist/actions/list-invoices.d.mts +3 -25
  320. package/dist/actions/list-invoices.d.mts.map +1 -1
  321. package/dist/actions/list-invoices.mjs +1 -0
  322. package/dist/actions/list-invoices.mjs.map +1 -1
  323. package/dist/actions/list-offers.cjs +1 -0
  324. package/dist/actions/list-offers.cjs.map +1 -1
  325. package/dist/actions/list-offers.d.cts +3 -26
  326. package/dist/actions/list-offers.d.cts.map +1 -1
  327. package/dist/actions/list-offers.d.mts +3 -26
  328. package/dist/actions/list-offers.d.mts.map +1 -1
  329. package/dist/actions/list-offers.mjs +1 -0
  330. package/dist/actions/list-offers.mjs.map +1 -1
  331. package/dist/actions/list-payments.cjs +1 -0
  332. package/dist/actions/list-payments.cjs.map +1 -1
  333. package/dist/actions/list-payments.d.cts +3 -25
  334. package/dist/actions/list-payments.d.cts.map +1 -1
  335. package/dist/actions/list-payments.d.mts +3 -25
  336. package/dist/actions/list-payments.d.mts.map +1 -1
  337. package/dist/actions/list-payments.mjs +1 -0
  338. package/dist/actions/list-payments.mjs.map +1 -1
  339. package/dist/actions/list-pricing-table-offers.cjs +1 -0
  340. package/dist/actions/list-pricing-table-offers.cjs.map +1 -1
  341. package/dist/actions/list-pricing-table-offers.d.cts +3 -23
  342. package/dist/actions/list-pricing-table-offers.d.cts.map +1 -1
  343. package/dist/actions/list-pricing-table-offers.d.mts +3 -23
  344. package/dist/actions/list-pricing-table-offers.d.mts.map +1 -1
  345. package/dist/actions/list-pricing-table-offers.mjs +1 -0
  346. package/dist/actions/list-pricing-table-offers.mjs.map +1 -1
  347. package/dist/actions/list-pricing-tables.cjs +1 -0
  348. package/dist/actions/list-pricing-tables.cjs.map +1 -1
  349. package/dist/actions/list-pricing-tables.d.cts +3 -25
  350. package/dist/actions/list-pricing-tables.d.cts.map +1 -1
  351. package/dist/actions/list-pricing-tables.d.mts +3 -25
  352. package/dist/actions/list-pricing-tables.d.mts.map +1 -1
  353. package/dist/actions/list-pricing-tables.mjs +1 -0
  354. package/dist/actions/list-pricing-tables.mjs.map +1 -1
  355. package/dist/actions/list-segment-localizations.cjs +1 -0
  356. package/dist/actions/list-segment-localizations.cjs.map +1 -1
  357. package/dist/actions/list-segment-localizations.d.cts +3 -27
  358. package/dist/actions/list-segment-localizations.d.cts.map +1 -1
  359. package/dist/actions/list-segment-localizations.d.mts +3 -27
  360. package/dist/actions/list-segment-localizations.d.mts.map +1 -1
  361. package/dist/actions/list-segment-localizations.mjs +1 -0
  362. package/dist/actions/list-segment-localizations.mjs.map +1 -1
  363. package/dist/actions/list-segments.cjs +1 -0
  364. package/dist/actions/list-segments.cjs.map +1 -1
  365. package/dist/actions/list-segments.d.cts +3 -24
  366. package/dist/actions/list-segments.d.cts.map +1 -1
  367. package/dist/actions/list-segments.d.mts +3 -24
  368. package/dist/actions/list-segments.d.mts.map +1 -1
  369. package/dist/actions/list-segments.mjs +1 -0
  370. package/dist/actions/list-segments.mjs.map +1 -1
  371. package/dist/actions/list-subscription-discounts.cjs +1 -0
  372. package/dist/actions/list-subscription-discounts.cjs.map +1 -1
  373. package/dist/actions/list-subscription-discounts.d.cts +3 -23
  374. package/dist/actions/list-subscription-discounts.d.cts.map +1 -1
  375. package/dist/actions/list-subscription-discounts.d.mts +3 -23
  376. package/dist/actions/list-subscription-discounts.d.mts.map +1 -1
  377. package/dist/actions/list-subscription-discounts.mjs +1 -0
  378. package/dist/actions/list-subscription-discounts.mjs.map +1 -1
  379. package/dist/actions/list-subscription-features.cjs +1 -0
  380. package/dist/actions/list-subscription-features.cjs.map +1 -1
  381. package/dist/actions/list-subscription-features.d.cts +3 -23
  382. package/dist/actions/list-subscription-features.d.cts.map +1 -1
  383. package/dist/actions/list-subscription-features.d.mts +3 -23
  384. package/dist/actions/list-subscription-features.d.mts.map +1 -1
  385. package/dist/actions/list-subscription-features.mjs +1 -0
  386. package/dist/actions/list-subscription-features.mjs.map +1 -1
  387. package/dist/actions/list-subscription-periods.cjs +1 -0
  388. package/dist/actions/list-subscription-periods.cjs.map +1 -1
  389. package/dist/actions/list-subscription-periods.d.cts +3 -25
  390. package/dist/actions/list-subscription-periods.d.cts.map +1 -1
  391. package/dist/actions/list-subscription-periods.d.mts +3 -25
  392. package/dist/actions/list-subscription-periods.d.mts.map +1 -1
  393. package/dist/actions/list-subscription-periods.mjs +1 -0
  394. package/dist/actions/list-subscription-periods.mjs.map +1 -1
  395. package/dist/actions/list-subscriptions.cjs +1 -0
  396. package/dist/actions/list-subscriptions.cjs.map +1 -1
  397. package/dist/actions/list-subscriptions.d.cts +3 -25
  398. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  399. package/dist/actions/list-subscriptions.d.mts +3 -25
  400. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  401. package/dist/actions/list-subscriptions.mjs +1 -0
  402. package/dist/actions/list-subscriptions.mjs.map +1 -1
  403. package/dist/actions/list-tax-profile-exceptions.cjs +1 -0
  404. package/dist/actions/list-tax-profile-exceptions.cjs.map +1 -1
  405. package/dist/actions/list-tax-profile-exceptions.d.cts +3 -26
  406. package/dist/actions/list-tax-profile-exceptions.d.cts.map +1 -1
  407. package/dist/actions/list-tax-profile-exceptions.d.mts +3 -26
  408. package/dist/actions/list-tax-profile-exceptions.d.mts.map +1 -1
  409. package/dist/actions/list-tax-profile-exceptions.mjs +1 -0
  410. package/dist/actions/list-tax-profile-exceptions.mjs.map +1 -1
  411. package/dist/actions/list-tax-profiles.cjs +1 -0
  412. package/dist/actions/list-tax-profiles.cjs.map +1 -1
  413. package/dist/actions/list-tax-profiles.d.cts +3 -23
  414. package/dist/actions/list-tax-profiles.d.cts.map +1 -1
  415. package/dist/actions/list-tax-profiles.d.mts +3 -23
  416. package/dist/actions/list-tax-profiles.d.mts.map +1 -1
  417. package/dist/actions/list-tax-profiles.mjs +1 -0
  418. package/dist/actions/list-tax-profiles.mjs.map +1 -1
  419. package/dist/actions/list-upgrade-offers.cjs +1 -0
  420. package/dist/actions/list-upgrade-offers.cjs.map +1 -1
  421. package/dist/actions/list-upgrade-offers.d.cts +3 -24
  422. package/dist/actions/list-upgrade-offers.d.cts.map +1 -1
  423. package/dist/actions/list-upgrade-offers.d.mts +3 -24
  424. package/dist/actions/list-upgrade-offers.d.mts.map +1 -1
  425. package/dist/actions/list-upgrade-offers.mjs +1 -0
  426. package/dist/actions/list-upgrade-offers.mjs.map +1 -1
  427. package/dist/actions/list-webhook-notifications.cjs +1 -0
  428. package/dist/actions/list-webhook-notifications.cjs.map +1 -1
  429. package/dist/actions/list-webhook-notifications.d.cts +3 -30
  430. package/dist/actions/list-webhook-notifications.d.cts.map +1 -1
  431. package/dist/actions/list-webhook-notifications.d.mts +3 -30
  432. package/dist/actions/list-webhook-notifications.d.mts.map +1 -1
  433. package/dist/actions/list-webhook-notifications.mjs +1 -0
  434. package/dist/actions/list-webhook-notifications.mjs.map +1 -1
  435. package/dist/actions/list-webhooks.cjs +1 -0
  436. package/dist/actions/list-webhooks.cjs.map +1 -1
  437. package/dist/actions/list-webhooks.d.cts +3 -28
  438. package/dist/actions/list-webhooks.d.cts.map +1 -1
  439. package/dist/actions/list-webhooks.d.mts +3 -28
  440. package/dist/actions/list-webhooks.d.mts.map +1 -1
  441. package/dist/actions/list-webhooks.mjs +1 -0
  442. package/dist/actions/list-webhooks.mjs.map +1 -1
  443. package/dist/actions/quote-balance-line.cjs +1 -0
  444. package/dist/actions/quote-balance-line.cjs.map +1 -1
  445. package/dist/actions/quote-balance-line.d.cts +3 -24
  446. package/dist/actions/quote-balance-line.d.cts.map +1 -1
  447. package/dist/actions/quote-balance-line.d.mts +3 -24
  448. package/dist/actions/quote-balance-line.d.mts.map +1 -1
  449. package/dist/actions/quote-balance-line.mjs +1 -0
  450. package/dist/actions/quote-balance-line.mjs.map +1 -1
  451. package/dist/actions/revoke-customer-links.cjs +1 -0
  452. package/dist/actions/revoke-customer-links.cjs.map +1 -1
  453. package/dist/actions/revoke-customer-links.d.cts +3 -21
  454. package/dist/actions/revoke-customer-links.d.cts.map +1 -1
  455. package/dist/actions/revoke-customer-links.d.mts +3 -21
  456. package/dist/actions/revoke-customer-links.d.mts.map +1 -1
  457. package/dist/actions/revoke-customer-links.mjs +1 -0
  458. package/dist/actions/revoke-customer-links.mjs.map +1 -1
  459. package/dist/actions/update-businesses-billing-address.cjs +1 -0
  460. package/dist/actions/update-businesses-billing-address.cjs.map +1 -1
  461. package/dist/actions/update-businesses-billing-address.d.cts +3 -32
  462. package/dist/actions/update-businesses-billing-address.d.cts.map +1 -1
  463. package/dist/actions/update-businesses-billing-address.d.mts +3 -32
  464. package/dist/actions/update-businesses-billing-address.d.mts.map +1 -1
  465. package/dist/actions/update-businesses-billing-address.mjs +1 -0
  466. package/dist/actions/update-businesses-billing-address.mjs.map +1 -1
  467. package/dist/actions/update-customer-billing-address.cjs +1 -0
  468. package/dist/actions/update-customer-billing-address.cjs.map +1 -1
  469. package/dist/actions/update-customer-billing-address.d.cts +3 -32
  470. package/dist/actions/update-customer-billing-address.d.cts.map +1 -1
  471. package/dist/actions/update-customer-billing-address.d.mts +3 -32
  472. package/dist/actions/update-customer-billing-address.d.mts.map +1 -1
  473. package/dist/actions/update-customer-billing-address.mjs +1 -0
  474. package/dist/actions/update-customer-billing-address.mjs.map +1 -1
  475. package/dist/actions/update-customer-payment-settings.cjs +1 -0
  476. package/dist/actions/update-customer-payment-settings.cjs.map +1 -1
  477. package/dist/actions/update-customer-payment-settings.d.cts +3 -22
  478. package/dist/actions/update-customer-payment-settings.d.cts.map +1 -1
  479. package/dist/actions/update-customer-payment-settings.d.mts +3 -22
  480. package/dist/actions/update-customer-payment-settings.d.mts.map +1 -1
  481. package/dist/actions/update-customer-payment-settings.mjs +1 -0
  482. package/dist/actions/update-customer-payment-settings.mjs.map +1 -1
  483. package/dist/actions/update-customer-shipping.cjs +1 -0
  484. package/dist/actions/update-customer-shipping.cjs.map +1 -1
  485. package/dist/actions/update-customer-shipping.d.cts +3 -33
  486. package/dist/actions/update-customer-shipping.d.cts.map +1 -1
  487. package/dist/actions/update-customer-shipping.d.mts +3 -33
  488. package/dist/actions/update-customer-shipping.d.mts.map +1 -1
  489. package/dist/actions/update-customer-shipping.mjs +1 -0
  490. package/dist/actions/update-customer-shipping.mjs.map +1 -1
  491. package/dist/actions/update-customer.cjs +1 -0
  492. package/dist/actions/update-customer.cjs.map +1 -1
  493. package/dist/actions/update-customer.d.cts +3 -26
  494. package/dist/actions/update-customer.d.cts.map +1 -1
  495. package/dist/actions/update-customer.d.mts +3 -26
  496. package/dist/actions/update-customer.d.mts.map +1 -1
  497. package/dist/actions/update-customer.mjs +1 -0
  498. package/dist/actions/update-customer.mjs.map +1 -1
  499. package/dist/actions/update-feature.cjs +1 -0
  500. package/dist/actions/update-feature.cjs.map +1 -1
  501. package/dist/actions/update-feature.d.cts +3 -27
  502. package/dist/actions/update-feature.d.cts.map +1 -1
  503. package/dist/actions/update-feature.d.mts +3 -27
  504. package/dist/actions/update-feature.d.mts.map +1 -1
  505. package/dist/actions/update-feature.mjs +1 -0
  506. package/dist/actions/update-feature.mjs.map +1 -1
  507. package/dist/actions/update-tax-profiles.cjs +1 -0
  508. package/dist/actions/update-tax-profiles.cjs.map +1 -1
  509. package/dist/actions/update-tax-profiles.d.cts +3 -27
  510. package/dist/actions/update-tax-profiles.d.cts.map +1 -1
  511. package/dist/actions/update-tax-profiles.d.mts +3 -27
  512. package/dist/actions/update-tax-profiles.d.mts.map +1 -1
  513. package/dist/actions/update-tax-profiles.mjs +1 -0
  514. package/dist/actions/update-tax-profiles.mjs.map +1 -1
  515. package/dist/app.cjs +7 -6
  516. package/dist/app.cjs.map +1 -1
  517. package/dist/app.d.cts +4 -6
  518. package/dist/app.d.cts.map +1 -1
  519. package/dist/app.d.mts +4 -6
  520. package/dist/app.d.mts.map +1 -1
  521. package/dist/app.mjs +0 -1
  522. package/dist/app.mjs.map +1 -1
  523. package/dist/index.d.cts +1 -1
  524. package/dist/index.d.mts +1 -1
  525. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACnK,YAAYA,IAAAA,EAAE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AE5E,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.cjs","names":["z","action"],"sources":["../../src/actions/update-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 ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer: AppAction<\n typeof ProabonoUpdateCustomerInput,\n typeof ProabonoUpdateCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACnK,YAAYA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AS,kDAAkD;AAE5E,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/update-customer.d.ts
@@ -32,32 +34,7 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
32
34
  ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- Id: number;
37
- Name?: string | undefined;
38
- Email?: string | undefined;
39
- Language?: string | undefined;
40
- IdBusiness?: number | undefined;
41
- ReferenceCustomer?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- full: z.ZodString;
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- generic_id: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- full: z.ZodString;
57
- username: z.ZodString;
58
- password: z.ZodString;
59
- generic_id: z.ZodString;
60
- }, z.core.$strip>>]>;
37
+ declare const proabonoUpdateCustomer: AppAction<typeof ProabonoUpdateCustomerInput, typeof ProabonoUpdateCustomerOutput, typeof proabono.credential>;
61
38
  //#endregion
62
39
  export { proabonoUpdateCustomer };
63
40
  //# sourceMappingURL=update-customer.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-customer.d.cts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/update-customer.d.ts
@@ -32,32 +34,7 @@ declare const ProabonoUpdateCustomerOutput: z.ZodObject<{
32
34
  ReferenceSegment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
35
  ReferenceCustomer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const proabonoUpdateCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- Id: number;
37
- Name?: string | undefined;
38
- Email?: string | undefined;
39
- Language?: string | undefined;
40
- IdBusiness?: number | undefined;
41
- ReferenceCustomer?: string | undefined;
42
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
43
- connectionId: z.ZodString;
44
- entityId: z.ZodString;
45
- instanceId: z.ZodString;
46
- }, z.core.$strip>, z.ZodObject<{
47
- full: z.ZodString;
48
- username: z.ZodString;
49
- password: z.ZodString;
50
- generic_id: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- full: z.ZodString;
57
- username: z.ZodString;
58
- password: z.ZodString;
59
- generic_id: z.ZodString;
60
- }, z.core.$strip>>]>;
37
+ declare const proabonoUpdateCustomer: AppAction<typeof ProabonoUpdateCustomerInput, typeof ProabonoUpdateCustomerOutput, typeof proabono.credential>;
61
38
  //#endregion
62
39
  export { proabonoUpdateCustomer };
63
40
  //# sourceMappingURL=update-customer.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-customer.d.mts","names":[],"sources":["../../src/actions/update-customer.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAa3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAoB5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,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/update-customer.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language preferences. Allows partial updates.\",\n input: ProabonoUpdateCustomerInput,\n output: ProabonoUpdateCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CACnK,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CAC1I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,oCAAoC,EAAE,OAAO;CACjD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAqBlD,MAA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CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-customer.mjs","names":[],"sources":["../../src/actions/update-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 ProabonoUpdateCustomerInput = z.object({\n Id: z.number().int().describe(\"The unique identifier of the customer to update\"),\n Name: z.string().describe(\"Display name of the customer. Use this to update the customer's full name\").optional(),\n Email: z.string().describe(\"Customer's email address. Use this to update the customer's contact email\").optional(),\n Language: z.string().describe(\"Customer's preferred language in ISO 639-1 format (2-letter code). Use this to update the customer's language preference\").optional(),\n IdBusiness: z.number().int().describe(\"The business identifier. Optional parameter to scope the request to a specific business\").optional(),\n ReferenceCustomer: z.string().describe(\"Your custom reference for the customer shared between ProAbono and your application\").optional(),\n}).describe(\"Request model for updating an existing customer in ProAbono.\");\nconst ProabonoUpdateCustomer_LinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link\").nullable().optional(),\n href: z.string().describe(\"URL of the related resource\").nullable().optional(),\n query: z.string().describe(\"Query parameter for the related resource\").nullable().optional(),\n}).passthrough().describe(\"Related resource link.\");\nexport const ProabonoUpdateCustomerOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the updated Customer object\").nullable().optional(),\n Name: z.string().describe(\"Display name of the customer\").nullable().optional(),\n Email: z.string().describe(\"Customer's email address\").nullable().optional(),\n Links: z.array(ProabonoUpdateCustomer_LinkSchema).describe(\"Collection of related resource links with rel/href properties\").nullable().optional(),\n Status: z.string().describe(\"Functional state indicating external perspective of customer condition\").nullable().optional(),\n Currency: z.string().describe(\"Currency code for the customer\").nullable().optional(),\n Language: z.string().describe(\"Customer's language preference (ISO 639-1 code)\").nullable().optional(),\n Metadata: z.record(z.string(), z.unknown()).describe(\"Optional key-value pairs (max 5 pairs, 50-char keys, 450-char values)\").nullable().optional(),\n IdSegment: z.number().int().describe(\"Associated segment identifier\").nullable().optional(),\n DateUpdate: z.string().describe(\"Most recent modification timestamp in UTC/ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business identifier\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp in UTC/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 reflecting functional status and lifecycle information\").nullable().optional(),\n IdUserCreation: z.number().int().describe(\"User ID who initially created the customer\").nullable().optional(),\n ReferenceSegment: z.string().describe(\"Reference of the segment the customer belongs to\").nullable().optional(),\n ReferenceCustomer: z.string().describe(\"Shared reference key between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for an updated ProAbono customer.\");\n\nexport const proabonoUpdateCustomer: AppAction<\n typeof ProabonoUpdateCustomerInput,\n typeof ProabonoUpdateCustomerOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_CUSTOMER\", {\n slug: \"proabono-update-customer\",\n name: \"Update Customer\",\n description: \"Tool to update an existing customer in ProAbono via the Backoffice API. Use when you need to modify customer properties such as name, email, or language prefer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C,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;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/update-feature.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.cjs","names":["z","action"],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified 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 between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC3E,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAc;CAAa,CAAC,CAAC,CAAC,SAAS,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AAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-feature.cjs","names":["z","action"],"sources":["../../src/actions/update-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 ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified 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 between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature: AppAction<\n typeof ProabonoUpdateFeatureInput,\n typeof ProabonoUpdateFeatureOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA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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/update-feature.d.ts
@@ -32,33 +34,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
32
34
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- id: number;
37
- Name?: string | undefined;
38
- Order?: number | undefined;
39
- IsVisible?: boolean | undefined;
40
- IdBusiness?: number | undefined;
41
- TypeFeature?: "OnOff" | "Limitation" | "Consumption" | undefined;
42
- ReferenceFeature?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- full: z.ZodString;
49
- username: z.ZodString;
50
- password: z.ZodString;
51
- generic_id: z.ZodString;
52
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- full: z.ZodString;
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- generic_id: z.ZodString;
61
- }, z.core.$strip>>]>;
37
+ declare const proabonoUpdateFeature: AppAction<typeof ProabonoUpdateFeatureInput, typeof ProabonoUpdateFeatureOutput, typeof proabono.credential>;
62
38
  //#endregion
63
39
  export { proabonoUpdateFeature };
64
40
  //# sourceMappingURL=update-feature.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.d.cts","names":[],"sources":["../../src/actions/update-feature.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-feature.d.cts","names":[],"sources":["../../src/actions/update-feature.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/update-feature.d.ts
@@ -32,33 +34,7 @@ declare const ProabonoUpdateFeatureOutput: z.ZodObject<{
32
34
  IdUserCreation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
35
  ReferenceFeature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
36
  }, z.core.$loose>;
35
- declare const proabonoUpdateFeature: import("@keystrokehq/action").WorkflowActionDefinition<{
36
- id: number;
37
- Name?: string | undefined;
38
- Order?: number | undefined;
39
- IsVisible?: boolean | undefined;
40
- IdBusiness?: number | undefined;
41
- TypeFeature?: "OnOff" | "Limitation" | "Consumption" | undefined;
42
- ReferenceFeature?: string | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
44
- connectionId: z.ZodString;
45
- entityId: z.ZodString;
46
- instanceId: z.ZodString;
47
- }, z.core.$strip>, z.ZodObject<{
48
- full: z.ZodString;
49
- username: z.ZodString;
50
- password: z.ZodString;
51
- generic_id: z.ZodString;
52
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
53
- connectionId: z.ZodString;
54
- entityId: z.ZodString;
55
- instanceId: z.ZodString;
56
- }, z.core.$strip>, z.ZodObject<{
57
- full: z.ZodString;
58
- username: z.ZodString;
59
- password: z.ZodString;
60
- generic_id: z.ZodString;
61
- }, z.core.$strip>>]>;
37
+ declare const proabonoUpdateFeature: AppAction<typeof ProabonoUpdateFeatureInput, typeof ProabonoUpdateFeatureOutput, typeof proabono.credential>;
62
38
  //#endregion
63
39
  export { proabonoUpdateFeature };
64
40
  //# sourceMappingURL=update-feature.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.d.mts","names":[],"sources":["../../src/actions/update-feature.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"update-feature.d.mts","names":[],"sources":["../../src/actions/update-feature.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAgB3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/update-feature.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-feature.mjs","names":[],"sources":["../../src/actions/update-feature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified 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 between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;AAIA,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wB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-feature.mjs","names":[],"sources":["../../src/actions/update-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 ProabonoUpdateFeatureInput = z.object({\n id: z.number().int().describe(\"ID of the feature to update\"),\n Name: z.string().describe(\"The feature name displayed to users\").optional(),\n Order: z.number().int().describe(\"Display position among other features (lower numbers appear first)\").optional(),\n IsVisible: z.boolean().describe(\"Whether to show this feature in offers and hosted pages\").optional(),\n IdBusiness: z.number().int().describe(\"Your Business identifier\").optional(),\n TypeFeature: z.enum([\"OnOff\", \"Limitation\", \"Consumption\"]).describe(\"Feature type enumeration.\").optional(),\n ReferenceFeature: z.string().describe(\"Shared key between ProAbono and your system for identifying this feature\").optional(),\n}).describe(\"Request model for updating an existing feature in ProAbono.\");\nconst ProabonoUpdateFeature_LinkSchema = z.object({\n rel: z.string().describe(\"Link relation type\").nullable().optional(),\n href: z.string().describe(\"Link URL\").nullable().optional(),\n}).passthrough().describe(\"Navigation link model.\");\nexport const ProabonoUpdateFeatureOutput = z.object({\n Id: z.number().int().describe(\"Feature identifier\").nullable().optional(),\n Name: z.string().describe(\"Feature name\").nullable().optional(),\n Links: z.array(ProabonoUpdateFeature_LinkSchema).describe(\"Related resource links\").nullable().optional(),\n Order: z.number().int().describe(\"Display position among features\").nullable().optional(),\n IsVisible: z.boolean().describe(\"Visibility in offers and hosted pages\").nullable().optional(),\n StateLife: z.string().describe(\"Feature lifecycle state\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Associated business ID\").nullable().optional(),\n TypeFeature: z.string().describe(\"Feature type (OnOff, Limitation, or Consumption)\").nullable().optional(),\n DateCreation: z.string().describe(\"Creation timestamp\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified 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 between ProAbono and your application\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated feature.\");\n\nexport const proabonoUpdateFeature: AppAction<\n typeof ProabonoUpdateFeatureInput,\n typeof ProabonoUpdateFeatureOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_FEATURE\", {\n slug: \"proabono-update-feature\",\n name: \"Update Feature\",\n description: \"Tool to update an existing feature in ProAbono via the Backoffice API. Use when you need to modify feature properties such as name, visibility, type, or display order.\",\n input: ProabonoUpdateFeatureInput,\n output: ProabonoUpdateFeatureOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,KAAK;EAAC;EAAS;EAAc;CAAa,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,mCAAmC,EAAE,OAAO;CAChD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAiBlD,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzByC,EAAE,OAAO;EA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AChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;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/update-tax-profiles.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.cjs","names":["z","action"],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").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 tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACrK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,M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C,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-tax-profiles.cjs","names":["z","action"],"sources":["../../src/actions/update-tax-profiles.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 ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").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 tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles: AppAction<\n typeof ProabonoUpdateTaxProfilesInput,\n typeof ProabonoUpdateTaxProfilesOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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AAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/update-tax-profiles.d.ts
@@ -25,33 +27,7 @@ declare const ProabonoUpdateTaxProfilesOutput: z.ZodObject<{
25
27
  TypeRateTax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const proabonoUpdateTaxProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- Id: number;
30
- IdBusiness: number;
31
- Name?: string | undefined;
32
- Label?: string | undefined;
33
- Description?: string | undefined;
34
- RateDefault?: number | undefined;
35
- TypeRateTax?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- full: z.ZodString;
42
- username: z.ZodString;
43
- password: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- full: z.ZodString;
51
- username: z.ZodString;
52
- password: z.ZodString;
53
- generic_id: z.ZodString;
54
- }, z.core.$strip>>]>;
30
+ declare const proabonoUpdateTaxProfiles: AppAction<typeof ProabonoUpdateTaxProfilesInput, typeof ProabonoUpdateTaxProfilesOutput, typeof proabono.credential>;
55
31
  //#endregion
56
32
  export { proabonoUpdateTaxProfiles };
57
33
  //# sourceMappingURL=update-tax-profiles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.d.cts","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-tax-profiles.d.cts","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/update-tax-profiles.d.ts
@@ -25,33 +27,7 @@ declare const ProabonoUpdateTaxProfilesOutput: z.ZodObject<{
25
27
  TypeRateTax: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  IdUserUpdate: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
29
  }, z.core.$loose>;
28
- declare const proabonoUpdateTaxProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- Id: number;
30
- IdBusiness: number;
31
- Name?: string | undefined;
32
- Label?: string | undefined;
33
- Description?: string | undefined;
34
- RateDefault?: number | undefined;
35
- TypeRateTax?: string | undefined;
36
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
37
- connectionId: z.ZodString;
38
- entityId: z.ZodString;
39
- instanceId: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- full: z.ZodString;
42
- username: z.ZodString;
43
- password: z.ZodString;
44
- generic_id: z.ZodString;
45
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- full: z.ZodString;
51
- username: z.ZodString;
52
- password: z.ZodString;
53
- generic_id: z.ZodString;
54
- }, z.core.$strip>>]>;
30
+ declare const proabonoUpdateTaxProfiles: AppAction<typeof ProabonoUpdateTaxProfilesInput, typeof ProabonoUpdateTaxProfilesOutput, typeof proabono.credential>;
55
31
  //#endregion
56
32
  export { proabonoUpdateTaxProfiles };
57
33
  //# sourceMappingURL=update-tax-profiles.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.d.mts","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-tax-profiles.d.mts","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAa9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAa/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/update-tax-profiles.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-tax-profiles.mjs","names":[],"sources":["../../src/actions/update-tax-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").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 tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,i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AC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-tax-profiles.mjs","names":[],"sources":["../../src/actions/update-tax-profiles.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 ProabonoUpdateTaxProfilesInput = z.object({\n Id: z.number().int().describe(\"The ID of the tax profile to update\"),\n Name: z.string().describe(\"Name of the tax profile to update\").optional(),\n Label: z.string().describe(\"Display label for the tax (maximum 10 characters)\").optional(),\n IdBusiness: z.number().int().describe(\"The ID of the business\"),\n Description: z.string().describe(\"Description of the tax profile to provide additional context\").optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%). Must be a non-negative integer\").optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Outside', 'Zero')\").optional(),\n}).describe(\"Request model for updating a tax profile in ProAbono.\");\nconst ProabonoUpdateTaxProfiles_TaxProfileLinkSchema = z.object({\n rel: z.string().describe(\"Relationship type of the link (e.g., 'self', 'related')\").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 tax profile response.\");\nexport const ProabonoUpdateTaxProfilesOutput = z.object({\n Id: z.number().int().describe(\"Unique identifier of the tax profile\").nullable().optional(),\n Name: z.string().describe(\"Name of the tax profile\").nullable().optional(),\n Label: z.string().describe(\"Display label for the tax profile\").nullable().optional(),\n Links: z.array(ProabonoUpdateTaxProfiles_TaxProfileLinkSchema).describe(\"HATEOAS navigation links for related resources\").nullable().optional(),\n DateUpdate: z.string().describe(\"Last modification timestamp in ISO 8601 format\").nullable().optional(),\n IdBusiness: z.number().int().describe(\"Business association identifier\").nullable().optional(),\n Description: z.string().describe(\"Description of the tax profile\").nullable().optional(),\n RateDefault: z.number().int().describe(\"Default tax rate in per-myriad (e.g., 2500 for 25%, 1000 for 10%, 1560 for 15.6%)\").nullable().optional(),\n TypeRateTax: z.string().describe(\"Type of tax rate applied (e.g., 'Standard', 'Reduced', 'Zero')\").nullable().optional(),\n IdUserUpdate: z.number().int().describe(\"User ID who last modified the tax profile\").nullable().optional(),\n}).passthrough().describe(\"Response model for updated ProAbono tax profile.\");\n\nexport const proabonoUpdateTaxProfiles: AppAction<\n typeof ProabonoUpdateTaxProfilesInput,\n typeof ProabonoUpdateTaxProfilesOutput,\n typeof proabono.credential\n> = action(\"PROABONO_UPDATE_TAX_PROFILES\", {\n slug: \"proabono-update-tax-profiles\",\n name: \"Update Tax Profiles\",\n description: \"Tool to update an existing tax profile in ProAbono via the Backoffice API. Use when you need to modify tax profile properties such as name, description, label, or tax rates.\",\n input: ProabonoUpdateTaxProfilesInput,\n output: ProabonoUpdateTaxProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB;CAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CACrK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,C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AS;EACvH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,15 +1,16 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
2
  let zod = require("zod");
3
3
  //#region src/app.ts
4
+ const credential = {
5
+ full: zod.z.string(),
6
+ username: zod.z.string(),
7
+ password: zod.z.string(),
8
+ generic_id: zod.z.string()
9
+ };
4
10
  const proabono = (0, _keystrokehq_keystroke_app.defineApp)({
5
11
  slug: "proabono",
6
12
  auth: "keystroke",
7
- credential: {
8
- full: zod.z.string(),
9
- username: zod.z.string(),
10
- password: zod.z.string(),
11
- generic_id: zod.z.string()
12
- }
13
+ credential
13
14
  });
14
15
  //#endregion
15
16
  exports.proabono = proabono;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const proabono = defineApp({\n slug: \"proabono\",\n auth: \"keystroke\",\n credential: {\n full: z.string(),\n username: z.string(),\n password: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,MAAMA,IAAAA,EAAE,OAAO;EACf,UAAUA,IAAAA,EAAE,OAAO;EACnB,UAAUA,IAAAA,EAAE,OAAO;EACnB,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n full: z.string(),\n username: z.string(),\n password: z.string(),\n generic_id: z.string(),\n};\n\nexport const proabono: KeystrokeApp<\"proabono\", typeof credential> = defineApp({\n slug: \"proabono\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,MAAMA,IAAAA,EAAE,OAAO;CACf,UAAUA,IAAAA,EAAE,OAAO;CACnB,UAAUA,IAAAA,EAAE,OAAO;CACnB,YAAYA,IAAAA,EAAE,OAAO;AACvB;AAEA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAkE;CAC7E,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,16 +1,14 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const proabono: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  full: z.ZodString;
10
7
  username: z.ZodString;
11
8
  password: z.ZodString;
12
9
  generic_id: z.ZodString;
13
- }, z.core.$strip>>>;
10
+ };
11
+ declare const proabono: KeystrokeApp<"proabono", typeof credential>;
14
12
  //#endregion
15
13
  export { proabono };
16
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;;cAOO,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,16 +1,14 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const proabono: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"proabono", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  full: z.ZodString;
10
7
  username: z.ZodString;
11
8
  password: z.ZodString;
12
9
  generic_id: z.ZodString;
13
- }, z.core.$strip>>>;
10
+ };
11
+ declare const proabono: KeystrokeApp<"proabono", typeof credential>;
14
12
  //#endregion
15
13
  export { proabono };
16
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;;cAOO,QAAA,EAAU,YAAY,oBAAoB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const proabono = defineApp({
5
4
  slug: "proabono",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const proabono = defineApp({\n slug: \"proabono\",\n auth: \"keystroke\",\n credential: {\n full: z.string(),\n username: z.string(),\n password: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;EACnB,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n full: z.string(),\n username: z.string(),\n password: z.string(),\n generic_id: z.string(),\n};\n\nexport const proabono: KeystrokeApp<\"proabono\", typeof credential> = defineApp({\n slug: \"proabono\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAUA,MAAa,WAAwD,UAAU;CAC7E,MAAM;CACN,MAAM;CACN;EATA,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;EACnB,YAAY,EAAE,OAAO;CAMrB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { proabono } from "./app.cjs";
1
2
  import { proabonoAnonymizeCustomer } from "./actions/anonymize-customer.cjs";
2
3
  import { proabonoBillCustomer } from "./actions/bill-customer.cjs";
3
4
  import { proabonoCreateCustomer } from "./actions/create-customer.cjs";
@@ -62,6 +63,5 @@ import { proabonoUpdateCustomerPaymentSettings } from "./actions/update-customer
62
63
  import { proabonoUpdateCustomerShipping } from "./actions/update-customer-shipping.cjs";
63
64
  import { proabonoUpdateFeature } from "./actions/update-feature.cjs";
64
65
  import { proabonoUpdateTaxProfiles } from "./actions/update-tax-profiles.cjs";
65
- import { proabono } from "./app.cjs";
66
66
  import { proabonoCatalog } from "./catalog.cjs";
67
67
  export { proabono, proabonoAnonymizeCustomer, proabonoBillCustomer, proabonoCatalog, proabonoCreateCustomer, proabonoCreateFeature, proabonoDeleteCustomer, proabonoDeleteOffer, proabonoDeletePricingTable, proabonoDeletePricingTableOffer, proabonoDeleteSubscriptionDiscount, proabonoEnableWebhook, proabonoGetCustomer, proabonoGetCustomerBilling, proabonoGetCustomerBillingAddress, proabonoGetCustomerByReference, proabonoGetCustomerPaymentSettings, proabonoGetDiscount, proabonoGetFeature, proabonoGetInvoice, proabonoGetOffer, proabonoGetSubscriptionByCustomer, proabonoGetSubscriptionCreationQuote, proabonoGetUsage, proabonoGetUsagesForCustomer, proabonoInvalidateCustomer, proabonoInvalidateCustomerById, proabonoListBalanceLines, proabonoListBusinessLocalization, proabonoListBusinesses, proabonoListCustomerMoves, proabonoListCustomers, proabonoListCustomersByFeature, proabonoListDiscounts, proabonoListFeatures, proabonoListGatewayAccounts, proabonoListGatewayPermissions, proabonoListGatewayRequests, proabonoListGatewayTransactions, proabonoListInvoiceLines, proabonoListInvoices, proabonoListInvoicesByCustomer, proabonoListOffers, proabonoListPayments, proabonoListPricingTableOffers, proabonoListPricingTables, proabonoListSegmentLocalizations, proabonoListSegments, proabonoListSubscriptionDiscounts, proabonoListSubscriptionFeatures, proabonoListSubscriptionPeriods, proabonoListSubscriptions, proabonoListTaxProfileExceptions, proabonoListTaxProfiles, proabonoListUpgradeOffers, proabonoListWebhookNotifications, proabonoListWebhooks, proabonoQuoteBalanceLine, proabonoRevokeCustomerLinks, proabonoUpdateBusinessesBillingAddress, proabonoUpdateCustomer, proabonoUpdateCustomerBillingAddress, proabonoUpdateCustomerPaymentSettings, proabonoUpdateCustomerShipping, proabonoUpdateFeature, proabonoUpdateTaxProfiles };