@keystrokehq/paypal 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (509) hide show
  1. package/dist/actions/activate-plan.cjs +1 -1
  2. package/dist/actions/activate-plan.cjs.map +1 -1
  3. package/dist/actions/activate-plan.d.cts +14 -2
  4. package/dist/actions/activate-plan.d.mts +14 -2
  5. package/dist/actions/activate-plan.mjs +1 -1
  6. package/dist/actions/activate-plan.mjs.map +1 -1
  7. package/dist/actions/add-batch-trackers.cjs +5 -5
  8. package/dist/actions/add-batch-trackers.cjs.map +1 -1
  9. package/dist/actions/add-batch-trackers.d.cts +21 -8
  10. package/dist/actions/add-batch-trackers.d.mts +21 -8
  11. package/dist/actions/add-batch-trackers.mjs +5 -5
  12. package/dist/actions/add-batch-trackers.mjs.map +1 -1
  13. package/dist/actions/authorize-order.cjs +16 -16
  14. package/dist/actions/authorize-order.cjs.map +1 -1
  15. package/dist/actions/authorize-order.d.cts +34 -22
  16. package/dist/actions/authorize-order.d.cts.map +1 -1
  17. package/dist/actions/authorize-order.d.mts +34 -22
  18. package/dist/actions/authorize-order.d.mts.map +1 -1
  19. package/dist/actions/authorize-order.mjs +16 -16
  20. package/dist/actions/authorize-order.mjs.map +1 -1
  21. package/dist/actions/cancel-invoice.cjs +3 -3
  22. package/dist/actions/cancel-invoice.cjs.map +1 -1
  23. package/dist/actions/cancel-invoice.d.cts +16 -4
  24. package/dist/actions/cancel-invoice.d.mts +16 -4
  25. package/dist/actions/cancel-invoice.mjs +3 -3
  26. package/dist/actions/cancel-invoice.mjs.map +1 -1
  27. package/dist/actions/cancel-reminders.cjs +3 -3
  28. package/dist/actions/cancel-reminders.cjs.map +1 -1
  29. package/dist/actions/cancel-reminders.d.cts +16 -4
  30. package/dist/actions/cancel-reminders.d.mts +16 -4
  31. package/dist/actions/cancel-reminders.mjs +3 -3
  32. package/dist/actions/cancel-reminders.mjs.map +1 -1
  33. package/dist/actions/capture-subscription-payment.cjs +9 -9
  34. package/dist/actions/capture-subscription-payment.cjs.map +1 -1
  35. package/dist/actions/capture-subscription-payment.d.cts +23 -11
  36. package/dist/actions/capture-subscription-payment.d.mts +23 -11
  37. package/dist/actions/capture-subscription-payment.mjs +9 -9
  38. package/dist/actions/capture-subscription-payment.mjs.map +1 -1
  39. package/dist/actions/charge-payment-method.cjs +1 -1
  40. package/dist/actions/charge-payment-method.cjs.map +1 -1
  41. package/dist/actions/charge-payment-method.d.cts +14 -2
  42. package/dist/actions/charge-payment-method.d.cts.map +1 -1
  43. package/dist/actions/charge-payment-method.d.mts +14 -2
  44. package/dist/actions/charge-payment-method.d.mts.map +1 -1
  45. package/dist/actions/charge-payment-method.mjs +1 -1
  46. package/dist/actions/charge-payment-method.mjs.map +1 -1
  47. package/dist/actions/create-invoice.cjs +22 -22
  48. package/dist/actions/create-invoice.cjs.map +1 -1
  49. package/dist/actions/create-invoice.d.cts +49 -34
  50. package/dist/actions/create-invoice.d.mts +49 -34
  51. package/dist/actions/create-invoice.mjs +22 -22
  52. package/dist/actions/create-invoice.mjs.map +1 -1
  53. package/dist/actions/create-payment.cjs +31 -31
  54. package/dist/actions/create-payment.cjs.map +1 -1
  55. package/dist/actions/create-payment.d.cts +55 -39
  56. package/dist/actions/create-payment.d.mts +55 -39
  57. package/dist/actions/create-payment.mjs +31 -31
  58. package/dist/actions/create-payment.mjs.map +1 -1
  59. package/dist/actions/create-payments-billing-plans.cjs +8 -8
  60. package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
  61. package/dist/actions/create-payments-billing-plans.d.cts +24 -10
  62. package/dist/actions/create-payments-billing-plans.d.mts +24 -10
  63. package/dist/actions/create-payments-billing-plans.mjs +8 -8
  64. package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
  65. package/dist/actions/create-plan.cjs +12 -12
  66. package/dist/actions/create-plan.cjs.map +1 -1
  67. package/dist/actions/create-plan.d.cts +27 -14
  68. package/dist/actions/create-plan.d.cts.map +1 -1
  69. package/dist/actions/create-plan.d.mts +27 -14
  70. package/dist/actions/create-plan.d.mts.map +1 -1
  71. package/dist/actions/create-plan.mjs +12 -12
  72. package/dist/actions/create-plan.mjs.map +1 -1
  73. package/dist/actions/create-product.cjs +2 -2
  74. package/dist/actions/create-product.cjs.map +1 -1
  75. package/dist/actions/create-product.d.cts +15 -3
  76. package/dist/actions/create-product.d.mts +15 -3
  77. package/dist/actions/create-product.mjs +2 -2
  78. package/dist/actions/create-product.mjs.map +1 -1
  79. package/dist/actions/create-subscription.cjs +15 -15
  80. package/dist/actions/create-subscription.cjs.map +1 -1
  81. package/dist/actions/create-subscription.d.cts +34 -21
  82. package/dist/actions/create-subscription.d.mts +34 -21
  83. package/dist/actions/create-subscription.mjs +15 -15
  84. package/dist/actions/create-subscription.mjs.map +1 -1
  85. package/dist/actions/create-template.cjs +25 -25
  86. package/dist/actions/create-template.cjs.map +1 -1
  87. package/dist/actions/create-template.d.cts +49 -31
  88. package/dist/actions/create-template.d.mts +49 -31
  89. package/dist/actions/create-template.mjs +25 -25
  90. package/dist/actions/create-template.mjs.map +1 -1
  91. package/dist/actions/create-web-profile.cjs +5 -5
  92. package/dist/actions/create-web-profile.cjs.map +1 -1
  93. package/dist/actions/create-web-profile.d.cts +18 -6
  94. package/dist/actions/create-web-profile.d.mts +18 -6
  95. package/dist/actions/create-web-profile.mjs +5 -5
  96. package/dist/actions/create-web-profile.mjs.map +1 -1
  97. package/dist/actions/create-webhook-lookup.cjs +2 -2
  98. package/dist/actions/create-webhook-lookup.cjs.map +1 -1
  99. package/dist/actions/create-webhook-lookup.d.cts +15 -3
  100. package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
  101. package/dist/actions/create-webhook-lookup.d.mts +15 -3
  102. package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
  103. package/dist/actions/create-webhook-lookup.mjs +2 -2
  104. package/dist/actions/create-webhook-lookup.mjs.map +1 -1
  105. package/dist/actions/create-webhook.cjs +4 -4
  106. package/dist/actions/create-webhook.cjs.map +1 -1
  107. package/dist/actions/create-webhook.d.cts +18 -5
  108. package/dist/actions/create-webhook.d.mts +18 -5
  109. package/dist/actions/create-webhook.mjs +4 -4
  110. package/dist/actions/create-webhook.mjs.map +1 -1
  111. package/dist/actions/deactivate-plan.cjs +1 -1
  112. package/dist/actions/deactivate-plan.cjs.map +1 -1
  113. package/dist/actions/deactivate-plan.d.cts +14 -2
  114. package/dist/actions/deactivate-plan.d.mts +14 -2
  115. package/dist/actions/deactivate-plan.mjs +1 -1
  116. package/dist/actions/deactivate-plan.mjs.map +1 -1
  117. package/dist/actions/delete-external-payment.cjs +1 -1
  118. package/dist/actions/delete-external-payment.cjs.map +1 -1
  119. package/dist/actions/delete-external-payment.d.cts +14 -2
  120. package/dist/actions/delete-external-payment.d.mts +14 -2
  121. package/dist/actions/delete-external-payment.mjs +1 -1
  122. package/dist/actions/delete-external-payment.mjs.map +1 -1
  123. package/dist/actions/delete-invoice-payment-record.cjs +1 -1
  124. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
  125. package/dist/actions/delete-invoice-payment-record.d.cts +14 -2
  126. package/dist/actions/delete-invoice-payment-record.d.mts +14 -2
  127. package/dist/actions/delete-invoice-payment-record.mjs +1 -1
  128. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
  129. package/dist/actions/delete-invoice-refund-record.cjs +1 -1
  130. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
  131. package/dist/actions/delete-invoice-refund-record.d.cts +14 -2
  132. package/dist/actions/delete-invoice-refund-record.d.mts +14 -2
  133. package/dist/actions/delete-invoice-refund-record.mjs +1 -1
  134. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
  135. package/dist/actions/delete-invoice.cjs +3 -3
  136. package/dist/actions/delete-invoice.cjs.map +1 -1
  137. package/dist/actions/delete-invoice.d.cts +16 -4
  138. package/dist/actions/delete-invoice.d.mts +16 -4
  139. package/dist/actions/delete-invoice.mjs +3 -3
  140. package/dist/actions/delete-invoice.mjs.map +1 -1
  141. package/dist/actions/delete-payment-resource.cjs +1 -1
  142. package/dist/actions/delete-payment-resource.cjs.map +1 -1
  143. package/dist/actions/delete-payment-resource.d.cts +14 -2
  144. package/dist/actions/delete-payment-resource.d.mts +14 -2
  145. package/dist/actions/delete-payment-resource.mjs +1 -1
  146. package/dist/actions/delete-payment-resource.mjs.map +1 -1
  147. package/dist/actions/delete-template.cjs +3 -3
  148. package/dist/actions/delete-template.cjs.map +1 -1
  149. package/dist/actions/delete-template.d.cts +16 -4
  150. package/dist/actions/delete-template.d.mts +16 -4
  151. package/dist/actions/delete-template.mjs +3 -3
  152. package/dist/actions/delete-template.mjs.map +1 -1
  153. package/dist/actions/delete-web-profile.cjs +1 -1
  154. package/dist/actions/delete-web-profile.cjs.map +1 -1
  155. package/dist/actions/delete-web-profile.d.cts +14 -2
  156. package/dist/actions/delete-web-profile.d.mts +14 -2
  157. package/dist/actions/delete-web-profile.mjs +1 -1
  158. package/dist/actions/delete-web-profile.mjs.map +1 -1
  159. package/dist/actions/delete-webhook.cjs +3 -3
  160. package/dist/actions/delete-webhook.cjs.map +1 -1
  161. package/dist/actions/delete-webhook.d.cts +16 -4
  162. package/dist/actions/delete-webhook.d.mts +16 -4
  163. package/dist/actions/delete-webhook.mjs +3 -3
  164. package/dist/actions/delete-webhook.mjs.map +1 -1
  165. package/dist/actions/fetch-node.cjs +5 -5
  166. package/dist/actions/fetch-node.cjs.map +1 -1
  167. package/dist/actions/fetch-node.d.cts +18 -6
  168. package/dist/actions/fetch-node.d.mts +18 -6
  169. package/dist/actions/fetch-node.mjs +5 -5
  170. package/dist/actions/fetch-node.mjs.map +1 -1
  171. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
  172. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
  173. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +16 -4
  174. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +16 -4
  175. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
  176. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
  177. package/dist/actions/find-eligible-methods.cjs +7 -7
  178. package/dist/actions/find-eligible-methods.cjs.map +1 -1
  179. package/dist/actions/find-eligible-methods.d.cts +24 -11
  180. package/dist/actions/find-eligible-methods.d.mts +24 -11
  181. package/dist/actions/find-eligible-methods.mjs +7 -7
  182. package/dist/actions/find-eligible-methods.mjs.map +1 -1
  183. package/dist/actions/generate-client-token.cjs +1 -1
  184. package/dist/actions/generate-client-token.cjs.map +1 -1
  185. package/dist/actions/generate-client-token.d.cts +14 -2
  186. package/dist/actions/generate-client-token.d.cts.map +1 -1
  187. package/dist/actions/generate-client-token.d.mts +14 -2
  188. package/dist/actions/generate-client-token.d.mts.map +1 -1
  189. package/dist/actions/generate-client-token.mjs +1 -1
  190. package/dist/actions/generate-client-token.mjs.map +1 -1
  191. package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
  192. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
  193. package/dist/actions/generate-next-invoice-number-v2.d.cts +14 -2
  194. package/dist/actions/generate-next-invoice-number-v2.d.mts +14 -2
  195. package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
  196. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
  197. package/dist/actions/generate-next-invoice-number.cjs +1 -1
  198. package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
  199. package/dist/actions/generate-next-invoice-number.d.cts +14 -2
  200. package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
  201. package/dist/actions/generate-next-invoice-number.d.mts +14 -2
  202. package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
  203. package/dist/actions/generate-next-invoice-number.mjs +1 -1
  204. package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
  205. package/dist/actions/generate-qr-code.cjs +4 -4
  206. package/dist/actions/generate-qr-code.cjs.map +1 -1
  207. package/dist/actions/generate-qr-code.d.cts +17 -5
  208. package/dist/actions/generate-qr-code.d.mts +17 -5
  209. package/dist/actions/generate-qr-code.mjs +4 -4
  210. package/dist/actions/generate-qr-code.mjs.map +1 -1
  211. package/dist/actions/get-billing-subscriptions.cjs +10 -10
  212. package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
  213. package/dist/actions/get-billing-subscriptions.d.cts +24 -12
  214. package/dist/actions/get-billing-subscriptions.d.mts +24 -12
  215. package/dist/actions/get-billing-subscriptions.mjs +10 -10
  216. package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
  217. package/dist/actions/get-invoice.cjs +24 -24
  218. package/dist/actions/get-invoice.cjs.map +1 -1
  219. package/dist/actions/get-invoice.d.cts +45 -33
  220. package/dist/actions/get-invoice.d.mts +45 -33
  221. package/dist/actions/get-invoice.mjs +24 -24
  222. package/dist/actions/get-invoice.mjs.map +1 -1
  223. package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
  224. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
  225. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +15 -3
  226. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +15 -3
  227. package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
  228. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
  229. package/dist/actions/get-invoicing-template.cjs +20 -20
  230. package/dist/actions/get-invoicing-template.cjs.map +1 -1
  231. package/dist/actions/get-invoicing-template.d.cts +42 -30
  232. package/dist/actions/get-invoicing-template.d.mts +42 -30
  233. package/dist/actions/get-invoicing-template.mjs +20 -20
  234. package/dist/actions/get-invoicing-template.mjs.map +1 -1
  235. package/dist/actions/get-order.cjs +16 -16
  236. package/dist/actions/get-order.cjs.map +1 -1
  237. package/dist/actions/get-order.d.cts +37 -25
  238. package/dist/actions/get-order.d.mts +37 -25
  239. package/dist/actions/get-order.mjs +16 -16
  240. package/dist/actions/get-order.mjs.map +1 -1
  241. package/dist/actions/get-payment.cjs +14 -14
  242. package/dist/actions/get-payment.cjs.map +1 -1
  243. package/dist/actions/get-payment.d.cts +35 -23
  244. package/dist/actions/get-payment.d.mts +35 -23
  245. package/dist/actions/get-payment.mjs +14 -14
  246. package/dist/actions/get-payment.mjs.map +1 -1
  247. package/dist/actions/get-payments-refund.cjs +3 -3
  248. package/dist/actions/get-payments-refund.cjs.map +1 -1
  249. package/dist/actions/get-payments-refund.d.cts +16 -4
  250. package/dist/actions/get-payments-refund.d.mts +16 -4
  251. package/dist/actions/get-payments-refund.mjs +3 -3
  252. package/dist/actions/get-payments-refund.mjs.map +1 -1
  253. package/dist/actions/get-plan.cjs +11 -11
  254. package/dist/actions/get-plan.cjs.map +1 -1
  255. package/dist/actions/get-plan.d.cts +24 -12
  256. package/dist/actions/get-plan.d.mts +24 -12
  257. package/dist/actions/get-plan.mjs +11 -11
  258. package/dist/actions/get-plan.mjs.map +1 -1
  259. package/dist/actions/get-product.cjs +2 -2
  260. package/dist/actions/get-product.cjs.map +1 -1
  261. package/dist/actions/get-product.d.cts +15 -3
  262. package/dist/actions/get-product.d.mts +15 -3
  263. package/dist/actions/get-product.mjs +2 -2
  264. package/dist/actions/get-product.mjs.map +1 -1
  265. package/dist/actions/get-subscription.cjs +10 -10
  266. package/dist/actions/get-subscription.cjs.map +1 -1
  267. package/dist/actions/get-subscription.d.cts +26 -14
  268. package/dist/actions/get-subscription.d.mts +26 -14
  269. package/dist/actions/get-subscription.mjs +10 -10
  270. package/dist/actions/get-subscription.mjs.map +1 -1
  271. package/dist/actions/get-user-info.cjs +3 -3
  272. package/dist/actions/get-user-info.cjs.map +1 -1
  273. package/dist/actions/get-user-info.d.cts +16 -4
  274. package/dist/actions/get-user-info.d.mts +16 -4
  275. package/dist/actions/get-user-info.mjs +3 -3
  276. package/dist/actions/get-user-info.mjs.map +1 -1
  277. package/dist/actions/get-userinfo.cjs +3 -3
  278. package/dist/actions/get-userinfo.cjs.map +1 -1
  279. package/dist/actions/get-userinfo.d.cts +16 -4
  280. package/dist/actions/get-userinfo.d.mts +16 -4
  281. package/dist/actions/get-userinfo.mjs +3 -3
  282. package/dist/actions/get-userinfo.mjs.map +1 -1
  283. package/dist/actions/get-web-profile.cjs +4 -4
  284. package/dist/actions/get-web-profile.cjs.map +1 -1
  285. package/dist/actions/get-web-profile.d.cts +17 -5
  286. package/dist/actions/get-web-profile.d.mts +17 -5
  287. package/dist/actions/get-web-profile.mjs +4 -4
  288. package/dist/actions/get-web-profile.mjs.map +1 -1
  289. package/dist/actions/get-webhook-lookup.cjs +2 -2
  290. package/dist/actions/get-webhook-lookup.cjs.map +1 -1
  291. package/dist/actions/get-webhook-lookup.d.cts +15 -3
  292. package/dist/actions/get-webhook-lookup.d.mts +15 -3
  293. package/dist/actions/get-webhook-lookup.mjs +2 -2
  294. package/dist/actions/get-webhook-lookup.mjs.map +1 -1
  295. package/dist/actions/get-webhook.cjs +4 -4
  296. package/dist/actions/get-webhook.cjs.map +1 -1
  297. package/dist/actions/get-webhook.d.cts +17 -5
  298. package/dist/actions/get-webhook.d.mts +17 -5
  299. package/dist/actions/get-webhook.mjs +4 -4
  300. package/dist/actions/get-webhook.mjs.map +1 -1
  301. package/dist/actions/list-disputes.cjs +5 -5
  302. package/dist/actions/list-disputes.cjs.map +1 -1
  303. package/dist/actions/list-disputes.d.cts +19 -7
  304. package/dist/actions/list-disputes.d.mts +19 -7
  305. package/dist/actions/list-disputes.mjs +5 -5
  306. package/dist/actions/list-disputes.mjs.map +1 -1
  307. package/dist/actions/list-invoices.cjs +15 -15
  308. package/dist/actions/list-invoices.cjs.map +1 -1
  309. package/dist/actions/list-invoices.d.cts +32 -20
  310. package/dist/actions/list-invoices.d.mts +32 -20
  311. package/dist/actions/list-invoices.mjs +15 -15
  312. package/dist/actions/list-invoices.mjs.map +1 -1
  313. package/dist/actions/list-legacy-billing-plans.cjs +7 -7
  314. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
  315. package/dist/actions/list-legacy-billing-plans.d.cts +22 -10
  316. package/dist/actions/list-legacy-billing-plans.d.mts +22 -10
  317. package/dist/actions/list-legacy-billing-plans.mjs +7 -7
  318. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
  319. package/dist/actions/list-payments.cjs +20 -20
  320. package/dist/actions/list-payments.cjs.map +1 -1
  321. package/dist/actions/list-payments.d.cts +40 -28
  322. package/dist/actions/list-payments.d.mts +40 -28
  323. package/dist/actions/list-payments.mjs +20 -20
  324. package/dist/actions/list-payments.mjs.map +1 -1
  325. package/dist/actions/list-plans.cjs +8 -8
  326. package/dist/actions/list-plans.cjs.map +1 -1
  327. package/dist/actions/list-plans.d.cts +22 -10
  328. package/dist/actions/list-plans.d.mts +22 -10
  329. package/dist/actions/list-plans.mjs +8 -8
  330. package/dist/actions/list-plans.mjs.map +1 -1
  331. package/dist/actions/list-products.cjs +3 -3
  332. package/dist/actions/list-products.cjs.map +1 -1
  333. package/dist/actions/list-products.d.cts +17 -5
  334. package/dist/actions/list-products.d.mts +17 -5
  335. package/dist/actions/list-products.mjs +3 -3
  336. package/dist/actions/list-products.mjs.map +1 -1
  337. package/dist/actions/list-templates.cjs +8 -8
  338. package/dist/actions/list-templates.cjs.map +1 -1
  339. package/dist/actions/list-templates.d.cts +22 -10
  340. package/dist/actions/list-templates.d.mts +22 -10
  341. package/dist/actions/list-templates.mjs +8 -8
  342. package/dist/actions/list-templates.mjs.map +1 -1
  343. package/dist/actions/list-web-profiles.cjs +6 -6
  344. package/dist/actions/list-web-profiles.cjs.map +1 -1
  345. package/dist/actions/list-web-profiles.d.cts +19 -7
  346. package/dist/actions/list-web-profiles.d.mts +19 -7
  347. package/dist/actions/list-web-profiles.mjs +6 -6
  348. package/dist/actions/list-web-profiles.mjs.map +1 -1
  349. package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
  350. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
  351. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -4
  352. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -4
  353. package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
  354. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
  355. package/dist/actions/list-webhook-event-types.cjs +3 -3
  356. package/dist/actions/list-webhook-event-types.cjs.map +1 -1
  357. package/dist/actions/list-webhook-event-types.d.cts +16 -4
  358. package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
  359. package/dist/actions/list-webhook-event-types.d.mts +16 -4
  360. package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
  361. package/dist/actions/list-webhook-event-types.mjs +3 -3
  362. package/dist/actions/list-webhook-event-types.mjs.map +1 -1
  363. package/dist/actions/list-webhook-lookups.cjs +3 -3
  364. package/dist/actions/list-webhook-lookups.cjs.map +1 -1
  365. package/dist/actions/list-webhook-lookups.d.cts +16 -4
  366. package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
  367. package/dist/actions/list-webhook-lookups.d.mts +16 -4
  368. package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
  369. package/dist/actions/list-webhook-lookups.mjs +3 -3
  370. package/dist/actions/list-webhook-lookups.mjs.map +1 -1
  371. package/dist/actions/list-webhooks.cjs +2 -2
  372. package/dist/actions/list-webhooks.cjs.map +1 -1
  373. package/dist/actions/list-webhooks.d.cts +15 -3
  374. package/dist/actions/list-webhooks.d.mts +15 -3
  375. package/dist/actions/list-webhooks.mjs +2 -2
  376. package/dist/actions/list-webhooks.mjs.map +1 -1
  377. package/dist/actions/patch-orders.cjs +2 -2
  378. package/dist/actions/patch-orders.cjs.map +1 -1
  379. package/dist/actions/patch-orders.d.cts +16 -3
  380. package/dist/actions/patch-orders.d.cts.map +1 -1
  381. package/dist/actions/patch-orders.d.mts +16 -3
  382. package/dist/actions/patch-orders.d.mts.map +1 -1
  383. package/dist/actions/patch-orders.mjs +2 -2
  384. package/dist/actions/patch-orders.mjs.map +1 -1
  385. package/dist/actions/patch-plan.cjs +2 -2
  386. package/dist/actions/patch-plan.cjs.map +1 -1
  387. package/dist/actions/patch-plan.d.cts +16 -3
  388. package/dist/actions/patch-plan.d.mts +16 -3
  389. package/dist/actions/patch-plan.mjs +2 -2
  390. package/dist/actions/patch-plan.mjs.map +1 -1
  391. package/dist/actions/patch-subscription.cjs +3 -3
  392. package/dist/actions/patch-subscription.cjs.map +1 -1
  393. package/dist/actions/patch-subscription.d.cts +17 -4
  394. package/dist/actions/patch-subscription.d.cts.map +1 -1
  395. package/dist/actions/patch-subscription.d.mts +17 -4
  396. package/dist/actions/patch-subscription.d.mts.map +1 -1
  397. package/dist/actions/patch-subscription.mjs +3 -3
  398. package/dist/actions/patch-subscription.mjs.map +1 -1
  399. package/dist/actions/patch-web-profile.cjs +2 -2
  400. package/dist/actions/patch-web-profile.cjs.map +1 -1
  401. package/dist/actions/patch-web-profile.d.cts +16 -3
  402. package/dist/actions/patch-web-profile.d.cts.map +1 -1
  403. package/dist/actions/patch-web-profile.d.mts +16 -3
  404. package/dist/actions/patch-web-profile.d.mts.map +1 -1
  405. package/dist/actions/patch-web-profile.mjs +2 -2
  406. package/dist/actions/patch-web-profile.mjs.map +1 -1
  407. package/dist/actions/ping-braintree.cjs +2 -2
  408. package/dist/actions/ping-braintree.cjs.map +1 -1
  409. package/dist/actions/ping-braintree.d.cts +15 -3
  410. package/dist/actions/ping-braintree.d.cts.map +1 -1
  411. package/dist/actions/ping-braintree.d.mts +15 -3
  412. package/dist/actions/ping-braintree.d.mts.map +1 -1
  413. package/dist/actions/ping-braintree.mjs +2 -2
  414. package/dist/actions/ping-braintree.mjs.map +1 -1
  415. package/dist/actions/query-braintree-report.cjs +4 -4
  416. package/dist/actions/query-braintree-report.cjs.map +1 -1
  417. package/dist/actions/query-braintree-report.d.cts +17 -5
  418. package/dist/actions/query-braintree-report.d.mts +17 -5
  419. package/dist/actions/query-braintree-report.mjs +4 -4
  420. package/dist/actions/query-braintree-report.mjs.map +1 -1
  421. package/dist/actions/retrieve-payment-resource.cjs +11 -11
  422. package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
  423. package/dist/actions/retrieve-payment-resource.d.cts +25 -13
  424. package/dist/actions/retrieve-payment-resource.d.mts +25 -13
  425. package/dist/actions/retrieve-payment-resource.mjs +11 -11
  426. package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
  427. package/dist/actions/search-invoices.cjs +11 -11
  428. package/dist/actions/search-invoices.cjs.map +1 -1
  429. package/dist/actions/search-invoices.d.cts +28 -16
  430. package/dist/actions/search-invoices.d.mts +28 -16
  431. package/dist/actions/search-invoices.mjs +11 -11
  432. package/dist/actions/search-invoices.mjs.map +1 -1
  433. package/dist/actions/send-invoice.cjs +2 -2
  434. package/dist/actions/send-invoice.cjs.map +1 -1
  435. package/dist/actions/send-invoice.d.cts +15 -3
  436. package/dist/actions/send-invoice.d.mts +15 -3
  437. package/dist/actions/send-invoice.mjs +2 -2
  438. package/dist/actions/send-invoice.mjs.map +1 -1
  439. package/dist/actions/simulate-webhook-event.cjs +4 -4
  440. package/dist/actions/simulate-webhook-event.cjs.map +1 -1
  441. package/dist/actions/simulate-webhook-event.d.cts +17 -5
  442. package/dist/actions/simulate-webhook-event.d.mts +17 -5
  443. package/dist/actions/simulate-webhook-event.mjs +4 -4
  444. package/dist/actions/simulate-webhook-event.mjs.map +1 -1
  445. package/dist/actions/update-dispute.cjs +3 -3
  446. package/dist/actions/update-dispute.cjs.map +1 -1
  447. package/dist/actions/update-dispute.d.cts +17 -4
  448. package/dist/actions/update-dispute.d.mts +17 -4
  449. package/dist/actions/update-dispute.mjs +3 -3
  450. package/dist/actions/update-dispute.mjs.map +1 -1
  451. package/dist/actions/update-invoice.cjs +34 -34
  452. package/dist/actions/update-invoice.cjs.map +1 -1
  453. package/dist/actions/update-invoice.d.cts +67 -49
  454. package/dist/actions/update-invoice.d.cts.map +1 -1
  455. package/dist/actions/update-invoice.d.mts +67 -49
  456. package/dist/actions/update-invoice.d.mts.map +1 -1
  457. package/dist/actions/update-invoice.mjs +34 -34
  458. package/dist/actions/update-invoice.mjs.map +1 -1
  459. package/dist/actions/update-pay-pal-product.cjs +2 -2
  460. package/dist/actions/update-pay-pal-product.cjs.map +1 -1
  461. package/dist/actions/update-pay-pal-product.d.cts +16 -3
  462. package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
  463. package/dist/actions/update-pay-pal-product.d.mts +16 -3
  464. package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
  465. package/dist/actions/update-pay-pal-product.mjs +2 -2
  466. package/dist/actions/update-pay-pal-product.mjs.map +1 -1
  467. package/dist/actions/update-pay-pal-webhook.cjs +4 -4
  468. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
  469. package/dist/actions/update-pay-pal-webhook.d.cts +18 -5
  470. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
  471. package/dist/actions/update-pay-pal-webhook.d.mts +18 -5
  472. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
  473. package/dist/actions/update-pay-pal-webhook.mjs +4 -4
  474. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
  475. package/dist/actions/update-templates.cjs +39 -39
  476. package/dist/actions/update-templates.cjs.map +1 -1
  477. package/dist/actions/update-templates.d.cts +78 -57
  478. package/dist/actions/update-templates.d.mts +78 -57
  479. package/dist/actions/update-templates.mjs +39 -39
  480. package/dist/actions/update-templates.mjs.map +1 -1
  481. package/dist/actions/update-web-profile.cjs +2 -2
  482. package/dist/actions/update-web-profile.cjs.map +1 -1
  483. package/dist/actions/update-web-profile.d.cts +15 -3
  484. package/dist/actions/update-web-profile.d.mts +15 -3
  485. package/dist/actions/update-web-profile.mjs +2 -2
  486. package/dist/actions/update-web-profile.mjs.map +1 -1
  487. package/dist/actions/verify-payment-method.cjs +2 -2
  488. package/dist/actions/verify-payment-method.cjs.map +1 -1
  489. package/dist/actions/verify-payment-method.d.cts +15 -3
  490. package/dist/actions/verify-payment-method.d.mts +15 -3
  491. package/dist/actions/verify-payment-method.mjs +2 -2
  492. package/dist/actions/verify-payment-method.mjs.map +1 -1
  493. package/dist/actions/verify-webhook-signature.cjs +1 -1
  494. package/dist/actions/verify-webhook-signature.cjs.map +1 -1
  495. package/dist/actions/verify-webhook-signature.d.cts +14 -2
  496. package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
  497. package/dist/actions/verify-webhook-signature.d.mts +14 -2
  498. package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
  499. package/dist/actions/verify-webhook-signature.mjs +1 -1
  500. package/dist/actions/verify-webhook-signature.mjs.map +1 -1
  501. package/dist/app.cjs +5 -2
  502. package/dist/app.cjs.map +1 -1
  503. package/dist/app.d.cts +9 -1
  504. package/dist/app.d.cts.map +1 -1
  505. package/dist/app.d.mts +9 -1
  506. package/dist/app.d.mts.map +1 -1
  507. package/dist/app.mjs +3 -1
  508. package/dist/app.mjs.map +1 -1
  509. package/package.json +1 -1
@@ -22,13 +22,13 @@ const PaypalPatchSubscriptionInput = z.object({
22
22
  z.array(z.unknown()),
23
23
  z.record(z.string(), z.unknown())
24
24
  ]).optional()
25
- }).describe("A single JSON Patch operation to apply partial updates to the subscription.")).describe("Array of JSON Patch operations to apply to the subscription. Each operation is applied in order.")
25
+ }).passthrough().describe("A single JSON Patch operation to apply partial updates to the subscription.")).describe("Array of JSON Patch operations to apply to the subscription. Each operation is applied in order.")
26
26
  }).describe("Request to update a PayPal subscription using JSON Patch operations.");
27
27
  const PaypalPatchSubscription_PatchSubscriptionErrorDetailSchema = z.object({
28
28
  field: z.string().describe("Field that caused the error").nullable().optional(),
29
29
  issue: z.string().describe("Issue description").nullable().optional(),
30
30
  description: z.string().describe("Error description").nullable().optional()
31
- }).describe("Error detail structure for error responses.");
31
+ }).passthrough().describe("Error detail structure for error responses.");
32
32
  const paypalPatchSubscription = action("PAYPAL_PATCH_SUBSCRIPTION", {
33
33
  slug: "paypal-patch-subscription",
34
34
  name: "Update Subscription",
@@ -40,7 +40,7 @@ const paypalPatchSubscription = action("PAYPAL_PATCH_SUBSCRIPTION", {
40
40
  message: z.string().describe("Status message or error description").nullable(),
41
41
  success: z.boolean().describe("Whether the patch operation succeeded").nullable(),
42
42
  debug_id: z.string().describe("PayPal debug ID for troubleshooting").nullable().optional()
43
- }).describe("Response model for subscription patch operations.\n\nOn success (HTTP 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.")
43
+ }).passthrough().describe("Response model for subscription patch operations.\n\nOn success (HTTP 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.")
44
44
  });
45
45
  //#endregion
46
46
  export { paypalPatchSubscription };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-subscription.mjs","names":[],"sources":["../../src/actions/patch-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchSubscriptionInput = z.object({\n id: z.string().describe(\"The ID of the subscription to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply partial updates to the subscription.\")).describe(\"Array of JSON Patch operations to apply to the subscription. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal subscription using JSON Patch operations.\");\nconst PaypalPatchSubscription_PatchSubscriptionErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).describe(\"Error detail structure for error responses.\");\nexport const PaypalPatchSubscriptionOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalPatchSubscription_PatchSubscriptionErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n}).describe(\"Response model for subscription patch operations.\\n\\nOn success (HTTP 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalPatchSubscription = action(\"PAYPAL_PATCH_SUBSCRIPTION\", {\n slug: \"paypal-patch-subscription\",\n name: \"Update Subscription\",\n description: \"Update a PayPal subscription using JSON Patch operations. Use when you need to modify specific fields of an existing subscription such as custom_id, billing_token, shipping_address, or other patchable properties. This action applies partial updates to the subscription using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order.\",\n input: PaypalPatchSubscriptionInput,\n output: PaypalPatchSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AACvM,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,6DAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AASzD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,uLAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-subscription.mjs","names":[],"sources":["../../src/actions/patch-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchSubscriptionInput = z.object({\n id: z.string().describe(\"The ID of the subscription to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply partial updates to the subscription.\")).describe(\"Array of JSON Patch operations to apply to the subscription. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal subscription using JSON Patch operations.\");\nconst PaypalPatchSubscription_PatchSubscriptionErrorDetailSchema = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).passthrough().describe(\"Error detail structure for error responses.\");\nexport const PaypalPatchSubscriptionOutput = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalPatchSubscription_PatchSubscriptionErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\").nullable(),\n success: z.boolean().describe(\"Whether the patch operation succeeded\").nullable(),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n}).passthrough().describe(\"Response model for subscription patch operations.\\n\\nOn success (HTTP 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalPatchSubscription = action(\"PAYPAL_PATCH_SUBSCRIPTION\", {\n slug: \"paypal-patch-subscription\",\n name: \"Update Subscription\",\n description: \"Update a PayPal subscription using JSON Patch operations. Use when you need to modify specific fields of an existing subscription such as custom_id, billing_token, shipping_address, or other patchable properties. This action applies partial updates to the subscription using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order.\",\n input: PaypalPatchSubscriptionInput,\n output: PaypalPatchSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,CAAC,SAAS,kGAAkG;AACrN,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,6DAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AASvE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC7E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uLAOhB;AACV,CAAC"}
@@ -22,12 +22,12 @@ const PaypalPatchWebProfileInput = zod.z.object({
22
22
  zod.z.array(zod.z.unknown()),
23
23
  zod.z.record(zod.z.string(), zod.z.unknown())
24
24
  ]).optional()
25
- }).describe("A single JSON Patch operation to apply to the web experience profile.")).describe("An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.")
25
+ }).passthrough().describe("A single JSON Patch operation to apply to the web experience profile.")).describe("An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.")
26
26
  }).describe("Request to partially update a PayPal web experience profile using JSON Patch.");
27
27
  const PaypalPatchWebProfileOutput = zod.z.object({
28
28
  success: zod.z.boolean().default(true).describe("Indicates whether the web experience profile update was successful.").nullable().optional(),
29
29
  profile_id: zod.z.string().describe("The ID of the web experience profile that was updated.").nullable().optional()
30
- }).describe("Response from partially updating a PayPal web experience profile.");
30
+ }).passthrough().describe("Response from partially updating a PayPal web experience profile.");
31
31
  const paypalPatchWebProfile = require_action.action("PAYPAL_PATCH_WEB_PROFILE", {
32
32
  slug: "paypal-patch-web-profile",
33
33
  name: "Update web experience profile (partial)",
@@ -1 +1 @@
1
- {"version":3,"file":"patch-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/patch-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchWebProfileInput = z.object({\n id: z.string().describe(\"The unique web experience profile ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the web experience profile (e.g., '/name', '/presentation/logo_url'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply to the web experience profile.\")).describe(\"An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal web experience profile using JSON Patch.\");\nexport const PaypalPatchWebProfileOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the web experience profile update was successful.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the web experience profile that was updated.\").nullable().optional(),\n}).describe(\"Response from partially updating a PayPal web experience profile.\");\n\nexport const paypalPatchWebProfile = action(\"PAYPAL_PATCH_WEB_PROFILE\", {\n slug: \"paypal-patch-web-profile\",\n name: \"Update web experience profile (partial)\",\n description: \"Partially updates a PayPal web experience profile using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a web experience profile without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the web experience profile. Common use cases include updating the profile name, presentation settings, flow configuration, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchWebProfileInput,\n output: PaypalPatchWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EAC9L,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,CAAC,SAAS,6JAA6J;AAC5P,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAE/E,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"patch-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/patch-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchWebProfileInput = z.object({\n id: z.string().describe(\"The unique web experience profile ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the web experience profile (e.g., '/name', '/presentation/logo_url'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the web experience profile.\")).describe(\"An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal web experience profile using JSON Patch.\");\nexport const PaypalPatchWebProfileOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the web experience profile update was successful.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the web experience profile that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal web experience profile.\");\n\nexport const paypalPatchWebProfile = action(\"PAYPAL_PATCH_WEB_PROFILE\", {\n slug: \"paypal-patch-web-profile\",\n name: \"Update web experience profile (partial)\",\n description: \"Partially updates a PayPal web experience profile using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a web experience profile without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the web experience profile. Common use cases include updating the profile name, presentation settings, flow configuration, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchWebProfileInput,\n output: PaypalPatchWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EAC9L,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,CAAC,SAAS,6JAA6J;AAC1Q,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,21 +15,34 @@ declare const PaypalPatchWebProfileInput: z.ZodObject<{
15
15
  from: z.ZodOptional<z.ZodString>;
16
16
  path: z.ZodString;
17
17
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const PaypalPatchWebProfileOutput: z.ZodObject<{
21
21
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
22
22
  profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const paypalPatchWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  patches: {
27
+ [x: string]: unknown;
27
28
  op: "replace" | "add" | "remove" | "move" | "copy" | "test";
28
29
  path: string;
29
30
  from?: string | undefined;
30
31
  value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
31
32
  }[];
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
33
46
  //#endregion
34
47
  export { paypalPatchWebProfile };
35
48
  //# sourceMappingURL=patch-web-profile.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-web-profile.d.cts","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;;;wCAMhC,MAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"patch-web-profile.d.cts","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -15,21 +15,34 @@ declare const PaypalPatchWebProfileInput: z.ZodObject<{
15
15
  from: z.ZodOptional<z.ZodString>;
16
16
  path: z.ZodString;
17
17
  value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
18
- }, z.core.$strip>>;
18
+ }, z.core.$loose>>;
19
19
  }, z.core.$strip>;
20
20
  declare const PaypalPatchWebProfileOutput: z.ZodObject<{
21
21
  success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
22
22
  profile_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- }, z.core.$strip>;
23
+ }, z.core.$loose>;
24
24
  declare const paypalPatchWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  id: string;
26
26
  patches: {
27
+ [x: string]: unknown;
27
28
  op: "replace" | "add" | "remove" | "move" | "copy" | "test";
28
29
  path: string;
29
30
  from?: string | undefined;
30
31
  value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
31
32
  }[];
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
33
46
  //#endregion
34
47
  export { paypalPatchWebProfile };
35
48
  //# sourceMappingURL=patch-web-profile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patch-web-profile.d.mts","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA;;;;;;wCAMhC,MAAA;EAAA;AAAA"}
1
+ {"version":3,"file":"patch-web-profile.d.mts","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -25,12 +25,12 @@ const paypalPatchWebProfile = action("PAYPAL_PATCH_WEB_PROFILE", {
25
25
  z.array(z.unknown()),
26
26
  z.record(z.string(), z.unknown())
27
27
  ]).optional()
28
- }).describe("A single JSON Patch operation to apply to the web experience profile.")).describe("An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.")
28
+ }).passthrough().describe("A single JSON Patch operation to apply to the web experience profile.")).describe("An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.")
29
29
  }).describe("Request to partially update a PayPal web experience profile using JSON Patch."),
30
30
  output: z.object({
31
31
  success: z.boolean().default(true).describe("Indicates whether the web experience profile update was successful.").nullable().optional(),
32
32
  profile_id: z.string().describe("The ID of the web experience profile that was updated.").nullable().optional()
33
- }).describe("Response from partially updating a PayPal web experience profile.")
33
+ }).passthrough().describe("Response from partially updating a PayPal web experience profile.")
34
34
  });
35
35
  //#endregion
36
36
  export { paypalPatchWebProfile };
@@ -1 +1 @@
1
- {"version":3,"file":"patch-web-profile.mjs","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchWebProfileInput = z.object({\n id: z.string().describe(\"The unique web experience profile ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the web experience profile (e.g., '/name', '/presentation/logo_url'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).describe(\"A single JSON Patch operation to apply to the web experience profile.\")).describe(\"An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal web experience profile using JSON Patch.\");\nexport const PaypalPatchWebProfileOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the web experience profile update was successful.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the web experience profile that was updated.\").nullable().optional(),\n}).describe(\"Response from partially updating a PayPal web experience profile.\");\n\nexport const paypalPatchWebProfile = action(\"PAYPAL_PATCH_WEB_PROFILE\", {\n slug: \"paypal-patch-web-profile\",\n name: \"Update web experience profile (partial)\",\n description: \"Partially updates a PayPal web experience profile using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a web experience profile without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the web experience profile. Common use cases include updating the profile name, presentation settings, flow configuration, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchWebProfileInput,\n output: PaypalPatchWebProfileOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;GAC9L,OAAO,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;IAAG,EAAE,QAAQ;IAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;IAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAC,CAAC,CAAC,CAAC,SAAS;EAC5I,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,CAAC,SAAS,6JAA6J;CAC5P,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"patch-web-profile.mjs","names":[],"sources":["../../src/actions/patch-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchWebProfileInput = z.object({\n id: z.string().describe(\"The unique web experience profile ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the web experience profile (e.g., '/name', '/presentation/logo_url'). Use forward slash as separator per RFC 6901.\"),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the web experience profile.\")).describe(\"An array of JSON Patch operations to apply to the web experience profile. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal web experience profile using JSON Patch.\");\nexport const PaypalPatchWebProfileOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the web experience profile update was successful.\").nullable().optional(),\n profile_id: z.string().describe(\"The ID of the web experience profile that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal web experience profile.\");\n\nexport const paypalPatchWebProfile = action(\"PAYPAL_PATCH_WEB_PROFILE\", {\n slug: \"paypal-patch-web-profile\",\n name: \"Update web experience profile (partial)\",\n description: \"Partially updates a PayPal web experience profile using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a web experience profile without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the web experience profile. Common use cases include updating the profile name, presentation settings, flow configuration, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchWebProfileInput,\n output: PaypalPatchWebProfileOutput,\n});\n"],"mappings":";;AAkBA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;GAC9L,OAAO,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;IAAG,EAAE,QAAQ;IAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;IAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAC,CAAC,CAAC,CAAC,SAAS;EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,CAAC,SAAS,6JAA6J;CAC1Q,CAAC,CAAC,CAAC,SAAS,+EAUH;CACP,QAVyC,EAAE,OAAO;EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/ping-braintree.ts
4
4
  const PaypalPingBraintreeInput = zod.z.object({}).describe("Request model for the Braintree ping query.\n\nThis endpoint does not require any request parameters. It is a simple\nhealth check endpoint that verifies API connectivity to the Braintree\nGraphQL API by confirming the server responds with the expected \"pong\" response.");
5
5
  const PaypalPingBraintreeOutput = zod.z.object({
6
- data: zod.z.object({}).describe("The data object containing the ping response.").nullable().optional(),
6
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The data object containing the ping response.").nullable().optional(),
7
7
  ping: zod.z.string().describe("The literal string 'pong' returned by the server.").nullable().optional()
8
- }).describe("Response model for the Braintree ping query.");
8
+ }).passthrough().describe("Response model for the Braintree ping query.");
9
9
  const paypalPingBraintree = require_action.action("PAYPAL_PING_BRAINTREE", {
10
10
  slug: "paypal-ping-braintree",
11
11
  name: "Braintree Ping",
@@ -1 +1 @@
1
- {"version":3,"file":"ping-braintree.cjs","names":["z","action"],"sources":["../../src/actions/ping-braintree.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPingBraintreeInput = z.object({}).describe(\"Request model for the Braintree ping query.\\n\\nThis endpoint does not require any request parameters. It is a simple\\nhealth check endpoint that verifies API connectivity to the Braintree\\nGraphQL API by confirming the server responds with the expected \\\"pong\\\" response.\");\nexport const PaypalPingBraintreeOutput = z.object({\n data: z.object({}).describe(\"The data object containing the ping response.\").nullable().optional(),\n ping: z.string().describe(\"The literal string 'pong' returned by the server.\").nullable().optional(),\n}).describe(\"Response model for the Braintree ping query.\");\n\nexport const paypalPingBraintree = action(\"PAYPAL_PING_BRAINTREE\", {\n slug: \"paypal-ping-braintree\",\n name: \"Braintree Ping\",\n description: \"Sends a ping query to the PayPal Braintree GraphQL API. Use when you need to verify connectivity and authentication status with the Braintree GraphQL endpoint. Returns the literal string 'pong' on successful connection. This is a simple health check endpoint for verifying API connectivity. The ping operation does not modify any data and is idempotent.\",\n input: PaypalPingBraintreeInput,\n output: PaypalPingBraintreeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iRAAiR;AAC/U,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"ping-braintree.cjs","names":["z","action"],"sources":["../../src/actions/ping-braintree.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPingBraintreeInput = z.object({}).describe(\"Request model for the Braintree ping query.\\n\\nThis endpoint does not require any request parameters. It is a simple\\nhealth check endpoint that verifies API connectivity to the Braintree\\nGraphQL API by confirming the server responds with the expected \\\"pong\\\" response.\");\nexport const PaypalPingBraintreeOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The data object containing the ping response.\").nullable().optional(),\n ping: z.string().describe(\"The literal string 'pong' returned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Braintree ping query.\");\n\nexport const paypalPingBraintree = action(\"PAYPAL_PING_BRAINTREE\", {\n slug: \"paypal-ping-braintree\",\n name: \"Braintree Ping\",\n description: \"Sends a ping query to the PayPal Braintree GraphQL API. Use when you need to verify connectivity and authentication status with the Braintree GraphQL endpoint. Returns the literal string 'pong' on successful connection. This is a simple health check endpoint for verifying API connectivity. The ping operation does not modify any data and is idempotent.\",\n input: PaypalPingBraintreeInput,\n output: PaypalPingBraintreeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iRAAiR;AAC/U,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,10 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/ping-braintree.d.ts
4
4
  declare const PaypalPingBraintreeInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PaypalPingBraintreeOutput: z.ZodObject<{
6
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
6
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7
7
  ping: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- }, z.core.$strip>;
9
- declare const paypalPingBraintree: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ }, z.core.$loose>;
9
+ declare const paypalPingBraintree: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
10
+ connectionId: z.ZodString;
11
+ entityId: z.ZodString;
12
+ instanceId: z.ZodString;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ accessToken: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>;
10
22
  //#endregion
11
23
  export { paypalPingBraintree };
12
24
  //# sourceMappingURL=ping-braintree.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ping-braintree.d.cts","names":[],"sources":["../../src/actions/ping-braintree.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ping-braintree.d.cts","names":[],"sources":["../../src/actions/ping-braintree.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -3,10 +3,22 @@ import { z } from "zod";
3
3
  //#region src/actions/ping-braintree.d.ts
4
4
  declare const PaypalPingBraintreeInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const PaypalPingBraintreeOutput: z.ZodObject<{
6
- data: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
6
+ data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
7
7
  ping: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- }, z.core.$strip>;
9
- declare const paypalPingBraintree: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
8
+ }, z.core.$loose>;
9
+ declare const paypalPingBraintree: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
10
+ connectionId: z.ZodString;
11
+ entityId: z.ZodString;
12
+ instanceId: z.ZodString;
13
+ }, z.core.$strip>, z.ZodObject<{
14
+ accessToken: z.ZodString;
15
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>;
10
22
  //#endregion
11
23
  export { paypalPingBraintree };
12
24
  //# sourceMappingURL=ping-braintree.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ping-braintree.d.mts","names":[],"sources":["../../src/actions/ping-braintree.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"ping-braintree.d.mts","names":[],"sources":["../../src/actions/ping-braintree.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
@@ -6,9 +6,9 @@ const paypalPingBraintree = action("PAYPAL_PING_BRAINTREE", {
6
6
  description: "Sends a ping query to the PayPal Braintree GraphQL API. Use when you need to verify connectivity and authentication status with the Braintree GraphQL endpoint. Returns the literal string 'pong' on successful connection. This is a simple health check endpoint for verifying API connectivity. The ping operation does not modify any data and is idempotent.",
7
7
  input: z.object({}).describe("Request model for the Braintree ping query.\n\nThis endpoint does not require any request parameters. It is a simple\nhealth check endpoint that verifies API connectivity to the Braintree\nGraphQL API by confirming the server responds with the expected \"pong\" response."),
8
8
  output: z.object({
9
- data: z.object({}).describe("The data object containing the ping response.").nullable().optional(),
9
+ data: z.record(z.string(), z.unknown()).describe("The data object containing the ping response.").nullable().optional(),
10
10
  ping: z.string().describe("The literal string 'pong' returned by the server.").nullable().optional()
11
- }).describe("Response model for the Braintree ping query.")
11
+ }).passthrough().describe("Response model for the Braintree ping query.")
12
12
  });
13
13
  //#endregion
14
14
  export { paypalPingBraintree };
@@ -1 +1 @@
1
- {"version":3,"file":"ping-braintree.mjs","names":[],"sources":["../../src/actions/ping-braintree.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPingBraintreeInput = z.object({}).describe(\"Request model for the Braintree ping query.\\n\\nThis endpoint does not require any request parameters. It is a simple\\nhealth check endpoint that verifies API connectivity to the Braintree\\nGraphQL API by confirming the server responds with the expected \\\"pong\\\" response.\");\nexport const PaypalPingBraintreeOutput = z.object({\n data: z.object({}).describe(\"The data object containing the ping response.\").nullable().optional(),\n ping: z.string().describe(\"The literal string 'pong' returned by the server.\").nullable().optional(),\n}).describe(\"Response model for the Braintree ping query.\");\n\nexport const paypalPingBraintree = action(\"PAYPAL_PING_BRAINTREE\", {\n slug: \"paypal-ping-braintree\",\n name: \"Braintree Ping\",\n description: \"Sends a ping query to the PayPal Braintree GraphQL API. Use when you need to verify connectivity and authentication status with the Braintree GraphQL endpoint. Returns the literal string 'pong' on successful connection. This is a simple health check endpoint for verifying API connectivity. The ping operation does not modify any data and is idempotent.\",\n input: PaypalPingBraintreeInput,\n output: PaypalPingBraintreeOutput,\n});\n"],"mappings":";;AAUA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iRAUrD;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"ping-braintree.mjs","names":[],"sources":["../../src/actions/ping-braintree.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPingBraintreeInput = z.object({}).describe(\"Request model for the Braintree ping query.\\n\\nThis endpoint does not require any request parameters. It is a simple\\nhealth check endpoint that verifies API connectivity to the Braintree\\nGraphQL API by confirming the server responds with the expected \\\"pong\\\" response.\");\nexport const PaypalPingBraintreeOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The data object containing the ping response.\").nullable().optional(),\n ping: z.string().describe(\"The literal string 'pong' returned by the server.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the Braintree ping query.\");\n\nexport const paypalPingBraintree = action(\"PAYPAL_PING_BRAINTREE\", {\n slug: \"paypal-ping-braintree\",\n name: \"Braintree Ping\",\n description: \"Sends a ping query to the PayPal Braintree GraphQL API. Use when you need to verify connectivity and authentication status with the Braintree GraphQL endpoint. Returns the literal string 'pong' on successful connection. This is a simple health check endpoint for verifying API connectivity. The ping operation does not modify any data and is idempotent.\",\n input: PaypalPingBraintreeInput,\n output: PaypalPingBraintreeOutput,\n});\n"],"mappings":";;AAUA,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iRAUrD;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -12,20 +12,20 @@ const PaypalQueryBraintreeReportInput = zod.z.object({
12
12
  ]).describe("The type of report to query. Each type has its own input parameters and response structure."),
13
13
  merchant_account_id: zod.z.string().describe("The merchant account ID to filter the report by. If not specified, uses the default merchant account.").optional()
14
14
  }).describe("Request schema for querying Braintree reports via GraphQL API.\n\nUse this action when you need to retrieve reports from Braintree, such as\ntransaction reports, dispute reports, or merchant funds availability.\nEach report type has its own input parameters and response structure.\n\nThe report field allows querying various report types by specifying the\nreport type and appropriate date range or filter parameters.");
15
- const PaypalQueryBraintreeReport_ReportResponseSchema = zod.z.object({ report: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The report data returned by the query. The structure varies depending on the report type requested.").nullable().optional() }).describe("Response schema for the report query.");
15
+ const PaypalQueryBraintreeReport_ReportResponseSchema = zod.z.object({ report: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The report data returned by the query. The structure varies depending on the report type requested.").nullable().optional() }).passthrough().describe("Response schema for the report query.");
16
16
  const PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = zod.z.object({
17
17
  line: zod.z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
18
18
  column: zod.z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
19
- }).describe("A location in the GraphQL query that caused an error.");
19
+ }).passthrough().describe("A location in the GraphQL query that caused an error.");
20
20
  const PaypalQueryBraintreeReport_GraphQLErrorSchema = zod.z.object({
21
21
  path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
22
22
  message: zod.z.string().describe("A human-readable error message describing the issue.").nullable(),
23
23
  locations: zod.z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
24
- }).describe("A GraphQL error returned by the API.");
24
+ }).passthrough().describe("A GraphQL error returned by the API.");
25
25
  const PaypalQueryBraintreeReportOutput = zod.z.object({
26
26
  data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),
27
27
  errors: zod.z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
28
- }).describe("Root response schema for GraphQL report query.");
28
+ }).passthrough().describe("Root response schema for GraphQL report query.");
29
29
  const paypalQueryBraintreeReport = require_action.action("PAYPAL_QUERY_BRAINTREE_REPORT", {
30
30
  slug: "paypal-query-braintree-report",
31
31
  name: "Query Braintree Report",
@@ -1 +1 @@
1
- {"version":3,"file":"query-braintree-report.cjs","names":["z","action"],"sources":["../../src/actions/query-braintree-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalQueryBraintreeReportInput = z.object({\n end_date: z.string().describe(\"The end date for the report query in ISO 8601 format (e.g., '2024-01-31'). Used for time-based reports.\").optional(),\n start_date: z.string().describe(\"The start date for the report query in ISO 8601 format (e.g., '2024-01-01'). Used for time-based reports.\").optional(),\n report_type: z.enum([\"transactionReport\", \"disputeReport\", \"merchantFundsAvailable\", \"transactionSettlementOutcomesReport\"]).describe(\"The type of report to query. Each type has its own input parameters and response structure.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to filter the report by. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"Request schema for querying Braintree reports via GraphQL API.\\n\\nUse this action when you need to retrieve reports from Braintree, such as\\ntransaction reports, dispute reports, or merchant funds availability.\\nEach report type has its own input parameters and response structure.\\n\\nThe report field allows querying various report types by specifying the\\nreport type and appropriate date range or filter parameters.\");\nconst PaypalQueryBraintreeReport_ReportResponseSchema = z.object({\n report: z.record(z.string(), z.unknown()).describe(\"The report data returned by the query. The structure varies depending on the report type requested.\").nullable().optional(),\n}).describe(\"Response schema for the report query.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalQueryBraintreeReportOutput = z.object({\n data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),\n errors: z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL report query.\");\n\nexport const paypalQueryBraintreeReport = action(\"PAYPAL_QUERY_BRAINTREE_REPORT\", {\n slug: \"paypal-query-braintree-report\",\n name: \"Query Braintree Report\",\n description: \"Queries Braintree reports via GraphQL API. Use this action when you need to retrieve reports from Braintree's GraphQL API, such as transaction reports, dispute reports, merchant funds availability, or transaction settlement outcomes. Each report type returns different data structures based on the specified report type and filter parameters. The report query provides access to various report types that can be queried with their own input parameters. This is a read-only operation that retrieves report data without modifying any records. Note: This action uses the Braintree GraphQL API endpoint at /graphql.\",\n input: PaypalQueryBraintreeReportInput,\n output: PaypalQueryBraintreeReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAqB;EAAiB;EAA0B;CAAqC,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACnO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,oaAAoa;AAChb,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-braintree-report.cjs","names":["z","action"],"sources":["../../src/actions/query-braintree-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalQueryBraintreeReportInput = z.object({\n end_date: z.string().describe(\"The end date for the report query in ISO 8601 format (e.g., '2024-01-31'). Used for time-based reports.\").optional(),\n start_date: z.string().describe(\"The start date for the report query in ISO 8601 format (e.g., '2024-01-01'). Used for time-based reports.\").optional(),\n report_type: z.enum([\"transactionReport\", \"disputeReport\", \"merchantFundsAvailable\", \"transactionSettlementOutcomesReport\"]).describe(\"The type of report to query. Each type has its own input parameters and response structure.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to filter the report by. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"Request schema for querying Braintree reports via GraphQL API.\\n\\nUse this action when you need to retrieve reports from Braintree, such as\\ntransaction reports, dispute reports, or merchant funds availability.\\nEach report type has its own input parameters and response structure.\\n\\nThe report field allows querying various report types by specifying the\\nreport type and appropriate date range or filter parameters.\");\nconst PaypalQueryBraintreeReport_ReportResponseSchema = z.object({\n report: z.record(z.string(), z.unknown()).describe(\"The report data returned by the query. The structure varies depending on the report type requested.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the report query.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error returned by the API.\");\nexport const PaypalQueryBraintreeReportOutput = z.object({\n data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),\n errors: z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).passthrough().describe(\"Root response schema for GraphQL report query.\");\n\nexport const paypalQueryBraintreeReport = action(\"PAYPAL_QUERY_BRAINTREE_REPORT\", {\n slug: \"paypal-query-braintree-report\",\n name: \"Query Braintree Report\",\n description: \"Queries Braintree reports via GraphQL API. Use this action when you need to retrieve reports from Braintree's GraphQL API, such as transaction reports, dispute reports, merchant funds availability, or transaction settlement outcomes. Each report type returns different data structures based on the specified report type and filter parameters. The report query provides access to various report types that can be queried with their own input parameters. This is a read-only operation that retrieves report data without modifying any records. Note: This action uses the Braintree GraphQL API endpoint at /graphql.\",\n input: PaypalQueryBraintreeReportInput,\n output: PaypalQueryBraintreeReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAqB;EAAiB;EAA0B;CAAqC,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACnO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,oaAAoa;AAChb,MAAM,kDAAkDA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wDAAwDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,22 +15,34 @@ declare const PaypalQueryBraintreeReportInput: z.ZodObject<{
15
15
  declare const PaypalQueryBraintreeReportOutput: z.ZodObject<{
16
16
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  report: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
21
21
  message: z.ZodNullable<z.ZodString>;
22
22
  locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>>>>;
26
- }, z.core.$strip>>>>;
27
- }, z.core.$strip>;
25
+ }, z.core.$loose>>>>;
26
+ }, z.core.$loose>>>>;
27
+ }, z.core.$loose>;
28
28
  declare const paypalQueryBraintreeReport: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  report_type: "transactionReport" | "disputeReport" | "merchantFundsAvailable" | "transactionSettlementOutcomesReport";
30
30
  end_date?: string | undefined;
31
31
  start_date?: string | undefined;
32
32
  merchant_account_id?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { paypalQueryBraintreeReport };
36
48
  //# sourceMappingURL=query-braintree-report.d.cts.map
@@ -15,22 +15,34 @@ declare const PaypalQueryBraintreeReportInput: z.ZodObject<{
15
15
  declare const PaypalQueryBraintreeReportOutput: z.ZodObject<{
16
16
  data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
17
17
  report: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
20
20
  path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
21
21
  message: z.ZodNullable<z.ZodString>;
22
22
  locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
23
23
  line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>>>>;
26
- }, z.core.$strip>>>>;
27
- }, z.core.$strip>;
25
+ }, z.core.$loose>>>>;
26
+ }, z.core.$loose>>>>;
27
+ }, z.core.$loose>;
28
28
  declare const paypalQueryBraintreeReport: import("@keystrokehq/action").WorkflowActionDefinition<{
29
29
  report_type: "transactionReport" | "disputeReport" | "merchantFundsAvailable" | "transactionSettlementOutcomesReport";
30
30
  end_date?: string | undefined;
31
31
  start_date?: string | undefined;
32
32
  merchant_account_id?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { paypalQueryBraintreeReport };
36
48
  //# sourceMappingURL=query-braintree-report.d.mts.map
@@ -12,16 +12,16 @@ const PaypalQueryBraintreeReportInput = z.object({
12
12
  ]).describe("The type of report to query. Each type has its own input parameters and response structure."),
13
13
  merchant_account_id: z.string().describe("The merchant account ID to filter the report by. If not specified, uses the default merchant account.").optional()
14
14
  }).describe("Request schema for querying Braintree reports via GraphQL API.\n\nUse this action when you need to retrieve reports from Braintree, such as\ntransaction reports, dispute reports, or merchant funds availability.\nEach report type has its own input parameters and response structure.\n\nThe report field allows querying various report types by specifying the\nreport type and appropriate date range or filter parameters.");
15
- const PaypalQueryBraintreeReport_ReportResponseSchema = z.object({ report: z.record(z.string(), z.unknown()).describe("The report data returned by the query. The structure varies depending on the report type requested.").nullable().optional() }).describe("Response schema for the report query.");
15
+ const PaypalQueryBraintreeReport_ReportResponseSchema = z.object({ report: z.record(z.string(), z.unknown()).describe("The report data returned by the query. The structure varies depending on the report type requested.").nullable().optional() }).passthrough().describe("Response schema for the report query.");
16
16
  const PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = z.object({
17
17
  line: z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
18
18
  column: z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
19
- }).describe("A location in the GraphQL query that caused an error.");
19
+ }).passthrough().describe("A location in the GraphQL query that caused an error.");
20
20
  const PaypalQueryBraintreeReport_GraphQLErrorSchema = z.object({
21
21
  path: z.array(z.union([z.string(), z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
22
22
  message: z.string().describe("A human-readable error message describing the issue.").nullable(),
23
23
  locations: z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
24
- }).describe("A GraphQL error returned by the API.");
24
+ }).passthrough().describe("A GraphQL error returned by the API.");
25
25
  const paypalQueryBraintreeReport = action("PAYPAL_QUERY_BRAINTREE_REPORT", {
26
26
  slug: "paypal-query-braintree-report",
27
27
  name: "Query Braintree Report",
@@ -30,7 +30,7 @@ const paypalQueryBraintreeReport = action("PAYPAL_QUERY_BRAINTREE_REPORT", {
30
30
  output: z.object({
31
31
  data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),
32
32
  errors: z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
33
- }).describe("Root response schema for GraphQL report query.")
33
+ }).passthrough().describe("Root response schema for GraphQL report query.")
34
34
  });
35
35
  //#endregion
36
36
  export { paypalQueryBraintreeReport };
@@ -1 +1 @@
1
- {"version":3,"file":"query-braintree-report.mjs","names":[],"sources":["../../src/actions/query-braintree-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalQueryBraintreeReportInput = z.object({\n end_date: z.string().describe(\"The end date for the report query in ISO 8601 format (e.g., '2024-01-31'). Used for time-based reports.\").optional(),\n start_date: z.string().describe(\"The start date for the report query in ISO 8601 format (e.g., '2024-01-01'). Used for time-based reports.\").optional(),\n report_type: z.enum([\"transactionReport\", \"disputeReport\", \"merchantFundsAvailable\", \"transactionSettlementOutcomesReport\"]).describe(\"The type of report to query. Each type has its own input parameters and response structure.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to filter the report by. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"Request schema for querying Braintree reports via GraphQL API.\\n\\nUse this action when you need to retrieve reports from Braintree, such as\\ntransaction reports, dispute reports, or merchant funds availability.\\nEach report type has its own input parameters and response structure.\\n\\nThe report field allows querying various report types by specifying the\\nreport type and appropriate date range or filter parameters.\");\nconst PaypalQueryBraintreeReport_ReportResponseSchema = z.object({\n report: z.record(z.string(), z.unknown()).describe(\"The report data returned by the query. The structure varies depending on the report type requested.\").nullable().optional(),\n}).describe(\"Response schema for the report query.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalQueryBraintreeReportOutput = z.object({\n data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),\n errors: z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL report query.\");\n\nexport const paypalQueryBraintreeReport = action(\"PAYPAL_QUERY_BRAINTREE_REPORT\", {\n slug: \"paypal-query-braintree-report\",\n name: \"Query Braintree Report\",\n description: \"Queries Braintree reports via GraphQL API. Use this action when you need to retrieve reports from Braintree's GraphQL API, such as transaction reports, dispute reports, merchant funds availability, or transaction settlement outcomes. Each report type returns different data structures based on the specified report type and filter parameters. The report query provides access to various report types that can be queried with their own input parameters. This is a read-only operation that retrieves report data without modifying any records. Note: This action uses the Braintree GraphQL API endpoint at /graphql.\",\n input: PaypalQueryBraintreeReportInput,\n output: PaypalQueryBraintreeReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,aAAa,EAAE,KAAK;EAAC;EAAqB;EAAiB;EAA0B;CAAqC,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACnO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,oaAAoa;AAChb,MAAM,kDAAkD,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAMlD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-braintree-report.mjs","names":[],"sources":["../../src/actions/query-braintree-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalQueryBraintreeReportInput = z.object({\n end_date: z.string().describe(\"The end date for the report query in ISO 8601 format (e.g., '2024-01-31'). Used for time-based reports.\").optional(),\n start_date: z.string().describe(\"The start date for the report query in ISO 8601 format (e.g., '2024-01-01'). Used for time-based reports.\").optional(),\n report_type: z.enum([\"transactionReport\", \"disputeReport\", \"merchantFundsAvailable\", \"transactionSettlementOutcomesReport\"]).describe(\"The type of report to query. Each type has its own input parameters and response structure.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to filter the report by. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"Request schema for querying Braintree reports via GraphQL API.\\n\\nUse this action when you need to retrieve reports from Braintree, such as\\ntransaction reports, dispute reports, or merchant funds availability.\\nEach report type has its own input parameters and response structure.\\n\\nThe report field allows querying various report types by specifying the\\nreport type and appropriate date range or filter parameters.\");\nconst PaypalQueryBraintreeReport_ReportResponseSchema = z.object({\n report: z.record(z.string(), z.unknown()).describe(\"The report data returned by the query. The structure varies depending on the report type requested.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the report query.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalQueryBraintreeReport_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalQueryBraintreeReport_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error returned by the API.\");\nexport const PaypalQueryBraintreeReportOutput = z.object({\n data: PaypalQueryBraintreeReport_ReportResponseSchema.nullable().optional(),\n errors: z.array(PaypalQueryBraintreeReport_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).passthrough().describe(\"Root response schema for GraphQL report query.\");\n\nexport const paypalQueryBraintreeReport = action(\"PAYPAL_QUERY_BRAINTREE_REPORT\", {\n slug: \"paypal-query-braintree-report\",\n name: \"Query Braintree Report\",\n description: \"Queries Braintree reports via GraphQL API. Use this action when you need to retrieve reports from Braintree's GraphQL API, such as transaction reports, dispute reports, merchant funds availability, or transaction settlement outcomes. Each report type returns different data structures based on the specified report type and filter parameters. The report query provides access to various report types that can be queried with their own input parameters. This is a read-only operation that retrieves report data without modifying any records. Note: This action uses the Braintree GraphQL API endpoint at /graphql.\",\n input: PaypalQueryBraintreeReportInput,\n output: PaypalQueryBraintreeReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACtJ,aAAa,EAAE,KAAK;EAAC;EAAqB;EAAiB;EAA0B;CAAqC,CAAC,CAAC,CAAC,SAAS,6FAA6F;CACnO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,SAAS,oaAAoa;AAChb,MAAM,kDAAkD,EAAE,OAAO,EAC/D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,wDAAwD,EAAE,OAAO;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,MAAM,qDAAqD,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8C,EAAE,OAAO;EACvD,MAAM,gDAAgD,SAAS,CAAC,CAAC,SAAS;EAC1E,QAAQ,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}