@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
@@ -7,12 +7,12 @@ const PaypalCreateTemplateInput = z.object({
7
7
  template_item_settings: z.array(z.object({
8
8
  name: z.string().describe("The name of the setting.").optional(),
9
9
  value: z.string().describe("The value of the setting.").optional()
10
- }).describe("The template item headers display preference.")).describe("The template item headers display preference.").optional(),
10
+ }).passthrough().describe("The template item headers display preference.")).describe("The template item headers display preference.").optional(),
11
11
  template_subtotal_settings: z.array(z.object({
12
12
  name: z.string().describe("The name of the setting.").optional(),
13
13
  value: z.string().describe("The value of the setting.").optional()
14
- }).describe("The template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional()
15
- }).describe("The template settings including item and subtotal display preferences.")).describe("The template settings. Sets a template as the default template or edit template.").optional(),
14
+ }).passthrough().describe("The template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional()
15
+ }).passthrough().describe("The template settings including item and subtotal display preferences.")).describe("The template settings. Sets a template as the default template or edit template.").optional(),
16
16
  template_info: z.object({
17
17
  items: z.array(z.object({
18
18
  name: z.string().describe("The item name.").optional(),
@@ -22,7 +22,7 @@ const PaypalCreateTemplateInput = z.object({
22
22
  value: z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for others."),
23
23
  currency_code: z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
24
24
  }).describe("The currency and amount for a financial transaction.").optional()
25
- }).describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
25
+ }).passthrough().describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
26
26
  amount: z.object({
27
27
  value: z.string().describe("The total amount value.").optional(),
28
28
  breakdown: z.object({
@@ -63,7 +63,7 @@ const PaypalCreateTemplateInput = z.object({
63
63
  phones: z.array(z.object({
64
64
  country_code: z.string().describe("The country code.").optional(),
65
65
  national_number: z.string().describe("The national phone number.").optional()
66
- }).describe("A phone number with country code and other details.")).describe("The phone numbers of the invoicer.").optional(),
66
+ }).passthrough().describe("A phone number with country code and other details.")).describe("The phone numbers of the invoicer.").optional(),
67
67
  tax_id: z.string().describe("The tax ID of the invoicer.").optional(),
68
68
  website: z.string().describe("The website URL of the invoicer.").optional(),
69
69
  logo_url: z.string().describe("The URL to the logo image for the invoicer.").optional(),
@@ -95,7 +95,7 @@ const PaypalCreateTemplateInput = z.object({
95
95
  email_address: z.string().describe("The email address of the billing contact.").optional()
96
96
  }).describe("The billing information for the recipient.").optional(),
97
97
  shipping_info: z.record(z.string(), z.unknown()).describe("The shipping information for the recipient.").optional()
98
- }).describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information including name, email, address, phone, and language.").optional(),
98
+ }).passthrough().describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information including name, email, address, phone, and language.").optional(),
99
99
  additional_recipients: z.array(z.string()).describe("An array of one or more CC: emails to which notifications are sent.").optional()
100
100
  }).describe("The template details including invoicer business information, invoice recipients, items, and configuration.").optional(),
101
101
  unit_of_measure: z.enum([
@@ -110,49 +110,49 @@ const PaypalCreateTemplate_LinkDescriptionSchema = z.object({
110
110
  rel: z.string().describe("The link relationship type.").nullable(),
111
111
  href: z.string().describe("The complete URL to the related resource.").nullable(),
112
112
  method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
113
- }).describe("HATEOAS link information.");
113
+ }).passthrough().describe("HATEOAS link information.");
114
114
  const PaypalCreateTemplate_TemplateItemSettingSchema = z.object({
115
115
  name: z.string().describe("The name of the setting.").nullable().optional(),
116
116
  value: z.string().describe("The value of the setting.").nullable().optional()
117
- }).describe("The template item headers display preference.");
117
+ }).passthrough().describe("The template item headers display preference.");
118
118
  const PaypalCreateTemplate_TemplateSubtotalSettingSchema = z.object({
119
119
  name: z.string().describe("The name of the setting.").nullable().optional(),
120
120
  value: z.string().describe("The value of the setting.").nullable().optional()
121
- }).describe("The template subtotal headers display preference.");
121
+ }).passthrough().describe("The template subtotal headers display preference.");
122
122
  const PaypalCreateTemplate_TemplateSettingsSchema = z.object({
123
123
  template_item_settings: z.array(PaypalCreateTemplate_TemplateItemSettingSchema).describe("The template item headers display preference.").nullable().optional(),
124
124
  template_subtotal_settings: z.array(PaypalCreateTemplate_TemplateSubtotalSettingSchema).describe("The template subtotal headers display preference.").nullable().optional()
125
- }).describe("The template settings including item and subtotal display preferences.");
125
+ }).passthrough().describe("The template settings including item and subtotal display preferences.");
126
126
  const PaypalCreateTemplate_MoneySchema = z.object({
127
127
  value: z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for others.").nullable(),
128
128
  currency_code: z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable()
129
- }).describe("The currency and amount for a financial transaction.");
129
+ }).passthrough().describe("The currency and amount for a financial transaction.");
130
130
  const PaypalCreateTemplate_InvoiceItemSchema = z.object({
131
131
  name: z.string().describe("The item name.").nullable().optional(),
132
132
  quantity: z.string().describe("The quantity of the item.").nullable().optional(),
133
133
  description: z.string().describe("The item description.").nullable().optional(),
134
134
  unit_amount: PaypalCreateTemplate_MoneySchema.nullable().optional()
135
- }).describe("An invoice line item.");
135
+ }).passthrough().describe("An invoice line item.");
136
136
  const PaypalCreateTemplate_AmountBreakdownSchema = z.object({
137
137
  custom: z.record(z.string(), z.unknown()).describe("The custom amount.").nullable().optional(),
138
138
  discount: z.record(z.string(), z.unknown()).describe("The discount amount.").nullable().optional(),
139
139
  shipping: PaypalCreateTemplate_MoneySchema.nullable().optional(),
140
140
  tax_total: PaypalCreateTemplate_MoneySchema.nullable().optional(),
141
141
  item_total: PaypalCreateTemplate_MoneySchema.nullable().optional()
142
- }).describe("The breakdown of the amount including item total, tax, shipping, and discounts.");
142
+ }).passthrough().describe("The breakdown of the amount including item total, tax, shipping, and discounts.");
143
143
  const PaypalCreateTemplate_InvoiceAmountSummarySchema = z.object({
144
144
  value: z.string().describe("The total amount value.").nullable().optional(),
145
145
  breakdown: PaypalCreateTemplate_AmountBreakdownSchema.nullable().optional(),
146
146
  currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable().optional()
147
- }).describe("The invoice amount summary including breakdown.");
147
+ }).passthrough().describe("The invoice amount summary including breakdown.");
148
148
  const PaypalCreateTemplate_TemplateMetadataSchema = z.object({
149
149
  create_user: z.string().describe("The user who created the template.").nullable().optional(),
150
150
  modify_user: z.string().describe("The user who last modified the template.").nullable().optional()
151
- }).describe("The metadata for the invoice template.");
151
+ }).passthrough().describe("The metadata for the invoice template.");
152
152
  const PaypalCreateTemplate_TemplatePaymentTermSchema = z.object({
153
153
  due_type: z.string().describe("The type of the due date.").nullable().optional(),
154
154
  interval_days: z.number().int().describe("The number of days after invoice date.").nullable().optional()
155
- }).describe("The payment term for the invoice.");
155
+ }).passthrough().describe("The payment term for the invoice.");
156
156
  const PaypalCreateTemplate_TemplateDetailSchema = z.object({
157
157
  memo: z.string().describe("A memo for the invoice.").nullable().optional(),
158
158
  note: z.string().describe("A note to the payer.").nullable().optional(),
@@ -162,11 +162,11 @@ const PaypalCreateTemplate_TemplateDetailSchema = z.object({
162
162
  payment_term: PaypalCreateTemplate_TemplatePaymentTermSchema.nullable().optional(),
163
163
  currency_code: z.string().describe("The three-character ISO-4217 currency code for the invoice.").nullable(),
164
164
  terms_and_conditions: z.string().describe("The terms of the invoice.").nullable().optional()
165
- }).describe("The template-related details including notes, terms and conditions, memo, and attachments.");
165
+ }).passthrough().describe("The template-related details including notes, terms and conditions, memo, and attachments.");
166
166
  const PaypalCreateTemplate_PhoneNumberSchema = z.object({
167
167
  country_code: z.string().describe("The country code.").nullable().optional(),
168
168
  national_number: z.string().describe("The national phone number.").nullable().optional()
169
- }).describe("A phone number with country code and other details.");
169
+ }).passthrough().describe("A phone number with country code and other details.");
170
170
  const PaypalCreateTemplate_InvoicerInfoSchema = z.object({
171
171
  phones: z.array(PaypalCreateTemplate_PhoneNumberSchema).describe("The phone numbers of the invoicer.").nullable().optional(),
172
172
  tax_id: z.string().describe("The tax ID of the invoicer.").nullable().optional(),
@@ -174,28 +174,28 @@ const PaypalCreateTemplate_InvoicerInfoSchema = z.object({
174
174
  logo_url: z.string().describe("The URL to the logo image for the invoicer.").nullable().optional(),
175
175
  email_address: z.string().describe("The email address of the invoicer.").nullable().optional(),
176
176
  additional_notes: z.string().describe("Additional notes for the invoicer.").nullable().optional()
177
- }).describe("The invoicer business information that appears on the invoice.");
177
+ }).passthrough().describe("The invoicer business information that appears on the invoice.");
178
178
  const PaypalCreateTemplate_PartialPaymentSchema = z.object({
179
179
  total_due: PaypalCreateTemplate_MoneySchema.nullable().optional(),
180
180
  enable_partial_payment: z.boolean().describe("Whether partial payment is enabled.").nullable().optional()
181
- }).describe("The partial payment configuration.");
181
+ }).passthrough().describe("The partial payment configuration.");
182
182
  const PaypalCreateTemplate_TemplateConfigurationSchema = z.object({
183
183
  allow_tip: z.boolean().describe("Indicates whether the tip is allowed.").nullable().optional(),
184
184
  tax_inclusive: z.boolean().describe("Indicates whether tax is inclusive in the amount.").nullable().optional(),
185
185
  partial_payment: PaypalCreateTemplate_PartialPaymentSchema.nullable().optional(),
186
186
  has_conditional_rule: z.boolean().describe("Indicates whether a conditional rule is present.").nullable().optional(),
187
187
  tax_calculated_after_discount: z.boolean().describe("Indicates whether tax is calculated after discount.").nullable().optional()
188
- }).describe("The template configuration details including tax information, tip, and partial payment.");
188
+ }).passthrough().describe("The template configuration details including tax information, tip, and partial payment.");
189
189
  const PaypalCreateTemplate_BillingInfoSchema = z.object({
190
190
  last_name: z.string().describe("The last name of the billing contact.").nullable().optional(),
191
191
  first_name: z.string().describe("The first name of the billing contact.").nullable().optional(),
192
192
  business_name: z.string().describe("The business name of the billing contact.").nullable().optional(),
193
193
  email_address: z.string().describe("The email address of the billing contact.").nullable().optional()
194
- }).describe("The billing information for the recipient.");
194
+ }).passthrough().describe("The billing information for the recipient.");
195
195
  const PaypalCreateTemplate_RecipientInfoSchema = z.object({
196
196
  billing_info: PaypalCreateTemplate_BillingInfoSchema.nullable().optional(),
197
197
  shipping_info: z.record(z.string(), z.unknown()).describe("The shipping information for the recipient.").nullable().optional()
198
- }).describe("The billing and shipping information for the recipient.");
198
+ }).passthrough().describe("The billing and shipping information for the recipient.");
199
199
  const PaypalCreateTemplate_TemplateInfoSchema = z.object({
200
200
  items: z.array(PaypalCreateTemplate_InvoiceItemSchema).describe("An array of invoice line-item information.").nullable().optional(),
201
201
  amount: PaypalCreateTemplate_InvoiceAmountSummarySchema.nullable().optional(),
@@ -205,7 +205,7 @@ const PaypalCreateTemplate_TemplateInfoSchema = z.object({
205
205
  configuration: PaypalCreateTemplate_TemplateConfigurationSchema.nullable().optional(),
206
206
  primary_recipients: z.array(PaypalCreateTemplate_RecipientInfoSchema).describe("The billing and shipping information including name, email, address, phone, and language.").nullable().optional(),
207
207
  additional_recipients: z.array(z.string()).describe("An array of one or more CC: emails to which notifications are sent.").nullable().optional()
208
- }).describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
208
+ }).passthrough().describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
209
209
  const PaypalCreateTemplate_UnitOfMeasureSchema = z.enum([
210
210
  "QUANTITY",
211
211
  "HOURS",
@@ -225,7 +225,7 @@ const paypalCreateTemplate = action("PAYPAL_CREATE_TEMPLATE", {
225
225
  unit_of_measure: PaypalCreateTemplate_UnitOfMeasureSchema.nullable().optional(),
226
226
  default_template: z.boolean().describe("Indicates whether this template is the default template.").nullable().optional(),
227
227
  standard_template: z.boolean().describe("Indicates whether this template is a invoicer-created custom template.").nullable().optional()
228
- }).describe("Response schema for a created PayPal invoice template.")
228
+ }).passthrough().describe("Response schema for a created PayPal invoice template.")
229
229
  });
230
230
  //#endregion
231
231
  export { paypalCreateTemplate };
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateTemplateInput = z.object({\n name: z.string().describe(\"The template name. Must be unique.\"),\n settings: z.array(z.object({\n template_item_settings: z.array(z.object({\n name: z.string().describe(\"The name of the setting.\").optional(),\n value: z.string().describe(\"The value of the setting.\").optional(),\n}).describe(\"The template item headers display preference.\")).describe(\"The template item headers display preference.\").optional(),\n template_subtotal_settings: z.array(z.object({\n name: z.string().describe(\"The name of the setting.\").optional(),\n value: z.string().describe(\"The value of the setting.\").optional(),\n}).describe(\"The template subtotal headers display preference.\")).describe(\"The template subtotal headers display preference.\").optional(),\n}).describe(\"The template settings including item and subtotal display preferences.\")).describe(\"The template settings. Sets a template as the default template or edit template.\").optional(),\n template_info: z.object({\n items: z.array(z.object({\n name: z.string().describe(\"The item name.\").optional(),\n quantity: z.string().describe(\"The quantity of the item.\").optional(),\n description: z.string().describe(\"The item description.\").optional(),\n unit_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"An invoice line item.\")).describe(\"An array of invoice line-item information.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The total amount value.\").optional(),\n breakdown: z.object({\n custom: z.record(z.string(), z.unknown()).describe(\"The custom amount.\").optional(),\n discount: z.record(z.string(), z.unknown()).describe(\"The discount amount.\").optional(),\n shipping: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n tax_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n item_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").optional(),\n}).describe(\"The invoice amount summary including breakdown.\").optional(),\n detail: z.object({\n memo: z.string().describe(\"A memo for the invoice.\").optional(),\n note: z.string().describe(\"A note to the payer.\").optional(),\n metadata: z.object({\n create_user: z.string().describe(\"The user who created the template.\").optional(),\n modify_user: z.string().describe(\"The user who last modified the template.\").optional(),\n}).describe(\"The metadata for the invoice template.\").optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"An array of attachments.\").optional(),\n payment_term: z.object({\n due_type: z.string().describe(\"The type of the due date.\").optional(),\n interval_days: z.number().int().describe(\"The number of days after invoice date.\").optional(),\n}).describe(\"The payment term for the invoice.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\"),\n terms_and_conditions: z.string().describe(\"The terms of the invoice.\").optional(),\n}).describe(\"The template-related details including notes, terms and conditions, memo, and attachments.\").optional(),\n invoicer: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).describe(\"A phone number with country code and other details.\")).describe(\"The phone numbers of the invoicer.\").optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").optional(),\n}).describe(\"The invoicer business information that appears on the invoice.\").optional(),\n due_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n configuration: z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the tip is allowed.\").optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether tax is inclusive in the amount.\").optional(),\n partial_payment: z.object({\n total_due: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n enable_partial_payment: z.boolean().describe(\"Whether partial payment is enabled.\").optional(),\n}).describe(\"The partial payment configuration.\").optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether a conditional rule is present.\").optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").optional(),\n}).describe(\"The template configuration details including tax information, tip, and partial payment.\").optional(),\n primary_recipients: z.array(z.object({\n billing_info: z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").optional(),\n}).describe(\"The billing information for the recipient.\").optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information for the recipient.\").optional(),\n}).describe(\"The billing and shipping information for the recipient.\")).describe(\"The billing and shipping information including name, email, address, phone, and language.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of one or more CC: emails to which notifications are sent.\").optional(),\n}).describe(\"The template details including invoicer business information, invoice recipients, items, and configuration.\").optional(),\n unit_of_measure: z.enum([\"QUANTITY\", \"HOURS\", \"AMOUNT\"]).describe(\"The unit of measure for the invoiced item.\").optional(),\n default_template: z.boolean().describe(\"Indicates whether this template is the default template. A invoicer can have one default template.\").optional(),\n standard_template: z.boolean().describe(\"Indicates whether this template is a invoicer-created custom template. The system generates non-custom templates.\").optional(),\n}).describe(\"Request schema for creating a PayPal invoice template.\\n\\nUse this action when you need to create a reusable invoice template\\nthat can be used to generate invoices with consistent settings.\\nThe minimum required field is the name and template_info.detail.currency_code.\\n\\n**Required fields:**\\n- name: The template name (must be unique)\\n- template_info.detail.currency_code: The three-character currency code\\n\\n**Optional fields:**\\n- default_template: Set as the default template\\n- standard_template: Custom vs system-generated template\\n- template_info: Full template configuration including invoicer info, recipients, items\\n- settings: Template display preferences\\n- unit_of_measure: Unit of measure for items (QUANTITY, HOURS, AMOUNT)\\n\\nThe created template can be used to quickly generate invoices with\\npre-configured business information, recipients, and line items.\");\nconst PaypalCreateTemplate_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateTemplate_TemplateItemSettingSchema = z.object({\n name: z.string().describe(\"The name of the setting.\").nullable().optional(),\n value: z.string().describe(\"The value of the setting.\").nullable().optional(),\n}).describe(\"The template item headers display preference.\");\nconst PaypalCreateTemplate_TemplateSubtotalSettingSchema = z.object({\n name: z.string().describe(\"The name of the setting.\").nullable().optional(),\n value: z.string().describe(\"The value of the setting.\").nullable().optional(),\n}).describe(\"The template subtotal headers display preference.\");\nconst PaypalCreateTemplate_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(PaypalCreateTemplate_TemplateItemSettingSchema).describe(\"The template item headers display preference.\").nullable().optional(),\n template_subtotal_settings: z.array(PaypalCreateTemplate_TemplateSubtotalSettingSchema).describe(\"The template subtotal headers display preference.\").nullable().optional(),\n}).describe(\"The template settings including item and subtotal display preferences.\");\nconst PaypalCreateTemplate_MoneySchema = z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateTemplate_InvoiceItemSchema = z.object({\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n}).describe(\"An invoice line item.\");\nconst PaypalCreateTemplate_AmountBreakdownSchema = z.object({\n custom: z.record(z.string(), z.unknown()).describe(\"The custom amount.\").nullable().optional(),\n discount: z.record(z.string(), z.unknown()).describe(\"The discount amount.\").nullable().optional(),\n shipping: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n tax_total: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n item_total: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n}).describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\");\nconst PaypalCreateTemplate_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The total amount value.\").nullable().optional(),\n breakdown: PaypalCreateTemplate_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable().optional(),\n}).describe(\"The invoice amount summary including breakdown.\");\nconst PaypalCreateTemplate_TemplateMetadataSchema = z.object({\n create_user: z.string().describe(\"The user who created the template.\").nullable().optional(),\n modify_user: z.string().describe(\"The user who last modified the template.\").nullable().optional(),\n}).describe(\"The metadata for the invoice template.\");\nconst PaypalCreateTemplate_TemplatePaymentTermSchema = z.object({\n due_type: z.string().describe(\"The type of the due date.\").nullable().optional(),\n interval_days: z.number().int().describe(\"The number of days after invoice date.\").nullable().optional(),\n}).describe(\"The payment term for the invoice.\");\nconst PaypalCreateTemplate_TemplateDetailSchema = z.object({\n memo: z.string().describe(\"A memo for the invoice.\").nullable().optional(),\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n metadata: PaypalCreateTemplate_TemplateMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"An array of attachments.\").nullable().optional(),\n payment_term: PaypalCreateTemplate_TemplatePaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\").nullable(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice.\").nullable().optional(),\n}).describe(\"The template-related details including notes, terms and conditions, memo, and attachments.\");\nconst PaypalCreateTemplate_PhoneNumberSchema = z.object({\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national phone number.\").nullable().optional(),\n}).describe(\"A phone number with country code and other details.\");\nconst PaypalCreateTemplate_InvoicerInfoSchema = z.object({\n phones: z.array(PaypalCreateTemplate_PhoneNumberSchema).describe(\"The phone numbers of the invoicer.\").nullable().optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").nullable().optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").nullable().optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").nullable().optional(),\n}).describe(\"The invoicer business information that appears on the invoice.\");\nconst PaypalCreateTemplate_PartialPaymentSchema = z.object({\n total_due: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n enable_partial_payment: z.boolean().describe(\"Whether partial payment is enabled.\").nullable().optional(),\n}).describe(\"The partial payment configuration.\");\nconst PaypalCreateTemplate_TemplateConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the tip is allowed.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether tax is inclusive in the amount.\").nullable().optional(),\n partial_payment: PaypalCreateTemplate_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether a conditional rule is present.\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").nullable().optional(),\n}).describe(\"The template configuration details including tax information, tip, and partial payment.\");\nconst PaypalCreateTemplate_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").nullable().optional(),\n}).describe(\"The billing information for the recipient.\");\nconst PaypalCreateTemplate_RecipientInfoSchema = z.object({\n billing_info: PaypalCreateTemplate_BillingInfoSchema.nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information for the recipient.\").nullable().optional(),\n}).describe(\"The billing and shipping information for the recipient.\");\nconst PaypalCreateTemplate_TemplateInfoSchema = z.object({\n items: z.array(PaypalCreateTemplate_InvoiceItemSchema).describe(\"An array of invoice line-item information.\").nullable().optional(),\n amount: PaypalCreateTemplate_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalCreateTemplate_TemplateDetailSchema.nullable().optional(),\n invoicer: PaypalCreateTemplate_InvoicerInfoSchema.nullable().optional(),\n due_amount: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n configuration: PaypalCreateTemplate_TemplateConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalCreateTemplate_RecipientInfoSchema).describe(\"The billing and shipping information including name, email, address, phone, and language.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of one or more CC: emails to which notifications are sent.\").nullable().optional(),\n}).describe(\"The template details including invoicer business information, invoice recipients, items, and configuration.\");\nconst PaypalCreateTemplate_UnitOfMeasureSchema = z.enum([\"QUANTITY\", \"HOURS\", \"AMOUNT\"]).describe(\"The unit of measure for the invoiced item.\");\nexport const PaypalCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n name: z.string().describe(\"The template name.\").nullable().optional(),\n links: z.array(PaypalCreateTemplate_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the template.\").nullable().optional(),\n settings: z.array(PaypalCreateTemplate_TemplateSettingsSchema).describe(\"The template settings.\").nullable().optional(),\n template_info: PaypalCreateTemplate_TemplateInfoSchema.nullable().optional(),\n unit_of_measure: PaypalCreateTemplate_UnitOfMeasureSchema.nullable().optional(),\n default_template: z.boolean().describe(\"Indicates whether this template is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates whether this template is a invoicer-created custom template.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal invoice template.\");\n\nexport const paypalCreateTemplate = action(\"PAYPAL_CREATE_TEMPLATE\", {\n slug: \"paypal-create-template\",\n name: \"Create template\",\n description: \"Creates a PayPal invoice template. Use this action when you need to create a reusable invoice template that can be used to generate invoices with consistent settings. Templates are useful for businesses that regularly send similar invoices. **Required fields:** - name: The template name (must be unique) - template_info.detail.currency_code: The three-character ISO-4217 currency code **Optional fields:** - default_template: Set as the default template (only one allowed per account) - standard_template: Indicates if this is a custom template - template_info: Full template configuration - invoicer: Business information (email, tax_id, logo_url, etc.) - primary_recipients: Billing/shipping information for recipients - items: Line item presets - configuration: Tax settings, partial payment options - settings: Display preferences - unit_of_measure: QUANTITY, HOURS, or AMOUNT The created template can be used with the Generate Invoice action to quickly create invoices from pre-configured templates.\",\n input: PaypalCreateTemplateInput,\n output: PaypalCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;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AACzH,MAAM,2CAA2C,EAAE,KAAK;CAAC;CAAY;CAAS;AAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAY9I,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,SAAS,wDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-template.mjs","names":[],"sources":["../../src/actions/create-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateTemplateInput = z.object({\n name: z.string().describe(\"The template name. Must be unique.\"),\n settings: z.array(z.object({\n template_item_settings: z.array(z.object({\n name: z.string().describe(\"The name of the setting.\").optional(),\n value: z.string().describe(\"The value of the setting.\").optional(),\n}).passthrough().describe(\"The template item headers display preference.\")).describe(\"The template item headers display preference.\").optional(),\n template_subtotal_settings: z.array(z.object({\n name: z.string().describe(\"The name of the setting.\").optional(),\n value: z.string().describe(\"The value of the setting.\").optional(),\n}).passthrough().describe(\"The template subtotal headers display preference.\")).describe(\"The template subtotal headers display preference.\").optional(),\n}).passthrough().describe(\"The template settings including item and subtotal display preferences.\")).describe(\"The template settings. Sets a template as the default template or edit template.\").optional(),\n template_info: z.object({\n items: z.array(z.object({\n name: z.string().describe(\"The item name.\").optional(),\n quantity: z.string().describe(\"The quantity of the item.\").optional(),\n description: z.string().describe(\"The item description.\").optional(),\n unit_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).passthrough().describe(\"An invoice line item.\")).describe(\"An array of invoice line-item information.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The total amount value.\").optional(),\n breakdown: z.object({\n custom: z.record(z.string(), z.unknown()).describe(\"The custom amount.\").optional(),\n discount: z.record(z.string(), z.unknown()).describe(\"The discount amount.\").optional(),\n shipping: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n tax_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n item_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").optional(),\n}).describe(\"The invoice amount summary including breakdown.\").optional(),\n detail: z.object({\n memo: z.string().describe(\"A memo for the invoice.\").optional(),\n note: z.string().describe(\"A note to the payer.\").optional(),\n metadata: z.object({\n create_user: z.string().describe(\"The user who created the template.\").optional(),\n modify_user: z.string().describe(\"The user who last modified the template.\").optional(),\n}).describe(\"The metadata for the invoice template.\").optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"An array of attachments.\").optional(),\n payment_term: z.object({\n due_type: z.string().describe(\"The type of the due date.\").optional(),\n interval_days: z.number().int().describe(\"The number of days after invoice date.\").optional(),\n}).describe(\"The payment term for the invoice.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\"),\n terms_and_conditions: z.string().describe(\"The terms of the invoice.\").optional(),\n}).describe(\"The template-related details including notes, terms and conditions, memo, and attachments.\").optional(),\n invoicer: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).passthrough().describe(\"A phone number with country code and other details.\")).describe(\"The phone numbers of the invoicer.\").optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").optional(),\n}).describe(\"The invoicer business information that appears on the invoice.\").optional(),\n due_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n configuration: z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the tip is allowed.\").optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether tax is inclusive in the amount.\").optional(),\n partial_payment: z.object({\n total_due: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n enable_partial_payment: z.boolean().describe(\"Whether partial payment is enabled.\").optional(),\n}).describe(\"The partial payment configuration.\").optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether a conditional rule is present.\").optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").optional(),\n}).describe(\"The template configuration details including tax information, tip, and partial payment.\").optional(),\n primary_recipients: z.array(z.object({\n billing_info: z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").optional(),\n}).describe(\"The billing information for the recipient.\").optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information for the recipient.\").optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\")).describe(\"The billing and shipping information including name, email, address, phone, and language.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of one or more CC: emails to which notifications are sent.\").optional(),\n}).describe(\"The template details including invoicer business information, invoice recipients, items, and configuration.\").optional(),\n unit_of_measure: z.enum([\"QUANTITY\", \"HOURS\", \"AMOUNT\"]).describe(\"The unit of measure for the invoiced item.\").optional(),\n default_template: z.boolean().describe(\"Indicates whether this template is the default template. A invoicer can have one default template.\").optional(),\n standard_template: z.boolean().describe(\"Indicates whether this template is a invoicer-created custom template. The system generates non-custom templates.\").optional(),\n}).describe(\"Request schema for creating a PayPal invoice template.\\n\\nUse this action when you need to create a reusable invoice template\\nthat can be used to generate invoices with consistent settings.\\nThe minimum required field is the name and template_info.detail.currency_code.\\n\\n**Required fields:**\\n- name: The template name (must be unique)\\n- template_info.detail.currency_code: The three-character currency code\\n\\n**Optional fields:**\\n- default_template: Set as the default template\\n- standard_template: Custom vs system-generated template\\n- template_info: Full template configuration including invoicer info, recipients, items\\n- settings: Template display preferences\\n- unit_of_measure: Unit of measure for items (QUANTITY, HOURS, AMOUNT)\\n\\nThe created template can be used to quickly generate invoices with\\npre-configured business information, recipients, and line items.\");\nconst PaypalCreateTemplate_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateTemplate_TemplateItemSettingSchema = z.object({\n name: z.string().describe(\"The name of the setting.\").nullable().optional(),\n value: z.string().describe(\"The value of the setting.\").nullable().optional(),\n}).passthrough().describe(\"The template item headers display preference.\");\nconst PaypalCreateTemplate_TemplateSubtotalSettingSchema = z.object({\n name: z.string().describe(\"The name of the setting.\").nullable().optional(),\n value: z.string().describe(\"The value of the setting.\").nullable().optional(),\n}).passthrough().describe(\"The template subtotal headers display preference.\");\nconst PaypalCreateTemplate_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(PaypalCreateTemplate_TemplateItemSettingSchema).describe(\"The template item headers display preference.\").nullable().optional(),\n template_subtotal_settings: z.array(PaypalCreateTemplate_TemplateSubtotalSettingSchema).describe(\"The template subtotal headers display preference.\").nullable().optional(),\n}).passthrough().describe(\"The template settings including item and subtotal display preferences.\");\nconst PaypalCreateTemplate_MoneySchema = z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).passthrough().describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateTemplate_InvoiceItemSchema = z.object({\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"An invoice line item.\");\nconst PaypalCreateTemplate_AmountBreakdownSchema = z.object({\n custom: z.record(z.string(), z.unknown()).describe(\"The custom amount.\").nullable().optional(),\n discount: z.record(z.string(), z.unknown()).describe(\"The discount amount.\").nullable().optional(),\n shipping: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n tax_total: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n item_total: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\");\nconst PaypalCreateTemplate_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The total amount value.\").nullable().optional(),\n breakdown: PaypalCreateTemplate_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"The invoice amount summary including breakdown.\");\nconst PaypalCreateTemplate_TemplateMetadataSchema = z.object({\n create_user: z.string().describe(\"The user who created the template.\").nullable().optional(),\n modify_user: z.string().describe(\"The user who last modified the template.\").nullable().optional(),\n}).passthrough().describe(\"The metadata for the invoice template.\");\nconst PaypalCreateTemplate_TemplatePaymentTermSchema = z.object({\n due_type: z.string().describe(\"The type of the due date.\").nullable().optional(),\n interval_days: z.number().int().describe(\"The number of days after invoice date.\").nullable().optional(),\n}).passthrough().describe(\"The payment term for the invoice.\");\nconst PaypalCreateTemplate_TemplateDetailSchema = z.object({\n memo: z.string().describe(\"A memo for the invoice.\").nullable().optional(),\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n metadata: PaypalCreateTemplate_TemplateMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").nullable().optional(),\n attachments: z.array(z.record(z.string(), z.unknown())).describe(\"An array of attachments.\").nullable().optional(),\n payment_term: PaypalCreateTemplate_TemplatePaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\").nullable(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice.\").nullable().optional(),\n}).passthrough().describe(\"The template-related details including notes, terms and conditions, memo, and attachments.\");\nconst PaypalCreateTemplate_PhoneNumberSchema = z.object({\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national phone number.\").nullable().optional(),\n}).passthrough().describe(\"A phone number with country code and other details.\");\nconst PaypalCreateTemplate_InvoicerInfoSchema = z.object({\n phones: z.array(PaypalCreateTemplate_PhoneNumberSchema).describe(\"The phone numbers of the invoicer.\").nullable().optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").nullable().optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").nullable().optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"The invoicer business information that appears on the invoice.\");\nconst PaypalCreateTemplate_PartialPaymentSchema = z.object({\n total_due: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n enable_partial_payment: z.boolean().describe(\"Whether partial payment is enabled.\").nullable().optional(),\n}).passthrough().describe(\"The partial payment configuration.\");\nconst PaypalCreateTemplate_TemplateConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the tip is allowed.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether tax is inclusive in the amount.\").nullable().optional(),\n partial_payment: PaypalCreateTemplate_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether a conditional rule is present.\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").nullable().optional(),\n}).passthrough().describe(\"The template configuration details including tax information, tip, and partial payment.\");\nconst PaypalCreateTemplate_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").nullable().optional(),\n}).passthrough().describe(\"The billing information for the recipient.\");\nconst PaypalCreateTemplate_RecipientInfoSchema = z.object({\n billing_info: PaypalCreateTemplate_BillingInfoSchema.nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information for the recipient.\").nullable().optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\");\nconst PaypalCreateTemplate_TemplateInfoSchema = z.object({\n items: z.array(PaypalCreateTemplate_InvoiceItemSchema).describe(\"An array of invoice line-item information.\").nullable().optional(),\n amount: PaypalCreateTemplate_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalCreateTemplate_TemplateDetailSchema.nullable().optional(),\n invoicer: PaypalCreateTemplate_InvoicerInfoSchema.nullable().optional(),\n due_amount: PaypalCreateTemplate_MoneySchema.nullable().optional(),\n configuration: PaypalCreateTemplate_TemplateConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalCreateTemplate_RecipientInfoSchema).describe(\"The billing and shipping information including name, email, address, phone, and language.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of one or more CC: emails to which notifications are sent.\").nullable().optional(),\n}).passthrough().describe(\"The template details including invoicer business information, invoice recipients, items, and configuration.\");\nconst PaypalCreateTemplate_UnitOfMeasureSchema = z.enum([\"QUANTITY\", \"HOURS\", \"AMOUNT\"]).describe(\"The unit of measure for the invoiced item.\");\nexport const PaypalCreateTemplateOutput = z.object({\n id: z.string().describe(\"The ID of the template.\").nullable().optional(),\n name: z.string().describe(\"The template name.\").nullable().optional(),\n links: z.array(PaypalCreateTemplate_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the template.\").nullable().optional(),\n settings: z.array(PaypalCreateTemplate_TemplateSettingsSchema).describe(\"The template settings.\").nullable().optional(),\n template_info: PaypalCreateTemplate_TemplateInfoSchema.nullable().optional(),\n unit_of_measure: PaypalCreateTemplate_UnitOfMeasureSchema.nullable().optional(),\n default_template: z.boolean().describe(\"Indicates whether this template is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates whether this template is a invoicer-created custom template.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal invoice template.\");\n\nexport const paypalCreateTemplate = action(\"PAYPAL_CREATE_TEMPLATE\", {\n slug: \"paypal-create-template\",\n name: \"Create template\",\n description: \"Creates a PayPal invoice template. Use this action when you need to create a reusable invoice template that can be used to generate invoices with consistent settings. Templates are useful for businesses that regularly send similar invoices. **Required fields:** - name: The template name (must be unique) - template_info.detail.currency_code: The three-character ISO-4217 currency code **Optional fields:** - default_template: Set as the default template (only one allowed per account) - standard_template: Indicates if this is a custom template - template_info: Full template configuration - invoicer: Business information (email, tax_id, logo_url, etc.) - primary_recipients: Billing/shipping information for recipients - items: Line item presets - configuration: Tax settings, partial payment options - settings: Display preferences - unit_of_measure: QUANTITY, HOURS, or AMOUNT The created template can be used with the Generate Invoice action to quickly create invoices from pre-configured templates.\",\n input: PaypalCreateTemplateInput,\n output: PaypalCreateTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,wBAAwB,EAAE,MAAM,EAAE,OAAO;GACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACnE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC7I,4BAA4B,EAAE,MAAM,EAAE,OAAO;GAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GAC/D,O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AAM,2CAA2C,EAAE,KAAK;CAAC;CAAY;CAAS;AAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAY9I,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9I,UAAU,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,eAAe,wCAAwC,SAAS,CAAC,CAAC,SAAS;EAC3E,iBAAiB,yCAAyC,SAAS,CAAC,CAAC,SAAS;EAC9E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -25,7 +25,7 @@ const PaypalCreateWebProfile_LinkDescriptionSchema = zod.z.object({
25
25
  rel: zod.z.string().describe("The link relationship type.").nullable(),
26
26
  href: zod.z.string().describe("The complete URL to the related resource.").nullable(),
27
27
  method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
28
- }).describe("HATEOAS link information.");
28
+ }).passthrough().describe("HATEOAS link information.");
29
29
  const PaypalCreateWebProfile_UserActionSchema = zod.z.enum(["COMMIT"]).describe("User action for checkout flow.");
30
30
  const PaypalCreateWebProfile_LandingPageTypeSchema = zod.z.enum(["login", "billing"]).describe("The type of landing page for checkout.");
31
31
  const PaypalCreateWebProfile_ReturnUriHttpMethodSchema = zod.z.enum(["GET", "POST"]).describe("The HTTP method for redirecting to return URL.");
@@ -34,16 +34,16 @@ const PaypalCreateWebProfile_FlowConfigSchema = zod.z.object({
34
34
  landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),
35
35
  bank_txn_pending_url: zod.z.string().describe("The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.").nullable().optional(),
36
36
  return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional()
37
- }).describe("The flow configuration parameters.");
37
+ }).passthrough().describe("The flow configuration parameters.");
38
38
  const PaypalCreateWebProfile_InputFieldsSchema = zod.z.object({
39
39
  no_shipping: zod.z.number().int().describe("Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.").nullable().optional(),
40
40
  address_override: zod.z.number().int().describe("Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.").nullable().optional()
41
- }).describe("The input field customization parameters.");
41
+ }).passthrough().describe("The input field customization parameters.");
42
42
  const PaypalCreateWebProfile_PresentationSchema = zod.z.object({
43
43
  brand_name: zod.z.string().describe("A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.").nullable().optional(),
44
44
  logo_image: zod.z.string().describe("A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.").nullable().optional(),
45
45
  locale_code: zod.z.string().describe("The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.").nullable().optional()
46
- }).describe("The style and presentation parameters.");
46
+ }).passthrough().describe("The style and presentation parameters.");
47
47
  const PaypalCreateWebProfileOutput = zod.z.object({
48
48
  id: zod.z.string().describe("The ID of the web experience profile.").nullable().optional(),
49
49
  name: zod.z.string().describe("The web experience profile name.").nullable().optional(),
@@ -52,7 +52,7 @@ const PaypalCreateWebProfileOutput = zod.z.object({
52
52
  flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),
53
53
  input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),
54
54
  presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional()
55
- }).describe("Response schema for a created PayPal web experience profile.");
55
+ }).passthrough().describe("Response schema for a created PayPal web experience profile.");
56
56
  const paypalCreateWebProfile = require_action.action("PAYPAL_CREATE_WEB_PROFILE", {
57
57
  slug: "paypal-create-web-profile",
58
58
  name: "Create a web experience profile",
@@ -1 +1 @@
1
- {"version":3,"file":"create-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/create-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile. If not provided, PayPal generates an ID.\").optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\").optional(),\n}).describe(\"The flow configuration parameters.\").optional(),\n input_fields: z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").optional(),\n}).describe(\"The input field customization parameters.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").optional(),\n}).describe(\"The style and presentation parameters.\").optional(),\n}).describe(\"Request schema for creating a PayPal web experience profile.\\n\\nUse this action when you need to create a custom checkout experience\\nfor PayPal payments, including branding, landing pages, and flow configuration.\\nThe profile name must be unique for a set of profiles for a merchant.\");\nconst PaypalCreateWebProfile_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebProfile_UserActionSchema = z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\");\nconst PaypalCreateWebProfile_LandingPageTypeSchema = z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\");\nconst PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\");\nconst PaypalCreateWebProfile_FlowConfigSchema = z.object({\n user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),\n landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional(),\n}).describe(\"The flow configuration parameters.\");\nconst PaypalCreateWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").nullable().optional(),\n}).describe(\"The input field customization parameters.\");\nconst PaypalCreateWebProfile_PresentationSchema = z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").nullable().optional(),\n}).describe(\"The style and presentation parameters.\");\nexport const PaypalCreateWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name.\").nullable().optional(),\n links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently.\").nullable().optional(),\n flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional(),\n}).describe(\"Response schema for a created PayPal web experience profile.\");\n\nexport const paypalCreateWebProfile = action(\"PAYPAL_CREATE_WEB_PROFILE\", {\n slug: \"paypal-create-web-profile\",\n name: \"Create a web experience profile\",\n description: \"Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.\",\n input: PaypalCreateWebProfileInput,\n output: PaypalCreateWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CAC5L,aAAaA,IAAAA,EAAE,OAAO;EACtB,aAAaA,IAAAA,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpF,mBAAmBA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAC7M,wBAAwBA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzD,cAAcA,IAAAA,EAAE,OAAO;EACvB,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8NAA8N,CA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ACxI,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/create-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile. If not provided, PayPal generates an ID.\").optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to false for permanent persistence, true for three-hour persistence.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\").optional(),\n}).describe(\"The flow configuration parameters.\").optional(),\n input_fields: z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").optional(),\n}).describe(\"The input field customization parameters.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").optional(),\n}).describe(\"The style and presentation parameters.\").optional(),\n}).describe(\"Request schema for creating a PayPal web experience profile.\\n\\nUse this action when you need to create a custom checkout experience\\nfor PayPal payments, including branding, landing pages, and flow configuration.\\nThe profile name must be unique for a set of profiles for a merchant.\");\nconst PaypalCreateWebProfile_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateWebProfile_UserActionSchema = z.enum([\"COMMIT\"]).describe(\"User action for checkout flow.\");\nconst PaypalCreateWebProfile_LandingPageTypeSchema = z.enum([\"login\", \"billing\"]).describe(\"The type of landing page for checkout.\");\nconst PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method for redirecting to return URL.\");\nconst PaypalCreateWebProfile_FlowConfigSchema = z.object({\n user_action: PaypalCreateWebProfile_UserActionSchema.nullable().optional(),\n landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters.\");\nconst PaypalCreateWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters.\");\nconst PaypalCreateWebProfile_PresentationSchema = z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters.\");\nexport const PaypalCreateWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name.\").nullable().optional(),\n links: z.array(PaypalCreateWebProfile_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently.\").nullable().optional(),\n flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal web experience profile.\");\n\nexport const paypalCreateWebProfile = action(\"PAYPAL_CREATE_WEB_PROFILE\", {\n slug: \"paypal-create-web-profile\",\n name: \"Create a web experience profile\",\n description: \"Creates a PayPal web experience profile for customizing checkout. Use this action when you need to set up a branded, customized checkout experience for PayPal payments. This includes configuring the landing page, branding elements like logo and brand name, input field customization, and checkout flow behavior. The profile can be set as temporary (persists for three hours) or permanent. To use this profile, pass its ID when creating a payment.\",\n input: PaypalCreateWebProfileInput,\n output: PaypalCreateWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACnH,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CAC5L,aAAaA,IAAAA,EAAE,OAAO;EACtB,aAAaA,IAAAA,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACpF,mBAAmBA,IAAAA,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS;EAC7M,wBAAwBA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzD,cAAcA,IAAAA,EAAE,OAAO;EACvB,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8NAA8N,CAAC,CAAC,SAAS;EAChR,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CAC5O,CA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,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAa,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAc,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC3E,cAAc,0CAA0C,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -36,7 +36,7 @@ declare const PaypalCreateWebProfileOutput: z.ZodObject<{
36
36
  rel: z.ZodNullable<z.ZodString>;
37
37
  href: z.ZodNullable<z.ZodString>;
38
38
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>>>;
39
+ }, z.core.$loose>>>>;
40
40
  temporary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
41
  flow_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  user_action: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -51,17 +51,17 @@ declare const PaypalCreateWebProfileOutput: z.ZodObject<{
51
51
  GET: "GET";
52
52
  POST: "POST";
53
53
  }>>>;
54
- }, z.core.$strip>>>;
54
+ }, z.core.$loose>>>;
55
55
  input_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
56
  no_shipping: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
57
  address_override: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
- }, z.core.$strip>>>;
58
+ }, z.core.$loose>>>;
59
59
  presentation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
60
  brand_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  logo_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>>>;
64
- }, z.core.$strip>;
63
+ }, z.core.$loose>>>;
64
+ }, z.core.$loose>;
65
65
  declare const paypalCreateWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
66
66
  name: string;
67
67
  id?: string | undefined;
@@ -81,7 +81,19 @@ declare const paypalCreateWebProfile: import("@keystrokehq/action").WorkflowActi
81
81
  logo_image?: string | undefined;
82
82
  locale_code?: string | undefined;
83
83
  } | undefined;
84
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
84
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ accessToken: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ accessToken: z.ZodString;
96
+ }, z.core.$strip>>]>;
85
97
  //#endregion
86
98
  export { paypalCreateWebProfile };
87
99
  //# sourceMappingURL=create-web-profile.d.cts.map
@@ -36,7 +36,7 @@ declare const PaypalCreateWebProfileOutput: z.ZodObject<{
36
36
  rel: z.ZodNullable<z.ZodString>;
37
37
  href: z.ZodNullable<z.ZodString>;
38
38
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>>>>;
39
+ }, z.core.$loose>>>>;
40
40
  temporary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
41
  flow_config: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  user_action: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -51,17 +51,17 @@ declare const PaypalCreateWebProfileOutput: z.ZodObject<{
51
51
  GET: "GET";
52
52
  POST: "POST";
53
53
  }>>>;
54
- }, z.core.$strip>>>;
54
+ }, z.core.$loose>>>;
55
55
  input_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
56
  no_shipping: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
57
57
  address_override: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
- }, z.core.$strip>>>;
58
+ }, z.core.$loose>>>;
59
59
  presentation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
60
60
  brand_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  logo_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>>>;
64
- }, z.core.$strip>;
63
+ }, z.core.$loose>>>;
64
+ }, z.core.$loose>;
65
65
  declare const paypalCreateWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
66
66
  name: string;
67
67
  id?: string | undefined;
@@ -81,7 +81,19 @@ declare const paypalCreateWebProfile: import("@keystrokehq/action").WorkflowActi
81
81
  logo_image?: string | undefined;
82
82
  locale_code?: string | undefined;
83
83
  } | undefined;
84
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
84
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
85
+ connectionId: z.ZodString;
86
+ entityId: z.ZodString;
87
+ instanceId: z.ZodString;
88
+ }, z.core.$strip>, z.ZodObject<{
89
+ accessToken: z.ZodString;
90
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
91
+ connectionId: z.ZodString;
92
+ entityId: z.ZodString;
93
+ instanceId: z.ZodString;
94
+ }, z.core.$strip>, z.ZodObject<{
95
+ accessToken: z.ZodString;
96
+ }, z.core.$strip>>]>;
85
97
  //#endregion
86
98
  export { paypalCreateWebProfile };
87
99
  //# sourceMappingURL=create-web-profile.d.mts.map
@@ -25,7 +25,7 @@ const PaypalCreateWebProfile_LinkDescriptionSchema = z.object({
25
25
  rel: z.string().describe("The link relationship type.").nullable(),
26
26
  href: z.string().describe("The complete URL to the related resource.").nullable(),
27
27
  method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
28
- }).describe("HATEOAS link information.");
28
+ }).passthrough().describe("HATEOAS link information.");
29
29
  const PaypalCreateWebProfile_UserActionSchema = z.enum(["COMMIT"]).describe("User action for checkout flow.");
30
30
  const PaypalCreateWebProfile_LandingPageTypeSchema = z.enum(["login", "billing"]).describe("The type of landing page for checkout.");
31
31
  const PaypalCreateWebProfile_ReturnUriHttpMethodSchema = z.enum(["GET", "POST"]).describe("The HTTP method for redirecting to return URL.");
@@ -34,16 +34,16 @@ const PaypalCreateWebProfile_FlowConfigSchema = z.object({
34
34
  landing_page_type: PaypalCreateWebProfile_LandingPageTypeSchema.nullable().optional(),
35
35
  bank_txn_pending_url: z.string().describe("The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.").nullable().optional(),
36
36
  return_uri_http_method: PaypalCreateWebProfile_ReturnUriHttpMethodSchema.nullable().optional()
37
- }).describe("The flow configuration parameters.");
37
+ }).passthrough().describe("The flow configuration parameters.");
38
38
  const PaypalCreateWebProfile_InputFieldsSchema = z.object({
39
39
  no_shipping: z.number().int().describe("Indicates whether PayPal displays shipping address fields. 0 displays the shipping address. 1 redacts shipping address fields (required for digital goods). 2 gets the shipping address from the customer's account profile.").nullable().optional(),
40
40
  address_override: z.number().int().describe("Indicates whether to display the shipping address passed to this call rather than the one on file. 0 displays the address on file. 1 displays the address specified in this call.").nullable().optional()
41
- }).describe("The input field customization parameters.");
41
+ }).passthrough().describe("The input field customization parameters.");
42
42
  const PaypalCreateWebProfile_PresentationSchema = z.object({
43
43
  brand_name: z.string().describe("A label that overrides the business name in the PayPal account on the PayPal pages. Character limit: 127 single-byte alphanumeric characters.").nullable().optional(),
44
44
  logo_image: z.string().describe("A URL to the logo image. Valid media types are .gif, .jpg, or .png. Maximum width is 190 pixels and maximum height is 60 pixels. PayPal recommends storing the image on a secure (HTTPS) server.").nullable().optional(),
45
45
  locale_code: z.string().describe("The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US, or 5-character codes like da_DK, he_IL, ja_JP, etc.").nullable().optional()
46
- }).describe("The style and presentation parameters.");
46
+ }).passthrough().describe("The style and presentation parameters.");
47
47
  const paypalCreateWebProfile = action("PAYPAL_CREATE_WEB_PROFILE", {
48
48
  slug: "paypal-create-web-profile",
49
49
  name: "Create a web experience profile",
@@ -57,7 +57,7 @@ const paypalCreateWebProfile = action("PAYPAL_CREATE_WEB_PROFILE", {
57
57
  flow_config: PaypalCreateWebProfile_FlowConfigSchema.nullable().optional(),
58
58
  input_fields: PaypalCreateWebProfile_InputFieldsSchema.nullable().optional(),
59
59
  presentation: PaypalCreateWebProfile_PresentationSchema.nullable().optional()
60
- }).describe("Response schema for a created PayPal web experience profile.")
60
+ }).passthrough().describe("Response schema for a created PayPal web experience profile.")
61
61
  });
62
62
  //#endregion
63
63
  export { paypalCreateWebProfile };