@keystrokehq/paypal 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (658) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/activate-plan.cjs +19 -0
  7. package/dist/actions/activate-plan.cjs.map +1 -0
  8. package/dist/actions/activate-plan.d.cts +9 -0
  9. package/dist/actions/activate-plan.d.cts.map +1 -0
  10. package/dist/actions/activate-plan.d.mts +9 -0
  11. package/dist/actions/activate-plan.d.mts.map +1 -0
  12. package/dist/actions/activate-plan.mjs +16 -0
  13. package/dist/actions/activate-plan.mjs.map +1 -0
  14. package/dist/actions/add-batch-trackers.cjs +62 -0
  15. package/dist/actions/add-batch-trackers.cjs.map +1 -0
  16. package/dist/actions/add-batch-trackers.d.cts +9 -0
  17. package/dist/actions/add-batch-trackers.d.cts.map +1 -0
  18. package/dist/actions/add-batch-trackers.d.mts +9 -0
  19. package/dist/actions/add-batch-trackers.d.mts.map +1 -0
  20. package/dist/actions/add-batch-trackers.mjs +61 -0
  21. package/dist/actions/add-batch-trackers.mjs.map +1 -0
  22. package/dist/actions/authorize-order.cjs +101 -0
  23. package/dist/actions/authorize-order.cjs.map +1 -0
  24. package/dist/actions/authorize-order.d.cts +9 -0
  25. package/dist/actions/authorize-order.d.cts.map +1 -0
  26. package/dist/actions/authorize-order.d.mts +9 -0
  27. package/dist/actions/authorize-order.d.mts.map +1 -0
  28. package/dist/actions/authorize-order.mjs +100 -0
  29. package/dist/actions/authorize-order.mjs.map +1 -0
  30. package/dist/actions/cancel-invoice.cjs +44 -0
  31. package/dist/actions/cancel-invoice.cjs.map +1 -0
  32. package/dist/actions/cancel-invoice.d.cts +9 -0
  33. package/dist/actions/cancel-invoice.d.cts.map +1 -0
  34. package/dist/actions/cancel-invoice.d.mts +9 -0
  35. package/dist/actions/cancel-invoice.d.mts.map +1 -0
  36. package/dist/actions/cancel-invoice.mjs +43 -0
  37. package/dist/actions/cancel-invoice.mjs.map +1 -0
  38. package/dist/actions/cancel-reminders.cjs +36 -0
  39. package/dist/actions/cancel-reminders.cjs.map +1 -0
  40. package/dist/actions/cancel-reminders.d.cts +9 -0
  41. package/dist/actions/cancel-reminders.d.cts.map +1 -0
  42. package/dist/actions/cancel-reminders.d.mts +9 -0
  43. package/dist/actions/cancel-reminders.d.mts.map +1 -0
  44. package/dist/actions/cancel-reminders.mjs +35 -0
  45. package/dist/actions/cancel-reminders.mjs.map +1 -0
  46. package/dist/actions/capture-subscription-payment.cjs +79 -0
  47. package/dist/actions/capture-subscription-payment.cjs.map +1 -0
  48. package/dist/actions/capture-subscription-payment.d.cts +9 -0
  49. package/dist/actions/capture-subscription-payment.d.cts.map +1 -0
  50. package/dist/actions/capture-subscription-payment.d.mts +9 -0
  51. package/dist/actions/capture-subscription-payment.d.mts.map +1 -0
  52. package/dist/actions/capture-subscription-payment.mjs +78 -0
  53. package/dist/actions/capture-subscription-payment.mjs.map +1 -0
  54. package/dist/actions/charge-payment-method.cjs +58 -0
  55. package/dist/actions/charge-payment-method.cjs.map +1 -0
  56. package/dist/actions/charge-payment-method.d.cts +9 -0
  57. package/dist/actions/charge-payment-method.d.cts.map +1 -0
  58. package/dist/actions/charge-payment-method.d.mts +9 -0
  59. package/dist/actions/charge-payment-method.d.mts.map +1 -0
  60. package/dist/actions/charge-payment-method.mjs +55 -0
  61. package/dist/actions/charge-payment-method.mjs.map +1 -0
  62. package/dist/actions/create-invoice.cjs +294 -0
  63. package/dist/actions/create-invoice.cjs.map +1 -0
  64. package/dist/actions/create-invoice.d.cts +9 -0
  65. package/dist/actions/create-invoice.d.cts.map +1 -0
  66. package/dist/actions/create-invoice.d.mts +9 -0
  67. package/dist/actions/create-invoice.d.mts.map +1 -0
  68. package/dist/actions/create-invoice.mjs +293 -0
  69. package/dist/actions/create-invoice.mjs.map +1 -0
  70. package/dist/actions/create-payment.cjs +178 -0
  71. package/dist/actions/create-payment.cjs.map +1 -0
  72. package/dist/actions/create-payment.d.cts +9 -0
  73. package/dist/actions/create-payment.d.cts.map +1 -0
  74. package/dist/actions/create-payment.d.mts +9 -0
  75. package/dist/actions/create-payment.d.mts.map +1 -0
  76. package/dist/actions/create-payment.mjs +177 -0
  77. package/dist/actions/create-payment.mjs.map +1 -0
  78. package/dist/actions/create-payments-billing-plans.cjs +111 -0
  79. package/dist/actions/create-payments-billing-plans.cjs.map +1 -0
  80. package/dist/actions/create-payments-billing-plans.d.cts +9 -0
  81. package/dist/actions/create-payments-billing-plans.d.cts.map +1 -0
  82. package/dist/actions/create-payments-billing-plans.d.mts +9 -0
  83. package/dist/actions/create-payments-billing-plans.d.mts.map +1 -0
  84. package/dist/actions/create-payments-billing-plans.mjs +110 -0
  85. package/dist/actions/create-payments-billing-plans.mjs.map +1 -0
  86. package/dist/actions/create-plan.cjs +119 -0
  87. package/dist/actions/create-plan.cjs.map +1 -0
  88. package/dist/actions/create-plan.d.cts +9 -0
  89. package/dist/actions/create-plan.d.cts.map +1 -0
  90. package/dist/actions/create-plan.d.mts +9 -0
  91. package/dist/actions/create-plan.d.mts.map +1 -0
  92. package/dist/actions/create-plan.mjs +118 -0
  93. package/dist/actions/create-plan.mjs.map +1 -0
  94. package/dist/actions/create-product.cjs +190 -0
  95. package/dist/actions/create-product.cjs.map +1 -0
  96. package/dist/actions/create-product.d.cts +9 -0
  97. package/dist/actions/create-product.d.cts.map +1 -0
  98. package/dist/actions/create-product.d.mts +9 -0
  99. package/dist/actions/create-product.d.mts.map +1 -0
  100. package/dist/actions/create-product.mjs +189 -0
  101. package/dist/actions/create-product.mjs.map +1 -0
  102. package/dist/actions/create-subscription.cjs +183 -0
  103. package/dist/actions/create-subscription.cjs.map +1 -0
  104. package/dist/actions/create-subscription.d.cts +9 -0
  105. package/dist/actions/create-subscription.d.cts.map +1 -0
  106. package/dist/actions/create-subscription.d.mts +9 -0
  107. package/dist/actions/create-subscription.d.mts.map +1 -0
  108. package/dist/actions/create-subscription.mjs +182 -0
  109. package/dist/actions/create-subscription.mjs.map +1 -0
  110. package/dist/actions/create-template.cjs +234 -0
  111. package/dist/actions/create-template.cjs.map +1 -0
  112. package/dist/actions/create-template.d.cts +9 -0
  113. package/dist/actions/create-template.d.cts.map +1 -0
  114. package/dist/actions/create-template.d.mts +9 -0
  115. package/dist/actions/create-template.d.mts.map +1 -0
  116. package/dist/actions/create-template.mjs +233 -0
  117. package/dist/actions/create-template.mjs.map +1 -0
  118. package/dist/actions/create-web-profile.cjs +66 -0
  119. package/dist/actions/create-web-profile.cjs.map +1 -0
  120. package/dist/actions/create-web-profile.d.cts +9 -0
  121. package/dist/actions/create-web-profile.d.cts.map +1 -0
  122. package/dist/actions/create-web-profile.d.mts +9 -0
  123. package/dist/actions/create-web-profile.d.mts.map +1 -0
  124. package/dist/actions/create-web-profile.mjs +65 -0
  125. package/dist/actions/create-web-profile.mjs.map +1 -0
  126. package/dist/actions/create-webhook-lookup.cjs +25 -0
  127. package/dist/actions/create-webhook-lookup.cjs.map +1 -0
  128. package/dist/actions/create-webhook-lookup.d.cts +9 -0
  129. package/dist/actions/create-webhook-lookup.d.cts.map +1 -0
  130. package/dist/actions/create-webhook-lookup.d.mts +9 -0
  131. package/dist/actions/create-webhook-lookup.d.mts.map +1 -0
  132. package/dist/actions/create-webhook-lookup.mjs +24 -0
  133. package/dist/actions/create-webhook-lookup.mjs.map +1 -0
  134. package/dist/actions/create-webhook.cjs +39 -0
  135. package/dist/actions/create-webhook.cjs.map +1 -0
  136. package/dist/actions/create-webhook.d.cts +9 -0
  137. package/dist/actions/create-webhook.d.cts.map +1 -0
  138. package/dist/actions/create-webhook.d.mts +9 -0
  139. package/dist/actions/create-webhook.d.mts.map +1 -0
  140. package/dist/actions/create-webhook.mjs +38 -0
  141. package/dist/actions/create-webhook.mjs.map +1 -0
  142. package/dist/actions/deactivate-plan.cjs +19 -0
  143. package/dist/actions/deactivate-plan.cjs.map +1 -0
  144. package/dist/actions/deactivate-plan.d.cts +9 -0
  145. package/dist/actions/deactivate-plan.d.cts.map +1 -0
  146. package/dist/actions/deactivate-plan.d.mts +9 -0
  147. package/dist/actions/deactivate-plan.d.mts.map +1 -0
  148. package/dist/actions/deactivate-plan.mjs +16 -0
  149. package/dist/actions/deactivate-plan.mjs.map +1 -0
  150. package/dist/actions/delete-external-payment.cjs +23 -0
  151. package/dist/actions/delete-external-payment.cjs.map +1 -0
  152. package/dist/actions/delete-external-payment.d.cts +9 -0
  153. package/dist/actions/delete-external-payment.d.cts.map +1 -0
  154. package/dist/actions/delete-external-payment.d.mts +9 -0
  155. package/dist/actions/delete-external-payment.d.mts.map +1 -0
  156. package/dist/actions/delete-external-payment.mjs +20 -0
  157. package/dist/actions/delete-external-payment.mjs.map +1 -0
  158. package/dist/actions/delete-invoice-payment-record.cjs +23 -0
  159. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -0
  160. package/dist/actions/delete-invoice-payment-record.d.cts +9 -0
  161. package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -0
  162. package/dist/actions/delete-invoice-payment-record.d.mts +9 -0
  163. package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -0
  164. package/dist/actions/delete-invoice-payment-record.mjs +20 -0
  165. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -0
  166. package/dist/actions/delete-invoice-refund-record.cjs +22 -0
  167. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -0
  168. package/dist/actions/delete-invoice-refund-record.d.cts +9 -0
  169. package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -0
  170. package/dist/actions/delete-invoice-refund-record.d.mts +9 -0
  171. package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -0
  172. package/dist/actions/delete-invoice-refund-record.mjs +19 -0
  173. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -0
  174. package/dist/actions/delete-invoice.cjs +36 -0
  175. package/dist/actions/delete-invoice.cjs.map +1 -0
  176. package/dist/actions/delete-invoice.d.cts +9 -0
  177. package/dist/actions/delete-invoice.d.cts.map +1 -0
  178. package/dist/actions/delete-invoice.d.mts +9 -0
  179. package/dist/actions/delete-invoice.d.mts.map +1 -0
  180. package/dist/actions/delete-invoice.mjs +35 -0
  181. package/dist/actions/delete-invoice.mjs.map +1 -0
  182. package/dist/actions/delete-payment-resource.cjs +19 -0
  183. package/dist/actions/delete-payment-resource.cjs.map +1 -0
  184. package/dist/actions/delete-payment-resource.d.cts +9 -0
  185. package/dist/actions/delete-payment-resource.d.cts.map +1 -0
  186. package/dist/actions/delete-payment-resource.d.mts +9 -0
  187. package/dist/actions/delete-payment-resource.d.mts.map +1 -0
  188. package/dist/actions/delete-payment-resource.mjs +16 -0
  189. package/dist/actions/delete-payment-resource.mjs.map +1 -0
  190. package/dist/actions/delete-template.cjs +36 -0
  191. package/dist/actions/delete-template.cjs.map +1 -0
  192. package/dist/actions/delete-template.d.cts +9 -0
  193. package/dist/actions/delete-template.d.cts.map +1 -0
  194. package/dist/actions/delete-template.d.mts +9 -0
  195. package/dist/actions/delete-template.d.mts.map +1 -0
  196. package/dist/actions/delete-template.mjs +35 -0
  197. package/dist/actions/delete-template.mjs.map +1 -0
  198. package/dist/actions/delete-web-profile.cjs +19 -0
  199. package/dist/actions/delete-web-profile.cjs.map +1 -0
  200. package/dist/actions/delete-web-profile.d.cts +9 -0
  201. package/dist/actions/delete-web-profile.d.cts.map +1 -0
  202. package/dist/actions/delete-web-profile.d.mts +9 -0
  203. package/dist/actions/delete-web-profile.d.mts.map +1 -0
  204. package/dist/actions/delete-web-profile.mjs +16 -0
  205. package/dist/actions/delete-web-profile.mjs.map +1 -0
  206. package/dist/actions/delete-webhook.cjs +35 -0
  207. package/dist/actions/delete-webhook.cjs.map +1 -0
  208. package/dist/actions/delete-webhook.d.cts +9 -0
  209. package/dist/actions/delete-webhook.d.cts.map +1 -0
  210. package/dist/actions/delete-webhook.d.mts +9 -0
  211. package/dist/actions/delete-webhook.d.mts.map +1 -0
  212. package/dist/actions/delete-webhook.mjs +34 -0
  213. package/dist/actions/delete-webhook.mjs.map +1 -0
  214. package/dist/actions/fetch-node.cjs +30 -0
  215. package/dist/actions/fetch-node.cjs.map +1 -0
  216. package/dist/actions/fetch-node.d.cts +9 -0
  217. package/dist/actions/fetch-node.d.cts.map +1 -0
  218. package/dist/actions/fetch-node.d.mts +9 -0
  219. package/dist/actions/fetch-node.d.mts.map +1 -0
  220. package/dist/actions/fetch-node.mjs +29 -0
  221. package/dist/actions/fetch-node.mjs.map +1 -0
  222. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +21 -0
  223. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -0
  224. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +9 -0
  225. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -0
  226. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +9 -0
  227. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -0
  228. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +20 -0
  229. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -0
  230. package/dist/actions/find-eligible-methods.cjs +87 -0
  231. package/dist/actions/find-eligible-methods.cjs.map +1 -0
  232. package/dist/actions/find-eligible-methods.d.cts +9 -0
  233. package/dist/actions/find-eligible-methods.d.cts.map +1 -0
  234. package/dist/actions/find-eligible-methods.d.mts +9 -0
  235. package/dist/actions/find-eligible-methods.d.mts.map +1 -0
  236. package/dist/actions/find-eligible-methods.mjs +86 -0
  237. package/dist/actions/find-eligible-methods.mjs.map +1 -0
  238. package/dist/actions/generate-client-token.cjs +20 -0
  239. package/dist/actions/generate-client-token.cjs.map +1 -0
  240. package/dist/actions/generate-client-token.d.cts +9 -0
  241. package/dist/actions/generate-client-token.d.cts.map +1 -0
  242. package/dist/actions/generate-client-token.d.mts +9 -0
  243. package/dist/actions/generate-client-token.d.mts.map +1 -0
  244. package/dist/actions/generate-client-token.mjs +17 -0
  245. package/dist/actions/generate-client-token.mjs.map +1 -0
  246. package/dist/actions/generate-next-invoice-number-v2.cjs +19 -0
  247. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -0
  248. package/dist/actions/generate-next-invoice-number-v2.d.cts +9 -0
  249. package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -0
  250. package/dist/actions/generate-next-invoice-number-v2.d.mts +9 -0
  251. package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -0
  252. package/dist/actions/generate-next-invoice-number-v2.mjs +16 -0
  253. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -0
  254. package/dist/actions/generate-next-invoice-number.cjs +16 -0
  255. package/dist/actions/generate-next-invoice-number.cjs.map +1 -0
  256. package/dist/actions/generate-next-invoice-number.d.cts +9 -0
  257. package/dist/actions/generate-next-invoice-number.d.cts.map +1 -0
  258. package/dist/actions/generate-next-invoice-number.d.mts +9 -0
  259. package/dist/actions/generate-next-invoice-number.d.mts.map +1 -0
  260. package/dist/actions/generate-next-invoice-number.mjs +13 -0
  261. package/dist/actions/generate-next-invoice-number.mjs.map +1 -0
  262. package/dist/actions/generate-qr-code.cjs +46 -0
  263. package/dist/actions/generate-qr-code.cjs.map +1 -0
  264. package/dist/actions/generate-qr-code.d.cts +9 -0
  265. package/dist/actions/generate-qr-code.d.cts.map +1 -0
  266. package/dist/actions/generate-qr-code.d.mts +9 -0
  267. package/dist/actions/generate-qr-code.d.mts.map +1 -0
  268. package/dist/actions/generate-qr-code.mjs +45 -0
  269. package/dist/actions/generate-qr-code.mjs.map +1 -0
  270. package/dist/actions/get-billing-subscriptions.cjs +98 -0
  271. package/dist/actions/get-billing-subscriptions.cjs.map +1 -0
  272. package/dist/actions/get-billing-subscriptions.d.cts +9 -0
  273. package/dist/actions/get-billing-subscriptions.d.cts.map +1 -0
  274. package/dist/actions/get-billing-subscriptions.d.mts +9 -0
  275. package/dist/actions/get-billing-subscriptions.d.mts.map +1 -0
  276. package/dist/actions/get-billing-subscriptions.mjs +97 -0
  277. package/dist/actions/get-billing-subscriptions.mjs.map +1 -0
  278. package/dist/actions/get-invoice.cjs +159 -0
  279. package/dist/actions/get-invoice.cjs.map +1 -0
  280. package/dist/actions/get-invoice.d.cts +9 -0
  281. package/dist/actions/get-invoice.d.cts.map +1 -0
  282. package/dist/actions/get-invoice.d.mts +9 -0
  283. package/dist/actions/get-invoice.d.mts.map +1 -0
  284. package/dist/actions/get-invoice.mjs +158 -0
  285. package/dist/actions/get-invoice.mjs.map +1 -0
  286. package/dist/actions/get-invoicing-invoices-qr-code.cjs +29 -0
  287. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -0
  288. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +9 -0
  289. package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -0
  290. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +9 -0
  291. package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -0
  292. package/dist/actions/get-invoicing-invoices-qr-code.mjs +28 -0
  293. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -0
  294. package/dist/actions/get-invoicing-template.cjs +136 -0
  295. package/dist/actions/get-invoicing-template.cjs.map +1 -0
  296. package/dist/actions/get-invoicing-template.d.cts +9 -0
  297. package/dist/actions/get-invoicing-template.d.cts.map +1 -0
  298. package/dist/actions/get-invoicing-template.d.mts +9 -0
  299. package/dist/actions/get-invoicing-template.d.mts.map +1 -0
  300. package/dist/actions/get-invoicing-template.mjs +135 -0
  301. package/dist/actions/get-invoicing-template.mjs.map +1 -0
  302. package/dist/actions/get-order.cjs +112 -0
  303. package/dist/actions/get-order.cjs.map +1 -0
  304. package/dist/actions/get-order.d.cts +9 -0
  305. package/dist/actions/get-order.d.cts.map +1 -0
  306. package/dist/actions/get-order.d.mts +9 -0
  307. package/dist/actions/get-order.d.mts.map +1 -0
  308. package/dist/actions/get-order.mjs +111 -0
  309. package/dist/actions/get-order.mjs.map +1 -0
  310. package/dist/actions/get-payment.cjs +98 -0
  311. package/dist/actions/get-payment.cjs.map +1 -0
  312. package/dist/actions/get-payment.d.cts +9 -0
  313. package/dist/actions/get-payment.d.cts.map +1 -0
  314. package/dist/actions/get-payment.d.mts +9 -0
  315. package/dist/actions/get-payment.d.mts.map +1 -0
  316. package/dist/actions/get-payment.mjs +97 -0
  317. package/dist/actions/get-payment.mjs.map +1 -0
  318. package/dist/actions/get-payments-refund.cjs +37 -0
  319. package/dist/actions/get-payments-refund.cjs.map +1 -0
  320. package/dist/actions/get-payments-refund.d.cts +9 -0
  321. package/dist/actions/get-payments-refund.d.cts.map +1 -0
  322. package/dist/actions/get-payments-refund.d.mts +9 -0
  323. package/dist/actions/get-payments-refund.d.mts.map +1 -0
  324. package/dist/actions/get-payments-refund.mjs +36 -0
  325. package/dist/actions/get-payments-refund.mjs.map +1 -0
  326. package/dist/actions/get-plan.cjs +69 -0
  327. package/dist/actions/get-plan.cjs.map +1 -0
  328. package/dist/actions/get-plan.d.cts +9 -0
  329. package/dist/actions/get-plan.d.cts.map +1 -0
  330. package/dist/actions/get-plan.d.mts +9 -0
  331. package/dist/actions/get-plan.d.mts.map +1 -0
  332. package/dist/actions/get-plan.mjs +68 -0
  333. package/dist/actions/get-plan.mjs.map +1 -0
  334. package/dist/actions/get-product.cjs +32 -0
  335. package/dist/actions/get-product.cjs.map +1 -0
  336. package/dist/actions/get-product.d.cts +9 -0
  337. package/dist/actions/get-product.d.cts.map +1 -0
  338. package/dist/actions/get-product.d.mts +9 -0
  339. package/dist/actions/get-product.d.mts.map +1 -0
  340. package/dist/actions/get-product.mjs +31 -0
  341. package/dist/actions/get-product.mjs.map +1 -0
  342. package/dist/actions/get-subscription.cjs +88 -0
  343. package/dist/actions/get-subscription.cjs.map +1 -0
  344. package/dist/actions/get-subscription.d.cts +9 -0
  345. package/dist/actions/get-subscription.d.cts.map +1 -0
  346. package/dist/actions/get-subscription.d.mts +9 -0
  347. package/dist/actions/get-subscription.d.mts.map +1 -0
  348. package/dist/actions/get-subscription.mjs +87 -0
  349. package/dist/actions/get-subscription.mjs.map +1 -0
  350. package/dist/actions/get-user-info.cjs +43 -0
  351. package/dist/actions/get-user-info.cjs.map +1 -0
  352. package/dist/actions/get-user-info.d.cts +9 -0
  353. package/dist/actions/get-user-info.d.cts.map +1 -0
  354. package/dist/actions/get-user-info.d.mts +9 -0
  355. package/dist/actions/get-user-info.d.mts.map +1 -0
  356. package/dist/actions/get-user-info.mjs +42 -0
  357. package/dist/actions/get-user-info.mjs.map +1 -0
  358. package/dist/actions/get-userinfo.cjs +55 -0
  359. package/dist/actions/get-userinfo.cjs.map +1 -0
  360. package/dist/actions/get-userinfo.d.cts +9 -0
  361. package/dist/actions/get-userinfo.d.cts.map +1 -0
  362. package/dist/actions/get-userinfo.d.mts +9 -0
  363. package/dist/actions/get-userinfo.d.mts.map +1 -0
  364. package/dist/actions/get-userinfo.mjs +54 -0
  365. package/dist/actions/get-userinfo.mjs.map +1 -0
  366. package/dist/actions/get-web-profile.cjs +38 -0
  367. package/dist/actions/get-web-profile.cjs.map +1 -0
  368. package/dist/actions/get-web-profile.d.cts +9 -0
  369. package/dist/actions/get-web-profile.d.cts.map +1 -0
  370. package/dist/actions/get-web-profile.d.mts +9 -0
  371. package/dist/actions/get-web-profile.d.mts.map +1 -0
  372. package/dist/actions/get-web-profile.mjs +37 -0
  373. package/dist/actions/get-web-profile.mjs.map +1 -0
  374. package/dist/actions/get-webhook-lookup.cjs +25 -0
  375. package/dist/actions/get-webhook-lookup.cjs.map +1 -0
  376. package/dist/actions/get-webhook-lookup.d.cts +9 -0
  377. package/dist/actions/get-webhook-lookup.d.cts.map +1 -0
  378. package/dist/actions/get-webhook-lookup.d.mts +9 -0
  379. package/dist/actions/get-webhook-lookup.d.mts.map +1 -0
  380. package/dist/actions/get-webhook-lookup.mjs +24 -0
  381. package/dist/actions/get-webhook-lookup.mjs.map +1 -0
  382. package/dist/actions/get-webhook.cjs +33 -0
  383. package/dist/actions/get-webhook.cjs.map +1 -0
  384. package/dist/actions/get-webhook.d.cts +9 -0
  385. package/dist/actions/get-webhook.d.cts.map +1 -0
  386. package/dist/actions/get-webhook.d.mts +9 -0
  387. package/dist/actions/get-webhook.d.mts.map +1 -0
  388. package/dist/actions/get-webhook.mjs +32 -0
  389. package/dist/actions/get-webhook.mjs.map +1 -0
  390. package/dist/actions/index.cjs +157 -0
  391. package/dist/actions/index.d.cts +79 -0
  392. package/dist/actions/index.d.mts +79 -0
  393. package/dist/actions/index.mjs +79 -0
  394. package/dist/actions/list-disputes.cjs +62 -0
  395. package/dist/actions/list-disputes.cjs.map +1 -0
  396. package/dist/actions/list-disputes.d.cts +9 -0
  397. package/dist/actions/list-disputes.d.cts.map +1 -0
  398. package/dist/actions/list-disputes.d.mts +9 -0
  399. package/dist/actions/list-disputes.d.mts.map +1 -0
  400. package/dist/actions/list-disputes.mjs +61 -0
  401. package/dist/actions/list-disputes.mjs.map +1 -0
  402. package/dist/actions/list-invoices.cjs +81 -0
  403. package/dist/actions/list-invoices.cjs.map +1 -0
  404. package/dist/actions/list-invoices.d.cts +9 -0
  405. package/dist/actions/list-invoices.d.cts.map +1 -0
  406. package/dist/actions/list-invoices.d.mts +9 -0
  407. package/dist/actions/list-invoices.d.mts.map +1 -0
  408. package/dist/actions/list-invoices.mjs +80 -0
  409. package/dist/actions/list-invoices.mjs.map +1 -0
  410. package/dist/actions/list-legacy-billing-plans.cjs +87 -0
  411. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -0
  412. package/dist/actions/list-legacy-billing-plans.d.cts +9 -0
  413. package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -0
  414. package/dist/actions/list-legacy-billing-plans.d.mts +9 -0
  415. package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -0
  416. package/dist/actions/list-legacy-billing-plans.mjs +86 -0
  417. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -0
  418. package/dist/actions/list-payments.cjs +112 -0
  419. package/dist/actions/list-payments.cjs.map +1 -0
  420. package/dist/actions/list-payments.d.cts +9 -0
  421. package/dist/actions/list-payments.d.cts.map +1 -0
  422. package/dist/actions/list-payments.d.mts +9 -0
  423. package/dist/actions/list-payments.d.mts.map +1 -0
  424. package/dist/actions/list-payments.mjs +111 -0
  425. package/dist/actions/list-payments.mjs.map +1 -0
  426. package/dist/actions/list-plans.cjs +66 -0
  427. package/dist/actions/list-plans.cjs.map +1 -0
  428. package/dist/actions/list-plans.d.cts +9 -0
  429. package/dist/actions/list-plans.d.cts.map +1 -0
  430. package/dist/actions/list-plans.d.mts +9 -0
  431. package/dist/actions/list-plans.d.mts.map +1 -0
  432. package/dist/actions/list-plans.mjs +65 -0
  433. package/dist/actions/list-plans.mjs.map +1 -0
  434. package/dist/actions/list-products.cjs +37 -0
  435. package/dist/actions/list-products.cjs.map +1 -0
  436. package/dist/actions/list-products.d.cts +9 -0
  437. package/dist/actions/list-products.d.cts.map +1 -0
  438. package/dist/actions/list-products.d.mts +9 -0
  439. package/dist/actions/list-products.d.mts.map +1 -0
  440. package/dist/actions/list-products.mjs +36 -0
  441. package/dist/actions/list-products.mjs.map +1 -0
  442. package/dist/actions/list-templates.cjs +74 -0
  443. package/dist/actions/list-templates.cjs.map +1 -0
  444. package/dist/actions/list-templates.d.cts +9 -0
  445. package/dist/actions/list-templates.d.cts.map +1 -0
  446. package/dist/actions/list-templates.d.mts +9 -0
  447. package/dist/actions/list-templates.d.mts.map +1 -0
  448. package/dist/actions/list-templates.mjs +73 -0
  449. package/dist/actions/list-templates.mjs.map +1 -0
  450. package/dist/actions/list-web-profiles.cjs +48 -0
  451. package/dist/actions/list-web-profiles.cjs.map +1 -0
  452. package/dist/actions/list-web-profiles.d.cts +9 -0
  453. package/dist/actions/list-web-profiles.d.cts.map +1 -0
  454. package/dist/actions/list-web-profiles.d.mts +9 -0
  455. package/dist/actions/list-web-profiles.d.mts.map +1 -0
  456. package/dist/actions/list-web-profiles.mjs +47 -0
  457. package/dist/actions/list-web-profiles.mjs.map +1 -0
  458. package/dist/actions/list-webhook-event-type-subscriptions.cjs +23 -0
  459. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -0
  460. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +9 -0
  461. package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -0
  462. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +9 -0
  463. package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -0
  464. package/dist/actions/list-webhook-event-type-subscriptions.mjs +22 -0
  465. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -0
  466. package/dist/actions/list-webhook-event-types.cjs +23 -0
  467. package/dist/actions/list-webhook-event-types.cjs.map +1 -0
  468. package/dist/actions/list-webhook-event-types.d.cts +9 -0
  469. package/dist/actions/list-webhook-event-types.d.cts.map +1 -0
  470. package/dist/actions/list-webhook-event-types.d.mts +9 -0
  471. package/dist/actions/list-webhook-event-types.d.mts.map +1 -0
  472. package/dist/actions/list-webhook-event-types.mjs +22 -0
  473. package/dist/actions/list-webhook-event-types.mjs.map +1 -0
  474. package/dist/actions/list-webhook-lookups.cjs +26 -0
  475. package/dist/actions/list-webhook-lookups.cjs.map +1 -0
  476. package/dist/actions/list-webhook-lookups.d.cts +9 -0
  477. package/dist/actions/list-webhook-lookups.d.cts.map +1 -0
  478. package/dist/actions/list-webhook-lookups.d.mts +9 -0
  479. package/dist/actions/list-webhook-lookups.d.mts.map +1 -0
  480. package/dist/actions/list-webhook-lookups.mjs +25 -0
  481. package/dist/actions/list-webhook-lookups.mjs.map +1 -0
  482. package/dist/actions/list-webhooks.cjs +31 -0
  483. package/dist/actions/list-webhooks.cjs.map +1 -0
  484. package/dist/actions/list-webhooks.d.cts +9 -0
  485. package/dist/actions/list-webhooks.d.cts.map +1 -0
  486. package/dist/actions/list-webhooks.d.mts +9 -0
  487. package/dist/actions/list-webhooks.d.mts.map +1 -0
  488. package/dist/actions/list-webhooks.mjs +30 -0
  489. package/dist/actions/list-webhooks.mjs.map +1 -0
  490. package/dist/actions/patch-orders.cjs +43 -0
  491. package/dist/actions/patch-orders.cjs.map +1 -0
  492. package/dist/actions/patch-orders.d.cts +9 -0
  493. package/dist/actions/patch-orders.d.cts.map +1 -0
  494. package/dist/actions/patch-orders.d.mts +9 -0
  495. package/dist/actions/patch-orders.d.mts.map +1 -0
  496. package/dist/actions/patch-orders.mjs +40 -0
  497. package/dist/actions/patch-orders.mjs.map +1 -0
  498. package/dist/actions/patch-plan.cjs +34 -0
  499. package/dist/actions/patch-plan.cjs.map +1 -0
  500. package/dist/actions/patch-plan.d.cts +9 -0
  501. package/dist/actions/patch-plan.d.cts.map +1 -0
  502. package/dist/actions/patch-plan.d.mts +9 -0
  503. package/dist/actions/patch-plan.d.mts.map +1 -0
  504. package/dist/actions/patch-plan.mjs +31 -0
  505. package/dist/actions/patch-plan.mjs.map +1 -0
  506. package/dist/actions/patch-subscription.cjs +49 -0
  507. package/dist/actions/patch-subscription.cjs.map +1 -0
  508. package/dist/actions/patch-subscription.d.cts +9 -0
  509. package/dist/actions/patch-subscription.d.cts.map +1 -0
  510. package/dist/actions/patch-subscription.d.mts +9 -0
  511. package/dist/actions/patch-subscription.d.mts.map +1 -0
  512. package/dist/actions/patch-subscription.mjs +48 -0
  513. package/dist/actions/patch-subscription.mjs.map +1 -0
  514. package/dist/actions/patch-web-profile.cjs +41 -0
  515. package/dist/actions/patch-web-profile.cjs.map +1 -0
  516. package/dist/actions/patch-web-profile.d.cts +9 -0
  517. package/dist/actions/patch-web-profile.d.cts.map +1 -0
  518. package/dist/actions/patch-web-profile.d.mts +9 -0
  519. package/dist/actions/patch-web-profile.d.mts.map +1 -0
  520. package/dist/actions/patch-web-profile.mjs +38 -0
  521. package/dist/actions/patch-web-profile.mjs.map +1 -0
  522. package/dist/actions/ping-braintree.cjs +19 -0
  523. package/dist/actions/ping-braintree.cjs.map +1 -0
  524. package/dist/actions/ping-braintree.d.cts +9 -0
  525. package/dist/actions/ping-braintree.d.cts.map +1 -0
  526. package/dist/actions/ping-braintree.d.mts +9 -0
  527. package/dist/actions/ping-braintree.d.mts.map +1 -0
  528. package/dist/actions/ping-braintree.mjs +16 -0
  529. package/dist/actions/ping-braintree.mjs.map +1 -0
  530. package/dist/actions/query-braintree-report.cjs +39 -0
  531. package/dist/actions/query-braintree-report.cjs.map +1 -0
  532. package/dist/actions/query-braintree-report.d.cts +9 -0
  533. package/dist/actions/query-braintree-report.d.cts.map +1 -0
  534. package/dist/actions/query-braintree-report.d.mts +9 -0
  535. package/dist/actions/query-braintree-report.d.mts.map +1 -0
  536. package/dist/actions/query-braintree-report.mjs +38 -0
  537. package/dist/actions/query-braintree-report.mjs.map +1 -0
  538. package/dist/actions/retrieve-payment-resource.cjs +72 -0
  539. package/dist/actions/retrieve-payment-resource.cjs.map +1 -0
  540. package/dist/actions/retrieve-payment-resource.d.cts +9 -0
  541. package/dist/actions/retrieve-payment-resource.d.cts.map +1 -0
  542. package/dist/actions/retrieve-payment-resource.d.mts +9 -0
  543. package/dist/actions/retrieve-payment-resource.d.mts.map +1 -0
  544. package/dist/actions/retrieve-payment-resource.mjs +71 -0
  545. package/dist/actions/retrieve-payment-resource.mjs.map +1 -0
  546. package/dist/actions/search-invoices.cjs +120 -0
  547. package/dist/actions/search-invoices.cjs.map +1 -0
  548. package/dist/actions/search-invoices.d.cts +9 -0
  549. package/dist/actions/search-invoices.d.cts.map +1 -0
  550. package/dist/actions/search-invoices.d.mts +9 -0
  551. package/dist/actions/search-invoices.d.mts.map +1 -0
  552. package/dist/actions/search-invoices.mjs +119 -0
  553. package/dist/actions/search-invoices.mjs.map +1 -0
  554. package/dist/actions/send-invoice.cjs +37 -0
  555. package/dist/actions/send-invoice.cjs.map +1 -0
  556. package/dist/actions/send-invoice.d.cts +9 -0
  557. package/dist/actions/send-invoice.d.cts.map +1 -0
  558. package/dist/actions/send-invoice.d.mts +9 -0
  559. package/dist/actions/send-invoice.d.mts.map +1 -0
  560. package/dist/actions/send-invoice.mjs +36 -0
  561. package/dist/actions/send-invoice.mjs.map +1 -0
  562. package/dist/actions/simulate-webhook-event.cjs +52 -0
  563. package/dist/actions/simulate-webhook-event.cjs.map +1 -0
  564. package/dist/actions/simulate-webhook-event.d.cts +9 -0
  565. package/dist/actions/simulate-webhook-event.d.cts.map +1 -0
  566. package/dist/actions/simulate-webhook-event.d.mts +9 -0
  567. package/dist/actions/simulate-webhook-event.d.mts.map +1 -0
  568. package/dist/actions/simulate-webhook-event.mjs +51 -0
  569. package/dist/actions/simulate-webhook-event.mjs.map +1 -0
  570. package/dist/actions/update-dispute.cjs +45 -0
  571. package/dist/actions/update-dispute.cjs.map +1 -0
  572. package/dist/actions/update-dispute.d.cts +9 -0
  573. package/dist/actions/update-dispute.d.cts.map +1 -0
  574. package/dist/actions/update-dispute.d.mts +9 -0
  575. package/dist/actions/update-dispute.d.mts.map +1 -0
  576. package/dist/actions/update-dispute.mjs +44 -0
  577. package/dist/actions/update-dispute.mjs.map +1 -0
  578. package/dist/actions/update-invoice.cjs +367 -0
  579. package/dist/actions/update-invoice.cjs.map +1 -0
  580. package/dist/actions/update-invoice.d.cts +9 -0
  581. package/dist/actions/update-invoice.d.cts.map +1 -0
  582. package/dist/actions/update-invoice.d.mts +9 -0
  583. package/dist/actions/update-invoice.d.mts.map +1 -0
  584. package/dist/actions/update-invoice.mjs +366 -0
  585. package/dist/actions/update-invoice.mjs.map +1 -0
  586. package/dist/actions/update-pay-pal-product.cjs +41 -0
  587. package/dist/actions/update-pay-pal-product.cjs.map +1 -0
  588. package/dist/actions/update-pay-pal-product.d.cts +9 -0
  589. package/dist/actions/update-pay-pal-product.d.cts.map +1 -0
  590. package/dist/actions/update-pay-pal-product.d.mts +9 -0
  591. package/dist/actions/update-pay-pal-product.d.mts.map +1 -0
  592. package/dist/actions/update-pay-pal-product.mjs +38 -0
  593. package/dist/actions/update-pay-pal-product.mjs.map +1 -0
  594. package/dist/actions/update-pay-pal-webhook.cjs +54 -0
  595. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -0
  596. package/dist/actions/update-pay-pal-webhook.d.cts +9 -0
  597. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -0
  598. package/dist/actions/update-pay-pal-webhook.d.mts +9 -0
  599. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -0
  600. package/dist/actions/update-pay-pal-webhook.mjs +53 -0
  601. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -0
  602. package/dist/actions/update-templates.cjs +403 -0
  603. package/dist/actions/update-templates.cjs.map +1 -0
  604. package/dist/actions/update-templates.d.cts +9 -0
  605. package/dist/actions/update-templates.d.cts.map +1 -0
  606. package/dist/actions/update-templates.d.mts +9 -0
  607. package/dist/actions/update-templates.d.mts.map +1 -0
  608. package/dist/actions/update-templates.mjs +402 -0
  609. package/dist/actions/update-templates.mjs.map +1 -0
  610. package/dist/actions/update-web-profile.cjs +50 -0
  611. package/dist/actions/update-web-profile.cjs.map +1 -0
  612. package/dist/actions/update-web-profile.d.cts +9 -0
  613. package/dist/actions/update-web-profile.d.cts.map +1 -0
  614. package/dist/actions/update-web-profile.d.mts +9 -0
  615. package/dist/actions/update-web-profile.d.mts.map +1 -0
  616. package/dist/actions/update-web-profile.mjs +49 -0
  617. package/dist/actions/update-web-profile.mjs.map +1 -0
  618. package/dist/actions/verify-payment-method.cjs +33 -0
  619. package/dist/actions/verify-payment-method.cjs.map +1 -0
  620. package/dist/actions/verify-payment-method.d.cts +9 -0
  621. package/dist/actions/verify-payment-method.d.cts.map +1 -0
  622. package/dist/actions/verify-payment-method.d.mts +9 -0
  623. package/dist/actions/verify-payment-method.d.mts.map +1 -0
  624. package/dist/actions/verify-payment-method.mjs +32 -0
  625. package/dist/actions/verify-payment-method.mjs.map +1 -0
  626. package/dist/actions/verify-webhook-signature.cjs +37 -0
  627. package/dist/actions/verify-webhook-signature.cjs.map +1 -0
  628. package/dist/actions/verify-webhook-signature.d.cts +9 -0
  629. package/dist/actions/verify-webhook-signature.d.cts.map +1 -0
  630. package/dist/actions/verify-webhook-signature.d.mts +9 -0
  631. package/dist/actions/verify-webhook-signature.d.mts.map +1 -0
  632. package/dist/actions/verify-webhook-signature.mjs +34 -0
  633. package/dist/actions/verify-webhook-signature.mjs.map +1 -0
  634. package/dist/app.cjs +9 -0
  635. package/dist/app.cjs.map +1 -0
  636. package/dist/app.d.cts +5 -0
  637. package/dist/app.d.cts.map +1 -0
  638. package/dist/app.d.mts +5 -0
  639. package/dist/app.d.mts.map +1 -0
  640. package/dist/app.mjs +10 -0
  641. package/dist/app.mjs.map +1 -0
  642. package/dist/catalog.cjs +15 -0
  643. package/dist/catalog.cjs.map +1 -0
  644. package/dist/catalog.d.cts +14 -0
  645. package/dist/catalog.d.cts.map +1 -0
  646. package/dist/catalog.d.mts +14 -0
  647. package/dist/catalog.d.mts.map +1 -0
  648. package/dist/catalog.mjs +15 -0
  649. package/dist/catalog.mjs.map +1 -0
  650. package/dist/execute.cjs +18 -0
  651. package/dist/execute.cjs.map +1 -0
  652. package/dist/execute.mjs +18 -0
  653. package/dist/execute.mjs.map +1 -0
  654. package/dist/index.cjs +162 -0
  655. package/dist/index.d.cts +81 -0
  656. package/dist/index.d.mts +81 -0
  657. package/dist/index.mjs +82 -0
  658. package/package.json +49 -0
@@ -0,0 +1,66 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-plans.ts
4
+ const PaypalListPlansInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("A non-zero integer which is the start index of the entire list of items to return in the response. The combination of page=1 and page_size=20 returns the first 20 items.").optional(),
6
+ page_size: zod.z.number().int().default(25).describe("The number of items to return in the response. Defaults to 25.").optional(),
7
+ product_id: zod.z.string().describe("Filters the response by a Product ID.").optional(),
8
+ total_required: zod.z.boolean().default(false).describe("Indicates whether to show the total count in the response.").optional()
9
+ }).describe("Request to list billing plans.");
10
+ const PaypalListPlans_LinkDescriptionSchema = zod.z.object({
11
+ rel: zod.z.string().describe("The link relation type that describes the meaning of the link."),
12
+ href: zod.z.string().describe("The complete target URL. To use the href, you must include the rel and method."),
13
+ method: zod.z.string().describe("The HTTP method that must be used to access the link.").nullable().optional()
14
+ }).describe("HATEOAS link description.");
15
+ const PaypalListPlans_TaxesSchema = zod.z.object({
16
+ inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive in the amount.").nullable().optional(),
17
+ percentage: zod.z.string().describe("The tax percentage as a decimal string.").nullable().optional()
18
+ }).describe("Tax information.");
19
+ const PaypalListPlans_PricingSchemeSchema = zod.z.object({
20
+ parts: zod.z.array(zod.z.object({})).describe("The pricing parts (e.g., volume tiers, tiered pricing).").nullable().optional(),
21
+ version: zod.z.number().int().describe("The version of the pricing scheme.").nullable().optional(),
22
+ create_time: zod.z.string().describe("The creation time in ISO 8601 format.").nullable().optional(),
23
+ pricing_model: zod.z.string().describe("The pricing model (e.g., TIERED, VOLUME).").nullable().optional()
24
+ }).describe("Pricing scheme details.");
25
+ const PaypalListPlans_BillingCycleSchema = zod.z.object({
26
+ sequence: zod.z.number().int().describe("The order in which to run the cycle within the tenure.").nullable().optional(),
27
+ tenure_type: zod.z.string().describe("The tenure type of the billing cycle.").nullable().optional(),
28
+ total_cycles: zod.z.number().int().describe("The number of times the billing cycle runs.").nullable().optional(),
29
+ pricing_scheme: PaypalListPlans_PricingSchemeSchema.nullable().optional()
30
+ }).describe("Billing cycle information.");
31
+ const PaypalListPlans_PaymentPreferencesSchema = zod.z.object({
32
+ auto_bill_outstanding: zod.z.boolean().describe("Indicates whether to automatically bill the outstanding amount in the next cycle.").nullable().optional(),
33
+ payment_failure_threshold: zod.z.number().int().describe("The number of consecutive payment failures before suspending the plan.").nullable().optional(),
34
+ initial_amount_success_action: zod.z.string().describe("The action to take when the initial payment is successful.").nullable().optional()
35
+ }).describe("Payment preferences for a plan.");
36
+ const PaypalListPlans_PlanSchema = zod.z.object({
37
+ id: zod.z.string().describe("The unique identifier for the plan."),
38
+ name: zod.z.string().describe("The name of the plan.").nullable().optional(),
39
+ links: zod.z.array(PaypalListPlans_LinkDescriptionSchema).describe("An array of HATEOAS links related to the plan.").nullable().optional(),
40
+ taxes: PaypalListPlans_TaxesSchema.nullable().optional(),
41
+ status: zod.z.string().describe("The status of the plan (ACTIVE, INACTIVE, CREATED, etc.).").nullable().optional(),
42
+ product_id: zod.z.string().describe("The ID of the product associated with the plan.").nullable().optional(),
43
+ create_time: zod.z.string().describe("The creation time of the plan in ISO 8601 format.").nullable().optional(),
44
+ description: zod.z.string().describe("The description of the plan.").nullable().optional(),
45
+ update_time: zod.z.string().describe("The last update time of the plan in ISO 8601 format.").nullable().optional(),
46
+ billing_cycles: zod.z.array(PaypalListPlans_BillingCycleSchema).describe("The billing cycles for the plan.").nullable().optional(),
47
+ quantity_supported: zod.z.boolean().describe("Indicates whether the plan supports quantity.").nullable().optional(),
48
+ payment_preferences: PaypalListPlans_PaymentPreferencesSchema.nullable().optional()
49
+ }).describe("Billing plan details.");
50
+ const PaypalListPlansOutput = zod.z.object({
51
+ links: zod.z.array(PaypalListPlans_LinkDescriptionSchema).describe("An array of request-related HATEOAS links for pagination.").nullable().optional(),
52
+ plans: zod.z.array(PaypalListPlans_PlanSchema).describe("An array of plan objects."),
53
+ total_items: zod.z.number().int().describe("The total number of items (only included if total_required is true).").nullable().optional(),
54
+ total_pages: zod.z.number().int().describe("The total number of pages (only included if total_required is true).").nullable().optional()
55
+ }).describe("Response containing a list of billing plans.");
56
+ const paypalListPlans = require_action.action("PAYPAL_LIST_PLANS", {
57
+ slug: "paypal-list-plans",
58
+ name: "List billing plans",
59
+ description: "Lists billing plans from PayPal with optional filtering and pagination. Use this action when you need to retrieve available billing plans for subscription products. This is a read-only operation that returns plan details including pricing, billing cycles, and status. Results can be filtered by product_id and paginated using page and page_size parameters. The response includes HATEOAS links for navigating between pages and performing related actions (e.g., activate, deactivate, update plan).",
60
+ input: PaypalListPlansInput,
61
+ output: PaypalListPlansOutput
62
+ });
63
+ //#endregion
64
+ exports.paypalListPlans = paypalListPlans;
65
+
66
+ //# sourceMappingURL=list-plans.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-plans.cjs","names":["z","action"],"sources":["../../src/actions/list-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListPlansInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return in the response. The combination of page=1 and page_size=20 returns the first 20 items.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25.\").optional(),\n product_id: z.string().describe(\"Filters the response by a Product ID.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list billing plans.\");\nconst PaypalListPlans_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\"),\n href: z.string().describe(\"The complete target URL. To use the href, you must include the rel and method.\"),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).describe(\"HATEOAS link description.\");\nconst PaypalListPlans_TaxesSchema: z.ZodTypeAny = z.object({\n inclusive: z.boolean().describe(\"Indicates whether the tax is inclusive in the amount.\").nullable().optional(),\n percentage: z.string().describe(\"The tax percentage as a decimal string.\").nullable().optional(),\n}).describe(\"Tax information.\");\nconst PaypalListPlans_PricingSchemeSchema: z.ZodTypeAny = z.object({\n parts: z.array(z.object({})).describe(\"The pricing parts (e.g., volume tiers, tiered pricing).\").nullable().optional(),\n version: z.number().int().describe(\"The version of the pricing scheme.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time in ISO 8601 format.\").nullable().optional(),\n pricing_model: z.string().describe(\"The pricing model (e.g., TIERED, VOLUME).\").nullable().optional(),\n}).describe(\"Pricing scheme details.\");\nconst PaypalListPlans_BillingCycleSchema: z.ZodTypeAny = z.object({\n sequence: z.number().int().describe(\"The order in which to run the cycle within the tenure.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The number of times the billing cycle runs.\").nullable().optional(),\n pricing_scheme: PaypalListPlans_PricingSchemeSchema.nullable().optional(),\n}).describe(\"Billing cycle information.\");\nconst PaypalListPlans_PaymentPreferencesSchema: z.ZodTypeAny = z.object({\n auto_bill_outstanding: z.boolean().describe(\"Indicates whether to automatically bill the outstanding amount in the next cycle.\").nullable().optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of consecutive payment failures before suspending the plan.\").nullable().optional(),\n initial_amount_success_action: z.string().describe(\"The action to take when the initial payment is successful.\").nullable().optional(),\n}).describe(\"Payment preferences for a plan.\");\nconst PaypalListPlans_PlanSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the plan.\"),\n name: z.string().describe(\"The name of the plan.\").nullable().optional(),\n links: z.array(PaypalListPlans_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the plan.\").nullable().optional(),\n taxes: PaypalListPlans_TaxesSchema.nullable().optional(),\n status: z.string().describe(\"The status of the plan (ACTIVE, INACTIVE, CREATED, etc.).\").nullable().optional(),\n product_id: z.string().describe(\"The ID of the product associated with the plan.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time of the plan in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The description of the plan.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time of the plan in ISO 8601 format.\").nullable().optional(),\n billing_cycles: z.array(PaypalListPlans_BillingCycleSchema).describe(\"The billing cycles for the plan.\").nullable().optional(),\n quantity_supported: z.boolean().describe(\"Indicates whether the plan supports quantity.\").nullable().optional(),\n payment_preferences: PaypalListPlans_PaymentPreferencesSchema.nullable().optional(),\n}).describe(\"Billing plan details.\");\nexport const PaypalListPlansOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListPlans_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links for pagination.\").nullable().optional(),\n plans: z.array(PaypalListPlans_PlanSchema).describe(\"An array of plan objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).describe(\"Response containing a list of billing plans.\");\n\nexport const paypalListPlans = action(\"PAYPAL_LIST_PLANS\", {\n slug: \"paypal-list-plans\",\n name: \"List billing plans\",\n description: \"Lists billing plans from PayPal with optional filtering and pagination. Use this action when you need to retrieve available billing plans for subscription products. This is a read-only operation that returns plan details including pricing, billing cycles, and status. Results can be filtered by product_id and paginated using page and page_size parameters. The response includes HATEOAS links for navigating between pages and performing related actions (e.g., activate, deactivate, update plan).\",\n input: PaypalListPlansInput,\n output: PaypalListPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACjO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,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,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,gBAAgBA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqB,yCAAyC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,2BAA2B;CAC/E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-plans.d.ts
4
+ declare const PaypalListPlansInput: z.ZodTypeAny;
5
+ declare const PaypalListPlansOutput: z.ZodTypeAny;
6
+ declare const paypalListPlans: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListPlans };
9
+ //# sourceMappingURL=list-plans.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-plans.d.cts","names":[],"sources":["../../src/actions/list-plans.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAKQ;AAAA,cAyChC,qBAAA,EAAuB,CAAA,CAAE,UAKqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-plans.d.ts
4
+ declare const PaypalListPlansInput: z.ZodTypeAny;
5
+ declare const PaypalListPlansOutput: z.ZodTypeAny;
6
+ declare const paypalListPlans: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListPlans };
9
+ //# sourceMappingURL=list-plans.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-plans.d.mts","names":[],"sources":["../../src/actions/list-plans.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAKQ;AAAA,cAyChC,qBAAA,EAAuB,CAAA,CAAE,UAKqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,65 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-plans.ts
4
+ const PaypalListPlansInput = z.object({
5
+ page: z.number().int().default(1).describe("A non-zero integer which is the start index of the entire list of items to return in the response. The combination of page=1 and page_size=20 returns the first 20 items.").optional(),
6
+ page_size: z.number().int().default(25).describe("The number of items to return in the response. Defaults to 25.").optional(),
7
+ product_id: z.string().describe("Filters the response by a Product ID.").optional(),
8
+ total_required: z.boolean().default(false).describe("Indicates whether to show the total count in the response.").optional()
9
+ }).describe("Request to list billing plans.");
10
+ const PaypalListPlans_LinkDescriptionSchema = z.object({
11
+ rel: z.string().describe("The link relation type that describes the meaning of the link."),
12
+ href: z.string().describe("The complete target URL. To use the href, you must include the rel and method."),
13
+ method: z.string().describe("The HTTP method that must be used to access the link.").nullable().optional()
14
+ }).describe("HATEOAS link description.");
15
+ const PaypalListPlans_TaxesSchema = z.object({
16
+ inclusive: z.boolean().describe("Indicates whether the tax is inclusive in the amount.").nullable().optional(),
17
+ percentage: z.string().describe("The tax percentage as a decimal string.").nullable().optional()
18
+ }).describe("Tax information.");
19
+ const PaypalListPlans_PricingSchemeSchema = z.object({
20
+ parts: z.array(z.object({})).describe("The pricing parts (e.g., volume tiers, tiered pricing).").nullable().optional(),
21
+ version: z.number().int().describe("The version of the pricing scheme.").nullable().optional(),
22
+ create_time: z.string().describe("The creation time in ISO 8601 format.").nullable().optional(),
23
+ pricing_model: z.string().describe("The pricing model (e.g., TIERED, VOLUME).").nullable().optional()
24
+ }).describe("Pricing scheme details.");
25
+ const PaypalListPlans_BillingCycleSchema = z.object({
26
+ sequence: z.number().int().describe("The order in which to run the cycle within the tenure.").nullable().optional(),
27
+ tenure_type: z.string().describe("The tenure type of the billing cycle.").nullable().optional(),
28
+ total_cycles: z.number().int().describe("The number of times the billing cycle runs.").nullable().optional(),
29
+ pricing_scheme: PaypalListPlans_PricingSchemeSchema.nullable().optional()
30
+ }).describe("Billing cycle information.");
31
+ const PaypalListPlans_PaymentPreferencesSchema = z.object({
32
+ auto_bill_outstanding: z.boolean().describe("Indicates whether to automatically bill the outstanding amount in the next cycle.").nullable().optional(),
33
+ payment_failure_threshold: z.number().int().describe("The number of consecutive payment failures before suspending the plan.").nullable().optional(),
34
+ initial_amount_success_action: z.string().describe("The action to take when the initial payment is successful.").nullable().optional()
35
+ }).describe("Payment preferences for a plan.");
36
+ const PaypalListPlans_PlanSchema = z.object({
37
+ id: z.string().describe("The unique identifier for the plan."),
38
+ name: z.string().describe("The name of the plan.").nullable().optional(),
39
+ links: z.array(PaypalListPlans_LinkDescriptionSchema).describe("An array of HATEOAS links related to the plan.").nullable().optional(),
40
+ taxes: PaypalListPlans_TaxesSchema.nullable().optional(),
41
+ status: z.string().describe("The status of the plan (ACTIVE, INACTIVE, CREATED, etc.).").nullable().optional(),
42
+ product_id: z.string().describe("The ID of the product associated with the plan.").nullable().optional(),
43
+ create_time: z.string().describe("The creation time of the plan in ISO 8601 format.").nullable().optional(),
44
+ description: z.string().describe("The description of the plan.").nullable().optional(),
45
+ update_time: z.string().describe("The last update time of the plan in ISO 8601 format.").nullable().optional(),
46
+ billing_cycles: z.array(PaypalListPlans_BillingCycleSchema).describe("The billing cycles for the plan.").nullable().optional(),
47
+ quantity_supported: z.boolean().describe("Indicates whether the plan supports quantity.").nullable().optional(),
48
+ payment_preferences: PaypalListPlans_PaymentPreferencesSchema.nullable().optional()
49
+ }).describe("Billing plan details.");
50
+ const paypalListPlans = action("PAYPAL_LIST_PLANS", {
51
+ slug: "paypal-list-plans",
52
+ name: "List billing plans",
53
+ description: "Lists billing plans from PayPal with optional filtering and pagination. Use this action when you need to retrieve available billing plans for subscription products. This is a read-only operation that returns plan details including pricing, billing cycles, and status. Results can be filtered by product_id and paginated using page and page_size parameters. The response includes HATEOAS links for navigating between pages and performing related actions (e.g., activate, deactivate, update plan).",
54
+ input: PaypalListPlansInput,
55
+ output: z.object({
56
+ links: z.array(PaypalListPlans_LinkDescriptionSchema).describe("An array of request-related HATEOAS links for pagination.").nullable().optional(),
57
+ plans: z.array(PaypalListPlans_PlanSchema).describe("An array of plan objects."),
58
+ total_items: z.number().int().describe("The total number of items (only included if total_required is true).").nullable().optional(),
59
+ total_pages: z.number().int().describe("The total number of pages (only included if total_required is true).").nullable().optional()
60
+ }).describe("Response containing a list of billing plans.")
61
+ });
62
+ //#endregion
63
+ export { paypalListPlans };
64
+
65
+ //# sourceMappingURL=list-plans.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-plans.mjs","names":[],"sources":["../../src/actions/list-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListPlansInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return in the response. The combination of page=1 and page_size=20 returns the first 20 items.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25.\").optional(),\n product_id: z.string().describe(\"Filters the response by a Product ID.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list billing plans.\");\nconst PaypalListPlans_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\"),\n href: z.string().describe(\"The complete target URL. To use the href, you must include the rel and method.\"),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).describe(\"HATEOAS link description.\");\nconst PaypalListPlans_TaxesSchema: z.ZodTypeAny = z.object({\n inclusive: z.boolean().describe(\"Indicates whether the tax is inclusive in the amount.\").nullable().optional(),\n percentage: z.string().describe(\"The tax percentage as a decimal string.\").nullable().optional(),\n}).describe(\"Tax information.\");\nconst PaypalListPlans_PricingSchemeSchema: z.ZodTypeAny = z.object({\n parts: z.array(z.object({})).describe(\"The pricing parts (e.g., volume tiers, tiered pricing).\").nullable().optional(),\n version: z.number().int().describe(\"The version of the pricing scheme.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time in ISO 8601 format.\").nullable().optional(),\n pricing_model: z.string().describe(\"The pricing model (e.g., TIERED, VOLUME).\").nullable().optional(),\n}).describe(\"Pricing scheme details.\");\nconst PaypalListPlans_BillingCycleSchema: z.ZodTypeAny = z.object({\n sequence: z.number().int().describe(\"The order in which to run the cycle within the tenure.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The number of times the billing cycle runs.\").nullable().optional(),\n pricing_scheme: PaypalListPlans_PricingSchemeSchema.nullable().optional(),\n}).describe(\"Billing cycle information.\");\nconst PaypalListPlans_PaymentPreferencesSchema: z.ZodTypeAny = z.object({\n auto_bill_outstanding: z.boolean().describe(\"Indicates whether to automatically bill the outstanding amount in the next cycle.\").nullable().optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of consecutive payment failures before suspending the plan.\").nullable().optional(),\n initial_amount_success_action: z.string().describe(\"The action to take when the initial payment is successful.\").nullable().optional(),\n}).describe(\"Payment preferences for a plan.\");\nconst PaypalListPlans_PlanSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the plan.\"),\n name: z.string().describe(\"The name of the plan.\").nullable().optional(),\n links: z.array(PaypalListPlans_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the plan.\").nullable().optional(),\n taxes: PaypalListPlans_TaxesSchema.nullable().optional(),\n status: z.string().describe(\"The status of the plan (ACTIVE, INACTIVE, CREATED, etc.).\").nullable().optional(),\n product_id: z.string().describe(\"The ID of the product associated with the plan.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time of the plan in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The description of the plan.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time of the plan in ISO 8601 format.\").nullable().optional(),\n billing_cycles: z.array(PaypalListPlans_BillingCycleSchema).describe(\"The billing cycles for the plan.\").nullable().optional(),\n quantity_supported: z.boolean().describe(\"Indicates whether the plan supports quantity.\").nullable().optional(),\n payment_preferences: PaypalListPlans_PaymentPreferencesSchema.nullable().optional(),\n}).describe(\"Billing plan details.\");\nexport const PaypalListPlansOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListPlans_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links for pagination.\").nullable().optional(),\n plans: z.array(PaypalListPlans_PlanSchema).describe(\"An array of plan objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).describe(\"Response containing a list of billing plans.\");\n\nexport const paypalListPlans = action(\"PAYPAL_LIST_PLANS\", {\n slug: \"paypal-list-plans\",\n name: \"List billing plans\",\n description: \"Lists billing plans from PayPal with optional filtering and pagination. Use this action when you need to retrieve available billing plans for subscription products. This is a read-only operation that returns plan details including pricing, billing cycles, and status. Results can be filtered by product_id and paginated using page and page_size parameters. The response includes HATEOAS links for navigating between pages and performing related actions (e.g., activate, deactivate, update plan).\",\n input: PaypalListPlansInput,\n output: PaypalListPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACjO,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,wCAAsD,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,8BAA4C,EAAE,OAAO;CACzD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CA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AAO;EAC1D,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,OAAO,EAAE,MAAM,0BAA0B,CAAC,CAAC,SAAS,2BAA2B;EAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-products.ts
4
+ const PaypalListProductsInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("A non-zero integer which is the start index of the entire list of items that are returned in the response.").optional(),
6
+ page_size: zod.z.number().int().default(10).describe("The number of items to return in the response. Defaults to 10.").optional(),
7
+ total_required: zod.z.boolean().default(false).describe("Indicates whether to show the total items and total pages in the response.").optional()
8
+ }).describe("Request model for listing PayPal products.");
9
+ const PaypalListProducts_LinkDescriptionSchema = zod.z.object({
10
+ rel: zod.z.string().describe("The link relation type.").nullable().optional(),
11
+ href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
12
+ method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
13
+ }).describe("The request-related HATEOAS link information.");
14
+ const PaypalListProducts_ProductElementSchema = zod.z.object({
15
+ id: zod.z.string().describe("The unique identifier for the product.").nullable().optional(),
16
+ name: zod.z.string().describe("The product name.").nullable().optional(),
17
+ links: zod.z.array(PaypalListProducts_LinkDescriptionSchema).describe("An array of links related to the product.").nullable().optional(),
18
+ create_time: zod.z.string().describe("The date and time when the product was created.").nullable().optional(),
19
+ description: zod.z.string().describe("The product description.").nullable().optional()
20
+ }).describe("The details for a product in the collection response.");
21
+ const PaypalListProductsOutput = zod.z.object({
22
+ links: zod.z.array(PaypalListProducts_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
23
+ products: zod.z.array(PaypalListProducts_ProductElementSchema).describe("An array of products."),
24
+ total_items: zod.z.number().int().describe("The total number of items.").nullable().optional(),
25
+ total_pages: zod.z.number().int().describe("The total number of pages.").nullable().optional()
26
+ }).describe("Response model for listing PayPal products.");
27
+ const paypalListProducts = require_action.action("PAYPAL_LIST_PRODUCTS", {
28
+ slug: "paypal-list-products",
29
+ name: "List PayPal Products",
30
+ description: "List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.",
31
+ input: PaypalListProductsInput,
32
+ output: PaypalListProductsOutput
33
+ });
34
+ //#endregion
35
+ exports.paypalListProducts = paypalListProducts;
36
+
37
+ //# sourceMappingURL=list-products.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-products.cjs","names":["z","action"],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListProductsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,KAAKA,IAAAA,EAAE,OAAO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AI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-products.d.ts
4
+ declare const PaypalListProductsInput: z.ZodTypeAny;
5
+ declare const PaypalListProductsOutput: z.ZodTypeAny;
6
+ declare const paypalListProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListProducts };
9
+ //# sourceMappingURL=list-products.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-products.d.cts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIiB;AAAA,cAa5C,wBAAA,EAA0B,CAAA,CAAE,UAKiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-products.d.ts
4
+ declare const PaypalListProductsInput: z.ZodTypeAny;
5
+ declare const PaypalListProductsOutput: z.ZodTypeAny;
6
+ declare const paypalListProducts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListProducts };
9
+ //# sourceMappingURL=list-products.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-products.d.mts","names":[],"sources":["../../src/actions/list-products.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAIiB;AAAA,cAa5C,wBAAA,EAA0B,CAAA,CAAE,UAKiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,36 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-products.ts
4
+ const PaypalListProductsInput = z.object({
5
+ page: z.number().int().default(1).describe("A non-zero integer which is the start index of the entire list of items that are returned in the response.").optional(),
6
+ page_size: z.number().int().default(10).describe("The number of items to return in the response. Defaults to 10.").optional(),
7
+ total_required: z.boolean().default(false).describe("Indicates whether to show the total items and total pages in the response.").optional()
8
+ }).describe("Request model for listing PayPal products.");
9
+ const PaypalListProducts_LinkDescriptionSchema = z.object({
10
+ rel: z.string().describe("The link relation type.").nullable().optional(),
11
+ href: z.string().describe("The hyperlink to the related resource.").nullable().optional(),
12
+ method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
13
+ }).describe("The request-related HATEOAS link information.");
14
+ const PaypalListProducts_ProductElementSchema = z.object({
15
+ id: z.string().describe("The unique identifier for the product.").nullable().optional(),
16
+ name: z.string().describe("The product name.").nullable().optional(),
17
+ links: z.array(PaypalListProducts_LinkDescriptionSchema).describe("An array of links related to the product.").nullable().optional(),
18
+ create_time: z.string().describe("The date and time when the product was created.").nullable().optional(),
19
+ description: z.string().describe("The product description.").nullable().optional()
20
+ }).describe("The details for a product in the collection response.");
21
+ const paypalListProducts = action("PAYPAL_LIST_PRODUCTS", {
22
+ slug: "paypal-list-products",
23
+ name: "List PayPal Products",
24
+ description: "List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.",
25
+ input: PaypalListProductsInput,
26
+ output: z.object({
27
+ links: z.array(PaypalListProducts_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
28
+ products: z.array(PaypalListProducts_ProductElementSchema).describe("An array of products."),
29
+ total_items: z.number().int().describe("The total number of items.").nullable().optional(),
30
+ total_pages: z.number().int().describe("The total number of pages.").nullable().optional()
31
+ }).describe("Response model for listing PayPal products.")
32
+ });
33
+ //#endregion
34
+ export { paypalListProducts };
35
+
36
+ //# sourceMappingURL=list-products.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListProductsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAAyD,EAAE,OAAO;CACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAQnE,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uBAAuB;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
@@ -0,0 +1,74 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-templates.ts
4
+ const PaypalListTemplatesInput = zod.z.object({
5
+ page: zod.z.number().int().default(1).describe("The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.").optional(),
6
+ fields: zod.z.enum(["all", "none"]).default("all").describe("Fields to return in the response.").optional(),
7
+ page_size: zod.z.number().int().default(25).describe("The maximum number of templates to return in the response.").optional()
8
+ }).describe("Request model for listing PayPal invoice templates.");
9
+ const PaypalListTemplates_LinkDescriptionSchema = zod.z.object({
10
+ rel: zod.z.string().describe("The link relation type.").nullable().optional(),
11
+ href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
12
+ method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
13
+ }).describe("The request-related HATEOAS link information.");
14
+ const PaypalListTemplates_PhoneDetailSchema = zod.z.object({
15
+ phone_type: zod.z.string().describe("The phone type.").nullable().optional(),
16
+ country_code: zod.z.string().describe("The country code.").nullable().optional(),
17
+ national_number: zod.z.string().describe("The national number.").nullable().optional(),
18
+ extension_number: zod.z.string().describe("The extension number.").nullable().optional()
19
+ }).describe("The phone details including the phone number and type.");
20
+ const PaypalListTemplates_PortablePostalAddressSchema = zod.z.object({
21
+ postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
22
+ admin_area_1: zod.z.string().describe("The first administrative area.").nullable().optional(),
23
+ admin_area_2: zod.z.string().describe("The second administrative area.").nullable().optional(),
24
+ admin_area_3: zod.z.string().describe("The third administrative area.").nullable().optional(),
25
+ admin_area_4: zod.z.string().describe("The fourth administrative area.").nullable().optional(),
26
+ country_code: zod.z.string().describe("The two-character ISO country code.").nullable().optional(),
27
+ address_line_1: zod.z.string().describe("Line 1 of the address.").nullable().optional(),
28
+ address_line_2: zod.z.string().describe("Line 2 of the address.").nullable().optional(),
29
+ address_line_3: zod.z.string().describe("Line 3 of the address.").nullable().optional(),
30
+ address_details: zod.z.object({}).describe("Address details.").nullable().optional()
31
+ }).describe("The portable international postal address.");
32
+ const PaypalListTemplates_TemplateSettingsSchema = zod.z.object({
33
+ template_item_settings: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Item settings.").nullable().optional(),
34
+ template_adjustment_settings: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Adjustment settings.").nullable().optional()
35
+ }).describe("Template settings.");
36
+ const PaypalListTemplates_TemplateDetailSchema = zod.z.object({
37
+ note: zod.z.string().describe("Note to buyer.").nullable().optional(),
38
+ items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Template items.").nullable().optional(),
39
+ terms: zod.z.string().describe("Terms.").nullable().optional(),
40
+ custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Custom fields.").nullable().optional(),
41
+ logo_url: zod.z.string().describe("The logo URL.").nullable().optional(),
42
+ billing_info: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Billing info.").nullable().optional(),
43
+ currency_code: zod.z.string().describe("The currency code.").nullable().optional(),
44
+ merchant_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Merchant information.").nullable().optional(),
45
+ shipping_info: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Shipping info.").nullable().optional()
46
+ }).describe("Template detail information.");
47
+ const PaypalListTemplates_TemplateSchema = zod.z.object({
48
+ id: zod.z.string().describe("The unique identifier for the template.").nullable().optional(),
49
+ name: zod.z.string().describe("The name of the template.").nullable().optional(),
50
+ links: zod.z.array(PaypalListTemplates_LinkDescriptionSchema).describe("An array of links related to the template.").nullable().optional(),
51
+ settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),
52
+ template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),
53
+ unit_of_measure: zod.z.string().describe("The unit of measure for the template.").nullable().optional(),
54
+ default_template: zod.z.boolean().describe("Indicates if this is the default template.").nullable().optional(),
55
+ standard_template: zod.z.boolean().describe("Indicates if this is a standard template.").nullable().optional()
56
+ }).describe("The template with invoice details to load with all captured fields.");
57
+ const PaypalListTemplatesOutput = zod.z.object({
58
+ links: zod.z.array(PaypalListTemplates_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
59
+ emails: zod.z.union([zod.z.array(zod.z.string()), zod.z.string()]).nullable().optional(),
60
+ phones: zod.z.array(PaypalListTemplates_PhoneDetailSchema).describe("An array of phone numbers in the user's PayPal profile.").nullable().optional(),
61
+ addresses: zod.z.array(PaypalListTemplates_PortablePostalAddressSchema).describe("An array of addresses in the user's PayPal profile.").nullable().optional(),
62
+ templates: zod.z.array(PaypalListTemplates_TemplateSchema).describe("An array of details for each template. If fields is none, returns only the template name, ID, and default status.")
63
+ }).describe("Response model for listing PayPal invoice templates.");
64
+ const paypalListTemplates = require_action.action("PAYPAL_LIST_TEMPLATES", {
65
+ slug: "paypal-list-templates",
66
+ name: "List PayPal Invoice Templates",
67
+ description: "List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).",
68
+ input: PaypalListTemplatesInput,
69
+ output: PaypalListTemplatesOutput
70
+ });
71
+ //#endregion
72
+ exports.paypalListTemplates = paypalListTemplates;
73
+
74
+ //# sourceMappingURL=list-templates.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema: z.ZodTypeAny = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema: z.ZodTypeAny = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.object({}).describe(\"Address details.\").nullable().optional(),\n}).describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema: z.ZodTypeAny = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAA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SAAS;CACrI,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;AACrL,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-templates.d.ts
4
+ declare const PaypalListTemplatesInput: z.ZodTypeAny;
5
+ declare const PaypalListTemplatesOutput: z.ZodTypeAny;
6
+ declare const paypalListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListTemplates };
9
+ //# sourceMappingURL=list-templates.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIyB;AAAA,cAiDrD,yBAAA,EAA2B,CAAA,CAAE,UAMyB;AAAA,cAEtD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-templates.d.ts
4
+ declare const PaypalListTemplatesInput: z.ZodTypeAny;
5
+ declare const PaypalListTemplatesOutput: z.ZodTypeAny;
6
+ declare const paypalListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalListTemplates };
9
+ //# sourceMappingURL=list-templates.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAIyB;AAAA,cAiDrD,yBAAA,EAA2B,CAAA,CAAE,UAMyB;AAAA,cAEtD,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,73 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-templates.ts
4
+ const PaypalListTemplatesInput = z.object({
5
+ page: z.number().int().default(1).describe("The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.").optional(),
6
+ fields: z.enum(["all", "none"]).default("all").describe("Fields to return in the response.").optional(),
7
+ page_size: z.number().int().default(25).describe("The maximum number of templates to return in the response.").optional()
8
+ }).describe("Request model for listing PayPal invoice templates.");
9
+ const PaypalListTemplates_LinkDescriptionSchema = z.object({
10
+ rel: z.string().describe("The link relation type.").nullable().optional(),
11
+ href: z.string().describe("The hyperlink to the related resource.").nullable().optional(),
12
+ method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
13
+ }).describe("The request-related HATEOAS link information.");
14
+ const PaypalListTemplates_PhoneDetailSchema = z.object({
15
+ phone_type: z.string().describe("The phone type.").nullable().optional(),
16
+ country_code: z.string().describe("The country code.").nullable().optional(),
17
+ national_number: z.string().describe("The national number.").nullable().optional(),
18
+ extension_number: z.string().describe("The extension number.").nullable().optional()
19
+ }).describe("The phone details including the phone number and type.");
20
+ const PaypalListTemplates_PortablePostalAddressSchema = z.object({
21
+ postal_code: z.string().describe("The postal code.").nullable().optional(),
22
+ admin_area_1: z.string().describe("The first administrative area.").nullable().optional(),
23
+ admin_area_2: z.string().describe("The second administrative area.").nullable().optional(),
24
+ admin_area_3: z.string().describe("The third administrative area.").nullable().optional(),
25
+ admin_area_4: z.string().describe("The fourth administrative area.").nullable().optional(),
26
+ country_code: z.string().describe("The two-character ISO country code.").nullable().optional(),
27
+ address_line_1: z.string().describe("Line 1 of the address.").nullable().optional(),
28
+ address_line_2: z.string().describe("Line 2 of the address.").nullable().optional(),
29
+ address_line_3: z.string().describe("Line 3 of the address.").nullable().optional(),
30
+ address_details: z.object({}).describe("Address details.").nullable().optional()
31
+ }).describe("The portable international postal address.");
32
+ const PaypalListTemplates_TemplateSettingsSchema = z.object({
33
+ template_item_settings: z.array(z.record(z.string(), z.unknown())).describe("Item settings.").nullable().optional(),
34
+ template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe("Adjustment settings.").nullable().optional()
35
+ }).describe("Template settings.");
36
+ const PaypalListTemplates_TemplateDetailSchema = z.object({
37
+ note: z.string().describe("Note to buyer.").nullable().optional(),
38
+ items: z.array(z.record(z.string(), z.unknown())).describe("Template items.").nullable().optional(),
39
+ terms: z.string().describe("Terms.").nullable().optional(),
40
+ custom: z.record(z.string(), z.unknown()).describe("Custom fields.").nullable().optional(),
41
+ logo_url: z.string().describe("The logo URL.").nullable().optional(),
42
+ billing_info: z.array(z.record(z.string(), z.unknown())).describe("Billing info.").nullable().optional(),
43
+ currency_code: z.string().describe("The currency code.").nullable().optional(),
44
+ merchant_info: z.record(z.string(), z.unknown()).describe("Merchant information.").nullable().optional(),
45
+ shipping_info: z.array(z.record(z.string(), z.unknown())).describe("Shipping info.").nullable().optional()
46
+ }).describe("Template detail information.");
47
+ const PaypalListTemplates_TemplateSchema = z.object({
48
+ id: z.string().describe("The unique identifier for the template.").nullable().optional(),
49
+ name: z.string().describe("The name of the template.").nullable().optional(),
50
+ links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe("An array of links related to the template.").nullable().optional(),
51
+ settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),
52
+ template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),
53
+ unit_of_measure: z.string().describe("The unit of measure for the template.").nullable().optional(),
54
+ default_template: z.boolean().describe("Indicates if this is the default template.").nullable().optional(),
55
+ standard_template: z.boolean().describe("Indicates if this is a standard template.").nullable().optional()
56
+ }).describe("The template with invoice details to load with all captured fields.");
57
+ const paypalListTemplates = action("PAYPAL_LIST_TEMPLATES", {
58
+ slug: "paypal-list-templates",
59
+ name: "List PayPal Invoice Templates",
60
+ description: "List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).",
61
+ input: PaypalListTemplatesInput,
62
+ output: z.object({
63
+ links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
64
+ emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),
65
+ phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe("An array of phone numbers in the user's PayPal profile.").nullable().optional(),
66
+ addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe("An array of addresses in the user's PayPal profile.").nullable().optional(),
67
+ templates: z.array(PaypalListTemplates_TemplateSchema).describe("An array of details for each template. If fields is none, returns only the template name, ID, and default status.")
68
+ }).describe("Response model for listing PayPal invoice templates.")
69
+ });
70
+ //#endregion
71
+ export { paypalListTemplates };
72
+
73
+ //# sourceMappingURL=list-templates.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema: z.ZodTypeAny = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema: z.ZodTypeAny = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.object({}).describe(\"Address details.\").nullable().optional(),\n}).describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema: z.ZodTypeAny = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput: z.ZodTypeAny = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0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