@keystrokehq/paypal 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/dist/actions/activate-plan.cjs +1 -1
  2. package/dist/actions/activate-plan.cjs.map +1 -1
  3. package/dist/actions/activate-plan.d.cts +1 -1
  4. package/dist/actions/activate-plan.d.mts +1 -1
  5. package/dist/actions/activate-plan.mjs +1 -1
  6. package/dist/actions/activate-plan.mjs.map +1 -1
  7. package/dist/actions/add-batch-trackers.cjs +5 -5
  8. package/dist/actions/add-batch-trackers.cjs.map +1 -1
  9. package/dist/actions/add-batch-trackers.d.cts +8 -7
  10. package/dist/actions/add-batch-trackers.d.mts +8 -7
  11. package/dist/actions/add-batch-trackers.mjs +5 -5
  12. package/dist/actions/add-batch-trackers.mjs.map +1 -1
  13. package/dist/actions/authorize-order.cjs +16 -16
  14. package/dist/actions/authorize-order.cjs.map +1 -1
  15. package/dist/actions/authorize-order.d.cts +19 -19
  16. package/dist/actions/authorize-order.d.mts +19 -19
  17. package/dist/actions/authorize-order.mjs +16 -16
  18. package/dist/actions/authorize-order.mjs.map +1 -1
  19. package/dist/actions/cancel-invoice.cjs +3 -3
  20. package/dist/actions/cancel-invoice.cjs.map +1 -1
  21. package/dist/actions/cancel-invoice.d.cts +3 -3
  22. package/dist/actions/cancel-invoice.d.mts +3 -3
  23. package/dist/actions/cancel-invoice.mjs +3 -3
  24. package/dist/actions/cancel-invoice.mjs.map +1 -1
  25. package/dist/actions/cancel-reminders.cjs +3 -3
  26. package/dist/actions/cancel-reminders.cjs.map +1 -1
  27. package/dist/actions/cancel-reminders.d.cts +3 -3
  28. package/dist/actions/cancel-reminders.d.mts +3 -3
  29. package/dist/actions/cancel-reminders.mjs +3 -3
  30. package/dist/actions/cancel-reminders.mjs.map +1 -1
  31. package/dist/actions/capture-subscription-payment.cjs +9 -9
  32. package/dist/actions/capture-subscription-payment.cjs.map +1 -1
  33. package/dist/actions/capture-subscription-payment.d.cts +9 -9
  34. package/dist/actions/capture-subscription-payment.d.mts +9 -9
  35. package/dist/actions/capture-subscription-payment.mjs +9 -9
  36. package/dist/actions/capture-subscription-payment.mjs.map +1 -1
  37. package/dist/actions/charge-payment-method.cjs +1 -1
  38. package/dist/actions/charge-payment-method.cjs.map +1 -1
  39. package/dist/actions/charge-payment-method.d.cts +1 -1
  40. package/dist/actions/charge-payment-method.d.mts +1 -1
  41. package/dist/actions/charge-payment-method.mjs +1 -1
  42. package/dist/actions/charge-payment-method.mjs.map +1 -1
  43. package/dist/actions/create-invoice.cjs +22 -22
  44. package/dist/actions/create-invoice.cjs.map +1 -1
  45. package/dist/actions/create-invoice.d.cts +36 -33
  46. package/dist/actions/create-invoice.d.mts +36 -33
  47. package/dist/actions/create-invoice.mjs +22 -22
  48. package/dist/actions/create-invoice.mjs.map +1 -1
  49. package/dist/actions/create-payment.cjs +31 -31
  50. package/dist/actions/create-payment.cjs.map +1 -1
  51. package/dist/actions/create-payment.d.cts +42 -38
  52. package/dist/actions/create-payment.d.mts +42 -38
  53. package/dist/actions/create-payment.mjs +31 -31
  54. package/dist/actions/create-payment.mjs.map +1 -1
  55. package/dist/actions/create-payments-billing-plans.cjs +8 -8
  56. package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
  57. package/dist/actions/create-payments-billing-plans.d.cts +11 -9
  58. package/dist/actions/create-payments-billing-plans.d.mts +11 -9
  59. package/dist/actions/create-payments-billing-plans.mjs +8 -8
  60. package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
  61. package/dist/actions/create-plan.cjs +12 -12
  62. package/dist/actions/create-plan.cjs.map +1 -1
  63. package/dist/actions/create-plan.d.cts +14 -13
  64. package/dist/actions/create-plan.d.cts.map +1 -1
  65. package/dist/actions/create-plan.d.mts +14 -13
  66. package/dist/actions/create-plan.d.mts.map +1 -1
  67. package/dist/actions/create-plan.mjs +12 -12
  68. package/dist/actions/create-plan.mjs.map +1 -1
  69. package/dist/actions/create-product.cjs +2 -2
  70. package/dist/actions/create-product.cjs.map +1 -1
  71. package/dist/actions/create-product.d.cts +2 -2
  72. package/dist/actions/create-product.d.mts +2 -2
  73. package/dist/actions/create-product.mjs +2 -2
  74. package/dist/actions/create-product.mjs.map +1 -1
  75. package/dist/actions/create-subscription.cjs +15 -15
  76. package/dist/actions/create-subscription.cjs.map +1 -1
  77. package/dist/actions/create-subscription.d.cts +21 -20
  78. package/dist/actions/create-subscription.d.mts +21 -20
  79. package/dist/actions/create-subscription.mjs +15 -15
  80. package/dist/actions/create-subscription.mjs.map +1 -1
  81. package/dist/actions/create-template.cjs +25 -25
  82. package/dist/actions/create-template.cjs.map +1 -1
  83. package/dist/actions/create-template.d.cts +36 -30
  84. package/dist/actions/create-template.d.mts +36 -30
  85. package/dist/actions/create-template.mjs +25 -25
  86. package/dist/actions/create-template.mjs.map +1 -1
  87. package/dist/actions/create-web-profile.cjs +5 -5
  88. package/dist/actions/create-web-profile.cjs.map +1 -1
  89. package/dist/actions/create-web-profile.d.cts +5 -5
  90. package/dist/actions/create-web-profile.d.mts +5 -5
  91. package/dist/actions/create-web-profile.mjs +5 -5
  92. package/dist/actions/create-web-profile.mjs.map +1 -1
  93. package/dist/actions/create-webhook-lookup.cjs +2 -2
  94. package/dist/actions/create-webhook-lookup.cjs.map +1 -1
  95. package/dist/actions/create-webhook-lookup.d.cts +2 -2
  96. package/dist/actions/create-webhook-lookup.d.mts +2 -2
  97. package/dist/actions/create-webhook-lookup.mjs +2 -2
  98. package/dist/actions/create-webhook-lookup.mjs.map +1 -1
  99. package/dist/actions/create-webhook.cjs +4 -4
  100. package/dist/actions/create-webhook.cjs.map +1 -1
  101. package/dist/actions/create-webhook.d.cts +5 -4
  102. package/dist/actions/create-webhook.d.mts +5 -4
  103. package/dist/actions/create-webhook.mjs +4 -4
  104. package/dist/actions/create-webhook.mjs.map +1 -1
  105. package/dist/actions/deactivate-plan.cjs +1 -1
  106. package/dist/actions/deactivate-plan.cjs.map +1 -1
  107. package/dist/actions/deactivate-plan.d.cts +1 -1
  108. package/dist/actions/deactivate-plan.d.mts +1 -1
  109. package/dist/actions/deactivate-plan.mjs +1 -1
  110. package/dist/actions/deactivate-plan.mjs.map +1 -1
  111. package/dist/actions/delete-external-payment.cjs +1 -1
  112. package/dist/actions/delete-external-payment.cjs.map +1 -1
  113. package/dist/actions/delete-external-payment.d.cts +1 -1
  114. package/dist/actions/delete-external-payment.d.mts +1 -1
  115. package/dist/actions/delete-external-payment.mjs +1 -1
  116. package/dist/actions/delete-external-payment.mjs.map +1 -1
  117. package/dist/actions/delete-invoice-payment-record.cjs +1 -1
  118. package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
  119. package/dist/actions/delete-invoice-payment-record.d.cts +1 -1
  120. package/dist/actions/delete-invoice-payment-record.d.mts +1 -1
  121. package/dist/actions/delete-invoice-payment-record.mjs +1 -1
  122. package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
  123. package/dist/actions/delete-invoice-refund-record.cjs +1 -1
  124. package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
  125. package/dist/actions/delete-invoice-refund-record.d.cts +1 -1
  126. package/dist/actions/delete-invoice-refund-record.d.mts +1 -1
  127. package/dist/actions/delete-invoice-refund-record.mjs +1 -1
  128. package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
  129. package/dist/actions/delete-invoice.cjs +3 -3
  130. package/dist/actions/delete-invoice.cjs.map +1 -1
  131. package/dist/actions/delete-invoice.d.cts +3 -3
  132. package/dist/actions/delete-invoice.d.mts +3 -3
  133. package/dist/actions/delete-invoice.mjs +3 -3
  134. package/dist/actions/delete-invoice.mjs.map +1 -1
  135. package/dist/actions/delete-payment-resource.cjs +1 -1
  136. package/dist/actions/delete-payment-resource.cjs.map +1 -1
  137. package/dist/actions/delete-payment-resource.d.cts +1 -1
  138. package/dist/actions/delete-payment-resource.d.mts +1 -1
  139. package/dist/actions/delete-payment-resource.mjs +1 -1
  140. package/dist/actions/delete-payment-resource.mjs.map +1 -1
  141. package/dist/actions/delete-template.cjs +3 -3
  142. package/dist/actions/delete-template.cjs.map +1 -1
  143. package/dist/actions/delete-template.d.cts +3 -3
  144. package/dist/actions/delete-template.d.mts +3 -3
  145. package/dist/actions/delete-template.mjs +3 -3
  146. package/dist/actions/delete-template.mjs.map +1 -1
  147. package/dist/actions/delete-web-profile.cjs +1 -1
  148. package/dist/actions/delete-web-profile.cjs.map +1 -1
  149. package/dist/actions/delete-web-profile.d.cts +1 -1
  150. package/dist/actions/delete-web-profile.d.mts +1 -1
  151. package/dist/actions/delete-web-profile.mjs +1 -1
  152. package/dist/actions/delete-web-profile.mjs.map +1 -1
  153. package/dist/actions/delete-webhook.cjs +3 -3
  154. package/dist/actions/delete-webhook.cjs.map +1 -1
  155. package/dist/actions/delete-webhook.d.cts +3 -3
  156. package/dist/actions/delete-webhook.d.mts +3 -3
  157. package/dist/actions/delete-webhook.mjs +3 -3
  158. package/dist/actions/delete-webhook.mjs.map +1 -1
  159. package/dist/actions/fetch-node.cjs +5 -5
  160. package/dist/actions/fetch-node.cjs.map +1 -1
  161. package/dist/actions/fetch-node.d.cts +5 -5
  162. package/dist/actions/fetch-node.d.mts +5 -5
  163. package/dist/actions/fetch-node.mjs +5 -5
  164. package/dist/actions/fetch-node.mjs.map +1 -1
  165. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
  166. package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
  167. package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -3
  168. package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
  169. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
  170. package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
  171. package/dist/actions/find-eligible-methods.cjs +7 -7
  172. package/dist/actions/find-eligible-methods.cjs.map +1 -1
  173. package/dist/actions/find-eligible-methods.d.cts +11 -10
  174. package/dist/actions/find-eligible-methods.d.mts +11 -10
  175. package/dist/actions/find-eligible-methods.mjs +7 -7
  176. package/dist/actions/find-eligible-methods.mjs.map +1 -1
  177. package/dist/actions/generate-client-token.cjs +1 -1
  178. package/dist/actions/generate-client-token.cjs.map +1 -1
  179. package/dist/actions/generate-client-token.d.cts +1 -1
  180. package/dist/actions/generate-client-token.d.mts +1 -1
  181. package/dist/actions/generate-client-token.mjs +1 -1
  182. package/dist/actions/generate-client-token.mjs.map +1 -1
  183. package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
  184. package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
  185. package/dist/actions/generate-next-invoice-number-v2.d.cts +1 -1
  186. package/dist/actions/generate-next-invoice-number-v2.d.mts +1 -1
  187. package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
  188. package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
  189. package/dist/actions/generate-next-invoice-number.cjs +1 -1
  190. package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
  191. package/dist/actions/generate-next-invoice-number.d.cts +1 -1
  192. package/dist/actions/generate-next-invoice-number.d.mts +1 -1
  193. package/dist/actions/generate-next-invoice-number.mjs +1 -1
  194. package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
  195. package/dist/actions/generate-qr-code.cjs +4 -4
  196. package/dist/actions/generate-qr-code.cjs.map +1 -1
  197. package/dist/actions/generate-qr-code.d.cts +4 -4
  198. package/dist/actions/generate-qr-code.d.mts +4 -4
  199. package/dist/actions/generate-qr-code.mjs +4 -4
  200. package/dist/actions/generate-qr-code.mjs.map +1 -1
  201. package/dist/actions/get-billing-subscriptions.cjs +10 -10
  202. package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
  203. package/dist/actions/get-billing-subscriptions.d.cts +11 -11
  204. package/dist/actions/get-billing-subscriptions.d.mts +11 -11
  205. package/dist/actions/get-billing-subscriptions.mjs +10 -10
  206. package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
  207. package/dist/actions/get-invoice.cjs +24 -24
  208. package/dist/actions/get-invoice.cjs.map +1 -1
  209. package/dist/actions/get-invoice.d.cts +32 -32
  210. package/dist/actions/get-invoice.d.mts +32 -32
  211. package/dist/actions/get-invoice.mjs +24 -24
  212. package/dist/actions/get-invoice.mjs.map +1 -1
  213. package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
  214. package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
  215. package/dist/actions/get-invoicing-invoices-qr-code.d.cts +2 -2
  216. package/dist/actions/get-invoicing-invoices-qr-code.d.mts +2 -2
  217. package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
  218. package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
  219. package/dist/actions/get-invoicing-template.cjs +20 -20
  220. package/dist/actions/get-invoicing-template.cjs.map +1 -1
  221. package/dist/actions/get-invoicing-template.d.cts +29 -29
  222. package/dist/actions/get-invoicing-template.d.mts +29 -29
  223. package/dist/actions/get-invoicing-template.mjs +20 -20
  224. package/dist/actions/get-invoicing-template.mjs.map +1 -1
  225. package/dist/actions/get-order.cjs +16 -16
  226. package/dist/actions/get-order.cjs.map +1 -1
  227. package/dist/actions/get-order.d.cts +24 -24
  228. package/dist/actions/get-order.d.mts +24 -24
  229. package/dist/actions/get-order.mjs +16 -16
  230. package/dist/actions/get-order.mjs.map +1 -1
  231. package/dist/actions/get-payment.cjs +14 -14
  232. package/dist/actions/get-payment.cjs.map +1 -1
  233. package/dist/actions/get-payment.d.cts +22 -22
  234. package/dist/actions/get-payment.d.mts +22 -22
  235. package/dist/actions/get-payment.mjs +14 -14
  236. package/dist/actions/get-payment.mjs.map +1 -1
  237. package/dist/actions/get-payments-refund.cjs +3 -3
  238. package/dist/actions/get-payments-refund.cjs.map +1 -1
  239. package/dist/actions/get-payments-refund.d.cts +3 -3
  240. package/dist/actions/get-payments-refund.d.mts +3 -3
  241. package/dist/actions/get-payments-refund.mjs +3 -3
  242. package/dist/actions/get-payments-refund.mjs.map +1 -1
  243. package/dist/actions/get-plan.cjs +11 -11
  244. package/dist/actions/get-plan.cjs.map +1 -1
  245. package/dist/actions/get-plan.d.cts +11 -11
  246. package/dist/actions/get-plan.d.mts +11 -11
  247. package/dist/actions/get-plan.mjs +11 -11
  248. package/dist/actions/get-plan.mjs.map +1 -1
  249. package/dist/actions/get-product.cjs +2 -2
  250. package/dist/actions/get-product.cjs.map +1 -1
  251. package/dist/actions/get-product.d.cts +2 -2
  252. package/dist/actions/get-product.d.mts +2 -2
  253. package/dist/actions/get-product.mjs +2 -2
  254. package/dist/actions/get-product.mjs.map +1 -1
  255. package/dist/actions/get-subscription.cjs +10 -10
  256. package/dist/actions/get-subscription.cjs.map +1 -1
  257. package/dist/actions/get-subscription.d.cts +13 -13
  258. package/dist/actions/get-subscription.d.mts +13 -13
  259. package/dist/actions/get-subscription.mjs +10 -10
  260. package/dist/actions/get-subscription.mjs.map +1 -1
  261. package/dist/actions/get-user-info.cjs +3 -3
  262. package/dist/actions/get-user-info.cjs.map +1 -1
  263. package/dist/actions/get-user-info.d.cts +3 -3
  264. package/dist/actions/get-user-info.d.mts +3 -3
  265. package/dist/actions/get-user-info.mjs +3 -3
  266. package/dist/actions/get-user-info.mjs.map +1 -1
  267. package/dist/actions/get-userinfo.cjs +3 -3
  268. package/dist/actions/get-userinfo.cjs.map +1 -1
  269. package/dist/actions/get-userinfo.d.cts +3 -3
  270. package/dist/actions/get-userinfo.d.mts +3 -3
  271. package/dist/actions/get-userinfo.mjs +3 -3
  272. package/dist/actions/get-userinfo.mjs.map +1 -1
  273. package/dist/actions/get-web-profile.cjs +4 -4
  274. package/dist/actions/get-web-profile.cjs.map +1 -1
  275. package/dist/actions/get-web-profile.d.cts +4 -4
  276. package/dist/actions/get-web-profile.d.mts +4 -4
  277. package/dist/actions/get-web-profile.mjs +4 -4
  278. package/dist/actions/get-web-profile.mjs.map +1 -1
  279. package/dist/actions/get-webhook-lookup.cjs +2 -2
  280. package/dist/actions/get-webhook-lookup.cjs.map +1 -1
  281. package/dist/actions/get-webhook-lookup.d.cts +2 -2
  282. package/dist/actions/get-webhook-lookup.d.mts +2 -2
  283. package/dist/actions/get-webhook-lookup.mjs +2 -2
  284. package/dist/actions/get-webhook-lookup.mjs.map +1 -1
  285. package/dist/actions/get-webhook.cjs +4 -4
  286. package/dist/actions/get-webhook.cjs.map +1 -1
  287. package/dist/actions/get-webhook.d.cts +4 -4
  288. package/dist/actions/get-webhook.d.mts +4 -4
  289. package/dist/actions/get-webhook.mjs +4 -4
  290. package/dist/actions/get-webhook.mjs.map +1 -1
  291. package/dist/actions/list-disputes.cjs +5 -5
  292. package/dist/actions/list-disputes.cjs.map +1 -1
  293. package/dist/actions/list-disputes.d.cts +6 -6
  294. package/dist/actions/list-disputes.d.mts +6 -6
  295. package/dist/actions/list-disputes.mjs +5 -5
  296. package/dist/actions/list-disputes.mjs.map +1 -1
  297. package/dist/actions/list-invoices.cjs +15 -15
  298. package/dist/actions/list-invoices.cjs.map +1 -1
  299. package/dist/actions/list-invoices.d.cts +19 -19
  300. package/dist/actions/list-invoices.d.mts +19 -19
  301. package/dist/actions/list-invoices.mjs +15 -15
  302. package/dist/actions/list-invoices.mjs.map +1 -1
  303. package/dist/actions/list-legacy-billing-plans.cjs +7 -7
  304. package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
  305. package/dist/actions/list-legacy-billing-plans.d.cts +9 -9
  306. package/dist/actions/list-legacy-billing-plans.d.mts +9 -9
  307. package/dist/actions/list-legacy-billing-plans.mjs +7 -7
  308. package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
  309. package/dist/actions/list-payments.cjs +20 -20
  310. package/dist/actions/list-payments.cjs.map +1 -1
  311. package/dist/actions/list-payments.d.cts +24 -24
  312. package/dist/actions/list-payments.d.mts +24 -24
  313. package/dist/actions/list-payments.mjs +20 -20
  314. package/dist/actions/list-payments.mjs.map +1 -1
  315. package/dist/actions/list-plans.cjs +8 -8
  316. package/dist/actions/list-plans.cjs.map +1 -1
  317. package/dist/actions/list-plans.d.cts +9 -9
  318. package/dist/actions/list-plans.d.mts +9 -9
  319. package/dist/actions/list-plans.mjs +8 -8
  320. package/dist/actions/list-plans.mjs.map +1 -1
  321. package/dist/actions/list-products.cjs +3 -3
  322. package/dist/actions/list-products.cjs.map +1 -1
  323. package/dist/actions/list-products.d.cts +4 -4
  324. package/dist/actions/list-products.d.mts +4 -4
  325. package/dist/actions/list-products.mjs +3 -3
  326. package/dist/actions/list-products.mjs.map +1 -1
  327. package/dist/actions/list-templates.cjs +8 -8
  328. package/dist/actions/list-templates.cjs.map +1 -1
  329. package/dist/actions/list-templates.d.cts +9 -9
  330. package/dist/actions/list-templates.d.mts +9 -9
  331. package/dist/actions/list-templates.mjs +8 -8
  332. package/dist/actions/list-templates.mjs.map +1 -1
  333. package/dist/actions/list-web-profiles.cjs +6 -6
  334. package/dist/actions/list-web-profiles.cjs.map +1 -1
  335. package/dist/actions/list-web-profiles.d.cts +6 -6
  336. package/dist/actions/list-web-profiles.d.mts +6 -6
  337. package/dist/actions/list-web-profiles.mjs +6 -6
  338. package/dist/actions/list-web-profiles.mjs.map +1 -1
  339. package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
  340. package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
  341. package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -3
  342. package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
  343. package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
  344. package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
  345. package/dist/actions/list-webhook-event-types.cjs +3 -3
  346. package/dist/actions/list-webhook-event-types.cjs.map +1 -1
  347. package/dist/actions/list-webhook-event-types.d.cts +3 -3
  348. package/dist/actions/list-webhook-event-types.d.mts +3 -3
  349. package/dist/actions/list-webhook-event-types.mjs +3 -3
  350. package/dist/actions/list-webhook-event-types.mjs.map +1 -1
  351. package/dist/actions/list-webhook-lookups.cjs +3 -3
  352. package/dist/actions/list-webhook-lookups.cjs.map +1 -1
  353. package/dist/actions/list-webhook-lookups.d.cts +3 -3
  354. package/dist/actions/list-webhook-lookups.d.mts +3 -3
  355. package/dist/actions/list-webhook-lookups.mjs +3 -3
  356. package/dist/actions/list-webhook-lookups.mjs.map +1 -1
  357. package/dist/actions/list-webhooks.cjs +2 -2
  358. package/dist/actions/list-webhooks.cjs.map +1 -1
  359. package/dist/actions/list-webhooks.d.cts +2 -2
  360. package/dist/actions/list-webhooks.d.mts +2 -2
  361. package/dist/actions/list-webhooks.mjs +2 -2
  362. package/dist/actions/list-webhooks.mjs.map +1 -1
  363. package/dist/actions/patch-orders.cjs +2 -2
  364. package/dist/actions/patch-orders.cjs.map +1 -1
  365. package/dist/actions/patch-orders.d.cts +3 -2
  366. package/dist/actions/patch-orders.d.cts.map +1 -1
  367. package/dist/actions/patch-orders.d.mts +3 -2
  368. package/dist/actions/patch-orders.d.mts.map +1 -1
  369. package/dist/actions/patch-orders.mjs +2 -2
  370. package/dist/actions/patch-orders.mjs.map +1 -1
  371. package/dist/actions/patch-plan.cjs +2 -2
  372. package/dist/actions/patch-plan.cjs.map +1 -1
  373. package/dist/actions/patch-plan.d.cts +3 -2
  374. package/dist/actions/patch-plan.d.mts +3 -2
  375. package/dist/actions/patch-plan.mjs +2 -2
  376. package/dist/actions/patch-plan.mjs.map +1 -1
  377. package/dist/actions/patch-subscription.cjs +3 -3
  378. package/dist/actions/patch-subscription.cjs.map +1 -1
  379. package/dist/actions/patch-subscription.d.cts +4 -3
  380. package/dist/actions/patch-subscription.d.cts.map +1 -1
  381. package/dist/actions/patch-subscription.d.mts +4 -3
  382. package/dist/actions/patch-subscription.d.mts.map +1 -1
  383. package/dist/actions/patch-subscription.mjs +3 -3
  384. package/dist/actions/patch-subscription.mjs.map +1 -1
  385. package/dist/actions/patch-web-profile.cjs +2 -2
  386. package/dist/actions/patch-web-profile.cjs.map +1 -1
  387. package/dist/actions/patch-web-profile.d.cts +3 -2
  388. package/dist/actions/patch-web-profile.d.cts.map +1 -1
  389. package/dist/actions/patch-web-profile.d.mts +3 -2
  390. package/dist/actions/patch-web-profile.d.mts.map +1 -1
  391. package/dist/actions/patch-web-profile.mjs +2 -2
  392. package/dist/actions/patch-web-profile.mjs.map +1 -1
  393. package/dist/actions/ping-braintree.cjs +2 -2
  394. package/dist/actions/ping-braintree.cjs.map +1 -1
  395. package/dist/actions/ping-braintree.d.cts +2 -2
  396. package/dist/actions/ping-braintree.d.mts +2 -2
  397. package/dist/actions/ping-braintree.mjs +2 -2
  398. package/dist/actions/ping-braintree.mjs.map +1 -1
  399. package/dist/actions/query-braintree-report.cjs +4 -4
  400. package/dist/actions/query-braintree-report.cjs.map +1 -1
  401. package/dist/actions/query-braintree-report.d.cts +4 -4
  402. package/dist/actions/query-braintree-report.d.mts +4 -4
  403. package/dist/actions/query-braintree-report.mjs +4 -4
  404. package/dist/actions/query-braintree-report.mjs.map +1 -1
  405. package/dist/actions/retrieve-payment-resource.cjs +11 -11
  406. package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
  407. package/dist/actions/retrieve-payment-resource.d.cts +12 -12
  408. package/dist/actions/retrieve-payment-resource.d.mts +12 -12
  409. package/dist/actions/retrieve-payment-resource.mjs +11 -11
  410. package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
  411. package/dist/actions/search-invoices.cjs +11 -11
  412. package/dist/actions/search-invoices.cjs.map +1 -1
  413. package/dist/actions/search-invoices.d.cts +15 -15
  414. package/dist/actions/search-invoices.d.mts +15 -15
  415. package/dist/actions/search-invoices.mjs +11 -11
  416. package/dist/actions/search-invoices.mjs.map +1 -1
  417. package/dist/actions/send-invoice.cjs +2 -2
  418. package/dist/actions/send-invoice.cjs.map +1 -1
  419. package/dist/actions/send-invoice.d.cts +2 -2
  420. package/dist/actions/send-invoice.d.mts +2 -2
  421. package/dist/actions/send-invoice.mjs +2 -2
  422. package/dist/actions/send-invoice.mjs.map +1 -1
  423. package/dist/actions/simulate-webhook-event.cjs +4 -4
  424. package/dist/actions/simulate-webhook-event.cjs.map +1 -1
  425. package/dist/actions/simulate-webhook-event.d.cts +4 -4
  426. package/dist/actions/simulate-webhook-event.d.mts +4 -4
  427. package/dist/actions/simulate-webhook-event.mjs +4 -4
  428. package/dist/actions/simulate-webhook-event.mjs.map +1 -1
  429. package/dist/actions/update-dispute.cjs +3 -3
  430. package/dist/actions/update-dispute.cjs.map +1 -1
  431. package/dist/actions/update-dispute.d.cts +4 -3
  432. package/dist/actions/update-dispute.d.mts +4 -3
  433. package/dist/actions/update-dispute.mjs +3 -3
  434. package/dist/actions/update-dispute.mjs.map +1 -1
  435. package/dist/actions/update-invoice.cjs +34 -34
  436. package/dist/actions/update-invoice.cjs.map +1 -1
  437. package/dist/actions/update-invoice.d.cts +54 -48
  438. package/dist/actions/update-invoice.d.cts.map +1 -1
  439. package/dist/actions/update-invoice.d.mts +54 -48
  440. package/dist/actions/update-invoice.d.mts.map +1 -1
  441. package/dist/actions/update-invoice.mjs +34 -34
  442. package/dist/actions/update-invoice.mjs.map +1 -1
  443. package/dist/actions/update-pay-pal-product.cjs +2 -2
  444. package/dist/actions/update-pay-pal-product.cjs.map +1 -1
  445. package/dist/actions/update-pay-pal-product.d.cts +3 -2
  446. package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
  447. package/dist/actions/update-pay-pal-product.d.mts +3 -2
  448. package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
  449. package/dist/actions/update-pay-pal-product.mjs +2 -2
  450. package/dist/actions/update-pay-pal-product.mjs.map +1 -1
  451. package/dist/actions/update-pay-pal-webhook.cjs +4 -4
  452. package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
  453. package/dist/actions/update-pay-pal-webhook.d.cts +5 -4
  454. package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
  455. package/dist/actions/update-pay-pal-webhook.d.mts +5 -4
  456. package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
  457. package/dist/actions/update-pay-pal-webhook.mjs +4 -4
  458. package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
  459. package/dist/actions/update-templates.cjs +39 -39
  460. package/dist/actions/update-templates.cjs.map +1 -1
  461. package/dist/actions/update-templates.d.cts +65 -56
  462. package/dist/actions/update-templates.d.mts +65 -56
  463. package/dist/actions/update-templates.mjs +39 -39
  464. package/dist/actions/update-templates.mjs.map +1 -1
  465. package/dist/actions/update-web-profile.cjs +2 -2
  466. package/dist/actions/update-web-profile.cjs.map +1 -1
  467. package/dist/actions/update-web-profile.d.cts +2 -2
  468. package/dist/actions/update-web-profile.d.mts +2 -2
  469. package/dist/actions/update-web-profile.mjs +2 -2
  470. package/dist/actions/update-web-profile.mjs.map +1 -1
  471. package/dist/actions/verify-payment-method.cjs +2 -2
  472. package/dist/actions/verify-payment-method.cjs.map +1 -1
  473. package/dist/actions/verify-payment-method.d.cts +2 -2
  474. package/dist/actions/verify-payment-method.d.mts +2 -2
  475. package/dist/actions/verify-payment-method.mjs +2 -2
  476. package/dist/actions/verify-payment-method.mjs.map +1 -1
  477. package/dist/actions/verify-webhook-signature.cjs +1 -1
  478. package/dist/actions/verify-webhook-signature.cjs.map +1 -1
  479. package/dist/actions/verify-webhook-signature.d.cts +1 -1
  480. package/dist/actions/verify-webhook-signature.d.mts +1 -1
  481. package/dist/actions/verify-webhook-signature.mjs +1 -1
  482. package/dist/actions/verify-webhook-signature.mjs.map +1 -1
  483. package/package.json +1 -1
@@ -23,7 +23,7 @@ const PaypalCreateSubscriptionInput = z.object({
23
23
  currency_code: z.string().describe("The three-character ISO-4217 currency code.")
24
24
  }).describe("The currency and amount for a financial transaction.").optional()
25
25
  }).describe("Pricing scheme for a billing cycle.").optional()
26
- }).describe("Billing cycle sequence for trial and regular billing.")).describe("An array of billing cycles for trial billing and regular billing.").optional(),
26
+ }).passthrough().describe("Billing cycle sequence for trial and regular billing.")).describe("An array of billing cycles for trial billing and regular billing.").optional(),
27
27
  payment_preferences: z.object({
28
28
  setup_fee: z.object({
29
29
  value: z.string().describe("The value (integer for JPY-like currencies or decimal fraction for others)."),
@@ -81,52 +81,52 @@ const PaypalCreateSubscriptionInput = z.object({
81
81
  const PaypalCreateSubscription_PlanTaxesSchema = z.object({
82
82
  inclusive: z.boolean().describe("Whether the tax is inclusive in the plan amount.").nullable().optional(),
83
83
  percentage: z.string().describe("The tax percentage as a string.").nullable().optional()
84
- }).describe("Tax details for plan override.");
84
+ }).passthrough().describe("Tax details for plan override.");
85
85
  const PaypalCreateSubscription_MoneySchema = z.object({
86
86
  value: z.string().describe("The value (integer for JPY-like currencies or decimal fraction for others).").nullable(),
87
87
  currency_code: z.string().describe("The three-character ISO-4217 currency code.").nullable()
88
- }).describe("The currency and amount for a financial transaction.");
88
+ }).passthrough().describe("The currency and amount for a financial transaction.");
89
89
  const PaypalCreateSubscription_PricingSchemeSchema = z.object({
90
90
  version: z.number().int().describe("The version number of the pricing scheme.").nullable().optional(),
91
91
  net_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),
92
92
  rolls_over: z.boolean().describe("Whether the pricing rolls over to the next cycle.").nullable().optional(),
93
93
  gross_amount: PaypalCreateSubscription_MoneySchema.nullable().optional()
94
- }).describe("Pricing scheme for a billing cycle.");
94
+ }).passthrough().describe("Pricing scheme for a billing cycle.");
95
95
  const PaypalCreateSubscription_BillingCycleSequenceSchema = z.object({
96
96
  sequence: z.number().int().describe("The sequence number of the billing cycle.").nullable().optional(),
97
97
  tenure_type: z.string().describe("The tenure type of the billing cycle.").nullable().optional(),
98
98
  total_cycles: z.number().int().describe("The total number of cycles for this billing period.").nullable().optional(),
99
99
  pricing_scheme: PaypalCreateSubscription_PricingSchemeSchema.nullable().optional()
100
- }).describe("Billing cycle sequence for trial and regular billing.");
100
+ }).passthrough().describe("Billing cycle sequence for trial and regular billing.");
101
101
  const PaypalCreateSubscription_PlanPaymentPreferencesSchema = z.object({
102
102
  setup_fee: PaypalCreateSubscription_MoneySchema.nullable().optional(),
103
103
  auto_bill_outstanding: z.boolean().describe("Whether to automatically bill outstanding amounts.").nullable().optional(),
104
104
  setup_fee_failure_action: z.string().describe("The action to take when setup fee payment fails.").nullable().optional(),
105
105
  payment_failure_threshold: z.number().int().describe("The number of payment failures allowed before the subscription is suspended.").nullable().optional()
106
- }).describe("Payment preferences to override at subscription level.");
106
+ }).passthrough().describe("Payment preferences to override at subscription level.");
107
107
  const PaypalCreateSubscription_PlanOverrideSchema = z.object({
108
108
  taxes: PaypalCreateSubscription_PlanTaxesSchema.nullable().optional(),
109
109
  billing_cycles: z.array(PaypalCreateSubscription_BillingCycleSequenceSchema).describe("An array of billing cycles for trial billing and regular billing.").nullable().optional(),
110
110
  payment_preferences: PaypalCreateSubscription_PlanPaymentPreferencesSchema.nullable().optional()
111
- }).describe("An inline plan object to customize the subscription.");
111
+ }).passthrough().describe("An inline plan object to customize the subscription.");
112
112
  const PaypalCreateSubscription_LinkSchema = z.object({
113
113
  rel: z.string().describe("The relationship between the resource and this link.").nullable().optional(),
114
114
  href: z.string().describe("The hyperlink to the resource.").nullable().optional(),
115
115
  method: z.string().describe("The HTTP method for the resource.").nullable().optional()
116
- }).describe("HATEOAS link for the subscription.");
116
+ }).passthrough().describe("HATEOAS link for the subscription.");
117
117
  const PaypalCreateSubscription_IssueSchema = z.object({
118
118
  field: z.string().describe("The field that caused the issue.").nullable().optional(),
119
119
  issue: z.string().describe("Description of the issue.").nullable().optional(),
120
120
  description: z.string().describe("Additional details about the issue.").nullable().optional()
121
- }).describe("A validation issue returned when the request fails.");
121
+ }).passthrough().describe("A validation issue returned when the request fails.");
122
122
  const PaypalCreateSubscription_SubscriberNameSchema = z.object({
123
123
  surname: z.string().describe("The subscriber's surname.").nullable().optional(),
124
124
  given_name: z.string().describe("The subscriber's given name.").nullable().optional()
125
- }).describe("Name of the subscriber.");
125
+ }).passthrough().describe("Name of the subscriber.");
126
126
  const PaypalCreateSubscription_SubscriberPhoneSchema = z.object({
127
127
  country_code: z.string().describe("Country code for the phone number.").nullable().optional(),
128
128
  national_number: z.string().describe("National phone number.").nullable().optional()
129
- }).describe("Phone number of the subscriber.");
129
+ }).passthrough().describe("Phone number of the subscriber.");
130
130
  const PaypalCreateSubscription_ShippingAddressSchema = z.object({
131
131
  city: z.string().describe("The city name.").nullable().optional(),
132
132
  name: z.string().describe("The name of the recipient at the shipping address.").nullable().optional(),
@@ -135,20 +135,20 @@ const PaypalCreateSubscription_ShippingAddressSchema = z.object({
135
135
  country_code: z.string().describe("The two-character ISO 3166-1 country code.").nullable().optional(),
136
136
  address_line_1: z.string().describe("Line 1 of the address (street, PO Box).").nullable().optional(),
137
137
  address_line_2: z.string().describe("Line 2 of the address (apartment, suite, etc.).").nullable().optional()
138
- }).describe("Shipping address for the subscription.");
138
+ }).passthrough().describe("Shipping address for the subscription.");
139
139
  const PaypalCreateSubscription_SubscriberSchema = z.object({
140
140
  name: PaypalCreateSubscription_SubscriberNameSchema.nullable().optional(),
141
141
  phone: PaypalCreateSubscription_SubscriberPhoneSchema.nullable().optional(),
142
142
  payer_id: z.string().describe("The PayPal account identifier for the payer.").nullable().optional(),
143
143
  email_address: z.string().describe("The subscriber's email address.").nullable().optional(),
144
144
  shipping_address: PaypalCreateSubscription_ShippingAddressSchema.nullable().optional()
145
- }).describe("The subscriber information for the subscription.");
145
+ }).passthrough().describe("The subscriber information for the subscription.");
146
146
  const PaypalCreateSubscription_BillingInfoSchema = z.object({
147
147
  last_payment_time: z.string().describe("The last payment time in ISO 8601 format.").nullable().optional(),
148
148
  next_billing_time: z.string().describe("The next billing time in ISO 8601 format.").nullable().optional(),
149
149
  next_cycle_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),
150
150
  last_payment_amount: PaypalCreateSubscription_MoneySchema.nullable().optional()
151
- }).describe("Billing information for the subscription.");
151
+ }).passthrough().describe("Billing information for the subscription.");
152
152
  const paypalCreateSubscription = action("PAYPAL_CREATE_SUBSCRIPTION", {
153
153
  slug: "paypal-create-subscription",
154
154
  name: "Create Subscription",
@@ -174,7 +174,7 @@ const paypalCreateSubscription = action("PAYPAL_CREATE_SUBSCRIPTION", {
174
174
  shipping_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),
175
175
  status_change_note: z.string().describe("A note explaining why the status changed.").nullable().optional(),
176
176
  status_update_time: z.string().describe("The time when the status was last updated.").nullable().optional()
177
- }).describe("Response model returned after creating a PayPal subscription.\n\nContains the subscription ID, status, and HATEOAS links for next actions.\nThe subscriber must be redirected to the approval URL to complete the subscription.")
177
+ }).passthrough().describe("Response model returned after creating a PayPal subscription.\n\nContains the subscription ID, status, and HATEOAS links for next actions.\nThe subscriber must be redirected to the approval URL to complete the subscription.")
178
178
  });
179
179
  //#endregion
180
180
  export { paypalCreateSubscription };
@@ -1 +1 @@
1
- {"version":3,"file":"create-subscription.mjs","names":[],"sources":["../../src/actions/create-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateSubscriptionInput = z.object({\n plan: z.object({\n taxes: z.object({\n inclusive: z.boolean().describe(\"Whether the tax is inclusive in the plan amount.\").optional(),\n percentage: z.string().describe(\"The tax percentage as a string.\").optional(),\n}).describe(\"Tax details for plan override.\").optional(),\n billing_cycles: z.array(z.object({\n sequence: z.number().int().describe(\"The sequence number of the billing cycle.\").optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles for this billing period.\").optional(),\n pricing_scheme: z.object({\n version: z.number().int().describe(\"The version number of the pricing scheme.\").optional(),\n net_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n rolls_over: z.boolean().describe(\"Whether the pricing rolls over to the next cycle.\").optional(),\n gross_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"Pricing scheme for a billing cycle.\").optional(),\n}).describe(\"Billing cycle sequence for trial and regular billing.\")).describe(\"An array of billing cycles for trial billing and regular billing.\").optional(),\n payment_preferences: z.object({\n setup_fee: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n auto_bill_outstanding: z.boolean().describe(\"Whether to automatically bill outstanding amounts.\").optional(),\n setup_fee_failure_action: z.string().describe(\"The action to take when setup fee payment fails.\").optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of payment failures allowed before the subscription is suspended.\").optional(),\n}).describe(\"Payment preferences to override at subscription level.\").optional(),\n}).describe(\"An inline plan object to customize the subscription.\").optional(),\n plan_id: z.string().describe(\"The ID of the plan for the subscription. Typically a PayPal plan ID like 'P-4BP00732K8416940FNHU6FGA'.\"),\n quantity: z.string().describe(\"The quantity of the product in the subscription.\").optional(),\n custom_id: z.string().describe(\"The custom id for the subscription. Can be an invoice id.\").optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts, in Internet date and time format (ISO 8601).\").optional(),\n subscriber: z.object({\n name: z.object({\n surname: z.string().describe(\"The subscriber's surname.\").optional(),\n given_name: z.string().describe(\"The subscriber's given name.\").optional(),\n}).describe(\"Name of the subscriber.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"Country code for the phone number.\").optional(),\n national_number: z.string().describe(\"National phone number.\").optional(),\n}).describe(\"Phone number of the subscriber.\").optional(),\n payer_id: z.string().describe(\"The PayPal account identifier for the payer.\").optional(),\n email_address: z.string().describe(\"The subscriber's email address.\").optional(),\n shipping_address: z.object({\n city: z.string().describe(\"The city name.\").optional(),\n name: z.string().describe(\"The name of the recipient at the shipping address.\").optional(),\n state: z.string().describe(\"The state or province code.\").optional(),\n postal_code: z.string().describe(\"The postal code or ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-character ISO 3166-1 country code.\").optional(),\n address_line_1: z.string().describe(\"Line 1 of the address (street, PO Box).\").optional(),\n address_line_2: z.string().describe(\"Line 2 of the address (apartment, suite, etc.).\").optional(),\n}).describe(\"Shipping address for the subscription.\").optional(),\n}).describe(\"The subscriber information for the subscription.\").optional(),\n auto_renewal: z.boolean().describe(\"DEPRECATED. Indicates whether the subscription auto-renews after the billing cycles complete.\").optional(),\n shipping_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n application_context: z.object({\n locale: z.string().describe(\"The language tag for localization of error-related strings (e.g., 'en-US', 'fr-FR').\").optional(),\n brand_name: z.string().describe(\"The label that overrides the business name in the PayPal account on the PayPal site.\").optional(),\n cancel_url: z.string().describe(\"The URL where the customer is redirected after the customer cancels the payment.\"),\n return_url: z.string().describe(\"The URL where the customer is redirected after the customer approves the payment.\"),\n user_action: z.enum([\"CONTINUE\", \"SUBSCRIBE_NOW\"]).default(\"SUBSCRIBE_NOW\").describe(\"Configures the label name for subscription consent experience.\").optional(),\n payment_method: z.object({\n payee_preferred: z.enum([\"UNRESTRICTED\", \"IMMEDIATE_PAYMENT_REQUIRED\"]).describe(\"Customer and merchant payment preferences.\").optional(),\n}).describe(\"The customer and merchant payment preferences.\").optional(),\n shipping_preference: z.enum([\"GET_FROM_FILE\", \"NO_SHIPPING\", \"SET_PROVIDED_ADDRESS\"]).default(\"GET_FROM_FILE\").describe(\"Location from which the shipping address is derived.\").optional(),\n}).describe(\"The application context, which customizes the payer experience during\\nthe subscription approval process with PayPal.\").optional(),\n}).describe(\"Request model for creating a PayPal subscription.\\n\\nUse when you need to create a new PayPal billing subscription for a customer\\nbased on a plan. The subscriber will be redirected to PayPal to approve the subscription.\");\nconst PaypalCreateSubscription_PlanTaxesSchema = z.object({\n inclusive: z.boolean().describe(\"Whether the tax is inclusive in the plan amount.\").nullable().optional(),\n percentage: z.string().describe(\"The tax percentage as a string.\").nullable().optional(),\n}).describe(\"Tax details for plan override.\");\nconst PaypalCreateSubscription_MoneySchema = z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateSubscription_PricingSchemeSchema = z.object({\n version: z.number().int().describe(\"The version number of the pricing scheme.\").nullable().optional(),\n net_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n rolls_over: z.boolean().describe(\"Whether the pricing rolls over to the next cycle.\").nullable().optional(),\n gross_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n}).describe(\"Pricing scheme for a billing cycle.\");\nconst PaypalCreateSubscription_BillingCycleSequenceSchema = z.object({\n sequence: z.number().int().describe(\"The sequence number of the billing cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles for this billing period.\").nullable().optional(),\n pricing_scheme: PaypalCreateSubscription_PricingSchemeSchema.nullable().optional(),\n}).describe(\"Billing cycle sequence for trial and regular billing.\");\nconst PaypalCreateSubscription_PlanPaymentPreferencesSchema = z.object({\n setup_fee: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n auto_bill_outstanding: z.boolean().describe(\"Whether to automatically bill outstanding amounts.\").nullable().optional(),\n setup_fee_failure_action: z.string().describe(\"The action to take when setup fee payment fails.\").nullable().optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of payment failures allowed before the subscription is suspended.\").nullable().optional(),\n}).describe(\"Payment preferences to override at subscription level.\");\nconst PaypalCreateSubscription_PlanOverrideSchema = z.object({\n taxes: PaypalCreateSubscription_PlanTaxesSchema.nullable().optional(),\n billing_cycles: z.array(PaypalCreateSubscription_BillingCycleSequenceSchema).describe(\"An array of billing cycles for trial billing and regular billing.\").nullable().optional(),\n payment_preferences: PaypalCreateSubscription_PlanPaymentPreferencesSchema.nullable().optional(),\n}).describe(\"An inline plan object to customize the subscription.\");\nconst PaypalCreateSubscription_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and this link.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link for the subscription.\");\nconst PaypalCreateSubscription_IssueSchema = z.object({\n field: z.string().describe(\"The field that caused the issue.\").nullable().optional(),\n issue: z.string().describe(\"Description of the issue.\").nullable().optional(),\n description: z.string().describe(\"Additional details about the issue.\").nullable().optional(),\n}).describe(\"A validation issue returned when the request fails.\");\nconst PaypalCreateSubscription_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The subscriber's surname.\").nullable().optional(),\n given_name: z.string().describe(\"The subscriber's given name.\").nullable().optional(),\n}).describe(\"Name of the subscriber.\");\nconst PaypalCreateSubscription_SubscriberPhoneSchema = z.object({\n country_code: z.string().describe(\"Country code for the phone number.\").nullable().optional(),\n national_number: z.string().describe(\"National phone number.\").nullable().optional(),\n}).describe(\"Phone number of the subscriber.\");\nconst PaypalCreateSubscription_ShippingAddressSchema = z.object({\n city: z.string().describe(\"The city name.\").nullable().optional(),\n name: z.string().describe(\"The name of the recipient at the shipping address.\").nullable().optional(),\n state: z.string().describe(\"The state or province code.\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code or ZIP code.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO 3166-1 country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address (street, PO Box).\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address (apartment, suite, etc.).\").nullable().optional(),\n}).describe(\"Shipping address for the subscription.\");\nconst PaypalCreateSubscription_SubscriberSchema = z.object({\n name: PaypalCreateSubscription_SubscriberNameSchema.nullable().optional(),\n phone: PaypalCreateSubscription_SubscriberPhoneSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal account identifier for the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The subscriber's email address.\").nullable().optional(),\n shipping_address: PaypalCreateSubscription_ShippingAddressSchema.nullable().optional(),\n}).describe(\"The subscriber information for the subscription.\");\nconst PaypalCreateSubscription_BillingInfoSchema = z.object({\n last_payment_time: z.string().describe(\"The last payment time in ISO 8601 format.\").nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing time in ISO 8601 format.\").nullable().optional(),\n next_cycle_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n last_payment_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n}).describe(\"Billing information for the subscription.\");\nexport const PaypalCreateSubscriptionOutput = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n name: z.string().describe(\"Error name if the request failed.\").nullable().optional(),\n plan: PaypalCreateSubscription_PlanOverrideSchema.nullable().optional(),\n links: z.array(PaypalCreateSubscription_LinkSchema).describe(\"HATEOAS links for the subscription. Use the approve link to redirect the subscriber to PayPal.\").nullable().optional(),\n issues: z.array(PaypalCreateSubscription_IssueSchema).describe(\"List of validation issues if the request failed.\").nullable().optional(),\n status: z.string().describe(\"The status of the subscription (e.g., 'ACTIVE', 'PENDING').\").nullable().optional(),\n message: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the product in the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"The custom id for the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The start time of the subscription in ISO 8601 format.\").nullable().optional(),\n subscriber: PaypalCreateSubscription_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalCreateSubscription_BillingInfoSchema.nullable().optional(),\n plan_overridden: z.boolean().describe(\"Whether the plan was overridden at subscription level.\").nullable().optional(),\n shipping_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n status_change_note: z.string().describe(\"A note explaining why the status changed.\").nullable().optional(),\n status_update_time: z.string().describe(\"The time when the status was last updated.\").nullable().optional(),\n}).describe(\"Response model returned after creating a PayPal subscription.\\n\\nContains the subscription ID, status, and HATEOAS links for next actions.\\nThe subscriber must be redirected to the approval URL to complete the subscription.\");\n\nexport const paypalCreateSubscription = action(\"PAYPAL_CREATE_SUBSCRIPTION\", {\n slug: \"paypal-create-subscription\",\n name: \"Create Subscription\",\n description: \"Creates a new PayPal subscription based on a billing plan. Use this action when you need to set up a recurring billing subscription for a customer. The action returns a subscription ID and an approval URL where the subscriber must complete the subscription by logging into their PayPal account and confirming the payment. This action is irreversible once the subscriber approves the subscription. **Required fields:** - plan_id: The PayPal billing plan ID **Important:** - The subscriber will be redirected to PayPal to approve the subscription - Use the 'approve' link from the response to redirect the subscriber - The subscription status will be 'PENDING' until the subscriber approves it\",\n input: PaypalCreateSubscriptionInput,\n output: PaypalCreateSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;GAChB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrD,gBAAgB,EAAE,MAAM,EAAE,OAAO;GACjC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,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,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,iOAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-subscription.mjs","names":[],"sources":["../../src/actions/create-subscription.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateSubscriptionInput = z.object({\n plan: z.object({\n taxes: z.object({\n inclusive: z.boolean().describe(\"Whether the tax is inclusive in the plan amount.\").optional(),\n percentage: z.string().describe(\"The tax percentage as a string.\").optional(),\n}).describe(\"Tax details for plan override.\").optional(),\n billing_cycles: z.array(z.object({\n sequence: z.number().int().describe(\"The sequence number of the billing cycle.\").optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles for this billing period.\").optional(),\n pricing_scheme: z.object({\n version: z.number().int().describe(\"The version number of the pricing scheme.\").optional(),\n net_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n rolls_over: z.boolean().describe(\"Whether the pricing rolls over to the next cycle.\").optional(),\n gross_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"Pricing scheme for a billing cycle.\").optional(),\n}).passthrough().describe(\"Billing cycle sequence for trial and regular billing.\")).describe(\"An array of billing cycles for trial billing and regular billing.\").optional(),\n payment_preferences: z.object({\n setup_fee: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n auto_bill_outstanding: z.boolean().describe(\"Whether to automatically bill outstanding amounts.\").optional(),\n setup_fee_failure_action: z.string().describe(\"The action to take when setup fee payment fails.\").optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of payment failures allowed before the subscription is suspended.\").optional(),\n}).describe(\"Payment preferences to override at subscription level.\").optional(),\n}).describe(\"An inline plan object to customize the subscription.\").optional(),\n plan_id: z.string().describe(\"The ID of the plan for the subscription. Typically a PayPal plan ID like 'P-4BP00732K8416940FNHU6FGA'.\"),\n quantity: z.string().describe(\"The quantity of the product in the subscription.\").optional(),\n custom_id: z.string().describe(\"The custom id for the subscription. Can be an invoice id.\").optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts, in Internet date and time format (ISO 8601).\").optional(),\n subscriber: z.object({\n name: z.object({\n surname: z.string().describe(\"The subscriber's surname.\").optional(),\n given_name: z.string().describe(\"The subscriber's given name.\").optional(),\n}).describe(\"Name of the subscriber.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"Country code for the phone number.\").optional(),\n national_number: z.string().describe(\"National phone number.\").optional(),\n}).describe(\"Phone number of the subscriber.\").optional(),\n payer_id: z.string().describe(\"The PayPal account identifier for the payer.\").optional(),\n email_address: z.string().describe(\"The subscriber's email address.\").optional(),\n shipping_address: z.object({\n city: z.string().describe(\"The city name.\").optional(),\n name: z.string().describe(\"The name of the recipient at the shipping address.\").optional(),\n state: z.string().describe(\"The state or province code.\").optional(),\n postal_code: z.string().describe(\"The postal code or ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-character ISO 3166-1 country code.\").optional(),\n address_line_1: z.string().describe(\"Line 1 of the address (street, PO Box).\").optional(),\n address_line_2: z.string().describe(\"Line 2 of the address (apartment, suite, etc.).\").optional(),\n}).describe(\"Shipping address for the subscription.\").optional(),\n}).describe(\"The subscriber information for the subscription.\").optional(),\n auto_renewal: z.boolean().describe(\"DEPRECATED. Indicates whether the subscription auto-renews after the billing cycles complete.\").optional(),\n shipping_amount: z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n application_context: z.object({\n locale: z.string().describe(\"The language tag for localization of error-related strings (e.g., 'en-US', 'fr-FR').\").optional(),\n brand_name: z.string().describe(\"The label that overrides the business name in the PayPal account on the PayPal site.\").optional(),\n cancel_url: z.string().describe(\"The URL where the customer is redirected after the customer cancels the payment.\"),\n return_url: z.string().describe(\"The URL where the customer is redirected after the customer approves the payment.\"),\n user_action: z.enum([\"CONTINUE\", \"SUBSCRIBE_NOW\"]).default(\"SUBSCRIBE_NOW\").describe(\"Configures the label name for subscription consent experience.\").optional(),\n payment_method: z.object({\n payee_preferred: z.enum([\"UNRESTRICTED\", \"IMMEDIATE_PAYMENT_REQUIRED\"]).describe(\"Customer and merchant payment preferences.\").optional(),\n}).describe(\"The customer and merchant payment preferences.\").optional(),\n shipping_preference: z.enum([\"GET_FROM_FILE\", \"NO_SHIPPING\", \"SET_PROVIDED_ADDRESS\"]).default(\"GET_FROM_FILE\").describe(\"Location from which the shipping address is derived.\").optional(),\n}).describe(\"The application context, which customizes the payer experience during\\nthe subscription approval process with PayPal.\").optional(),\n}).describe(\"Request model for creating a PayPal subscription.\\n\\nUse when you need to create a new PayPal billing subscription for a customer\\nbased on a plan. The subscriber will be redirected to PayPal to approve the subscription.\");\nconst PaypalCreateSubscription_PlanTaxesSchema = z.object({\n inclusive: z.boolean().describe(\"Whether the tax is inclusive in the plan amount.\").nullable().optional(),\n percentage: z.string().describe(\"The tax percentage as a string.\").nullable().optional(),\n}).passthrough().describe(\"Tax details for plan override.\");\nconst PaypalCreateSubscription_MoneySchema = z.object({\n value: z.string().describe(\"The value (integer for JPY-like currencies or decimal fraction for others).\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable(),\n}).passthrough().describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateSubscription_PricingSchemeSchema = z.object({\n version: z.number().int().describe(\"The version number of the pricing scheme.\").nullable().optional(),\n net_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n rolls_over: z.boolean().describe(\"Whether the pricing rolls over to the next cycle.\").nullable().optional(),\n gross_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"Pricing scheme for a billing cycle.\");\nconst PaypalCreateSubscription_BillingCycleSequenceSchema = z.object({\n sequence: z.number().int().describe(\"The sequence number of the billing cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of cycles for this billing period.\").nullable().optional(),\n pricing_scheme: PaypalCreateSubscription_PricingSchemeSchema.nullable().optional(),\n}).passthrough().describe(\"Billing cycle sequence for trial and regular billing.\");\nconst PaypalCreateSubscription_PlanPaymentPreferencesSchema = z.object({\n setup_fee: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n auto_bill_outstanding: z.boolean().describe(\"Whether to automatically bill outstanding amounts.\").nullable().optional(),\n setup_fee_failure_action: z.string().describe(\"The action to take when setup fee payment fails.\").nullable().optional(),\n payment_failure_threshold: z.number().int().describe(\"The number of payment failures allowed before the subscription is suspended.\").nullable().optional(),\n}).passthrough().describe(\"Payment preferences to override at subscription level.\");\nconst PaypalCreateSubscription_PlanOverrideSchema = z.object({\n taxes: PaypalCreateSubscription_PlanTaxesSchema.nullable().optional(),\n billing_cycles: z.array(PaypalCreateSubscription_BillingCycleSequenceSchema).describe(\"An array of billing cycles for trial billing and regular billing.\").nullable().optional(),\n payment_preferences: PaypalCreateSubscription_PlanPaymentPreferencesSchema.nullable().optional(),\n}).passthrough().describe(\"An inline plan object to customize the subscription.\");\nconst PaypalCreateSubscription_LinkSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and this link.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link for the subscription.\");\nconst PaypalCreateSubscription_IssueSchema = z.object({\n field: z.string().describe(\"The field that caused the issue.\").nullable().optional(),\n issue: z.string().describe(\"Description of the issue.\").nullable().optional(),\n description: z.string().describe(\"Additional details about the issue.\").nullable().optional(),\n}).passthrough().describe(\"A validation issue returned when the request fails.\");\nconst PaypalCreateSubscription_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The subscriber's surname.\").nullable().optional(),\n given_name: z.string().describe(\"The subscriber's given name.\").nullable().optional(),\n}).passthrough().describe(\"Name of the subscriber.\");\nconst PaypalCreateSubscription_SubscriberPhoneSchema = z.object({\n country_code: z.string().describe(\"Country code for the phone number.\").nullable().optional(),\n national_number: z.string().describe(\"National phone number.\").nullable().optional(),\n}).passthrough().describe(\"Phone number of the subscriber.\");\nconst PaypalCreateSubscription_ShippingAddressSchema = z.object({\n city: z.string().describe(\"The city name.\").nullable().optional(),\n name: z.string().describe(\"The name of the recipient at the shipping address.\").nullable().optional(),\n state: z.string().describe(\"The state or province code.\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code or ZIP code.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO 3166-1 country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address (street, PO Box).\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address (apartment, suite, etc.).\").nullable().optional(),\n}).passthrough().describe(\"Shipping address for the subscription.\");\nconst PaypalCreateSubscription_SubscriberSchema = z.object({\n name: PaypalCreateSubscription_SubscriberNameSchema.nullable().optional(),\n phone: PaypalCreateSubscription_SubscriberPhoneSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal account identifier for the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The subscriber's email address.\").nullable().optional(),\n shipping_address: PaypalCreateSubscription_ShippingAddressSchema.nullable().optional(),\n}).passthrough().describe(\"The subscriber information for the subscription.\");\nconst PaypalCreateSubscription_BillingInfoSchema = z.object({\n last_payment_time: z.string().describe(\"The last payment time in ISO 8601 format.\").nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing time in ISO 8601 format.\").nullable().optional(),\n next_cycle_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n last_payment_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"Billing information for the subscription.\");\nexport const PaypalCreateSubscriptionOutput = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n name: z.string().describe(\"Error name if the request failed.\").nullable().optional(),\n plan: PaypalCreateSubscription_PlanOverrideSchema.nullable().optional(),\n links: z.array(PaypalCreateSubscription_LinkSchema).describe(\"HATEOAS links for the subscription. Use the approve link to redirect the subscriber to PayPal.\").nullable().optional(),\n issues: z.array(PaypalCreateSubscription_IssueSchema).describe(\"List of validation issues if the request failed.\").nullable().optional(),\n status: z.string().describe(\"The status of the subscription (e.g., 'ACTIVE', 'PENDING').\").nullable().optional(),\n message: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the product in the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"The custom id for the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The start time of the subscription in ISO 8601 format.\").nullable().optional(),\n subscriber: PaypalCreateSubscription_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalCreateSubscription_BillingInfoSchema.nullable().optional(),\n plan_overridden: z.boolean().describe(\"Whether the plan was overridden at subscription level.\").nullable().optional(),\n shipping_amount: PaypalCreateSubscription_MoneySchema.nullable().optional(),\n status_change_note: z.string().describe(\"A note explaining why the status changed.\").nullable().optional(),\n status_update_time: z.string().describe(\"The time when the status was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after creating a PayPal subscription.\\n\\nContains the subscription ID, status, and HATEOAS links for next actions.\\nThe subscriber must be redirected to the approval URL to complete the subscription.\");\n\nexport const paypalCreateSubscription = action(\"PAYPAL_CREATE_SUBSCRIPTION\", {\n slug: \"paypal-create-subscription\",\n name: \"Create Subscription\",\n description: \"Creates a new PayPal subscription based on a billing plan. Use this action when you need to set up a recurring billing subscription for a customer. The action returns a subscription ID and an approval URL where the subscriber must complete the subscription by logging into their PayPal account and confirming the payment. This action is irreversible once the subscriber approves the subscription. **Required fields:** - plan_id: The PayPal billing plan ID **Important:** - The subscriber will be redirected to PayPal to approve the subscription - Use the 'approve' link from the response to redirect the subscriber - The subscription status will be 'PENDING' until the subscriber approves it\",\n input: PaypalCreateSubscriptionInput,\n output: PaypalCreateSubscriptionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,OAAO;GAChB,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;GAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC9E,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACrD,gBAAgB,EAAE,MAAM,EAAE,OAAO;GACjC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;GACnF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;GACxG,gBAAgB,EAAE,OAAO;IACzB,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;IACzF,YAAY,EAAE,OAAO;KACrB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;KACxG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;IAClF,CA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AS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iOAOhB;AACV,CAAC"}
@@ -7,12 +7,12 @@ const PaypalCreateTemplateInput = zod.z.object({
7
7
  template_item_settings: zod.z.array(zod.z.object({
8
8
  name: zod.z.string().describe("The name of the setting.").optional(),
9
9
  value: zod.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: zod.z.array(zod.z.object({
12
12
  name: zod.z.string().describe("The name of the setting.").optional(),
13
13
  value: zod.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: zod.z.object({
17
17
  items: zod.z.array(zod.z.object({
18
18
  name: zod.z.string().describe("The item name.").optional(),
@@ -22,7 +22,7 @@ const PaypalCreateTemplateInput = zod.z.object({
22
22
  value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for others."),
23
23
  currency_code: zod.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: zod.z.object({
27
27
  value: zod.z.string().describe("The total amount value.").optional(),
28
28
  breakdown: zod.z.object({
@@ -63,7 +63,7 @@ const PaypalCreateTemplateInput = zod.z.object({
63
63
  phones: zod.z.array(zod.z.object({
64
64
  country_code: zod.z.string().describe("The country code.").optional(),
65
65
  national_number: zod.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: zod.z.string().describe("The tax ID of the invoicer.").optional(),
68
68
  website: zod.z.string().describe("The website URL of the invoicer.").optional(),
69
69
  logo_url: zod.z.string().describe("The URL to the logo image for the invoicer.").optional(),
@@ -95,7 +95,7 @@ const PaypalCreateTemplateInput = zod.z.object({
95
95
  email_address: zod.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: zod.z.record(zod.z.string(), zod.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: zod.z.array(zod.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: zod.z.enum([
@@ -110,49 +110,49 @@ const PaypalCreateTemplate_LinkDescriptionSchema = zod.z.object({
110
110
  rel: zod.z.string().describe("The link relationship type.").nullable(),
111
111
  href: zod.z.string().describe("The complete URL to the related resource.").nullable(),
112
112
  method: zod.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 = zod.z.object({
115
115
  name: zod.z.string().describe("The name of the setting.").nullable().optional(),
116
116
  value: zod.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 = zod.z.object({
119
119
  name: zod.z.string().describe("The name of the setting.").nullable().optional(),
120
120
  value: zod.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 = zod.z.object({
123
123
  template_item_settings: zod.z.array(PaypalCreateTemplate_TemplateItemSettingSchema).describe("The template item headers display preference.").nullable().optional(),
124
124
  template_subtotal_settings: zod.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 = zod.z.object({
127
127
  value: zod.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: zod.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 = zod.z.object({
131
131
  name: zod.z.string().describe("The item name.").nullable().optional(),
132
132
  quantity: zod.z.string().describe("The quantity of the item.").nullable().optional(),
133
133
  description: zod.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 = zod.z.object({
137
137
  custom: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The custom amount.").nullable().optional(),
138
138
  discount: zod.z.record(zod.z.string(), zod.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 = zod.z.object({
144
144
  value: zod.z.string().describe("The total amount value.").nullable().optional(),
145
145
  breakdown: PaypalCreateTemplate_AmountBreakdownSchema.nullable().optional(),
146
146
  currency_code: zod.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 = zod.z.object({
149
149
  create_user: zod.z.string().describe("The user who created the template.").nullable().optional(),
150
150
  modify_user: zod.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 = zod.z.object({
153
153
  due_type: zod.z.string().describe("The type of the due date.").nullable().optional(),
154
154
  interval_days: zod.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 = zod.z.object({
157
157
  memo: zod.z.string().describe("A memo for the invoice.").nullable().optional(),
158
158
  note: zod.z.string().describe("A note to the payer.").nullable().optional(),
@@ -162,11 +162,11 @@ const PaypalCreateTemplate_TemplateDetailSchema = zod.z.object({
162
162
  payment_term: PaypalCreateTemplate_TemplatePaymentTermSchema.nullable().optional(),
163
163
  currency_code: zod.z.string().describe("The three-character ISO-4217 currency code for the invoice.").nullable(),
164
164
  terms_and_conditions: zod.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 = zod.z.object({
167
167
  country_code: zod.z.string().describe("The country code.").nullable().optional(),
168
168
  national_number: zod.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 = zod.z.object({
171
171
  phones: zod.z.array(PaypalCreateTemplate_PhoneNumberSchema).describe("The phone numbers of the invoicer.").nullable().optional(),
172
172
  tax_id: zod.z.string().describe("The tax ID of the invoicer.").nullable().optional(),
@@ -174,28 +174,28 @@ const PaypalCreateTemplate_InvoicerInfoSchema = zod.z.object({
174
174
  logo_url: zod.z.string().describe("The URL to the logo image for the invoicer.").nullable().optional(),
175
175
  email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
176
176
  additional_notes: zod.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 = zod.z.object({
179
179
  total_due: PaypalCreateTemplate_MoneySchema.nullable().optional(),
180
180
  enable_partial_payment: zod.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 = zod.z.object({
183
183
  allow_tip: zod.z.boolean().describe("Indicates whether the tip is allowed.").nullable().optional(),
184
184
  tax_inclusive: zod.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: zod.z.boolean().describe("Indicates whether a conditional rule is present.").nullable().optional(),
187
187
  tax_calculated_after_discount: zod.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 = zod.z.object({
190
190
  last_name: zod.z.string().describe("The last name of the billing contact.").nullable().optional(),
191
191
  first_name: zod.z.string().describe("The first name of the billing contact.").nullable().optional(),
192
192
  business_name: zod.z.string().describe("The business name of the billing contact.").nullable().optional(),
193
193
  email_address: zod.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 = zod.z.object({
196
196
  billing_info: PaypalCreateTemplate_BillingInfoSchema.nullable().optional(),
197
197
  shipping_info: zod.z.record(zod.z.string(), zod.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 = zod.z.object({
200
200
  items: zod.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 = zod.z.object({
205
205
  configuration: PaypalCreateTemplate_TemplateConfigurationSchema.nullable().optional(),
206
206
  primary_recipients: zod.z.array(PaypalCreateTemplate_RecipientInfoSchema).describe("The billing and shipping information including name, email, address, phone, and language.").nullable().optional(),
207
207
  additional_recipients: zod.z.array(zod.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 = zod.z.enum([
210
210
  "QUANTITY",
211
211
  "HOURS",
@@ -220,7 +220,7 @@ const PaypalCreateTemplateOutput = zod.z.object({
220
220
  unit_of_measure: PaypalCreateTemplate_UnitOfMeasureSchema.nullable().optional(),
221
221
  default_template: zod.z.boolean().describe("Indicates whether this template is the default template.").nullable().optional(),
222
222
  standard_template: zod.z.boolean().describe("Indicates whether this template is a invoicer-created custom template.").nullable().optional()
223
- }).describe("Response schema for a created PayPal invoice template.");
223
+ }).passthrough().describe("Response schema for a created PayPal invoice template.");
224
224
  const paypalCreateTemplate = require_action.action("PAYPAL_CREATE_TEMPLATE", {
225
225
  slug: "paypal-create-template",
226
226
  name: "Create template",
@@ -1 +1 @@
1
- {"version":3,"file":"create-template.cjs","names":["z","action"],"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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IA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":["z","action"],"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,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC9D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,wBAAwBA,IAAAA,EAAE,MAAMA,IAAAA,E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