@delopay/sdk 0.479.0 → 0.481.0

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 (362) hide show
  1. package/dist/airwallexCard.cjs.map +1 -1
  2. package/dist/branding.cjs.map +1 -1
  3. package/dist/cardFormStyles.cjs.map +1 -1
  4. package/dist/checkoutSession.cjs +2 -2
  5. package/dist/checkoutSession.cjs.map +1 -1
  6. package/dist/checkoutSession.js +1 -1
  7. package/dist/chunk-244VZFFO.cjs.map +1 -1
  8. package/dist/chunk-2IJRBJXW.cjs.map +1 -1
  9. package/dist/{chunk-K6LAE4NS.cjs → chunk-2MSCXFWD.cjs} +3 -3
  10. package/dist/chunk-2MSCXFWD.cjs.map +1 -0
  11. package/dist/chunk-34PC72O7.cjs.map +1 -1
  12. package/dist/chunk-3GBWQWTP.cjs.map +1 -1
  13. package/dist/chunk-3YBBJT3Y.cjs.map +1 -1
  14. package/dist/chunk-44QBWVRS.cjs.map +1 -1
  15. package/dist/chunk-4EKAWNYI.cjs.map +1 -1
  16. package/dist/chunk-4LN4BR2T.cjs.map +1 -1
  17. package/dist/chunk-4T4XHPYN.cjs.map +1 -1
  18. package/dist/chunk-5CITBN33.cjs.map +1 -1
  19. package/dist/chunk-5HCKC4HF.cjs.map +1 -1
  20. package/dist/chunk-5O2JSQYA.cjs.map +1 -1
  21. package/dist/chunk-5QS67SBO.cjs.map +1 -1
  22. package/dist/chunk-6BFZS4YP.cjs.map +1 -1
  23. package/dist/chunk-6EBY2KKL.cjs.map +1 -1
  24. package/dist/chunk-6LFOM6HV.cjs.map +1 -1
  25. package/dist/chunk-6LOWE2YI.cjs.map +1 -1
  26. package/dist/chunk-6LSG5Z4T.cjs.map +1 -1
  27. package/dist/{chunk-W3XWB7NX.cjs → chunk-6MXPGE7O.cjs} +13 -13
  28. package/dist/chunk-6MXPGE7O.cjs.map +1 -0
  29. package/dist/chunk-6SU2MTN2.cjs.map +1 -1
  30. package/dist/chunk-6YCDLSIU.cjs.map +1 -1
  31. package/dist/chunk-75E5WNJG.cjs.map +1 -1
  32. package/dist/chunk-7JV6VVO7.cjs.map +1 -1
  33. package/dist/{chunk-WEH3UPJF.cjs → chunk-7NKJD5ST.cjs} +1 -1
  34. package/dist/chunk-7NKJD5ST.cjs.map +1 -0
  35. package/dist/chunk-7QZCUXWB.cjs.map +1 -1
  36. package/dist/chunk-7VXF5D67.cjs.map +1 -1
  37. package/dist/{chunk-2TQA6UYY.js → chunk-ABDDRKOT.js} +3 -2
  38. package/dist/chunk-ABDDRKOT.js.map +1 -0
  39. package/dist/chunk-ABWAYMN5.cjs.map +1 -1
  40. package/dist/chunk-ACZ2R47X.cjs.map +1 -1
  41. package/dist/chunk-AYUYJO3I.cjs.map +1 -1
  42. package/dist/chunk-BCA3TCGS.cjs.map +1 -1
  43. package/dist/chunk-BP6KDQ6I.cjs.map +1 -1
  44. package/dist/chunk-BRY3W7N3.cjs.map +1 -1
  45. package/dist/chunk-CAMALM35.cjs.map +1 -1
  46. package/dist/chunk-CCN44NZJ.cjs.map +1 -1
  47. package/dist/{chunk-MH3DDSRV.js → chunk-CPGGSHNB.js} +6 -2
  48. package/dist/chunk-CPGGSHNB.js.map +1 -0
  49. package/dist/chunk-CPT6VNW7.js +163 -0
  50. package/dist/chunk-CPT6VNW7.js.map +1 -0
  51. package/dist/chunk-CR3JBTP3.cjs.map +1 -1
  52. package/dist/chunk-CYH4HZ4Y.cjs +163 -0
  53. package/dist/chunk-CYH4HZ4Y.cjs.map +1 -0
  54. package/dist/{chunk-2I66YLFQ.js → chunk-DDXERBGG.js} +6 -2
  55. package/dist/chunk-DDXERBGG.js.map +1 -0
  56. package/dist/chunk-DJASVBOJ.cjs.map +1 -1
  57. package/dist/{chunk-KSJ7JLR3.cjs → chunk-E2TF7JDB.cjs} +9 -8
  58. package/dist/chunk-E2TF7JDB.cjs.map +1 -0
  59. package/dist/chunk-EEB2HDYL.cjs.map +1 -1
  60. package/dist/{chunk-CCBZYJUZ.js → chunk-EHRQSUIK.js} +2 -2
  61. package/dist/{chunk-EZ3ZESBX.js → chunk-EK7RLJZB.js} +9 -4
  62. package/dist/chunk-EK7RLJZB.js.map +1 -0
  63. package/dist/chunk-ENPSUWTS.cjs.map +1 -1
  64. package/dist/chunk-EQ6P6ZND.cjs.map +1 -1
  65. package/dist/chunk-EXPWQBI3.cjs.map +1 -1
  66. package/dist/chunk-F3I5DOWV.cjs.map +1 -1
  67. package/dist/chunk-F46K5H3U.cjs.map +1 -1
  68. package/dist/chunk-F6S3WCCB.cjs.map +1 -1
  69. package/dist/{chunk-RSVLVW4L.cjs → chunk-FDHLDKNY.cjs} +2 -2
  70. package/dist/chunk-FDHLDKNY.cjs.map +1 -0
  71. package/dist/chunk-FQRC4NJG.cjs.map +1 -1
  72. package/dist/chunk-FTWGI7UZ.cjs.map +1 -1
  73. package/dist/chunk-FYISDU2Y.cjs.map +1 -1
  74. package/dist/chunk-GG52SAHA.cjs.map +1 -1
  75. package/dist/chunk-GK5FWN4H.cjs.map +1 -1
  76. package/dist/chunk-GSQN5EOO.cjs.map +1 -1
  77. package/dist/chunk-GW7IHYXR.cjs.map +1 -1
  78. package/dist/chunk-GWSVQXEY.cjs.map +1 -1
  79. package/dist/chunk-HLHML5ES.cjs.map +1 -1
  80. package/dist/chunk-HLKFUOAQ.cjs.map +1 -1
  81. package/dist/chunk-HLYGHP6F.cjs.map +1 -1
  82. package/dist/chunk-HSJABE7X.cjs.map +1 -1
  83. package/dist/chunk-I2W7AO4B.cjs.map +1 -1
  84. package/dist/chunk-I2XGNALG.cjs.map +1 -1
  85. package/dist/{chunk-3HR3JRQD.js → chunk-IBUGYGGZ.js} +1 -1
  86. package/dist/chunk-IBUGYGGZ.js.map +1 -0
  87. package/dist/chunk-IGHAJNC6.cjs.map +1 -1
  88. package/dist/chunk-IKXGA2Z5.cjs.map +1 -1
  89. package/dist/chunk-IR2LFKKA.cjs.map +1 -1
  90. package/dist/chunk-J4ZB7MU4.cjs.map +1 -1
  91. package/dist/chunk-JPPRDMTJ.cjs.map +1 -1
  92. package/dist/chunk-K5Q2H3VD.cjs.map +1 -1
  93. package/dist/chunk-KD5Y2YWK.cjs.map +1 -1
  94. package/dist/chunk-KJDMNF2T.cjs.map +1 -1
  95. package/dist/chunk-KLONGJCL.cjs.map +1 -1
  96. package/dist/chunk-LJ2EG6JK.cjs.map +1 -1
  97. package/dist/chunk-LLYY4TCZ.cjs.map +1 -1
  98. package/dist/chunk-LYIBTVK6.cjs.map +1 -1
  99. package/dist/chunk-M3HWE7KT.cjs.map +1 -1
  100. package/dist/chunk-M3SJHFT4.cjs.map +1 -1
  101. package/dist/chunk-MCNDMK7F.cjs.map +1 -1
  102. package/dist/chunk-MLG6NXI6.cjs.map +1 -1
  103. package/dist/{chunk-P6JLNQ6L.cjs → chunk-MYAXAWBQ.cjs} +5 -2
  104. package/dist/chunk-MYAXAWBQ.cjs.map +1 -0
  105. package/dist/chunk-NFB3S2E6.cjs.map +1 -1
  106. package/dist/{chunk-QSZQOCU4.js → chunk-NH2TUO7X.js} +7 -7
  107. package/dist/chunk-NYL3BNHR.cjs.map +1 -1
  108. package/dist/chunk-O4AYHLQX.cjs.map +1 -1
  109. package/dist/chunk-OAEKP665.cjs.map +1 -1
  110. package/dist/chunk-ODPNVNYE.cjs.map +1 -1
  111. package/dist/chunk-OG2KJAYD.cjs.map +1 -1
  112. package/dist/{chunk-KOB6MOAV.cjs → chunk-OPOSNWK4.cjs} +7 -3
  113. package/dist/chunk-OPOSNWK4.cjs.map +1 -0
  114. package/dist/chunk-OWP7XBY2.cjs.map +1 -1
  115. package/dist/chunk-OYZP6NF6.cjs.map +1 -1
  116. package/dist/chunk-P4UILJVU.cjs.map +1 -1
  117. package/dist/chunk-P7DYLUUI.cjs.map +1 -1
  118. package/dist/chunk-PKAE6AQT.cjs.map +1 -1
  119. package/dist/{chunk-CYDHHARQ.cjs → chunk-PYNHK6AP.cjs} +7 -3
  120. package/dist/chunk-PYNHK6AP.cjs.map +1 -0
  121. package/dist/chunk-Q7M7DO7M.cjs.map +1 -1
  122. package/dist/chunk-QKUWFMZP.cjs.map +1 -1
  123. package/dist/chunk-QRSA72B3.cjs.map +1 -1
  124. package/dist/chunk-QYNRNDIY.cjs.map +1 -1
  125. package/dist/chunk-R4GA6BVP.cjs.map +1 -1
  126. package/dist/{chunk-WBAPQODS.js → chunk-R4TZEQ33.js} +5 -2
  127. package/dist/{chunk-WBAPQODS.js.map → chunk-R4TZEQ33.js.map} +1 -1
  128. package/dist/chunk-R5VYSZ3Q.cjs.map +1 -1
  129. package/dist/chunk-RHFUXHQN.cjs.map +1 -1
  130. package/dist/chunk-RI42IDRR.cjs.map +1 -1
  131. package/dist/chunk-S77LQWYC.cjs.map +1 -1
  132. package/dist/chunk-S7SBNOGS.cjs.map +1 -1
  133. package/dist/chunk-TMAJE5P2.cjs.map +1 -1
  134. package/dist/chunk-TNIJ6OSH.cjs.map +1 -1
  135. package/dist/{chunk-EGQKVHQB.js → chunk-TSAQN7I5.js} +2 -2
  136. package/dist/chunk-TSAQN7I5.js.map +1 -0
  137. package/dist/chunk-U3JK7NBG.cjs.map +1 -1
  138. package/dist/{chunk-OMQJTXFL.cjs → chunk-U72OIM7A.cjs} +9 -4
  139. package/dist/chunk-U72OIM7A.cjs.map +1 -0
  140. package/dist/chunk-UGSM7RJ2.cjs.map +1 -1
  141. package/dist/chunk-UKLZAOLW.cjs.map +1 -1
  142. package/dist/chunk-V47G7P6L.cjs.map +1 -1
  143. package/dist/chunk-VH5A6SMU.cjs.map +1 -1
  144. package/dist/chunk-VHMH4QMY.cjs.map +1 -1
  145. package/dist/chunk-VYC7WUM5.cjs.map +1 -1
  146. package/dist/chunk-VZ3BSIVU.cjs.map +1 -1
  147. package/dist/chunk-W457XUA6.cjs.map +1 -1
  148. package/dist/chunk-WHDI3TMP.cjs.map +1 -1
  149. package/dist/chunk-WITCPKNL.cjs.map +1 -1
  150. package/dist/chunk-WX6NP7UU.cjs.map +1 -1
  151. package/dist/chunk-XQLRIBVR.cjs.map +1 -1
  152. package/dist/chunk-Y7LSSRNJ.cjs.map +1 -1
  153. package/dist/chunk-YK3P5QNZ.cjs.map +1 -1
  154. package/dist/chunk-ZKPVUCQV.cjs.map +1 -1
  155. package/dist/chunk-ZUULK36E.cjs.map +1 -1
  156. package/dist/client.cjs +2 -2
  157. package/dist/client.cjs.map +1 -1
  158. package/dist/client.js +1 -1
  159. package/dist/core.cjs.map +1 -1
  160. package/dist/currencies.cjs.map +1 -1
  161. package/dist/enigmaCardForm.cjs.map +1 -1
  162. package/dist/error.cjs.map +1 -1
  163. package/dist/eventStream.cjs.map +1 -1
  164. package/dist/exportDownload.cjs.map +1 -1
  165. package/dist/feeProgram.cjs.map +1 -1
  166. package/dist/index.cjs +9 -9
  167. package/dist/index.cjs.map +1 -1
  168. package/dist/index.js +8 -8
  169. package/dist/internal/resources/admin.cjs.map +1 -1
  170. package/dist/internal/resources/admin.d.cts +1 -1
  171. package/dist/internal/resources/admin.d.ts +1 -1
  172. package/dist/internal/resources/adminBranding.cjs.map +1 -1
  173. package/dist/internal/resources/adminBranding.d.cts +1 -1
  174. package/dist/internal/resources/adminBranding.d.ts +1 -1
  175. package/dist/internal/resources/adminCheckoutDomains.cjs.map +1 -1
  176. package/dist/internal/resources/adminCheckoutDomains.d.cts +1 -1
  177. package/dist/internal/resources/adminCheckoutDomains.d.ts +1 -1
  178. package/dist/internal/resources/adminFeePlans.cjs.map +1 -1
  179. package/dist/internal/resources/adminFeePlans.d.cts +1 -1
  180. package/dist/internal/resources/adminFeePlans.d.ts +1 -1
  181. package/dist/internal/resources/adminFileScans.cjs.map +1 -1
  182. package/dist/internal/resources/adminFileScans.d.cts +1 -1
  183. package/dist/internal/resources/adminFileScans.d.ts +1 -1
  184. package/dist/internal/resources/adminIndustries.cjs.map +1 -1
  185. package/dist/internal/resources/adminIndustries.d.cts +1 -1
  186. package/dist/internal/resources/adminIndustries.d.ts +1 -1
  187. package/dist/internal/resources/adminLive.cjs.map +1 -1
  188. package/dist/internal/resources/adminNotices.cjs.map +1 -1
  189. package/dist/internal/resources/adminNotices.d.cts +1 -1
  190. package/dist/internal/resources/adminNotices.d.ts +1 -1
  191. package/dist/internal/resources/adminPortal.cjs +2 -2
  192. package/dist/internal/resources/adminPortal.cjs.map +1 -1
  193. package/dist/internal/resources/adminPortal.d.cts +1 -1
  194. package/dist/internal/resources/adminPortal.d.ts +1 -1
  195. package/dist/internal/resources/adminPortal.js +1 -1
  196. package/dist/internal/resources/adminPricing.cjs +7 -0
  197. package/dist/internal/resources/adminPricing.cjs.map +1 -0
  198. package/dist/internal/resources/adminPricing.d.cts +49 -0
  199. package/dist/internal/resources/adminPricing.d.ts +49 -0
  200. package/dist/internal/resources/adminPricing.js +7 -0
  201. package/dist/internal/resources/adminPricing.js.map +1 -0
  202. package/dist/internal/resources/adminSupport.cjs.map +1 -1
  203. package/dist/internal/resources/adminSupport.d.cts +1 -1
  204. package/dist/internal/resources/adminSupport.d.ts +1 -1
  205. package/dist/internal/resources/auditLogs.cjs.map +1 -1
  206. package/dist/internal/resources/auditLogs.d.cts +1 -1
  207. package/dist/internal/resources/auditLogs.d.ts +1 -1
  208. package/dist/internal/resources/cache.cjs.map +1 -1
  209. package/dist/internal/resources/cardIssuers.cjs.map +1 -1
  210. package/dist/internal/resources/cardIssuers.d.cts +1 -1
  211. package/dist/internal/resources/cardIssuers.d.ts +1 -1
  212. package/dist/internal/resources/configs.cjs.map +1 -1
  213. package/dist/internal/resources/connectorRestrictionRules.cjs.map +1 -1
  214. package/dist/internal/resources/connectorRestrictionRules.d.cts +1 -1
  215. package/dist/internal/resources/connectorRestrictionRules.d.ts +1 -1
  216. package/dist/internal/resources/connectorRestrictions.cjs.map +1 -1
  217. package/dist/internal/resources/connectorRestrictions.d.cts +1 -1
  218. package/dist/internal/resources/connectorRestrictions.d.ts +1 -1
  219. package/dist/internal/resources/diagnostic.cjs.map +1 -1
  220. package/dist/internal/resources/diagnostic.d.cts +1 -1
  221. package/dist/internal/resources/diagnostic.d.ts +1 -1
  222. package/dist/internal/resources/gsm.cjs.map +1 -1
  223. package/dist/internal/resources/gsm.d.cts +1 -1
  224. package/dist/internal/resources/gsm.d.ts +1 -1
  225. package/dist/internal/resources/nativeRenewals.cjs.map +1 -1
  226. package/dist/internal/resources/nativeRenewals.d.cts +1 -1
  227. package/dist/internal/resources/nativeRenewals.d.ts +1 -1
  228. package/dist/internal/resources/platformBilling.cjs.map +1 -1
  229. package/dist/internal/resources/platformBilling.d.cts +1 -1
  230. package/dist/internal/resources/platformBilling.d.ts +1 -1
  231. package/dist/internal/resources/platformFees.cjs.map +1 -1
  232. package/dist/internal/resources/platformMessageTemplates.cjs.map +1 -1
  233. package/dist/internal/resources/platformSettings.cjs.map +1 -1
  234. package/dist/internal/resources/platformSettings.d.cts +1 -1
  235. package/dist/internal/resources/platformSettings.d.ts +1 -1
  236. package/dist/internal.cjs +23 -18
  237. package/dist/internal.cjs.map +1 -1
  238. package/dist/internal.d.cts +5 -2
  239. package/dist/internal.d.ts +5 -2
  240. package/dist/internal.js +20 -15
  241. package/dist/internal.js.map +1 -1
  242. package/dist/listQuery.cjs.map +1 -1
  243. package/dist/panes.cjs.map +1 -1
  244. package/dist/paymentPresentation.cjs.map +1 -1
  245. package/dist/recordCounter.cjs.map +1 -1
  246. package/dist/resources/aiTools.cjs.map +1 -1
  247. package/dist/resources/analytics.cjs.map +1 -1
  248. package/dist/resources/analyticsDashboard.cjs.map +1 -1
  249. package/dist/resources/apiKeys.cjs.map +1 -1
  250. package/dist/resources/audit.cjs.map +1 -1
  251. package/dist/resources/authentication.cjs.map +1 -1
  252. package/dist/resources/availabilityOverrides.cjs.map +1 -1
  253. package/dist/resources/billing.cjs.map +1 -1
  254. package/dist/resources/buyerAccount.cjs.map +1 -1
  255. package/dist/resources/buyerBlocklist.cjs +2 -2
  256. package/dist/resources/buyerBlocklist.cjs.map +1 -1
  257. package/dist/resources/buyerBlocklist.js +1 -1
  258. package/dist/resources/buyerConversations.cjs.map +1 -1
  259. package/dist/resources/buyerEvidenceReviews.cjs.map +1 -1
  260. package/dist/resources/buyerPortal.cjs.map +1 -1
  261. package/dist/resources/cards.cjs.map +1 -1
  262. package/dist/resources/chargebackPrevention.cjs.map +1 -1
  263. package/dist/resources/checkoutDomains.cjs.map +1 -1
  264. package/dist/resources/checkoutMethods.cjs.map +1 -1
  265. package/dist/resources/checkoutRecovery.cjs.map +1 -1
  266. package/dist/resources/checkoutTemplates.cjs.map +1 -1
  267. package/dist/resources/connectors.cjs.map +1 -1
  268. package/dist/resources/contentEncryption.cjs.map +1 -1
  269. package/dist/resources/costRules.cjs.map +1 -1
  270. package/dist/resources/customers.cjs.map +1 -1
  271. package/dist/resources/deploymentBranding.cjs.map +1 -1
  272. package/dist/resources/disputes.cjs +2 -2
  273. package/dist/resources/disputes.cjs.map +1 -1
  274. package/dist/resources/disputes.js +1 -1
  275. package/dist/resources/ephemeralKeys.cjs.map +1 -1
  276. package/dist/resources/events.cjs.map +1 -1
  277. package/dist/resources/export.cjs +2 -2
  278. package/dist/resources/export.cjs.map +1 -1
  279. package/dist/resources/export.js +1 -1
  280. package/dist/resources/externalRecords.cjs.map +1 -1
  281. package/dist/resources/featureMatrix.cjs.map +1 -1
  282. package/dist/resources/fees.cjs.map +1 -1
  283. package/dist/resources/files.cjs.map +1 -1
  284. package/dist/resources/forex.cjs.map +1 -1
  285. package/dist/resources/identityVerifications.cjs.map +1 -1
  286. package/dist/resources/industries.cjs.map +1 -1
  287. package/dist/resources/invoiceSettings.cjs.map +1 -1
  288. package/dist/resources/invoices.cjs.map +1 -1
  289. package/dist/resources/live.cjs.map +1 -1
  290. package/dist/resources/mandates.cjs.map +1 -1
  291. package/dist/resources/merchantAccounts.cjs.map +1 -1
  292. package/dist/resources/messageTemplates.cjs.map +1 -1
  293. package/dist/resources/notices.cjs.map +1 -1
  294. package/dist/resources/operationLimits.cjs.map +1 -1
  295. package/dist/resources/paymentLinks.cjs.map +1 -1
  296. package/dist/resources/paymentMethods.cjs.map +1 -1
  297. package/dist/resources/payments.cjs.map +1 -1
  298. package/dist/resources/payoutDestinations.cjs.map +1 -1
  299. package/dist/resources/payouts.cjs.map +1 -1
  300. package/dist/resources/paypalDisputes.cjs.map +1 -1
  301. package/dist/resources/persons.cjs +2 -2
  302. package/dist/resources/persons.cjs.map +1 -1
  303. package/dist/resources/persons.js +1 -1
  304. package/dist/resources/poll.cjs.map +1 -1
  305. package/dist/resources/processorCosts.cjs.map +1 -1
  306. package/dist/resources/processorImports.cjs.map +1 -1
  307. package/dist/resources/products.cjs.map +1 -1
  308. package/dist/resources/profileAcquirers.cjs.map +1 -1
  309. package/dist/resources/profiles.cjs.map +1 -1
  310. package/dist/resources/projects.cjs.map +1 -1
  311. package/dist/resources/refunds.cjs.map +1 -1
  312. package/dist/resources/regions.cjs.map +1 -1
  313. package/dist/resources/relay.cjs.map +1 -1
  314. package/dist/resources/risk.cjs.map +1 -1
  315. package/dist/resources/routing.cjs.map +1 -1
  316. package/dist/resources/search.cjs.map +1 -1
  317. package/dist/resources/sellToRestrictions.cjs.map +1 -1
  318. package/dist/resources/settings.cjs.map +1 -1
  319. package/dist/resources/settlement.cjs.map +1 -1
  320. package/dist/resources/shareLinks.cjs +2 -2
  321. package/dist/resources/shareLinks.cjs.map +1 -1
  322. package/dist/resources/shareLinks.d.cts +1 -2
  323. package/dist/resources/shareLinks.d.ts +1 -2
  324. package/dist/resources/shareLinks.js +1 -1
  325. package/dist/resources/shopLabels.cjs.map +1 -1
  326. package/dist/resources/shopify.cjs.map +1 -1
  327. package/dist/resources/shops.cjs.map +1 -1
  328. package/dist/resources/stripeConnect.cjs.map +1 -1
  329. package/dist/resources/subscriptions.cjs +2 -2
  330. package/dist/resources/subscriptions.cjs.map +1 -1
  331. package/dist/resources/subscriptions.js +1 -1
  332. package/dist/resources/support.cjs.map +1 -1
  333. package/dist/resources/threeDsRules.cjs.map +1 -1
  334. package/dist/resources/users.cjs.map +1 -1
  335. package/dist/resources/vatRates.cjs.map +1 -1
  336. package/dist/resources/verification.cjs.map +1 -1
  337. package/dist/resources/webhooks.cjs.map +1 -1
  338. package/dist/resources/whopResolutionCases.cjs.map +1 -1
  339. package/dist/trustedOrigins.cjs.map +1 -1
  340. package/dist/{types-B3aryu0m.d.cts → types-fgHam_o6.d.ts} +169 -2
  341. package/dist/{types-oEDLbeac.d.ts → types-yDOfhGt3.d.cts} +169 -2
  342. package/dist/types.cjs.map +1 -1
  343. package/dist/types.d.cts +89 -3
  344. package/dist/types.d.ts +89 -3
  345. package/package.json +17 -19
  346. package/dist/chunk-2I66YLFQ.js.map +0 -1
  347. package/dist/chunk-2TQA6UYY.js.map +0 -1
  348. package/dist/chunk-3HR3JRQD.js.map +0 -1
  349. package/dist/chunk-CYDHHARQ.cjs.map +0 -1
  350. package/dist/chunk-EGQKVHQB.js.map +0 -1
  351. package/dist/chunk-EZ3ZESBX.js.map +0 -1
  352. package/dist/chunk-K6LAE4NS.cjs.map +0 -1
  353. package/dist/chunk-KOB6MOAV.cjs.map +0 -1
  354. package/dist/chunk-KSJ7JLR3.cjs.map +0 -1
  355. package/dist/chunk-MH3DDSRV.js.map +0 -1
  356. package/dist/chunk-OMQJTXFL.cjs.map +0 -1
  357. package/dist/chunk-P6JLNQ6L.cjs.map +0 -1
  358. package/dist/chunk-RSVLVW4L.cjs.map +0 -1
  359. package/dist/chunk-W3XWB7NX.cjs.map +0 -1
  360. package/dist/chunk-WEH3UPJF.cjs.map +0 -1
  361. /package/dist/{chunk-CCBZYJUZ.js.map → chunk-EHRQSUIK.js.map} +0 -0
  362. /package/dist/{chunk-QSZQOCU4.js.map → chunk-NH2TUO7X.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6MXPGE7O.cjs","../src/client.ts"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDA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;AAC9C,IAAA,IAAA,CAAK,MAAA,EAAQ,IAAI,4BAAA,CAAM,OAAO,CAAA;AAC9B,IAAA,IAAA,CAAK,OAAA,EAAS,IAAI,6BAAA,CAAO,OAAO,CAAA;AAChC,IAAA,IAAA,CAAK,QAAA,EAAU,IAAI,8BAAA,CAAQ,OAAO,CAAA;AAClC,IAAA,IAAA,CAAK,WAAA,EAAa,IAAI,iCAAA,CAAW,OAAO,CAAA;AAAA,EAC1C;AACF,CAAA;AAAA;AA/Oa,OAAA,CAEJ,SAAA,EAAW,0BAAA;ADwOpB;AACA;AACE;AACF,0BAAC","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6MXPGE7O.cjs","sourcesContent":[null,"import { DelopayCore } from './core';\nimport type { DelopayOptions } from './core';\nimport { ApiKeys } from './resources/apiKeys';\nimport { Authentication } from './resources/authentication';\nimport { Billing } from './resources/billing';\nimport { Connectors } from './resources/connectors';\nimport { Customers } from './resources/customers';\nimport { Disputes } from './resources/disputes';\nimport { ChargebackPrevention } from './resources/chargebackPrevention';\nimport { PaypalDisputes } from './resources/paypalDisputes';\nimport { WhopResolutionCases } from './resources/whopResolutionCases';\nimport { EphemeralKeys } from './resources/ephemeralKeys';\nimport { Events } from './resources/events';\nimport { Fees } from './resources/fees';\nimport { Mandates } from './resources/mandates';\nimport { MerchantAccounts } from './resources/merchantAccounts';\nimport { PaymentLinks } from './resources/paymentLinks';\nimport { PaymentMethods } from './resources/paymentMethods';\nimport { Payments } from './resources/payments';\nimport { Payouts } from './resources/payouts';\nimport { Poll } from './resources/poll';\nimport { ProfileAcquirers } from './resources/profileAcquirers';\nimport { Profiles } from './resources/profiles';\nimport { Projects } from './resources/projects';\nimport { Refunds } from './resources/refunds';\nimport { Relay } from './resources/relay';\nimport { Routing } from './resources/routing';\nimport { Search } from './resources/search';\nimport { AiTools } from './resources/aiTools';\nimport { Shops } from './resources/shops';\nimport { StripeConnect } from './resources/stripeConnect';\nimport { ThreeDsRules } from './resources/threeDsRules';\nimport { Users } from './resources/users';\nimport { Verification } from './resources/verification';\nimport { IdentityVerifications } from './resources/identityVerifications';\nimport { Webhooks } from './resources/webhooks';\nimport { Analytics } from './resources/analytics';\nimport { AnalyticsDashboard } from './resources/analyticsDashboard';\nimport { Cards } from './resources/cards';\nimport { Export } from './resources/export';\nimport { FeatureMatrix } from './resources/featureMatrix';\nimport { Files } from './resources/files';\nimport { Forex } from './resources/forex';\nimport { Regions } from './resources/regions';\nimport { AvailabilityOverrides } from './resources/availabilityOverrides';\nimport { SellToRestrictions } from './resources/sellToRestrictions';\nimport { VatRates } from './resources/vatRates';\nimport { BuyerBlocklist } from './resources/buyerBlocklist';\nimport { CheckoutDomains } from './resources/checkoutDomains';\nimport { Persons } from './resources/persons';\nimport { ShopLabels } from './resources/shopLabels';\nimport { Industries } from './resources/industries';\nimport { PayoutDestinations } from './resources/payoutDestinations';\nimport { Notices } from './resources/notices';\nimport { Shopify } from './resources/shopify';\nimport { CheckoutTemplates } from './resources/checkoutTemplates';\nimport { BuyerConversations } from './resources/buyerConversations';\nimport { BuyerEvidenceReviews } from './resources/buyerEvidenceReviews';\nimport { CheckoutRecovery } from './resources/checkoutRecovery';\nimport { CostRules } from './resources/costRules';\nimport { ExternalRecords } from './resources/externalRecords';\nimport { Products } from './resources/products';\nimport { Support } from './resources/support';\nimport { Invoices } from './resources/invoices';\nimport { InvoiceSettingsResource } from './resources/invoiceSettings';\nimport { ProcessorCosts } from './resources/processorCosts';\nimport { CheckoutMethods } from './resources/checkoutMethods';\nimport { Subscriptions } from './resources/subscriptions';\nimport { BuyerAccount } from './resources/buyerAccount';\nimport { BuyerPortal } from './resources/buyerPortal';\nimport { Audit } from './resources/audit';\nimport { Settlement } from './resources/settlement';\nimport { OperationLimits } from './resources/operationLimits';\nimport { Settings } from './resources/settings';\nimport { MessageTemplates } from './resources/messageTemplates';\nimport { Risk } from './resources/risk';\nimport { Live } from './resources/live';\nimport { ProcessorImports } from './resources/processorImports';\nimport { Branding } from './resources/deploymentBranding';\nimport { ContentEncryption } from './resources/contentEncryption';\nimport { ShareLinks } from './resources/shareLinks';\n\nexport * from './core';\n\n/**\n * Delopay API client.\n *\n * Instantiate once with your API key and reuse across your application.\n * All resource sub-clients (payments, refunds, customers, …) are exposed\n * as properties on the instance.\n *\n * Every resource is in the bundle of an application that uses this class. A\n * browser application that wants only the resources it calls uses\n * {@link DelopayCore} instead.\n *\n * @example\n * ```typescript\n * const delopay = new Delopay('prd_...', { sandbox: false });\n * const payment = await delopay.payments.create({ amount: 5000, currency: 'EUR' });\n * ```\n */\nexport class Delopay extends DelopayCore {\n /** Utility for verifying incoming webhook signatures (static, no instance needed). */\n static webhooks = Webhooks;\n\n // Merchant-facing\n readonly payments: Payments;\n readonly refunds: Refunds;\n readonly customers: Customers;\n readonly paymentMethods: PaymentMethods;\n readonly paymentLinks: PaymentLinks;\n readonly mandates: Mandates;\n readonly disputes: Disputes;\n readonly chargebackPrevention: ChargebackPrevention;\n readonly paypalDisputes: PaypalDisputes;\n readonly whopResolutionCases: WhopResolutionCases;\n /** Import refunds and disputes from connected processor accounts. */\n readonly processorImports: ProcessorImports;\n readonly payouts: Payouts;\n readonly ephemeralKeys: EphemeralKeys;\n readonly events: Events;\n readonly poll: Poll;\n\n // Connector / routing\n readonly connectors: Connectors;\n readonly routing: Routing;\n readonly profiles: Profiles;\n readonly shops: Shops;\n readonly profileAcquirers: ProfileAcquirers;\n\n // Authentication & verification\n readonly authentication: Authentication;\n readonly verification: Verification;\n readonly identityVerifications: IdentityVerifications;\n\n // Dashboard / internal\n readonly users: Users;\n readonly apiKeys: ApiKeys;\n readonly billing: Billing;\n readonly fees: Fees;\n readonly merchantAccounts: MerchantAccounts;\n readonly projects: Projects;\n readonly relay: Relay;\n readonly stripeConnect: StripeConnect;\n readonly threeDsRules: ThreeDsRules;\n /**\n * A merchant's own audit log. Needs a dashboard JWT, not an API key —\n * see {@link Audit}.\n */\n readonly audit: Audit;\n readonly settlement: Settlement;\n readonly operationLimits: OperationLimits;\n /** Every setting of the merchant, its projects and its shops, audited per change. */\n readonly settings: Settings;\n /** A shop's own texts of the emails it sends its buyers. */\n readonly messageTemplates: MessageTemplates;\n readonly risk: Risk;\n /**\n * Live updates of the dashboard: the stream of what changed and the\n * versions a save names in `If-Match`. Needs a dashboard JWT — see\n * {@link Live}.\n */\n readonly live: Live;\n /**\n * The deployment's branding (name, logos, favicon, default checkout\n * colours) as the operator saved it. Public: no credential is needed.\n */\n readonly branding: Branding;\n /**\n * Whether the deployment stores new messages and uploaded files encrypted\n * with its own key. Public: no credential is needed.\n */\n readonly contentEncryption: ContentEncryption;\n\n // New resources (Phases 3-4)\n readonly subscriptions: Subscriptions;\n /** Buyer portal grant access. Construct a separate client with the portal token. */\n readonly buyerPortal: BuyerPortal;\n /**\n * The buyer account: email sign-in, and purchases across merchants.\n * Construct a separate client with the buyer account session token for\n * everything after the sign-in.\n */\n readonly buyerAccount: BuyerAccount;\n readonly files: Files;\n readonly export: Export;\n readonly forex: Forex;\n readonly regions: Regions;\n readonly availabilityOverrides: AvailabilityOverrides;\n readonly sellToRestrictions: SellToRestrictions;\n /** The platform VAT rate table buyer tax charges from, read-only. */\n readonly vatRates: VatRates;\n /** Buyers the merchant refuses to sell to again (email, IP, customer, device, card, BIN), with Stripe Radar sync. */\n readonly buyerBlocklist: BuyerBlocklist;\n /** The merchant's own checkout addresses: subdomains and own domains, their setup, shops and Apple Pay file. */\n readonly checkoutDomains: CheckoutDomains;\n /** The merchant's payments grouped by the person behind them. */\n readonly persons: Persons;\n /** The merchant's labels for grouping shops, several per shop. */\n readonly shopLabels: ShopLabels;\n /** The industry of the merchant, its projects and its shops, with what each inherits. */\n readonly industries: Industries;\n /** Payouts: how team members want to be paid. Moves no money. */\n readonly payoutDestinations: PayoutDestinations;\n /** Notices a merchant's people send each other. */\n readonly notices: Notices;\n /** A shop's link to the merchant's Shopify store, its storefront settings and its sync log. */\n readonly shopify: Shopify;\n /** Payment methods, behaviour and smart routing defined once and used in many shops. */\n readonly checkoutTemplates: CheckoutTemplates;\n /** Conversations between buyers and the shop's team: the team inbox. */\n readonly buyerConversations: BuyerConversations;\n /** The evidence buyers hand in for the shop's cases, as the shop's team reviews it. */\n readonly buyerEvidence: BuyerEvidenceReviews;\n readonly checkoutRecovery: CheckoutRecovery;\n readonly costRules: CostRules;\n\n /** Out-of-band transitions a PSP made that DeloPay never observed. */\n readonly externalRecords: ExternalRecords;\n\n /** A shop's product catalogue: what it sells, and at which prices. */\n readonly products: Products;\n /** Conversations with DeloPay's support team. */\n readonly support: Support;\n /** The invoices and credit notes the merchant issues to its buyers. */\n readonly invoices: Invoices;\n /** How those invoices look and are taxed: the merchant default and each shop's override. */\n readonly invoiceSettings: InvoiceSettingsResource;\n /** What the merchant's own processor charges it — see {@link ProcessorCosts}. */\n readonly processorCosts: ProcessorCosts;\n readonly checkoutMethods: CheckoutMethods;\n readonly analytics: Analytics;\n readonly analyticsDashboard: AnalyticsDashboard;\n readonly featureMatrix: FeatureMatrix;\n readonly cards: Cards;\n readonly search: Search;\n /** AI tools working in the account through the MCP server: their confirmations and connections. */\n readonly aiTools: AiTools;\n /** Expiring external read-only share links for a person or payment. */\n readonly shareLinks: ShareLinks;\n\n /**\n * Create a new Delopay client.\n *\n * @param apiKey - Your Delopay API key (e.g. `prd_...` or `snd_...`).\n * Pass an empty string or omit for JWT-only usage (e.g. dashboard apps).\n * @param options - Optional configuration (sandbox mode, base URL override, timeout).\n */\n constructor(apiKey?: string, options?: DelopayOptions) {\n super(apiKey, options);\n const { request, openStream } = this.transport;\n\n // Merchant-facing\n this.payments = new Payments(request);\n this.refunds = new Refunds(request);\n this.customers = new Customers(request);\n this.paymentMethods = new PaymentMethods(request);\n this.paymentLinks = new PaymentLinks(request);\n this.mandates = new Mandates(request);\n this.disputes = new Disputes(request);\n this.chargebackPrevention = new ChargebackPrevention(request);\n this.paypalDisputes = new PaypalDisputes(request);\n this.whopResolutionCases = new WhopResolutionCases(request);\n this.payouts = new Payouts(request);\n this.ephemeralKeys = new EphemeralKeys(request);\n this.events = new Events(request);\n this.poll = new Poll(request);\n\n // Connector / routing\n this.connectors = new Connectors(request);\n this.routing = new Routing(request);\n this.profiles = new Profiles(request);\n this.shops = new Shops(request);\n this.profileAcquirers = new ProfileAcquirers(request);\n\n // Authentication & verification\n this.authentication = new Authentication(request);\n this.verification = new Verification(request);\n this.identityVerifications = new IdentityVerifications(request);\n\n // Dashboard / internal\n this.users = new Users(request);\n this.apiKeys = new ApiKeys(request);\n this.billing = new Billing(request);\n this.fees = new Fees(request);\n this.merchantAccounts = new MerchantAccounts(request);\n this.projects = new Projects(request);\n this.relay = new Relay(request);\n this.stripeConnect = new StripeConnect(request);\n this.threeDsRules = new ThreeDsRules(request);\n this.audit = new Audit(request);\n this.settlement = new Settlement(request);\n this.operationLimits = new OperationLimits(request);\n this.settings = new Settings(request);\n this.messageTemplates = new MessageTemplates(request);\n this.risk = new Risk(request);\n this.live = new Live(request, openStream);\n this.processorImports = new ProcessorImports(request, openStream);\n this.branding = new Branding(request, this.baseUrl);\n this.contentEncryption = new ContentEncryption(request);\n\n // New resources (Phases 3-4)\n this.subscriptions = new Subscriptions(request);\n this.buyerPortal = new BuyerPortal(request);\n this.buyerAccount = new BuyerAccount(request);\n this.files = new Files(request);\n this.export = new Export(request);\n this.forex = new Forex(request);\n this.regions = new Regions(request);\n this.availabilityOverrides = new AvailabilityOverrides(request);\n this.sellToRestrictions = new SellToRestrictions(request);\n this.vatRates = new VatRates(request);\n this.buyerBlocklist = new BuyerBlocklist(request);\n this.checkoutDomains = new CheckoutDomains(request);\n this.persons = new Persons(request);\n this.shopLabels = new ShopLabels(request);\n this.industries = new Industries(request);\n this.payoutDestinations = new PayoutDestinations(request);\n this.notices = new Notices(request);\n this.shopify = new Shopify(request);\n this.checkoutTemplates = new CheckoutTemplates(request);\n this.buyerConversations = new BuyerConversations(request);\n this.buyerEvidence = new BuyerEvidenceReviews(request);\n this.checkoutRecovery = new CheckoutRecovery(request);\n this.costRules = new CostRules(request);\n this.externalRecords = new ExternalRecords(request);\n this.products = new Products(request);\n this.support = new Support(request);\n this.invoices = new Invoices(request);\n this.invoiceSettings = new InvoiceSettingsResource(request);\n this.processorCosts = new ProcessorCosts(request);\n this.checkoutMethods = new CheckoutMethods(request);\n this.analytics = new Analytics(request);\n this.analyticsDashboard = new AnalyticsDashboard(request);\n this.featureMatrix = new FeatureMatrix(request);\n this.cards = new Cards(request);\n this.search = new Search(request);\n this.aiTools = new AiTools(request);\n this.shareLinks = new ShareLinks(request);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-6SU2MTN2.cjs","../src/resources/relay.ts"],"names":[],"mappings":"AAAA;ACGO,IAAM,MAAA,EAAN,MAAY;AAAA,EACjB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,MAAA,CAAO,MAAA,EAA8C;AACzD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,QAAA,EAAU,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACxD;AAAA,EAEA,MAAM,QAAA,CAAS,OAAA,EAAyC;AACtD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,OAAA,EAAU,kBAAA,CAAmB,OAAO,CAAC,CAAA,CAAA;AAClE,EAAA;AACF;ADDqE;AACA;AACA;AACA","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-6SU2MTN2.cjs","sourcesContent":[null,"import type { RelayRequest, RelayResponse } from '../types';\nimport type { RequestFn } from '../client';\n\nexport class Relay {\n constructor(private readonly request: RequestFn) {}\n\n async create(params: RelayRequest): Promise<RelayResponse> {\n return this.request('POST', '/relay', { body: params });\n }\n\n async retrieve(relayId: string): Promise<RelayResponse> {\n return this.request('GET', `/relay/${encodeURIComponent(relayId)}`);\n }\n}\n"]}
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6SU2MTN2.cjs","../src/resources/relay.ts"],"names":[],"mappings":"AAAA;ACGO,IAAM,MAAA,EAAN,MAAY;AAAA,EACjB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,MAAA,CAAO,MAAA,EAA8C;AACzD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,QAAA,EAAU,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACxD;AAAA,EAEA,MAAM,QAAA,CAAS,OAAA,EAAyC;AACtD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,OAAA,EAAU,kBAAA,CAAmB,OAAO,CAAC,CAAA,CAAA;AAClE,EAAA;AACF;ADDqE;AACA;AACA;AACA","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6SU2MTN2.cjs","sourcesContent":[null,"import type { RelayRequest, RelayResponse } from '../types';\nimport type { RequestFn } from '../client';\n\nexport class Relay {\n constructor(private readonly request: RequestFn) {}\n\n async create(params: RelayRequest): Promise<RelayResponse> {\n return this.request('POST', '/relay', { body: params });\n }\n\n async retrieve(relayId: string): Promise<RelayResponse> {\n return this.request('GET', `/relay/${encodeURIComponent(relayId)}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-6YCDLSIU.cjs","../src/resources/processorCosts.ts"],"names":[],"mappings":"AAAA;ACiCO,IAAM,eAAA,EAAN,MAAqB;AAAA,EAC1B,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlD,MAAM,IAAA,CAAK,UAAA,EAA8D;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AAAA;AAAA;AAAA;AAAA;AAAA;AAUoE,EAAA;AACG,IAAA;AAClC,MAAA;AAClC,IAAA;AACH,EAAA;AACF;ADlDkF;AACA;AACA;AACA","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-6YCDLSIU.cjs","sourcesContent":[null,"import type {\n BulkCreateProcessorCostSchedulesRequest,\n CreateProcessorCostScheduleRequest,\n ProcessorCostScheduleResponse,\n ReplaceProcessorCostScheduleRequest,\n UpdateProcessorCostScheduleRequest,\n} from '../types';\nimport type { RequestExtras, RequestFn } from '../client';\n\n/**\n * A merchant's own processor cost schedules: what the processor the merchant\n * brought itself charges it, per connector and — as narrowly as the rate is\n * written — per shop, payment method, method type, card network or the\n * processor's own method code.\n *\n * A schedule prices the rails that report no fee on the payment itself. What\n * it produces is stamped `estimated` on the settlement line, never\n * `reported`, and the rates that priced it are copied onto the line as\n * `processor_cost_basis` so the figure survives the schedule being replaced\n * or deleted.\n *\n * The DeloPay-wide defaults a merchant inherits are DeloPay's own acquirer\n * pricing. They are never listed here, and they are edited through the\n * internal client instead (`DelopayInternal.adminPortal`).\n *\n * A rate is never edited in place: it priced transactions that already\n * happened. {@link ProcessorCosts.update} only closes, deactivates or\n * annotates a schedule; a price change is {@link ProcessorCosts.replace},\n * which closes the old window and opens the successor in one step.\n *\n * Every route takes the merchant account id and needs a dashboard session for\n * that merchant.\n */\nexport class ProcessorCosts {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Every processor cost schedule of the merchant.\n * `GET /processor-costs`\n *\n * @param merchantId - The merchant account ID.\n */\n async list(merchantId: string): Promise<ProcessorCostScheduleResponse[]> {\n return this.request('GET', '/processor-costs', { query: { merchant_id: merchantId } });\n }\n\n /**\n * Record a processor cost schedule.\n * `POST /processor-costs`\n *\n * A `shop_id` that is well formed but not a shop of this merchant is\n * answered `404` and nothing is recorded: a rate scoped to a shop the\n * merchant does not own would price no attempt, leaving every line it was\n * meant to price `unavailable` while the screen showed a configured rate.\n *\n * @param params - The schedule.\n * @param merchantId - The merchant account ID.\n */\n async create(\n params: CreateProcessorCostScheduleRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('POST', '/processor-costs', {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Record several schedules at once, all or none — copy a price list across\n * methods or shops.\n * `POST /processor-costs/bulk`\n *\n * 1 to 200 entries. Every entry is validated before anything is stored: an\n * invalid one is answered `422` naming its index, and nothing is stored.\n * The answer lists the created schedules in request order.\n *\n * @param params - The schedules.\n * @param merchantId - The merchant account ID.\n */\n async bulkCreate(\n params: BulkCreateProcessorCostSchedulesRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse[]> {\n return this.request('POST', '/processor-costs/bulk', {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Close, deactivate or annotate a schedule. The rate is not editable.\n * `PUT /processor-costs/{schedule_id}`\n *\n * @param scheduleId - The schedule ID.\n * @param params - What to change.\n * @param merchantId - The merchant account ID.\n */\n async update(\n scheduleId: string,\n params: UpdateProcessorCostScheduleRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('PUT', `/processor-costs/${encodeURIComponent(scheduleId)}`, {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Close a schedule at `effective_from` and open its successor with the same\n * scope and the same end, in one step: no transaction is priced by both\n * rates, and none falls between them.\n * `POST /processor-costs/{schedule_id}/replace`\n *\n * Answers the successor schedule. An `effective_from` outside the old\n * schedule's window, an inactive schedule, or one a concurrent replacement\n * already moved is answered `400` — retry against the schedule as it now\n * stands rather than forcing the write.\n *\n * @param scheduleId - The schedule to replace.\n * @param params - The new rate.\n * @param merchantId - The merchant account ID.\n */\n async replace(\n scheduleId: string,\n params: ReplaceProcessorCostScheduleRequest,\n merchantId: string,\n options?: RequestExtras,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('POST', `/processor-costs/${encodeURIComponent(scheduleId)}/replace`, {\n body: params,\n query: { merchant_id: merchantId },\n ...options,\n });\n }\n\n /**\n * Delete a schedule. Restates nothing: every figure it derived is already\n * stamped on the settlement lines it priced.\n * `DELETE /processor-costs/{schedule_id}`\n *\n * @param scheduleId - The schedule ID.\n * @param merchantId - The merchant account ID.\n */\n async delete(scheduleId: string, merchantId: string): Promise<void> {\n return this.request('DELETE', `/processor-costs/${encodeURIComponent(scheduleId)}`, {\n query: { merchant_id: merchantId },\n });\n }\n}\n"]}
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6YCDLSIU.cjs","../src/resources/processorCosts.ts"],"names":[],"mappings":"AAAA;ACiCO,IAAM,eAAA,EAAN,MAAqB;AAAA,EAC1B,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQlD,MAAM,IAAA,CAAK,UAAA,EAA8D;AACvE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,kBAAA,EAAoB,EAAE,KAAA,EAAO,EAAE,WAAA,EAAa,WAAW,EAAE,CAAC,CAAA;AAAA,EACvF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,MAAM,MAAA,CACJ,MAAA,EACA,UAAA,EACwC;AACxC,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,kBAAA,EAAoB;AAAA,MAC9C,IAAA,EAAM,MAAA;AAAA,MACN,KAAA,EAAO,EAAE,WAAA,EAAa,WAAW;AAAA,IACnC,CAAC,CAAA;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAcA,MAAM,UAAA,CACJ,MAAA,EACA,UAAA,EAC0C;AAC1C,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,uBAAA,EAAyB;AAAA,MACnD,IAAA,EAAM,MAAA;AAAA,MACN,KAAA,EAAO,EAAE,WAAA,EAAa,WAAW;AAAA,IACnC,CAAC,CAAA;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,MAAM,MAAA,CACJ,UAAA,EACA,MAAA,EACA,UAAA,EACwC;AACxC,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,iBAAA,EAAoB,kBAAA,CAAmB,UAAU,CAAC,CAAA,CAAA;AACrE,MAAA;AAC2B,MAAA;AAClC,IAAA;AACH,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsB0C,EAAA;AACsC,IAAA;AACtE,MAAA;AAC2B,MAAA;AAC9B,MAAA;AACJ,IAAA;AACH,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUoE,EAAA;AACG,IAAA;AAClC,MAAA;AAClC,IAAA;AACH,EAAA;AACF;ADlDkF;AACA;AACA;AACA","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-6YCDLSIU.cjs","sourcesContent":[null,"import type {\n BulkCreateProcessorCostSchedulesRequest,\n CreateProcessorCostScheduleRequest,\n ProcessorCostScheduleResponse,\n ReplaceProcessorCostScheduleRequest,\n UpdateProcessorCostScheduleRequest,\n} from '../types';\nimport type { RequestExtras, RequestFn } from '../client';\n\n/**\n * A merchant's own processor cost schedules: what the processor the merchant\n * brought itself charges it, per connector and — as narrowly as the rate is\n * written — per shop, payment method, method type, card network or the\n * processor's own method code.\n *\n * A schedule prices the rails that report no fee on the payment itself. What\n * it produces is stamped `estimated` on the settlement line, never\n * `reported`, and the rates that priced it are copied onto the line as\n * `processor_cost_basis` so the figure survives the schedule being replaced\n * or deleted.\n *\n * The DeloPay-wide defaults a merchant inherits are DeloPay's own acquirer\n * pricing. They are never listed here, and they are edited through the\n * internal client instead (`DelopayInternal.adminPortal`).\n *\n * A rate is never edited in place: it priced transactions that already\n * happened. {@link ProcessorCosts.update} only closes, deactivates or\n * annotates a schedule; a price change is {@link ProcessorCosts.replace},\n * which closes the old window and opens the successor in one step.\n *\n * Every route takes the merchant account id and needs a dashboard session for\n * that merchant.\n */\nexport class ProcessorCosts {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Every processor cost schedule of the merchant.\n * `GET /processor-costs`\n *\n * @param merchantId - The merchant account ID.\n */\n async list(merchantId: string): Promise<ProcessorCostScheduleResponse[]> {\n return this.request('GET', '/processor-costs', { query: { merchant_id: merchantId } });\n }\n\n /**\n * Record a processor cost schedule.\n * `POST /processor-costs`\n *\n * A `shop_id` that is well formed but not a shop of this merchant is\n * answered `404` and nothing is recorded: a rate scoped to a shop the\n * merchant does not own would price no attempt, leaving every line it was\n * meant to price `unavailable` while the screen showed a configured rate.\n *\n * @param params - The schedule.\n * @param merchantId - The merchant account ID.\n */\n async create(\n params: CreateProcessorCostScheduleRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('POST', '/processor-costs', {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Record several schedules at once, all or none — copy a price list across\n * methods or shops.\n * `POST /processor-costs/bulk`\n *\n * 1 to 200 entries. Every entry is validated before anything is stored: an\n * invalid one is answered `422` naming its index, and nothing is stored.\n * The answer lists the created schedules in request order.\n *\n * @param params - The schedules.\n * @param merchantId - The merchant account ID.\n */\n async bulkCreate(\n params: BulkCreateProcessorCostSchedulesRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse[]> {\n return this.request('POST', '/processor-costs/bulk', {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Close, deactivate or annotate a schedule. The rate is not editable.\n * `PUT /processor-costs/{schedule_id}`\n *\n * @param scheduleId - The schedule ID.\n * @param params - What to change.\n * @param merchantId - The merchant account ID.\n */\n async update(\n scheduleId: string,\n params: UpdateProcessorCostScheduleRequest,\n merchantId: string,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('PUT', `/processor-costs/${encodeURIComponent(scheduleId)}`, {\n body: params,\n query: { merchant_id: merchantId },\n });\n }\n\n /**\n * Close a schedule at `effective_from` and open its successor with the same\n * scope and the same end, in one step: no transaction is priced by both\n * rates, and none falls between them.\n * `POST /processor-costs/{schedule_id}/replace`\n *\n * Answers the successor schedule. An `effective_from` outside the old\n * schedule's window, an inactive schedule, or one a concurrent replacement\n * already moved is answered `400` — retry against the schedule as it now\n * stands rather than forcing the write.\n *\n * @param scheduleId - The schedule to replace.\n * @param params - The new rate.\n * @param merchantId - The merchant account ID.\n */\n async replace(\n scheduleId: string,\n params: ReplaceProcessorCostScheduleRequest,\n merchantId: string,\n options?: RequestExtras,\n ): Promise<ProcessorCostScheduleResponse> {\n return this.request('POST', `/processor-costs/${encodeURIComponent(scheduleId)}/replace`, {\n body: params,\n query: { merchant_id: merchantId },\n ...options,\n });\n }\n\n /**\n * Delete a schedule. Restates nothing: every figure it derived is already\n * stamped on the settlement lines it priced.\n * `DELETE /processor-costs/{schedule_id}`\n *\n * @param scheduleId - The schedule ID.\n * @param merchantId - The merchant account ID.\n */\n async delete(scheduleId: string, merchantId: string): Promise<void> {\n return this.request('DELETE', `/processor-costs/${encodeURIComponent(scheduleId)}`, {\n query: { merchant_id: merchantId },\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-75E5WNJG.cjs","../src/resources/payouts.ts"],"names":[],"mappings":"AAAA;ACUO,IAAM,QAAA,EAAN,MAAc;AAAA,EACnB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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G.cjs","sourcesContent":[null,"import type {\n PayoutCreateRequest,\n PayoutResponse,\n PayoutUpdateRequest,\n PayoutListParams,\n PayoutListResponse,\n} from '../types';\nimport type { RequestFn } from '../client';\n\n/** Create and manage payouts — fund transfers from merchant to a recipient bank account. */\nexport class Payouts {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Create a new payout.\n *\n * @param params - Payout parameters including amount, currency, and destination.\n * @returns The created payout.\n *\n * @example\n * ```typescript\n * const payout = await delopay.payouts.create({\n * amount: 10000,\n * currency: 'EUR',\n * customer_id: 'cus_123',\n * });\n * ```\n */\n async create(params: PayoutCreateRequest): Promise<PayoutResponse> {\n return this.request('POST', '/payouts/create', { body: params });\n }\n\n /**\n * Retrieve a payout by its ID.\n *\n * @param payoutId - The unique payout ID.\n * @returns The payout.\n */\n async retrieve(payoutId: string): Promise<PayoutResponse> {\n return this.request('GET', `/payouts/${encodeURIComponent(payoutId)}`);\n }\n\n /**\n * Update a payout before it is confirmed.\n *\n * @param payoutId - The payout ID to update.\n * @param params - Fields to update.\n * @returns The updated payout.\n */\n async update(payoutId: string, params: PayoutUpdateRequest): Promise<PayoutResponse> {\n return this.request('PUT', `/payouts/${encodeURIComponent(payoutId)}`, { body: params });\n }\n\n /**\n * Confirm a payout, triggering the actual transfer.\n *\n * @param payoutId - The payout ID to confirm.\n * @param params - Optional confirmation parameters.\n * @returns The updated payout.\n */\n async confirm(payoutId: string, params?: PayoutUpdateRequest): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/confirm`, {\n body: params,\n });\n }\n\n /**\n * Cancel a payout before it is fulfilled.\n *\n * @param payoutId - The payout ID to cancel.\n * @returns The cancelled payout.\n */\n async cancel(payoutId: string): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/cancel`);\n }\n\n /**\n * Mark a payout as fulfilled (manual confirmation of successful transfer).\n *\n * @param payoutId - The payout ID to fulfil.\n * @returns The fulfilled payout.\n */\n async fulfill(payoutId: string): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/fulfill`);\n }\n\n /**\n * List payouts, optionally filtered by status or date range.\n *\n * @param params - Optional filter and pagination parameters.\n * @returns Paginated list of payouts.\n */\n async list(params?: PayoutListParams): Promise<PayoutListResponse> {\n return this.request('GET', '/payouts/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n // --- OLAP extensions (Task 4.5) ---\n\n /** List payouts (profile-scoped). `GET /payouts/profile/list` */\n async listByProfile(params?: PayoutListParams): Promise<PayoutListResponse> {\n return this.request('GET', '/payouts/profile/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n /** List payouts by filter (POST body). `POST /payouts/list` */\n async listByFilter(params: Record<string, unknown>): Promise<PayoutListResponse> {\n return this.request('POST', '/payouts/list', { body: params });\n }\n\n /** Get payout filter options. `GET /payouts/filter` */\n async getFilters(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/filter', { query: params });\n }\n\n /** Get payout filters (profile-scoped). `GET /payouts/profile/filter` */\n async getFiltersByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/profile/filter', { query: params });\n }\n\n /** Get payout aggregates. `GET /payouts/aggregate` */\n async aggregate(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/aggregate', { query: params });\n }\n\n /** Get payout aggregates (profile-scoped). `GET /payouts/profile/aggregate` */\n async aggregateByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/profile/aggregate', { query: params });\n }\n\n /** Manually update payout status. `PUT /payouts/{payoutId}/manual-update` */\n async manualUpdate(payoutId: string, params: Record<string, unknown>): Promise<PayoutResponse> {\n return this.request('PUT', `/payouts/${encodeURIComponent(payoutId)}/manual-update`, {\n body: params,\n });\n }\n}\n"]}
1
+ {"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AA;AAC6B,IAAA;AACjE,EAAA;AAAA;AAKoC,EAAA;AAC6B,IAAA;AACjE,EAAA;AAAA;AAKoC,EAAA;AACgC,IAAA;AACpE,EAAA;AAAA;AAKoC,EAAA;AACgC,IAAA;AACpE,EAAA;AAAA;AAG+F,EAAA;AAC1B,IAAA;AAC3D,MAAA;AACP,IAAA;AACH,EAAA;AACF;AD7BwE;AACA;AACA;AACA","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-75E5WNJG.cjs","sourcesContent":[null,"import type {\n PayoutCreateRequest,\n PayoutResponse,\n PayoutUpdateRequest,\n PayoutListParams,\n PayoutListResponse,\n} from '../types';\nimport type { RequestFn } from '../client';\n\n/** Create and manage payouts — fund transfers from merchant to a recipient bank account. */\nexport class Payouts {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Create a new payout.\n *\n * @param params - Payout parameters including amount, currency, and destination.\n * @returns The created payout.\n *\n * @example\n * ```typescript\n * const payout = await delopay.payouts.create({\n * amount: 10000,\n * currency: 'EUR',\n * customer_id: 'cus_123',\n * });\n * ```\n */\n async create(params: PayoutCreateRequest): Promise<PayoutResponse> {\n return this.request('POST', '/payouts/create', { body: params });\n }\n\n /**\n * Retrieve a payout by its ID.\n *\n * @param payoutId - The unique payout ID.\n * @returns The payout.\n */\n async retrieve(payoutId: string): Promise<PayoutResponse> {\n return this.request('GET', `/payouts/${encodeURIComponent(payoutId)}`);\n }\n\n /**\n * Update a payout before it is confirmed.\n *\n * @param payoutId - The payout ID to update.\n * @param params - Fields to update.\n * @returns The updated payout.\n */\n async update(payoutId: string, params: PayoutUpdateRequest): Promise<PayoutResponse> {\n return this.request('PUT', `/payouts/${encodeURIComponent(payoutId)}`, { body: params });\n }\n\n /**\n * Confirm a payout, triggering the actual transfer.\n *\n * @param payoutId - The payout ID to confirm.\n * @param params - Optional confirmation parameters.\n * @returns The updated payout.\n */\n async confirm(payoutId: string, params?: PayoutUpdateRequest): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/confirm`, {\n body: params,\n });\n }\n\n /**\n * Cancel a payout before it is fulfilled.\n *\n * @param payoutId - The payout ID to cancel.\n * @returns The cancelled payout.\n */\n async cancel(payoutId: string): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/cancel`);\n }\n\n /**\n * Mark a payout as fulfilled (manual confirmation of successful transfer).\n *\n * @param payoutId - The payout ID to fulfil.\n * @returns The fulfilled payout.\n */\n async fulfill(payoutId: string): Promise<PayoutResponse> {\n return this.request('POST', `/payouts/${encodeURIComponent(payoutId)}/fulfill`);\n }\n\n /**\n * List payouts, optionally filtered by status or date range.\n *\n * @param params - Optional filter and pagination parameters.\n * @returns Paginated list of payouts.\n */\n async list(params?: PayoutListParams): Promise<PayoutListResponse> {\n return this.request('GET', '/payouts/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n // --- OLAP extensions (Task 4.5) ---\n\n /** List payouts (profile-scoped). `GET /payouts/profile/list` */\n async listByProfile(params?: PayoutListParams): Promise<PayoutListResponse> {\n return this.request('GET', '/payouts/profile/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n /** List payouts by filter (POST body). `POST /payouts/list` */\n async listByFilter(params: Record<string, unknown>): Promise<PayoutListResponse> {\n return this.request('POST', '/payouts/list', { body: params });\n }\n\n /** Get payout filter options. `GET /payouts/filter` */\n async getFilters(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/filter', { query: params });\n }\n\n /** Get payout filters (profile-scoped). `GET /payouts/profile/filter` */\n async getFiltersByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/profile/filter', { query: params });\n }\n\n /** Get payout aggregates. `GET /payouts/aggregate` */\n async aggregate(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/aggregate', { query: params });\n }\n\n /** Get payout aggregates (profile-scoped). `GET /payouts/profile/aggregate` */\n async aggregateByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/payouts/profile/aggregate', { query: params });\n }\n\n /** Manually update payout status. `PUT /payouts/{payoutId}/manual-update` */\n async manualUpdate(payoutId: string, params: Record<string, unknown>): Promise<PayoutResponse> {\n return this.request('PUT', `/payouts/${encodeURIComponent(payoutId)}/manual-update`, {\n body: params,\n });\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7JV6VVO7.cjs","../src/resources/externalRecords.ts"],"names":[],"mappings":"AAAA;ACqBO,IAAM,gBAAA,EAAN,MAAsB;AAAA,EAC3B,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYlD,MAAM,MAAA,CAAO,MAAA,EAAgE;AAC3E,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,mBAAA,EAAqB,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACnE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBA,MAAM,YAAA,CAAA,EAAoD;AACxD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,gCAAgC,CAAA;AAAA,EAC7D;AACF,CAAA;ADnBA;AACA;AACE;AACF,0CAAC","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7JV6VVO7.cjs","sourcesContent":[null,"import type {\n ExternalRecordCapabilities,\n ExternalRecordRequest,\n ExternalRecordResponse,\n} from '../types';\nimport type { RequestFn } from '../client';\n\n/**\n * Out-of-band transitions: what a PSP did that DeloPay never observed.\n *\n * A refund issued in the PSP's own dashboard, a chargeback settled by phone, a\n * payment the rail holds as paid but never sent a usable notification for. The\n * transition is written through the normal path, an outgoing webhook is raised\n * for the shop, and an audit row records who asserted it and why.\n *\n * This asserts a fact about somebody else's money, so it is deliberately\n * expensive to call: the reason is compelled, the PSP's own reference belongs\n * with it, and every record is attributable. It needs a dashboard session with\n * the profile external-record write permission — an API key reaches nothing\n * here.\n */\nexport class ExternalRecords {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Record one out-of-band transition.\n * `POST /external-records`\n *\n * Which kinds a deployment answers for depends on the payment's connector\n * and on which arms are live: an arm that is not served answers `501`, which\n * is a statement about this rail rather than about the request.\n *\n * @param params - What happened, and why it is being recorded.\n */\n async create(params: ExternalRecordRequest): Promise<ExternalRecordResponse> {\n return this.request('POST', '/external-records', { body: params });\n }\n\n /**\n * What this deployment will accept, per kind.\n * `GET /external-records/capabilities`\n *\n * Read it before offering the operator a form. Every kind is listed, so an\n * entry that is not served is distinguishable from a kind this release does\n * not know at all — and `create` says *why* it is not served: a gap\n * (`not_implemented`) or a rule (`not_applicable`). Treating those as the\n * same thing is how a caller ends up waiting for something that will never\n * be built.\n *\n * The answer includes the current merchant's rollout and storage eligibility.\n * Read it for the authenticated merchant when deciding whether to offer an\n * action; do not reuse another merchant's response or a previous session's\n * answer after eligibility may have changed.\n */\n async capabilities(): Promise<ExternalRecordCapabilities> {\n return this.request('GET', '/external-records/capabilities');\n }\n}\n"]}
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7JV6VVO7.cjs","../src/resources/externalRecords.ts"],"names":[],"mappings":"AAAA;ACqBO,IAAM,gBAAA,EAAN,MAAsB;AAAA,EAC3B,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAYlD,MAAM,MAAA,CAAO,MAAA,EAAgE;AAC3E,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,mBAAA,EAAqB,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACnE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAkBA,MAAM,YAAA,CAAA,EAAoD;AACxD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,gCAAgC,CAAA;AAAA,EAC7D;AACF,CAAA;ADnBA;AACA;AACE;AACF,0CAAC","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7JV6VVO7.cjs","sourcesContent":[null,"import type {\n ExternalRecordCapabilities,\n ExternalRecordRequest,\n ExternalRecordResponse,\n} from '../types';\nimport type { RequestFn } from '../client';\n\n/**\n * Out-of-band transitions: what a PSP did that DeloPay never observed.\n *\n * A refund issued in the PSP's own dashboard, a chargeback settled by phone, a\n * payment the rail holds as paid but never sent a usable notification for. The\n * transition is written through the normal path, an outgoing webhook is raised\n * for the shop, and an audit row records who asserted it and why.\n *\n * This asserts a fact about somebody else's money, so it is deliberately\n * expensive to call: the reason is compelled, the PSP's own reference belongs\n * with it, and every record is attributable. It needs a dashboard session with\n * the profile external-record write permission — an API key reaches nothing\n * here.\n */\nexport class ExternalRecords {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Record one out-of-band transition.\n * `POST /external-records`\n *\n * Which kinds a deployment answers for depends on the payment's connector\n * and on which arms are live: an arm that is not served answers `501`, which\n * is a statement about this rail rather than about the request.\n *\n * @param params - What happened, and why it is being recorded.\n */\n async create(params: ExternalRecordRequest): Promise<ExternalRecordResponse> {\n return this.request('POST', '/external-records', { body: params });\n }\n\n /**\n * What this deployment will accept, per kind.\n * `GET /external-records/capabilities`\n *\n * Read it before offering the operator a form. Every kind is listed, so an\n * entry that is not served is distinguishable from a kind this release does\n * not know at all — and `create` says *why* it is not served: a gap\n * (`not_implemented`) or a rule (`not_applicable`). Treating those as the\n * same thing is how a caller ends up waiting for something that will never\n * be built.\n *\n * The answer includes the current merchant's rollout and storage eligibility.\n * Read it for the authenticated merchant when deciding whether to offer an\n * action; do not reuse another merchant's response or a previous session's\n * answer after eligibility may have changed.\n */\n async capabilities(): Promise<ExternalRecordCapabilities> {\n return this.request('GET', '/external-records/capabilities');\n }\n}\n"]}
@@ -141,4 +141,4 @@ var ShareLinks = class {
141
141
 
142
142
 
143
143
  exports.ShareLinks = ShareLinks;
144
- //# sourceMappingURL=chunk-WEH3UPJF.cjs.map
144
+ //# sourceMappingURL=chunk-7NKJD5ST.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7NKJD5ST.cjs","../src/resources/shareLinks.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,wDAA6B;AAC7B;AACA;ACSA,IAAM,iCAAA,kBAAmC,IAAI,GAAA,CAAI,CAAC,mBAAA,EAAqB,gBAAgB,CAAC,CAAA;AAExF,SAAS,SAAA,CAAU,KAAA,EAAgE;AACjF,EAAA,GAAA,iBAAI,KAAA,2BAAO,cAAA,IAAgB,KAAA,CAAA,EAAW,OAAO,KAAA,CAAA;AAC7C,EAAA,OAAO,EAAE,WAAA,EAAa,MAAA,CAAO,KAAA,CAAM,WAAW,EAAE,CAAA;AAClD;AAEA,SAAS,wBAAA,CAAyB,GAAA,EAAiD;AACjF,EAAA,GAAA,CAAI,CAAA,CAAE,IAAA,WAAe,4CAAA,CAAA,EAA6B,OAAO,KAAA;AACzD,EAAA,MAAM,OAAA,kBAAS,GAAA,qBAAI,IAAA,6BAAM,QAAA;AACzB,EAAA,OACE,GAAA,CAAI,KAAA,IAAS,QAAA,GACb,OAAO,OAAA,IAAW,SAAA,GAClB,gCAAA,CAAiC,GAAA,CAAI,MAAM,CAAA;AAE/C;AAcO,IAAM,WAAA,EAAN,MAAiB;AAAA,EACtB,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AAA,EAAa,kBAAA,CAAmB,SAAS,CAAC,CAAA,YAAA,CAAA,EAAgB;AAAA,MACpF,GAAG,OAAA;AAAA,MACH,IAAA;AAAA,MACA,kBAAA,EAAoB;AAAA,IACtB,CAAC,CAAA;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,IAAA,CAAK,KAAA,EAA4B,OAAA,EAAyD;AAC9F,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,cAAA,EAAgB;AAAA,MACzC,GAAG,OAAA;AAAA,MACH,KAAA,EAAO,SAAA,CAAU,KAAK;AAAA,IACxB,CAAC,CAAA;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,MAAA,CAAO,MAAA,EAAgB,OAAA,EAAoD;AAC/E,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,QAAA,EAAU,CAAA,aAAA,EAAgB,kBAAA,CAAmB,MAAM,CAAC,CAAA,CAAA;AAC1E,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWqC,EAAA;AACiB,IAAA;AAC/C,MAAA;AACH,MAAA;AACD,IAAA;AACH,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAegG,EAAA;AAC1F,IAAA;AACqD,MAAA;AAClD,QAAA;AACH,QAAA;AACoB,QAAA;AACrB,MAAA;AACW,IAAA;AACuB,MAAA;AACG,QAAA;AACtB,UAAA;AACF,UAAA;AACA,UAAA;AACK,UAAA;AACF,UAAA;AACH,UAAA;AACX,QAAA;AACH,MAAA;AACM,MAAA;AACR,IAAA;AACF,EAAA;AACF;ADnD6E;AACA;AACA;AACA","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7NKJD5ST.cjs","sourcesContent":[null,"import type { RequestExtras, RequestFn } from '../client';\nimport { DelopayAuthenticationError, DelopayError } from '../error';\nimport type {\n ShareLinkCreateRequest,\n ShareLinkCreateResponse,\n ShareLinkListQuery,\n ShareLinkListResponse,\n ShareLinkOpenRequest,\n ShareLinkOpenResponse,\n ShareLinkPreviewRequest,\n ShareLinkPreviewResponse,\n ShareLinkSummary,\n} from '../types';\n\nconst SHARE_PASSWORD_CHALLENGE_REASONS = new Set(['password_required', 'password_wrong']);\n\nfunction listQuery(query?: ShareLinkListQuery): Record<string, string> | undefined {\n if (query?.active_only === undefined) return undefined;\n return { active_only: String(query.active_only) };\n}\n\nfunction isSharePasswordChallenge(err: unknown): err is DelopayAuthenticationError {\n if (!(err instanceof DelopayAuthenticationError)) return false;\n const reason = err.data?.reason;\n return (\n err.code === 'IR_18' &&\n typeof reason === 'string' &&\n SHARE_PASSWORD_CHALLENGE_REASONS.has(reason)\n );\n}\n\n/**\n * Expiring external share links for a single person or a single payment.\n *\n * Team members with read access to the underlying person or payment can create,\n * inspect, and revoke expiring read-only links while link sharing is switched\n * on for the merchant (`sharing.share_links_enabled`). The secret share token\n * is returned once on creation and never stored in plaintext.\n *\n * `preview` and `open` are public, credential-less endpoints: pass a client\n * built with no API key and no JWT so a signed-in tab's bearer token is never\n * sent to a public share route.\n */\nexport class ShareLinks {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * List share links created for one person (active links followed by recent\n * history, or active links only when `query.active_only` is `true`).\n *\n * `GET /persons/{personId}/share-links`\n */\n async listForPerson(\n personId: string,\n query?: ShareLinkListQuery,\n options?: RequestExtras,\n ): Promise<ShareLinkListResponse> {\n return this.request('GET', `/persons/${encodeURIComponent(personId)}/share-links`, {\n ...options,\n query: listQuery(query),\n });\n }\n\n /**\n * Create an expiring share link for one person. The response returns the\n * secret `token` once.\n *\n * `POST /persons/{personId}/share-links`\n */\n async createForPerson(\n personId: string,\n body: ShareLinkCreateRequest,\n options?: RequestExtras,\n ): Promise<ShareLinkCreateResponse> {\n return this.request('POST', `/persons/${encodeURIComponent(personId)}/share-links`, {\n ...options,\n body,\n bodyIdempotencyKey: null,\n });\n }\n\n /**\n * List share links created for one payment (active links followed by recent\n * history, or active links only when `query.active_only` is `true`).\n *\n * `GET /payments/{paymentId}/share-links`\n */\n async listForPayment(\n paymentId: string,\n query?: ShareLinkListQuery,\n options?: RequestExtras,\n ): Promise<ShareLinkListResponse> {\n return this.request('GET', `/payments/${encodeURIComponent(paymentId)}/share-links`, {\n ...options,\n query: listQuery(query),\n });\n }\n\n /**\n * Create an expiring share link for one payment. The response returns the\n * secret `token` once. Setting `include_team_notes: true` also requires\n * person-read access.\n *\n * `POST /payments/{paymentId}/share-links`\n */\n async createForPayment(\n paymentId: string,\n body: ShareLinkCreateRequest,\n options?: RequestExtras,\n ): Promise<ShareLinkCreateResponse> {\n return this.request('POST', `/payments/${encodeURIComponent(paymentId)}/share-links`, {\n ...options,\n body,\n bodyIdempotencyKey: null,\n });\n }\n\n /**\n * List share links across the merchant account, filtered to the resources\n * and shop scope the caller may read.\n *\n * `GET /share-links`\n */\n async list(query?: ShareLinkListQuery, options?: RequestExtras): Promise<ShareLinkListResponse> {\n return this.request('GET', '/share-links', {\n ...options,\n query: listQuery(query),\n });\n }\n\n /**\n * Revoke an active share link immediately. Subsequent preview or open\n * attempts are refused with `410` (`reason: \"revoked\"`).\n *\n * `DELETE /share-links/{linkId}`\n */\n async revoke(linkId: string, options?: RequestExtras): Promise<ShareLinkSummary> {\n return this.request('DELETE', `/share-links/${encodeURIComponent(linkId)}`, options);\n }\n\n /**\n * Public metadata preview for a share link. Does not consume a view and\n * requires no authentication.\n *\n * `POST /share-links/preview`\n */\n async preview(\n body: ShareLinkPreviewRequest,\n options?: RequestExtras,\n ): Promise<ShareLinkPreviewResponse> {\n return this.request('POST', '/share-links/preview', {\n ...options,\n body,\n });\n }\n\n /**\n * Public open for a share link. Validates expiry, view limit, account switch\n * and optional password, consumes one view atomically, writes the view audit\n * entry, and returns the redacted read-only person or payment view.\n *\n * A missing or incorrect share password (`401` `IR_18` with `data.reason` of\n * `password_required` or `password_wrong`) is surfaced as a plain\n * `DelopayError` rather than `DelopayAuthenticationError` so callers prompt\n * for the share password instead of taking an API-key or sign-in recovery\n * path.\n *\n * `POST /share-links/open`\n */\n async open(body: ShareLinkOpenRequest, options?: RequestExtras): Promise<ShareLinkOpenResponse> {\n try {\n return await this.request('POST', '/share-links/open', {\n ...options,\n body,\n bodyIdempotencyKey: null,\n });\n } catch (err) {\n if (isSharePasswordChallenge(err)) {\n throw new DelopayError(err.message, {\n status: err.status,\n code: err.code,\n type: err.type,\n requestId: err.requestId,\n rawBody: err.rawBody,\n data: err.data,\n });\n }\n throw err;\n }\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7QZCUXWB.cjs","../src/internal/resources/cache.ts"],"names":[],"mappings":"AAAA;ACEO,IAAM,MAAA,EAAN,MAAY;AAAA,EACjB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA,EAGlD,MAAM,UAAA,CAAW,GAAA,EAA+C;AAC9D,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,CAAA,kBAAA,EAAqB,kBAAA,CAAmB,GAAG,CAAC,CAAA,CAAA;AAC1E,EAAA;AACF;ADC6E;AACA;AACA;AACA","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7QZCUXWB.cjs","sourcesContent":[null,"import type { RequestFn } from '../../client';\n\nexport class Cache {\n constructor(private readonly request: RequestFn) {}\n\n /** Invalidate a cache entry by key. `POST /cache/invalidate/{key}` */\n async invalidate(key: string): Promise<Record<string, unknown>> {\n return this.request('POST', `/cache/invalidate/${encodeURIComponent(key)}`);\n }\n}\n"]}
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7QZCUXWB.cjs","../src/internal/resources/cache.ts"],"names":[],"mappings":"AAAA;ACEO,IAAM,MAAA,EAAN,MAAY;AAAA,EACjB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA,EAGlD,MAAM,UAAA,CAAW,GAAA,EAA+C;AAC9D,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,CAAA,kBAAA,EAAqB,kBAAA,CAAmB,GAAG,CAAC,CAAA,CAAA;AAC1E,EAAA;AACF;ADC6E;AACA;AACA;AACA","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7QZCUXWB.cjs","sourcesContent":[null,"import type { RequestFn } from '../../client';\n\nexport class Cache {\n constructor(private readonly request: RequestFn) {}\n\n /** Invalidate a cache entry by key. `POST /cache/invalidate/{key}` */\n async invalidate(key: string): Promise<Record<string, unknown>> {\n return this.request('POST', `/cache/invalidate/${encodeURIComponent(key)}`);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7VXF5D67.cjs","../src/internal/resources/gsm.ts"],"names":[],"mappings":"AAAA;ACGO,IAAM,IAAA,EAAN,MAAU;AAAA,EACf,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,MAAA,CAAO,MAAA,EAAwD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,MAAA,EAAQ,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACtD;AAAA,EAEA,MAAM,QAAA,CAAS,MAAA,EAA2D;AACxE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,UAAA,EAAY,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC1D;AAAA,EAEA,MAAM,MAAA,CAAO,MAAA,EAAwD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,aAAA,EAAe,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC7D;AAAA,EAEA,MAAM,MAAA,CAAO,MAAA,EAA2D;AACtE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,aAAA,EAAe,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC7D;AACF,CAAA;ADHA;AACA;AACE;AACF,kBAAC","file":"/home/anes/delo-payment/delopay-typescript-sdk/dist/chunk-7VXF5D67.cjs","sourcesContent":[null,"import type { GsmRuleCreateRequest, GsmRuleResponse, GsmRuleUpdateRequest } from '../types';\nimport type { RequestFn } from '../../client';\n\nexport class Gsm {\n constructor(private readonly request: RequestFn) {}\n\n async create(params: GsmRuleCreateRequest): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm', { body: params });\n }\n\n async retrieve(params: Record<string, unknown>): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/get', { body: params });\n }\n\n async update(params: GsmRuleUpdateRequest): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/update', { body: params });\n }\n\n async delete(params: Record<string, unknown>): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/delete', { body: params });\n }\n}\n"]}
1
+ {"version":3,"sources":["/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7VXF5D67.cjs","../src/internal/resources/gsm.ts"],"names":[],"mappings":"AAAA;ACGO,IAAM,IAAA,EAAN,MAAU;AAAA,EACf,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,MAAA,CAAO,MAAA,EAAwD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,MAAA,EAAQ,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EACtD;AAAA,EAEA,MAAM,QAAA,CAAS,MAAA,EAA2D;AACxE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,UAAA,EAAY,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC1D;AAAA,EAEA,MAAM,MAAA,CAAO,MAAA,EAAwD;AACnE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,aAAA,EAAe,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC7D;AAAA,EAEA,MAAM,MAAA,CAAO,MAAA,EAA2D;AACtE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,aAAA,EAAe,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC7D;AACF,CAAA;ADHA;AACA;AACE;AACF,kBAAC","file":"/tmp/sdkpub/delopay-typescript-sdk/dist/chunk-7VXF5D67.cjs","sourcesContent":[null,"import type { GsmRuleCreateRequest, GsmRuleResponse, GsmRuleUpdateRequest } from '../types';\nimport type { RequestFn } from '../../client';\n\nexport class Gsm {\n constructor(private readonly request: RequestFn) {}\n\n async create(params: GsmRuleCreateRequest): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm', { body: params });\n }\n\n async retrieve(params: Record<string, unknown>): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/get', { body: params });\n }\n\n async update(params: GsmRuleUpdateRequest): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/update', { body: params });\n }\n\n async delete(params: Record<string, unknown>): Promise<GsmRuleResponse> {\n return this.request('POST', '/gsm/delete', { body: params });\n }\n}\n"]}
@@ -7,9 +7,10 @@ import {
7
7
  // src/resources/disputes.ts
8
8
  function workspaceQuery(params) {
9
9
  if (!params) return void 0;
10
- const { connector, currency, dispute_status, dispute_stage, ...query } = params;
10
+ const { connector, currency, dispute_status, dispute_stage, profile_ids, ...query } = params;
11
11
  return {
12
12
  ...query,
13
+ ...profile_ids?.length ? { profile_ids: profile_ids.join(",") } : {},
13
14
  ...connector?.length ? { connector: connector.join(",") } : {},
14
15
  ...currency?.length ? { currency: currency.join(",") } : {},
15
16
  ...dispute_status?.length ? { dispute_status: dispute_status.join(",") } : {},
@@ -225,4 +226,4 @@ var Disputes = class {
225
226
  export {
226
227
  Disputes
227
228
  };
228
- //# sourceMappingURL=chunk-2TQA6UYY.js.map
229
+ //# sourceMappingURL=chunk-ABDDRKOT.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/resources/disputes.ts"],"sourcesContent":["import type {\n DisputeReconcileRequest,\n DisputeResponse,\n DisputeListParams,\n DisputeEvidenceRequest,\n DeleteEvidenceRequest,\n DisputeEvidenceBlock,\n DisputeRefundDeclaration,\n DisputeRefundAssociationRequest,\n DisputeRefundAssociationsResponse,\n DisputeWorkspaceRequest,\n DisputeWorkspaceResponse,\n DisputeWorkspaceFilters,\n DisputeWorkspaceAggregate,\n DisputeWorkspaceExport,\n DisputeBulkAcceptRequest,\n DisputeBulkAcceptResponse,\n DisputeBulkBlockBuyerRequest,\n DisputeBulkBlockBuyerResponse,\n DisputeBulkPreviewRequest,\n DisputeBulkPreviewResponse,\n DynamicWorkspaceExportOptions,\n JsonExportOptions,\n PdfExportOptions,\n} from '../types';\nimport type { RequestFn, RequestOptions } from '../client';\nimport { WORKSPACE_ENVELOPE, downloadExport, negotiated } from '../exportDownload';\n\n/** Workspace filters use CSV values, unlike the transport's repeated-key arrays. */\nfunction workspaceQuery(params?: DisputeWorkspaceRequest): RequestOptions['query'] {\n if (!params) return undefined;\n const { connector, currency, dispute_status, dispute_stage, profile_ids, ...query } = params;\n return {\n ...query,\n ...(profile_ids?.length ? { profile_ids: profile_ids.join(',') } : {}),\n ...(connector?.length ? { connector: connector.join(',') } : {}),\n ...(currency?.length ? { currency: currency.join(',') } : {}),\n ...(dispute_status?.length ? { dispute_status: dispute_status.join(',') } : {}),\n ...(dispute_stage?.length ? { dispute_stage: dispute_stage.join(',') } : {}),\n };\n}\n\n/** View and respond to payment disputes and chargebacks. */\nexport class Disputes {\n constructor(private readonly request: RequestFn) {}\n\n /** Read native disputes and provider-only cases once, after shared authorization and filters. */\n async workspace(params?: DisputeWorkspaceRequest): Promise<DisputeWorkspaceResponse> {\n return this.request('GET', '/disputes/workspace', { query: workspaceQuery(params) });\n }\n\n /** Read filter options over the same scoped case set; pagination is ignored. */\n async workspaceFilters(params?: DisputeWorkspaceRequest): Promise<DisputeWorkspaceFilters> {\n return this.request('GET', '/disputes/workspace/filters', { query: workspaceQuery(params) });\n }\n\n /** Count the filtered case set, including unknown outcomes; pagination is ignored. */\n async workspaceAggregate(params?: DisputeWorkspaceRequest): Promise<DisputeWorkspaceAggregate> {\n return this.request('GET', '/disputes/workspace/aggregate', { query: workspaceQuery(params) });\n }\n\n /**\n * Export the complete filtered set, or throw on the server's explicit\n * export-limit refusal. `GET /disputes/workspace/export`\n *\n * The body is streamed, and held to the `X-Delopay-Record-Count` the server\n * announces and to its own `total_count`: a set that arrives short rejects\n * with `EXPORT_INCOMPLETE` rather than resolving. `options` reports the\n * download's progress and takes a signal and an idle timeout — see\n * {@link ExportTransferOptions}.\n *\n * `format: 'pdf'` resolves to the same set laid out as a document (a\n * `Blob`), with the words in `options.presentation` — see\n * {@link ExportPresentation}. This route offers no CSV.\n */\n async workspaceExport(\n params?: DisputeWorkspaceRequest,\n options?: JsonExportOptions,\n ): Promise<DisputeWorkspaceExport>;\n async workspaceExport(\n params: DisputeWorkspaceRequest | undefined,\n options: PdfExportOptions,\n ): Promise<Blob>;\n async workspaceExport(\n params: DisputeWorkspaceRequest | undefined,\n options: DynamicWorkspaceExportOptions,\n ): Promise<DisputeWorkspaceExport | Blob>;\n async workspaceExport(\n params?: DisputeWorkspaceRequest,\n options?: JsonExportOptions | PdfExportOptions | DynamicWorkspaceExportOptions,\n ): Promise<DisputeWorkspaceExport | Blob> {\n const format = options?.format ?? 'json';\n return downloadExport(\n this.request,\n {\n method: 'GET',\n path: '/disputes/workspace/export',\n request: negotiated({ query: workspaceQuery(params) }, format, options?.presentation),\n format,\n envelope: WORKSPACE_ENVELOPE,\n },\n options,\n );\n }\n\n /**\n * What a bulk action would do to the selected cases, changing nothing:\n * each case as eligible or skipped with a reason, and what the eligible ones\n * add up to per currency. Name the cases by `ids` or by the list's\n * `filters`, exactly one of the two; at most `max_cases` are read.\n *\n * `POST /disputes/workspace/bulk/preview`. Needs a dashboard JWT.\n */\n async bulkPreview(request: DisputeBulkPreviewRequest): Promise<DisputeBulkPreviewResponse> {\n // The body's filters take CSV values, as the list's query does.\n const { filters, ...rest } = request;\n return this.request('POST', '/disputes/workspace/bulk/preview', {\n body: filters ? { ...rest, filters: workspaceQuery(filters) } : rest,\n });\n }\n\n /**\n * Accept the listed cases at their processors, at most the preview's\n * `max_run_cases` per call; send a larger set in parts under one\n * `request_id`. Eligibility is decided again at run time, and every case\n * gets its own result. An `unknown` result means the processor may have\n * acted: read the case before acting on it again.\n *\n * `POST /disputes/workspace/bulk/accept`. Needs a dashboard JWT.\n */\n async bulkAccept(request: DisputeBulkAcceptRequest): Promise<DisputeBulkAcceptResponse> {\n return this.request('POST', '/disputes/workspace/bulk/accept', { body: request });\n }\n\n /**\n * Add the buyer of each listed case's payment to the buyer blocklist: the\n * payment's email and customer id, and the device ids and IP address of the\n * browser that paid, when DeloPay can tie them to it. Identifiers already\n * blocked are not added again, and `unattributed` names those it could not\n * tie to the buyer.\n *\n * `POST /disputes/workspace/bulk/block-buyer`. Needs a dashboard JWT.\n */\n async bulkBlockBuyer(\n request: DisputeBulkBlockBuyerRequest,\n ): Promise<DisputeBulkBlockBuyerResponse> {\n return this.request('POST', '/disputes/workspace/bulk/block-buyer', { body: request });\n }\n\n /**\n * Retrieve a dispute by its ID.\n *\n * @param disputeId - The unique dispute ID.\n * @returns The dispute.\n */\n async retrieve(disputeId: string): Promise<DisputeResponse> {\n return this.request('GET', `/disputes/${encodeURIComponent(disputeId)}`);\n }\n\n /** Read declared links and provider-reported refund references. Empty means unknown. */\n async listRefundAssociations(disputeId: string): Promise<DisputeRefundAssociationsResponse> {\n return this.request('GET', `/disputes/${encodeURIComponent(disputeId)}/refund-associations`);\n }\n\n /** Declare or clear an allocation against a successful refund of this payment. */\n async setRefundAssociation(\n disputeId: string,\n params: DisputeRefundAssociationRequest,\n ): Promise<DisputeRefundDeclaration> {\n return this.request('PUT', `/disputes/${encodeURIComponent(disputeId)}/refund-associations`, {\n body: params,\n });\n }\n\n /**\n * List disputes, optionally filtered by status, stage, or date range.\n *\n * @param params - Optional filter and pagination parameters.\n * @returns Array of disputes.\n */\n async list(params?: DisputeListParams): Promise<DisputeResponse[]> {\n return this.request('GET', '/disputes/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n /**\n * Accept a dispute, conceding the chargeback to the customer.\n *\n * @param disputeId - The dispute ID to accept.\n * @returns The updated dispute.\n */\n async accept(disputeId: string): Promise<DisputeResponse> {\n return this.request('POST', `/disputes/accept/${encodeURIComponent(disputeId)}`);\n }\n\n /**\n * Correct the exchange rate of a dispute the processor reported in another\n * currency, or record its final settled amount. Until it is settled, the\n * reserved amount is an estimate and no other dispute on the same payment\n * attempt can take a new reservation. Signed-in users with the\n * external-record permission only.\n *\n * @param disputeId - The dispute to reconcile.\n * @param request - `correct_rate` with the processor's rate, or `settle`\n * with the final amount and a reason.\n * @returns The updated dispute.\n */\n async reconcile(disputeId: string, request: DisputeReconcileRequest): Promise<DisputeResponse> {\n return this.request('POST', `/disputes/${encodeURIComponent(disputeId)}/reconcile`, {\n body: request,\n });\n }\n\n /**\n * Submit evidence to challenge a dispute.\n *\n * @param params - Evidence details and the dispute ID to contest.\n * @returns The updated dispute.\n */\n async submitEvidence(params: DisputeEvidenceRequest): Promise<DisputeResponse> {\n return this.request('POST', '/disputes/evidence', { body: params });\n }\n\n /**\n * Attach evidence (e.g. file upload metadata) to a dispute.\n *\n * Uses `PUT /disputes/evidence`.\n */\n async attachEvidence(params: DisputeEvidenceRequest): Promise<DisputeResponse> {\n return this.request('PUT', '/disputes/evidence', { body: params });\n }\n\n /**\n * Retrieve previously stored evidence for a dispute.\n *\n * Returns an ARRAY of file-evidence blocks (this was previously mistyped\n * as the flat submit-request shape). Only file evidence is reported —\n * text evidence is not retrievable once submitted.\n *\n * @param disputeId - The dispute ID.\n * @returns The stored file-evidence blocks.\n */\n async retrieveEvidence(disputeId: string): Promise<DisputeEvidenceBlock[]> {\n return this.request('GET', `/disputes/evidence/${encodeURIComponent(disputeId)}`);\n }\n\n /**\n * Delete submitted evidence for a dispute.\n *\n * @param params - Evidence request body identifying what to delete.\n * @returns The updated dispute.\n */\n async deleteEvidence(params: DeleteEvidenceRequest): Promise<DisputeResponse> {\n return this.request('DELETE', '/disputes/evidence', { body: params });\n }\n\n // --- OLAP extensions (Task 4.4) ---\n\n /** List disputes (profile-scoped). `GET /disputes/profile/list` */\n async listByProfile(params?: DisputeListParams): Promise<DisputeResponse[]> {\n return this.request('GET', '/disputes/profile/list', {\n query: params as Record<string, string | number | undefined>,\n });\n }\n\n /** Get dispute filter options. `GET /disputes/filter` */\n async getFilters(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/disputes/filter', { query: params });\n }\n\n /** Get dispute filters (profile-scoped). `GET /disputes/profile/filter` */\n async getFiltersByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/disputes/profile/filter', { query: params });\n }\n\n /** Get dispute aggregates. `GET /disputes/aggregate` */\n async aggregate(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/disputes/aggregate', { query: params });\n }\n\n /** Get dispute aggregates (profile-scoped). `GET /disputes/profile/aggregate` */\n async aggregateByProfile(\n params?: Record<string, string | number | undefined>,\n ): Promise<Record<string, unknown>> {\n return this.request('GET', '/disputes/profile/aggregate', { query: params });\n }\n\n /**\n * Fetch the latest dispute state from the connector (gateway) and persist it.\n * `GET /disputes/{disputeId}?force_sync=true`\n *\n * The path parameter is the **Delopay dispute id** (`dp_…`). Force-sync asks the\n * backend to pull the dispute from the connector (supported where the connector\n * implements the dispute-sync flow, e.g. Stripe) and update the stored record\n * before returning it.\n *\n * Note: this method previously called `GET /disputes/{id}/fetch`, which is a\n * different backend route — a bulk import keyed by **merchant connector account\n * id** with a required date range — so every call with a dispute id failed.\n */\n async fetchFromConnector(disputeId: string): Promise<DisputeResponse> {\n return this.request('GET', `/disputes/${encodeURIComponent(disputeId)}`, {\n query: { force_sync: 'true' },\n });\n }\n}\n"],"mappings":";;;;;;;AA6BA,SAAS,eAAe,QAA2D;AACjF,MAAI,CAAC,OAAQ,QAAO;AACpB,QAAM,EAAE,WAAW,UAAU,gBAAgB,eAAe,aAAa,GAAG,MAAM,IAAI;AACtF,SAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAI,aAAa,SAAS,EAAE,aAAa,YAAY,KAAK,GAAG,EAAE,IAAI,CAAC;AAAA,IACpE,GAAI,WAAW,SAAS,EAAE,WAAW,UAAU,KAAK,GAAG,EAAE,IAAI,CAAC;AAAA,IAC9D,GAAI,UAAU,SAAS,EAAE,UAAU,SAAS,KAAK,GAAG,EAAE,IAAI,CAAC;AAAA,IAC3D,GAAI,gBAAgB,SAAS,EAAE,gBAAgB,eAAe,KAAK,GAAG,EAAE,IAAI,CAAC;AAAA,IAC7E,GAAI,eAAe,SAAS,EAAE,eAAe,cAAc,KAAK,GAAG,EAAE,IAAI,CAAC;AAAA,EAC5E;AACF;AAGO,IAAM,WAAN,MAAe;AAAA,EACpB,YAA6B,SAAoB;AAApB;AAAA,EAAqB;AAAA;AAAA,EAGlD,MAAM,UAAU,QAAqE;AACnF,WAAO,KAAK,QAAQ,OAAO,uBAAuB,EAAE,OAAO,eAAe,MAAM,EAAE,CAAC;AAAA,EACrF;AAAA;AAAA,EAGA,MAAM,iBAAiB,QAAoE;AACzF,WAAO,KAAK,QAAQ,OAAO,+BAA+B,EAAE,OAAO,eAAe,MAAM,EAAE,CAAC;AAAA,EAC7F;AAAA;AAAA,EAGA,MAAM,mBAAmB,QAAsE;AAC7F,WAAO,KAAK,QAAQ,OAAO,iCA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