@keystrokehq/paypal 0.1.0 → 0.1.3

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 (627) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/activate-plan.cjs +1 -1
  4. package/dist/actions/activate-plan.cjs.map +1 -1
  5. package/dist/actions/activate-plan.d.cts +10 -3
  6. package/dist/actions/activate-plan.d.cts.map +1 -1
  7. package/dist/actions/activate-plan.d.mts +10 -3
  8. package/dist/actions/activate-plan.d.mts.map +1 -1
  9. package/dist/actions/activate-plan.mjs +1 -1
  10. package/dist/actions/activate-plan.mjs.map +1 -1
  11. package/dist/actions/add-batch-trackers.cjs +10 -10
  12. package/dist/actions/add-batch-trackers.cjs.map +1 -1
  13. package/dist/actions/add-batch-trackers.d.cts +79 -3
  14. package/dist/actions/add-batch-trackers.d.cts.map +1 -1
  15. package/dist/actions/add-batch-trackers.d.mts +79 -3
  16. package/dist/actions/add-batch-trackers.d.mts.map +1 -1
  17. package/dist/actions/add-batch-trackers.mjs +10 -10
  18. package/dist/actions/add-batch-trackers.mjs.map +1 -1
  19. package/dist/actions/authorize-order.cjs +22 -22
  20. package/dist/actions/authorize-order.cjs.map +1 -1
  21. package/dist/actions/authorize-order.d.cts +94 -3
  22. package/dist/actions/authorize-order.d.cts.map +1 -1
  23. package/dist/actions/authorize-order.d.mts +94 -3
  24. package/dist/actions/authorize-order.d.mts.map +1 -1
  25. package/dist/actions/authorize-order.mjs +22 -22
  26. package/dist/actions/authorize-order.mjs.map +1 -1
  27. package/dist/actions/cancel-invoice.cjs +4 -4
  28. package/dist/actions/cancel-invoice.cjs.map +1 -1
  29. package/dist/actions/cancel-invoice.d.cts +36 -3
  30. package/dist/actions/cancel-invoice.d.cts.map +1 -1
  31. package/dist/actions/cancel-invoice.d.mts +36 -3
  32. package/dist/actions/cancel-invoice.d.mts.map +1 -1
  33. package/dist/actions/cancel-invoice.mjs +4 -4
  34. package/dist/actions/cancel-invoice.mjs.map +1 -1
  35. package/dist/actions/cancel-reminders.cjs +4 -4
  36. package/dist/actions/cancel-reminders.cjs.map +1 -1
  37. package/dist/actions/cancel-reminders.d.cts +25 -3
  38. package/dist/actions/cancel-reminders.d.cts.map +1 -1
  39. package/dist/actions/cancel-reminders.d.mts +25 -3
  40. package/dist/actions/cancel-reminders.d.mts.map +1 -1
  41. package/dist/actions/cancel-reminders.mjs +4 -4
  42. package/dist/actions/cancel-reminders.mjs.map +1 -1
  43. package/dist/actions/capture-subscription-payment.cjs +23 -23
  44. package/dist/actions/capture-subscription-payment.cjs.map +1 -1
  45. package/dist/actions/capture-subscription-payment.d.cts +67 -3
  46. package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
  47. package/dist/actions/capture-subscription-payment.d.mts +67 -3
  48. package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
  49. package/dist/actions/capture-subscription-payment.mjs +23 -23
  50. package/dist/actions/capture-subscription-payment.mjs.map +1 -1
  51. package/dist/actions/charge-payment-method.cjs +1 -1
  52. package/dist/actions/charge-payment-method.cjs.map +1 -1
  53. package/dist/actions/charge-payment-method.d.cts +89 -3
  54. package/dist/actions/charge-payment-method.d.cts.map +1 -1
  55. package/dist/actions/charge-payment-method.d.mts +89 -3
  56. package/dist/actions/charge-payment-method.d.mts.map +1 -1
  57. package/dist/actions/charge-payment-method.mjs +1 -1
  58. package/dist/actions/charge-payment-method.mjs.map +1 -1
  59. package/dist/actions/create-invoice.cjs +29 -29
  60. package/dist/actions/create-invoice.cjs.map +1 -1
  61. package/dist/actions/create-invoice.d.cts +431 -3
  62. package/dist/actions/create-invoice.d.cts.map +1 -1
  63. package/dist/actions/create-invoice.d.mts +431 -3
  64. package/dist/actions/create-invoice.d.mts.map +1 -1
  65. package/dist/actions/create-invoice.mjs +29 -29
  66. package/dist/actions/create-invoice.mjs.map +1 -1
  67. package/dist/actions/create-payment.cjs +42 -42
  68. package/dist/actions/create-payment.cjs.map +1 -1
  69. package/dist/actions/create-payment.d.cts +215 -3
  70. package/dist/actions/create-payment.d.cts.map +1 -1
  71. package/dist/actions/create-payment.d.mts +215 -3
  72. package/dist/actions/create-payment.d.mts.map +1 -1
  73. package/dist/actions/create-payment.mjs +42 -42
  74. package/dist/actions/create-payment.mjs.map +1 -1
  75. package/dist/actions/create-payments-billing-plans.cjs +16 -16
  76. package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
  77. package/dist/actions/create-payments-billing-plans.d.cts +154 -3
  78. package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
  79. package/dist/actions/create-payments-billing-plans.d.mts +154 -3
  80. package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
  81. package/dist/actions/create-payments-billing-plans.mjs +16 -16
  82. package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
  83. package/dist/actions/create-plan.cjs +20 -20
  84. package/dist/actions/create-plan.cjs.map +1 -1
  85. package/dist/actions/create-plan.d.cts +143 -3
  86. package/dist/actions/create-plan.d.cts.map +1 -1
  87. package/dist/actions/create-plan.d.mts +143 -3
  88. package/dist/actions/create-plan.d.mts.map +1 -1
  89. package/dist/actions/create-plan.mjs +20 -20
  90. package/dist/actions/create-plan.mjs.map +1 -1
  91. package/dist/actions/create-product.cjs +2 -2
  92. package/dist/actions/create-product.cjs.map +1 -1
  93. package/dist/actions/create-product.d.cts +184 -3
  94. package/dist/actions/create-product.d.cts.map +1 -1
  95. package/dist/actions/create-product.d.mts +184 -3
  96. package/dist/actions/create-product.d.mts.map +1 -1
  97. package/dist/actions/create-product.mjs +2 -2
  98. package/dist/actions/create-product.mjs.map +1 -1
  99. package/dist/actions/create-subscription.cjs +17 -17
  100. package/dist/actions/create-subscription.cjs.map +1 -1
  101. package/dist/actions/create-subscription.d.cts +255 -3
  102. package/dist/actions/create-subscription.d.cts.map +1 -1
  103. package/dist/actions/create-subscription.d.mts +255 -3
  104. package/dist/actions/create-subscription.d.mts.map +1 -1
  105. package/dist/actions/create-subscription.mjs +17 -17
  106. package/dist/actions/create-subscription.mjs.map +1 -1
  107. package/dist/actions/create-template.cjs +30 -30
  108. package/dist/actions/create-template.cjs.map +1 -1
  109. package/dist/actions/create-template.d.cts +323 -3
  110. package/dist/actions/create-template.d.cts.map +1 -1
  111. package/dist/actions/create-template.d.mts +323 -3
  112. package/dist/actions/create-template.d.mts.map +1 -1
  113. package/dist/actions/create-template.mjs +30 -30
  114. package/dist/actions/create-template.mjs.map +1 -1
  115. package/dist/actions/create-web-profile.cjs +7 -7
  116. package/dist/actions/create-web-profile.cjs.map +1 -1
  117. package/dist/actions/create-web-profile.d.cts +81 -3
  118. package/dist/actions/create-web-profile.d.cts.map +1 -1
  119. package/dist/actions/create-web-profile.d.mts +81 -3
  120. package/dist/actions/create-web-profile.d.mts.map +1 -1
  121. package/dist/actions/create-web-profile.mjs +7 -7
  122. package/dist/actions/create-web-profile.mjs.map +1 -1
  123. package/dist/actions/create-webhook-lookup.cjs +5 -5
  124. package/dist/actions/create-webhook-lookup.cjs.map +1 -1
  125. package/dist/actions/create-webhook-lookup.d.cts +11 -3
  126. package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
  127. package/dist/actions/create-webhook-lookup.d.mts +11 -3
  128. package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
  129. package/dist/actions/create-webhook-lookup.mjs +5 -5
  130. package/dist/actions/create-webhook-lookup.mjs.map +1 -1
  131. package/dist/actions/create-webhook.cjs +7 -7
  132. package/dist/actions/create-webhook.cjs.map +1 -1
  133. package/dist/actions/create-webhook.d.cts +37 -3
  134. package/dist/actions/create-webhook.d.cts.map +1 -1
  135. package/dist/actions/create-webhook.d.mts +37 -3
  136. package/dist/actions/create-webhook.d.mts.map +1 -1
  137. package/dist/actions/create-webhook.mjs +7 -7
  138. package/dist/actions/create-webhook.mjs.map +1 -1
  139. package/dist/actions/deactivate-plan.cjs +3 -3
  140. package/dist/actions/deactivate-plan.cjs.map +1 -1
  141. package/dist/actions/deactivate-plan.d.cts +10 -3
  142. package/dist/actions/deactivate-plan.d.cts.map +1 -1
  143. package/dist/actions/deactivate-plan.d.mts +10 -3
  144. package/dist/actions/deactivate-plan.d.mts.map +1 -1
  145. package/dist/actions/deactivate-plan.mjs +3 -3
  146. package/dist/actions/deactivate-plan.mjs.map +1 -1
  147. package/dist/actions/delete-external-payment.cjs +1 -1
  148. package/dist/actions/delete-external-payment.cjs.map +1 -1
  149. package/dist/actions/delete-external-payment.d.cts +13 -3
  150. package/dist/actions/delete-external-payment.d.cts.map +1 -1
  151. package/dist/actions/delete-external-payment.d.mts +13 -3
  152. package/dist/actions/delete-external-payment.d.mts.map +1 -1
  153. package/dist/actions/delete-external-payment.mjs +1 -1
  154. package/dist/actions/delete-external-payment.mjs.map +1 -1
  155. package/dist/actions/delete-invoice-payment-record.cjs +1 -1
  156. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
  157. package/dist/actions/delete-invoice-payment-record.d.cts +13 -3
  158. package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
  159. package/dist/actions/delete-invoice-payment-record.d.mts +13 -3
  160. package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
  161. package/dist/actions/delete-invoice-payment-record.mjs +1 -1
  162. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
  163. package/dist/actions/delete-invoice-refund-record.cjs +1 -1
  164. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
  165. package/dist/actions/delete-invoice-refund-record.d.cts +12 -3
  166. package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
  167. package/dist/actions/delete-invoice-refund-record.d.mts +12 -3
  168. package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
  169. package/dist/actions/delete-invoice-refund-record.mjs +1 -1
  170. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
  171. package/dist/actions/delete-invoice.cjs +6 -6
  172. package/dist/actions/delete-invoice.cjs.map +1 -1
  173. package/dist/actions/delete-invoice.d.cts +25 -3
  174. package/dist/actions/delete-invoice.d.cts.map +1 -1
  175. package/dist/actions/delete-invoice.d.mts +25 -3
  176. package/dist/actions/delete-invoice.d.mts.map +1 -1
  177. package/dist/actions/delete-invoice.mjs +6 -6
  178. package/dist/actions/delete-invoice.mjs.map +1 -1
  179. package/dist/actions/delete-payment-resource.cjs +3 -3
  180. package/dist/actions/delete-payment-resource.cjs.map +1 -1
  181. package/dist/actions/delete-payment-resource.d.cts +10 -3
  182. package/dist/actions/delete-payment-resource.d.cts.map +1 -1
  183. package/dist/actions/delete-payment-resource.d.mts +10 -3
  184. package/dist/actions/delete-payment-resource.d.mts.map +1 -1
  185. package/dist/actions/delete-payment-resource.mjs +3 -3
  186. package/dist/actions/delete-payment-resource.mjs.map +1 -1
  187. package/dist/actions/delete-template.cjs +6 -6
  188. package/dist/actions/delete-template.cjs.map +1 -1
  189. package/dist/actions/delete-template.d.cts +25 -3
  190. package/dist/actions/delete-template.d.cts.map +1 -1
  191. package/dist/actions/delete-template.d.mts +25 -3
  192. package/dist/actions/delete-template.d.mts.map +1 -1
  193. package/dist/actions/delete-template.mjs +6 -6
  194. package/dist/actions/delete-template.mjs.map +1 -1
  195. package/dist/actions/delete-web-profile.cjs +3 -3
  196. package/dist/actions/delete-web-profile.cjs.map +1 -1
  197. package/dist/actions/delete-web-profile.d.cts +10 -3
  198. package/dist/actions/delete-web-profile.d.cts.map +1 -1
  199. package/dist/actions/delete-web-profile.d.mts +10 -3
  200. package/dist/actions/delete-web-profile.d.mts.map +1 -1
  201. package/dist/actions/delete-web-profile.mjs +3 -3
  202. package/dist/actions/delete-web-profile.mjs.map +1 -1
  203. package/dist/actions/delete-webhook.cjs +6 -6
  204. package/dist/actions/delete-webhook.cjs.map +1 -1
  205. package/dist/actions/delete-webhook.d.cts +24 -3
  206. package/dist/actions/delete-webhook.d.cts.map +1 -1
  207. package/dist/actions/delete-webhook.d.mts +24 -3
  208. package/dist/actions/delete-webhook.d.mts.map +1 -1
  209. package/dist/actions/delete-webhook.mjs +6 -6
  210. package/dist/actions/delete-webhook.mjs.map +1 -1
  211. package/dist/actions/fetch-node.cjs +6 -6
  212. package/dist/actions/fetch-node.cjs.map +1 -1
  213. package/dist/actions/fetch-node.d.cts +21 -3
  214. package/dist/actions/fetch-node.d.cts.map +1 -1
  215. package/dist/actions/fetch-node.d.mts +21 -3
  216. package/dist/actions/fetch-node.d.mts.map +1 -1
  217. package/dist/actions/fetch-node.mjs +6 -6
  218. package/dist/actions/fetch-node.mjs.map +1 -1
  219. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
  220. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
  221. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +14 -3
  222. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
  223. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +14 -3
  224. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
  225. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
  226. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
  227. package/dist/actions/find-eligible-methods.cjs +8 -8
  228. package/dist/actions/find-eligible-methods.cjs.map +1 -1
  229. package/dist/actions/find-eligible-methods.d.cts +120 -3
  230. package/dist/actions/find-eligible-methods.d.cts.map +1 -1
  231. package/dist/actions/find-eligible-methods.d.mts +120 -3
  232. package/dist/actions/find-eligible-methods.d.mts.map +1 -1
  233. package/dist/actions/find-eligible-methods.mjs +8 -8
  234. package/dist/actions/find-eligible-methods.mjs.map +1 -1
  235. package/dist/actions/generate-client-token.cjs +2 -2
  236. package/dist/actions/generate-client-token.cjs.map +1 -1
  237. package/dist/actions/generate-client-token.d.cts +7 -3
  238. package/dist/actions/generate-client-token.d.cts.map +1 -1
  239. package/dist/actions/generate-client-token.d.mts +7 -3
  240. package/dist/actions/generate-client-token.d.mts.map +1 -1
  241. package/dist/actions/generate-client-token.mjs +2 -2
  242. package/dist/actions/generate-client-token.mjs.map +1 -1
  243. package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
  244. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
  245. package/dist/actions/generate-next-invoice-number-v2.d.cts +10 -3
  246. package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
  247. package/dist/actions/generate-next-invoice-number-v2.d.mts +10 -3
  248. package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
  249. package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
  250. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
  251. package/dist/actions/generate-next-invoice-number.cjs +1 -1
  252. package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
  253. package/dist/actions/generate-next-invoice-number.d.cts +5 -3
  254. package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
  255. package/dist/actions/generate-next-invoice-number.d.mts +5 -3
  256. package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
  257. package/dist/actions/generate-next-invoice-number.mjs +1 -1
  258. package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
  259. package/dist/actions/generate-qr-code.cjs +7 -7
  260. package/dist/actions/generate-qr-code.cjs.map +1 -1
  261. package/dist/actions/generate-qr-code.d.cts +38 -3
  262. package/dist/actions/generate-qr-code.d.cts.map +1 -1
  263. package/dist/actions/generate-qr-code.d.mts +38 -3
  264. package/dist/actions/generate-qr-code.d.mts.map +1 -1
  265. package/dist/actions/generate-qr-code.mjs +7 -7
  266. package/dist/actions/generate-qr-code.mjs.map +1 -1
  267. package/dist/actions/get-billing-subscriptions.cjs +10 -10
  268. package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
  269. package/dist/actions/get-billing-subscriptions.d.cts +86 -3
  270. package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
  271. package/dist/actions/get-billing-subscriptions.d.mts +86 -3
  272. package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
  273. package/dist/actions/get-billing-subscriptions.mjs +10 -10
  274. package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
  275. package/dist/actions/get-invoice.cjs +33 -33
  276. package/dist/actions/get-invoice.cjs.map +1 -1
  277. package/dist/actions/get-invoice.d.cts +151 -3
  278. package/dist/actions/get-invoice.d.cts.map +1 -1
  279. package/dist/actions/get-invoice.d.mts +151 -3
  280. package/dist/actions/get-invoice.d.mts.map +1 -1
  281. package/dist/actions/get-invoice.mjs +33 -33
  282. package/dist/actions/get-invoice.mjs.map +1 -1
  283. package/dist/actions/get-invoicing-invoices-qr-code.cjs +5 -5
  284. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
  285. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +20 -3
  286. package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
  287. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +20 -3
  288. package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
  289. package/dist/actions/get-invoicing-invoices-qr-code.mjs +5 -5
  290. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
  291. package/dist/actions/get-invoicing-template.cjs +22 -22
  292. package/dist/actions/get-invoicing-template.cjs.map +1 -1
  293. package/dist/actions/get-invoicing-template.d.cts +134 -3
  294. package/dist/actions/get-invoicing-template.d.cts.map +1 -1
  295. package/dist/actions/get-invoicing-template.d.mts +134 -3
  296. package/dist/actions/get-invoicing-template.d.mts.map +1 -1
  297. package/dist/actions/get-invoicing-template.mjs +22 -22
  298. package/dist/actions/get-invoicing-template.mjs.map +1 -1
  299. package/dist/actions/get-order.cjs +16 -16
  300. package/dist/actions/get-order.cjs.map +1 -1
  301. package/dist/actions/get-order.d.cts +114 -3
  302. package/dist/actions/get-order.d.cts.map +1 -1
  303. package/dist/actions/get-order.d.mts +114 -3
  304. package/dist/actions/get-order.d.mts.map +1 -1
  305. package/dist/actions/get-order.mjs +16 -16
  306. package/dist/actions/get-order.mjs.map +1 -1
  307. package/dist/actions/get-payment.cjs +14 -14
  308. package/dist/actions/get-payment.cjs.map +1 -1
  309. package/dist/actions/get-payment.d.cts +93 -3
  310. package/dist/actions/get-payment.d.cts.map +1 -1
  311. package/dist/actions/get-payment.d.mts +93 -3
  312. package/dist/actions/get-payment.d.mts.map +1 -1
  313. package/dist/actions/get-payment.mjs +14 -14
  314. package/dist/actions/get-payment.mjs.map +1 -1
  315. package/dist/actions/get-payments-refund.cjs +3 -3
  316. package/dist/actions/get-payments-refund.cjs.map +1 -1
  317. package/dist/actions/get-payments-refund.d.cts +26 -3
  318. package/dist/actions/get-payments-refund.d.cts.map +1 -1
  319. package/dist/actions/get-payments-refund.d.mts +26 -3
  320. package/dist/actions/get-payments-refund.d.mts.map +1 -1
  321. package/dist/actions/get-payments-refund.mjs +3 -3
  322. package/dist/actions/get-payments-refund.mjs.map +1 -1
  323. package/dist/actions/get-plan.cjs +11 -11
  324. package/dist/actions/get-plan.cjs.map +1 -1
  325. package/dist/actions/get-plan.d.cts +52 -3
  326. package/dist/actions/get-plan.d.cts.map +1 -1
  327. package/dist/actions/get-plan.d.mts +52 -3
  328. package/dist/actions/get-plan.d.mts.map +1 -1
  329. package/dist/actions/get-plan.mjs +11 -11
  330. package/dist/actions/get-plan.mjs.map +1 -1
  331. package/dist/actions/get-product.cjs +5 -5
  332. package/dist/actions/get-product.cjs.map +1 -1
  333. package/dist/actions/get-product.d.cts +22 -3
  334. package/dist/actions/get-product.d.cts.map +1 -1
  335. package/dist/actions/get-product.d.mts +22 -3
  336. package/dist/actions/get-product.d.mts.map +1 -1
  337. package/dist/actions/get-product.mjs +5 -5
  338. package/dist/actions/get-product.mjs.map +1 -1
  339. package/dist/actions/get-subscription.cjs +10 -10
  340. package/dist/actions/get-subscription.cjs.map +1 -1
  341. package/dist/actions/get-subscription.d.cts +79 -3
  342. package/dist/actions/get-subscription.d.cts.map +1 -1
  343. package/dist/actions/get-subscription.d.mts +79 -3
  344. package/dist/actions/get-subscription.d.mts.map +1 -1
  345. package/dist/actions/get-subscription.mjs +10 -10
  346. package/dist/actions/get-subscription.mjs.map +1 -1
  347. package/dist/actions/get-user-info.cjs +3 -3
  348. package/dist/actions/get-user-info.cjs.map +1 -1
  349. package/dist/actions/get-user-info.d.cts +34 -3
  350. package/dist/actions/get-user-info.d.cts.map +1 -1
  351. package/dist/actions/get-user-info.d.mts +34 -3
  352. package/dist/actions/get-user-info.d.mts.map +1 -1
  353. package/dist/actions/get-user-info.mjs +3 -3
  354. package/dist/actions/get-user-info.mjs.map +1 -1
  355. package/dist/actions/get-userinfo.cjs +3 -3
  356. package/dist/actions/get-userinfo.cjs.map +1 -1
  357. package/dist/actions/get-userinfo.d.cts +47 -3
  358. package/dist/actions/get-userinfo.d.cts.map +1 -1
  359. package/dist/actions/get-userinfo.d.mts +47 -3
  360. package/dist/actions/get-userinfo.d.mts.map +1 -1
  361. package/dist/actions/get-userinfo.mjs +3 -3
  362. package/dist/actions/get-userinfo.mjs.map +1 -1
  363. package/dist/actions/get-web-profile.cjs +5 -5
  364. package/dist/actions/get-web-profile.cjs.map +1 -1
  365. package/dist/actions/get-web-profile.d.cts +26 -3
  366. package/dist/actions/get-web-profile.d.cts.map +1 -1
  367. package/dist/actions/get-web-profile.d.mts +26 -3
  368. package/dist/actions/get-web-profile.d.mts.map +1 -1
  369. package/dist/actions/get-web-profile.mjs +5 -5
  370. package/dist/actions/get-web-profile.mjs.map +1 -1
  371. package/dist/actions/get-webhook-lookup.cjs +3 -3
  372. package/dist/actions/get-webhook-lookup.cjs.map +1 -1
  373. package/dist/actions/get-webhook-lookup.d.cts +15 -3
  374. package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
  375. package/dist/actions/get-webhook-lookup.d.mts +15 -3
  376. package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
  377. package/dist/actions/get-webhook-lookup.mjs +3 -3
  378. package/dist/actions/get-webhook-lookup.mjs.map +1 -1
  379. package/dist/actions/get-webhook.cjs +6 -6
  380. package/dist/actions/get-webhook.cjs.map +1 -1
  381. package/dist/actions/get-webhook.d.cts +23 -3
  382. package/dist/actions/get-webhook.d.cts.map +1 -1
  383. package/dist/actions/get-webhook.d.mts +23 -3
  384. package/dist/actions/get-webhook.d.mts.map +1 -1
  385. package/dist/actions/get-webhook.mjs +6 -6
  386. package/dist/actions/get-webhook.mjs.map +1 -1
  387. package/dist/actions/list-disputes.cjs +7 -7
  388. package/dist/actions/list-disputes.cjs.map +1 -1
  389. package/dist/actions/list-disputes.d.cts +57 -3
  390. package/dist/actions/list-disputes.d.cts.map +1 -1
  391. package/dist/actions/list-disputes.d.mts +57 -3
  392. package/dist/actions/list-disputes.d.mts.map +1 -1
  393. package/dist/actions/list-disputes.mjs +7 -7
  394. package/dist/actions/list-disputes.mjs.map +1 -1
  395. package/dist/actions/list-invoices.cjs +15 -15
  396. package/dist/actions/list-invoices.cjs.map +1 -1
  397. package/dist/actions/list-invoices.d.cts +82 -3
  398. package/dist/actions/list-invoices.d.cts.map +1 -1
  399. package/dist/actions/list-invoices.d.mts +82 -3
  400. package/dist/actions/list-invoices.d.mts.map +1 -1
  401. package/dist/actions/list-invoices.mjs +15 -15
  402. package/dist/actions/list-invoices.mjs.map +1 -1
  403. package/dist/actions/list-legacy-billing-plans.cjs +7 -7
  404. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
  405. package/dist/actions/list-legacy-billing-plans.d.cts +83 -3
  406. package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
  407. package/dist/actions/list-legacy-billing-plans.d.mts +83 -3
  408. package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
  409. package/dist/actions/list-legacy-billing-plans.mjs +7 -7
  410. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
  411. package/dist/actions/list-payments.cjs +20 -20
  412. package/dist/actions/list-payments.cjs.map +1 -1
  413. package/dist/actions/list-payments.d.cts +109 -3
  414. package/dist/actions/list-payments.d.cts.map +1 -1
  415. package/dist/actions/list-payments.d.mts +109 -3
  416. package/dist/actions/list-payments.d.mts.map +1 -1
  417. package/dist/actions/list-payments.mjs +20 -20
  418. package/dist/actions/list-payments.mjs.map +1 -1
  419. package/dist/actions/list-plans.cjs +11 -11
  420. package/dist/actions/list-plans.cjs.map +1 -1
  421. package/dist/actions/list-plans.d.cts +56 -3
  422. package/dist/actions/list-plans.d.cts.map +1 -1
  423. package/dist/actions/list-plans.d.mts +56 -3
  424. package/dist/actions/list-plans.d.mts.map +1 -1
  425. package/dist/actions/list-plans.mjs +11 -11
  426. package/dist/actions/list-plans.mjs.map +1 -1
  427. package/dist/actions/list-products.cjs +3 -3
  428. package/dist/actions/list-products.cjs.map +1 -1
  429. package/dist/actions/list-products.d.cts +30 -3
  430. package/dist/actions/list-products.d.cts.map +1 -1
  431. package/dist/actions/list-products.d.mts +30 -3
  432. package/dist/actions/list-products.d.mts.map +1 -1
  433. package/dist/actions/list-products.mjs +3 -3
  434. package/dist/actions/list-products.mjs.map +1 -1
  435. package/dist/actions/list-templates.cjs +8 -8
  436. package/dist/actions/list-templates.cjs.map +1 -1
  437. package/dist/actions/list-templates.d.cts +66 -3
  438. package/dist/actions/list-templates.d.cts.map +1 -1
  439. package/dist/actions/list-templates.d.mts +66 -3
  440. package/dist/actions/list-templates.d.mts.map +1 -1
  441. package/dist/actions/list-templates.mjs +8 -8
  442. package/dist/actions/list-templates.mjs.map +1 -1
  443. package/dist/actions/list-web-profiles.cjs +7 -7
  444. package/dist/actions/list-web-profiles.cjs.map +1 -1
  445. package/dist/actions/list-web-profiles.d.cts +35 -3
  446. package/dist/actions/list-web-profiles.d.cts.map +1 -1
  447. package/dist/actions/list-web-profiles.d.mts +35 -3
  448. package/dist/actions/list-web-profiles.d.mts.map +1 -1
  449. package/dist/actions/list-web-profiles.mjs +7 -7
  450. package/dist/actions/list-web-profiles.mjs.map +1 -1
  451. package/dist/actions/list-webhook-event-type-subscriptions.cjs +4 -4
  452. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
  453. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -3
  454. package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
  455. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -3
  456. package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
  457. package/dist/actions/list-webhook-event-type-subscriptions.mjs +4 -4
  458. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
  459. package/dist/actions/list-webhook-event-types.cjs +4 -4
  460. package/dist/actions/list-webhook-event-types.cjs.map +1 -1
  461. package/dist/actions/list-webhook-event-types.d.cts +12 -3
  462. package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
  463. package/dist/actions/list-webhook-event-types.d.mts +12 -3
  464. package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
  465. package/dist/actions/list-webhook-event-types.mjs +4 -4
  466. package/dist/actions/list-webhook-event-types.mjs.map +1 -1
  467. package/dist/actions/list-webhook-lookups.cjs +3 -3
  468. package/dist/actions/list-webhook-lookups.cjs.map +1 -1
  469. package/dist/actions/list-webhook-lookups.d.cts +13 -3
  470. package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
  471. package/dist/actions/list-webhook-lookups.d.mts +13 -3
  472. package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
  473. package/dist/actions/list-webhook-lookups.mjs +3 -3
  474. package/dist/actions/list-webhook-lookups.mjs.map +1 -1
  475. package/dist/actions/list-webhooks.cjs +3 -3
  476. package/dist/actions/list-webhooks.cjs.map +1 -1
  477. package/dist/actions/list-webhooks.d.cts +24 -3
  478. package/dist/actions/list-webhooks.d.cts.map +1 -1
  479. package/dist/actions/list-webhooks.d.mts +24 -3
  480. package/dist/actions/list-webhooks.d.mts.map +1 -1
  481. package/dist/actions/list-webhooks.mjs +3 -3
  482. package/dist/actions/list-webhooks.mjs.map +1 -1
  483. package/dist/actions/patch-orders.cjs +2 -2
  484. package/dist/actions/patch-orders.cjs.map +1 -1
  485. package/dist/actions/patch-orders.d.cts +32 -3
  486. package/dist/actions/patch-orders.d.cts.map +1 -1
  487. package/dist/actions/patch-orders.d.mts +32 -3
  488. package/dist/actions/patch-orders.d.mts.map +1 -1
  489. package/dist/actions/patch-orders.mjs +2 -2
  490. package/dist/actions/patch-orders.mjs.map +1 -1
  491. package/dist/actions/patch-plan.cjs +2 -2
  492. package/dist/actions/patch-plan.cjs.map +1 -1
  493. package/dist/actions/patch-plan.d.cts +30 -3
  494. package/dist/actions/patch-plan.d.cts.map +1 -1
  495. package/dist/actions/patch-plan.d.mts +30 -3
  496. package/dist/actions/patch-plan.d.mts.map +1 -1
  497. package/dist/actions/patch-plan.mjs +2 -2
  498. package/dist/actions/patch-plan.mjs.map +1 -1
  499. package/dist/actions/patch-subscription.cjs +5 -5
  500. package/dist/actions/patch-subscription.cjs.map +1 -1
  501. package/dist/actions/patch-subscription.d.cts +37 -3
  502. package/dist/actions/patch-subscription.d.cts.map +1 -1
  503. package/dist/actions/patch-subscription.d.mts +37 -3
  504. package/dist/actions/patch-subscription.d.mts.map +1 -1
  505. package/dist/actions/patch-subscription.mjs +5 -5
  506. package/dist/actions/patch-subscription.mjs.map +1 -1
  507. package/dist/actions/patch-web-profile.cjs +2 -2
  508. package/dist/actions/patch-web-profile.cjs.map +1 -1
  509. package/dist/actions/patch-web-profile.d.cts +30 -3
  510. package/dist/actions/patch-web-profile.d.cts.map +1 -1
  511. package/dist/actions/patch-web-profile.d.mts +30 -3
  512. package/dist/actions/patch-web-profile.d.mts.map +1 -1
  513. package/dist/actions/patch-web-profile.mjs +2 -2
  514. package/dist/actions/patch-web-profile.mjs.map +1 -1
  515. package/dist/actions/ping-braintree.cjs +2 -2
  516. package/dist/actions/ping-braintree.cjs.map +1 -1
  517. package/dist/actions/ping-braintree.d.cts +6 -3
  518. package/dist/actions/ping-braintree.d.cts.map +1 -1
  519. package/dist/actions/ping-braintree.d.mts +6 -3
  520. package/dist/actions/ping-braintree.d.mts.map +1 -1
  521. package/dist/actions/ping-braintree.mjs +2 -2
  522. package/dist/actions/ping-braintree.mjs.map +1 -1
  523. package/dist/actions/query-braintree-report.cjs +5 -5
  524. package/dist/actions/query-braintree-report.cjs.map +1 -1
  525. package/dist/actions/query-braintree-report.d.cts +30 -3
  526. package/dist/actions/query-braintree-report.d.cts.map +1 -1
  527. package/dist/actions/query-braintree-report.d.mts +30 -3
  528. package/dist/actions/query-braintree-report.d.mts.map +1 -1
  529. package/dist/actions/query-braintree-report.mjs +5 -5
  530. package/dist/actions/query-braintree-report.mjs.map +1 -1
  531. package/dist/actions/retrieve-payment-resource.cjs +12 -12
  532. package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
  533. package/dist/actions/retrieve-payment-resource.d.cts +60 -3
  534. package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
  535. package/dist/actions/retrieve-payment-resource.d.mts +60 -3
  536. package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
  537. package/dist/actions/retrieve-payment-resource.mjs +12 -12
  538. package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
  539. package/dist/actions/search-invoices.cjs +12 -12
  540. package/dist/actions/search-invoices.cjs.map +1 -1
  541. package/dist/actions/search-invoices.d.cts +156 -3
  542. package/dist/actions/search-invoices.d.cts.map +1 -1
  543. package/dist/actions/search-invoices.d.mts +156 -3
  544. package/dist/actions/search-invoices.d.mts.map +1 -1
  545. package/dist/actions/search-invoices.mjs +12 -12
  546. package/dist/actions/search-invoices.mjs.map +1 -1
  547. package/dist/actions/send-invoice.cjs +4 -4
  548. package/dist/actions/send-invoice.cjs.map +1 -1
  549. package/dist/actions/send-invoice.d.cts +30 -3
  550. package/dist/actions/send-invoice.d.cts.map +1 -1
  551. package/dist/actions/send-invoice.d.mts +30 -3
  552. package/dist/actions/send-invoice.d.mts.map +1 -1
  553. package/dist/actions/send-invoice.mjs +4 -4
  554. package/dist/actions/send-invoice.mjs.map +1 -1
  555. package/dist/actions/simulate-webhook-event.cjs +7 -7
  556. package/dist/actions/simulate-webhook-event.cjs.map +1 -1
  557. package/dist/actions/simulate-webhook-event.d.cts +42 -3
  558. package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
  559. package/dist/actions/simulate-webhook-event.d.mts +42 -3
  560. package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
  561. package/dist/actions/simulate-webhook-event.mjs +7 -7
  562. package/dist/actions/simulate-webhook-event.mjs.map +1 -1
  563. package/dist/actions/update-dispute.cjs +5 -5
  564. package/dist/actions/update-dispute.cjs.map +1 -1
  565. package/dist/actions/update-dispute.d.cts +40 -3
  566. package/dist/actions/update-dispute.d.cts.map +1 -1
  567. package/dist/actions/update-dispute.d.mts +40 -3
  568. package/dist/actions/update-dispute.d.mts.map +1 -1
  569. package/dist/actions/update-dispute.mjs +5 -5
  570. package/dist/actions/update-dispute.mjs.map +1 -1
  571. package/dist/actions/update-invoice.cjs +49 -49
  572. package/dist/actions/update-invoice.cjs.map +1 -1
  573. package/dist/actions/update-invoice.d.cts +544 -3
  574. package/dist/actions/update-invoice.d.cts.map +1 -1
  575. package/dist/actions/update-invoice.d.mts +544 -3
  576. package/dist/actions/update-invoice.d.mts.map +1 -1
  577. package/dist/actions/update-invoice.mjs +49 -49
  578. package/dist/actions/update-invoice.mjs.map +1 -1
  579. package/dist/actions/update-pay-pal-product.cjs +2 -2
  580. package/dist/actions/update-pay-pal-product.cjs.map +1 -1
  581. package/dist/actions/update-pay-pal-product.d.cts +30 -3
  582. package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
  583. package/dist/actions/update-pay-pal-product.d.mts +30 -3
  584. package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
  585. package/dist/actions/update-pay-pal-product.mjs +2 -2
  586. package/dist/actions/update-pay-pal-product.mjs.map +1 -1
  587. package/dist/actions/update-pay-pal-webhook.cjs +7 -7
  588. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
  589. package/dist/actions/update-pay-pal-webhook.d.cts +41 -3
  590. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
  591. package/dist/actions/update-pay-pal-webhook.d.mts +41 -3
  592. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
  593. package/dist/actions/update-pay-pal-webhook.mjs +7 -7
  594. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
  595. package/dist/actions/update-templates.cjs +39 -39
  596. package/dist/actions/update-templates.cjs.map +1 -1
  597. package/dist/actions/update-templates.d.cts +636 -3
  598. package/dist/actions/update-templates.d.cts.map +1 -1
  599. package/dist/actions/update-templates.d.mts +636 -3
  600. package/dist/actions/update-templates.d.mts.map +1 -1
  601. package/dist/actions/update-templates.mjs +39 -39
  602. package/dist/actions/update-templates.mjs.map +1 -1
  603. package/dist/actions/update-web-profile.cjs +4 -4
  604. package/dist/actions/update-web-profile.cjs.map +1 -1
  605. package/dist/actions/update-web-profile.d.cts +59 -3
  606. package/dist/actions/update-web-profile.d.cts.map +1 -1
  607. package/dist/actions/update-web-profile.d.mts +59 -3
  608. package/dist/actions/update-web-profile.d.mts.map +1 -1
  609. package/dist/actions/update-web-profile.mjs +4 -4
  610. package/dist/actions/update-web-profile.mjs.map +1 -1
  611. package/dist/actions/verify-payment-method.cjs +5 -5
  612. package/dist/actions/verify-payment-method.cjs.map +1 -1
  613. package/dist/actions/verify-payment-method.d.cts +25 -3
  614. package/dist/actions/verify-payment-method.d.cts.map +1 -1
  615. package/dist/actions/verify-payment-method.d.mts +25 -3
  616. package/dist/actions/verify-payment-method.d.mts.map +1 -1
  617. package/dist/actions/verify-payment-method.mjs +5 -5
  618. package/dist/actions/verify-payment-method.mjs.map +1 -1
  619. package/dist/actions/verify-webhook-signature.cjs +1 -1
  620. package/dist/actions/verify-webhook-signature.cjs.map +1 -1
  621. package/dist/actions/verify-webhook-signature.d.cts +52 -3
  622. package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
  623. package/dist/actions/verify-webhook-signature.d.mts +52 -3
  624. package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
  625. package/dist/actions/verify-webhook-signature.mjs +1 -1
  626. package/dist/actions/verify-webhook-signature.mjs.map +1 -1
  627. package/package.json +2 -2
@@ -1,9 +1,36 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-pay-pal-product.d.ts
4
- declare const PaypalUpdatePayPalProductInput: z.ZodTypeAny;
5
- declare const PaypalUpdatePayPalProductOutput: z.ZodTypeAny;
6
- declare const paypalUpdatePayPalProduct: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaypalUpdatePayPalProductInput: z.ZodObject<{
5
+ patches: z.ZodArray<z.ZodObject<{
6
+ op: z.ZodEnum<{
7
+ replace: "replace";
8
+ add: "add";
9
+ remove: "remove";
10
+ move: "move";
11
+ copy: "copy";
12
+ test: "test";
13
+ }>;
14
+ from: z.ZodOptional<z.ZodString>;
15
+ path: z.ZodString;
16
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
17
+ }, z.core.$loose>>;
18
+ product_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const PaypalUpdatePayPalProductOutput: z.ZodObject<{
21
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
22
+ product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$loose>;
24
+ declare const paypalUpdatePayPalProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ patches: {
26
+ [x: string]: unknown;
27
+ op: "replace" | "add" | "remove" | "move" | "copy" | "test";
28
+ path: string;
29
+ from?: string | undefined;
30
+ value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
31
+ }[];
32
+ product_id: string;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
34
  //#endregion
8
35
  export { paypalUpdatePayPalProduct };
9
36
  //# sourceMappingURL=update-pay-pal-product.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-product.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAQ8B;AAAA,cAChE,+BAAA,EAAiC,CAAA,CAAE,UAGiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-pay-pal-product.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
@@ -24,13 +24,13 @@ const paypalUpdatePayPalProduct = action("PAYPAL_UPDATE_PAY_PAL_PRODUCT", {
24
24
  z.array(z.unknown()),
25
25
  z.record(z.string(), z.unknown())
26
26
  ]).optional()
27
- }).describe("A single JSON Patch operation to apply to the product.")).describe("An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
27
+ }).passthrough().describe("A single JSON Patch operation to apply to the product.")).describe("An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
28
28
  product_id: z.string().describe("The unique product ID.")
29
29
  }).describe("Request to partially update a PayPal product using JSON Patch."),
30
30
  output: z.object({
31
31
  success: z.boolean().default(true).describe("Indicates whether the product update was successful.").nullable().optional(),
32
32
  product_id: z.string().describe("The ID of the product that was updated.").nullable().optional()
33
- }).describe("Response from partially updating a PayPal product.")
33
+ }).passthrough().describe("Response from partially updating a PayPal product.")
34
34
  });
35
35
  //#endregion
36
36
  export { paypalUpdatePayPalProduct };
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-product.mjs","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalProductInput: z.ZodTypeAny = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the product (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply to the product.\")).describe(\"An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n product_id: z.string().describe(\"The unique product ID.\"),\n}).describe(\"Request to partially update a PayPal product using JSON Patch.\");\nexport const PaypalUpdatePayPalProductOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the product update was successful.\").nullable().optional(),\n product_id: z.string().describe(\"The ID of the product that was updated.\").nullable().optional(),\n}).describe(\"Response from partially updating a PayPal product.\");\n\nexport const paypalUpdatePayPalProduct = action(\"PAYPAL_UPDATE_PAY_PAL_PRODUCT\", {\n slug: \"paypal-update-pay-pal-product\",\n name: \"Update product (partial)\",\n description: \"Partially updates a PayPal product using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a product without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the product. Common use cases include updating the product name, description, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalProductInput,\n output: PaypalUpdatePayPalProductOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB0D,EAAE,OAAO;EACnE,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;GACrK,OAAO,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;IAAG,EAAE,QAAQ;IAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;IAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAC,CAAC,CAAC,CAAC,SAAS;EAC5I,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;EAC5N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV2D,EAAE,OAAO;EACpE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-pay-pal-product.mjs","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalProductInput = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the product (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the product.\")).describe(\"An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n product_id: z.string().describe(\"The unique product ID.\"),\n}).describe(\"Request to partially update a PayPal product using JSON Patch.\");\nexport const PaypalUpdatePayPalProductOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the product update was successful.\").nullable().optional(),\n product_id: z.string().describe(\"The ID of the product that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal product.\");\n\nexport const paypalUpdatePayPalProduct = action(\"PAYPAL_UPDATE_PAY_PAL_PRODUCT\", {\n slug: \"paypal-update-pay-pal-product\",\n name: \"Update product (partial)\",\n description: \"Partially updates a PayPal product using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a product without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the product. Common use cases include updating the product name, description, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalProductInput,\n output: PaypalUpdatePayPalProductOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;EACrD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;GACrK,OAAO,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;IAAG,EAAE,QAAQ;IAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;IAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAC,CAAC,CAAC,CAAC,SAAS;EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;EAC1O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV6C,EAAE,OAAO;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -21,26 +21,26 @@ const PaypalUpdatePayPalWebhookInput = zod.z.object({
21
21
  zod.z.array(zod.z.unknown()),
22
22
  zod.z.record(zod.z.string(), zod.z.unknown())
23
23
  ]).optional()
24
- }).describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
24
+ }).passthrough().describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
25
25
  webhook_id: zod.z.string().describe("The unique webhook ID.")
26
26
  }).describe("Request to update a PayPal webhook using JSON Patch.");
27
27
  const PaypalUpdatePayPalWebhook_LinkDescriptionSchema = zod.z.object({
28
- rel: zod.z.string().describe("The link relationship type."),
29
- href: zod.z.string().describe("The complete URL to the related resource."),
28
+ rel: zod.z.string().describe("The link relationship type.").nullable(),
29
+ href: zod.z.string().describe("The complete URL to the related resource.").nullable(),
30
30
  method: zod.z.string().describe("The HTTP method for the link.").nullable().optional()
31
- }).describe("HATEOAS link information.");
31
+ }).passthrough().describe("HATEOAS link information.");
32
32
  const PaypalUpdatePayPalWebhook_EventTypeSchema = zod.z.object({
33
- name: zod.z.string().describe("The name of the event type."),
33
+ name: zod.z.string().describe("The name of the event type.").nullable(),
34
34
  status: zod.z.string().describe("The status of the event type subscription.").nullable().optional(),
35
35
  description: zod.z.string().describe("A description of the event type.").nullable().optional(),
36
36
  resource_versions: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The resource versions for the event type.").nullable().optional()
37
- }).describe("An event type subscribed to by the webhook.");
37
+ }).passthrough().describe("An event type subscribed to by the webhook.");
38
38
  const PaypalUpdatePayPalWebhookOutput = zod.z.object({
39
39
  id: zod.z.string().describe("The ID of the webhook that was updated.").nullable().optional(),
40
40
  url: zod.z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
41
41
  links: zod.z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
42
42
  event_types: zod.z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
43
- }).describe("Response from updating a PayPal webhook.");
43
+ }).passthrough().describe("Response from updating a PayPal webhook.");
44
44
  const paypalUpdatePayPalWebhook = require_action.action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
45
45
  slug: "paypal-update-pay-pal-webhook",
46
46
  name: "Update Webhook",
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput: z.ZodTypeAny = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply to the webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The complete URL to the related resource.\"),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the event type.\"),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").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(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACpK,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC5N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-pay-pal-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_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 for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").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(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACpK,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC1O,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-pay-pal-webhook.d.ts
4
- declare const PaypalUpdatePayPalWebhookInput: z.ZodTypeAny;
5
- declare const PaypalUpdatePayPalWebhookOutput: z.ZodTypeAny;
6
- declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaypalUpdatePayPalWebhookInput: z.ZodObject<{
5
+ patches: z.ZodArray<z.ZodObject<{
6
+ op: z.ZodEnum<{
7
+ replace: "replace";
8
+ add: "add";
9
+ remove: "remove";
10
+ move: "move";
11
+ copy: "copy";
12
+ test: "test";
13
+ }>;
14
+ from: z.ZodOptional<z.ZodString>;
15
+ path: z.ZodString;
16
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
17
+ }, z.core.$loose>>;
18
+ webhook_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const PaypalUpdatePayPalWebhookOutput: z.ZodObject<{
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
+ rel: z.ZodNullable<z.ZodString>;
25
+ href: z.ZodNullable<z.ZodString>;
26
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>>;
28
+ event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ name: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ resource_versions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
33
+ }, z.core.$loose>>>>;
34
+ }, z.core.$loose>;
35
+ declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ patches: {
37
+ [x: string]: unknown;
38
+ op: "replace" | "add" | "remove" | "move" | "copy" | "test";
39
+ path: string;
40
+ from?: string | undefined;
41
+ value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
42
+ }[];
43
+ webhook_id: string;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { paypalUpdatePayPalWebhook };
9
47
  //# sourceMappingURL=update-pay-pal-webhook.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-webhook.d.cts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAQoB;AAAA,cAYtD,+BAAA,EAAiC,CAAA,CAAE,UAKO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-pay-pal-webhook.d.cts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
@@ -1,9 +1,47 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-pay-pal-webhook.d.ts
4
- declare const PaypalUpdatePayPalWebhookInput: z.ZodTypeAny;
5
- declare const PaypalUpdatePayPalWebhookOutput: z.ZodTypeAny;
6
- declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaypalUpdatePayPalWebhookInput: z.ZodObject<{
5
+ patches: z.ZodArray<z.ZodObject<{
6
+ op: z.ZodEnum<{
7
+ replace: "replace";
8
+ add: "add";
9
+ remove: "remove";
10
+ move: "move";
11
+ copy: "copy";
12
+ test: "test";
13
+ }>;
14
+ from: z.ZodOptional<z.ZodString>;
15
+ path: z.ZodString;
16
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
17
+ }, z.core.$loose>>;
18
+ webhook_id: z.ZodString;
19
+ }, z.core.$strip>;
20
+ declare const PaypalUpdatePayPalWebhookOutput: z.ZodObject<{
21
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
24
+ rel: z.ZodNullable<z.ZodString>;
25
+ href: z.ZodNullable<z.ZodString>;
26
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ }, z.core.$loose>>>>;
28
+ event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
+ name: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ resource_versions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
33
+ }, z.core.$loose>>>>;
34
+ }, z.core.$loose>;
35
+ declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
36
+ patches: {
37
+ [x: string]: unknown;
38
+ op: "replace" | "add" | "remove" | "move" | "copy" | "test";
39
+ path: string;
40
+ from?: string | undefined;
41
+ value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
42
+ }[];
43
+ webhook_id: string;
44
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
45
  //#endregion
8
46
  export { paypalUpdatePayPalWebhook };
9
47
  //# sourceMappingURL=update-pay-pal-webhook.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-webhook.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAQoB;AAAA,cAYtD,+BAAA,EAAiC,CAAA,CAAE,UAKO;AAAA,cAE1C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-pay-pal-webhook.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
@@ -21,20 +21,20 @@ const PaypalUpdatePayPalWebhookInput = z.object({
21
21
  z.array(z.unknown()),
22
22
  z.record(z.string(), z.unknown())
23
23
  ]).optional()
24
- }).describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
24
+ }).passthrough().describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
25
25
  webhook_id: z.string().describe("The unique webhook ID.")
26
26
  }).describe("Request to update a PayPal webhook using JSON Patch.");
27
27
  const PaypalUpdatePayPalWebhook_LinkDescriptionSchema = z.object({
28
- rel: z.string().describe("The link relationship type."),
29
- href: z.string().describe("The complete URL to the related resource."),
28
+ rel: z.string().describe("The link relationship type.").nullable(),
29
+ href: z.string().describe("The complete URL to the related resource.").nullable(),
30
30
  method: z.string().describe("The HTTP method for the link.").nullable().optional()
31
- }).describe("HATEOAS link information.");
31
+ }).passthrough().describe("HATEOAS link information.");
32
32
  const PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({
33
- name: z.string().describe("The name of the event type."),
33
+ name: z.string().describe("The name of the event type.").nullable(),
34
34
  status: z.string().describe("The status of the event type subscription.").nullable().optional(),
35
35
  description: z.string().describe("A description of the event type.").nullable().optional(),
36
36
  resource_versions: z.array(z.record(z.string(), z.unknown())).describe("The resource versions for the event type.").nullable().optional()
37
- }).describe("An event type subscribed to by the webhook.");
37
+ }).passthrough().describe("An event type subscribed to by the webhook.");
38
38
  const paypalUpdatePayPalWebhook = action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
39
39
  slug: "paypal-update-pay-pal-webhook",
40
40
  name: "Update Webhook",
@@ -45,7 +45,7 @@ const paypalUpdatePayPalWebhook = action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
45
45
  url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
46
46
  links: z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
47
47
  event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
48
- }).describe("Response from updating a PayPal webhook.")
48
+ }).passthrough().describe("Response from updating a PayPal webhook.")
49
49
  });
50
50
  //#endregion
51
51
  export { paypalUpdatePayPalWebhook };
@@ -1 +1 @@
1
- {"version":3,"file":"update-pay-pal-webhook.mjs","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput: z.ZodTypeAny = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply to the webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\"),\n href: z.string().describe(\"The complete URL to the related resource.\"),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the event type.\"),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").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(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACpK,OAAO,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC5N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,4CAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACvD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAQzD,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-pay-pal-webhook.mjs","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput = z.object({\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_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 for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").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(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACpK,OAAO,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC1O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,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,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -8,23 +8,23 @@ const PaypalUpdateTemplatesInput = zod.z.object({
8
8
  template_item_settings: zod.z.array(zod.z.object({
9
9
  field_name: zod.z.string().describe("The field name for the display preference.").optional(),
10
10
  display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
11
- }).describe("Template item headers display preference.")).describe("The template item headers display preference.").optional(),
11
+ }).passthrough().describe("Template item headers display preference.")).describe("The template item headers display preference.").optional(),
12
12
  template_details_settings: zod.z.array(zod.z.object({
13
13
  field_name: zod.z.string().describe("The field name for the display preference.").optional(),
14
14
  display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
15
- }).describe("Template settings item for details, policy, or additional settings.")).describe("The template details settings.").optional(),
15
+ }).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template details settings.").optional(),
16
16
  template_subtotal_settings: zod.z.array(zod.z.object({
17
17
  field_name: zod.z.string().describe("The field name for the display preference.").optional(),
18
18
  display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
19
- }).describe("Template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional(),
19
+ }).passthrough().describe("Template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional(),
20
20
  template_additional_settings: zod.z.array(zod.z.object({
21
21
  field_name: zod.z.string().describe("The field name for the display preference.").optional(),
22
22
  display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
23
- }).describe("Template settings item for details, policy, or additional settings.")).describe("The template additional settings.").optional(),
23
+ }).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template additional settings.").optional(),
24
24
  template_policy_and_agreement_settings: zod.z.array(zod.z.object({
25
25
  field_name: zod.z.string().describe("The field name for the display preference.").optional(),
26
26
  display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
27
- }).describe("Template settings item for details, policy, or additional settings.")).describe("The template policy and agreement settings.").optional()
27
+ }).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template policy and agreement settings.").optional()
28
28
  }).describe("The template settings.").optional(),
29
29
  template_info: zod.z.object({
30
30
  items: zod.z.array(zod.z.object({
@@ -52,7 +52,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
52
52
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").optional()
53
53
  }).describe("The currency and amount for a financial transaction.").optional(),
54
54
  unit_of_measure: zod.z.string().describe("The unit of measure of the item.").optional()
55
- }).describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
55
+ }).passthrough().describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
56
56
  amount: zod.z.object({
57
57
  value: zod.z.string().describe("The total amount value.").optional(),
58
58
  breakdown: zod.z.object({
@@ -101,7 +101,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
101
101
  url: zod.z.string().describe("The URL to access the attachment.").optional(),
102
102
  name: zod.z.string().describe("The file name of the attachment.").optional(),
103
103
  content_type: zod.z.string().describe("The content type of the attachment.").optional()
104
- }).describe("Attachment information.")).describe("The attachments for the template.").optional(),
104
+ }).passthrough().describe("Attachment information.")).describe("The attachments for the template.").optional(),
105
105
  payment_term: zod.z.object({
106
106
  due_date: zod.z.string().describe("The due date in ISO 8601 format.").optional(),
107
107
  due_days: zod.z.number().int().describe("The number of days until the payment is due.").optional(),
@@ -141,7 +141,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
141
141
  }).describe("The currency and amount for a financial transaction.").optional(),
142
142
  due_date: zod.z.string().describe("The due date in ISO 8601 format.").optional(),
143
143
  term_type: zod.z.string().describe("The term type for the due date.").optional()
144
- }).describe("Due date for partial payment.")).describe("The due dates for partial payment.").optional(),
144
+ }).passthrough().describe("Due date for partial payment.")).describe("The due dates for partial payment.").optional(),
145
145
  term_type: zod.z.string().describe("The term type for partial payment.").optional()
146
146
  }).describe("Partial payment configuration.").optional(),
147
147
  has_conditional_rule: zod.z.boolean().describe("Indicates whether the template has conditional rules.").optional(),
@@ -188,7 +188,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
188
188
  email_address: zod.z.string().describe("The email address of the shipping contact.").optional()
189
189
  }).describe("Recipient shipping information.").optional(),
190
190
  additional_info: zod.z.string().describe("Additional information for the recipient.").optional()
191
- }).describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information for the recipients.").optional(),
191
+ }).passthrough().describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information for the recipients.").optional(),
192
192
  additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC email addresses to which notifications are sent.").optional()
193
193
  }).describe("The template details including invoicer business information, invoice recipients, items, and configuration.").optional(),
194
194
  unit_of_measure: zod.z.enum([
@@ -203,40 +203,40 @@ const PaypalUpdateTemplates_LinkDescriptionSchema = zod.z.object({
203
203
  rel: zod.z.string().describe("The link relationship type.").nullable().optional(),
204
204
  href: zod.z.string().describe("The complete URL to the related resource.").nullable().optional(),
205
205
  method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
206
- }).describe("HATEOAS link information.");
207
- const PaypalUpdateTemplates_DisplayPreferenceSchema = zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").nullable().optional() }).describe("Display preference settings.");
206
+ }).passthrough().describe("HATEOAS link information.");
207
+ const PaypalUpdateTemplates_DisplayPreferenceSchema = zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").nullable().optional() }).passthrough().describe("Display preference settings.");
208
208
  const PaypalUpdateTemplates_TemplateItemSettingSchema = zod.z.object({
209
209
  field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
210
210
  display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
211
- }).describe("Template item headers display preference.");
211
+ }).passthrough().describe("Template item headers display preference.");
212
212
  const PaypalUpdateTemplates_TemplateSettingsItemSchema = zod.z.object({
213
213
  field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
214
214
  display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
215
- }).describe("Template settings item for details, policy, or additional settings.");
215
+ }).passthrough().describe("Template settings item for details, policy, or additional settings.");
216
216
  const PaypalUpdateTemplates_TemplateSubtotalSettingSchema = zod.z.object({
217
217
  field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
218
218
  display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
219
- }).describe("Template subtotal headers display preference.");
219
+ }).passthrough().describe("Template subtotal headers display preference.");
220
220
  const PaypalUpdateTemplates_TemplateSettingsSchema = zod.z.object({
221
221
  template_item_settings: zod.z.array(PaypalUpdateTemplates_TemplateItemSettingSchema).describe("The template item headers display preference.").nullable().optional(),
222
222
  template_details_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template details settings.").nullable().optional(),
223
223
  template_subtotal_settings: zod.z.array(PaypalUpdateTemplates_TemplateSubtotalSettingSchema).describe("The template subtotal headers display preference.").nullable().optional(),
224
224
  template_additional_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template additional settings.").nullable().optional(),
225
225
  template_policy_and_agreement_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template policy and agreement settings.").nullable().optional()
226
- }).describe("The template settings.");
226
+ }).passthrough().describe("The template settings.");
227
227
  const PaypalUpdateTemplates_MoneySchema = zod.z.object({
228
228
  value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for others.").nullable().optional(),
229
229
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable().optional()
230
- }).describe("The currency and amount for a financial transaction.");
230
+ }).passthrough().describe("The currency and amount for a financial transaction.");
231
231
  const PaypalUpdateTemplates_TaxAmountSchema = zod.z.object({
232
232
  name: zod.z.string().describe("The name of the tax.").nullable().optional(),
233
233
  amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
234
234
  percentage: zod.z.string().describe("The tax percentage.").nullable().optional()
235
- }).describe("Tax amount information for an invoice item.");
235
+ }).passthrough().describe("Tax amount information for an invoice item.");
236
236
  const PaypalUpdateTemplates_InvoiceItemDiscountSchema = zod.z.object({
237
237
  amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
238
238
  percentage: zod.z.string().describe("The discount percentage.").nullable().optional()
239
- }).describe("Discount information for an invoice item.");
239
+ }).passthrough().describe("Discount information for an invoice item.");
240
240
  const PaypalUpdateTemplates_InvoiceItemSchema = zod.z.object({
241
241
  tax: PaypalUpdateTemplates_TaxAmountSchema.nullable().optional(),
242
242
  name: zod.z.string().describe("The item name. Must be 1-200 characters.").nullable().optional(),
@@ -246,23 +246,23 @@ const PaypalUpdateTemplates_InvoiceItemSchema = zod.z.object({
246
246
  description: zod.z.string().describe("The item description. Must be 1-2000 characters.").nullable().optional(),
247
247
  unit_amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
248
248
  unit_of_measure: zod.z.string().describe("The unit of measure of the item.").nullable().optional()
249
- }).describe("An invoice line item.");
249
+ }).passthrough().describe("An invoice line item.");
250
250
  const PaypalUpdateTemplates_DiscountAmountSchema = zod.z.object({
251
251
  amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
252
252
  percentage: zod.z.string().describe("The discount percentage.").nullable().optional()
253
- }).describe("The discount amount information.");
253
+ }).passthrough().describe("The discount amount information.");
254
254
  const PaypalUpdateTemplates_AmountBreakdownSchema = zod.z.object({
255
255
  custom: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
256
256
  discount: PaypalUpdateTemplates_DiscountAmountSchema.nullable().optional(),
257
257
  shipping: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
258
258
  tax_total: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
259
259
  item_total: PaypalUpdateTemplates_MoneySchema.nullable().optional()
260
- }).describe("The breakdown of the amount.");
260
+ }).passthrough().describe("The breakdown of the amount.");
261
261
  const PaypalUpdateTemplates_InvoiceAmountSummarySchema = zod.z.object({
262
262
  value: zod.z.string().describe("The total amount value.").nullable().optional(),
263
263
  breakdown: PaypalUpdateTemplates_AmountBreakdownSchema.nullable().optional(),
264
264
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable().optional()
265
- }).describe("The invoice amount summary.");
265
+ }).passthrough().describe("The invoice amount summary.");
266
266
  const PaypalUpdateTemplates_TemplateMetadataSchema = zod.z.object({
267
267
  create_time: zod.z.string().describe("The template creation time in ISO 8601 format.").nullable().optional(),
268
268
  update_time: zod.z.string().describe("The template update time in ISO 8601 format.").nullable().optional(),
@@ -272,18 +272,18 @@ const PaypalUpdateTemplates_TemplateMetadataSchema = zod.z.object({
272
272
  is_customer_supplied: zod.z.boolean().describe("Indicates whether the customer supplied the template.").nullable().optional(),
273
273
  recipient_created_time: zod.z.string().describe("The recipient created time in ISO 8601 format.").nullable().optional(),
274
274
  recipient_modified_time: zod.z.string().describe("The recipient modified time in ISO 8601 format.").nullable().optional()
275
- }).describe("Template metadata.");
275
+ }).passthrough().describe("Template metadata.");
276
276
  const PaypalUpdateTemplates_AttachmentSchema = zod.z.object({
277
277
  id: zod.z.string().describe("The attachment ID.").nullable().optional(),
278
278
  url: zod.z.string().describe("The URL to access the attachment.").nullable().optional(),
279
279
  name: zod.z.string().describe("The file name of the attachment.").nullable().optional(),
280
280
  content_type: zod.z.string().describe("The content type of the attachment.").nullable().optional()
281
- }).describe("Attachment information.");
281
+ }).passthrough().describe("Attachment information.");
282
282
  const PaypalUpdateTemplates_PaymentTermSchema = zod.z.object({
283
283
  due_date: zod.z.string().describe("The due date in ISO 8601 format.").nullable().optional(),
284
284
  due_days: zod.z.number().int().describe("The number of days until the payment is due.").nullable().optional(),
285
285
  term_type: zod.z.string().describe("The term type for payment.").nullable().optional()
286
- }).describe("Payment term configuration.");
286
+ }).passthrough().describe("Payment term configuration.");
287
287
  const PaypalUpdateTemplates_TemplateDetailSchema = zod.z.object({
288
288
  memo: zod.z.string().describe("A memo for the invoice. Must be 1-1000 characters.").nullable().optional(),
289
289
  note: zod.z.string().describe("A note to the payer. Must be 1-1000 characters.").nullable().optional(),
@@ -293,16 +293,16 @@ const PaypalUpdateTemplates_TemplateDetailSchema = zod.z.object({
293
293
  payment_term: PaypalUpdateTemplates_PaymentTermSchema.nullable().optional(),
294
294
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code for the invoice.").nullable().optional(),
295
295
  terms_and_conditions: zod.z.string().describe("The terms of the invoice. Must be 1-1000 characters.").nullable().optional()
296
- }).describe("The template-related details.");
296
+ }).passthrough().describe("The template-related details.");
297
297
  const PaypalUpdateTemplates_InvoicerNameSchema = zod.z.object({
298
298
  surname: zod.z.string().describe("The surname of the invoicer.").nullable().optional(),
299
299
  full_name: zod.z.string().describe("The full name of the invoicer.").nullable().optional(),
300
300
  given_name: zod.z.string().describe("The given name of the invoicer.").nullable().optional()
301
- }).describe("Invoicer name information.");
301
+ }).passthrough().describe("Invoicer name information.");
302
302
  const PaypalUpdateTemplates_InvoicerPhoneSchema = zod.z.object({
303
303
  country_code: zod.z.string().describe("The country code for the phone number.").nullable().optional(),
304
304
  national_number: zod.z.string().describe("The national number for the phone number.").nullable().optional()
305
- }).describe("Invoicer phone information.");
305
+ }).passthrough().describe("Invoicer phone information.");
306
306
  const PaypalUpdateTemplates_InvoicerInfoSchema = zod.z.object({
307
307
  name: PaypalUpdateTemplates_InvoicerNameSchema.nullable().optional(),
308
308
  phone: PaypalUpdateTemplates_InvoicerPhoneSchema.nullable().optional(),
@@ -311,27 +311,27 @@ const PaypalUpdateTemplates_InvoicerInfoSchema = zod.z.object({
311
311
  logo_url: zod.z.string().describe("The URL to the logo image for the invoicer.").nullable().optional(),
312
312
  email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
313
313
  additional_notes: zod.z.string().describe("Additional notes for the invoicer.").nullable().optional()
314
- }).describe("The invoicer business information that appears on the invoice.");
314
+ }).passthrough().describe("The invoicer business information that appears on the invoice.");
315
315
  const PaypalUpdateTemplates_DueDateSchema = zod.z.object({
316
316
  amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
317
317
  due_date: zod.z.string().describe("The due date in ISO 8601 format.").nullable().optional(),
318
318
  term_type: zod.z.string().describe("The term type for the due date.").nullable().optional()
319
- }).describe("Due date for partial payment.");
319
+ }).passthrough().describe("Due date for partial payment.");
320
320
  const PaypalUpdateTemplates_PartialPaymentSchema = zod.z.object({
321
321
  due_dates: zod.z.array(PaypalUpdateTemplates_DueDateSchema).describe("The due dates for partial payment.").nullable().optional(),
322
322
  term_type: zod.z.string().describe("The term type for partial payment.").nullable().optional()
323
- }).describe("Partial payment configuration.");
323
+ }).passthrough().describe("Partial payment configuration.");
324
324
  const PaypalUpdateTemplates_TemplateConfigurationSchema = zod.z.object({
325
325
  allow_tip: zod.z.boolean().describe("Indicates whether the tip is allowed.").nullable().optional(),
326
326
  tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").nullable().optional(),
327
327
  partial_payment: PaypalUpdateTemplates_PartialPaymentSchema.nullable().optional(),
328
328
  has_conditional_rule: zod.z.boolean().describe("Indicates whether the template has conditional rules.").nullable().optional(),
329
329
  tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether the tax is calculated after discount.").nullable().optional()
330
- }).describe("The template configuration details.");
330
+ }).passthrough().describe("The template configuration details.");
331
331
  const PaypalUpdateTemplates_RecipientPhoneSchema = zod.z.object({
332
332
  country_code: zod.z.string().describe("The country code for the phone number.").nullable().optional(),
333
333
  national_number: zod.z.string().describe("The national number for the phone number.").nullable().optional()
334
- }).describe("Recipient phone information.");
334
+ }).passthrough().describe("Recipient phone information.");
335
335
  const PaypalUpdateTemplates_RecipientAddressSchema = zod.z.object({
336
336
  postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
337
337
  admin_area_1: zod.z.string().describe("The state or province.").nullable().optional(),
@@ -340,7 +340,7 @@ const PaypalUpdateTemplates_RecipientAddressSchema = zod.z.object({
340
340
  address_line_1: zod.z.string().describe("The first line of the address.").nullable().optional(),
341
341
  address_line_2: zod.z.string().describe("The second line of the address.").nullable().optional(),
342
342
  address_line_3: zod.z.string().describe("The third line of the address.").nullable().optional()
343
- }).describe("Recipient address information.");
343
+ }).passthrough().describe("Recipient address information.");
344
344
  const PaypalUpdateTemplates_RecipientBillingInfoSchema = zod.z.object({
345
345
  phone: PaypalUpdateTemplates_RecipientPhoneSchema.nullable().optional(),
346
346
  address: PaypalUpdateTemplates_RecipientAddressSchema.nullable().optional(),
@@ -348,7 +348,7 @@ const PaypalUpdateTemplates_RecipientBillingInfoSchema = zod.z.object({
348
348
  first_name: zod.z.string().describe("The first name of the billing contact.").nullable().optional(),
349
349
  business_name: zod.z.string().describe("The business name of the billing contact.").nullable().optional(),
350
350
  email_address: zod.z.string().describe("The email address of the billing contact.").nullable().optional()
351
- }).describe("Recipient billing information.");
351
+ }).passthrough().describe("Recipient billing information.");
352
352
  const PaypalUpdateTemplates_RecipientShippingInfoSchema = zod.z.object({
353
353
  phone: PaypalUpdateTemplates_RecipientPhoneSchema.nullable().optional(),
354
354
  address: PaypalUpdateTemplates_RecipientAddressSchema.nullable().optional(),
@@ -356,13 +356,13 @@ const PaypalUpdateTemplates_RecipientShippingInfoSchema = zod.z.object({
356
356
  first_name: zod.z.string().describe("The first name of the shipping contact.").nullable().optional(),
357
357
  business_name: zod.z.string().describe("The business name of the shipping contact.").nullable().optional(),
358
358
  email_address: zod.z.string().describe("The email address of the shipping contact.").nullable().optional()
359
- }).describe("Recipient shipping information.");
359
+ }).passthrough().describe("Recipient shipping information.");
360
360
  const PaypalUpdateTemplates_RecipientInfoSchema = zod.z.object({
361
361
  language: zod.z.string().describe("The language for the recipient.").nullable().optional(),
362
362
  billing_info: PaypalUpdateTemplates_RecipientBillingInfoSchema.nullable().optional(),
363
363
  shipping_info: PaypalUpdateTemplates_RecipientShippingInfoSchema.nullable().optional(),
364
364
  additional_info: zod.z.string().describe("Additional information for the recipient.").nullable().optional()
365
- }).describe("The billing and shipping information for the recipient.");
365
+ }).passthrough().describe("The billing and shipping information for the recipient.");
366
366
  const PaypalUpdateTemplates_TemplateInfoSchema = zod.z.object({
367
367
  items: zod.z.array(PaypalUpdateTemplates_InvoiceItemSchema).describe("An array of invoice line-item information.").nullable().optional(),
368
368
  amount: PaypalUpdateTemplates_InvoiceAmountSummarySchema.nullable().optional(),
@@ -372,7 +372,7 @@ const PaypalUpdateTemplates_TemplateInfoSchema = zod.z.object({
372
372
  configuration: PaypalUpdateTemplates_TemplateConfigurationSchema.nullable().optional(),
373
373
  primary_recipients: zod.z.array(PaypalUpdateTemplates_RecipientInfoSchema).describe("The billing and shipping information for the recipients.").nullable().optional(),
374
374
  additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC email addresses to which notifications are sent.").nullable().optional()
375
- }).describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
375
+ }).passthrough().describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
376
376
  const PaypalUpdateTemplates_UnitOfMeasureSchema = zod.z.enum([
377
377
  "QUANTITY",
378
378
  "HOURS",
@@ -389,7 +389,7 @@ const PaypalUpdateTemplatesOutput = zod.z.object({
389
389
  unit_of_measure: PaypalUpdateTemplates_UnitOfMeasureSchema.nullable().optional(),
390
390
  default_template: zod.z.boolean().describe("Indicates whether this template is the default template.").nullable().optional(),
391
391
  standard_template: zod.z.boolean().describe("Indicates whether this template is a invoicer-created custom template.").nullable().optional()
392
- }).describe("Response schema for an updated PayPal invoice template.");
392
+ }).passthrough().describe("Response schema for an updated PayPal invoice template.");
393
393
  const paypalUpdateTemplates = require_action.action("PAYPAL_UPDATE_TEMPLATES", {
394
394
  slug: "paypal-update-templates",
395
395
  name: "Update template",