@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
@@ -6,42 +6,42 @@ const PaypalGetPlan_LinkDescriptionSchema = z.object({
6
6
  rel: z.string().describe("The link relation type (e.g., 'self', 'up', 'first', 'last').").nullable().optional(),
7
7
  href: z.string().describe("The link URL.").nullable().optional(),
8
8
  method: z.string().describe("The HTTP method for the link.").nullable().optional()
9
- }).describe("Model for HATEOAS link information.");
9
+ }).passthrough().describe("Model for HATEOAS link information.");
10
10
  const PaypalGetPlan_TaxesSchema = z.object({
11
11
  inclusive: z.boolean().describe("Indicates whether the tax was already included in the billing amount.").nullable().optional(),
12
12
  percentage: z.string().describe("The percentage, as a fixed-point, signed decimal number.").nullable().optional()
13
- }).describe("Model for tax details.");
13
+ }).passthrough().describe("Model for tax details.");
14
14
  const PaypalGetPlan_FrequencySchema = z.object({
15
15
  intervalUnit: z.string().describe("The interval for the billing cycle. The possible values are DAY, WEEK, MONTH, YEAR.").nullable().optional(),
16
16
  intervalCount: z.number().int().describe("The number of intervals between billing cycles. For example, if interval_unit is MONTH and interval_count is 3, billing happens every 3 months.").nullable().optional()
17
- }).describe("Model for billing frequency details.");
17
+ }).passthrough().describe("Model for billing frequency details.");
18
18
  const PaypalGetPlan_PricingTierSchema = z.object({
19
- fixedPrice: z.object({}).describe("The fixed price for this tier.").nullable().optional(),
19
+ fixedPrice: z.record(z.string(), z.unknown()).describe("The fixed price for this tier.").nullable().optional(),
20
20
  endingQuantity: z.string().describe("The ending quantity for this tier.").nullable().optional(),
21
21
  startingQuantity: z.string().describe("The starting quantity for this tier.").nullable().optional()
22
- }).describe("Model for a pricing tier in volume-based pricing.");
22
+ }).passthrough().describe("Model for a pricing tier in volume-based pricing.");
23
23
  const PaypalGetPlan_PricingSchemeSchema = z.object({
24
24
  tiers: z.array(PaypalGetPlan_PricingTierSchema).describe("The pricing tiers for volume-based pricing.").nullable().optional(),
25
- fixedPrice: z.object({}).describe("The fixed price for the billing cycle.").nullable().optional(),
25
+ fixedPrice: z.record(z.string(), z.unknown()).describe("The fixed price for the billing cycle.").nullable().optional(),
26
26
  pricingModel: z.string().describe("The pricing model for the billing cycle.").nullable().optional()
27
- }).describe("Model for pricing scheme details.");
27
+ }).passthrough().describe("Model for pricing scheme details.");
28
28
  const PaypalGetPlan_BillingCycleSchema = z.object({
29
29
  sequence: z.number().int().describe("The sequence of the billing cycle.").nullable().optional(),
30
30
  frequency: PaypalGetPlan_FrequencySchema.nullable().optional(),
31
31
  tenureType: z.string().describe("The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.").nullable().optional(),
32
32
  totalCycles: z.number().int().describe("The total number of billing cycles.").nullable().optional(),
33
33
  pricingScheme: PaypalGetPlan_PricingSchemeSchema.nullable().optional()
34
- }).describe("Model for billing cycle details.");
34
+ }).passthrough().describe("Model for billing cycle details.");
35
35
  const PaypalGetPlan_MoneySchema = z.object({
36
36
  value: z.string().describe("The amount value.").nullable().optional(),
37
37
  currencyCode: z.string().describe("The three-letter ISO 4217 currency code.").nullable().optional()
38
- }).describe("Model for currency amounts.");
38
+ }).passthrough().describe("Model for currency amounts.");
39
39
  const PaypalGetPlan_PaymentPreferencesSchema = z.object({
40
40
  setupFee: PaypalGetPlan_MoneySchema.nullable().optional(),
41
41
  autoBillOutstanding: z.boolean().describe("Indicates whether to automatically bill the outstanding amount in the next billing cycle.").nullable().optional(),
42
42
  setupFeeFailureAction: z.string().describe("The action to take on the subscription if the initial payment for the setup fails. Possible values: CONTINUE, CANCEL.").nullable().optional(),
43
43
  paymentFailureThreshold: z.number().int().describe("The maximum number of payment failures before a subscription is suspended.").nullable().optional()
44
- }).describe("Model for payment preferences.");
44
+ }).passthrough().describe("Model for payment preferences.");
45
45
  const paypalGetPlan = action("PAYPAL_GET_PLAN", {
46
46
  slug: "paypal-get-plan",
47
47
  name: "Get Plan",
@@ -60,7 +60,7 @@ const paypalGetPlan = action("PAYPAL_GET_PLAN", {
60
60
  billingCycles: z.array(PaypalGetPlan_BillingCycleSchema).describe("An array of billing cycles for trial billing and regular billing.").nullable().optional(),
61
61
  quantitySupported: z.boolean().describe("Indicates whether you can subscribe to this plan by providing a quantity.").nullable().optional(),
62
62
  paymentPreferences: PaypalGetPlan_PaymentPreferencesSchema.nullable().optional()
63
- }).describe("Response schema for retrieving plan details.")
63
+ }).passthrough().describe("Response schema for retrieving plan details.")
64
64
  });
65
65
  //#endregion
66
66
  export { paypalGetPlan };
@@ -1 +1 @@
1
- {"version":3,"file":"get-plan.mjs","names":[],"sources":["../../src/actions/get-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetPlanInput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the plan. Plan IDs start with 'P-' followed by alphanumeric characters.\"),\n}).describe(\"Request schema for retrieving a PayPal billing plan by ID.\");\nconst PaypalGetPlan_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type (e.g., 'self', 'up', 'first', 'last').\").nullable().optional(),\n href: z.string().describe(\"The link URL.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).describe(\"Model for HATEOAS link information.\");\nconst PaypalGetPlan_TaxesSchema = z.object({\n inclusive: z.boolean().describe(\"Indicates whether the tax was already included in the billing amount.\").nullable().optional(),\n percentage: z.string().describe(\"The percentage, as a fixed-point, signed decimal number.\").nullable().optional(),\n}).describe(\"Model for tax details.\");\nconst PaypalGetPlan_FrequencySchema = z.object({\n intervalUnit: z.string().describe(\"The interval for the billing cycle. The possible values are DAY, WEEK, MONTH, YEAR.\").nullable().optional(),\n intervalCount: z.number().int().describe(\"The number of intervals between billing cycles. For example, if interval_unit is MONTH and interval_count is 3, billing happens every 3 months.\").nullable().optional(),\n}).describe(\"Model for billing frequency details.\");\nconst PaypalGetPlan_PricingTierSchema = z.object({\n fixedPrice: z.object({}).describe(\"The fixed price for this tier.\").nullable().optional(),\n endingQuantity: z.string().describe(\"The ending quantity for this tier.\").nullable().optional(),\n startingQuantity: z.string().describe(\"The starting quantity for this tier.\").nullable().optional(),\n}).describe(\"Model for a pricing tier in volume-based pricing.\");\nconst PaypalGetPlan_PricingSchemeSchema = z.object({\n tiers: z.array(PaypalGetPlan_PricingTierSchema).describe(\"The pricing tiers for volume-based pricing.\").nullable().optional(),\n fixedPrice: z.object({}).describe(\"The fixed price for the billing cycle.\").nullable().optional(),\n pricingModel: z.string().describe(\"The pricing model for the billing cycle.\").nullable().optional(),\n}).describe(\"Model for pricing scheme details.\");\nconst PaypalGetPlan_BillingCycleSchema = z.object({\n sequence: z.number().int().describe(\"The sequence of the billing cycle.\").nullable().optional(),\n frequency: PaypalGetPlan_FrequencySchema.nullable().optional(),\n tenureType: z.string().describe(\"The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.\").nullable().optional(),\n totalCycles: z.number().int().describe(\"The total number of billing cycles.\").nullable().optional(),\n pricingScheme: PaypalGetPlan_PricingSchemeSchema.nullable().optional(),\n}).describe(\"Model for billing cycle details.\");\nconst PaypalGetPlan_MoneySchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currencyCode: z.string().describe(\"The three-letter ISO 4217 currency code.\").nullable().optional(),\n}).describe(\"Model for currency amounts.\");\nconst PaypalGetPlan_PaymentPreferencesSchema = z.object({\n setupFee: PaypalGetPlan_MoneySchema.nullable().optional(),\n autoBillOutstanding: z.boolean().describe(\"Indicates whether to automatically bill the outstanding amount in the next billing cycle.\").nullable().optional(),\n setupFeeFailureAction: z.string().describe(\"The action to take on the subscription if the initial payment for the setup fails. Possible values: CONTINUE, CANCEL.\").nullable().optional(),\n paymentFailureThreshold: z.number().int().describe(\"The maximum number of payment failures before a subscription is suspended.\").nullable().optional(),\n}).describe(\"Model for payment preferences.\");\nexport const PaypalGetPlanOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the plan.\").nullable().optional(),\n name: z.string().describe(\"The plan name.\").nullable().optional(),\n links: z.array(PaypalGetPlan_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n taxes: PaypalGetPlan_TaxesSchema.nullable().optional(),\n status: z.string().describe(\"The plan status. Possible values: CREATED, INACTIVE, ACTIVE.\").nullable().optional(),\n productId: z.string().describe(\"The ID for the product.\").nullable().optional(),\n createTime: z.string().describe(\"The date and time when the plan was created.\").nullable().optional(),\n updateTime: z.string().describe(\"The date and time when the plan was last updated.\").nullable().optional(),\n description: z.string().describe(\"The detailed description of the plan.\").nullable().optional(),\n billingCycles: z.array(PaypalGetPlan_BillingCycleSchema).describe(\"An array of billing cycles for trial billing and regular billing.\").nullable().optional(),\n quantitySupported: z.boolean().describe(\"Indicates whether you can subscribe to this plan by providing a quantity.\").nullable().optional(),\n paymentPreferences: PaypalGetPlan_PaymentPreferencesSchema.nullable().optional(),\n}).describe(\"Response schema for retrieving plan details.\");\n\nexport const paypalGetPlan = action(\"PAYPAL_GET_PLAN\", {\n slug: \"paypal-get-plan\",\n name: \"Get Plan\",\n description: \"Retrieves details for a specific PayPal billing plan by its ID. Use when you need to fetch information about an existing subscription plan, such as its pricing, billing cycles, status, or payment preferences.\",\n input: PaypalGetPlanInput,\n output: PaypalGetPlanOutput,\n});\n"],"mappings":";;;AAIA,MA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CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,oBAAoB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-plan.mjs","names":[],"sources":["../../src/actions/get-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetPlanInput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the plan. Plan IDs start with 'P-' followed by alphanumeric characters.\"),\n}).describe(\"Request schema for retrieving a PayPal billing plan by ID.\");\nconst PaypalGetPlan_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type (e.g., 'self', 'up', 'first', 'last').\").nullable().optional(),\n href: z.string().describe(\"The link URL.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information.\");\nconst PaypalGetPlan_TaxesSchema = z.object({\n inclusive: z.boolean().describe(\"Indicates whether the tax was already included in the billing amount.\").nullable().optional(),\n percentage: z.string().describe(\"The percentage, as a fixed-point, signed decimal number.\").nullable().optional(),\n}).passthrough().describe(\"Model for tax details.\");\nconst PaypalGetPlan_FrequencySchema = z.object({\n intervalUnit: z.string().describe(\"The interval for the billing cycle. The possible values are DAY, WEEK, MONTH, YEAR.\").nullable().optional(),\n intervalCount: z.number().int().describe(\"The number of intervals between billing cycles. For example, if interval_unit is MONTH and interval_count is 3, billing happens every 3 months.\").nullable().optional(),\n}).passthrough().describe(\"Model for billing frequency details.\");\nconst PaypalGetPlan_PricingTierSchema = z.object({\n fixedPrice: z.record(z.string(), z.unknown()).describe(\"The fixed price for this tier.\").nullable().optional(),\n endingQuantity: z.string().describe(\"The ending quantity for this tier.\").nullable().optional(),\n startingQuantity: z.string().describe(\"The starting quantity for this tier.\").nullable().optional(),\n}).passthrough().describe(\"Model for a pricing tier in volume-based pricing.\");\nconst PaypalGetPlan_PricingSchemeSchema = z.object({\n tiers: z.array(PaypalGetPlan_PricingTierSchema).describe(\"The pricing tiers for volume-based pricing.\").nullable().optional(),\n fixedPrice: z.record(z.string(), z.unknown()).describe(\"The fixed price for the billing cycle.\").nullable().optional(),\n pricingModel: z.string().describe(\"The pricing model for the billing cycle.\").nullable().optional(),\n}).passthrough().describe(\"Model for pricing scheme details.\");\nconst PaypalGetPlan_BillingCycleSchema = z.object({\n sequence: z.number().int().describe(\"The sequence of the billing cycle.\").nullable().optional(),\n frequency: PaypalGetPlan_FrequencySchema.nullable().optional(),\n tenureType: z.string().describe(\"The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.\").nullable().optional(),\n totalCycles: z.number().int().describe(\"The total number of billing cycles.\").nullable().optional(),\n pricingScheme: PaypalGetPlan_PricingSchemeSchema.nullable().optional(),\n}).passthrough().describe(\"Model for billing cycle details.\");\nconst PaypalGetPlan_MoneySchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currencyCode: z.string().describe(\"The three-letter ISO 4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"Model for currency amounts.\");\nconst PaypalGetPlan_PaymentPreferencesSchema = z.object({\n setupFee: PaypalGetPlan_MoneySchema.nullable().optional(),\n autoBillOutstanding: z.boolean().describe(\"Indicates whether to automatically bill the outstanding amount in the next billing cycle.\").nullable().optional(),\n setupFeeFailureAction: z.string().describe(\"The action to take on the subscription if the initial payment for the setup fails. Possible values: CONTINUE, CANCEL.\").nullable().optional(),\n paymentFailureThreshold: z.number().int().describe(\"The maximum number of payment failures before a subscription is suspended.\").nullable().optional(),\n}).passthrough().describe(\"Model for payment preferences.\");\nexport const PaypalGetPlanOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the plan.\").nullable().optional(),\n name: z.string().describe(\"The plan name.\").nullable().optional(),\n links: z.array(PaypalGetPlan_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n taxes: PaypalGetPlan_TaxesSchema.nullable().optional(),\n status: z.string().describe(\"The plan status. Possible values: CREATED, INACTIVE, ACTIVE.\").nullable().optional(),\n productId: z.string().describe(\"The ID for the product.\").nullable().optional(),\n createTime: z.string().describe(\"The date and time when the plan was created.\").nullable().optional(),\n updateTime: z.string().describe(\"The date and time when the plan was last updated.\").nullable().optional(),\n description: z.string().describe(\"The detailed description of the plan.\").nullable().optional(),\n billingCycles: z.array(PaypalGetPlan_BillingCycleSchema).describe(\"An array of billing cycles for trial billing and regular billing.\").nullable().optional(),\n quantitySupported: z.boolean().describe(\"Indicates whether you can subscribe to this plan by providing a quantity.\").nullable().optional(),\n paymentPreferences: PaypalGetPlan_PaymentPreferencesSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for retrieving plan details.\");\n\nexport const paypalGetPlan = action(\"PAYPAL_GET_PLAN\", {\n slug: \"paypal-get-plan\",\n name: \"Get Plan\",\n description: \"Retrieves details for a specific PayPal billing plan by its ID. Use when you need to fetch information about an existing subscription plan, such as its pricing, billing cycles, status, or payment preferences.\",\n input: PaypalGetPlanInput,\n output: PaypalGetPlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,EACtI,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAq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GetProduct_LinkDescriptionSchema = zod.z.object({
6
6
  rel: zod.z.string().describe("The relationship between the response and the linked resource (e.g., 'self', 'up').").nullable(),
7
7
  href: zod.z.string().describe("The URL of the link.").nullable().optional(),
8
8
  method: zod.z.string().describe("The HTTP method to use when following the link (e.g., 'GET', 'POST').").nullable().optional()
9
- }).describe("Model for HATEOAS link information in the product response.");
9
+ }).passthrough().describe("Model for HATEOAS link information in the product response.");
10
10
  const PaypalGetProductOutput = zod.z.object({
11
11
  id: zod.z.string().describe("The unique identifier for the product.").nullable(),
12
12
  name: zod.z.string().describe("The product name.").nullable(),
@@ -18,7 +18,7 @@ const PaypalGetProductOutput = zod.z.object({
18
18
  create_time: zod.z.string().describe("The date and time when the product was created, in Internet date and time format (RFC3339).").nullable().optional(),
19
19
  description: zod.z.string().describe("The product description.").nullable().optional(),
20
20
  update_time: zod.z.string().describe("The date and time when the product was last updated, in Internet date and time format (RFC3339).").nullable().optional()
21
- }).describe("Response model containing product details from PayPal API.");
21
+ }).passthrough().describe("Response model containing product details from PayPal API.");
22
22
  const paypalGetProduct = require_action.action("PAYPAL_GET_PRODUCT", {
23
23
  slug: "paypal-get-product",
24
24
  name: "Get Product",
@@ -1 +1 @@
1
- {"version":3,"file":"get-product.cjs","names":["z","action"],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetProductInput = z.object({\n product_id: z.string().describe(\"The ID of the product to retrieve. This is the unique identifier assigned when the product was created.\"),\n}).describe(\"Request model for getting a PayPal product by ID.\");\nconst PaypalGetProduct_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource (e.g., 'self', 'up').\").nullable(),\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use when following the link (e.g., 'GET', 'POST').\").nullable().optional(),\n}).describe(\"Model for HATEOAS link information in the product response.\");\nexport const PaypalGetProductOutput = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n name: z.string().describe(\"The product name.\").nullable(),\n type: z.string().describe(\"The product type. Indicates whether the product is physical or digital goods, or a service. Possible values: PHYSICAL, DIGITAL, SERVICE.\").nullable().optional(),\n links: z.array(PaypalGetProduct_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links. These links provide actions that can be performed on the product.\").nullable().optional(),\n category: z.string().describe(\"The product category. A comprehensive list of valid categories is available in the PayPal API documentation.\").nullable().optional(),\n home_url: z.string().describe(\"The home page URL for the product.\").nullable().optional(),\n image_url: z.string().describe(\"The image URL for the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created, in Internet date and time format (RFC3339).\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the product was last updated, in Internet date and time format (RFC3339).\").nullable().optional(),\n}).describe(\"Response model containing product details from PayPal API.\");\n\nexport const paypalGetProduct = action(\"PAYPAL_GET_PRODUCT\", {\n slug: \"paypal-get-product\",\n name: \"Get Product\",\n description: \"Retrieves detailed information about a specific PayPal product by its ID. Use when you need to get details about a product, such as its name, description, category, or type. This action is useful for verifying product details before creating plans or subscriptions.\",\n input: PaypalGetProductInput,\n output: PaypalGetProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EAC3I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACzH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SA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Content":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetProductInput = z.object({\n product_id: z.string().describe(\"The ID of the product to retrieve. This is the unique identifier assigned when the product was created.\"),\n}).describe(\"Request model for getting a PayPal product by ID.\");\nconst PaypalGetProduct_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource (e.g., 'self', 'up').\").nullable(),\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use when following the link (e.g., 'GET', 'POST').\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in the product response.\");\nexport const PaypalGetProductOutput = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n name: z.string().describe(\"The product name.\").nullable(),\n type: z.string().describe(\"The product type. Indicates whether the product is physical or digital goods, or a service. Possible values: PHYSICAL, DIGITAL, SERVICE.\").nullable().optional(),\n links: z.array(PaypalGetProduct_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links. These links provide actions that can be performed on the product.\").nullable().optional(),\n category: z.string().describe(\"The product category. A comprehensive list of valid categories is available in the PayPal API documentation.\").nullable().optional(),\n home_url: z.string().describe(\"The home page URL for the product.\").nullable().optional(),\n image_url: z.string().describe(\"The image URL for the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created, in Internet date and time format (RFC3339).\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the product was last updated, in Internet date and time format (RFC3339).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing product details from PayPal API.\");\n\nexport const paypalGetProduct = action(\"PAYPAL_GET_PRODUCT\", {\n slug: \"paypal-get-product\",\n name: \"Get Product\",\n description: \"Retrieves detailed information about a specific PayPal product by its ID. Use when you need to get details about a product, such as its name, description, category, or type. This action is useful for verifying product details before creating plans or subscriptions.\",\n input: PaypalGetProductInput,\n output: PaypalGetProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB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AC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,17 +12,29 @@ declare const PaypalGetProductOutput: z.ZodObject<{
12
12
  rel: z.ZodNullable<z.ZodString>;
13
13
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>>;
15
+ }, z.core.$loose>>>>;
16
16
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  home_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const paypalGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  product_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { paypalGetProduct };
28
40
  //# sourceMappingURL=get-product.d.cts.map
@@ -12,17 +12,29 @@ declare const PaypalGetProductOutput: z.ZodObject<{
12
12
  rel: z.ZodNullable<z.ZodString>;
13
13
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- }, z.core.$strip>>>>;
15
+ }, z.core.$loose>>>>;
16
16
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  home_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const paypalGetProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  product_id: string;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { paypalGetProduct };
28
40
  //# sourceMappingURL=get-product.d.mts.map
@@ -6,7 +6,7 @@ const PaypalGetProduct_LinkDescriptionSchema = z.object({
6
6
  rel: z.string().describe("The relationship between the response and the linked resource (e.g., 'self', 'up').").nullable(),
7
7
  href: z.string().describe("The URL of the link.").nullable().optional(),
8
8
  method: z.string().describe("The HTTP method to use when following the link (e.g., 'GET', 'POST').").nullable().optional()
9
- }).describe("Model for HATEOAS link information in the product response.");
9
+ }).passthrough().describe("Model for HATEOAS link information in the product response.");
10
10
  const paypalGetProduct = action("PAYPAL_GET_PRODUCT", {
11
11
  slug: "paypal-get-product",
12
12
  name: "Get Product",
@@ -23,7 +23,7 @@ const paypalGetProduct = action("PAYPAL_GET_PRODUCT", {
23
23
  create_time: z.string().describe("The date and time when the product was created, in Internet date and time format (RFC3339).").nullable().optional(),
24
24
  description: z.string().describe("The product description.").nullable().optional(),
25
25
  update_time: z.string().describe("The date and time when the product was last updated, in Internet date and time format (RFC3339).").nullable().optional()
26
- }).describe("Response model containing product details from PayPal API.")
26
+ }).passthrough().describe("Response model containing product details from PayPal API.")
27
27
  });
28
28
  //#endregion
29
29
  export { paypalGetProduct };
@@ -1 +1 @@
1
- {"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetProductInput = z.object({\n product_id: z.string().describe(\"The ID of the product to retrieve. This is the unique identifier assigned when the product was created.\"),\n}).describe(\"Request model for getting a PayPal product by ID.\");\nconst PaypalGetProduct_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource (e.g., 'self', 'up').\").nullable(),\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use when following the link (e.g., 'GET', 'POST').\").nullable().optional(),\n}).describe(\"Model for HATEOAS link information in the product response.\");\nexport const PaypalGetProductOutput = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n name: z.string().describe(\"The product name.\").nullable(),\n type: z.string().describe(\"The product type. Indicates whether the product is physical or digital goods, or a service. Possible values: PHYSICAL, DIGITAL, SERVICE.\").nullable().optional(),\n links: z.array(PaypalGetProduct_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links. These links provide actions that can be performed on the product.\").nullable().optional(),\n category: z.string().describe(\"The product category. A comprehensive list of valid categories is available in the PayPal API documentation.\").nullable().optional(),\n home_url: z.string().describe(\"The home page URL for the product.\").nullable().optional(),\n image_url: z.string().describe(\"The image URL for the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created, in Internet date and time format (RFC3339).\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the product was last updated, in Internet date and time format (RFC3339).\").nullable().optional(),\n}).describe(\"Response model containing product details from PayPal API.\");\n\nexport const paypalGetProduct = action(\"PAYPAL_GET_PRODUCT\", {\n slug: \"paypal-get-product\",\n name: \"Get Product\",\n description: \"Retrieves detailed information about a specific PayPal product by its ID. Use when you need to get details about a product, such as its name, description, category, or type. This action is useful for verifying product details before creating plans or subscriptions.\",\n input: PaypalGetProductInput,\n output: PaypalGetProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,EAC3I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,yCAAyC,EAAE,OAAO;CACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACzH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAczE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-product.mjs","names":[],"sources":["../../src/actions/get-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetProductInput = z.object({\n product_id: z.string().describe(\"The ID of the product to retrieve. This is the unique identifier assigned when the product was created.\"),\n}).describe(\"Request model for getting a PayPal product by ID.\");\nconst PaypalGetProduct_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource (e.g., 'self', 'up').\").nullable(),\n href: z.string().describe(\"The URL of the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use when following the link (e.g., 'GET', 'POST').\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in the product response.\");\nexport const PaypalGetProductOutput = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable(),\n name: z.string().describe(\"The product name.\").nullable(),\n type: z.string().describe(\"The product type. Indicates whether the product is physical or digital goods, or a service. Possible values: PHYSICAL, DIGITAL, SERVICE.\").nullable().optional(),\n links: z.array(PaypalGetProduct_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links. These links provide actions that can be performed on the product.\").nullable().optional(),\n category: z.string().describe(\"The product category. A comprehensive list of valid categories is available in the PayPal API documentation.\").nullable().optional(),\n home_url: z.string().describe(\"The home page URL for the product.\").nullable().optional(),\n image_url: z.string().describe(\"The image URL for the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created, in Internet date and time format (RFC3339).\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the product was last updated, in Internet date and time format (RFC3339).\").nullable().optional(),\n}).passthrough().describe(\"Response model containing product details from PayPal API.\");\n\nexport const paypalGetProduct = action(\"PAYPAL_GET_PRODUCT\", {\n slug: \"paypal-get-product\",\n name: \"Get Product\",\n description: \"Retrieves detailed information about a specific PayPal product by its ID. Use when you need to get details about a product, such as its name, description, category, or type. This action is useful for verifying product details before creating plans or subscriptions.\",\n input: PaypalGetProductInput,\n output: PaypalGetProductOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,C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,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
@@ -8,39 +8,39 @@ const PaypalGetSubscriptionInput = zod.z.object({
8
8
  const PaypalGetSubscription_PlanSchema = zod.z.object({
9
9
  name: zod.z.string().describe("The name of the plan.").nullable().optional(),
10
10
  plan_id: zod.z.string().describe("The ID of the plan.").nullable().optional()
11
- }).describe("The plan information for the subscription.");
11
+ }).passthrough().describe("The plan information for the subscription.");
12
12
  const PaypalGetSubscription_LinkDescriptionSchema = zod.z.object({
13
13
  rel: zod.z.string().describe("The link relation type.").nullable().optional(),
14
14
  href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
15
15
  method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional(),
16
16
  enc_type: zod.z.string().describe("The encryption type of the link.").nullable().optional()
17
- }).describe("The HATEOAS link related to this subscription.");
17
+ }).passthrough().describe("The HATEOAS link related to this subscription.");
18
18
  const PaypalGetSubscription_SubscriberNameSchema = zod.z.object({
19
19
  surname: zod.z.string().describe("The surname of the subscriber.").nullable().optional(),
20
20
  given_name: zod.z.string().describe("The given name of the subscriber.").nullable().optional()
21
- }).describe("The name parts of the subscriber.");
21
+ }).passthrough().describe("The name parts of the subscriber.");
22
22
  const PaypalGetSubscription_SubscriberSchema = zod.z.object({
23
23
  name: PaypalGetSubscription_SubscriberNameSchema.nullable().optional(),
24
24
  payer_id: zod.z.string().describe("The PayPal ID of the payer.").nullable().optional(),
25
25
  email_address: zod.z.string().describe("The email address of the subscriber.").nullable().optional(),
26
26
  subscriber_id: zod.z.string().describe("The internal identifier for the subscriber.").nullable().optional()
27
- }).describe("The subscriber information for the subscription.");
27
+ }).passthrough().describe("The subscriber information for the subscription.");
28
28
  const PaypalGetSubscription_ShippingAmountSchema = zod.z.object({
29
29
  value: zod.z.string().describe("The amount value.").nullable().optional(),
30
30
  currency_code: zod.z.string().describe("The three-character ISO currency code.").nullable().optional()
31
- }).describe("The shipping amount for the subscription.");
31
+ }).passthrough().describe("The shipping amount for the subscription.");
32
32
  const PaypalGetSubscription_PaymentDetailsSchema = zod.z.object({
33
33
  time: zod.z.string().describe("The date and time of the payment.").nullable().optional(),
34
34
  amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),
35
35
  status: zod.z.string().describe("The status of the payment.").nullable().optional()
36
- }).describe("Details of a payment transaction.");
36
+ }).passthrough().describe("Details of a payment transaction.");
37
37
  const PaypalGetSubscription_CycleExecutionSchema = zod.z.object({
38
38
  sequence: zod.z.number().int().describe("The sequence number of the cycle.").nullable().optional(),
39
39
  tenure_type: zod.z.string().describe("The tenure type of the cycle.").nullable().optional(),
40
40
  total_cycles: zod.z.number().int().describe("The total number of cycles.").nullable().optional(),
41
41
  cycles_completed: zod.z.number().int().describe("The number of cycles completed.").nullable().optional(),
42
42
  cycles_remaining: zod.z.number().int().describe("The number of cycles remaining.").nullable().optional()
43
- }).describe("Details of a cycle execution.");
43
+ }).passthrough().describe("Details of a cycle execution.");
44
44
  const PaypalGetSubscription_ShippingAddressSchema = zod.z.object({
45
45
  postal_code: zod.z.string().describe("The postal code or ZIP code.").nullable().optional(),
46
46
  admin_area_1: zod.z.string().describe("The state or province code.").nullable().optional(),
@@ -48,7 +48,7 @@ const PaypalGetSubscription_ShippingAddressSchema = zod.z.object({
48
48
  country_code: zod.z.string().describe("The two-character ISO country code.").nullable().optional(),
49
49
  address_line_1: zod.z.string().describe("The first line of the address.").nullable().optional(),
50
50
  address_line_2: zod.z.string().describe("The second line of the address.").nullable().optional()
51
- }).describe("The shipping address for the subscription.");
51
+ }).passthrough().describe("The shipping address for the subscription.");
52
52
  const PaypalGetSubscription_BillingInfoSchema = zod.z.object({
53
53
  last_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),
54
54
  cycle_executions: zod.z.array(PaypalGetSubscription_CycleExecutionSchema).describe("The cycle executions for the subscription.").nullable().optional(),
@@ -56,7 +56,7 @@ const PaypalGetSubscription_BillingInfoSchema = zod.z.object({
56
56
  next_billing_time: zod.z.string().describe("The next billing date and time.").nullable().optional(),
57
57
  last_failed_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),
58
58
  failed_payment_count: zod.z.number().int().describe("The number of failed payments.").nullable().optional()
59
- }).describe("The billing information for the subscription.");
59
+ }).passthrough().describe("The billing information for the subscription.");
60
60
  const PaypalGetSubscriptionOutput = zod.z.object({
61
61
  id: zod.z.string().describe("The unique identifier for the subscription.").nullable().optional(),
62
62
  plan: PaypalGetSubscription_PlanSchema.nullable().optional(),
@@ -74,7 +74,7 @@ const PaypalGetSubscriptionOutput = zod.z.object({
74
74
  shipping_amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),
75
75
  status_change_note: zod.z.string().describe("The reason for the status change.").nullable().optional(),
76
76
  status_update_time: zod.z.string().describe("The date and time when the status was last updated.").nullable().optional()
77
- }).describe("Response model for subscription details.");
77
+ }).passthrough().describe("Response model for subscription details.");
78
78
  const paypalGetSubscription = require_action.action("PAYPAL_GET_SUBSCRIPTION", {
79
79
  slug: "paypal-get-subscription",
80
80
  name: "Get Subscription Details",
@@ -1 +1 @@
1
- {"version":3,"file":"get-subscription.cjs","names":["z","action"],"sources":["../../src/actions/get-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetSubscriptionInput = z.object({\n id: z.string().describe(\"The ID of the subscription to retrieve.\"),\n fields: z.string().describe(\"A comma-separated list of additional fields to include in the response. Possible values are 'last_failed_payment' and 'plan'.\").optional(),\n}).describe(\"Request model for getting subscription details.\");\nconst PaypalGetSubscription_PlanSchema = z.object({\n name: z.string().describe(\"The name of the plan.\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan.\").nullable().optional(),\n}).describe(\"The plan information for the subscription.\");\nconst PaypalGetSubscription_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n enc_type: z.string().describe(\"The encryption type of the link.\").nullable().optional(),\n}).describe(\"The HATEOAS link related to this subscription.\");\nconst PaypalGetSubscription_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The surname of the subscriber.\").nullable().optional(),\n given_name: z.string().describe(\"The given name of the subscriber.\").nullable().optional(),\n}).describe(\"The name parts of the subscriber.\");\nconst PaypalGetSubscription_SubscriberSchema = z.object({\n name: PaypalGetSubscription_SubscriberNameSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal ID of the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the subscriber.\").nullable().optional(),\n subscriber_id: z.string().describe(\"The internal identifier for the subscriber.\").nullable().optional(),\n}).describe(\"The subscriber information for the subscription.\");\nconst PaypalGetSubscription_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).describe(\"The shipping amount for the subscription.\");\nconst PaypalGetSubscription_PaymentDetailsSchema = z.object({\n time: z.string().describe(\"The date and time of the payment.\").nullable().optional(),\n amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),\n status: z.string().describe(\"The status of the payment.\").nullable().optional(),\n}).describe(\"Details of a payment transaction.\");\nconst PaypalGetSubscription_CycleExecutionSchema = z.object({\n sequence: z.number().int().describe(\"The sequence number of the cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles.\").nullable().optional(),\n cycles_completed: z.number().int().describe(\"The number of cycles completed.\").nullable().optional(),\n cycles_remaining: z.number().int().describe(\"The number of cycles remaining.\").nullable().optional(),\n}).describe(\"Details of a cycle execution.\");\nconst PaypalGetSubscription_ShippingAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code or ZIP code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The state or province code.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The city name.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").nullable().optional(),\n}).describe(\"The shipping address for the subscription.\");\nconst PaypalGetSubscription_BillingInfoSchema = z.object({\n last_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),\n cycle_executions: z.array(PaypalGetSubscription_CycleExecutionSchema).describe(\"The cycle executions for the subscription.\").nullable().optional(),\n shipping_address: PaypalGetSubscription_ShippingAddressSchema.nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing date and time.\").nullable().optional(),\n last_failed_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),\n failed_payment_count: z.number().int().describe(\"The number of failed payments.\").nullable().optional(),\n}).describe(\"The billing information for the subscription.\");\nexport const PaypalGetSubscriptionOutput = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n plan: PaypalGetSubscription_PlanSchema.nullable().optional(),\n links: z.array(PaypalGetSubscription_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the subscription.\").nullable().optional(),\n status: z.string().describe(\"The status of the subscription (e.g., ACTIVE, SUSPENDED, CANCELLED, EXPIRED).\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"A custom ID you can set to track the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts.\").nullable().optional(),\n subscriber: PaypalGetSubscription_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The date and time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalGetSubscription_BillingInfoSchema.nullable().optional(),\n plan_overridden: z.boolean().describe(\"Indicates whether the plan was overridden.\").nullable().optional(),\n shipping_amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),\n status_change_note: z.string().describe(\"The reason for the status change.\").nullable().optional(),\n status_update_time: z.string().describe(\"The date and time when the status was last updated.\").nullable().optional(),\n}).describe(\"Response model for subscription details.\");\n\nexport const paypalGetSubscription = action(\"PAYPAL_GET_SUBSCRIPTION\", {\n slug: \"paypal-get-subscription\",\n name: \"Get Subscription Details\",\n description: \"Retrieves the details of a PayPal subscription by its ID. Use this action when you need to check the status, billing information, subscriber details, or other properties of an existing subscription. Optionally, you can request additional fields like 'last_failed_payment' or 'plan' details using the fields parameter.\",\n input: PaypalGetSubscriptionInput,\n output: PaypalGetSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,S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+ {"version":3,"file":"get-subscription.cjs","names":["z","action"],"sources":["../../src/actions/get-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetSubscriptionInput = z.object({\n id: z.string().describe(\"The ID of the subscription to retrieve.\"),\n fields: z.string().describe(\"A comma-separated list of additional fields to include in the response. Possible values are 'last_failed_payment' and 'plan'.\").optional(),\n}).describe(\"Request model for getting subscription details.\");\nconst PaypalGetSubscription_PlanSchema = z.object({\n name: z.string().describe(\"The name of the plan.\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan.\").nullable().optional(),\n}).passthrough().describe(\"The plan information for the subscription.\");\nconst PaypalGetSubscription_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n enc_type: z.string().describe(\"The encryption type of the link.\").nullable().optional(),\n}).passthrough().describe(\"The HATEOAS link related to this subscription.\");\nconst PaypalGetSubscription_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The surname of the subscriber.\").nullable().optional(),\n given_name: z.string().describe(\"The given name of the subscriber.\").nullable().optional(),\n}).passthrough().describe(\"The name parts of the subscriber.\");\nconst PaypalGetSubscription_SubscriberSchema = z.object({\n name: PaypalGetSubscription_SubscriberNameSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal ID of the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the subscriber.\").nullable().optional(),\n subscriber_id: z.string().describe(\"The internal identifier for the subscriber.\").nullable().optional(),\n}).passthrough().describe(\"The subscriber information for the subscription.\");\nconst PaypalGetSubscription_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).passthrough().describe(\"The shipping amount for the subscription.\");\nconst PaypalGetSubscription_PaymentDetailsSchema = z.object({\n time: z.string().describe(\"The date and time of the payment.\").nullable().optional(),\n amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),\n status: z.string().describe(\"The status of the payment.\").nullable().optional(),\n}).passthrough().describe(\"Details of a payment transaction.\");\nconst PaypalGetSubscription_CycleExecutionSchema = z.object({\n sequence: z.number().int().describe(\"The sequence number of the cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles.\").nullable().optional(),\n cycles_completed: z.number().int().describe(\"The number of cycles completed.\").nullable().optional(),\n cycles_remaining: z.number().int().describe(\"The number of cycles remaining.\").nullable().optional(),\n}).passthrough().describe(\"Details of a cycle execution.\");\nconst PaypalGetSubscription_ShippingAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code or ZIP code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The state or province code.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The city name.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").nullable().optional(),\n}).passthrough().describe(\"The shipping address for the subscription.\");\nconst PaypalGetSubscription_BillingInfoSchema = z.object({\n last_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),\n cycle_executions: z.array(PaypalGetSubscription_CycleExecutionSchema).describe(\"The cycle executions for the subscription.\").nullable().optional(),\n shipping_address: PaypalGetSubscription_ShippingAddressSchema.nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing date and time.\").nullable().optional(),\n last_failed_payment: PaypalGetSubscription_PaymentDetailsSchema.nullable().optional(),\n failed_payment_count: z.number().int().describe(\"The number of failed payments.\").nullable().optional(),\n}).passthrough().describe(\"The billing information for the subscription.\");\nexport const PaypalGetSubscriptionOutput = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n plan: PaypalGetSubscription_PlanSchema.nullable().optional(),\n links: z.array(PaypalGetSubscription_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the subscription.\").nullable().optional(),\n status: z.string().describe(\"The status of the subscription (e.g., ACTIVE, SUSPENDED, CANCELLED, EXPIRED).\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"A custom ID you can set to track the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts.\").nullable().optional(),\n subscriber: PaypalGetSubscription_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The date and time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalGetSubscription_BillingInfoSchema.nullable().optional(),\n plan_overridden: z.boolean().describe(\"Indicates whether the plan was overridden.\").nullable().optional(),\n shipping_amount: PaypalGetSubscription_ShippingAmountSchema.nullable().optional(),\n status_change_note: z.string().describe(\"The reason for the status change.\").nullable().optional(),\n status_update_time: z.string().describe(\"The date and time when the status was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model for subscription details.\");\n\nexport const paypalGetSubscription = action(\"PAYPAL_GET_SUBSCRIPTION\", {\n slug: \"paypal-get-subscription\",\n name: \"Get Subscription Details\",\n description: \"Retrieves the details of a PayPal subscription by its ID. Use this action when you need to check the status, billing information, subscriber details, or other properties of an existing subscription. Optionally, you can request additional fields like 'last_failed_payment' or 'plan' details using the fields parameter.\",\n input: PaypalGetSubscriptionInput,\n output: PaypalGetSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,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AaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC1E,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CAChF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,13 +10,13 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
10
10
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
15
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  enc_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  quantity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,11 +26,11 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
26
26
  name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  payer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  subscriber_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  billing_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -39,16 +39,16 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
39
39
  amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
45
  cycle_executions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
47
  tenure_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  total_cycles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
49
  cycles_completed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  cycles_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
- }, z.core.$strip>>>>;
51
+ }, z.core.$loose>>>>;
52
52
  shipping_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
53
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  admin_area_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,30 +56,42 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
56
56
  country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  next_billing_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  last_failed_payment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
62
  time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64
64
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- }, z.core.$strip>>>;
66
+ }, z.core.$loose>>>;
67
67
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- }, z.core.$strip>>>;
68
+ }, z.core.$loose>>>;
69
69
  failed_payment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
- }, z.core.$strip>>>;
70
+ }, z.core.$loose>>>;
71
71
  plan_overridden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
72
72
  shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
73
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
- }, z.core.$strip>>>;
75
+ }, z.core.$loose>>>;
76
76
  status_change_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  status_update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- }, z.core.$strip>;
78
+ }, z.core.$loose>;
79
79
  declare const paypalGetSubscription: import("@keystrokehq/action").WorkflowActionDefinition<{
80
80
  id: string;
81
81
  fields?: string | undefined;
82
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
82
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
83
+ connectionId: z.ZodString;
84
+ entityId: z.ZodString;
85
+ instanceId: z.ZodString;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ accessToken: z.ZodString;
88
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
89
+ connectionId: z.ZodString;
90
+ entityId: z.ZodString;
91
+ instanceId: z.ZodString;
92
+ }, z.core.$strip>, z.ZodObject<{
93
+ accessToken: z.ZodString;
94
+ }, z.core.$strip>>]>;
83
95
  //#endregion
84
96
  export { paypalGetSubscription };
85
97
  //# sourceMappingURL=get-subscription.d.cts.map
@@ -10,13 +10,13 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
10
10
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
11
11
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
15
15
  rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  enc_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>>>;
19
+ }, z.core.$loose>>>>;
20
20
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  quantity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,11 +26,11 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
26
26
  name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
27
  surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- }, z.core.$strip>>>;
29
+ }, z.core.$loose>>>;
30
30
  payer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  subscriber_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  billing_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -39,16 +39,16 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
39
39
  amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
40
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>>>;
44
+ }, z.core.$loose>>>;
45
45
  cycle_executions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
47
  tenure_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
48
  total_cycles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
49
  cycles_completed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
50
  cycles_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
- }, z.core.$strip>>>>;
51
+ }, z.core.$loose>>>>;
52
52
  shipping_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
53
53
  postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  admin_area_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -56,30 +56,42 @@ declare const PaypalGetSubscriptionOutput: z.ZodObject<{
56
56
  country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  next_billing_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  last_failed_payment: z.ZodOptional<z.ZodNullable<z.ZodObject<{
62
62
  time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64
64
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
65
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
- }, z.core.$strip>>>;
66
+ }, z.core.$loose>>>;
67
67
  status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
- }, z.core.$strip>>>;
68
+ }, z.core.$loose>>>;
69
69
  failed_payment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
70
- }, z.core.$strip>>>;
70
+ }, z.core.$loose>>>;
71
71
  plan_overridden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
72
72
  shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
73
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
74
  currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
- }, z.core.$strip>>>;
75
+ }, z.core.$loose>>>;
76
76
  status_change_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  status_update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
- }, z.core.$strip>;
78
+ }, z.core.$loose>;
79
79
  declare const paypalGetSubscription: import("@keystrokehq/action").WorkflowActionDefinition<{
80
80
  id: string;
81
81
  fields?: string | undefined;
82
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
82
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
83
+ connectionId: z.ZodString;
84
+ entityId: z.ZodString;
85
+ instanceId: z.ZodString;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ accessToken: z.ZodString;
88
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
89
+ connectionId: z.ZodString;
90
+ entityId: z.ZodString;
91
+ instanceId: z.ZodString;
92
+ }, z.core.$strip>, z.ZodObject<{
93
+ accessToken: z.ZodString;
94
+ }, z.core.$strip>>]>;
83
95
  //#endregion
84
96
  export { paypalGetSubscription };
85
97
  //# sourceMappingURL=get-subscription.d.mts.map