@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,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const paypalDeleteInvoicePaymentRecord = action("PAYPAL_DELETE_INVOICE_PAYMENT_RECORD", {
4
+ slug: "paypal-delete-invoice-payment-record",
5
+ name: "Delete invoice payment record",
6
+ description: "Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.",
7
+ input: z.object({
8
+ invoice_id: z.string().describe("The ID of the invoice from which to delete the payment record."),
9
+ transaction_id: z.string().describe("The ID of the payment transaction record to delete from the invoice.")
10
+ }).describe("Request model for deleting a payment record from an invoice."),
11
+ output: z.object({
12
+ success: z.boolean().default(true).describe("Indicates whether the payment record deletion was successful.").nullable().optional(),
13
+ invoice_id: z.string().describe("The ID of the invoice from which the payment record was deleted.").nullable().optional(),
14
+ transaction_id: z.string().describe("The ID of the payment record that was deleted.").nullable().optional()
15
+ }).describe("Response model for deleting a payment record from an invoice.")
16
+ });
17
+ //#endregion
18
+ export { paypalDeleteInvoicePaymentRecord };
19
+
20
+ //# sourceMappingURL=delete-invoice-payment-record.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice-payment-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiE,EAAE,OAAO;EAC1E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAC5G,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAXkE,EAAE,OAAO;EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,+DAOF;AACV,CAAC"}
@@ -0,0 +1,22 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-invoice-refund-record.ts
4
+ const PaypalDeleteInvoiceRefundRecordInput = zod.z.object({
5
+ invoice_id: zod.z.string().describe("The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices."),
6
+ transaction_id: zod.z.string().describe("The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.")
7
+ }).describe("Request schema for deleting a refund record from an invoice.\n\nUse this when you need to remove a specific refund transaction\nfrom an existing PayPal invoice.");
8
+ const PaypalDeleteInvoiceRefundRecordOutput = zod.z.object({
9
+ message: zod.z.string().default("Refund record deleted successfully").describe("A human-readable message confirming the deletion result.").nullable().optional(),
10
+ success: zod.z.boolean().default(true).describe("Indicates whether the refund record was successfully deleted.").nullable().optional()
11
+ }).describe("Response schema returned after deleting a refund record from an invoice.");
12
+ const paypalDeleteInvoiceRefundRecord = require_action.action("PAYPAL_DELETE_INVOICE_REFUND_RECORD", {
13
+ slug: "paypal-delete-invoice-refund-record",
14
+ name: "Delete Invoice Refund Record",
15
+ description: "Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.",
16
+ input: PaypalDeleteInvoiceRefundRecordInput,
17
+ output: PaypalDeleteInvoiceRefundRecordOutput
18
+ });
19
+ //#endregion
20
+ exports.paypalDeleteInvoiceRefundRecord = paypalDeleteInvoiceRefundRecord;
21
+
22
+ //# sourceMappingURL=delete-invoice-refund-record.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice-refund-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACjL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;AAC/K,CAAC,CAAC,CAAC,SAAS,kKAAkK;AAC9K,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,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/delete-invoice-refund-record.d.ts
4
+ declare const PaypalDeleteInvoiceRefundRecordInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteInvoiceRefundRecordOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteInvoiceRefundRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteInvoiceRefundRecord };
9
+ //# sourceMappingURL=delete-invoice-refund-record.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice-refund-record.d.cts","names":[],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAG0H;AAAA,cAClK,qCAAA,EAAuC,CAAA,CAAE,UAGiC;AAAA,cAE1E,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-invoice-refund-record.d.ts
4
+ declare const PaypalDeleteInvoiceRefundRecordInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteInvoiceRefundRecordOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteInvoiceRefundRecord: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteInvoiceRefundRecord };
9
+ //# sourceMappingURL=delete-invoice-refund-record.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice-refund-record.d.mts","names":[],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAG0H;AAAA,cAClK,qCAAA,EAAuC,CAAA,CAAE,UAGiC;AAAA,cAE1E,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,19 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const paypalDeleteInvoiceRefundRecord = action("PAYPAL_DELETE_INVOICE_REFUND_RECORD", {
4
+ slug: "paypal-delete-invoice-refund-record",
5
+ name: "Delete Invoice Refund Record",
6
+ description: "Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.",
7
+ input: z.object({
8
+ invoice_id: z.string().describe("The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices."),
9
+ transaction_id: z.string().describe("The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.")
10
+ }).describe("Request schema for deleting a refund record from an invoice.\n\nUse this when you need to remove a specific refund transaction\nfrom an existing PayPal invoice."),
11
+ output: z.object({
12
+ message: z.string().default("Refund record deleted successfully").describe("A human-readable message confirming the deletion result.").nullable().optional(),
13
+ success: z.boolean().default(true).describe("Indicates whether the refund record was successfully deleted.").nullable().optional()
14
+ }).describe("Response schema returned after deleting a refund record from an invoice.")
15
+ });
16
+ //#endregion
17
+ export { paypalDeleteInvoiceRefundRecord };
18
+
19
+ //# sourceMappingURL=delete-invoice-refund-record.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice-refund-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgE,EAAE,OAAO;EACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;EACjL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC/K,CAAC,CAAC,CAAC,SAAS,kKAUH;CACP,QAViE,EAAE,OAAO;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-invoice.ts
4
+ const PaypalDeleteInvoiceInput = zod.z.object({ invoice_id: zod.z.string().describe("The ID of the invoice to delete.") }).describe("Request model for deleting a PayPal invoice.");
5
+ const PaypalDeleteInvoice_LinkDescriptionSchema = zod.z.object({
6
+ rel: zod.z.string().describe("The relationship between the resource and the link."),
7
+ href: zod.z.string().describe("The URI of the related resource."),
8
+ method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
9
+ }).describe("HATEOAS link information.");
10
+ const PaypalDeleteInvoice_ErrorDetailSchema = zod.z.object({
11
+ field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
12
+ issue: zod.z.string().describe("The issue description."),
13
+ value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
14
+ location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
15
+ description: zod.z.string().describe("The error description.").nullable().optional()
16
+ }).describe("Error detail information.");
17
+ const PaypalDeleteInvoiceOutput = zod.z.object({
18
+ name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
19
+ links: zod.z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
20
+ details: zod.z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
21
+ message: zod.z.string().describe("The message that describes the error.").nullable().optional(),
22
+ success: zod.z.boolean().describe("Indicates whether the invoice deletion was successful.").nullable().optional(),
23
+ debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
24
+ information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
25
+ }).describe("Response model for deleting a PayPal invoice.");
26
+ const paypalDeleteInvoice = require_action.action("PAYPAL_DELETE_INVOICE", {
27
+ slug: "paypal-delete-invoice",
28
+ name: "Delete Invoice",
29
+ description: "Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.",
30
+ input: PaypalDeleteInvoiceInput,
31
+ output: PaypalDeleteInvoiceOutput
32
+ });
33
+ //#endregion
34
+ exports.paypalDeleteInvoice = paypalDeleteInvoice;
35
+
36
+ //# sourceMappingURL=delete-invoice.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,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/delete-invoice.d.ts
4
+ declare const PaypalDeleteInvoiceInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteInvoiceOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteInvoice };
9
+ //# sourceMappingURL=delete-invoice.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice.d.cts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEkB;AAAA,cAa9C,yBAAA,EAA2B,CAAA,CAAE,UAQkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-invoice.d.ts
4
+ declare const PaypalDeleteInvoiceInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteInvoiceOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteInvoice };
9
+ //# sourceMappingURL=delete-invoice.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice.d.mts","names":[],"sources":["../../src/actions/delete-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEkB;AAAA,cAa9C,yBAAA,EAA2B,CAAA,CAAE,UAQkB;AAAA,cAE/C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-invoice.ts
4
+ const PaypalDeleteInvoiceInput = z.object({ invoice_id: z.string().describe("The ID of the invoice to delete.") }).describe("Request model for deleting a PayPal invoice.");
5
+ const PaypalDeleteInvoice_LinkDescriptionSchema = z.object({
6
+ rel: z.string().describe("The relationship between the resource and the link."),
7
+ href: z.string().describe("The URI of the related resource."),
8
+ method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
9
+ }).describe("HATEOAS link information.");
10
+ const PaypalDeleteInvoice_ErrorDetailSchema = z.object({
11
+ field: z.string().describe("The field that caused the error.").nullable().optional(),
12
+ issue: z.string().describe("The issue description."),
13
+ value: z.string().describe("The value that caused the error.").nullable().optional(),
14
+ location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
15
+ description: z.string().describe("The error description.").nullable().optional()
16
+ }).describe("Error detail information.");
17
+ const paypalDeleteInvoice = action("PAYPAL_DELETE_INVOICE", {
18
+ slug: "paypal-delete-invoice",
19
+ name: "Delete Invoice",
20
+ description: "Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.",
21
+ input: PaypalDeleteInvoiceInput,
22
+ output: z.object({
23
+ name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
24
+ links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
25
+ details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
26
+ message: z.string().describe("The message that describes the error.").nullable().optional(),
27
+ success: z.boolean().describe("Indicates whether the invoice deletion was successful.").nullable().optional(),
28
+ debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
29
+ information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
30
+ }).describe("Response model for deleting a PayPal invoice.")
31
+ });
32
+ //#endregion
33
+ export { paypalDeleteInvoice };
34
+
35
+ //# sourceMappingURL=delete-invoice.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput: z.ZodTypeAny = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,wCAAsD,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAWvC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-payment-resource.ts
4
+ const PaypalDeletePaymentResourceInput = zod.z.object({ payment_resource_id: zod.z.string().describe("The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.") }).describe("Input model for delete payment resource action");
5
+ const PaypalDeletePaymentResourceOutput = zod.z.object({
6
+ message: zod.z.string().describe("Status message about the deletion operation"),
7
+ success: zod.z.boolean().describe("Indicates whether the payment resource deletion was successful")
8
+ }).describe("Output model for delete payment resource action");
9
+ const paypalDeletePaymentResource = require_action.action("PAYPAL_DELETE_PAYMENT_RESOURCE", {
10
+ slug: "paypal-delete-payment-resource",
11
+ name: "Delete Payment Resource",
12
+ description: "Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.",
13
+ input: PaypalDeletePaymentResourceInput,
14
+ output: PaypalDeletePaymentResourceOutput
15
+ });
16
+ //#endregion
17
+ exports.paypalDeletePaymentResource = paypalDeletePaymentResource;
18
+
19
+ //# sourceMappingURL=delete-payment-resource.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-payment-resource.cjs","names":["z","action"],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput: z.ZodTypeAny = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deletion operation\"),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\"),\n}).describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;AAChG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,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/delete-payment-resource.d.ts
4
+ declare const PaypalDeletePaymentResourceInput: z.ZodTypeAny;
5
+ declare const PaypalDeletePaymentResourceOutput: z.ZodTypeAny;
6
+ declare const paypalDeletePaymentResource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeletePaymentResource };
9
+ //# sourceMappingURL=delete-payment-resource.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-payment-resource.d.cts","names":[],"sources":["../../src/actions/delete-payment-resource.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEY;AAAA,cAChD,iCAAA,EAAmC,CAAA,CAAE,UAGY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-payment-resource.d.ts
4
+ declare const PaypalDeletePaymentResourceInput: z.ZodTypeAny;
5
+ declare const PaypalDeletePaymentResourceOutput: z.ZodTypeAny;
6
+ declare const paypalDeletePaymentResource: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeletePaymentResource };
9
+ //# sourceMappingURL=delete-payment-resource.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-payment-resource.d.mts","names":[],"sources":["../../src/actions/delete-payment-resource.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAEY;AAAA,cAChD,iCAAA,EAAmC,CAAA,CAAE,UAGY;AAAA,cAEjD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const paypalDeletePaymentResource = action("PAYPAL_DELETE_PAYMENT_RESOURCE", {
4
+ slug: "paypal-delete-payment-resource",
5
+ name: "Delete Payment Resource",
6
+ description: "Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.",
7
+ input: z.object({ payment_resource_id: z.string().describe("The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.") }).describe("Input model for delete payment resource action"),
8
+ output: z.object({
9
+ message: z.string().describe("Status message about the deletion operation"),
10
+ success: z.boolean().describe("Indicates whether the payment resource deletion was successful")
11
+ }).describe("Output model for delete payment resource action")
12
+ });
13
+ //#endregion
14
+ export { paypalDeletePaymentResource };
15
+
16
+ //# sourceMappingURL=delete-payment-resource.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-payment-resource.mjs","names":[],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput: z.ZodTypeAny = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deletion operation\"),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\"),\n}).describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ4D,EAAE,OAAO,EACrE,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV6D,EAAE,OAAO;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE;CAChG,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -0,0 +1,36 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-template.ts
4
+ const PaypalDeleteTemplateInput = zod.z.object({ template_id: zod.z.string().describe("The ID of the template to delete.") }).describe("Request model for deleting a PayPal invoice template.");
5
+ const PaypalDeleteTemplate_LinkDescriptionSchema = zod.z.object({
6
+ rel: zod.z.string().describe("The relationship between the resource and the link."),
7
+ href: zod.z.string().describe("The URI of the related resource."),
8
+ method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
9
+ }).describe("HATEOAS link information.");
10
+ const PaypalDeleteTemplate_ErrorDetailSchema = zod.z.object({
11
+ field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
12
+ issue: zod.z.string().describe("The issue description."),
13
+ value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
14
+ location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
15
+ description: zod.z.string().describe("The error description.").nullable().optional()
16
+ }).describe("Error detail information.");
17
+ const PaypalDeleteTemplateOutput = zod.z.object({
18
+ name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
19
+ links: zod.z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
20
+ details: zod.z.array(PaypalDeleteTemplate_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
21
+ message: zod.z.string().describe("The message that describes the error.").nullable().optional(),
22
+ success: zod.z.boolean().describe("Indicates whether the template deletion was successful.").nullable().optional(),
23
+ debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
24
+ information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
25
+ }).describe("Response model for deleting a PayPal invoice template.");
26
+ const paypalDeleteTemplate = require_action.action("PAYPAL_DELETE_TEMPLATE", {
27
+ slug: "paypal-delete-template",
28
+ name: "Delete Template",
29
+ description: "Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.",
30
+ input: PaypalDeleteTemplateInput,
31
+ output: PaypalDeleteTemplateOutput
32
+ });
33
+ //#endregion
34
+ exports.paypalDeleteTemplate = paypalDeleteTemplate;
35
+
36
+ //# sourceMappingURL=delete-template.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteTemplate_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteTemplateOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the template deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,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/delete-template.d.ts
4
+ declare const PaypalDeleteTemplateInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteTemplateOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteTemplate };
9
+ //# sourceMappingURL=delete-template.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.d.cts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE0B;AAAA,cAavD,0BAAA,EAA4B,CAAA,CAAE,UAQ0B;AAAA,cAExD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-template.d.ts
4
+ declare const PaypalDeleteTemplateInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteTemplateOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteTemplate };
9
+ //# sourceMappingURL=delete-template.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.d.mts","names":[],"sources":["../../src/actions/delete-template.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAE0B;AAAA,cAavD,0BAAA,EAA4B,CAAA,CAAE,UAQ0B;AAAA,cAExD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,35 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/delete-template.ts
4
+ const PaypalDeleteTemplateInput = z.object({ template_id: z.string().describe("The ID of the template to delete.") }).describe("Request model for deleting a PayPal invoice template.");
5
+ const PaypalDeleteTemplate_LinkDescriptionSchema = z.object({
6
+ rel: z.string().describe("The relationship between the resource and the link."),
7
+ href: z.string().describe("The URI of the related resource."),
8
+ method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
9
+ }).describe("HATEOAS link information.");
10
+ const PaypalDeleteTemplate_ErrorDetailSchema = z.object({
11
+ field: z.string().describe("The field that caused the error.").nullable().optional(),
12
+ issue: z.string().describe("The issue description."),
13
+ value: z.string().describe("The value that caused the error.").nullable().optional(),
14
+ location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
15
+ description: z.string().describe("The error description.").nullable().optional()
16
+ }).describe("Error detail information.");
17
+ const paypalDeleteTemplate = action("PAYPAL_DELETE_TEMPLATE", {
18
+ slug: "paypal-delete-template",
19
+ name: "Delete Template",
20
+ description: "Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.",
21
+ input: PaypalDeleteTemplateInput,
22
+ output: z.object({
23
+ name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
24
+ links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
25
+ details: z.array(PaypalDeleteTemplate_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
26
+ message: z.string().describe("The message that describes the error.").nullable().optional(),
27
+ success: z.boolean().describe("Indicates whether the template deletion was successful.").nullable().optional(),
28
+ debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
29
+ information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
30
+ }).describe("Response model for deleting a PayPal invoice template.")
31
+ });
32
+ //#endregion
33
+ export { paypalDeleteTemplate };
34
+
35
+ //# sourceMappingURL=delete-template.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput: z.ZodTypeAny = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteTemplate_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteTemplateOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the template deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA2D,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,yCAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAWvC,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsD,EAAE,OAAO;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-web-profile.ts
4
+ const PaypalDeleteWebProfileInput = zod.z.object({ id: zod.z.string().describe("The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.") }).describe("Input model for delete web profile action");
5
+ const PaypalDeleteWebProfileOutput = zod.z.object({
6
+ message: zod.z.string().describe("Status message about the deletion operation"),
7
+ success: zod.z.boolean().describe("Indicates whether the web profile deletion was successful")
8
+ }).describe("Output model for delete web profile action");
9
+ const paypalDeleteWebProfile = require_action.action("PAYPAL_DELETE_WEB_PROFILE", {
10
+ slug: "paypal-delete-web-profile",
11
+ name: "Delete Web Experience Profile",
12
+ description: "Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.",
13
+ input: PaypalDeleteWebProfileInput,
14
+ output: PaypalDeleteWebProfileOutput
15
+ });
16
+ //#endregion
17
+ exports.paypalDeleteWebProfile = paypalDeleteWebProfile;
18
+
19
+ //# sourceMappingURL=delete-web-profile.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deletion operation\"),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\"),\n}).describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC1E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;AAC3F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,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/delete-web-profile.d.ts
4
+ declare const PaypalDeleteWebProfileInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteWebProfileOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteWebProfile };
9
+ //# sourceMappingURL=delete-web-profile.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-web-profile.d.cts","names":[],"sources":["../../src/actions/delete-web-profile.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEY;AAAA,cAC3C,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-web-profile.d.ts
4
+ declare const PaypalDeleteWebProfileInput: z.ZodTypeAny;
5
+ declare const PaypalDeleteWebProfileOutput: z.ZodTypeAny;
6
+ declare const paypalDeleteWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { paypalDeleteWebProfile };
9
+ //# sourceMappingURL=delete-web-profile.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-web-profile.d.mts","names":[],"sources":["../../src/actions/delete-web-profile.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEY;AAAA,cAC3C,4BAAA,EAA8B,CAAA,CAAE,UAGY;AAAA,cAE5C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const paypalDeleteWebProfile = action("PAYPAL_DELETE_WEB_PROFILE", {
4
+ slug: "paypal-delete-web-profile",
5
+ name: "Delete Web Experience Profile",
6
+ description: "Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.",
7
+ input: z.object({ id: z.string().describe("The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.") }).describe("Input model for delete web profile action"),
8
+ output: z.object({
9
+ message: z.string().describe("Status message about the deletion operation"),
10
+ success: z.boolean().describe("Indicates whether the web profile deletion was successful")
11
+ }).describe("Output model for delete web profile action")
12
+ });
13
+ //#endregion
14
+ export { paypalDeleteWebProfile };
15
+
16
+ //# sourceMappingURL=delete-web-profile.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-web-profile.mjs","names":[],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Status message about the deletion operation\"),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\"),\n}).describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAVwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC1E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D;CAC3F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-webhook.ts
4
+ const PaypalDeleteWebhookInput = zod.z.object({ webhook_id: zod.z.string().describe("The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.") }).describe("Input model for deleting a PayPal webhook.");
5
+ const PaypalDeleteWebhook_LinkDescriptionSchema = zod.z.object({
6
+ rel: zod.z.string().describe("The relationship between the resource and the link."),
7
+ href: zod.z.string().describe("The URI of the related resource."),
8
+ method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
9
+ }).describe("HATEOAS link information.");
10
+ const PaypalDeleteWebhook_ErrorDetailSchema = zod.z.object({
11
+ field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
12
+ issue: zod.z.string().describe("The issue description."),
13
+ value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
14
+ location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
15
+ description: zod.z.string().describe("The error description.").nullable().optional()
16
+ }).describe("Error detail information.");
17
+ const PaypalDeleteWebhookOutput = zod.z.object({
18
+ name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
19
+ links: zod.z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
20
+ details: zod.z.array(PaypalDeleteWebhook_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
21
+ message: zod.z.string().describe("The message that describes the error.").nullable().optional(),
22
+ debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
23
+ information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
24
+ }).describe("Output model for deleting a PayPal webhook.");
25
+ const paypalDeleteWebhook = require_action.action("PAYPAL_DELETE_WEBHOOK", {
26
+ slug: "paypal-delete-webhook",
27
+ name: "Delete Webhook",
28
+ description: "Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.",
29
+ input: PaypalDeleteWebhookInput,
30
+ output: PaypalDeleteWebhookOutput
31
+ });
32
+ //#endregion
33
+ exports.paypalDeleteWebhook = paypalDeleteWebhook;
34
+
35
+ //# sourceMappingURL=delete-webhook.cjs.map