@keystrokehq/paypal 0.1.2 → 0.1.4

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 (509) hide show
  1. package/dist/actions/activate-plan.cjs +1 -1
  2. package/dist/actions/activate-plan.cjs.map +1 -1
  3. package/dist/actions/activate-plan.d.cts +14 -2
  4. package/dist/actions/activate-plan.d.mts +14 -2
  5. package/dist/actions/activate-plan.mjs +1 -1
  6. package/dist/actions/activate-plan.mjs.map +1 -1
  7. package/dist/actions/add-batch-trackers.cjs +5 -5
  8. package/dist/actions/add-batch-trackers.cjs.map +1 -1
  9. package/dist/actions/add-batch-trackers.d.cts +21 -8
  10. package/dist/actions/add-batch-trackers.d.mts +21 -8
  11. package/dist/actions/add-batch-trackers.mjs +5 -5
  12. package/dist/actions/add-batch-trackers.mjs.map +1 -1
  13. package/dist/actions/authorize-order.cjs +16 -16
  14. package/dist/actions/authorize-order.cjs.map +1 -1
  15. package/dist/actions/authorize-order.d.cts +34 -22
  16. package/dist/actions/authorize-order.d.cts.map +1 -1
  17. package/dist/actions/authorize-order.d.mts +34 -22
  18. package/dist/actions/authorize-order.d.mts.map +1 -1
  19. package/dist/actions/authorize-order.mjs +16 -16
  20. package/dist/actions/authorize-order.mjs.map +1 -1
  21. package/dist/actions/cancel-invoice.cjs +3 -3
  22. package/dist/actions/cancel-invoice.cjs.map +1 -1
  23. package/dist/actions/cancel-invoice.d.cts +16 -4
  24. package/dist/actions/cancel-invoice.d.mts +16 -4
  25. package/dist/actions/cancel-invoice.mjs +3 -3
  26. package/dist/actions/cancel-invoice.mjs.map +1 -1
  27. package/dist/actions/cancel-reminders.cjs +3 -3
  28. package/dist/actions/cancel-reminders.cjs.map +1 -1
  29. package/dist/actions/cancel-reminders.d.cts +16 -4
  30. package/dist/actions/cancel-reminders.d.mts +16 -4
  31. package/dist/actions/cancel-reminders.mjs +3 -3
  32. package/dist/actions/cancel-reminders.mjs.map +1 -1
  33. package/dist/actions/capture-subscription-payment.cjs +9 -9
  34. package/dist/actions/capture-subscription-payment.cjs.map +1 -1
  35. package/dist/actions/capture-subscription-payment.d.cts +23 -11
  36. package/dist/actions/capture-subscription-payment.d.mts +23 -11
  37. package/dist/actions/capture-subscription-payment.mjs +9 -9
  38. package/dist/actions/capture-subscription-payment.mjs.map +1 -1
  39. package/dist/actions/charge-payment-method.cjs +1 -1
  40. package/dist/actions/charge-payment-method.cjs.map +1 -1
  41. package/dist/actions/charge-payment-method.d.cts +14 -2
  42. package/dist/actions/charge-payment-method.d.cts.map +1 -1
  43. package/dist/actions/charge-payment-method.d.mts +14 -2
  44. package/dist/actions/charge-payment-method.d.mts.map +1 -1
  45. package/dist/actions/charge-payment-method.mjs +1 -1
  46. package/dist/actions/charge-payment-method.mjs.map +1 -1
  47. package/dist/actions/create-invoice.cjs +22 -22
  48. package/dist/actions/create-invoice.cjs.map +1 -1
  49. package/dist/actions/create-invoice.d.cts +49 -34
  50. package/dist/actions/create-invoice.d.mts +49 -34
  51. package/dist/actions/create-invoice.mjs +22 -22
  52. package/dist/actions/create-invoice.mjs.map +1 -1
  53. package/dist/actions/create-payment.cjs +31 -31
  54. package/dist/actions/create-payment.cjs.map +1 -1
  55. package/dist/actions/create-payment.d.cts +55 -39
  56. package/dist/actions/create-payment.d.mts +55 -39
  57. package/dist/actions/create-payment.mjs +31 -31
  58. package/dist/actions/create-payment.mjs.map +1 -1
  59. package/dist/actions/create-payments-billing-plans.cjs +8 -8
  60. package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
  61. package/dist/actions/create-payments-billing-plans.d.cts +24 -10
  62. package/dist/actions/create-payments-billing-plans.d.mts +24 -10
  63. package/dist/actions/create-payments-billing-plans.mjs +8 -8
  64. package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
  65. package/dist/actions/create-plan.cjs +12 -12
  66. package/dist/actions/create-plan.cjs.map +1 -1
  67. package/dist/actions/create-plan.d.cts +27 -14
  68. package/dist/actions/create-plan.d.cts.map +1 -1
  69. package/dist/actions/create-plan.d.mts +27 -14
  70. package/dist/actions/create-plan.d.mts.map +1 -1
  71. package/dist/actions/create-plan.mjs +12 -12
  72. package/dist/actions/create-plan.mjs.map +1 -1
  73. package/dist/actions/create-product.cjs +2 -2
  74. package/dist/actions/create-product.cjs.map +1 -1
  75. package/dist/actions/create-product.d.cts +15 -3
  76. package/dist/actions/create-product.d.mts +15 -3
  77. package/dist/actions/create-product.mjs +2 -2
  78. package/dist/actions/create-product.mjs.map +1 -1
  79. package/dist/actions/create-subscription.cjs +15 -15
  80. package/dist/actions/create-subscription.cjs.map +1 -1
  81. package/dist/actions/create-subscription.d.cts +34 -21
  82. package/dist/actions/create-subscription.d.mts +34 -21
  83. package/dist/actions/create-subscription.mjs +15 -15
  84. package/dist/actions/create-subscription.mjs.map +1 -1
  85. package/dist/actions/create-template.cjs +25 -25
  86. package/dist/actions/create-template.cjs.map +1 -1
  87. package/dist/actions/create-template.d.cts +49 -31
  88. package/dist/actions/create-template.d.mts +49 -31
  89. package/dist/actions/create-template.mjs +25 -25
  90. package/dist/actions/create-template.mjs.map +1 -1
  91. package/dist/actions/create-web-profile.cjs +5 -5
  92. package/dist/actions/create-web-profile.cjs.map +1 -1
  93. package/dist/actions/create-web-profile.d.cts +18 -6
  94. package/dist/actions/create-web-profile.d.mts +18 -6
  95. package/dist/actions/create-web-profile.mjs +5 -5
  96. package/dist/actions/create-web-profile.mjs.map +1 -1
  97. package/dist/actions/create-webhook-lookup.cjs +2 -2
  98. package/dist/actions/create-webhook-lookup.cjs.map +1 -1
  99. package/dist/actions/create-webhook-lookup.d.cts +15 -3
  100. package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
  101. package/dist/actions/create-webhook-lookup.d.mts +15 -3
  102. package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
  103. package/dist/actions/create-webhook-lookup.mjs +2 -2
  104. package/dist/actions/create-webhook-lookup.mjs.map +1 -1
  105. package/dist/actions/create-webhook.cjs +4 -4
  106. package/dist/actions/create-webhook.cjs.map +1 -1
  107. package/dist/actions/create-webhook.d.cts +18 -5
  108. package/dist/actions/create-webhook.d.mts +18 -5
  109. package/dist/actions/create-webhook.mjs +4 -4
  110. package/dist/actions/create-webhook.mjs.map +1 -1
  111. package/dist/actions/deactivate-plan.cjs +1 -1
  112. package/dist/actions/deactivate-plan.cjs.map +1 -1
  113. package/dist/actions/deactivate-plan.d.cts +14 -2
  114. package/dist/actions/deactivate-plan.d.mts +14 -2
  115. package/dist/actions/deactivate-plan.mjs +1 -1
  116. package/dist/actions/deactivate-plan.mjs.map +1 -1
  117. package/dist/actions/delete-external-payment.cjs +1 -1
  118. package/dist/actions/delete-external-payment.cjs.map +1 -1
  119. package/dist/actions/delete-external-payment.d.cts +14 -2
  120. package/dist/actions/delete-external-payment.d.mts +14 -2
  121. package/dist/actions/delete-external-payment.mjs +1 -1
  122. package/dist/actions/delete-external-payment.mjs.map +1 -1
  123. package/dist/actions/delete-invoice-payment-record.cjs +1 -1
  124. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
  125. package/dist/actions/delete-invoice-payment-record.d.cts +14 -2
  126. package/dist/actions/delete-invoice-payment-record.d.mts +14 -2
  127. package/dist/actions/delete-invoice-payment-record.mjs +1 -1
  128. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
  129. package/dist/actions/delete-invoice-refund-record.cjs +1 -1
  130. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
  131. package/dist/actions/delete-invoice-refund-record.d.cts +14 -2
  132. package/dist/actions/delete-invoice-refund-record.d.mts +14 -2
  133. package/dist/actions/delete-invoice-refund-record.mjs +1 -1
  134. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
  135. package/dist/actions/delete-invoice.cjs +3 -3
  136. package/dist/actions/delete-invoice.cjs.map +1 -1
  137. package/dist/actions/delete-invoice.d.cts +16 -4
  138. package/dist/actions/delete-invoice.d.mts +16 -4
  139. package/dist/actions/delete-invoice.mjs +3 -3
  140. package/dist/actions/delete-invoice.mjs.map +1 -1
  141. package/dist/actions/delete-payment-resource.cjs +1 -1
  142. package/dist/actions/delete-payment-resource.cjs.map +1 -1
  143. package/dist/actions/delete-payment-resource.d.cts +14 -2
  144. package/dist/actions/delete-payment-resource.d.mts +14 -2
  145. package/dist/actions/delete-payment-resource.mjs +1 -1
  146. package/dist/actions/delete-payment-resource.mjs.map +1 -1
  147. package/dist/actions/delete-template.cjs +3 -3
  148. package/dist/actions/delete-template.cjs.map +1 -1
  149. package/dist/actions/delete-template.d.cts +16 -4
  150. package/dist/actions/delete-template.d.mts +16 -4
  151. package/dist/actions/delete-template.mjs +3 -3
  152. package/dist/actions/delete-template.mjs.map +1 -1
  153. package/dist/actions/delete-web-profile.cjs +1 -1
  154. package/dist/actions/delete-web-profile.cjs.map +1 -1
  155. package/dist/actions/delete-web-profile.d.cts +14 -2
  156. package/dist/actions/delete-web-profile.d.mts +14 -2
  157. package/dist/actions/delete-web-profile.mjs +1 -1
  158. package/dist/actions/delete-web-profile.mjs.map +1 -1
  159. package/dist/actions/delete-webhook.cjs +3 -3
  160. package/dist/actions/delete-webhook.cjs.map +1 -1
  161. package/dist/actions/delete-webhook.d.cts +16 -4
  162. package/dist/actions/delete-webhook.d.mts +16 -4
  163. package/dist/actions/delete-webhook.mjs +3 -3
  164. package/dist/actions/delete-webhook.mjs.map +1 -1
  165. package/dist/actions/fetch-node.cjs +5 -5
  166. package/dist/actions/fetch-node.cjs.map +1 -1
  167. package/dist/actions/fetch-node.d.cts +18 -6
  168. package/dist/actions/fetch-node.d.mts +18 -6
  169. package/dist/actions/fetch-node.mjs +5 -5
  170. package/dist/actions/fetch-node.mjs.map +1 -1
  171. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
  172. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
  173. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +16 -4
  174. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +16 -4
  175. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
  176. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
  177. package/dist/actions/find-eligible-methods.cjs +7 -7
  178. package/dist/actions/find-eligible-methods.cjs.map +1 -1
  179. package/dist/actions/find-eligible-methods.d.cts +24 -11
  180. package/dist/actions/find-eligible-methods.d.mts +24 -11
  181. package/dist/actions/find-eligible-methods.mjs +7 -7
  182. package/dist/actions/find-eligible-methods.mjs.map +1 -1
  183. package/dist/actions/generate-client-token.cjs +1 -1
  184. package/dist/actions/generate-client-token.cjs.map +1 -1
  185. package/dist/actions/generate-client-token.d.cts +14 -2
  186. package/dist/actions/generate-client-token.d.cts.map +1 -1
  187. package/dist/actions/generate-client-token.d.mts +14 -2
  188. package/dist/actions/generate-client-token.d.mts.map +1 -1
  189. package/dist/actions/generate-client-token.mjs +1 -1
  190. package/dist/actions/generate-client-token.mjs.map +1 -1
  191. package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
  192. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
  193. package/dist/actions/generate-next-invoice-number-v2.d.cts +14 -2
  194. package/dist/actions/generate-next-invoice-number-v2.d.mts +14 -2
  195. package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
  196. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
  197. package/dist/actions/generate-next-invoice-number.cjs +1 -1
  198. package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
  199. package/dist/actions/generate-next-invoice-number.d.cts +14 -2
  200. package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
  201. package/dist/actions/generate-next-invoice-number.d.mts +14 -2
  202. package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
  203. package/dist/actions/generate-next-invoice-number.mjs +1 -1
  204. package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
  205. package/dist/actions/generate-qr-code.cjs +4 -4
  206. package/dist/actions/generate-qr-code.cjs.map +1 -1
  207. package/dist/actions/generate-qr-code.d.cts +17 -5
  208. package/dist/actions/generate-qr-code.d.mts +17 -5
  209. package/dist/actions/generate-qr-code.mjs +4 -4
  210. package/dist/actions/generate-qr-code.mjs.map +1 -1
  211. package/dist/actions/get-billing-subscriptions.cjs +10 -10
  212. package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
  213. package/dist/actions/get-billing-subscriptions.d.cts +24 -12
  214. package/dist/actions/get-billing-subscriptions.d.mts +24 -12
  215. package/dist/actions/get-billing-subscriptions.mjs +10 -10
  216. package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
  217. package/dist/actions/get-invoice.cjs +24 -24
  218. package/dist/actions/get-invoice.cjs.map +1 -1
  219. package/dist/actions/get-invoice.d.cts +45 -33
  220. package/dist/actions/get-invoice.d.mts +45 -33
  221. package/dist/actions/get-invoice.mjs +24 -24
  222. package/dist/actions/get-invoice.mjs.map +1 -1
  223. package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
  224. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
  225. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +15 -3
  226. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +15 -3
  227. package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
  228. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
  229. package/dist/actions/get-invoicing-template.cjs +20 -20
  230. package/dist/actions/get-invoicing-template.cjs.map +1 -1
  231. package/dist/actions/get-invoicing-template.d.cts +42 -30
  232. package/dist/actions/get-invoicing-template.d.mts +42 -30
  233. package/dist/actions/get-invoicing-template.mjs +20 -20
  234. package/dist/actions/get-invoicing-template.mjs.map +1 -1
  235. package/dist/actions/get-order.cjs +16 -16
  236. package/dist/actions/get-order.cjs.map +1 -1
  237. package/dist/actions/get-order.d.cts +37 -25
  238. package/dist/actions/get-order.d.mts +37 -25
  239. package/dist/actions/get-order.mjs +16 -16
  240. package/dist/actions/get-order.mjs.map +1 -1
  241. package/dist/actions/get-payment.cjs +14 -14
  242. package/dist/actions/get-payment.cjs.map +1 -1
  243. package/dist/actions/get-payment.d.cts +35 -23
  244. package/dist/actions/get-payment.d.mts +35 -23
  245. package/dist/actions/get-payment.mjs +14 -14
  246. package/dist/actions/get-payment.mjs.map +1 -1
  247. package/dist/actions/get-payments-refund.cjs +3 -3
  248. package/dist/actions/get-payments-refund.cjs.map +1 -1
  249. package/dist/actions/get-payments-refund.d.cts +16 -4
  250. package/dist/actions/get-payments-refund.d.mts +16 -4
  251. package/dist/actions/get-payments-refund.mjs +3 -3
  252. package/dist/actions/get-payments-refund.mjs.map +1 -1
  253. package/dist/actions/get-plan.cjs +11 -11
  254. package/dist/actions/get-plan.cjs.map +1 -1
  255. package/dist/actions/get-plan.d.cts +24 -12
  256. package/dist/actions/get-plan.d.mts +24 -12
  257. package/dist/actions/get-plan.mjs +11 -11
  258. package/dist/actions/get-plan.mjs.map +1 -1
  259. package/dist/actions/get-product.cjs +2 -2
  260. package/dist/actions/get-product.cjs.map +1 -1
  261. package/dist/actions/get-product.d.cts +15 -3
  262. package/dist/actions/get-product.d.mts +15 -3
  263. package/dist/actions/get-product.mjs +2 -2
  264. package/dist/actions/get-product.mjs.map +1 -1
  265. package/dist/actions/get-subscription.cjs +10 -10
  266. package/dist/actions/get-subscription.cjs.map +1 -1
  267. package/dist/actions/get-subscription.d.cts +26 -14
  268. package/dist/actions/get-subscription.d.mts +26 -14
  269. package/dist/actions/get-subscription.mjs +10 -10
  270. package/dist/actions/get-subscription.mjs.map +1 -1
  271. package/dist/actions/get-user-info.cjs +3 -3
  272. package/dist/actions/get-user-info.cjs.map +1 -1
  273. package/dist/actions/get-user-info.d.cts +16 -4
  274. package/dist/actions/get-user-info.d.mts +16 -4
  275. package/dist/actions/get-user-info.mjs +3 -3
  276. package/dist/actions/get-user-info.mjs.map +1 -1
  277. package/dist/actions/get-userinfo.cjs +3 -3
  278. package/dist/actions/get-userinfo.cjs.map +1 -1
  279. package/dist/actions/get-userinfo.d.cts +16 -4
  280. package/dist/actions/get-userinfo.d.mts +16 -4
  281. package/dist/actions/get-userinfo.mjs +3 -3
  282. package/dist/actions/get-userinfo.mjs.map +1 -1
  283. package/dist/actions/get-web-profile.cjs +4 -4
  284. package/dist/actions/get-web-profile.cjs.map +1 -1
  285. package/dist/actions/get-web-profile.d.cts +17 -5
  286. package/dist/actions/get-web-profile.d.mts +17 -5
  287. package/dist/actions/get-web-profile.mjs +4 -4
  288. package/dist/actions/get-web-profile.mjs.map +1 -1
  289. package/dist/actions/get-webhook-lookup.cjs +2 -2
  290. package/dist/actions/get-webhook-lookup.cjs.map +1 -1
  291. package/dist/actions/get-webhook-lookup.d.cts +15 -3
  292. package/dist/actions/get-webhook-lookup.d.mts +15 -3
  293. package/dist/actions/get-webhook-lookup.mjs +2 -2
  294. package/dist/actions/get-webhook-lookup.mjs.map +1 -1
  295. package/dist/actions/get-webhook.cjs +4 -4
  296. package/dist/actions/get-webhook.cjs.map +1 -1
  297. package/dist/actions/get-webhook.d.cts +17 -5
  298. package/dist/actions/get-webhook.d.mts +17 -5
  299. package/dist/actions/get-webhook.mjs +4 -4
  300. package/dist/actions/get-webhook.mjs.map +1 -1
  301. package/dist/actions/list-disputes.cjs +5 -5
  302. package/dist/actions/list-disputes.cjs.map +1 -1
  303. package/dist/actions/list-disputes.d.cts +19 -7
  304. package/dist/actions/list-disputes.d.mts +19 -7
  305. package/dist/actions/list-disputes.mjs +5 -5
  306. package/dist/actions/list-disputes.mjs.map +1 -1
  307. package/dist/actions/list-invoices.cjs +15 -15
  308. package/dist/actions/list-invoices.cjs.map +1 -1
  309. package/dist/actions/list-invoices.d.cts +32 -20
  310. package/dist/actions/list-invoices.d.mts +32 -20
  311. package/dist/actions/list-invoices.mjs +15 -15
  312. package/dist/actions/list-invoices.mjs.map +1 -1
  313. package/dist/actions/list-legacy-billing-plans.cjs +7 -7
  314. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
  315. package/dist/actions/list-legacy-billing-plans.d.cts +22 -10
  316. package/dist/actions/list-legacy-billing-plans.d.mts +22 -10
  317. package/dist/actions/list-legacy-billing-plans.mjs +7 -7
  318. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
  319. package/dist/actions/list-payments.cjs +20 -20
  320. package/dist/actions/list-payments.cjs.map +1 -1
  321. package/dist/actions/list-payments.d.cts +40 -28
  322. package/dist/actions/list-payments.d.mts +40 -28
  323. package/dist/actions/list-payments.mjs +20 -20
  324. package/dist/actions/list-payments.mjs.map +1 -1
  325. package/dist/actions/list-plans.cjs +8 -8
  326. package/dist/actions/list-plans.cjs.map +1 -1
  327. package/dist/actions/list-plans.d.cts +22 -10
  328. package/dist/actions/list-plans.d.mts +22 -10
  329. package/dist/actions/list-plans.mjs +8 -8
  330. package/dist/actions/list-plans.mjs.map +1 -1
  331. package/dist/actions/list-products.cjs +3 -3
  332. package/dist/actions/list-products.cjs.map +1 -1
  333. package/dist/actions/list-products.d.cts +17 -5
  334. package/dist/actions/list-products.d.mts +17 -5
  335. package/dist/actions/list-products.mjs +3 -3
  336. package/dist/actions/list-products.mjs.map +1 -1
  337. package/dist/actions/list-templates.cjs +8 -8
  338. package/dist/actions/list-templates.cjs.map +1 -1
  339. package/dist/actions/list-templates.d.cts +22 -10
  340. package/dist/actions/list-templates.d.mts +22 -10
  341. package/dist/actions/list-templates.mjs +8 -8
  342. package/dist/actions/list-templates.mjs.map +1 -1
  343. package/dist/actions/list-web-profiles.cjs +6 -6
  344. package/dist/actions/list-web-profiles.cjs.map +1 -1
  345. package/dist/actions/list-web-profiles.d.cts +19 -7
  346. package/dist/actions/list-web-profiles.d.mts +19 -7
  347. package/dist/actions/list-web-profiles.mjs +6 -6
  348. package/dist/actions/list-web-profiles.mjs.map +1 -1
  349. package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
  350. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
  351. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -4
  352. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -4
  353. package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
  354. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
  355. package/dist/actions/list-webhook-event-types.cjs +3 -3
  356. package/dist/actions/list-webhook-event-types.cjs.map +1 -1
  357. package/dist/actions/list-webhook-event-types.d.cts +16 -4
  358. package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
  359. package/dist/actions/list-webhook-event-types.d.mts +16 -4
  360. package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
  361. package/dist/actions/list-webhook-event-types.mjs +3 -3
  362. package/dist/actions/list-webhook-event-types.mjs.map +1 -1
  363. package/dist/actions/list-webhook-lookups.cjs +3 -3
  364. package/dist/actions/list-webhook-lookups.cjs.map +1 -1
  365. package/dist/actions/list-webhook-lookups.d.cts +16 -4
  366. package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
  367. package/dist/actions/list-webhook-lookups.d.mts +16 -4
  368. package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
  369. package/dist/actions/list-webhook-lookups.mjs +3 -3
  370. package/dist/actions/list-webhook-lookups.mjs.map +1 -1
  371. package/dist/actions/list-webhooks.cjs +2 -2
  372. package/dist/actions/list-webhooks.cjs.map +1 -1
  373. package/dist/actions/list-webhooks.d.cts +15 -3
  374. package/dist/actions/list-webhooks.d.mts +15 -3
  375. package/dist/actions/list-webhooks.mjs +2 -2
  376. package/dist/actions/list-webhooks.mjs.map +1 -1
  377. package/dist/actions/patch-orders.cjs +2 -2
  378. package/dist/actions/patch-orders.cjs.map +1 -1
  379. package/dist/actions/patch-orders.d.cts +16 -3
  380. package/dist/actions/patch-orders.d.cts.map +1 -1
  381. package/dist/actions/patch-orders.d.mts +16 -3
  382. package/dist/actions/patch-orders.d.mts.map +1 -1
  383. package/dist/actions/patch-orders.mjs +2 -2
  384. package/dist/actions/patch-orders.mjs.map +1 -1
  385. package/dist/actions/patch-plan.cjs +2 -2
  386. package/dist/actions/patch-plan.cjs.map +1 -1
  387. package/dist/actions/patch-plan.d.cts +16 -3
  388. package/dist/actions/patch-plan.d.mts +16 -3
  389. package/dist/actions/patch-plan.mjs +2 -2
  390. package/dist/actions/patch-plan.mjs.map +1 -1
  391. package/dist/actions/patch-subscription.cjs +3 -3
  392. package/dist/actions/patch-subscription.cjs.map +1 -1
  393. package/dist/actions/patch-subscription.d.cts +17 -4
  394. package/dist/actions/patch-subscription.d.cts.map +1 -1
  395. package/dist/actions/patch-subscription.d.mts +17 -4
  396. package/dist/actions/patch-subscription.d.mts.map +1 -1
  397. package/dist/actions/patch-subscription.mjs +3 -3
  398. package/dist/actions/patch-subscription.mjs.map +1 -1
  399. package/dist/actions/patch-web-profile.cjs +2 -2
  400. package/dist/actions/patch-web-profile.cjs.map +1 -1
  401. package/dist/actions/patch-web-profile.d.cts +16 -3
  402. package/dist/actions/patch-web-profile.d.cts.map +1 -1
  403. package/dist/actions/patch-web-profile.d.mts +16 -3
  404. package/dist/actions/patch-web-profile.d.mts.map +1 -1
  405. package/dist/actions/patch-web-profile.mjs +2 -2
  406. package/dist/actions/patch-web-profile.mjs.map +1 -1
  407. package/dist/actions/ping-braintree.cjs +2 -2
  408. package/dist/actions/ping-braintree.cjs.map +1 -1
  409. package/dist/actions/ping-braintree.d.cts +15 -3
  410. package/dist/actions/ping-braintree.d.cts.map +1 -1
  411. package/dist/actions/ping-braintree.d.mts +15 -3
  412. package/dist/actions/ping-braintree.d.mts.map +1 -1
  413. package/dist/actions/ping-braintree.mjs +2 -2
  414. package/dist/actions/ping-braintree.mjs.map +1 -1
  415. package/dist/actions/query-braintree-report.cjs +4 -4
  416. package/dist/actions/query-braintree-report.cjs.map +1 -1
  417. package/dist/actions/query-braintree-report.d.cts +17 -5
  418. package/dist/actions/query-braintree-report.d.mts +17 -5
  419. package/dist/actions/query-braintree-report.mjs +4 -4
  420. package/dist/actions/query-braintree-report.mjs.map +1 -1
  421. package/dist/actions/retrieve-payment-resource.cjs +11 -11
  422. package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
  423. package/dist/actions/retrieve-payment-resource.d.cts +25 -13
  424. package/dist/actions/retrieve-payment-resource.d.mts +25 -13
  425. package/dist/actions/retrieve-payment-resource.mjs +11 -11
  426. package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
  427. package/dist/actions/search-invoices.cjs +11 -11
  428. package/dist/actions/search-invoices.cjs.map +1 -1
  429. package/dist/actions/search-invoices.d.cts +28 -16
  430. package/dist/actions/search-invoices.d.mts +28 -16
  431. package/dist/actions/search-invoices.mjs +11 -11
  432. package/dist/actions/search-invoices.mjs.map +1 -1
  433. package/dist/actions/send-invoice.cjs +2 -2
  434. package/dist/actions/send-invoice.cjs.map +1 -1
  435. package/dist/actions/send-invoice.d.cts +15 -3
  436. package/dist/actions/send-invoice.d.mts +15 -3
  437. package/dist/actions/send-invoice.mjs +2 -2
  438. package/dist/actions/send-invoice.mjs.map +1 -1
  439. package/dist/actions/simulate-webhook-event.cjs +4 -4
  440. package/dist/actions/simulate-webhook-event.cjs.map +1 -1
  441. package/dist/actions/simulate-webhook-event.d.cts +17 -5
  442. package/dist/actions/simulate-webhook-event.d.mts +17 -5
  443. package/dist/actions/simulate-webhook-event.mjs +4 -4
  444. package/dist/actions/simulate-webhook-event.mjs.map +1 -1
  445. package/dist/actions/update-dispute.cjs +3 -3
  446. package/dist/actions/update-dispute.cjs.map +1 -1
  447. package/dist/actions/update-dispute.d.cts +17 -4
  448. package/dist/actions/update-dispute.d.mts +17 -4
  449. package/dist/actions/update-dispute.mjs +3 -3
  450. package/dist/actions/update-dispute.mjs.map +1 -1
  451. package/dist/actions/update-invoice.cjs +34 -34
  452. package/dist/actions/update-invoice.cjs.map +1 -1
  453. package/dist/actions/update-invoice.d.cts +67 -49
  454. package/dist/actions/update-invoice.d.cts.map +1 -1
  455. package/dist/actions/update-invoice.d.mts +67 -49
  456. package/dist/actions/update-invoice.d.mts.map +1 -1
  457. package/dist/actions/update-invoice.mjs +34 -34
  458. package/dist/actions/update-invoice.mjs.map +1 -1
  459. package/dist/actions/update-pay-pal-product.cjs +2 -2
  460. package/dist/actions/update-pay-pal-product.cjs.map +1 -1
  461. package/dist/actions/update-pay-pal-product.d.cts +16 -3
  462. package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
  463. package/dist/actions/update-pay-pal-product.d.mts +16 -3
  464. package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
  465. package/dist/actions/update-pay-pal-product.mjs +2 -2
  466. package/dist/actions/update-pay-pal-product.mjs.map +1 -1
  467. package/dist/actions/update-pay-pal-webhook.cjs +4 -4
  468. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
  469. package/dist/actions/update-pay-pal-webhook.d.cts +18 -5
  470. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
  471. package/dist/actions/update-pay-pal-webhook.d.mts +18 -5
  472. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
  473. package/dist/actions/update-pay-pal-webhook.mjs +4 -4
  474. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
  475. package/dist/actions/update-templates.cjs +39 -39
  476. package/dist/actions/update-templates.cjs.map +1 -1
  477. package/dist/actions/update-templates.d.cts +78 -57
  478. package/dist/actions/update-templates.d.mts +78 -57
  479. package/dist/actions/update-templates.mjs +39 -39
  480. package/dist/actions/update-templates.mjs.map +1 -1
  481. package/dist/actions/update-web-profile.cjs +2 -2
  482. package/dist/actions/update-web-profile.cjs.map +1 -1
  483. package/dist/actions/update-web-profile.d.cts +15 -3
  484. package/dist/actions/update-web-profile.d.mts +15 -3
  485. package/dist/actions/update-web-profile.mjs +2 -2
  486. package/dist/actions/update-web-profile.mjs.map +1 -1
  487. package/dist/actions/verify-payment-method.cjs +2 -2
  488. package/dist/actions/verify-payment-method.cjs.map +1 -1
  489. package/dist/actions/verify-payment-method.d.cts +15 -3
  490. package/dist/actions/verify-payment-method.d.mts +15 -3
  491. package/dist/actions/verify-payment-method.mjs +2 -2
  492. package/dist/actions/verify-payment-method.mjs.map +1 -1
  493. package/dist/actions/verify-webhook-signature.cjs +1 -1
  494. package/dist/actions/verify-webhook-signature.cjs.map +1 -1
  495. package/dist/actions/verify-webhook-signature.d.cts +14 -2
  496. package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
  497. package/dist/actions/verify-webhook-signature.d.mts +14 -2
  498. package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
  499. package/dist/actions/verify-webhook-signature.mjs +1 -1
  500. package/dist/actions/verify-webhook-signature.mjs.map +1 -1
  501. package/dist/app.cjs +5 -2
  502. package/dist/app.cjs.map +1 -1
  503. package/dist/app.d.cts +9 -1
  504. package/dist/app.d.cts.map +1 -1
  505. package/dist/app.d.mts +9 -1
  506. package/dist/app.d.mts.map +1 -1
  507. package/dist/app.mjs +3 -1
  508. package/dist/app.mjs.map +1 -1
  509. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"create-web-profile.mjs","names":[],"sources":["../../src/actions/create-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile. If not provided, PayPal generates an ID.\").optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\").optional(),\n}).describe(\"The flow configuration parameters.\").optional(),\n input_fields: z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").optional(),\n}).describe(\"The input field customization parameters.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").optional(),\n}).describe(\"The style and presentation parameters.\").optional(),\n}).describe(\"Request schema for creating a PayPal web experience profile.\\n\\nUse this action when you need to create a custom checkout experience\\nfor PayPal payments, including branding, landing pages, and flow configuration.\\nThe profile name must be unique for a set of profiles for a merchant.\");\nconst PaypalCreateWebProfile_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebProfile_UserActionSchema = z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\");\nconst PaypalCreateWebProfile_LandingPageTypeSchema = z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\");\nconst PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\");\nconst PaypalCreateWebProfile_FlowConfigSchema = z.object({\n user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),\n landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional(),\n}).describe(\"The flow configuration parameters.\");\nconst PaypalCreateWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").nullable().optional(),\n}).describe(\"The input field customization parameters.\");\nconst PaypalCreateWebProfile_PresentationSchema = z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").nullable().optional(),\n}).describe(\"The style and presentation parameters.\");\nexport const PaypalCreateWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name.\").nullable().optional(),\n links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently.\").nullable().optional(),\n flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional(),\n}).describe(\"Response schema for a created PayPal web experience profile.\");\n\nexport const paypalCreateWebProfile = action(\"PAYPAL_CREATE_WEB_PROFILE\", {\n slug: \"paypal-create-web-profile\",\n name: \"Create a web experience profile\",\n description: \"Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.\",\n input: PaypalCreateWebProfileInput,\n output: PaypalCreateWebProfileOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"create-web-profile.mjs","names":[],"sources":["../../src/actions/create-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile. If not provided, PayPal generates an ID.\").optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\").optional(),\n}).describe(\"The flow configuration parameters.\").optional(),\n input_fields: z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").optional(),\n}).describe(\"The input field customization parameters.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").optional(),\n}).describe(\"The style and presentation parameters.\").optional(),\n}).describe(\"Request schema for creating a PayPal web experience profile.\\n\\nUse this action when you need to create a custom checkout experience\\nfor PayPal payments, including branding, landing pages, and flow configuration.\\nThe profile name must be unique for a set of profiles for a merchant.\");\nconst PaypalCreateWebProfile_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateWebProfile_UserActionSchema = z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\");\nconst PaypalCreateWebProfile_LandingPageTypeSchema = z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\");\nconst PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\");\nconst PaypalCreateWebProfile_FlowConfigSchema = z.object({\n user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),\n landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters.\");\nconst PaypalCreateWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters.\");\nconst PaypalCreateWebProfile_PresentationSchema = z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters.\");\nexport const PaypalCreateWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name.\").nullable().optional(),\n links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently.\").nullable().optional(),\n flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal web experience profile.\");\n\nexport const paypalCreateWebProfile = action(\"PAYPAL_CREATE_WEB_PROFILE\", {\n slug: \"paypal-create-web-profile\",\n name: \"Create a web experience profile\",\n description: \"Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.\",\n input: PaypalCreateWebProfileInput,\n output: PaypalCreateWebProfileOutput,\n});\n"],"mappings":"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"}
@@ -6,12 +6,12 @@ const PaypalCreateWebhookLookup_WebhookLookupLinkSchema = zod.z.object({
6
6
  rel: zod.z.string().describe("The link relationship type.").nullable(),
7
7
  href: zod.z.string().describe("The URI of the related resource.").nullable(),
8
8
  method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
9
- }).describe("HATEOAS link information in webhook lookup responses.");
9
+ }).passthrough().describe("HATEOAS link information in webhook lookup responses.");
10
10
  const PaypalCreateWebhookLookupOutput = zod.z.object({
11
11
  id: zod.z.string().describe("The ID of the webhook lookup.").nullable(),
12
12
  links: zod.z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
13
13
  client_id: zod.z.string().describe("The application client ID.").nullable().optional()
14
- }).describe("Response model for a created PayPal webhook lookup.");
14
+ }).passthrough().describe("Response model for a created PayPal webhook lookup.");
15
15
  const paypalCreateWebhookLookup = require_action.action("PAYPAL_CREATE_WEBHOOK_LOOKUP", {
16
16
  slug: "paypal-create-webhook-lookup",
17
17
  name: "Create a webhook lookup",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook-lookup.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACxJ,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook-lookup.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACxJ,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,10 +8,22 @@ declare const PaypalCreateWebhookLookupOutput: z.ZodObject<{
8
8
  rel: z.ZodNullable<z.ZodString>;
9
9
  href: z.ZodNullable<z.ZodString>;
10
10
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>>>>;
11
+ }, z.core.$loose>>>>;
12
12
  client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
14
- declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, z.core.$loose>;
14
+ declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { paypalCreateWebhookLookup };
17
29
  //# sourceMappingURL=create-webhook-lookup.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook-lookup.d.cts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook-lookup.d.cts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -8,10 +8,22 @@ declare const PaypalCreateWebhookLookupOutput: z.ZodObject<{
8
8
  rel: z.ZodNullable<z.ZodString>;
9
9
  href: z.ZodNullable<z.ZodString>;
10
10
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>>>>;
11
+ }, z.core.$loose>>>>;
12
12
  client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>;
14
- declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, z.core.$loose>;
14
+ declare const paypalCreateWebhookLookup: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>;
15
27
  //#endregion
16
28
  export { paypalCreateWebhookLookup };
17
29
  //# sourceMappingURL=create-webhook-lookup.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook-lookup.d.mts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-webhook-lookup.d.mts","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAM/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -6,7 +6,7 @@ const PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({
6
6
  rel: z.string().describe("The link relationship type.").nullable(),
7
7
  href: z.string().describe("The URI of the related resource.").nullable(),
8
8
  method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
9
- }).describe("HATEOAS link information in webhook lookup responses.");
9
+ }).passthrough().describe("HATEOAS link information in webhook lookup responses.");
10
10
  const paypalCreateWebhookLookup = action("PAYPAL_CREATE_WEBHOOK_LOOKUP", {
11
11
  slug: "paypal-create-webhook-lookup",
12
12
  name: "Create a webhook lookup",
@@ -16,7 +16,7 @@ const paypalCreateWebhookLookup = action("PAYPAL_CREATE_WEBHOOK_LOOKUP", {
16
16
  id: z.string().describe("The ID of the webhook lookup.").nullable(),
17
17
  links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
18
18
  client_id: z.string().describe("The application client ID.").nullable().optional()
19
- }).describe("Response model for a created PayPal webhook lookup.")
19
+ }).passthrough().describe("Response model for a created PayPal webhook lookup.")
20
20
  });
21
21
  //#endregion
22
22
  export { paypalCreateWebhookLookup };
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook-lookup.mjs","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACxJ,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAOnE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook-lookup.mjs","names":[],"sources":["../../src/actions/create-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookLookupInput = z.object({}).describe(\"Request model for creating a webhook lookup. This endpoint requires no parameters.\");\nconst PaypalCreateWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information in webhook lookup responses.\");\nexport const PaypalCreateWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalCreateWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created PayPal webhook lookup.\");\n\nexport const paypalCreateWebhookLookup = action(\"PAYPAL_CREATE_WEBHOOK_LOOKUP\", {\n slug: \"paypal-create-webhook-lookup\",\n name: \"Create a webhook lookup\",\n description: \"Creates a new PayPal webhook lookup to verify a webhook signature. Use this action when you need to initiate a webhook lookup to validate that a webhook endpoint is correctly receiving and processing PayPal event notifications. This is useful for testing webhook configurations or verifying webhook authenticity before enabling it in production. This is a create operation that returns the newly created webhook lookup details, including the lookup ID, client ID, and related HATEOAS links. The action requires no input parameters.\",\n input: PaypalCreateWebhookLookupInput,\n output: PaypalCreateWebhookLookupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oFAAoF;AACxJ,MAAM,oDAAoD,EAAE,OAAO;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAOjF,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAX6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -7,25 +7,25 @@ const PaypalCreateWebhookInput = zod.z.object({
7
7
  name: zod.z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
8
8
  status: zod.z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.").optional(),
9
9
  description: zod.z.string().describe("A description of the event type.").optional()
10
- }).describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
10
+ }).passthrough().describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
11
11
  }).describe("Request schema for creating a PayPal webhook.\n\nUse this action when you need to set up a webhook endpoint to receive\nnotifications about PayPal events such as payment completions, disputes,\nor subscription updates.");
12
12
  const PaypalCreateWebhook_LinkDescriptionSchema = zod.z.object({
13
13
  rel: zod.z.string().describe("The link relationship type.").nullable(),
14
14
  href: zod.z.string().describe("The complete URL to the related resource.").nullable(),
15
15
  method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
16
- }).describe("HATEOAS link information.");
16
+ }).passthrough().describe("HATEOAS link information.");
17
17
  const PaypalCreateWebhook_EventTypeStatusSchema = zod.z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.");
18
18
  const PaypalCreateWebhook_EventTypeSchema = zod.z.object({
19
19
  name: zod.z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint.").nullable(),
20
20
  status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),
21
21
  description: zod.z.string().describe("A description of the event type.").nullable().optional()
22
- }).describe("An event type to subscribe to.");
22
+ }).passthrough().describe("An event type to subscribe to.");
23
23
  const PaypalCreateWebhookOutput = zod.z.object({
24
24
  id: zod.z.string().describe("The unique PayPal-generated ID for the webhook.").nullable().optional(),
25
25
  url: zod.z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
26
26
  links: zod.z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
27
27
  event_types: zod.z.array(PaypalCreateWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
28
- }).describe("Response schema for a created PayPal webhook.");
28
+ }).passthrough().describe("Response schema for a created PayPal webhook.");
29
29
  const paypalCreateWebhook = require_action.action("PAYPAL_CREATE_WEBHOOK", {
30
30
  slug: "paypal-create-webhook",
31
31
  name: "Create a webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACtS,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA4CA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACnI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.cjs","names":["z","action"],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).passthrough().describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC9B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACpT,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACnI,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,aAAaA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const PaypalCreateWebhookInput: z.ZodObject<{
10
10
  DISABLED: "DISABLED";
11
11
  }>>;
12
12
  description: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  }, z.core.$strip>;
15
15
  declare const PaypalCreateWebhookOutput: z.ZodObject<{
16
16
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19,7 +19,7 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
19
19
  rel: z.ZodNullable<z.ZodString>;
20
20
  href: z.ZodNullable<z.ZodString>;
21
21
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>>;
22
+ }, z.core.$loose>>>>;
23
23
  event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
24
  name: z.ZodNullable<z.ZodString>;
25
25
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -27,16 +27,29 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
27
27
  DISABLED: "DISABLED";
28
28
  }>>>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>>;
31
- }, z.core.$strip>;
30
+ }, z.core.$loose>>>>;
31
+ }, z.core.$loose>;
32
32
  declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  url: string;
34
34
  event_types: {
35
+ [x: string]: unknown;
35
36
  name: string;
36
37
  status?: "ENABLED" | "DISABLED" | undefined;
37
38
  description?: string | undefined;
38
39
  }[];
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ accessToken: z.ZodString;
52
+ }, z.core.$strip>>]>;
40
53
  //#endregion
41
54
  export { paypalCreateWebhook };
42
55
  //# sourceMappingURL=create-webhook.d.cts.map
@@ -10,7 +10,7 @@ declare const PaypalCreateWebhookInput: z.ZodObject<{
10
10
  DISABLED: "DISABLED";
11
11
  }>>;
12
12
  description: z.ZodOptional<z.ZodString>;
13
- }, z.core.$strip>>;
13
+ }, z.core.$loose>>;
14
14
  }, z.core.$strip>;
15
15
  declare const PaypalCreateWebhookOutput: z.ZodObject<{
16
16
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19,7 +19,7 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
19
19
  rel: z.ZodNullable<z.ZodString>;
20
20
  href: z.ZodNullable<z.ZodString>;
21
21
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>>>;
22
+ }, z.core.$loose>>>>;
23
23
  event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
24
  name: z.ZodNullable<z.ZodString>;
25
25
  status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -27,16 +27,29 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
27
27
  DISABLED: "DISABLED";
28
28
  }>>>;
29
29
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
- }, z.core.$strip>>>>;
31
- }, z.core.$strip>;
30
+ }, z.core.$loose>>>>;
31
+ }, z.core.$loose>;
32
32
  declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  url: string;
34
34
  event_types: {
35
+ [x: string]: unknown;
35
36
  name: string;
36
37
  status?: "ENABLED" | "DISABLED" | undefined;
37
38
  description?: string | undefined;
38
39
  }[];
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
47
+ connectionId: z.ZodString;
48
+ entityId: z.ZodString;
49
+ instanceId: z.ZodString;
50
+ }, z.core.$strip>, z.ZodObject<{
51
+ accessToken: z.ZodString;
52
+ }, z.core.$strip>>]>;
40
53
  //#endregion
41
54
  export { paypalCreateWebhook };
42
55
  //# sourceMappingURL=create-webhook.d.mts.map
@@ -7,19 +7,19 @@ const PaypalCreateWebhookInput = z.object({
7
7
  name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
8
8
  status: z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.").optional(),
9
9
  description: z.string().describe("A description of the event type.").optional()
10
- }).describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
10
+ }).passthrough().describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
11
11
  }).describe("Request schema for creating a PayPal webhook.\n\nUse this action when you need to set up a webhook endpoint to receive\nnotifications about PayPal events such as payment completions, disputes,\nor subscription updates.");
12
12
  const PaypalCreateWebhook_LinkDescriptionSchema = z.object({
13
13
  rel: z.string().describe("The link relationship type.").nullable(),
14
14
  href: z.string().describe("The complete URL to the related resource.").nullable(),
15
15
  method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
16
- }).describe("HATEOAS link information.");
16
+ }).passthrough().describe("HATEOAS link information.");
17
17
  const PaypalCreateWebhook_EventTypeStatusSchema = z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.");
18
18
  const PaypalCreateWebhook_EventTypeSchema = z.object({
19
19
  name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint.").nullable(),
20
20
  status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),
21
21
  description: z.string().describe("A description of the event type.").nullable().optional()
22
- }).describe("An event type to subscribe to.");
22
+ }).passthrough().describe("An event type to subscribe to.");
23
23
  const paypalCreateWebhook = action("PAYPAL_CREATE_WEBHOOK", {
24
24
  slug: "paypal-create-webhook",
25
25
  name: "Create a webhook",
@@ -30,7 +30,7 @@ const paypalCreateWebhook = action("PAYPAL_CREATE_WEBHOOK", {
30
30
  url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
31
31
  links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
32
32
  event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
33
- }).describe("Response schema for a created PayPal webhook.")
33
+ }).passthrough().describe("Response schema for a created PayPal webhook.")
34
34
  });
35
35
  //#endregion
36
36
  export { paypalCreateWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACtS,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA4C,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACnI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAQ5C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).passthrough().describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACpT,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4C,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACnI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAQ1D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const PaypalDeactivatePlanInput = zod.z.object({ id: zod.z.string().describe("Th
5
5
  const PaypalDeactivatePlanOutput = zod.z.object({
6
6
  message: zod.z.string().describe("Status message about the deactivation operation").nullable(),
7
7
  success: zod.z.boolean().describe("Indicates whether the plan deactivation was successful").nullable()
8
- }).describe("Output model for deactivate plan action");
8
+ }).passthrough().describe("Output model for deactivate plan action");
9
9
  const paypalDeactivatePlan = require_action.action("PAYPAL_DEACTIVATE_PLAN", {
10
10
  slug: "paypal-deactivate-plan",
11
11
  name: "Deactivate Plan",
@@ -1 +1 @@
1
- {"version":3,"file":"deactivate-plan.cjs","names":["z","action"],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"deactivate-plan.cjs","names":["z","action"],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).passthrough().describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,10 +7,22 @@ declare const PaypalDeactivatePlanInput: z.ZodObject<{
7
7
  declare const PaypalDeactivatePlanOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ accessToken: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { paypalDeactivatePlan };
16
28
  //# sourceMappingURL=deactivate-plan.d.cts.map
@@ -7,10 +7,22 @@ declare const PaypalDeactivatePlanInput: z.ZodObject<{
7
7
  declare const PaypalDeactivatePlanOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
9
  success: z.ZodNullable<z.ZodBoolean>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
14
+ connectionId: z.ZodString;
15
+ entityId: z.ZodString;
16
+ instanceId: z.ZodString;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ accessToken: z.ZodString;
19
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>;
14
26
  //#endregion
15
27
  export { paypalDeactivatePlan };
16
28
  //# sourceMappingURL=deactivate-plan.d.mts.map
@@ -8,7 +8,7 @@ const paypalDeactivatePlan = action("PAYPAL_DEACTIVATE_PLAN", {
8
8
  output: z.object({
9
9
  message: z.string().describe("Status message about the deactivation operation").nullable(),
10
10
  success: z.boolean().describe("Indicates whether the plan deactivation was successful").nullable()
11
- }).describe("Output model for deactivate plan action")
11
+ }).passthrough().describe("Output model for deactivate plan action")
12
12
  });
13
13
  //#endregion
14
14
  export { paypalDeactivatePlan };
@@ -1 +1 @@
1
- {"version":3,"file":"deactivate-plan.mjs","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"deactivate-plan.mjs","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).passthrough().describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -9,7 +9,7 @@ const PaypalDeleteExternalPaymentOutput = zod.z.object({
9
9
  success: zod.z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
10
10
  invoice_id: zod.z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
11
11
  transaction_id: zod.z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
12
- }).describe("Response schema returned after deleting an external payment from an invoice.");
12
+ }).passthrough().describe("Response schema returned after deleting an external payment from an invoice.");
13
13
  const paypalDeleteExternalPayment = require_action.action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
14
14
  slug: "paypal-delete-external-payment",
15
15
  name: "Delete Invoice External Payment",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-external-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACpL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAE1F,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-external-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACpL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,11 +9,23 @@ declare const PaypalDeleteExternalPaymentOutput: z.ZodObject<{
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
10
  invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  invoice_id: string;
15
15
  transaction_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { paypalDeleteExternalPayment };
19
31
  //# sourceMappingURL=delete-external-payment.d.cts.map
@@ -9,11 +9,23 @@ declare const PaypalDeleteExternalPaymentOutput: z.ZodObject<{
9
9
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
10
  invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  invoice_id: string;
15
15
  transaction_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { paypalDeleteExternalPayment };
19
31
  //# sourceMappingURL=delete-external-payment.d.mts.map
@@ -12,7 +12,7 @@ const paypalDeleteExternalPayment = action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
12
12
  success: z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
13
13
  invoice_id: z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
14
14
  transaction_id: z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
15
- }).describe("Response schema returned after deleting an external payment from an invoice.")
15
+ }).passthrough().describe("Response schema returned after deleting an external payment from an invoice.")
16
16
  });
17
17
  //#endregion
18
18
  export { paypalDeleteExternalPayment };