@keystrokehq/paypal 0.1.2 → 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 (483) hide show
  1. package/dist/actions/activate-plan.cjs +1 -1
  2. package/dist/actions/activate-plan.cjs.map +1 -1
  3. package/dist/actions/activate-plan.d.cts +1 -1
  4. package/dist/actions/activate-plan.d.mts +1 -1
  5. package/dist/actions/activate-plan.mjs +1 -1
  6. package/dist/actions/activate-plan.mjs.map +1 -1
  7. package/dist/actions/add-batch-trackers.cjs +5 -5
  8. package/dist/actions/add-batch-trackers.cjs.map +1 -1
  9. package/dist/actions/add-batch-trackers.d.cts +8 -7
  10. package/dist/actions/add-batch-trackers.d.mts +8 -7
  11. package/dist/actions/add-batch-trackers.mjs +5 -5
  12. package/dist/actions/add-batch-trackers.mjs.map +1 -1
  13. package/dist/actions/authorize-order.cjs +16 -16
  14. package/dist/actions/authorize-order.cjs.map +1 -1
  15. package/dist/actions/authorize-order.d.cts +19 -19
  16. package/dist/actions/authorize-order.d.mts +19 -19
  17. package/dist/actions/authorize-order.mjs +16 -16
  18. package/dist/actions/authorize-order.mjs.map +1 -1
  19. package/dist/actions/cancel-invoice.cjs +3 -3
  20. package/dist/actions/cancel-invoice.cjs.map +1 -1
  21. package/dist/actions/cancel-invoice.d.cts +3 -3
  22. package/dist/actions/cancel-invoice.d.mts +3 -3
  23. package/dist/actions/cancel-invoice.mjs +3 -3
  24. package/dist/actions/cancel-invoice.mjs.map +1 -1
  25. package/dist/actions/cancel-reminders.cjs +3 -3
  26. package/dist/actions/cancel-reminders.cjs.map +1 -1
  27. package/dist/actions/cancel-reminders.d.cts +3 -3
  28. package/dist/actions/cancel-reminders.d.mts +3 -3
  29. package/dist/actions/cancel-reminders.mjs +3 -3
  30. package/dist/actions/cancel-reminders.mjs.map +1 -1
  31. package/dist/actions/capture-subscription-payment.cjs +9 -9
  32. package/dist/actions/capture-subscription-payment.cjs.map +1 -1
  33. package/dist/actions/capture-subscription-payment.d.cts +9 -9
  34. package/dist/actions/capture-subscription-payment.d.mts +9 -9
  35. package/dist/actions/capture-subscription-payment.mjs +9 -9
  36. package/dist/actions/capture-subscription-payment.mjs.map +1 -1
  37. package/dist/actions/charge-payment-method.cjs +1 -1
  38. package/dist/actions/charge-payment-method.cjs.map +1 -1
  39. package/dist/actions/charge-payment-method.d.cts +1 -1
  40. package/dist/actions/charge-payment-method.d.mts +1 -1
  41. package/dist/actions/charge-payment-method.mjs +1 -1
  42. package/dist/actions/charge-payment-method.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +22 -22
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +36 -33
  46. package/dist/actions/create-invoice.d.mts +36 -33
  47. package/dist/actions/create-invoice.mjs +22 -22
  48. package/dist/actions/create-invoice.mjs.map +1 -1
  49. package/dist/actions/create-payment.cjs +31 -31
  50. package/dist/actions/create-payment.cjs.map +1 -1
  51. package/dist/actions/create-payment.d.cts +42 -38
  52. package/dist/actions/create-payment.d.mts +42 -38
  53. package/dist/actions/create-payment.mjs +31 -31
  54. package/dist/actions/create-payment.mjs.map +1 -1
  55. package/dist/actions/create-payments-billing-plans.cjs +8 -8
  56. package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
  57. package/dist/actions/create-payments-billing-plans.d.cts +11 -9
  58. package/dist/actions/create-payments-billing-plans.d.mts +11 -9
  59. package/dist/actions/create-payments-billing-plans.mjs +8 -8
  60. package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
  61. package/dist/actions/create-plan.cjs +12 -12
  62. package/dist/actions/create-plan.cjs.map +1 -1
  63. package/dist/actions/create-plan.d.cts +14 -13
  64. package/dist/actions/create-plan.d.cts.map +1 -1
  65. package/dist/actions/create-plan.d.mts +14 -13
  66. package/dist/actions/create-plan.d.mts.map +1 -1
  67. package/dist/actions/create-plan.mjs +12 -12
  68. package/dist/actions/create-plan.mjs.map +1 -1
  69. package/dist/actions/create-product.cjs +2 -2
  70. package/dist/actions/create-product.cjs.map +1 -1
  71. package/dist/actions/create-product.d.cts +2 -2
  72. package/dist/actions/create-product.d.mts +2 -2
  73. package/dist/actions/create-product.mjs +2 -2
  74. package/dist/actions/create-product.mjs.map +1 -1
  75. package/dist/actions/create-subscription.cjs +15 -15
  76. package/dist/actions/create-subscription.cjs.map +1 -1
  77. package/dist/actions/create-subscription.d.cts +21 -20
  78. package/dist/actions/create-subscription.d.mts +21 -20
  79. package/dist/actions/create-subscription.mjs +15 -15
  80. package/dist/actions/create-subscription.mjs.map +1 -1
  81. package/dist/actions/create-template.cjs +25 -25
  82. package/dist/actions/create-template.cjs.map +1 -1
  83. package/dist/actions/create-template.d.cts +36 -30
  84. package/dist/actions/create-template.d.mts +36 -30
  85. package/dist/actions/create-template.mjs +25 -25
  86. package/dist/actions/create-template.mjs.map +1 -1
  87. package/dist/actions/create-web-profile.cjs +5 -5
  88. package/dist/actions/create-web-profile.cjs.map +1 -1
  89. package/dist/actions/create-web-profile.d.cts +5 -5
  90. package/dist/actions/create-web-profile.d.mts +5 -5
  91. package/dist/actions/create-web-profile.mjs +5 -5
  92. package/dist/actions/create-web-profile.mjs.map +1 -1
  93. package/dist/actions/create-webhook-lookup.cjs +2 -2
  94. package/dist/actions/create-webhook-lookup.cjs.map +1 -1
  95. package/dist/actions/create-webhook-lookup.d.cts +2 -2
  96. package/dist/actions/create-webhook-lookup.d.mts +2 -2
  97. package/dist/actions/create-webhook-lookup.mjs +2 -2
  98. package/dist/actions/create-webhook-lookup.mjs.map +1 -1
  99. package/dist/actions/create-webhook.cjs +4 -4
  100. package/dist/actions/create-webhook.cjs.map +1 -1
  101. package/dist/actions/create-webhook.d.cts +5 -4
  102. package/dist/actions/create-webhook.d.mts +5 -4
  103. package/dist/actions/create-webhook.mjs +4 -4
  104. package/dist/actions/create-webhook.mjs.map +1 -1
  105. package/dist/actions/deactivate-plan.cjs +1 -1
  106. package/dist/actions/deactivate-plan.cjs.map +1 -1
  107. package/dist/actions/deactivate-plan.d.cts +1 -1
  108. package/dist/actions/deactivate-plan.d.mts +1 -1
  109. package/dist/actions/deactivate-plan.mjs +1 -1
  110. package/dist/actions/deactivate-plan.mjs.map +1 -1
  111. package/dist/actions/delete-external-payment.cjs +1 -1
  112. package/dist/actions/delete-external-payment.cjs.map +1 -1
  113. package/dist/actions/delete-external-payment.d.cts +1 -1
  114. package/dist/actions/delete-external-payment.d.mts +1 -1
  115. package/dist/actions/delete-external-payment.mjs +1 -1
  116. package/dist/actions/delete-external-payment.mjs.map +1 -1
  117. package/dist/actions/delete-invoice-payment-record.cjs +1 -1
  118. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
  119. package/dist/actions/delete-invoice-payment-record.d.cts +1 -1
  120. package/dist/actions/delete-invoice-payment-record.d.mts +1 -1
  121. package/dist/actions/delete-invoice-payment-record.mjs +1 -1
  122. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
  123. package/dist/actions/delete-invoice-refund-record.cjs +1 -1
  124. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
  125. package/dist/actions/delete-invoice-refund-record.d.cts +1 -1
  126. package/dist/actions/delete-invoice-refund-record.d.mts +1 -1
  127. package/dist/actions/delete-invoice-refund-record.mjs +1 -1
  128. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
  129. package/dist/actions/delete-invoice.cjs +3 -3
  130. package/dist/actions/delete-invoice.cjs.map +1 -1
  131. package/dist/actions/delete-invoice.d.cts +3 -3
  132. package/dist/actions/delete-invoice.d.mts +3 -3
  133. package/dist/actions/delete-invoice.mjs +3 -3
  134. package/dist/actions/delete-invoice.mjs.map +1 -1
  135. package/dist/actions/delete-payment-resource.cjs +1 -1
  136. package/dist/actions/delete-payment-resource.cjs.map +1 -1
  137. package/dist/actions/delete-payment-resource.d.cts +1 -1
  138. package/dist/actions/delete-payment-resource.d.mts +1 -1
  139. package/dist/actions/delete-payment-resource.mjs +1 -1
  140. package/dist/actions/delete-payment-resource.mjs.map +1 -1
  141. package/dist/actions/delete-template.cjs +3 -3
  142. package/dist/actions/delete-template.cjs.map +1 -1
  143. package/dist/actions/delete-template.d.cts +3 -3
  144. package/dist/actions/delete-template.d.mts +3 -3
  145. package/dist/actions/delete-template.mjs +3 -3
  146. package/dist/actions/delete-template.mjs.map +1 -1
  147. package/dist/actions/delete-web-profile.cjs +1 -1
  148. package/dist/actions/delete-web-profile.cjs.map +1 -1
  149. package/dist/actions/delete-web-profile.d.cts +1 -1
  150. package/dist/actions/delete-web-profile.d.mts +1 -1
  151. package/dist/actions/delete-web-profile.mjs +1 -1
  152. package/dist/actions/delete-web-profile.mjs.map +1 -1
  153. package/dist/actions/delete-webhook.cjs +3 -3
  154. package/dist/actions/delete-webhook.cjs.map +1 -1
  155. package/dist/actions/delete-webhook.d.cts +3 -3
  156. package/dist/actions/delete-webhook.d.mts +3 -3
  157. package/dist/actions/delete-webhook.mjs +3 -3
  158. package/dist/actions/delete-webhook.mjs.map +1 -1
  159. package/dist/actions/fetch-node.cjs +5 -5
  160. package/dist/actions/fetch-node.cjs.map +1 -1
  161. package/dist/actions/fetch-node.d.cts +5 -5
  162. package/dist/actions/fetch-node.d.mts +5 -5
  163. package/dist/actions/fetch-node.mjs +5 -5
  164. package/dist/actions/fetch-node.mjs.map +1 -1
  165. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
  166. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
  167. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -3
  168. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
  169. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
  170. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
  171. package/dist/actions/find-eligible-methods.cjs +7 -7
  172. package/dist/actions/find-eligible-methods.cjs.map +1 -1
  173. package/dist/actions/find-eligible-methods.d.cts +11 -10
  174. package/dist/actions/find-eligible-methods.d.mts +11 -10
  175. package/dist/actions/find-eligible-methods.mjs +7 -7
  176. package/dist/actions/find-eligible-methods.mjs.map +1 -1
  177. package/dist/actions/generate-client-token.cjs +1 -1
  178. package/dist/actions/generate-client-token.cjs.map +1 -1
  179. package/dist/actions/generate-client-token.d.cts +1 -1
  180. package/dist/actions/generate-client-token.d.mts +1 -1
  181. package/dist/actions/generate-client-token.mjs +1 -1
  182. package/dist/actions/generate-client-token.mjs.map +1 -1
  183. package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
  184. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
  185. package/dist/actions/generate-next-invoice-number-v2.d.cts +1 -1
  186. package/dist/actions/generate-next-invoice-number-v2.d.mts +1 -1
  187. package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
  188. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
  189. package/dist/actions/generate-next-invoice-number.cjs +1 -1
  190. package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
  191. package/dist/actions/generate-next-invoice-number.d.cts +1 -1
  192. package/dist/actions/generate-next-invoice-number.d.mts +1 -1
  193. package/dist/actions/generate-next-invoice-number.mjs +1 -1
  194. package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
  195. package/dist/actions/generate-qr-code.cjs +4 -4
  196. package/dist/actions/generate-qr-code.cjs.map +1 -1
  197. package/dist/actions/generate-qr-code.d.cts +4 -4
  198. package/dist/actions/generate-qr-code.d.mts +4 -4
  199. package/dist/actions/generate-qr-code.mjs +4 -4
  200. package/dist/actions/generate-qr-code.mjs.map +1 -1
  201. package/dist/actions/get-billing-subscriptions.cjs +10 -10
  202. package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
  203. package/dist/actions/get-billing-subscriptions.d.cts +11 -11
  204. package/dist/actions/get-billing-subscriptions.d.mts +11 -11
  205. package/dist/actions/get-billing-subscriptions.mjs +10 -10
  206. package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
  207. package/dist/actions/get-invoice.cjs +24 -24
  208. package/dist/actions/get-invoice.cjs.map +1 -1
  209. package/dist/actions/get-invoice.d.cts +32 -32
  210. package/dist/actions/get-invoice.d.mts +32 -32
  211. package/dist/actions/get-invoice.mjs +24 -24
  212. package/dist/actions/get-invoice.mjs.map +1 -1
  213. package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
  214. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
  215. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +2 -2
  216. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +2 -2
  217. package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
  218. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
  219. package/dist/actions/get-invoicing-template.cjs +20 -20
  220. package/dist/actions/get-invoicing-template.cjs.map +1 -1
  221. package/dist/actions/get-invoicing-template.d.cts +29 -29
  222. package/dist/actions/get-invoicing-template.d.mts +29 -29
  223. package/dist/actions/get-invoicing-template.mjs +20 -20
  224. package/dist/actions/get-invoicing-template.mjs.map +1 -1
  225. package/dist/actions/get-order.cjs +16 -16
  226. package/dist/actions/get-order.cjs.map +1 -1
  227. package/dist/actions/get-order.d.cts +24 -24
  228. package/dist/actions/get-order.d.mts +24 -24
  229. package/dist/actions/get-order.mjs +16 -16
  230. package/dist/actions/get-order.mjs.map +1 -1
  231. package/dist/actions/get-payment.cjs +14 -14
  232. package/dist/actions/get-payment.cjs.map +1 -1
  233. package/dist/actions/get-payment.d.cts +22 -22
  234. package/dist/actions/get-payment.d.mts +22 -22
  235. package/dist/actions/get-payment.mjs +14 -14
  236. package/dist/actions/get-payment.mjs.map +1 -1
  237. package/dist/actions/get-payments-refund.cjs +3 -3
  238. package/dist/actions/get-payments-refund.cjs.map +1 -1
  239. package/dist/actions/get-payments-refund.d.cts +3 -3
  240. package/dist/actions/get-payments-refund.d.mts +3 -3
  241. package/dist/actions/get-payments-refund.mjs +3 -3
  242. package/dist/actions/get-payments-refund.mjs.map +1 -1
  243. package/dist/actions/get-plan.cjs +11 -11
  244. package/dist/actions/get-plan.cjs.map +1 -1
  245. package/dist/actions/get-plan.d.cts +11 -11
  246. package/dist/actions/get-plan.d.mts +11 -11
  247. package/dist/actions/get-plan.mjs +11 -11
  248. package/dist/actions/get-plan.mjs.map +1 -1
  249. package/dist/actions/get-product.cjs +2 -2
  250. package/dist/actions/get-product.cjs.map +1 -1
  251. package/dist/actions/get-product.d.cts +2 -2
  252. package/dist/actions/get-product.d.mts +2 -2
  253. package/dist/actions/get-product.mjs +2 -2
  254. package/dist/actions/get-product.mjs.map +1 -1
  255. package/dist/actions/get-subscription.cjs +10 -10
  256. package/dist/actions/get-subscription.cjs.map +1 -1
  257. package/dist/actions/get-subscription.d.cts +13 -13
  258. package/dist/actions/get-subscription.d.mts +13 -13
  259. package/dist/actions/get-subscription.mjs +10 -10
  260. package/dist/actions/get-subscription.mjs.map +1 -1
  261. package/dist/actions/get-user-info.cjs +3 -3
  262. package/dist/actions/get-user-info.cjs.map +1 -1
  263. package/dist/actions/get-user-info.d.cts +3 -3
  264. package/dist/actions/get-user-info.d.mts +3 -3
  265. package/dist/actions/get-user-info.mjs +3 -3
  266. package/dist/actions/get-user-info.mjs.map +1 -1
  267. package/dist/actions/get-userinfo.cjs +3 -3
  268. package/dist/actions/get-userinfo.cjs.map +1 -1
  269. package/dist/actions/get-userinfo.d.cts +3 -3
  270. package/dist/actions/get-userinfo.d.mts +3 -3
  271. package/dist/actions/get-userinfo.mjs +3 -3
  272. package/dist/actions/get-userinfo.mjs.map +1 -1
  273. package/dist/actions/get-web-profile.cjs +4 -4
  274. package/dist/actions/get-web-profile.cjs.map +1 -1
  275. package/dist/actions/get-web-profile.d.cts +4 -4
  276. package/dist/actions/get-web-profile.d.mts +4 -4
  277. package/dist/actions/get-web-profile.mjs +4 -4
  278. package/dist/actions/get-web-profile.mjs.map +1 -1
  279. package/dist/actions/get-webhook-lookup.cjs +2 -2
  280. package/dist/actions/get-webhook-lookup.cjs.map +1 -1
  281. package/dist/actions/get-webhook-lookup.d.cts +2 -2
  282. package/dist/actions/get-webhook-lookup.d.mts +2 -2
  283. package/dist/actions/get-webhook-lookup.mjs +2 -2
  284. package/dist/actions/get-webhook-lookup.mjs.map +1 -1
  285. package/dist/actions/get-webhook.cjs +4 -4
  286. package/dist/actions/get-webhook.cjs.map +1 -1
  287. package/dist/actions/get-webhook.d.cts +4 -4
  288. package/dist/actions/get-webhook.d.mts +4 -4
  289. package/dist/actions/get-webhook.mjs +4 -4
  290. package/dist/actions/get-webhook.mjs.map +1 -1
  291. package/dist/actions/list-disputes.cjs +5 -5
  292. package/dist/actions/list-disputes.cjs.map +1 -1
  293. package/dist/actions/list-disputes.d.cts +6 -6
  294. package/dist/actions/list-disputes.d.mts +6 -6
  295. package/dist/actions/list-disputes.mjs +5 -5
  296. package/dist/actions/list-disputes.mjs.map +1 -1
  297. package/dist/actions/list-invoices.cjs +15 -15
  298. package/dist/actions/list-invoices.cjs.map +1 -1
  299. package/dist/actions/list-invoices.d.cts +19 -19
  300. package/dist/actions/list-invoices.d.mts +19 -19
  301. package/dist/actions/list-invoices.mjs +15 -15
  302. package/dist/actions/list-invoices.mjs.map +1 -1
  303. package/dist/actions/list-legacy-billing-plans.cjs +7 -7
  304. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
  305. package/dist/actions/list-legacy-billing-plans.d.cts +9 -9
  306. package/dist/actions/list-legacy-billing-plans.d.mts +9 -9
  307. package/dist/actions/list-legacy-billing-plans.mjs +7 -7
  308. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
  309. package/dist/actions/list-payments.cjs +20 -20
  310. package/dist/actions/list-payments.cjs.map +1 -1
  311. package/dist/actions/list-payments.d.cts +24 -24
  312. package/dist/actions/list-payments.d.mts +24 -24
  313. package/dist/actions/list-payments.mjs +20 -20
  314. package/dist/actions/list-payments.mjs.map +1 -1
  315. package/dist/actions/list-plans.cjs +8 -8
  316. package/dist/actions/list-plans.cjs.map +1 -1
  317. package/dist/actions/list-plans.d.cts +9 -9
  318. package/dist/actions/list-plans.d.mts +9 -9
  319. package/dist/actions/list-plans.mjs +8 -8
  320. package/dist/actions/list-plans.mjs.map +1 -1
  321. package/dist/actions/list-products.cjs +3 -3
  322. package/dist/actions/list-products.cjs.map +1 -1
  323. package/dist/actions/list-products.d.cts +4 -4
  324. package/dist/actions/list-products.d.mts +4 -4
  325. package/dist/actions/list-products.mjs +3 -3
  326. package/dist/actions/list-products.mjs.map +1 -1
  327. package/dist/actions/list-templates.cjs +8 -8
  328. package/dist/actions/list-templates.cjs.map +1 -1
  329. package/dist/actions/list-templates.d.cts +9 -9
  330. package/dist/actions/list-templates.d.mts +9 -9
  331. package/dist/actions/list-templates.mjs +8 -8
  332. package/dist/actions/list-templates.mjs.map +1 -1
  333. package/dist/actions/list-web-profiles.cjs +6 -6
  334. package/dist/actions/list-web-profiles.cjs.map +1 -1
  335. package/dist/actions/list-web-profiles.d.cts +6 -6
  336. package/dist/actions/list-web-profiles.d.mts +6 -6
  337. package/dist/actions/list-web-profiles.mjs +6 -6
  338. package/dist/actions/list-web-profiles.mjs.map +1 -1
  339. package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
  340. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
  341. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -3
  342. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
  343. package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
  344. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
  345. package/dist/actions/list-webhook-event-types.cjs +3 -3
  346. package/dist/actions/list-webhook-event-types.cjs.map +1 -1
  347. package/dist/actions/list-webhook-event-types.d.cts +3 -3
  348. package/dist/actions/list-webhook-event-types.d.mts +3 -3
  349. package/dist/actions/list-webhook-event-types.mjs +3 -3
  350. package/dist/actions/list-webhook-event-types.mjs.map +1 -1
  351. package/dist/actions/list-webhook-lookups.cjs +3 -3
  352. package/dist/actions/list-webhook-lookups.cjs.map +1 -1
  353. package/dist/actions/list-webhook-lookups.d.cts +3 -3
  354. package/dist/actions/list-webhook-lookups.d.mts +3 -3
  355. package/dist/actions/list-webhook-lookups.mjs +3 -3
  356. package/dist/actions/list-webhook-lookups.mjs.map +1 -1
  357. package/dist/actions/list-webhooks.cjs +2 -2
  358. package/dist/actions/list-webhooks.cjs.map +1 -1
  359. package/dist/actions/list-webhooks.d.cts +2 -2
  360. package/dist/actions/list-webhooks.d.mts +2 -2
  361. package/dist/actions/list-webhooks.mjs +2 -2
  362. package/dist/actions/list-webhooks.mjs.map +1 -1
  363. package/dist/actions/patch-orders.cjs +2 -2
  364. package/dist/actions/patch-orders.cjs.map +1 -1
  365. package/dist/actions/patch-orders.d.cts +3 -2
  366. package/dist/actions/patch-orders.d.cts.map +1 -1
  367. package/dist/actions/patch-orders.d.mts +3 -2
  368. package/dist/actions/patch-orders.d.mts.map +1 -1
  369. package/dist/actions/patch-orders.mjs +2 -2
  370. package/dist/actions/patch-orders.mjs.map +1 -1
  371. package/dist/actions/patch-plan.cjs +2 -2
  372. package/dist/actions/patch-plan.cjs.map +1 -1
  373. package/dist/actions/patch-plan.d.cts +3 -2
  374. package/dist/actions/patch-plan.d.mts +3 -2
  375. package/dist/actions/patch-plan.mjs +2 -2
  376. package/dist/actions/patch-plan.mjs.map +1 -1
  377. package/dist/actions/patch-subscription.cjs +3 -3
  378. package/dist/actions/patch-subscription.cjs.map +1 -1
  379. package/dist/actions/patch-subscription.d.cts +4 -3
  380. package/dist/actions/patch-subscription.d.cts.map +1 -1
  381. package/dist/actions/patch-subscription.d.mts +4 -3
  382. package/dist/actions/patch-subscription.d.mts.map +1 -1
  383. package/dist/actions/patch-subscription.mjs +3 -3
  384. package/dist/actions/patch-subscription.mjs.map +1 -1
  385. package/dist/actions/patch-web-profile.cjs +2 -2
  386. package/dist/actions/patch-web-profile.cjs.map +1 -1
  387. package/dist/actions/patch-web-profile.d.cts +3 -2
  388. package/dist/actions/patch-web-profile.d.cts.map +1 -1
  389. package/dist/actions/patch-web-profile.d.mts +3 -2
  390. package/dist/actions/patch-web-profile.d.mts.map +1 -1
  391. package/dist/actions/patch-web-profile.mjs +2 -2
  392. package/dist/actions/patch-web-profile.mjs.map +1 -1
  393. package/dist/actions/ping-braintree.cjs +2 -2
  394. package/dist/actions/ping-braintree.cjs.map +1 -1
  395. package/dist/actions/ping-braintree.d.cts +2 -2
  396. package/dist/actions/ping-braintree.d.mts +2 -2
  397. package/dist/actions/ping-braintree.mjs +2 -2
  398. package/dist/actions/ping-braintree.mjs.map +1 -1
  399. package/dist/actions/query-braintree-report.cjs +4 -4
  400. package/dist/actions/query-braintree-report.cjs.map +1 -1
  401. package/dist/actions/query-braintree-report.d.cts +4 -4
  402. package/dist/actions/query-braintree-report.d.mts +4 -4
  403. package/dist/actions/query-braintree-report.mjs +4 -4
  404. package/dist/actions/query-braintree-report.mjs.map +1 -1
  405. package/dist/actions/retrieve-payment-resource.cjs +11 -11
  406. package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
  407. package/dist/actions/retrieve-payment-resource.d.cts +12 -12
  408. package/dist/actions/retrieve-payment-resource.d.mts +12 -12
  409. package/dist/actions/retrieve-payment-resource.mjs +11 -11
  410. package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
  411. package/dist/actions/search-invoices.cjs +11 -11
  412. package/dist/actions/search-invoices.cjs.map +1 -1
  413. package/dist/actions/search-invoices.d.cts +15 -15
  414. package/dist/actions/search-invoices.d.mts +15 -15
  415. package/dist/actions/search-invoices.mjs +11 -11
  416. package/dist/actions/search-invoices.mjs.map +1 -1
  417. package/dist/actions/send-invoice.cjs +2 -2
  418. package/dist/actions/send-invoice.cjs.map +1 -1
  419. package/dist/actions/send-invoice.d.cts +2 -2
  420. package/dist/actions/send-invoice.d.mts +2 -2
  421. package/dist/actions/send-invoice.mjs +2 -2
  422. package/dist/actions/send-invoice.mjs.map +1 -1
  423. package/dist/actions/simulate-webhook-event.cjs +4 -4
  424. package/dist/actions/simulate-webhook-event.cjs.map +1 -1
  425. package/dist/actions/simulate-webhook-event.d.cts +4 -4
  426. package/dist/actions/simulate-webhook-event.d.mts +4 -4
  427. package/dist/actions/simulate-webhook-event.mjs +4 -4
  428. package/dist/actions/simulate-webhook-event.mjs.map +1 -1
  429. package/dist/actions/update-dispute.cjs +3 -3
  430. package/dist/actions/update-dispute.cjs.map +1 -1
  431. package/dist/actions/update-dispute.d.cts +4 -3
  432. package/dist/actions/update-dispute.d.mts +4 -3
  433. package/dist/actions/update-dispute.mjs +3 -3
  434. package/dist/actions/update-dispute.mjs.map +1 -1
  435. package/dist/actions/update-invoice.cjs +34 -34
  436. package/dist/actions/update-invoice.cjs.map +1 -1
  437. package/dist/actions/update-invoice.d.cts +54 -48
  438. package/dist/actions/update-invoice.d.cts.map +1 -1
  439. package/dist/actions/update-invoice.d.mts +54 -48
  440. package/dist/actions/update-invoice.d.mts.map +1 -1
  441. package/dist/actions/update-invoice.mjs +34 -34
  442. package/dist/actions/update-invoice.mjs.map +1 -1
  443. package/dist/actions/update-pay-pal-product.cjs +2 -2
  444. package/dist/actions/update-pay-pal-product.cjs.map +1 -1
  445. package/dist/actions/update-pay-pal-product.d.cts +3 -2
  446. package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
  447. package/dist/actions/update-pay-pal-product.d.mts +3 -2
  448. package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
  449. package/dist/actions/update-pay-pal-product.mjs +2 -2
  450. package/dist/actions/update-pay-pal-product.mjs.map +1 -1
  451. package/dist/actions/update-pay-pal-webhook.cjs +4 -4
  452. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
  453. package/dist/actions/update-pay-pal-webhook.d.cts +5 -4
  454. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
  455. package/dist/actions/update-pay-pal-webhook.d.mts +5 -4
  456. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
  457. package/dist/actions/update-pay-pal-webhook.mjs +4 -4
  458. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
  459. package/dist/actions/update-templates.cjs +39 -39
  460. package/dist/actions/update-templates.cjs.map +1 -1
  461. package/dist/actions/update-templates.d.cts +65 -56
  462. package/dist/actions/update-templates.d.mts +65 -56
  463. package/dist/actions/update-templates.mjs +39 -39
  464. package/dist/actions/update-templates.mjs.map +1 -1
  465. package/dist/actions/update-web-profile.cjs +2 -2
  466. package/dist/actions/update-web-profile.cjs.map +1 -1
  467. package/dist/actions/update-web-profile.d.cts +2 -2
  468. package/dist/actions/update-web-profile.d.mts +2 -2
  469. package/dist/actions/update-web-profile.mjs +2 -2
  470. package/dist/actions/update-web-profile.mjs.map +1 -1
  471. package/dist/actions/verify-payment-method.cjs +2 -2
  472. package/dist/actions/verify-payment-method.cjs.map +1 -1
  473. package/dist/actions/verify-payment-method.d.cts +2 -2
  474. package/dist/actions/verify-payment-method.d.mts +2 -2
  475. package/dist/actions/verify-payment-method.mjs +2 -2
  476. package/dist/actions/verify-payment-method.mjs.map +1 -1
  477. package/dist/actions/verify-webhook-signature.cjs +1 -1
  478. package/dist/actions/verify-webhook-signature.cjs.map +1 -1
  479. package/dist/actions/verify-webhook-signature.d.cts +1 -1
  480. package/dist/actions/verify-webhook-signature.d.mts +1 -1
  481. package/dist/actions/verify-webhook-signature.mjs +1 -1
  482. package/dist/actions/verify-webhook-signature.mjs.map +1 -1
  483. package/package.json +1 -1
@@ -14,7 +14,7 @@ declare const PaypalSimulateWebhookEventOutput: z.ZodObject<{
14
14
  rel: z.ZodNullable<z.ZodString>;
15
15
  href: z.ZodNullable<z.ZodString>;
16
16
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>>;
17
+ }, z.core.$loose>>>>;
18
18
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22,11 +22,11 @@ declare const PaypalSimulateWebhookEventOutput: z.ZodObject<{
22
22
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- resource: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
29
+ resource: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
30
30
  event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  webhook_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -36,7 +36,7 @@ declare const PaypalSimulateWebhookEventOutput: z.ZodObject<{
36
36
  information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  resource_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  transmission_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>;
39
+ }, z.core.$loose>;
40
40
  declare const paypalSimulateWebhookEvent: import("@keystrokehq/action").WorkflowActionDefinition<{
41
41
  event_type: string;
42
42
  url?: string | undefined;
@@ -11,14 +11,14 @@ const PaypalSimulateWebhookEvent_LinkDescriptionSchema = z.object({
11
11
  rel: z.string().describe("The relationship between the resource and the link.").nullable(),
12
12
  href: z.string().describe("The URI of the related resource.").nullable(),
13
13
  method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
14
- }).describe("HATEOAS link information.");
14
+ }).passthrough().describe("HATEOAS link information.");
15
15
  const PaypalSimulateWebhookEvent_ErrorDetailSchema = z.object({
16
16
  field: z.string().describe("The field that caused the error.").nullable().optional(),
17
17
  issue: z.string().describe("The issue description.").nullable(),
18
18
  value: z.string().describe("The value that caused the error.").nullable().optional(),
19
19
  location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
20
20
  description: z.string().describe("The error description.").nullable().optional()
21
- }).describe("Error detail information.");
21
+ }).passthrough().describe("Error detail information.");
22
22
  const paypalSimulateWebhookEvent = action("PAYPAL_SIMULATE_WEBHOOK_EVENT", {
23
23
  slug: "paypal-simulate-webhook-event",
24
24
  name: "Simulate Webhook Event",
@@ -33,7 +33,7 @@ const paypalSimulateWebhookEvent = action("PAYPAL_SIMULATE_WEBHOOK_EVENT", {
33
33
  message: z.string().describe("The message that describes the error.").nullable().optional(),
34
34
  summary: z.string().describe("A summary of the notification.").nullable().optional(),
35
35
  debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
36
- resource: z.object({}).describe("The resource object associated with the notification.").nullable().optional(),
36
+ resource: z.record(z.string(), z.unknown()).describe("The resource object associated with the notification.").nullable().optional(),
37
37
  event_type: z.string().describe("The event type of the simulated notification.").nullable().optional(),
38
38
  webhook_id: z.string().describe("The webhook ID that received the simulated notification.").nullable().optional(),
39
39
  create_time: z.string().describe("The creation time of the notification in ISO 8601 format.").nullable().optional(),
@@ -43,7 +43,7 @@ const paypalSimulateWebhookEvent = action("PAYPAL_SIMULATE_WEBHOOK_EVENT", {
43
43
  information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional(),
44
44
  resource_version: z.string().describe("The resource version of the simulated notification.").nullable().optional(),
45
45
  transmission_time: z.string().describe("The time of the webhook notification transmission in ISO 8601 format.").nullable().optional()
46
- }).describe("Response model for simulating a webhook event.")
46
+ }).passthrough().describe("Response model for simulating a webhook event.")
47
47
  });
48
48
  //#endregion
49
49
  export { paypalSimulateWebhookEvent };
@@ -1 +1 @@
1
- {"version":3,"file":"simulate-webhook-event.mjs","names":[],"sources":["../../src/actions/simulate-webhook-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalSimulateWebhookEventInput = z.object({\n url: z.string().describe(\"The URL for the webhook endpoint. If omitted, the webhook ID is required.\").optional(),\n event_type: z.string().describe(\"The event name. Specify one of the subscribed events. For each request, provide only one event.\"),\n webhook_id: z.string().describe(\"The ID of the webhook. If omitted, the URL is required.\").optional(),\n resource_version: z.string().describe(\"The identifier for event type (e.g., 1.0, 2.0).\").optional(),\n}).describe(\"Request model for simulating a webhook event.\");\nconst PaypalSimulateWebhookEvent_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalSimulateWebhookEvent_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalSimulateWebhookEventOutput = z.object({\n id: z.string().describe(\"The ID of the simulated event notification.\").nullable().optional(),\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalSimulateWebhookEvent_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n status: z.string().describe(\"The status of the simulated notification.\").nullable().optional(),\n details: z.array(PaypalSimulateWebhookEvent_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n summary: z.string().describe(\"A summary of the notification.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n resource: z.object({}).describe(\"The resource object associated with the notification.\").nullable().optional(),\n event_type: z.string().describe(\"The event type of the simulated notification.\").nullable().optional(),\n webhook_id: z.string().describe(\"The webhook ID that received the simulated notification.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time of the notification in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time of the notification in ISO 8601 format.\").nullable().optional(),\n resource_type: z.string().describe(\"The resource type of the simulated notification.\").nullable().optional(),\n transmission_id: z.string().describe(\"The unique identifier for the webhook notification transmission.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n resource_version: z.string().describe(\"The resource version of the simulated notification.\").nullable().optional(),\n transmission_time: z.string().describe(\"The time of the webhook notification transmission in ISO 8601 format.\").nullable().optional(),\n}).describe(\"Response model for simulating a webhook event.\");\n\nexport const paypalSimulateWebhookEvent = action(\"PAYPAL_SIMULATE_WEBHOOK_EVENT\", {\n slug: \"paypal-simulate-webhook-event\",\n name: \"Simulate Webhook Event\",\n description: \"Simulates a webhook event to test your webhook integration. Use this action when you need to verify that your webhook endpoint is correctly configured and receiving events from PayPal. This is particularly useful during development and testing to ensure webhook handlers process events correctly without requiring real transaction data. Note: Either `url` or `webhook_id` must be provided in the request.\",\n input: PaypalSimulateWebhookEventInput,\n output: PaypalSimulateWebhookEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,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}
1
+ {"version":3,"file":"simulate-webhook-event.mjs","names":[],"sources":["../../src/actions/simulate-webhook-event.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalSimulateWebhookEventInput = z.object({\n url: z.string().describe(\"The URL for the webhook endpoint. If omitted, the webhook ID is required.\").optional(),\n event_type: z.string().describe(\"The event name. Specify one of the subscribed events. For each request, provide only one event.\"),\n webhook_id: z.string().describe(\"The ID of the webhook. If omitted, the URL is required.\").optional(),\n resource_version: z.string().describe(\"The identifier for event type (e.g., 1.0, 2.0).\").optional(),\n}).describe(\"Request model for simulating a webhook event.\");\nconst PaypalSimulateWebhookEvent_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalSimulateWebhookEvent_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nexport const PaypalSimulateWebhookEventOutput = z.object({\n id: z.string().describe(\"The ID of the simulated event notification.\").nullable().optional(),\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalSimulateWebhookEvent_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n status: z.string().describe(\"The status of the simulated notification.\").nullable().optional(),\n details: z.array(PaypalSimulateWebhookEvent_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n summary: z.string().describe(\"A summary of the notification.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n resource: z.record(z.string(), z.unknown()).describe(\"The resource object associated with the notification.\").nullable().optional(),\n event_type: z.string().describe(\"The event type of the simulated notification.\").nullable().optional(),\n webhook_id: z.string().describe(\"The webhook ID that received the simulated notification.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time of the notification in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time of the notification in ISO 8601 format.\").nullable().optional(),\n resource_type: z.string().describe(\"The resource type of the simulated notification.\").nullable().optional(),\n transmission_id: z.string().describe(\"The unique identifier for the webhook notification transmission.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n resource_version: z.string().describe(\"The resource version of the simulated notification.\").nullable().optional(),\n transmission_time: z.string().describe(\"The time of the webhook notification transmission in ISO 8601 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model for simulating a webhook event.\");\n\nexport const paypalSimulateWebhookEvent = action(\"PAYPAL_SIMULATE_WEBHOOK_EVENT\", {\n slug: \"paypal-simulate-webhook-event\",\n name: \"Simulate Webhook Event\",\n description: \"Simulates a webhook event to test your webhook integration. Use this action when you need to verify that your webhook endpoint is correctly configured and receiving events from PayPal. This is particularly useful during development and testing to ensure webhook handlers process events correctly without requiring real transaction data. Note: Either `url` or `webhook_id` must be provided in the request.\",\n input: PaypalSimulateWebhookEventInput,\n output: PaypalSimulateWebhookEventOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CAC/G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACpG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAA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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const PaypalUpdateDisputeInput = zod.z.object({
15
15
  from: zod.z.string().describe("The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.").optional(),
16
16
  path: zod.z.string().describe("The JSON Pointer to the target location in the document. Required for all operations except 'test'.").optional(),
17
17
  value: zod.z.unknown().describe("The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.").optional()
18
- }).describe("A single JSON Patch operation to apply partial updates to a dispute.")).describe("Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.")
18
+ }).passthrough().describe("A single JSON Patch operation to apply partial updates to a dispute.")).describe("Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.")
19
19
  }).describe("Request to update a PayPal dispute using JSON Patch operations.");
20
20
  const PaypalUpdateDispute_DisputeErrorDetailSchema = zod.z.object({
21
21
  field: zod.z.string().describe("Field that caused the error").nullable().optional(),
@@ -23,7 +23,7 @@ const PaypalUpdateDispute_DisputeErrorDetailSchema = zod.z.object({
23
23
  value: zod.z.string().describe("Invalid value provided").nullable().optional(),
24
24
  location: zod.z.string().describe("Location of the error").nullable().optional(),
25
25
  description: zod.z.string().describe("Error description").nullable().optional()
26
- }).describe("Error detail structure for dispute error responses.");
26
+ }).passthrough().describe("Error detail structure for dispute error responses.");
27
27
  const PaypalUpdateDisputeOutput = zod.z.object({
28
28
  name: zod.z.string().describe("Error name if the operation failed").nullable().optional(),
29
29
  details: zod.z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe("Error details if the operation failed").nullable().optional(),
@@ -31,7 +31,7 @@ const PaypalUpdateDisputeOutput = zod.z.object({
31
31
  success: zod.z.boolean().describe("Whether the patch operation succeeded").nullable(),
32
32
  debug_id: zod.z.string().describe("PayPal debug ID for troubleshooting").nullable().optional(),
33
33
  information_link: zod.z.string().describe("Information link for detailed error documentation").nullable().optional()
34
- }).describe("Response model for dispute patch operations.\n\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.");
34
+ }).passthrough().describe("Response model for dispute patch operations.\n\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.");
35
35
  const paypalUpdateDispute = require_action.action("PAYPAL_UPDATE_DISPUTE", {
36
36
  slug: "paypal-update-dispute",
37
37
  name: "Update Dispute",
@@ -1 +1 @@
1
- {"version":3,"file":"update-dispute.cjs","names":["z","action"],"sources":["../../src/actions/update-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateDisputeInput = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.unknown().describe(\"The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.\").optional(),\n}).describe(\"A single JSON Patch operation to apply partial updates to a dispute.\")).describe(\"Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal dispute using JSON Patch operations.\");\nconst PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n value: z.string().describe(\"Invalid value provided\").nullable().optional(),\n location: z.string().describe(\"Location of the error\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).describe(\"Error detail structure for dispute error responses.\");\nexport const PaypalUpdateDisputeOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n information_link: z.string().describe(\"Information link for detailed error documentation\").nullable().optional(),\n}).describe(\"Response model for dispute patch operations.\\n\\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalUpdateDispute = action(\"PAYPAL_UPDATE_DISPUTE\", {\n slug: \"paypal-update-dispute\",\n name: \"Update Dispute\",\n description: \"Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.\",\n input: PaypalUpdateDisputeInput,\n output: PaypalUpdateDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAA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AC,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,yLAAyL;AAErM,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-dispute.cjs","names":["z","action"],"sources":["../../src/actions/update-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateDisputeInput = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.unknown().describe(\"The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply partial updates to a dispute.\")).describe(\"Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal dispute using JSON Patch operations.\");\nconst PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n value: z.string().describe(\"Invalid value provided\").nullable().optional(),\n location: z.string().describe(\"Location of the error\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).passthrough().describe(\"Error detail structure for dispute error responses.\");\nexport const PaypalUpdateDisputeOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n information_link: z.string().describe(\"Information link for detailed error documentation\").nullable().optional(),\n}).passthrough().describe(\"Response model for dispute patch operations.\\n\\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalUpdateDispute = action(\"PAYPAL_UPDATE_DISPUTE\", {\n slug: \"paypal-update-dispute\",\n name: \"Update Dispute\",\n description: \"Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.\",\n input: PaypalUpdateDisputeInput,\n output: PaypalUpdateDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC1I,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAClN,CAAC,CAAC,CAAC,YAAY,C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AAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yLAAyL;AAEnN,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const PaypalUpdateDisputeInput: z.ZodObject<{
15
15
  from: z.ZodOptional<z.ZodString>;
16
16
  path: z.ZodOptional<z.ZodString>;
17
17
  value: z.ZodOptional<z.ZodUnknown>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const PaypalUpdateDisputeOutput: z.ZodObject<{
21
21
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,15 +25,16 @@ declare const PaypalUpdateDisputeOutput: z.ZodObject<{
25
25
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  message: z.ZodNullable<z.ZodString>;
30
30
  success: z.ZodNullable<z.ZodBoolean>;
31
31
  debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const paypalUpdateDispute: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  dispute_id: string;
36
36
  operations: {
37
+ [x: string]: unknown;
37
38
  op: "replace" | "add" | "remove" | "move" | "copy" | "test";
38
39
  from?: string | undefined;
39
40
  path?: string | undefined;
@@ -15,7 +15,7 @@ declare const PaypalUpdateDisputeInput: z.ZodObject<{
15
15
  from: z.ZodOptional<z.ZodString>;
16
16
  path: z.ZodOptional<z.ZodString>;
17
17
  value: z.ZodOptional<z.ZodUnknown>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const PaypalUpdateDisputeOutput: z.ZodObject<{
21
21
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -25,15 +25,16 @@ declare const PaypalUpdateDisputeOutput: z.ZodObject<{
25
25
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- }, z.core.$strip>>>>;
28
+ }, z.core.$loose>>>>;
29
29
  message: z.ZodNullable<z.ZodString>;
30
30
  success: z.ZodNullable<z.ZodBoolean>;
31
31
  debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const paypalUpdateDispute: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  dispute_id: string;
36
36
  operations: {
37
+ [x: string]: unknown;
37
38
  op: "replace" | "add" | "remove" | "move" | "copy" | "test";
38
39
  from?: string | undefined;
39
40
  path?: string | undefined;
@@ -15,7 +15,7 @@ const PaypalUpdateDisputeInput = z.object({
15
15
  from: z.string().describe("The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.").optional(),
16
16
  path: z.string().describe("The JSON Pointer to the target location in the document. Required for all operations except 'test'.").optional(),
17
17
  value: z.unknown().describe("The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.").optional()
18
- }).describe("A single JSON Patch operation to apply partial updates to a dispute.")).describe("Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.")
18
+ }).passthrough().describe("A single JSON Patch operation to apply partial updates to a dispute.")).describe("Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.")
19
19
  }).describe("Request to update a PayPal dispute using JSON Patch operations.");
20
20
  const PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({
21
21
  field: z.string().describe("Field that caused the error").nullable().optional(),
@@ -23,7 +23,7 @@ const PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({
23
23
  value: z.string().describe("Invalid value provided").nullable().optional(),
24
24
  location: z.string().describe("Location of the error").nullable().optional(),
25
25
  description: z.string().describe("Error description").nullable().optional()
26
- }).describe("Error detail structure for dispute error responses.");
26
+ }).passthrough().describe("Error detail structure for dispute error responses.");
27
27
  const paypalUpdateDispute = action("PAYPAL_UPDATE_DISPUTE", {
28
28
  slug: "paypal-update-dispute",
29
29
  name: "Update Dispute",
@@ -36,7 +36,7 @@ const paypalUpdateDispute = action("PAYPAL_UPDATE_DISPUTE", {
36
36
  success: z.boolean().describe("Whether the patch operation succeeded").nullable(),
37
37
  debug_id: z.string().describe("PayPal debug ID for troubleshooting").nullable().optional(),
38
38
  information_link: z.string().describe("Information link for detailed error documentation").nullable().optional()
39
- }).describe("Response model for dispute patch operations.\n\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.")
39
+ }).passthrough().describe("Response model for dispute patch operations.\n\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.")
40
40
  });
41
41
  //#endregion
42
42
  export { paypalUpdateDispute };
@@ -1 +1 @@
1
- {"version":3,"file":"update-dispute.mjs","names":[],"sources":["../../src/actions/update-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateDisputeInput = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.unknown().describe(\"The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.\").optional(),\n}).describe(\"A single JSON Patch operation to apply partial updates to a dispute.\")).describe(\"Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal dispute using JSON Patch operations.\");\nconst PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n value: z.string().describe(\"Invalid value provided\").nullable().optional(),\n location: z.string().describe(\"Location of the error\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).describe(\"Error detail structure for dispute error responses.\");\nexport const PaypalUpdateDisputeOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n information_link: z.string().describe(\"Information link for detailed error documentation\").nullable().optional(),\n}).describe(\"Response model for dispute patch operations.\\n\\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalUpdateDispute = action(\"PAYPAL_UPDATE_DISPUTE\", {\n slug: \"paypal-update-dispute\",\n name: \"Update Dispute\",\n description: \"Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.\",\n input: PaypalUpdateDisputeInput,\n output: PaypalUpdateDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa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;EACpF,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,yLAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-dispute.mjs","names":[],"sources":["../../src/actions/update-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateDisputeInput = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.unknown().describe(\"The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply partial updates to a dispute.\")).describe(\"Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal dispute using JSON Patch operations.\");\nconst PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n value: z.string().describe(\"Invalid value provided\").nullable().optional(),\n location: z.string().describe(\"Location of the error\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).passthrough().describe(\"Error detail structure for dispute error responses.\");\nexport const PaypalUpdateDisputeOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n information_link: z.string().describe(\"Information link for detailed error documentation\").nullable().optional(),\n}).passthrough().describe(\"Response model for dispute patch operations.\\n\\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalUpdateDispute = action(\"PAYPAL_UPDATE_DISPUTE\", {\n slug: \"paypal-update-dispute\",\n name: \"Update Dispute\",\n description: \"Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.\",\n input: PaypalUpdateDisputeInput,\n output: PaypalUpdateDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,C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AAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yLAOhB;AACV,CAAC"}
@@ -29,7 +29,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
29
29
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
30
30
  }).describe("The unit amount of the item."),
31
31
  unit_of_measure: zod.z.string().describe("The unit of measure of the item.").optional()
32
- }).describe("A single invoice line item.")).describe("An array of invoice line item information. The maximum items for an invoice is 100.").optional(),
32
+ }).passthrough().describe("A single invoice line item.")).describe("An array of invoice line item information. The maximum items for an invoice is 100.").optional(),
33
33
  amount: zod.z.object({
34
34
  value: zod.z.string().describe("The value of the amount."),
35
35
  breakdown: zod.z.object({
@@ -72,7 +72,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
72
72
  id: zod.z.string().describe("The ID of the attachment.").optional(),
73
73
  url: zod.z.string().describe("The URL of the attachment.").optional(),
74
74
  name: zod.z.string().describe("The name of the attachment.").optional()
75
- }).describe("An attachment for the invoice.")).describe("An array of attachments. The array is empty if no attachments are included.").optional(),
75
+ }).passthrough().describe("An attachment for the invoice.")).describe("An array of attachments. The array is empty if no attachments are included.").optional(),
76
76
  invoice_date: zod.z.string().describe("The date when the invoice was enabled. The date format is YYYY-MM-DD, such as 2018-12-15.").optional(),
77
77
  payment_term: zod.z.object({
78
78
  due_date: zod.z.string().describe("The due date. The date format is YYYY-MM-DD.").optional(),
@@ -109,7 +109,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
109
109
  phones: zod.z.array(zod.z.object({
110
110
  country_code: zod.z.string().describe("The country code.").optional(),
111
111
  national_number: zod.z.string().describe("The national number.").optional()
112
- }).describe("Phone number details.")).describe("The phone numbers.").optional(),
112
+ }).passthrough().describe("Phone number details.")).describe("The phone numbers.").optional(),
113
113
  tax_id: zod.z.string().describe("The Tax ID.").optional(),
114
114
  address: zod.z.object({
115
115
  postal_code: zod.z.string().describe("The postal code.").optional(),
@@ -133,7 +133,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
133
133
  allow_tip: zod.z.boolean().describe("Indicates whether the customer can add a tip.").optional(),
134
134
  template_id: zod.z.string().describe("The template ID.").optional(),
135
135
  tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").optional(),
136
- partial_payment: zod.z.object({}).describe("The partial payment details.").optional(),
136
+ partial_payment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The partial payment details.").optional(),
137
137
  has_conditional_rule: zod.z.boolean().describe("Indicates whether there are conditional rules.").optional(),
138
138
  tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether tax is calculated after discount.").optional()
139
139
  }).describe("The invoice configuration.").optional(),
@@ -144,7 +144,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
144
144
  phones: zod.z.array(zod.z.object({
145
145
  country_code: zod.z.string().describe("The country code.").optional(),
146
146
  national_number: zod.z.string().describe("The national number.").optional()
147
- }).describe("Phone number details.")).describe("The phone numbers of the billing contact.").optional(),
147
+ }).passthrough().describe("Phone number details.")).describe("The phone numbers of the billing contact.").optional(),
148
148
  address: zod.z.object({
149
149
  postal_code: zod.z.string().describe("The postal code.").optional(),
150
150
  admin_area_1: zod.z.string().describe("The state name or code.").optional(),
@@ -163,7 +163,7 @@ const PaypalUpdateInvoiceInput = zod.z.object({
163
163
  phones: zod.z.array(zod.z.object({
164
164
  country_code: zod.z.string().describe("The country code.").optional(),
165
165
  national_number: zod.z.string().describe("The national number.").optional()
166
- }).describe("Phone number details.")).describe("The phone numbers of the shipping contact.").optional(),
166
+ }).passthrough().describe("Phone number details.")).describe("The phone numbers of the shipping contact.").optional(),
167
167
  address: zod.z.object({
168
168
  postal_code: zod.z.string().describe("The postal code.").optional(),
169
169
  admin_area_1: zod.z.string().describe("The state name or code.").optional(),
@@ -178,23 +178,23 @@ const PaypalUpdateInvoiceInput = zod.z.object({
178
178
  business_name: zod.z.string().describe("The business name of the shipping contact.").optional(),
179
179
  email_address: zod.z.string().describe("The email address of the shipping contact.").optional()
180
180
  }).describe("Shipping information.").optional()
181
- }).describe("The billing and shipping information.")).describe("The billing and shipping information. Includes name, email, address, phone, and language.").optional(),
181
+ }).passthrough().describe("The billing and shipping information.")).describe("The billing and shipping information. Includes name, email, address, phone, and language.").optional(),
182
182
  additional_recipients: zod.z.array(zod.z.string()).describe("An array of one or more CC: emails to which notifications are sent.").optional()
183
183
  }).describe("Request to fully update a PayPal invoice.\n\nUse this action when you need to completely replace an invoice with new data.\nThe invoice must be in DRAFT status to be fully updated.");
184
184
  const PaypalUpdateInvoice_MoneySchema = zod.z.object({
185
185
  value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.").nullable(),
186
186
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable()
187
- }).describe("The currency and amount for a financial transaction.");
187
+ }).passthrough().describe("The currency and amount for a financial transaction.");
188
188
  const PaypalUpdateInvoice_TaxSchema = zod.z.object({
189
189
  id: zod.z.string().describe("The tax ID.").nullable().optional(),
190
190
  name: zod.z.string().describe("The tax name.").nullable().optional(),
191
191
  amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
192
192
  percent: zod.z.string().describe("The tax percent.").nullable().optional()
193
- }).describe("Tax applied to an item.");
193
+ }).passthrough().describe("Tax applied to an item.");
194
194
  const PaypalUpdateInvoice_ItemDiscountSchema = zod.z.object({
195
195
  amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
196
196
  percent: zod.z.string().describe("The discount percent.").nullable().optional()
197
- }).describe("Discount applied to an item.");
197
+ }).passthrough().describe("Discount applied to an item.");
198
198
  const PaypalUpdateInvoice_InvoiceItemSchema = zod.z.object({
199
199
  id: zod.z.string().describe("The ID of the item.").nullable().optional(),
200
200
  tax: PaypalUpdateInvoice_TaxSchema.nullable().optional(),
@@ -205,54 +205,54 @@ const PaypalUpdateInvoice_InvoiceItemSchema = zod.z.object({
205
205
  description: zod.z.string().describe("The description of the item.").nullable().optional(),
206
206
  unit_amount: PaypalUpdateInvoice_MoneySchema.nullable(),
207
207
  unit_of_measure: zod.z.string().describe("The unit of measure of the item.").nullable().optional()
208
- }).describe("A single invoice line item.");
208
+ }).passthrough().describe("A single invoice line item.");
209
209
  const PaypalUpdateInvoice_LinkDescriptionSchema = zod.z.object({
210
210
  rel: zod.z.string().describe("The link relation type.").nullable(),
211
211
  href: zod.z.string().describe("The target URI.").nullable(),
212
212
  method: zod.z.string().describe("The HTTP method required to access the link.").nullable().optional()
213
- }).describe("The HATEOAS link information.");
213
+ }).passthrough().describe("The HATEOAS link information.");
214
214
  const PaypalUpdateInvoice_CustomAmountSchema = zod.z.object({
215
215
  label: zod.z.string().describe("The label for the custom amount.").nullable().optional(),
216
216
  value: zod.z.string().describe("The value of the custom amount.").nullable(),
217
217
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
218
- }).describe("Custom amount breakdown.");
218
+ }).passthrough().describe("Custom amount breakdown.");
219
219
  const PaypalUpdateInvoice_DiscountAmountSchema = zod.z.object({
220
220
  value: zod.z.string().describe("The value of the discount amount.").nullable(),
221
221
  percent: zod.z.string().describe("The discount percent.").nullable().optional(),
222
222
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
223
- }).describe("Discount amount breakdown.");
223
+ }).passthrough().describe("Discount amount breakdown.");
224
224
  const PaypalUpdateInvoice_ShippingAmountSchema = zod.z.object({
225
225
  value: zod.z.string().describe("The value of the shipping amount.").nullable(),
226
226
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable()
227
- }).describe("Shipping cost breakdown.");
227
+ }).passthrough().describe("Shipping cost breakdown.");
228
228
  const PaypalUpdateInvoice_AmountWithBreakdownSchema = zod.z.object({
229
229
  custom: PaypalUpdateInvoice_CustomAmountSchema.nullable().optional(),
230
230
  discount: PaypalUpdateInvoice_DiscountAmountSchema.nullable().optional(),
231
231
  shipping: PaypalUpdateInvoice_ShippingAmountSchema.nullable().optional(),
232
232
  tax_total: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
233
233
  item_total: PaypalUpdateInvoice_MoneySchema.nullable().optional()
234
- }).describe("The breakdown of the amount.");
234
+ }).passthrough().describe("The breakdown of the amount.");
235
235
  const PaypalUpdateInvoice_InvoiceAmountSchema = zod.z.object({
236
236
  value: zod.z.string().describe("The value of the amount.").nullable(),
237
237
  breakdown: PaypalUpdateInvoice_AmountWithBreakdownSchema.nullable().optional(),
238
238
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable()
239
- }).describe("The invoice amount summary.");
239
+ }).passthrough().describe("The invoice amount summary.");
240
240
  const PaypalUpdateInvoice_InvoiceMetadataSchema = zod.z.object({
241
241
  entity_id: zod.z.string().describe("The entity ID.").nullable().optional(),
242
242
  entity_type: zod.z.string().describe("The entity type.").nullable().optional(),
243
243
  created_date: zod.z.string().describe("The creation date.").nullable().optional(),
244
244
  last_modified_date: zod.z.string().describe("The last modification date.").nullable().optional()
245
- }).describe("The metadata of the invoice.");
245
+ }).passthrough().describe("The metadata of the invoice.");
246
246
  const PaypalUpdateInvoice_AttachmentSchema = zod.z.object({
247
247
  id: zod.z.string().describe("The ID of the attachment.").nullable().optional(),
248
248
  url: zod.z.string().describe("The URL of the attachment.").nullable().optional(),
249
249
  name: zod.z.string().describe("The name of the attachment.").nullable().optional()
250
- }).describe("An attachment for the invoice.");
250
+ }).passthrough().describe("An attachment for the invoice.");
251
251
  const PaypalUpdateInvoice_PaymentTermSchema = zod.z.object({
252
252
  due_date: zod.z.string().describe("The due date. The date format is YYYY-MM-DD.").nullable().optional(),
253
253
  term_type: zod.z.string().describe("The type of payment term.").nullable().optional(),
254
254
  interval_days: zod.z.number().int().describe("The number of days until payment is due.").nullable().optional()
255
- }).describe("The payment term of the invoice.");
255
+ }).passthrough().describe("The payment term of the invoice.");
256
256
  const PaypalUpdateInvoice_InvoiceDetailSchema = zod.z.object({
257
257
  memo: zod.z.string().describe("The memo text entered by the merchant.").nullable().optional(),
258
258
  note: zod.z.string().describe("The invoice note with text. Useful for adding additional information.").nullable().optional(),
@@ -264,20 +264,20 @@ const PaypalUpdateInvoice_InvoiceDetailSchema = zod.z.object({
264
264
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable(),
265
265
  invoice_number: zod.z.string().describe("The invoice number. A value of manually entered or auto-generated.").nullable().optional(),
266
266
  terms_and_conditions: zod.z.string().describe("The additional terms of the invoice.").nullable().optional()
267
- }).describe("The details of the invoice.");
267
+ }).passthrough().describe("The details of the invoice.");
268
268
  const PaypalUpdateInvoice_RefundTransactionSchema = zod.z.object({
269
269
  date: zod.z.string().describe("The refund date.").nullable().optional(),
270
270
  type: zod.z.string().describe("The refund type.").nullable().optional(),
271
271
  amount: PaypalUpdateInvoice_MoneySchema.nullable().optional()
272
- }).describe("A refund transaction detail.");
272
+ }).passthrough().describe("A refund transaction detail.");
273
273
  const PaypalUpdateInvoice_RefundsSchema = zod.z.object({
274
274
  transactions: zod.z.array(PaypalUpdateInvoice_RefundTransactionSchema).describe("The refund transactions.").nullable().optional(),
275
275
  refunded_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional()
276
- }).describe("The invoicing refund details.");
276
+ }).passthrough().describe("The invoicing refund details.");
277
277
  const PaypalUpdateInvoice_PhoneSchema = zod.z.object({
278
278
  country_code: zod.z.string().describe("The country code.").nullable().optional(),
279
279
  national_number: zod.z.string().describe("The national number.").nullable().optional()
280
- }).describe("Phone number details.");
280
+ }).passthrough().describe("Phone number details.");
281
281
  const PaypalUpdateInvoice_AddressSchema = zod.z.object({
282
282
  postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
283
283
  admin_area_1: zod.z.string().describe("The state name or code.").nullable().optional(),
@@ -285,7 +285,7 @@ const PaypalUpdateInvoice_AddressSchema = zod.z.object({
285
285
  country_code: zod.z.string().describe("The country code.").nullable().optional(),
286
286
  address_line_1: zod.z.string().describe("The first line of the address.").nullable().optional(),
287
287
  address_line_2: zod.z.string().describe("The second line of the address.").nullable().optional()
288
- }).describe("Address details.");
288
+ }).passthrough().describe("Address details.");
289
289
  const PaypalUpdateInvoice_InvoicerInfoSchema = zod.z.object({
290
290
  phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers.").nullable().optional(),
291
291
  tax_id: zod.z.string().describe("The Tax ID.").nullable().optional(),
@@ -294,25 +294,25 @@ const PaypalUpdateInvoice_InvoicerInfoSchema = zod.z.object({
294
294
  logo_url: zod.z.string().describe("The logo URL.").nullable().optional(),
295
295
  email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
296
296
  additional_notes: zod.z.string().describe("The additional notes.").nullable().optional()
297
- }).describe("The invoicer business information.");
297
+ }).passthrough().describe("The invoicer business information.");
298
298
  const PaypalUpdateInvoice_PaymentTransactionSchema = zod.z.object({
299
299
  date: zod.z.string().describe("The payment date.").nullable().optional(),
300
300
  type: zod.z.string().describe("The payment type.").nullable().optional(),
301
301
  method: zod.z.string().describe("The payment method.").nullable().optional(),
302
302
  transaction_id: zod.z.string().describe("The transaction ID.").nullable().optional()
303
- }).describe("A payment transaction detail.");
303
+ }).passthrough().describe("A payment transaction detail.");
304
304
  const PaypalUpdateInvoice_PaymentsSchema = zod.z.object({
305
305
  paid_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
306
306
  transactions: zod.z.array(PaypalUpdateInvoice_PaymentTransactionSchema).describe("The payment transactions.").nullable().optional()
307
- }).describe("The payments registered against the invoice.");
307
+ }).passthrough().describe("The payments registered against the invoice.");
308
308
  const PaypalUpdateInvoice_ConfigurationSchema = zod.z.object({
309
309
  allow_tip: zod.z.boolean().describe("Indicates whether the customer can add a tip.").nullable().optional(),
310
310
  template_id: zod.z.string().describe("The template ID.").nullable().optional(),
311
311
  tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").nullable().optional(),
312
- partial_payment: zod.z.object({}).describe("The partial payment details.").nullable().optional(),
312
+ partial_payment: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The partial payment details.").nullable().optional(),
313
313
  has_conditional_rule: zod.z.boolean().describe("Indicates whether there are conditional rules.").nullable().optional(),
314
314
  tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether tax is calculated after discount.").nullable().optional()
315
- }).describe("The invoice configuration.");
315
+ }).passthrough().describe("The invoice configuration.");
316
316
  const PaypalUpdateInvoice_BillingInfoSchema = zod.z.object({
317
317
  phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers of the billing contact.").nullable().optional(),
318
318
  address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),
@@ -321,7 +321,7 @@ const PaypalUpdateInvoice_BillingInfoSchema = zod.z.object({
321
321
  first_name: zod.z.string().describe("The first name of the billing contact.").nullable().optional(),
322
322
  business_name: zod.z.string().describe("The business name of the billing contact.").nullable().optional(),
323
323
  email_address: zod.z.string().describe("The email address of the billing contact.").nullable().optional()
324
- }).describe("Billing information.");
324
+ }).passthrough().describe("Billing information.");
325
325
  const PaypalUpdateInvoice_ShippingInfoSchema = zod.z.object({
326
326
  phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers of the shipping contact.").nullable().optional(),
327
327
  address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),
@@ -330,11 +330,11 @@ const PaypalUpdateInvoice_ShippingInfoSchema = zod.z.object({
330
330
  first_name: zod.z.string().describe("The first name of the shipping contact.").nullable().optional(),
331
331
  business_name: zod.z.string().describe("The business name of the shipping contact.").nullable().optional(),
332
332
  email_address: zod.z.string().describe("The email address of the shipping contact.").nullable().optional()
333
- }).describe("Shipping information.");
333
+ }).passthrough().describe("Shipping information.");
334
334
  const PaypalUpdateInvoice_RecipientInfoSchema = zod.z.object({
335
335
  billing_info: PaypalUpdateInvoice_BillingInfoSchema.nullable().optional(),
336
336
  shipping_info: PaypalUpdateInvoice_ShippingInfoSchema.nullable().optional()
337
- }).describe("The billing and shipping information.");
337
+ }).passthrough().describe("The billing and shipping information.");
338
338
  const PaypalUpdateInvoiceOutput = zod.z.object({
339
339
  id: zod.z.string().describe("The ID of the invoice.").nullable().optional(),
340
340
  name: zod.z.string().describe("Error name if the request failed.").nullable().optional(),
@@ -353,7 +353,7 @@ const PaypalUpdateInvoiceOutput = zod.z.object({
353
353
  configuration: PaypalUpdateInvoice_ConfigurationSchema.nullable().optional(),
354
354
  primary_recipients: zod.z.array(PaypalUpdateInvoice_RecipientInfoSchema).describe("The billing and shipping information.").nullable().optional(),
355
355
  additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC: email addresses.").nullable().optional()
356
- }).describe("Response returned after fully updating a PayPal invoice.");
356
+ }).passthrough().describe("Response returned after fully updating a PayPal invoice.");
357
357
  const paypalUpdateInvoice = require_action.action("PAYPAL_UPDATE_INVOICE", {
358
358
  slug: "paypal-update-invoice",
359
359
  name: "Update Invoice (Full)",