@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 +1 @@
1
- {"version":3,"file":"list-disputes.mjs","names":[],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListDisputesInput: z.ZodTypeAny = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\"),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema: z.ZodTypeAny = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\"),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput: z.ZodTypeAny = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC5Q,eAAe,EAAE,MAAM,EAAE,KAAK;EAAC;EAAmB;EAA+B;EAAuB;EAAY;EAAkB;CAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC7a,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kIAA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\nimport { action } from \"../action\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC5Q,eAAe,EAAE,MAAM,EAAE,KAAK;EAAC;EAAmB;EAA+B;EAAuB;EAAY;EAAkB;CAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC7a,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,8NAA8N;AAC1O,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAA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qE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,eAAe,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACzE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAMpF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/L,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
@@ -10,41 +10,41 @@ const PaypalListInvoicesInput = zod.z.object({
10
10
  const PaypalListInvoices_InvoiceAmountSummarySchema = zod.z.object({
11
11
  value: zod.z.string().describe("The value of the amount. Format may vary based on currency convention.").nullable().optional(),
12
12
  currency_code: zod.z.string().describe("The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.").nullable().optional()
13
- }).describe("Invoice amount summary details.");
13
+ }).passthrough().describe("Invoice amount summary details.");
14
14
  const PaypalListInvoices_InvoiceItemSchema = zod.z.object({
15
- tax: zod.z.object({}).describe("The tax information for the item.").nullable().optional(),
15
+ tax: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The tax information for the item.").nullable().optional(),
16
16
  name: zod.z.string().describe("The item name.").nullable().optional(),
17
17
  quantity: zod.z.string().describe("The quantity of the item.").nullable().optional(),
18
18
  description: zod.z.string().describe("The item description.").nullable().optional(),
19
19
  unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional()
20
- }).describe("Invoice line item details.");
20
+ }).passthrough().describe("Invoice line item details.");
21
21
  const PaypalListInvoices_LinkDescriptionSchema = zod.z.object({
22
22
  rel: zod.z.string().describe("The link relation type.").nullable().optional(),
23
23
  href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
24
24
  method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
25
- }).describe("The request-related HATEOAS link information.");
25
+ }).passthrough().describe("The request-related HATEOAS link information.");
26
26
  const PaypalListInvoices_InvoiceDetailSchema = zod.z.object({
27
27
  note: zod.z.string().describe("A note to the payer.").nullable().optional(),
28
28
  terms: zod.z.string().describe("The merchant term on the invoice.").nullable().optional(),
29
29
  reference: zod.z.string().describe("The reference of the invoice.").nullable().optional(),
30
- billing_info: zod.z.array(zod.z.object({})).describe("The billing information.").nullable().optional(),
30
+ billing_info: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The billing information.").nullable().optional(),
31
31
  currency_code: zod.z.string().describe("The currency code.").nullable().optional(),
32
- merchant_info: zod.z.object({}).describe("The merchant information.").nullable().optional(),
33
- shipping_info: zod.z.object({}).describe("The shipping information.").nullable().optional(),
32
+ merchant_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The merchant information.").nullable().optional(),
33
+ shipping_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The shipping information.").nullable().optional(),
34
34
  invoice_number: zod.z.string().describe("The invoice number that appears on the invoice. By default, the internal ID is used.").nullable().optional()
35
- }).describe("Invoice detail information.");
35
+ }).passthrough().describe("Invoice detail information.");
36
36
  const PaypalListInvoices_InvoicerInfoSchema = zod.z.object({
37
37
  email: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
38
38
  last_name: zod.z.string().describe("The last name of the invoicer.").nullable().optional(),
39
39
  first_name: zod.z.string().describe("The first name of the invoicer.").nullable().optional(),
40
40
  business_name: zod.z.string().describe("The business name of the invoicer.").nullable().optional()
41
- }).describe("Invoicer information details.");
41
+ }).passthrough().describe("Invoicer information details.");
42
42
  const PaypalListInvoices_RecipientInfoSchema = zod.z.object({
43
43
  email: zod.z.string().describe("The email address of the recipient.").nullable().optional(),
44
44
  last_name: zod.z.string().describe("The last name of the recipient.").nullable().optional(),
45
45
  first_name: zod.z.string().describe("The first name of the recipient.").nullable().optional(),
46
46
  business_name: zod.z.string().describe("The business name of the recipient.").nullable().optional()
47
- }).describe("Recipient information for invoice.");
47
+ }).passthrough().describe("Recipient information for invoice.");
48
48
  const PaypalListInvoices_InvoiceSchema = zod.z.object({
49
49
  id: zod.z.string().describe("The unique identifier for the invoice.").nullable().optional(),
50
50
  items: zod.z.array(PaypalListInvoices_InvoiceItemSchema).describe("The list of items in the invoice.").nullable().optional(),
@@ -52,22 +52,22 @@ const PaypalListInvoices_InvoiceSchema = zod.z.object({
52
52
  amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
53
53
  detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),
54
54
  status: zod.z.string().describe("The status of the invoice.").nullable().optional(),
55
- refunds: zod.z.object({}).describe("The refunds information.").nullable().optional(),
55
+ refunds: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The refunds information.").nullable().optional(),
56
56
  gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
57
57
  invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),
58
- payments: zod.z.object({}).describe("The payments information.").nullable().optional(),
58
+ payments: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The payments information.").nullable().optional(),
59
59
  parent_id: zod.z.string().describe("The parent ID of the invoice.").nullable().optional(),
60
60
  due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
61
- configuration: zod.z.object({}).describe("The configuration of the invoice.").nullable().optional(),
61
+ configuration: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The configuration of the invoice.").nullable().optional(),
62
62
  primary_recipients: zod.z.array(PaypalListInvoices_RecipientInfoSchema).describe("The primary recipients of the invoice.").nullable().optional(),
63
63
  additional_recipients: zod.z.array(zod.z.string()).describe("Additional recipients for the invoice.").nullable().optional()
64
- }).describe("Invoice details including all information about the invoice like items, billing information.");
64
+ }).passthrough().describe("Invoice details including all information about the invoice like items, billing information.");
65
65
  const PaypalListInvoicesOutput = zod.z.object({
66
66
  items: zod.z.array(PaypalListInvoices_InvoiceSchema).describe("The list of invoices that match the search criteria."),
67
67
  links: zod.z.array(PaypalListInvoices_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
68
68
  total_items: zod.z.number().int().describe("The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.").nullable().optional(),
69
69
  total_pages: zod.z.number().int().describe("The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.").nullable().optional()
70
- }).describe("Response model for listing PayPal invoices.");
70
+ }).passthrough().describe("Response model for listing PayPal invoices.");
71
71
  const paypalListInvoices = require_action.action("PAYPAL_LIST_INVOICES", {
72
72
  slug: "paypal-list-invoices",
73
73
  name: "List PayPal Invoices",
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema: z.ZodTypeAny = z.object({\n tax: z.object({}).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.object({})).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.object({}).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.object({}).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.object({}).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.object({}).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.object({}).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput: z.ZodTypeAny = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,m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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAA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voicesInput: z.ZodTypeAny;
5
- declare const PaypalListInvoicesOutput: z.ZodTypeAny;
6
- declare const paypalListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaypalListInvoicesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ fields: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ all: "all";
8
+ none: "none";
9
+ }>>>;
10
+ page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
11
+ total_required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
+ }, z.core.$strip>;
13
+ declare const PaypalListInvoicesOutput: z.ZodObject<{
14
+ items: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ tax: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ unit_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>>;
26
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>>>;
31
+ amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>;
35
+ detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ billing_info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ merchant_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ shipping_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ }, z.core.$loose>>>;
45
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ refunds: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
+ gratuity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>>;
51
+ invoicer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$loose>>>;
57
+ payments: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ due_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$loose>>>;
63
+ configuration: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
64
+ primary_recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
65
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$loose>>>>;
70
+ additional_recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
71
+ }, z.core.$loose>>;
72
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
73
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ }, z.core.$loose>>>>;
77
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
+ total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, z.core.$loose>;
80
+ declare const paypalListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
81
+ page?: number | undefined;
82
+ fields?: "all" | "none" | undefined;
83
+ page_size?: number | undefined;
84
+ total_required?: boolean | undefined;
85
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
86
  //#endregion
8
87
  export { paypalListInvoices };
9
88
  //# sourceMappingURL=list-invoices.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKiB;AAAA,cAwD5C,wBAAA,EAA0B,CAAA,CAAE,UAKiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cA6DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,88 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-invoices.d.ts
4
- declare const PaypalListInvoicesInput: z.ZodTypeAny;
5
- declare const PaypalListInvoicesOutput: z.ZodTypeAny;
6
- declare const paypalListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PaypalListInvoicesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ fields: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
+ all: "all";
8
+ none: "none";
9
+ }>>>;
10
+ page_size: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
11
+ total_required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
+ }, z.core.$strip>;
13
+ declare const PaypalListInvoicesOutput: z.ZodObject<{
14
+ items: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
17
+ tax: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ quantity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ unit_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$loose>>>;
25
+ }, z.core.$loose>>>>;
26
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ }, z.core.$loose>>>>;
31
+ amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ }, z.core.$loose>>>;
35
+ detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ terms: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ billing_info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
40
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ merchant_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
42
+ shipping_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
43
+ invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ }, z.core.$loose>>>;
45
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ refunds: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
47
+ gratuity: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$loose>>>;
51
+ invoicer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ }, z.core.$loose>>>;
57
+ payments: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
58
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ due_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$loose>>>;
63
+ configuration: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
64
+ primary_recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
65
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ business_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$loose>>>>;
70
+ additional_recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
71
+ }, z.core.$loose>>;
72
+ links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
73
+ rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
76
+ }, z.core.$loose>>>>;
77
+ total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
78
+ total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
79
+ }, z.core.$loose>;
80
+ declare const paypalListInvoices: import("@keystrokehq/action").WorkflowActionDefinition<{
81
+ page?: number | undefined;
82
+ fields?: "all" | "none" | undefined;
83
+ page_size?: number | undefined;
84
+ total_required?: boolean | undefined;
85
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
86
  //#endregion
8
87
  export { paypalListInvoices };
9
88
  //# sourceMappingURL=list-invoices.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAKiB;AAAA,cAwD5C,wBAAA,EAA0B,CAAA,CAAE,UAKiB;AAAA,cAE7C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cA6DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxB,kBAAA,gCAAkB,wBAAA"}
@@ -10,41 +10,41 @@ const PaypalListInvoicesInput = z.object({
10
10
  const PaypalListInvoices_InvoiceAmountSummarySchema = z.object({
11
11
  value: z.string().describe("The value of the amount. Format may vary based on currency convention.").nullable().optional(),
12
12
  currency_code: z.string().describe("The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.").nullable().optional()
13
- }).describe("Invoice amount summary details.");
13
+ }).passthrough().describe("Invoice amount summary details.");
14
14
  const PaypalListInvoices_InvoiceItemSchema = z.object({
15
- tax: z.object({}).describe("The tax information for the item.").nullable().optional(),
15
+ tax: z.record(z.string(), z.unknown()).describe("The tax information for the item.").nullable().optional(),
16
16
  name: z.string().describe("The item name.").nullable().optional(),
17
17
  quantity: z.string().describe("The quantity of the item.").nullable().optional(),
18
18
  description: z.string().describe("The item description.").nullable().optional(),
19
19
  unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional()
20
- }).describe("Invoice line item details.");
20
+ }).passthrough().describe("Invoice line item details.");
21
21
  const PaypalListInvoices_LinkDescriptionSchema = z.object({
22
22
  rel: z.string().describe("The link relation type.").nullable().optional(),
23
23
  href: z.string().describe("The hyperlink to the related resource.").nullable().optional(),
24
24
  method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
25
- }).describe("The request-related HATEOAS link information.");
25
+ }).passthrough().describe("The request-related HATEOAS link information.");
26
26
  const PaypalListInvoices_InvoiceDetailSchema = z.object({
27
27
  note: z.string().describe("A note to the payer.").nullable().optional(),
28
28
  terms: z.string().describe("The merchant term on the invoice.").nullable().optional(),
29
29
  reference: z.string().describe("The reference of the invoice.").nullable().optional(),
30
- billing_info: z.array(z.object({})).describe("The billing information.").nullable().optional(),
30
+ billing_info: z.array(z.record(z.string(), z.unknown())).describe("The billing information.").nullable().optional(),
31
31
  currency_code: z.string().describe("The currency code.").nullable().optional(),
32
- merchant_info: z.object({}).describe("The merchant information.").nullable().optional(),
33
- shipping_info: z.object({}).describe("The shipping information.").nullable().optional(),
32
+ merchant_info: z.record(z.string(), z.unknown()).describe("The merchant information.").nullable().optional(),
33
+ shipping_info: z.record(z.string(), z.unknown()).describe("The shipping information.").nullable().optional(),
34
34
  invoice_number: z.string().describe("The invoice number that appears on the invoice. By default, the internal ID is used.").nullable().optional()
35
- }).describe("Invoice detail information.");
35
+ }).passthrough().describe("Invoice detail information.");
36
36
  const PaypalListInvoices_InvoicerInfoSchema = z.object({
37
37
  email: z.string().describe("The email address of the invoicer.").nullable().optional(),
38
38
  last_name: z.string().describe("The last name of the invoicer.").nullable().optional(),
39
39
  first_name: z.string().describe("The first name of the invoicer.").nullable().optional(),
40
40
  business_name: z.string().describe("The business name of the invoicer.").nullable().optional()
41
- }).describe("Invoicer information details.");
41
+ }).passthrough().describe("Invoicer information details.");
42
42
  const PaypalListInvoices_RecipientInfoSchema = z.object({
43
43
  email: z.string().describe("The email address of the recipient.").nullable().optional(),
44
44
  last_name: z.string().describe("The last name of the recipient.").nullable().optional(),
45
45
  first_name: z.string().describe("The first name of the recipient.").nullable().optional(),
46
46
  business_name: z.string().describe("The business name of the recipient.").nullable().optional()
47
- }).describe("Recipient information for invoice.");
47
+ }).passthrough().describe("Recipient information for invoice.");
48
48
  const PaypalListInvoices_InvoiceSchema = z.object({
49
49
  id: z.string().describe("The unique identifier for the invoice.").nullable().optional(),
50
50
  items: z.array(PaypalListInvoices_InvoiceItemSchema).describe("The list of items in the invoice.").nullable().optional(),
@@ -52,16 +52,16 @@ const PaypalListInvoices_InvoiceSchema = z.object({
52
52
  amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
53
53
  detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),
54
54
  status: z.string().describe("The status of the invoice.").nullable().optional(),
55
- refunds: z.object({}).describe("The refunds information.").nullable().optional(),
55
+ refunds: z.record(z.string(), z.unknown()).describe("The refunds information.").nullable().optional(),
56
56
  gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
57
57
  invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),
58
- payments: z.object({}).describe("The payments information.").nullable().optional(),
58
+ payments: z.record(z.string(), z.unknown()).describe("The payments information.").nullable().optional(),
59
59
  parent_id: z.string().describe("The parent ID of the invoice.").nullable().optional(),
60
60
  due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),
61
- configuration: z.object({}).describe("The configuration of the invoice.").nullable().optional(),
61
+ configuration: z.record(z.string(), z.unknown()).describe("The configuration of the invoice.").nullable().optional(),
62
62
  primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe("The primary recipients of the invoice.").nullable().optional(),
63
63
  additional_recipients: z.array(z.string()).describe("Additional recipients for the invoice.").nullable().optional()
64
- }).describe("Invoice details including all information about the invoice like items, billing information.");
64
+ }).passthrough().describe("Invoice details including all information about the invoice like items, billing information.");
65
65
  const paypalListInvoices = action("PAYPAL_LIST_INVOICES", {
66
66
  slug: "paypal-list-invoices",
67
67
  name: "List PayPal Invoices",
@@ -72,7 +72,7 @@ const paypalListInvoices = action("PAYPAL_LIST_INVOICES", {
72
72
  links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
73
73
  total_items: z.number().int().describe("The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.").nullable().optional(),
74
74
  total_pages: z.number().int().describe("The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.").nullable().optional()
75
- }).describe("Response model for listing PayPal invoices.")
75
+ }).passthrough().describe("Response model for listing PayPal invoices.")
76
76
  });
77
77
  //#endregion
78
78
  export { paypalListInvoices };
@@ -1 +1 @@
1
- {"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema: z.ZodTypeAny = z.object({\n tax: z.object({}).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema: z.ZodTypeAny = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.object({})).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.object({}).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.object({}).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.object({}).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.object({}).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.object({}).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput: z.ZodTypeAny = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,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EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,8FAA8F;AAQ1G,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZoD,EAAE,OAAO;EAC7D,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sDAAsD;EAChH,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAA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O,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,oBAAoB,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAQxH,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sDAAsD;EAChH,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -18,7 +18,7 @@ const PaypalListLegacyBillingPlans_LinkDescriptionSchema = zod.z.object({
18
18
  rel: zod.z.string().describe("The link relation type (e.g., 'self', 'edit').").nullable().optional(),
19
19
  href: zod.z.string().describe("The target URL.").nullable().optional(),
20
20
  method: zod.z.string().describe("The HTTP method for the link.").nullable().optional()
21
- }).describe("HATEOAS link information for the billing plan.");
21
+ }).passthrough().describe("HATEOAS link information for the billing plan.");
22
22
  const PaypalListLegacyBillingPlans_PlanTypeSchema = zod.z.enum(["TRIAL", "REGULAR"]).describe("The type of billing plan.");
23
23
  const PaypalListLegacyBillingPlans_PlanStatusSchema = zod.z.enum([
24
24
  "CREATED",
@@ -32,11 +32,11 @@ const PaypalListLegacyBillingPlans_TermSchema = zod.z.object({
32
32
  cycles: zod.z.string().describe("The number of cycles for this term.").nullable().optional(),
33
33
  frequency: zod.z.string().describe("The frequency of the term.").nullable().optional(),
34
34
  frequency_interval: zod.z.string().describe("The frequency interval for the term.").nullable().optional()
35
- }).describe("Term information for the billing plan.");
35
+ }).passthrough().describe("Term information for the billing plan.");
36
36
  const PaypalListLegacyBillingPlans_ChargeAmountSchema = zod.z.object({
37
37
  amount: zod.z.string().describe("The amount value.").nullable().optional(),
38
38
  currency: zod.z.string().describe("The three-letter ISO 4217 currency code.").nullable().optional()
39
- }).describe("Amount to charge for a payment definition.");
39
+ }).passthrough().describe("Amount to charge for a payment definition.");
40
40
  const PaypalListLegacyBillingPlans_PaymentDefinitionSchema = zod.z.object({
41
41
  id: zod.z.string().describe("The ID of the payment definition.").nullable().optional(),
42
42
  name: zod.z.string().describe("The name of the payment definition.").nullable().optional(),
@@ -45,7 +45,7 @@ const PaypalListLegacyBillingPlans_PaymentDefinitionSchema = zod.z.object({
45
45
  cycles: zod.z.string().describe("The number of cycles for this payment.").nullable().optional(),
46
46
  frequency: zod.z.string().describe("The frequency of the payment.").nullable().optional(),
47
47
  frequency_interval: zod.z.string().describe("The frequency interval for the payment.").nullable().optional()
48
- }).describe("Payment definition for the billing plan (legacy API format).");
48
+ }).passthrough().describe("Payment definition for the billing plan (legacy API format).");
49
49
  const PaypalListLegacyBillingPlans_MerchantPreferencesSchema = zod.z.object({
50
50
  id: zod.z.string().describe("The ID of the merchant preferences.").nullable().optional(),
51
51
  setup_fee: PaypalListLegacyBillingPlans_ChargeAmountSchema.nullable().optional(),
@@ -54,7 +54,7 @@ const PaypalListLegacyBillingPlans_MerchantPreferencesSchema = zod.z.object({
54
54
  auto_bill_amount: zod.z.string().describe("Indicates whether to auto bill the outstanding amount.").nullable().optional(),
55
55
  max_fail_attempts: zod.z.string().describe("The maximum number of failed payment attempts.").nullable().optional(),
56
56
  initial_amount_term: zod.z.string().describe("The term for the initial amount.").nullable().optional()
57
- }).describe("Merchant preferences for the billing plan (legacy API format).");
57
+ }).passthrough().describe("Merchant preferences for the billing plan (legacy API format).");
58
58
  const PaypalListLegacyBillingPlans_BillingPlanSchema = zod.z.object({
59
59
  id: zod.z.string().describe("The unique identifier for the billing plan.").nullable().optional(),
60
60
  name: zod.z.string().describe("The name of the billing plan.").nullable().optional(),
@@ -67,13 +67,13 @@ const PaypalListLegacyBillingPlans_BillingPlanSchema = zod.z.object({
67
67
  update_time: zod.z.string().describe("The last update time in ISO 8601 format.").nullable().optional(),
68
68
  payment_definitions: zod.z.array(PaypalListLegacyBillingPlans_PaymentDefinitionSchema).describe("An array of payment definitions for the plan.").nullable().optional(),
69
69
  merchant_preferences: PaypalListLegacyBillingPlans_MerchantPreferencesSchema.nullable().optional()
70
- }).describe("Billing plan object from the legacy PayPal API.");
70
+ }).passthrough().describe("Billing plan object from the legacy PayPal API.");
71
71
  const PaypalListLegacyBillingPlansOutput = zod.z.object({
72
72
  links: zod.z.array(PaypalListLegacyBillingPlans_LinkDescriptionSchema).describe("An array of request-related HATEOAS links for pagination.").nullable().optional(),
73
73
  total_items: zod.z.number().int().describe("The total number of items (only included if total_required is true).").nullable().optional(),
74
74
  total_pages: zod.z.number().int().describe("The total number of pages (only included if total_required is true).").nullable().optional(),
75
75
  billing_plans: zod.z.array(PaypalListLegacyBillingPlans_BillingPlanSchema).describe("An array of billing plan objects.").nullable().optional()
76
- }).describe("Response containing a list of legacy billing plans.");
76
+ }).passthrough().describe("Response containing a list of legacy billing plans.");
77
77
  const paypalListLegacyBillingPlans = require_action.action("PAYPAL_LIST_LEGACY_BILLING_PLANS", {
78
78
  slug: "paypal-list-legacy-billing-plans",
79
79
  name: "List Legacy Billing Plans",