@delopay/sdk 0.403.0 → 0.409.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 (1117) hide show
  1. package/README.md +23 -0
  2. package/dist/airwallexCard.cjs +41 -0
  3. package/dist/airwallexCard.cjs.map +1 -0
  4. package/dist/airwallexCard.d.cts +214 -0
  5. package/dist/airwallexCard.d.ts +214 -0
  6. package/dist/airwallexCard.js +41 -0
  7. package/dist/airwallexCard.js.map +1 -0
  8. package/dist/branding.cjs +235 -0
  9. package/dist/branding.cjs.map +1 -0
  10. package/dist/branding.d.cts +784 -0
  11. package/dist/branding.d.ts +784 -0
  12. package/dist/branding.js +235 -0
  13. package/dist/branding.js.map +1 -0
  14. package/dist/cardFormStyles.cjs +77 -0
  15. package/dist/cardFormStyles.cjs.map +1 -0
  16. package/dist/cardFormStyles.d.cts +182 -0
  17. package/dist/cardFormStyles.d.ts +182 -0
  18. package/dist/cardFormStyles.js +77 -0
  19. package/dist/cardFormStyles.js.map +1 -0
  20. package/dist/checkoutSession.cjs +7 -0
  21. package/dist/checkoutSession.cjs.map +1 -0
  22. package/dist/checkoutSession.d.cts +662 -0
  23. package/dist/checkoutSession.d.ts +662 -0
  24. package/dist/checkoutSession.js +7 -0
  25. package/dist/checkoutSession.js.map +1 -0
  26. package/dist/chunk-244VZFFO.cjs +27 -0
  27. package/dist/chunk-244VZFFO.cjs.map +1 -0
  28. package/dist/chunk-26THONSG.js +274 -0
  29. package/dist/chunk-26THONSG.js.map +1 -0
  30. package/dist/chunk-27NVIXDV.js +24 -0
  31. package/dist/chunk-27NVIXDV.js.map +1 -0
  32. package/dist/chunk-2C5XHXAY.js +19 -0
  33. package/dist/chunk-2C5XHXAY.js.map +1 -0
  34. package/dist/chunk-2IJRBJXW.cjs +35 -0
  35. package/dist/chunk-2IJRBJXW.cjs.map +1 -0
  36. package/dist/chunk-2JSBGTTW.js +99 -0
  37. package/dist/chunk-2JSBGTTW.js.map +1 -0
  38. package/dist/chunk-2PC2VAR7.js +217 -0
  39. package/dist/chunk-2PC2VAR7.js.map +1 -0
  40. package/dist/chunk-2QMSBWQY.js +453 -0
  41. package/dist/chunk-2QMSBWQY.js.map +1 -0
  42. package/dist/chunk-2RGSWTDI.js +19 -0
  43. package/dist/chunk-2RGSWTDI.js.map +1 -0
  44. package/dist/chunk-2TQA6UYY.js +228 -0
  45. package/dist/chunk-2TQA6UYY.js.map +1 -0
  46. package/dist/chunk-2XAJIA23.js +20 -0
  47. package/dist/chunk-2XAJIA23.js.map +1 -0
  48. package/dist/chunk-34AF36TY.js +89 -0
  49. package/dist/chunk-34AF36TY.js.map +1 -0
  50. package/dist/chunk-34PC72O7.cjs +73 -0
  51. package/dist/chunk-34PC72O7.cjs.map +1 -0
  52. package/dist/chunk-37BJUQ32.js +37 -0
  53. package/dist/chunk-37BJUQ32.js.map +1 -0
  54. package/dist/chunk-3GBWQWTP.cjs +54 -0
  55. package/dist/chunk-3GBWQWTP.cjs.map +1 -0
  56. package/dist/chunk-3GMGEP5I.js +43 -0
  57. package/dist/chunk-3GMGEP5I.js.map +1 -0
  58. package/dist/chunk-3L3B46AZ.js +44 -0
  59. package/dist/chunk-3L3B46AZ.js.map +1 -0
  60. package/dist/chunk-3NKFPZRS.js +973 -0
  61. package/dist/chunk-3NKFPZRS.js.map +1 -0
  62. package/dist/chunk-3ST4NW2T.js +35 -0
  63. package/dist/chunk-3ST4NW2T.js.map +1 -0
  64. package/dist/chunk-3YBBJT3Y.cjs +64 -0
  65. package/dist/chunk-3YBBJT3Y.cjs.map +1 -0
  66. package/dist/chunk-3YUKTCY2.js +71 -0
  67. package/dist/chunk-3YUKTCY2.js.map +1 -0
  68. package/dist/chunk-3ZHS3MFZ.js +35 -0
  69. package/dist/chunk-3ZHS3MFZ.js.map +1 -0
  70. package/dist/chunk-44QBWVRS.cjs +39 -0
  71. package/dist/chunk-44QBWVRS.cjs.map +1 -0
  72. package/dist/chunk-4EKAWNYI.cjs +69 -0
  73. package/dist/chunk-4EKAWNYI.cjs.map +1 -0
  74. package/dist/chunk-4FVOCZIM.js +15 -0
  75. package/dist/chunk-4FVOCZIM.js.map +1 -0
  76. package/dist/chunk-4LN4BR2T.cjs +262 -0
  77. package/dist/chunk-4LN4BR2T.cjs.map +1 -0
  78. package/dist/chunk-4T3MXBO2.js +114 -0
  79. package/dist/chunk-4T3MXBO2.js.map +1 -0
  80. package/dist/chunk-4T4XHPYN.cjs +135 -0
  81. package/dist/chunk-4T4XHPYN.cjs.map +1 -0
  82. package/dist/chunk-55XO7BFC.js +23 -0
  83. package/dist/chunk-55XO7BFC.js.map +1 -0
  84. package/dist/chunk-5CITBN33.cjs +485 -0
  85. package/dist/chunk-5CITBN33.cjs.map +1 -0
  86. package/dist/chunk-5CNBINCX.cjs +54 -0
  87. package/dist/chunk-5CNBINCX.cjs.map +1 -0
  88. package/dist/chunk-5HCKC4HF.cjs +217 -0
  89. package/dist/chunk-5HCKC4HF.cjs.map +1 -0
  90. package/dist/chunk-5O2JSQYA.cjs +114 -0
  91. package/dist/chunk-5O2JSQYA.cjs.map +1 -0
  92. package/dist/chunk-5P2AO6XY.js +202 -0
  93. package/dist/chunk-5P2AO6XY.js.map +1 -0
  94. package/dist/chunk-5VS3SUPL.js +125 -0
  95. package/dist/chunk-5VS3SUPL.js.map +1 -0
  96. package/dist/chunk-645BQ53W.js +84 -0
  97. package/dist/chunk-645BQ53W.js.map +1 -0
  98. package/dist/chunk-6EBY2KKL.cjs +43 -0
  99. package/dist/chunk-6EBY2KKL.cjs.map +1 -0
  100. package/dist/chunk-6H7K5DDI.js +307 -0
  101. package/dist/chunk-6H7K5DDI.js.map +1 -0
  102. package/dist/chunk-6LOWE2YI.cjs +23 -0
  103. package/dist/chunk-6LOWE2YI.cjs.map +1 -0
  104. package/dist/chunk-6LSG5Z4T.cjs +122 -0
  105. package/dist/chunk-6LSG5Z4T.cjs.map +1 -0
  106. package/dist/chunk-6QGC52VH.js +177 -0
  107. package/dist/chunk-6QGC52VH.js.map +1 -0
  108. package/dist/chunk-6SU2MTN2.cjs +17 -0
  109. package/dist/chunk-6SU2MTN2.cjs.map +1 -0
  110. package/dist/chunk-6TBA7KZO.js +132 -0
  111. package/dist/chunk-6TBA7KZO.js.map +1 -0
  112. package/dist/chunk-6VIC6Y7T.js +64 -0
  113. package/dist/chunk-6VIC6Y7T.js.map +1 -0
  114. package/dist/chunk-6YCDLSIU.cjs +105 -0
  115. package/dist/chunk-6YCDLSIU.cjs.map +1 -0
  116. package/dist/chunk-75E5WNJG.cjs +122 -0
  117. package/dist/chunk-75E5WNJG.cjs.map +1 -0
  118. package/dist/chunk-7ITPMVDB.cjs +108 -0
  119. package/dist/chunk-7ITPMVDB.cjs.map +1 -0
  120. package/dist/chunk-7JV6VVO7.cjs +43 -0
  121. package/dist/chunk-7JV6VVO7.cjs.map +1 -0
  122. package/dist/chunk-7M2KEERO.js +311 -0
  123. package/dist/chunk-7M2KEERO.js.map +1 -0
  124. package/dist/chunk-7QGASY6O.js +134 -0
  125. package/dist/chunk-7QGASY6O.js.map +1 -0
  126. package/dist/chunk-7QZCUXWB.cjs +15 -0
  127. package/dist/chunk-7QZCUXWB.cjs.map +1 -0
  128. package/dist/chunk-7VXF5D67.cjs +23 -0
  129. package/dist/chunk-7VXF5D67.cjs.map +1 -0
  130. package/dist/chunk-7YIDBPIU.js +208 -0
  131. package/dist/chunk-7YIDBPIU.js.map +1 -0
  132. package/dist/chunk-ACZ2R47X.cjs +140 -0
  133. package/dist/chunk-ACZ2R47X.cjs.map +1 -0
  134. package/dist/chunk-AQ5NYBU4.cjs +340 -0
  135. package/dist/chunk-AQ5NYBU4.cjs.map +1 -0
  136. package/dist/chunk-AREMIQLZ.js +202 -0
  137. package/dist/chunk-AREMIQLZ.js.map +1 -0
  138. package/dist/chunk-AYUYJO3I.cjs +44 -0
  139. package/dist/chunk-AYUYJO3I.cjs.map +1 -0
  140. package/dist/chunk-B2TCNGC2.cjs +536 -0
  141. package/dist/chunk-B2TCNGC2.cjs.map +1 -0
  142. package/dist/chunk-B72YNBLS.js +628 -0
  143. package/dist/chunk-B72YNBLS.js.map +1 -0
  144. package/dist/chunk-BCA3TCGS.cjs +185 -0
  145. package/dist/chunk-BCA3TCGS.cjs.map +1 -0
  146. package/dist/chunk-BEND2MZX.js +108 -0
  147. package/dist/chunk-BEND2MZX.js.map +1 -0
  148. package/dist/chunk-BF7IX2O4.js +128 -0
  149. package/dist/chunk-BF7IX2O4.js.map +1 -0
  150. package/dist/chunk-BOU2TQ6U.cjs +1 -0
  151. package/dist/chunk-BOU2TQ6U.cjs.map +1 -0
  152. package/dist/chunk-BP6KDQ6I.cjs +52 -0
  153. package/dist/chunk-BP6KDQ6I.cjs.map +1 -0
  154. package/dist/chunk-BRY3W7N3.cjs +43 -0
  155. package/dist/chunk-BRY3W7N3.cjs.map +1 -0
  156. package/dist/chunk-CAMALM35.cjs +277 -0
  157. package/dist/chunk-CAMALM35.cjs.map +1 -0
  158. package/dist/chunk-CCN44NZJ.cjs +134 -0
  159. package/dist/chunk-CCN44NZJ.cjs.map +1 -0
  160. package/dist/chunk-CECSSOIZ.js +44 -0
  161. package/dist/chunk-CECSSOIZ.js.map +1 -0
  162. package/dist/chunk-CKKNFFKP.cjs +311 -0
  163. package/dist/chunk-CKKNFFKP.cjs.map +1 -0
  164. package/dist/chunk-CMETZEUX.js +168 -0
  165. package/dist/chunk-CMETZEUX.js.map +1 -0
  166. package/dist/chunk-CR3JBTP3.cjs +31 -0
  167. package/dist/chunk-CR3JBTP3.cjs.map +1 -0
  168. package/dist/chunk-CRNICOYA.js +157 -0
  169. package/dist/chunk-CRNICOYA.js.map +1 -0
  170. package/dist/chunk-CSY3IZOC.js +695 -0
  171. package/dist/chunk-CSY3IZOC.js.map +1 -0
  172. package/dist/chunk-CTB54SCJ.js +43 -0
  173. package/dist/chunk-CTB54SCJ.js.map +1 -0
  174. package/dist/chunk-D3D73ANJ.js +39 -0
  175. package/dist/chunk-D3D73ANJ.js.map +1 -0
  176. package/dist/chunk-DECN4QU3.js +33 -0
  177. package/dist/chunk-DECN4QU3.js.map +1 -0
  178. package/dist/chunk-DFC4T6FA.js +137 -0
  179. package/dist/chunk-DFC4T6FA.js.map +1 -0
  180. package/dist/chunk-DJASVBOJ.cjs +61 -0
  181. package/dist/chunk-DJASVBOJ.cjs.map +1 -0
  182. package/dist/chunk-DLKGOSZR.js +73 -0
  183. package/dist/chunk-DLKGOSZR.js.map +1 -0
  184. package/dist/chunk-DO2DYNFW.js +122 -0
  185. package/dist/chunk-DO2DYNFW.js.map +1 -0
  186. package/dist/chunk-DVA3T3MD.js +67 -0
  187. package/dist/chunk-DVA3T3MD.js.map +1 -0
  188. package/dist/chunk-DZM3UP7F.cjs +148 -0
  189. package/dist/chunk-DZM3UP7F.cjs.map +1 -0
  190. package/dist/chunk-ENPSUWTS.cjs +35 -0
  191. package/dist/chunk-ENPSUWTS.cjs.map +1 -0
  192. package/dist/chunk-EQ6P6ZND.cjs +177 -0
  193. package/dist/chunk-EQ6P6ZND.cjs.map +1 -0
  194. package/dist/chunk-EXPWQBI3.cjs +23 -0
  195. package/dist/chunk-EXPWQBI3.cjs.map +1 -0
  196. package/dist/chunk-EXW4VDRM.js +57 -0
  197. package/dist/chunk-EXW4VDRM.js.map +1 -0
  198. package/dist/chunk-F3I5DOWV.cjs +14 -0
  199. package/dist/chunk-F3I5DOWV.cjs.map +1 -0
  200. package/dist/chunk-F6JABQLJ.js +720 -0
  201. package/dist/chunk-F6JABQLJ.js.map +1 -0
  202. package/dist/chunk-F6S3WCCB.cjs +40 -0
  203. package/dist/chunk-F6S3WCCB.cjs.map +1 -0
  204. package/dist/chunk-FI7NLDWZ.js +1 -0
  205. package/dist/chunk-FI7NLDWZ.js.map +1 -0
  206. package/dist/chunk-FQRC4NJG.cjs +202 -0
  207. package/dist/chunk-FQRC4NJG.cjs.map +1 -0
  208. package/dist/chunk-FYISDU2Y.cjs +137 -0
  209. package/dist/chunk-FYISDU2Y.cjs.map +1 -0
  210. package/dist/chunk-FZYEZLTM.js +59 -0
  211. package/dist/chunk-FZYEZLTM.js.map +1 -0
  212. package/dist/chunk-G7FHCGT5.js +140 -0
  213. package/dist/chunk-G7FHCGT5.js.map +1 -0
  214. package/dist/chunk-GA3KXPIF.cjs +720 -0
  215. package/dist/chunk-GA3KXPIF.cjs.map +1 -0
  216. package/dist/chunk-GEYCGYAN.js +122 -0
  217. package/dist/chunk-GEYCGYAN.js.map +1 -0
  218. package/dist/chunk-GG52SAHA.cjs +157 -0
  219. package/dist/chunk-GG52SAHA.cjs.map +1 -0
  220. package/dist/chunk-GGYLU7YO.cjs +58 -0
  221. package/dist/chunk-GGYLU7YO.cjs.map +1 -0
  222. package/dist/chunk-GK5FWN4H.cjs +307 -0
  223. package/dist/chunk-GK5FWN4H.cjs.map +1 -0
  224. package/dist/chunk-GSQN5EOO.cjs +347 -0
  225. package/dist/chunk-GSQN5EOO.cjs.map +1 -0
  226. package/dist/chunk-GVHN6BAJ.js +19 -0
  227. package/dist/chunk-GVHN6BAJ.js.map +1 -0
  228. package/dist/chunk-GW7IHYXR.cjs +125 -0
  229. package/dist/chunk-GW7IHYXR.cjs.map +1 -0
  230. package/dist/chunk-GZW5AFIL.js +27 -0
  231. package/dist/chunk-GZW5AFIL.js.map +1 -0
  232. package/dist/chunk-H2NGR5JG.js +786 -0
  233. package/dist/chunk-H2NGR5JG.js.map +1 -0
  234. package/dist/chunk-H537KAYC.cjs +71 -0
  235. package/dist/chunk-H537KAYC.cjs.map +1 -0
  236. package/dist/chunk-HJL32HDH.js +14 -0
  237. package/dist/chunk-HJL32HDH.js.map +1 -0
  238. package/dist/chunk-HL763JX2.js +43 -0
  239. package/dist/chunk-HL763JX2.js.map +1 -0
  240. package/dist/chunk-HLKFUOAQ.cjs +27 -0
  241. package/dist/chunk-HLKFUOAQ.cjs.map +1 -0
  242. package/dist/chunk-HLYGHP6F.cjs +80 -0
  243. package/dist/chunk-HLYGHP6F.cjs.map +1 -0
  244. package/dist/chunk-HO3SKXCG.js +559 -0
  245. package/dist/chunk-HO3SKXCG.js.map +1 -0
  246. package/dist/chunk-I2W7AO4B.cjs +37 -0
  247. package/dist/chunk-I2W7AO4B.cjs.map +1 -0
  248. package/dist/chunk-I2XGNALG.cjs +19 -0
  249. package/dist/chunk-I2XGNALG.cjs.map +1 -0
  250. package/dist/chunk-I5KOMBQ3.js +277 -0
  251. package/dist/chunk-I5KOMBQ3.js.map +1 -0
  252. package/dist/chunk-I65QS3YQ.cjs +695 -0
  253. package/dist/chunk-I65QS3YQ.cjs.map +1 -0
  254. package/dist/chunk-IB75VVZO.js +58 -0
  255. package/dist/chunk-IB75VVZO.js.map +1 -0
  256. package/dist/chunk-IGFEQECO.js +67 -0
  257. package/dist/chunk-IGFEQECO.js.map +1 -0
  258. package/dist/chunk-IKXGA2Z5.cjs +24 -0
  259. package/dist/chunk-IKXGA2Z5.cjs.map +1 -0
  260. package/dist/chunk-INQQLXAV.js +347 -0
  261. package/dist/chunk-INQQLXAV.js.map +1 -0
  262. package/dist/chunk-IR2LFKKA.cjs +44 -0
  263. package/dist/chunk-IR2LFKKA.cjs.map +1 -0
  264. package/dist/chunk-IVQDVFFR.js +226 -0
  265. package/dist/chunk-IVQDVFFR.js.map +1 -0
  266. package/dist/chunk-J3UH2OJH.js +31 -0
  267. package/dist/chunk-J3UH2OJH.js.map +1 -0
  268. package/dist/chunk-JAJOUFPM.js +30 -0
  269. package/dist/chunk-JAJOUFPM.js.map +1 -0
  270. package/dist/chunk-JPVR2NHV.js +54 -0
  271. package/dist/chunk-JPVR2NHV.js.map +1 -0
  272. package/dist/chunk-JSSDNDAG.cjs +1038 -0
  273. package/dist/chunk-JSSDNDAG.cjs.map +1 -0
  274. package/dist/chunk-JTZ44ZLT.js +1741 -0
  275. package/dist/chunk-JTZ44ZLT.js.map +1 -0
  276. package/dist/chunk-K5Q2H3VD.cjs +85 -0
  277. package/dist/chunk-K5Q2H3VD.cjs.map +1 -0
  278. package/dist/chunk-KAKDDX4L.js +144 -0
  279. package/dist/chunk-KAKDDX4L.js.map +1 -0
  280. package/dist/chunk-KD5Y2YWK.cjs +128 -0
  281. package/dist/chunk-KD5Y2YWK.cjs.map +1 -0
  282. package/dist/chunk-KJDMNF2T.cjs +202 -0
  283. package/dist/chunk-KJDMNF2T.cjs.map +1 -0
  284. package/dist/chunk-KKKEARPT.js +40 -0
  285. package/dist/chunk-KKKEARPT.js.map +1 -0
  286. package/dist/chunk-KLONGJCL.cjs +59 -0
  287. package/dist/chunk-KLONGJCL.cjs.map +1 -0
  288. package/dist/chunk-KS5ZUVPC.js +23 -0
  289. package/dist/chunk-KS5ZUVPC.js.map +1 -0
  290. package/dist/chunk-KSJ7JLR3.cjs +228 -0
  291. package/dist/chunk-KSJ7JLR3.cjs.map +1 -0
  292. package/dist/chunk-L7474OST.js +21 -0
  293. package/dist/chunk-L7474OST.js.map +1 -0
  294. package/dist/chunk-LG7XHNAY.js +52 -0
  295. package/dist/chunk-LG7XHNAY.js.map +1 -0
  296. package/dist/chunk-LJ2EG6JK.cjs +226 -0
  297. package/dist/chunk-LJ2EG6JK.cjs.map +1 -0
  298. package/dist/chunk-LLYY4TCZ.cjs +628 -0
  299. package/dist/chunk-LLYY4TCZ.cjs.map +1 -0
  300. package/dist/chunk-LPDUHBHT.js +2842 -0
  301. package/dist/chunk-LPDUHBHT.js.map +1 -0
  302. package/dist/chunk-LX6E5TTR.js +58 -0
  303. package/dist/chunk-LX6E5TTR.js.map +1 -0
  304. package/dist/chunk-LYIBTVK6.cjs +2842 -0
  305. package/dist/chunk-LYIBTVK6.cjs.map +1 -0
  306. package/dist/chunk-LZUHCGJ3.js +281 -0
  307. package/dist/chunk-LZUHCGJ3.js.map +1 -0
  308. package/dist/chunk-M3HWE7KT.cjs +33 -0
  309. package/dist/chunk-M3HWE7KT.cjs.map +1 -0
  310. package/dist/chunk-M3SJHFT4.cjs +24 -0
  311. package/dist/chunk-M3SJHFT4.cjs.map +1 -0
  312. package/dist/chunk-MCNDMK7F.cjs +167 -0
  313. package/dist/chunk-MCNDMK7F.cjs.map +1 -0
  314. package/dist/chunk-MLG6NXI6.cjs +19 -0
  315. package/dist/chunk-MLG6NXI6.cjs.map +1 -0
  316. package/dist/chunk-MTFLXMYI.js +262 -0
  317. package/dist/chunk-MTFLXMYI.js.map +1 -0
  318. package/dist/chunk-MYDDK2Z3.js +485 -0
  319. package/dist/chunk-MYDDK2Z3.js.map +1 -0
  320. package/dist/chunk-NFB3S2E6.cjs +22 -0
  321. package/dist/chunk-NFB3S2E6.cjs.map +1 -0
  322. package/dist/chunk-NLQOHTYN.js +44 -0
  323. package/dist/chunk-NLQOHTYN.js.map +1 -0
  324. package/dist/chunk-NW37NQZB.cjs +1741 -0
  325. package/dist/chunk-NW37NQZB.cjs.map +1 -0
  326. package/dist/chunk-NXORFP3R.js +148 -0
  327. package/dist/chunk-NXORFP3R.js.map +1 -0
  328. package/dist/chunk-NYL3BNHR.cjs +57 -0
  329. package/dist/chunk-NYL3BNHR.cjs.map +1 -0
  330. package/dist/chunk-O4AYHLQX.cjs +132 -0
  331. package/dist/chunk-O4AYHLQX.cjs.map +1 -0
  332. package/dist/chunk-ODPNVNYE.cjs +75 -0
  333. package/dist/chunk-ODPNVNYE.cjs.map +1 -0
  334. package/dist/chunk-OEKPQXXM.js +24 -0
  335. package/dist/chunk-OEKPQXXM.js.map +1 -0
  336. package/dist/chunk-OG2KJAYD.cjs +44 -0
  337. package/dist/chunk-OG2KJAYD.cjs.map +1 -0
  338. package/dist/chunk-OMGDHJYX.js +39 -0
  339. package/dist/chunk-OMGDHJYX.js.map +1 -0
  340. package/dist/chunk-OMRKVER7.js +80 -0
  341. package/dist/chunk-OMRKVER7.js.map +1 -0
  342. package/dist/chunk-OWP7XBY2.cjs +281 -0
  343. package/dist/chunk-OWP7XBY2.cjs.map +1 -0
  344. package/dist/chunk-OYZP6NF6.cjs +58 -0
  345. package/dist/chunk-OYZP6NF6.cjs.map +1 -0
  346. package/dist/chunk-P6JLNQ6L.cjs +111 -0
  347. package/dist/chunk-P6JLNQ6L.cjs.map +1 -0
  348. package/dist/chunk-P7DYLUUI.cjs +168 -0
  349. package/dist/chunk-P7DYLUUI.cjs.map +1 -0
  350. package/dist/chunk-PKAE6AQT.cjs +208 -0
  351. package/dist/chunk-PKAE6AQT.cjs.map +1 -0
  352. package/dist/chunk-Q347PTXI.js +54 -0
  353. package/dist/chunk-Q347PTXI.js.map +1 -0
  354. package/dist/chunk-Q6HI2G7W.js +40 -0
  355. package/dist/chunk-Q6HI2G7W.js.map +1 -0
  356. package/dist/chunk-Q7M7DO7M.cjs +186 -0
  357. package/dist/chunk-Q7M7DO7M.cjs.map +1 -0
  358. package/dist/chunk-QCPEE3EV.js +186 -0
  359. package/dist/chunk-QCPEE3EV.js.map +1 -0
  360. package/dist/chunk-QF3Q3TPV.js +162 -0
  361. package/dist/chunk-QF3Q3TPV.js.map +1 -0
  362. package/dist/chunk-QGTVOC6O.js +167 -0
  363. package/dist/chunk-QGTVOC6O.js.map +1 -0
  364. package/dist/chunk-QMLU5DST.cjs +786 -0
  365. package/dist/chunk-QMLU5DST.cjs.map +1 -0
  366. package/dist/chunk-QRSA72B3.cjs +40 -0
  367. package/dist/chunk-QRSA72B3.cjs.map +1 -0
  368. package/dist/chunk-QYNRNDIY.cjs +186 -0
  369. package/dist/chunk-QYNRNDIY.cjs.map +1 -0
  370. package/dist/chunk-R4FE6K43.cjs +99 -0
  371. package/dist/chunk-R4FE6K43.cjs.map +1 -0
  372. package/dist/chunk-R5VYSZ3Q.cjs +67 -0
  373. package/dist/chunk-R5VYSZ3Q.cjs.map +1 -0
  374. package/dist/chunk-RBN2H7QR.js +340 -0
  375. package/dist/chunk-RBN2H7QR.js.map +1 -0
  376. package/dist/chunk-RI42IDRR.cjs +23 -0
  377. package/dist/chunk-RI42IDRR.cjs.map +1 -0
  378. package/dist/chunk-RUDKQPEO.js +22 -0
  379. package/dist/chunk-RUDKQPEO.js.map +1 -0
  380. package/dist/chunk-RWCCRTLZ.js +17 -0
  381. package/dist/chunk-RWCCRTLZ.js.map +1 -0
  382. package/dist/chunk-S7SBNOGS.cjs +144 -0
  383. package/dist/chunk-S7SBNOGS.cjs.map +1 -0
  384. package/dist/chunk-SQELICSX.cjs +159 -0
  385. package/dist/chunk-SQELICSX.cjs.map +1 -0
  386. package/dist/chunk-SXCH2AXM.js +85 -0
  387. package/dist/chunk-SXCH2AXM.js.map +1 -0
  388. package/dist/chunk-T37FLY7Q.js +185 -0
  389. package/dist/chunk-T37FLY7Q.js.map +1 -0
  390. package/dist/chunk-T6N35YFJ.js +186 -0
  391. package/dist/chunk-T6N35YFJ.js.map +1 -0
  392. package/dist/chunk-THPCSJUP.js +43 -0
  393. package/dist/chunk-THPCSJUP.js.map +1 -0
  394. package/dist/chunk-TIMYWB2C.cjs +316 -0
  395. package/dist/chunk-TIMYWB2C.cjs.map +1 -0
  396. package/dist/chunk-TMAJE5P2.cjs +84 -0
  397. package/dist/chunk-TMAJE5P2.cjs.map +1 -0
  398. package/dist/chunk-TNIJ6OSH.cjs +162 -0
  399. package/dist/chunk-TNIJ6OSH.cjs.map +1 -0
  400. package/dist/chunk-TZ4JHXBR.js +98 -0
  401. package/dist/chunk-TZ4JHXBR.js.map +1 -0
  402. package/dist/chunk-UGSM7RJ2.cjs +30 -0
  403. package/dist/chunk-UGSM7RJ2.cjs.map +1 -0
  404. package/dist/chunk-UH2A7ZDK.js +61 -0
  405. package/dist/chunk-UH2A7ZDK.js.map +1 -0
  406. package/dist/chunk-UKLZAOLW.cjs +209 -0
  407. package/dist/chunk-UKLZAOLW.cjs.map +1 -0
  408. package/dist/chunk-ULZWGW2O.js +14 -0
  409. package/dist/chunk-ULZWGW2O.js.map +1 -0
  410. package/dist/chunk-US6R4TM4.js +50 -0
  411. package/dist/chunk-US6R4TM4.js.map +1 -0
  412. package/dist/chunk-UU3YQJT6.js +27 -0
  413. package/dist/chunk-UU3YQJT6.js.map +1 -0
  414. package/dist/chunk-V3PCNGDH.js +69 -0
  415. package/dist/chunk-V3PCNGDH.js.map +1 -0
  416. package/dist/chunk-V47G7P6L.cjs +19 -0
  417. package/dist/chunk-V47G7P6L.cjs.map +1 -0
  418. package/dist/chunk-VH5A6SMU.cjs +50 -0
  419. package/dist/chunk-VH5A6SMU.cjs.map +1 -0
  420. package/dist/chunk-VJ2L2GOF.js +23 -0
  421. package/dist/chunk-VJ2L2GOF.js.map +1 -0
  422. package/dist/chunk-VOIELJLZ.cjs +274 -0
  423. package/dist/chunk-VOIELJLZ.cjs.map +1 -0
  424. package/dist/chunk-VW7GWSP6.js +209 -0
  425. package/dist/chunk-VW7GWSP6.js.map +1 -0
  426. package/dist/chunk-VYC7WUM5.cjs +39 -0
  427. package/dist/chunk-VYC7WUM5.cjs.map +1 -0
  428. package/dist/chunk-W3EFNOH6.js +536 -0
  429. package/dist/chunk-W3EFNOH6.js.map +1 -0
  430. package/dist/chunk-W457XUA6.cjs +67 -0
  431. package/dist/chunk-W457XUA6.cjs.map +1 -0
  432. package/dist/chunk-WBAPQODS.js +111 -0
  433. package/dist/chunk-WBAPQODS.js.map +1 -0
  434. package/dist/chunk-WHDI3TMP.cjs +21 -0
  435. package/dist/chunk-WHDI3TMP.cjs.map +1 -0
  436. package/dist/chunk-WITCPKNL.cjs +20 -0
  437. package/dist/chunk-WITCPKNL.cjs.map +1 -0
  438. package/dist/chunk-WSOUQS6C.js +135 -0
  439. package/dist/chunk-WSOUQS6C.js.map +1 -0
  440. package/dist/chunk-WX6NP7UU.cjs +14 -0
  441. package/dist/chunk-WX6NP7UU.cjs.map +1 -0
  442. package/dist/chunk-WZK3BIHG.js +75 -0
  443. package/dist/chunk-WZK3BIHG.js.map +1 -0
  444. package/dist/chunk-X7UAYGQR.cjs +43 -0
  445. package/dist/chunk-X7UAYGQR.cjs.map +1 -0
  446. package/dist/chunk-XQLRIBVR.cjs +98 -0
  447. package/dist/chunk-XQLRIBVR.cjs.map +1 -0
  448. package/dist/chunk-Y4XILACH.js +105 -0
  449. package/dist/chunk-Y4XILACH.js.map +1 -0
  450. package/dist/chunk-YJQPKT6W.cjs +453 -0
  451. package/dist/chunk-YJQPKT6W.cjs.map +1 -0
  452. package/dist/chunk-YK3P5QNZ.cjs +559 -0
  453. package/dist/chunk-YK3P5QNZ.cjs.map +1 -0
  454. package/dist/chunk-YOFIOZJ5.js +1038 -0
  455. package/dist/chunk-YOFIOZJ5.js.map +1 -0
  456. package/dist/chunk-ZDYRYXY3.js +316 -0
  457. package/dist/chunk-ZDYRYXY3.js.map +1 -0
  458. package/dist/chunk-ZKPVUCQV.cjs +973 -0
  459. package/dist/chunk-ZKPVUCQV.cjs.map +1 -0
  460. package/dist/chunk-ZOD4J4XF.cjs +89 -0
  461. package/dist/chunk-ZOD4J4XF.cjs.map +1 -0
  462. package/dist/chunk-ZX4JTR2J.js +23 -0
  463. package/dist/chunk-ZX4JTR2J.js.map +1 -0
  464. package/dist/chunk-ZYWW275O.js +159 -0
  465. package/dist/chunk-ZYWW275O.js.map +1 -0
  466. package/dist/client.cjs +17 -0
  467. package/dist/client.cjs.map +1 -0
  468. package/dist/client.d.cts +221 -0
  469. package/dist/client.d.ts +221 -0
  470. package/dist/client.js +17 -0
  471. package/dist/client.js.map +1 -0
  472. package/dist/core.cjs +13 -0
  473. package/dist/core.cjs.map +1 -0
  474. package/dist/core.d.cts +376 -0
  475. package/dist/core.d.ts +376 -0
  476. package/dist/core.js +13 -0
  477. package/dist/core.js.map +1 -0
  478. package/dist/currencies.cjs +7 -0
  479. package/dist/currencies.cjs.map +1 -0
  480. package/dist/currencies.d.cts +8 -0
  481. package/dist/currencies.d.ts +8 -0
  482. package/dist/currencies.js +7 -0
  483. package/dist/currencies.js.map +1 -0
  484. package/dist/enigmaCardForm.cjs +65 -0
  485. package/dist/enigmaCardForm.cjs.map +1 -0
  486. package/dist/enigmaCardForm.d.cts +145 -0
  487. package/dist/enigmaCardForm.d.ts +145 -0
  488. package/dist/enigmaCardForm.js +65 -0
  489. package/dist/enigmaCardForm.js.map +1 -0
  490. package/dist/error.cjs +9 -0
  491. package/dist/error.cjs.map +1 -0
  492. package/dist/error.d.cts +66 -0
  493. package/dist/error.d.ts +66 -0
  494. package/dist/error.js +9 -0
  495. package/dist/error.js.map +1 -0
  496. package/dist/eventStream.cjs +7 -0
  497. package/dist/eventStream.cjs.map +1 -0
  498. package/dist/eventStream.d.cts +50 -0
  499. package/dist/eventStream.d.ts +50 -0
  500. package/dist/eventStream.js +7 -0
  501. package/dist/eventStream.js.map +1 -0
  502. package/dist/exportDownload.cjs +21 -0
  503. package/dist/exportDownload.cjs.map +1 -0
  504. package/dist/exportDownload.d.cts +86 -0
  505. package/dist/exportDownload.d.ts +86 -0
  506. package/dist/exportDownload.js +21 -0
  507. package/dist/exportDownload.js.map +1 -0
  508. package/dist/feeProgram.cjs +25 -0
  509. package/dist/feeProgram.cjs.map +1 -0
  510. package/dist/feeProgram.d.cts +169 -0
  511. package/dist/feeProgram.d.ts +169 -0
  512. package/dist/feeProgram.js +25 -0
  513. package/dist/feeProgram.js.map +1 -0
  514. package/dist/index.cjs +839 -18306
  515. package/dist/index.cjs.map +1 -1
  516. package/dist/index.d.cts +87 -1
  517. package/dist/index.d.ts +87 -1
  518. package/dist/index.js +418 -186
  519. package/dist/internal/resources/admin.cjs +7 -0
  520. package/dist/internal/resources/admin.cjs.map +1 -0
  521. package/dist/internal/resources/admin.d.cts +31 -0
  522. package/dist/internal/resources/admin.d.ts +31 -0
  523. package/dist/internal/resources/admin.js +7 -0
  524. package/dist/internal/resources/admin.js.map +1 -0
  525. package/dist/internal/resources/adminBranding.cjs +7 -0
  526. package/dist/internal/resources/adminBranding.cjs.map +1 -0
  527. package/dist/internal/resources/adminBranding.d.cts +37 -0
  528. package/dist/internal/resources/adminBranding.d.ts +37 -0
  529. package/dist/internal/resources/adminBranding.js +7 -0
  530. package/dist/internal/resources/adminBranding.js.map +1 -0
  531. package/dist/internal/resources/adminFileScans.cjs +7 -0
  532. package/dist/internal/resources/adminFileScans.cjs.map +1 -0
  533. package/dist/internal/resources/adminFileScans.d.cts +39 -0
  534. package/dist/internal/resources/adminFileScans.d.ts +39 -0
  535. package/dist/internal/resources/adminFileScans.js +7 -0
  536. package/dist/internal/resources/adminFileScans.js.map +1 -0
  537. package/dist/internal/resources/adminIndustries.cjs +7 -0
  538. package/dist/internal/resources/adminIndustries.cjs.map +1 -0
  539. package/dist/internal/resources/adminIndustries.d.cts +61 -0
  540. package/dist/internal/resources/adminIndustries.d.ts +61 -0
  541. package/dist/internal/resources/adminIndustries.js +7 -0
  542. package/dist/internal/resources/adminIndustries.js.map +1 -0
  543. package/dist/internal/resources/adminLive.cjs +7 -0
  544. package/dist/internal/resources/adminLive.cjs.map +1 -0
  545. package/dist/internal/resources/adminLive.d.cts +33 -0
  546. package/dist/internal/resources/adminLive.d.ts +33 -0
  547. package/dist/internal/resources/adminLive.js +7 -0
  548. package/dist/internal/resources/adminLive.js.map +1 -0
  549. package/dist/internal/resources/adminPortal.cjs +7 -0
  550. package/dist/internal/resources/adminPortal.cjs.map +1 -0
  551. package/dist/internal/resources/adminPortal.d.cts +1029 -0
  552. package/dist/internal/resources/adminPortal.d.ts +1029 -0
  553. package/dist/internal/resources/adminPortal.js +7 -0
  554. package/dist/internal/resources/adminPortal.js.map +1 -0
  555. package/dist/internal/resources/adminSupport.cjs +7 -0
  556. package/dist/internal/resources/adminSupport.cjs.map +1 -0
  557. package/dist/internal/resources/adminSupport.d.cts +52 -0
  558. package/dist/internal/resources/adminSupport.d.ts +52 -0
  559. package/dist/internal/resources/adminSupport.js +7 -0
  560. package/dist/internal/resources/adminSupport.js.map +1 -0
  561. package/dist/internal/resources/auditLogs.cjs +7 -0
  562. package/dist/internal/resources/auditLogs.cjs.map +1 -0
  563. package/dist/internal/resources/auditLogs.d.cts +37 -0
  564. package/dist/internal/resources/auditLogs.d.ts +37 -0
  565. package/dist/internal/resources/auditLogs.js +7 -0
  566. package/dist/internal/resources/auditLogs.js.map +1 -0
  567. package/dist/internal/resources/cache.cjs +7 -0
  568. package/dist/internal/resources/cache.cjs.map +1 -0
  569. package/dist/internal/resources/cache.d.cts +13 -0
  570. package/dist/internal/resources/cache.d.ts +13 -0
  571. package/dist/internal/resources/cache.js +7 -0
  572. package/dist/internal/resources/cache.js.map +1 -0
  573. package/dist/internal/resources/cardIssuers.cjs +7 -0
  574. package/dist/internal/resources/cardIssuers.cjs.map +1 -0
  575. package/dist/internal/resources/cardIssuers.d.cts +15 -0
  576. package/dist/internal/resources/cardIssuers.d.ts +15 -0
  577. package/dist/internal/resources/cardIssuers.js +7 -0
  578. package/dist/internal/resources/cardIssuers.js.map +1 -0
  579. package/dist/internal/resources/configs.cjs +7 -0
  580. package/dist/internal/resources/configs.cjs.map +1 -0
  581. package/dist/internal/resources/configs.d.cts +19 -0
  582. package/dist/internal/resources/configs.d.ts +19 -0
  583. package/dist/internal/resources/configs.js +7 -0
  584. package/dist/internal/resources/configs.js.map +1 -0
  585. package/dist/internal/resources/connectorRestrictionRules.cjs +7 -0
  586. package/dist/internal/resources/connectorRestrictionRules.cjs.map +1 -0
  587. package/dist/internal/resources/connectorRestrictionRules.d.cts +43 -0
  588. package/dist/internal/resources/connectorRestrictionRules.d.ts +43 -0
  589. package/dist/internal/resources/connectorRestrictionRules.js +7 -0
  590. package/dist/internal/resources/connectorRestrictionRules.js.map +1 -0
  591. package/dist/internal/resources/connectorRestrictions.cjs +7 -0
  592. package/dist/internal/resources/connectorRestrictions.cjs.map +1 -0
  593. package/dist/internal/resources/connectorRestrictions.d.cts +33 -0
  594. package/dist/internal/resources/connectorRestrictions.d.ts +33 -0
  595. package/dist/internal/resources/connectorRestrictions.js +7 -0
  596. package/dist/internal/resources/connectorRestrictions.js.map +1 -0
  597. package/dist/internal/resources/diagnostic.cjs +7 -0
  598. package/dist/internal/resources/diagnostic.cjs.map +1 -0
  599. package/dist/internal/resources/diagnostic.d.cts +183 -0
  600. package/dist/internal/resources/diagnostic.d.ts +183 -0
  601. package/dist/internal/resources/diagnostic.js +7 -0
  602. package/dist/internal/resources/diagnostic.js.map +1 -0
  603. package/dist/internal/resources/gsm.cjs +7 -0
  604. package/dist/internal/resources/gsm.cjs.map +1 -0
  605. package/dist/internal/resources/gsm.d.cts +16 -0
  606. package/dist/internal/resources/gsm.d.ts +16 -0
  607. package/dist/internal/resources/gsm.js +7 -0
  608. package/dist/internal/resources/gsm.js.map +1 -0
  609. package/dist/internal/resources/nativeRenewals.cjs +7 -0
  610. package/dist/internal/resources/nativeRenewals.cjs.map +1 -0
  611. package/dist/internal/resources/nativeRenewals.d.cts +16 -0
  612. package/dist/internal/resources/nativeRenewals.d.ts +16 -0
  613. package/dist/internal/resources/nativeRenewals.js +7 -0
  614. package/dist/internal/resources/nativeRenewals.js.map +1 -0
  615. package/dist/internal/resources/platformBilling.cjs +7 -0
  616. package/dist/internal/resources/platformBilling.cjs.map +1 -0
  617. package/dist/internal/resources/platformBilling.d.cts +145 -0
  618. package/dist/internal/resources/platformBilling.d.ts +145 -0
  619. package/dist/internal/resources/platformBilling.js +7 -0
  620. package/dist/internal/resources/platformBilling.js.map +1 -0
  621. package/dist/internal/resources/platformFees.cjs +9 -0
  622. package/dist/internal/resources/platformFees.cjs.map +1 -0
  623. package/dist/internal/resources/platformFees.d.cts +60 -0
  624. package/dist/internal/resources/platformFees.d.ts +60 -0
  625. package/dist/internal/resources/platformFees.js +9 -0
  626. package/dist/internal/resources/platformFees.js.map +1 -0
  627. package/dist/internal/resources/platformMessageTemplates.cjs +7 -0
  628. package/dist/internal/resources/platformMessageTemplates.cjs.map +1 -0
  629. package/dist/internal/resources/platformMessageTemplates.d.cts +46 -0
  630. package/dist/internal/resources/platformMessageTemplates.d.ts +46 -0
  631. package/dist/internal/resources/platformMessageTemplates.js +7 -0
  632. package/dist/internal/resources/platformMessageTemplates.js.map +1 -0
  633. package/dist/internal/resources/platformSettings.cjs +7 -0
  634. package/dist/internal/resources/platformSettings.cjs.map +1 -0
  635. package/dist/internal/resources/platformSettings.d.cts +41 -0
  636. package/dist/internal/resources/platformSettings.d.ts +41 -0
  637. package/dist/internal/resources/platformSettings.js +7 -0
  638. package/dist/internal/resources/platformSettings.js.map +1 -0
  639. package/dist/internal.cjs +856 -20979
  640. package/dist/internal.cjs.map +1 -1
  641. package/dist/internal.d.cts +109 -6082
  642. package/dist/internal.d.ts +109 -6082
  643. package/dist/internal.js +480 -2888
  644. package/dist/internal.js.map +1 -1
  645. package/dist/listQuery.cjs +7 -0
  646. package/dist/listQuery.cjs.map +1 -0
  647. package/dist/listQuery.d.cts +15 -0
  648. package/dist/listQuery.d.ts +15 -0
  649. package/dist/listQuery.js +7 -0
  650. package/dist/listQuery.js.map +1 -0
  651. package/dist/panes.cjs +65 -0
  652. package/dist/panes.cjs.map +1 -0
  653. package/dist/panes.d.cts +523 -0
  654. package/dist/panes.d.ts +523 -0
  655. package/dist/panes.js +65 -0
  656. package/dist/panes.js.map +1 -0
  657. package/dist/paymentPresentation.cjs +27 -0
  658. package/dist/paymentPresentation.cjs.map +1 -0
  659. package/dist/paymentPresentation.d.cts +101 -0
  660. package/dist/paymentPresentation.d.ts +101 -0
  661. package/dist/paymentPresentation.js +27 -0
  662. package/dist/paymentPresentation.js.map +1 -0
  663. package/dist/recordCounter.cjs +9 -0
  664. package/dist/recordCounter.cjs.map +1 -0
  665. package/dist/recordCounter.d.cts +92 -0
  666. package/dist/recordCounter.d.ts +92 -0
  667. package/dist/recordCounter.js +9 -0
  668. package/dist/recordCounter.js.map +1 -0
  669. package/dist/resources/analytics.cjs +7 -0
  670. package/dist/resources/analytics.cjs.map +1 -0
  671. package/dist/resources/analytics.d.cts +193 -0
  672. package/dist/resources/analytics.d.ts +193 -0
  673. package/dist/resources/analytics.js +7 -0
  674. package/dist/resources/analytics.js.map +1 -0
  675. package/dist/resources/analyticsDashboard.cjs +7 -0
  676. package/dist/resources/analyticsDashboard.cjs.map +1 -0
  677. package/dist/resources/analyticsDashboard.d.cts +15 -0
  678. package/dist/resources/analyticsDashboard.d.ts +15 -0
  679. package/dist/resources/analyticsDashboard.js +7 -0
  680. package/dist/resources/analyticsDashboard.js.map +1 -0
  681. package/dist/resources/apiKeys.cjs +7 -0
  682. package/dist/resources/apiKeys.cjs.map +1 -0
  683. package/dist/resources/apiKeys.d.cts +156 -0
  684. package/dist/resources/apiKeys.d.ts +156 -0
  685. package/dist/resources/apiKeys.js +7 -0
  686. package/dist/resources/apiKeys.js.map +1 -0
  687. package/dist/resources/audit.cjs +7 -0
  688. package/dist/resources/audit.cjs.map +1 -0
  689. package/dist/resources/audit.d.cts +34 -0
  690. package/dist/resources/audit.d.ts +34 -0
  691. package/dist/resources/audit.js +7 -0
  692. package/dist/resources/audit.js.map +1 -0
  693. package/dist/resources/authentication.cjs +7 -0
  694. package/dist/resources/authentication.cjs.map +1 -0
  695. package/dist/resources/authentication.d.cts +22 -0
  696. package/dist/resources/authentication.d.ts +22 -0
  697. package/dist/resources/authentication.js +7 -0
  698. package/dist/resources/authentication.js.map +1 -0
  699. package/dist/resources/availabilityOverrides.cjs +7 -0
  700. package/dist/resources/availabilityOverrides.cjs.map +1 -0
  701. package/dist/resources/availabilityOverrides.d.cts +30 -0
  702. package/dist/resources/availabilityOverrides.d.ts +30 -0
  703. package/dist/resources/availabilityOverrides.js +7 -0
  704. package/dist/resources/availabilityOverrides.js.map +1 -0
  705. package/dist/resources/billing.cjs +7 -0
  706. package/dist/resources/billing.cjs.map +1 -0
  707. package/dist/resources/billing.d.cts +122 -0
  708. package/dist/resources/billing.d.ts +122 -0
  709. package/dist/resources/billing.js +7 -0
  710. package/dist/resources/billing.js.map +1 -0
  711. package/dist/resources/buyerAccount.cjs +7 -0
  712. package/dist/resources/buyerAccount.cjs.map +1 -0
  713. package/dist/resources/buyerAccount.d.cts +162 -0
  714. package/dist/resources/buyerAccount.d.ts +162 -0
  715. package/dist/resources/buyerAccount.js +7 -0
  716. package/dist/resources/buyerAccount.js.map +1 -0
  717. package/dist/resources/buyerBlocklist.cjs +7 -0
  718. package/dist/resources/buyerBlocklist.cjs.map +1 -0
  719. package/dist/resources/buyerBlocklist.d.cts +120 -0
  720. package/dist/resources/buyerBlocklist.d.ts +120 -0
  721. package/dist/resources/buyerBlocklist.js +7 -0
  722. package/dist/resources/buyerBlocklist.js.map +1 -0
  723. package/dist/resources/buyerConversations.cjs +7 -0
  724. package/dist/resources/buyerConversations.cjs.map +1 -0
  725. package/dist/resources/buyerConversations.d.cts +85 -0
  726. package/dist/resources/buyerConversations.d.ts +85 -0
  727. package/dist/resources/buyerConversations.js +7 -0
  728. package/dist/resources/buyerConversations.js.map +1 -0
  729. package/dist/resources/buyerEvidenceReviews.cjs +7 -0
  730. package/dist/resources/buyerEvidenceReviews.cjs.map +1 -0
  731. package/dist/resources/buyerEvidenceReviews.d.cts +43 -0
  732. package/dist/resources/buyerEvidenceReviews.d.ts +43 -0
  733. package/dist/resources/buyerEvidenceReviews.js +7 -0
  734. package/dist/resources/buyerEvidenceReviews.js.map +1 -0
  735. package/dist/resources/buyerPortal.cjs +7 -0
  736. package/dist/resources/buyerPortal.cjs.map +1 -0
  737. package/dist/resources/buyerPortal.d.cts +122 -0
  738. package/dist/resources/buyerPortal.d.ts +122 -0
  739. package/dist/resources/buyerPortal.js +7 -0
  740. package/dist/resources/buyerPortal.js.map +1 -0
  741. package/dist/resources/cards.cjs +7 -0
  742. package/dist/resources/cards.cjs.map +1 -0
  743. package/dist/resources/cards.d.cts +17 -0
  744. package/dist/resources/cards.d.ts +17 -0
  745. package/dist/resources/cards.js +7 -0
  746. package/dist/resources/cards.js.map +1 -0
  747. package/dist/resources/chargebackPrevention.cjs +9 -0
  748. package/dist/resources/chargebackPrevention.cjs.map +1 -0
  749. package/dist/resources/chargebackPrevention.d.cts +51 -0
  750. package/dist/resources/chargebackPrevention.d.ts +51 -0
  751. package/dist/resources/chargebackPrevention.js +9 -0
  752. package/dist/resources/chargebackPrevention.js.map +1 -0
  753. package/dist/resources/checkoutMethods.cjs +7 -0
  754. package/dist/resources/checkoutMethods.cjs.map +1 -0
  755. package/dist/resources/checkoutMethods.d.cts +135 -0
  756. package/dist/resources/checkoutMethods.d.ts +135 -0
  757. package/dist/resources/checkoutMethods.js +7 -0
  758. package/dist/resources/checkoutMethods.js.map +1 -0
  759. package/dist/resources/checkoutRecovery.cjs +7 -0
  760. package/dist/resources/checkoutRecovery.cjs.map +1 -0
  761. package/dist/resources/checkoutRecovery.d.cts +92 -0
  762. package/dist/resources/checkoutRecovery.d.ts +92 -0
  763. package/dist/resources/checkoutRecovery.js +7 -0
  764. package/dist/resources/checkoutRecovery.js.map +1 -0
  765. package/dist/resources/checkoutTemplates.cjs +7 -0
  766. package/dist/resources/checkoutTemplates.cjs.map +1 -0
  767. package/dist/resources/checkoutTemplates.d.cts +75 -0
  768. package/dist/resources/checkoutTemplates.d.ts +75 -0
  769. package/dist/resources/checkoutTemplates.js +7 -0
  770. package/dist/resources/checkoutTemplates.js.map +1 -0
  771. package/dist/resources/connectors.cjs +7 -0
  772. package/dist/resources/connectors.cjs.map +1 -0
  773. package/dist/resources/connectors.d.cts +500 -0
  774. package/dist/resources/connectors.d.ts +500 -0
  775. package/dist/resources/connectors.js +7 -0
  776. package/dist/resources/connectors.js.map +1 -0
  777. package/dist/resources/costRules.cjs +7 -0
  778. package/dist/resources/costRules.cjs.map +1 -0
  779. package/dist/resources/costRules.d.cts +56 -0
  780. package/dist/resources/costRules.d.ts +56 -0
  781. package/dist/resources/costRules.js +7 -0
  782. package/dist/resources/costRules.js.map +1 -0
  783. package/dist/resources/customers.cjs +7 -0
  784. package/dist/resources/customers.cjs.map +1 -0
  785. package/dist/resources/customers.d.cts +185 -0
  786. package/dist/resources/customers.d.ts +185 -0
  787. package/dist/resources/customers.js +7 -0
  788. package/dist/resources/customers.js.map +1 -0
  789. package/dist/resources/deploymentBranding.cjs +9 -0
  790. package/dist/resources/deploymentBranding.cjs.map +1 -0
  791. package/dist/resources/deploymentBranding.d.cts +51 -0
  792. package/dist/resources/deploymentBranding.d.ts +51 -0
  793. package/dist/resources/deploymentBranding.js +9 -0
  794. package/dist/resources/deploymentBranding.js.map +1 -0
  795. package/dist/resources/disputes.cjs +7 -0
  796. package/dist/resources/disputes.cjs.map +1 -0
  797. package/dist/resources/disputes.d.cts +157 -0
  798. package/dist/resources/disputes.d.ts +157 -0
  799. package/dist/resources/disputes.js +7 -0
  800. package/dist/resources/disputes.js.map +1 -0
  801. package/dist/resources/ephemeralKeys.cjs +7 -0
  802. package/dist/resources/ephemeralKeys.cjs.map +1 -0
  803. package/dist/resources/ephemeralKeys.d.cts +43 -0
  804. package/dist/resources/ephemeralKeys.d.ts +43 -0
  805. package/dist/resources/ephemeralKeys.js +7 -0
  806. package/dist/resources/ephemeralKeys.js.map +1 -0
  807. package/dist/resources/events.cjs +7 -0
  808. package/dist/resources/events.cjs.map +1 -0
  809. package/dist/resources/events.d.cts +48 -0
  810. package/dist/resources/events.d.ts +48 -0
  811. package/dist/resources/events.js +7 -0
  812. package/dist/resources/events.js.map +1 -0
  813. package/dist/resources/export.cjs +7 -0
  814. package/dist/resources/export.cjs.map +1 -0
  815. package/dist/resources/export.d.cts +165 -0
  816. package/dist/resources/export.d.ts +165 -0
  817. package/dist/resources/export.js +7 -0
  818. package/dist/resources/export.js.map +1 -0
  819. package/dist/resources/externalRecords.cjs +7 -0
  820. package/dist/resources/externalRecords.cjs.map +1 -0
  821. package/dist/resources/externalRecords.d.cts +53 -0
  822. package/dist/resources/externalRecords.d.ts +53 -0
  823. package/dist/resources/externalRecords.js +7 -0
  824. package/dist/resources/externalRecords.js.map +1 -0
  825. package/dist/resources/featureMatrix.cjs +7 -0
  826. package/dist/resources/featureMatrix.cjs.map +1 -0
  827. package/dist/resources/featureMatrix.d.cts +24 -0
  828. package/dist/resources/featureMatrix.d.ts +24 -0
  829. package/dist/resources/featureMatrix.js +7 -0
  830. package/dist/resources/featureMatrix.js.map +1 -0
  831. package/dist/resources/fees.cjs +9 -0
  832. package/dist/resources/fees.cjs.map +1 -0
  833. package/dist/resources/fees.d.cts +96 -0
  834. package/dist/resources/fees.d.ts +96 -0
  835. package/dist/resources/fees.js +9 -0
  836. package/dist/resources/fees.js.map +1 -0
  837. package/dist/resources/files.cjs +7 -0
  838. package/dist/resources/files.cjs.map +1 -0
  839. package/dist/resources/files.d.cts +17 -0
  840. package/dist/resources/files.d.ts +17 -0
  841. package/dist/resources/files.js +7 -0
  842. package/dist/resources/files.js.map +1 -0
  843. package/dist/resources/forex.cjs +7 -0
  844. package/dist/resources/forex.cjs.map +1 -0
  845. package/dist/resources/forex.d.cts +15 -0
  846. package/dist/resources/forex.d.ts +15 -0
  847. package/dist/resources/forex.js +7 -0
  848. package/dist/resources/forex.js.map +1 -0
  849. package/dist/resources/identityVerifications.cjs +7 -0
  850. package/dist/resources/identityVerifications.cjs.map +1 -0
  851. package/dist/resources/identityVerifications.d.cts +220 -0
  852. package/dist/resources/identityVerifications.d.ts +220 -0
  853. package/dist/resources/identityVerifications.js +7 -0
  854. package/dist/resources/identityVerifications.js.map +1 -0
  855. package/dist/resources/industries.cjs +7 -0
  856. package/dist/resources/industries.cjs.map +1 -0
  857. package/dist/resources/industries.d.cts +88 -0
  858. package/dist/resources/industries.d.ts +88 -0
  859. package/dist/resources/industries.js +7 -0
  860. package/dist/resources/industries.js.map +1 -0
  861. package/dist/resources/invoiceSettings.cjs +7 -0
  862. package/dist/resources/invoiceSettings.cjs.map +1 -0
  863. package/dist/resources/invoiceSettings.d.cts +131 -0
  864. package/dist/resources/invoiceSettings.d.ts +131 -0
  865. package/dist/resources/invoiceSettings.js +7 -0
  866. package/dist/resources/invoiceSettings.js.map +1 -0
  867. package/dist/resources/invoices.cjs +7 -0
  868. package/dist/resources/invoices.cjs.map +1 -0
  869. package/dist/resources/invoices.d.cts +160 -0
  870. package/dist/resources/invoices.d.ts +160 -0
  871. package/dist/resources/invoices.js +7 -0
  872. package/dist/resources/invoices.js.map +1 -0
  873. package/dist/resources/live.cjs +13 -0
  874. package/dist/resources/live.cjs.map +1 -0
  875. package/dist/resources/live.d.cts +92 -0
  876. package/dist/resources/live.d.ts +92 -0
  877. package/dist/resources/live.js +13 -0
  878. package/dist/resources/live.js.map +1 -0
  879. package/dist/resources/mandates.cjs +7 -0
  880. package/dist/resources/mandates.cjs.map +1 -0
  881. package/dist/resources/mandates.d.cts +33 -0
  882. package/dist/resources/mandates.d.ts +33 -0
  883. package/dist/resources/mandates.js +7 -0
  884. package/dist/resources/mandates.js.map +1 -0
  885. package/dist/resources/merchantAccounts.cjs +7 -0
  886. package/dist/resources/merchantAccounts.cjs.map +1 -0
  887. package/dist/resources/merchantAccounts.d.cts +23 -0
  888. package/dist/resources/merchantAccounts.d.ts +23 -0
  889. package/dist/resources/merchantAccounts.js +7 -0
  890. package/dist/resources/merchantAccounts.js.map +1 -0
  891. package/dist/resources/messageTemplates.cjs +7 -0
  892. package/dist/resources/messageTemplates.cjs.map +1 -0
  893. package/dist/resources/messageTemplates.d.cts +48 -0
  894. package/dist/resources/messageTemplates.d.ts +48 -0
  895. package/dist/resources/messageTemplates.js +7 -0
  896. package/dist/resources/messageTemplates.js.map +1 -0
  897. package/dist/resources/operationLimits.cjs +7 -0
  898. package/dist/resources/operationLimits.cjs.map +1 -0
  899. package/dist/resources/operationLimits.d.cts +122 -0
  900. package/dist/resources/operationLimits.d.ts +122 -0
  901. package/dist/resources/operationLimits.js +7 -0
  902. package/dist/resources/operationLimits.js.map +1 -0
  903. package/dist/resources/paymentLinks.cjs +7 -0
  904. package/dist/resources/paymentLinks.cjs.map +1 -0
  905. package/dist/resources/paymentLinks.d.cts +42 -0
  906. package/dist/resources/paymentLinks.d.ts +42 -0
  907. package/dist/resources/paymentLinks.js +7 -0
  908. package/dist/resources/paymentLinks.js.map +1 -0
  909. package/dist/resources/paymentMethods.cjs +7 -0
  910. package/dist/resources/paymentMethods.cjs.map +1 -0
  911. package/dist/resources/paymentMethods.d.cts +172 -0
  912. package/dist/resources/paymentMethods.d.ts +172 -0
  913. package/dist/resources/paymentMethods.js +7 -0
  914. package/dist/resources/paymentMethods.js.map +1 -0
  915. package/dist/resources/payments.cjs +7 -0
  916. package/dist/resources/payments.cjs.map +1 -0
  917. package/dist/resources/payments.d.cts +509 -0
  918. package/dist/resources/payments.d.ts +509 -0
  919. package/dist/resources/payments.js +7 -0
  920. package/dist/resources/payments.js.map +1 -0
  921. package/dist/resources/payoutDestinations.cjs +7 -0
  922. package/dist/resources/payoutDestinations.cjs.map +1 -0
  923. package/dist/resources/payoutDestinations.d.cts +122 -0
  924. package/dist/resources/payoutDestinations.d.ts +122 -0
  925. package/dist/resources/payoutDestinations.js +7 -0
  926. package/dist/resources/payoutDestinations.js.map +1 -0
  927. package/dist/resources/payouts.cjs +7 -0
  928. package/dist/resources/payouts.cjs.map +1 -0
  929. package/dist/resources/payouts.d.cts +86 -0
  930. package/dist/resources/payouts.d.ts +86 -0
  931. package/dist/resources/payouts.js +7 -0
  932. package/dist/resources/payouts.js.map +1 -0
  933. package/dist/resources/paypalDisputes.cjs +7 -0
  934. package/dist/resources/paypalDisputes.cjs.map +1 -0
  935. package/dist/resources/paypalDisputes.d.cts +25 -0
  936. package/dist/resources/paypalDisputes.d.ts +25 -0
  937. package/dist/resources/paypalDisputes.js +7 -0
  938. package/dist/resources/paypalDisputes.js.map +1 -0
  939. package/dist/resources/persons.cjs +7 -0
  940. package/dist/resources/persons.cjs.map +1 -0
  941. package/dist/resources/persons.d.cts +58 -0
  942. package/dist/resources/persons.d.ts +58 -0
  943. package/dist/resources/persons.js +7 -0
  944. package/dist/resources/persons.js.map +1 -0
  945. package/dist/resources/poll.cjs +7 -0
  946. package/dist/resources/poll.cjs.map +1 -0
  947. package/dist/resources/poll.d.cts +12 -0
  948. package/dist/resources/poll.d.ts +12 -0
  949. package/dist/resources/poll.js +7 -0
  950. package/dist/resources/poll.js.map +1 -0
  951. package/dist/resources/processorCosts.cjs +7 -0
  952. package/dist/resources/processorCosts.cjs.map +1 -0
  953. package/dist/resources/processorCosts.d.cts +102 -0
  954. package/dist/resources/processorCosts.d.ts +102 -0
  955. package/dist/resources/processorCosts.js +7 -0
  956. package/dist/resources/processorCosts.js.map +1 -0
  957. package/dist/resources/processorImports.cjs +11 -0
  958. package/dist/resources/processorImports.cjs.map +1 -0
  959. package/dist/resources/processorImports.d.cts +96 -0
  960. package/dist/resources/processorImports.d.ts +96 -0
  961. package/dist/resources/processorImports.js +11 -0
  962. package/dist/resources/processorImports.js.map +1 -0
  963. package/dist/resources/products.cjs +7 -0
  964. package/dist/resources/products.cjs.map +1 -0
  965. package/dist/resources/products.d.cts +347 -0
  966. package/dist/resources/products.d.ts +347 -0
  967. package/dist/resources/products.js +7 -0
  968. package/dist/resources/products.js.map +1 -0
  969. package/dist/resources/profileAcquirers.cjs +7 -0
  970. package/dist/resources/profileAcquirers.cjs.map +1 -0
  971. package/dist/resources/profileAcquirers.d.cts +13 -0
  972. package/dist/resources/profileAcquirers.d.ts +13 -0
  973. package/dist/resources/profileAcquirers.js +7 -0
  974. package/dist/resources/profileAcquirers.js.map +1 -0
  975. package/dist/resources/profiles.cjs +7 -0
  976. package/dist/resources/profiles.cjs.map +1 -0
  977. package/dist/resources/profiles.d.cts +65 -0
  978. package/dist/resources/profiles.d.ts +65 -0
  979. package/dist/resources/profiles.js +7 -0
  980. package/dist/resources/profiles.js.map +1 -0
  981. package/dist/resources/projects.cjs +7 -0
  982. package/dist/resources/projects.cjs.map +1 -0
  983. package/dist/resources/projects.d.cts +131 -0
  984. package/dist/resources/projects.d.ts +131 -0
  985. package/dist/resources/projects.js +7 -0
  986. package/dist/resources/projects.js.map +1 -0
  987. package/dist/resources/refunds.cjs +7 -0
  988. package/dist/resources/refunds.cjs.map +1 -0
  989. package/dist/resources/refunds.d.cts +118 -0
  990. package/dist/resources/refunds.d.ts +118 -0
  991. package/dist/resources/refunds.js +7 -0
  992. package/dist/resources/refunds.js.map +1 -0
  993. package/dist/resources/regions.cjs +7 -0
  994. package/dist/resources/regions.cjs.map +1 -0
  995. package/dist/resources/regions.d.cts +32 -0
  996. package/dist/resources/regions.d.ts +32 -0
  997. package/dist/resources/regions.js +7 -0
  998. package/dist/resources/regions.js.map +1 -0
  999. package/dist/resources/relay.cjs +7 -0
  1000. package/dist/resources/relay.cjs.map +1 -0
  1001. package/dist/resources/relay.d.cts +13 -0
  1002. package/dist/resources/relay.d.ts +13 -0
  1003. package/dist/resources/relay.js +7 -0
  1004. package/dist/resources/relay.js.map +1 -0
  1005. package/dist/resources/risk.cjs +9 -0
  1006. package/dist/resources/risk.cjs.map +1 -0
  1007. package/dist/resources/risk.d.cts +67 -0
  1008. package/dist/resources/risk.d.ts +67 -0
  1009. package/dist/resources/risk.js +9 -0
  1010. package/dist/resources/risk.js.map +1 -0
  1011. package/dist/resources/routing.cjs +7 -0
  1012. package/dist/resources/routing.cjs.map +1 -0
  1013. package/dist/resources/routing.d.cts +526 -0
  1014. package/dist/resources/routing.d.ts +526 -0
  1015. package/dist/resources/routing.js +7 -0
  1016. package/dist/resources/routing.js.map +1 -0
  1017. package/dist/resources/search.cjs +7 -0
  1018. package/dist/resources/search.cjs.map +1 -0
  1019. package/dist/resources/search.d.cts +59 -0
  1020. package/dist/resources/search.d.ts +59 -0
  1021. package/dist/resources/search.js +7 -0
  1022. package/dist/resources/search.js.map +1 -0
  1023. package/dist/resources/sellToRestrictions.cjs +7 -0
  1024. package/dist/resources/sellToRestrictions.cjs.map +1 -0
  1025. package/dist/resources/sellToRestrictions.d.cts +99 -0
  1026. package/dist/resources/sellToRestrictions.d.ts +99 -0
  1027. package/dist/resources/sellToRestrictions.js +7 -0
  1028. package/dist/resources/sellToRestrictions.js.map +1 -0
  1029. package/dist/resources/settings.cjs +7 -0
  1030. package/dist/resources/settings.cjs.map +1 -0
  1031. package/dist/resources/settings.d.cts +36 -0
  1032. package/dist/resources/settings.d.ts +36 -0
  1033. package/dist/resources/settings.js +7 -0
  1034. package/dist/resources/settings.js.map +1 -0
  1035. package/dist/resources/settlement.cjs +9 -0
  1036. package/dist/resources/settlement.cjs.map +1 -0
  1037. package/dist/resources/settlement.d.cts +297 -0
  1038. package/dist/resources/settlement.d.ts +297 -0
  1039. package/dist/resources/settlement.js +9 -0
  1040. package/dist/resources/settlement.js.map +1 -0
  1041. package/dist/resources/shopLabels.cjs +7 -0
  1042. package/dist/resources/shopLabels.cjs.map +1 -0
  1043. package/dist/resources/shopLabels.d.cts +56 -0
  1044. package/dist/resources/shopLabels.d.ts +56 -0
  1045. package/dist/resources/shopLabels.js +7 -0
  1046. package/dist/resources/shopLabels.js.map +1 -0
  1047. package/dist/resources/shops.cjs +7 -0
  1048. package/dist/resources/shops.cjs.map +1 -0
  1049. package/dist/resources/shops.d.cts +196 -0
  1050. package/dist/resources/shops.d.ts +196 -0
  1051. package/dist/resources/shops.js +7 -0
  1052. package/dist/resources/shops.js.map +1 -0
  1053. package/dist/resources/stripeConnect.cjs +7 -0
  1054. package/dist/resources/stripeConnect.cjs.map +1 -0
  1055. package/dist/resources/stripeConnect.d.cts +19 -0
  1056. package/dist/resources/stripeConnect.d.ts +19 -0
  1057. package/dist/resources/stripeConnect.js +7 -0
  1058. package/dist/resources/stripeConnect.js.map +1 -0
  1059. package/dist/resources/subscriptions.cjs +7 -0
  1060. package/dist/resources/subscriptions.cjs.map +1 -0
  1061. package/dist/resources/subscriptions.d.cts +219 -0
  1062. package/dist/resources/subscriptions.d.ts +219 -0
  1063. package/dist/resources/subscriptions.js +7 -0
  1064. package/dist/resources/subscriptions.js.map +1 -0
  1065. package/dist/resources/support.cjs +7 -0
  1066. package/dist/resources/support.cjs.map +1 -0
  1067. package/dist/resources/support.d.cts +51 -0
  1068. package/dist/resources/support.d.ts +51 -0
  1069. package/dist/resources/support.js +7 -0
  1070. package/dist/resources/support.js.map +1 -0
  1071. package/dist/resources/threeDsRules.cjs +7 -0
  1072. package/dist/resources/threeDsRules.cjs.map +1 -0
  1073. package/dist/resources/threeDsRules.d.cts +12 -0
  1074. package/dist/resources/threeDsRules.d.ts +12 -0
  1075. package/dist/resources/threeDsRules.js +7 -0
  1076. package/dist/resources/threeDsRules.js.map +1 -0
  1077. package/dist/resources/users.cjs +7 -0
  1078. package/dist/resources/users.cjs.map +1 -0
  1079. package/dist/resources/users.d.cts +696 -0
  1080. package/dist/resources/users.d.ts +696 -0
  1081. package/dist/resources/users.js +7 -0
  1082. package/dist/resources/users.js.map +1 -0
  1083. package/dist/resources/vatRates.cjs +7 -0
  1084. package/dist/resources/vatRates.cjs.map +1 -0
  1085. package/dist/resources/vatRates.d.cts +24 -0
  1086. package/dist/resources/vatRates.d.ts +24 -0
  1087. package/dist/resources/vatRates.js +7 -0
  1088. package/dist/resources/vatRates.js.map +1 -0
  1089. package/dist/resources/verification.cjs +7 -0
  1090. package/dist/resources/verification.cjs.map +1 -0
  1091. package/dist/resources/verification.d.cts +13 -0
  1092. package/dist/resources/verification.d.ts +13 -0
  1093. package/dist/resources/verification.js +7 -0
  1094. package/dist/resources/verification.js.map +1 -0
  1095. package/dist/resources/webhooks.cjs +11 -0
  1096. package/dist/resources/webhooks.cjs.map +1 -0
  1097. package/dist/resources/webhooks.d.cts +145 -0
  1098. package/dist/resources/webhooks.d.ts +145 -0
  1099. package/dist/resources/webhooks.js +11 -0
  1100. package/dist/resources/webhooks.js.map +1 -0
  1101. package/dist/resources/whopResolutionCases.cjs +7 -0
  1102. package/dist/resources/whopResolutionCases.cjs.map +1 -0
  1103. package/dist/resources/whopResolutionCases.d.cts +28 -0
  1104. package/dist/resources/whopResolutionCases.d.ts +28 -0
  1105. package/dist/resources/whopResolutionCases.js +7 -0
  1106. package/dist/resources/whopResolutionCases.js.map +1 -0
  1107. package/dist/types-BEuEdvtX.d.cts +4511 -0
  1108. package/dist/types-ewLZOLPZ.d.ts +4511 -0
  1109. package/dist/types.cjs +1 -0
  1110. package/dist/types.cjs.map +1 -0
  1111. package/dist/{index-Dcy3Pwsx.d.cts → types.d.cts} +595 -11014
  1112. package/dist/{index-Dcy3Pwsx.d.ts → types.d.ts} +595 -11014
  1113. package/dist/types.js +1 -0
  1114. package/dist/types.js.map +1 -0
  1115. package/package.json +11 -1
  1116. package/dist/chunk-JJE7PY3K.js +0 -17987
  1117. package/dist/chunk-JJE7PY3K.js.map +0 -1
@@ -0,0 +1,1741 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunkB2TCNGC2cjs = require('./chunk-B2TCNGC2.cjs');
4
+
5
+
6
+ var _chunkTMAJE5P2cjs = require('./chunk-TMAJE5P2.cjs');
7
+
8
+
9
+ var _chunk34PC72O7cjs = require('./chunk-34PC72O7.cjs');
10
+
11
+
12
+ var _chunkKJDMNF2Tcjs = require('./chunk-KJDMNF2T.cjs');
13
+
14
+
15
+ var _chunkV47G7P6Lcjs = require('./chunk-V47G7P6L.cjs');
16
+
17
+ // src/internal/resources/adminPortal.ts
18
+ var AdminPortal = class {
19
+ constructor(request) {
20
+ this.request = request;
21
+ }
22
+ /** Read refund treatment and the scope supplying its effective value. */
23
+ async getRefundVolume(merchantId, query = {}) {
24
+ return this.request(
25
+ "GET",
26
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/refund-volume`,
27
+ {
28
+ query: { ...query }
29
+ }
30
+ );
31
+ }
32
+ /** Change future monthly tier snapshots; existing snapshots and statement lines retain their prices. */
33
+ async updateRefundVolume(merchantId, body, query = {}) {
34
+ return this.request(
35
+ "PUT",
36
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/refund-volume`,
37
+ {
38
+ query: { ...query },
39
+ body
40
+ }
41
+ );
42
+ }
43
+ /** Read whether refunds return their share of the platform fee, and the scope supplying it. */
44
+ async getPlatformFeeReturn(merchantId, query = {}) {
45
+ return this.request(
46
+ "GET",
47
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/platform-fee-return`,
48
+ {
49
+ query: { ...query }
50
+ }
51
+ );
52
+ }
53
+ /** Change the fee return for refunds that succeed from now on; earlier refunds keep their decision. */
54
+ async updatePlatformFeeReturn(merchantId, body, query = {}) {
55
+ return this.request(
56
+ "PUT",
57
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/platform-fee-return`,
58
+ {
59
+ query: { ...query },
60
+ body
61
+ }
62
+ );
63
+ }
64
+ /** What each successful refund of one payment returned of the platform fee. */
65
+ async listPaymentPlatformFeeReturns(merchantId, paymentId) {
66
+ return this.request(
67
+ "GET",
68
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/transactions/${encodeURIComponent(paymentId)}/platform-fee-returns`
69
+ );
70
+ }
71
+ /**
72
+ * The deployment's merchant roles: shared roles, the roles defined in code,
73
+ * and every merchant's own custom roles. `GET /admin-portal/merchant-roles`
74
+ */
75
+ async listSharedRoles() {
76
+ return this.request("GET", "/admin-portal/merchant-roles");
77
+ }
78
+ /** `GET /admin-portal/merchant-roles/{roleId}` */
79
+ async getSharedRole(roleId) {
80
+ return this.request("GET", `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}`);
81
+ }
82
+ /**
83
+ * Define a role once and offer it to every merchant, or to the ones listed.
84
+ * Offering never assigns it. `POST /admin-portal/merchant-roles`
85
+ */
86
+ async createSharedRole(body) {
87
+ return this.request("POST", "/admin-portal/merchant-roles", { body });
88
+ }
89
+ /**
90
+ * What a change would do, without writing anything. Apply it with
91
+ * `updateSharedRole` and the `version` this returns.
92
+ * `POST /admin-portal/merchant-roles/{roleId}/preview`
93
+ */
94
+ async previewSharedRole(roleId, change) {
95
+ return this.request(
96
+ "POST",
97
+ `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/preview`,
98
+ { body: change }
99
+ );
100
+ }
101
+ /**
102
+ * Apply a reviewed change. A change that takes access away needs
103
+ * `acknowledge_sign_out` and signs out every holder.
104
+ * `PUT /admin-portal/merchant-roles/{roleId}`
105
+ */
106
+ async updateSharedRole(roleId, body) {
107
+ return this.request("PUT", `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}`, {
108
+ body
109
+ });
110
+ }
111
+ /** `POST /admin-portal/merchant-roles/{roleId}/retire/preview` */
112
+ async previewRetireSharedRole(roleId, body = {}) {
113
+ return this.request(
114
+ "POST",
115
+ `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/retire/preview`,
116
+ { body }
117
+ );
118
+ }
119
+ /**
120
+ * Retire a shared role, moving its holders to the replacement.
121
+ * `POST /admin-portal/merchant-roles/{roleId}/retire`
122
+ */
123
+ async retireSharedRole(roleId, body) {
124
+ return this.request(
125
+ "POST",
126
+ `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/retire`,
127
+ { body }
128
+ );
129
+ }
130
+ /**
131
+ * Merchant-specific roles whose holders could move to this shared role, and
132
+ * what each move would change. `GET /admin-portal/merchant-roles/{roleId}/consolidation`
133
+ */
134
+ async sharedRoleConsolidationCandidates(roleId) {
135
+ return this.request(
136
+ "GET",
137
+ `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/consolidation`
138
+ );
139
+ }
140
+ /** `POST /admin-portal/merchant-roles/{roleId}/consolidate` */
141
+ async consolidateIntoSharedRole(roleId, body) {
142
+ return this.request(
143
+ "POST",
144
+ `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/consolidate`,
145
+ { body }
146
+ );
147
+ }
148
+ /**
149
+ * One page of merchants. Without `sort_by` the caller's favorite merchants
150
+ * come first; with one, favorites are not moved. Several `billing_status`
151
+ * values match a merchant in any of them. `GET /admin-portal/customers`
152
+ */
153
+ async listCustomers(params) {
154
+ return this.request("GET", "/admin-portal/customers", {
155
+ query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["billing_status"])
156
+ });
157
+ }
158
+ async getCustomer(customerId) {
159
+ return this.request("GET", `/admin-portal/customers/${encodeURIComponent(customerId)}`);
160
+ }
161
+ async listTransactions(params) {
162
+ const query = transactionListQuery(params);
163
+ return this.request("GET", "/admin-portal/transactions", {
164
+ query
165
+ });
166
+ }
167
+ /**
168
+ * Persons of every merchant account, connected accounts included, or of the
169
+ * one merchant named in `merchant_id`. Each row is one merchant's person
170
+ * and names that merchant; persons of two merchants are never merged,
171
+ * whatever they share. `search` is matched at every merchant listed.
172
+ *
173
+ * A `limit` outside 1 to 100, a `search` longer than 320 characters, or
174
+ * `sort_by: 'captured'` without a three-letter `captured_currency` is a
175
+ * `400`.
176
+ *
177
+ * `GET /admin-portal/persons`
178
+ */
179
+ async listPersonsAcrossMerchants(params) {
180
+ if (params === void 0) {
181
+ return this.request("GET", "/admin-portal/persons");
182
+ }
183
+ return this.request("GET", "/admin-portal/persons", { query: params });
184
+ }
185
+ /**
186
+ * One page of ONE merchant's persons: the same query and response as the
187
+ * merchant-facing `persons.list`, admin-authenticated. A person stays one
188
+ * merchant's; `listPersonsAcrossMerchants` lists several merchants' side by
189
+ * side.
190
+ *
191
+ * `GET /admin-portal/persons/{merchantId}`
192
+ */
193
+ async listPersons(merchantId, params) {
194
+ return this.request("GET", adminPersons(merchantId), {
195
+ query: params
196
+ });
197
+ }
198
+ /**
199
+ * One person of a merchant, as the merchant-facing `persons.retrieve`
200
+ * returns it.
201
+ *
202
+ * `GET /admin-portal/persons/{merchantId}/{personId}`
203
+ */
204
+ async getPerson(merchantId, personId, params) {
205
+ return this.request("GET", `${adminPersons(merchantId)}/${encodeURIComponent(personId)}`, {
206
+ query: params
207
+ });
208
+ }
209
+ /**
210
+ * The persons of a merchant that may be the same person as this one, as
211
+ * the merchant-facing `persons.related` returns them.
212
+ *
213
+ * `GET /admin-portal/persons/{merchantId}/{personId}/related`
214
+ */
215
+ async listRelatedPersons(merchantId, personId, params) {
216
+ return this.request(
217
+ "GET",
218
+ `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/related`,
219
+ { query: params }
220
+ );
221
+ }
222
+ /**
223
+ * The person of one payment of a merchant, as the merchant-facing
224
+ * `persons.ofPayment` returns it.
225
+ *
226
+ * `GET /admin-portal/persons/{merchantId}/payment/{paymentId}`
227
+ */
228
+ async getPaymentPerson(merchantId, paymentId, params) {
229
+ return this.request(
230
+ "GET",
231
+ `${adminPersons(merchantId)}/payment/${encodeURIComponent(paymentId)}`,
232
+ { query: params }
233
+ );
234
+ }
235
+ /**
236
+ * Every staff flag of a person, active and removed, newest first, with
237
+ * those of the persons merged into it. A merged person reads as the person
238
+ * it merged into. Staff only; a flag changes no payment.
239
+ *
240
+ * `GET /admin-portal/persons/{merchantId}/{personId}/flags`
241
+ */
242
+ async listPersonFlags(merchantId, personId) {
243
+ return this.request("GET", personFlags(merchantId, personId));
244
+ }
245
+ /**
246
+ * Flags a person for staff. The flag changes no payment and the merchant
247
+ * never sees it. A merged person's flag goes on the person it merged into.
248
+ * A person already flagged is refused with `IR_38` (400); a staff role that
249
+ * may not flag buyers gets a `403`.
250
+ *
251
+ * `POST /admin-portal/persons/{merchantId}/{personId}/flags`
252
+ */
253
+ async flagPerson(merchantId, personId, body) {
254
+ return this.request("POST", personFlags(merchantId, personId), { body });
255
+ }
256
+ /**
257
+ * Replaces an active flag's reason and note at the `version` read. A
258
+ * colleague's newer change, or a removal, since that read is refused with
259
+ * `IR_16` (400) rather than overwritten.
260
+ *
261
+ * `PUT /admin-portal/persons/{merchantId}/{personId}/flags/{flagId}`
262
+ */
263
+ async updatePersonFlag(merchantId, personId, flagId, body) {
264
+ return this.request(
265
+ "PUT",
266
+ `${personFlags(merchantId, personId)}/${encodeURIComponent(flagId)}`,
267
+ { body }
268
+ );
269
+ }
270
+ /**
271
+ * Removes a flag at the `version` read: the flag stops and stays in the
272
+ * history with who removed it and when, which is what this answers. A
273
+ * colleague's change since that read is refused with `IR_16` (400).
274
+ *
275
+ * `DELETE /admin-portal/persons/{merchantId}/{personId}/flags/{flagId}?version=`
276
+ */
277
+ async removePersonFlag(merchantId, personId, flagId, version) {
278
+ return this.request(
279
+ "DELETE",
280
+ `${personFlags(merchantId, personId)}/${encodeURIComponent(flagId)}`,
281
+ { query: { version } }
282
+ );
283
+ }
284
+ /**
285
+ * One page of a merchant's persons with an active flag, newest flag first.
286
+ * A flag on a merged person is listed under the person it merged into, and
287
+ * a person with two active flags is listed once, with the newer one.
288
+ *
289
+ * `GET /admin-portal/persons/{merchantId}/flagged`
290
+ */
291
+ async listFlaggedPersons(merchantId, params) {
292
+ if (params === void 0) {
293
+ return this.request("GET", `${adminPersons(merchantId)}/flagged`);
294
+ }
295
+ return this.request("GET", `${adminPersons(merchantId)}/flagged`, {
296
+ query: params
297
+ });
298
+ }
299
+ /**
300
+ * Whether each of 1 to 100 persons of a merchant is flagged, one answer
301
+ * per asked person in the order asked. A merged person answers for the
302
+ * person it merged into; an unknown person is not flagged. No id, or more
303
+ * than 100, is a `400`.
304
+ *
305
+ * `GET /admin-portal/persons/{merchantId}/flag-status?person_ids=`
306
+ */
307
+ async personFlagStatus(merchantId, personIds) {
308
+ return this.request("GET", `${adminPersons(merchantId)}/flag-status`, {
309
+ query: { person_ids: personIds.join(",") }
310
+ });
311
+ }
312
+ /**
313
+ * Persons flagged by staff at other merchants who share an email address
314
+ * or a device id with this person's 100 most recent payments, each once,
315
+ * newest flag first. A card, an IP address or device traits never match.
316
+ * A hint only: the persons stay separate and nothing is written.
317
+ *
318
+ * `GET /admin-portal/persons/{merchantId}/{personId}/flagged-elsewhere`
319
+ */
320
+ async listFlaggedElsewhere(merchantId, personId) {
321
+ return this.request(
322
+ "GET",
323
+ `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/flagged-elsewhere`
324
+ );
325
+ }
326
+ async exportTransactions(params, options) {
327
+ return _chunkKJDMNF2Tcjs.runExport.call(void 0,
328
+ this.request,
329
+ "GET",
330
+ "/admin-portal/transactions/export",
331
+ { query: transactionListQuery(params) },
332
+ options
333
+ );
334
+ }
335
+ async exportTransactionLines(params, options) {
336
+ return _chunkKJDMNF2Tcjs.runExport.call(void 0,
337
+ this.request,
338
+ "GET",
339
+ "/admin-portal/transactions/export/lines",
340
+ { query: transactionListQuery(params) },
341
+ options
342
+ );
343
+ }
344
+ /**
345
+ * Full detail for a single transaction of ANY merchant — the same
346
+ * `PaymentResponse` the merchant `payments.retrieve` returns, with what only
347
+ * staff see beside it (`person_flagged`, `flagged_elsewhere`). Admin-scoped:
348
+ * the JWT (or admin API key) does not need to belong to the payment's
349
+ * merchant; the backend resolves the owning merchant and reads it read-only
350
+ * (no connector sync).
351
+ */
352
+ async getTransaction(paymentId) {
353
+ return this.request("GET", `/admin-portal/transactions/${encodeURIComponent(paymentId)}`);
354
+ }
355
+ /**
356
+ * A payment's buyer risk evaluations, newest first, across every merchant:
357
+ * the same answer as the merchant's `payments.buyerRisk()`.
358
+ *
359
+ * `GET /admin-portal/transactions/{paymentId}/buyer-risk`
360
+ */
361
+ async getTransactionBuyerRisk(paymentId) {
362
+ return this.request(
363
+ "GET",
364
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/buyer-risk`
365
+ );
366
+ }
367
+ /**
368
+ * A payment's connection checks, newest first, across every merchant: the
369
+ * same answer as the merchant's `identityVerifications.connectionChecks()`.
370
+ *
371
+ * `GET /admin-portal/transactions/{paymentId}/connection-checks`
372
+ */
373
+ async getTransactionConnectionChecks(paymentId) {
374
+ return this.request(
375
+ "GET",
376
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/connection-checks`
377
+ );
378
+ }
379
+ /**
380
+ * Every account that rates buyer addresses over the last `days` days: its
381
+ * merchant's and its shop's name, its provider and label, whether it can
382
+ * check at all and which credentials it has, and its checks per environment
383
+ * (counts and error rate, anonymising connections, failures by reason,
384
+ * ratings by risk level, finished checks per day, the provider's answer
385
+ * time, its latest check and latest rating). The flat counts stay the live
386
+ * and test totals.
387
+ *
388
+ * `GET /admin-portal/connection-checks`
389
+ */
390
+ async connectionCheckUsage(params = {}) {
391
+ return this.request("GET", "/admin-portal/connection-checks", {
392
+ query: params
393
+ });
394
+ }
395
+ /**
396
+ * The same overview over the last 7 days.
397
+ *
398
+ * @deprecated Use `connectionCheckUsage`, which takes a period.
399
+ * `GET /admin-portal/connection-checks`
400
+ */
401
+ async getConnectionCheckUsage() {
402
+ return this.request("GET", "/admin-portal/connection-checks");
403
+ }
404
+ /**
405
+ * The checks behind one number of the connection check overview, with their
406
+ * payments, one page at a time. With the same `days` and filters a list's
407
+ * `total` is the count it was opened from. A row carries nothing about the
408
+ * buyer, the checked address included.
409
+ *
410
+ * `GET /admin-portal/connection-checks/payments`
411
+ */
412
+ async connectionCheckPayments(params = {}) {
413
+ return this.request("GET", "/admin-portal/connection-checks/payments", {
414
+ query: params
415
+ });
416
+ }
417
+ /** The same frozen purchase lines available on the merchant payment read. */
418
+ async getTransactionProductLines(paymentId) {
419
+ return this.request(
420
+ "GET",
421
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/product-lines`
422
+ );
423
+ }
424
+ /**
425
+ * Per-attempt history (retries across connectors, decline reasons) for a
426
+ * single transaction of ANY merchant.
427
+ */
428
+ async getTransactionAttempts(paymentId) {
429
+ return this.request(
430
+ "GET",
431
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/attempts`
432
+ );
433
+ }
434
+ /**
435
+ * Status timeline (intent / attempt / refund / dispute transitions) for a
436
+ * single transaction of ANY merchant. `complete: false` marks timelines
437
+ * partially reconstructed from current records.
438
+ */
439
+ async getTransactionStatusHistory(paymentId) {
440
+ return this.request(
441
+ "GET",
442
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/status-history`
443
+ );
444
+ }
445
+ /**
446
+ * The traffic of a transaction of ANY merchant: provider requests, provider
447
+ * webhooks and shop webhooks, oldest first, without payloads. Same shape as
448
+ * `payments.listLogs`.
449
+ */
450
+ async getTransactionLogs(paymentId) {
451
+ return this.request("GET", `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs`);
452
+ }
453
+ /** One provider request of a transaction of ANY merchant, with its masked payloads. */
454
+ async getTransactionLogConnectorCall(paymentId, callId) {
455
+ return this.request(
456
+ "GET",
457
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/connector-calls/${encodeURIComponent(callId)}`
458
+ );
459
+ }
460
+ /** One provider webhook of a transaction of ANY merchant, with its masked headers and body. */
461
+ async getTransactionLogIncomingWebhook(paymentId, eventId) {
462
+ return this.request(
463
+ "GET",
464
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/incoming-webhooks/${encodeURIComponent(eventId)}`
465
+ );
466
+ }
467
+ /** Every delivery attempt of one shop webhook of a transaction of ANY merchant. */
468
+ async getTransactionLogOutgoingWebhook(paymentId, initialAttemptId) {
469
+ return this.request(
470
+ "GET",
471
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/outgoing-webhooks/${encodeURIComponent(initialAttemptId)}`
472
+ );
473
+ }
474
+ /**
475
+ * The invoices and credit notes issued for a transaction of ANY merchant,
476
+ * each its own row, newest first. At most 100 per page.
477
+ * `GET /admin-portal/transactions/{paymentId}/invoices`
478
+ */
479
+ async getTransactionInvoices(paymentId, params) {
480
+ return this.request(
481
+ "GET",
482
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/invoices`,
483
+ { query: params === void 0 ? void 0 : { ...params } }
484
+ );
485
+ }
486
+ /**
487
+ * One invoice of ANY merchant as a PDF: the stored copy of an issued
488
+ * document, a live render of a draft, the snapshot under a VOIDED banner for
489
+ * a voided one.
490
+ * `GET /admin-portal/invoices/{invoiceId}/pdf`
491
+ */
492
+ async downloadInvoicePdf(invoiceId) {
493
+ return this.request("GET", `/admin-portal/invoices/${encodeURIComponent(invoiceId)}/pdf`, {
494
+ responseType: "blob"
495
+ });
496
+ }
497
+ /**
498
+ * Refunds for a single transaction of ANY merchant.
499
+ */
500
+ async getTransactionRefunds(paymentId) {
501
+ return this.request(
502
+ "GET",
503
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/refunds`
504
+ );
505
+ }
506
+ /**
507
+ * The refund requests buyers raised from the customer portal about a single
508
+ * transaction of ANY merchant, newest first, one page at a time
509
+ * (`total_count` counts them all). Read-only.
510
+ * `GET /admin-portal/transactions/{paymentId}/refund-requests`
511
+ */
512
+ async getTransactionRefundRequests(paymentId, params) {
513
+ return this.request(
514
+ "GET",
515
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/refund-requests`,
516
+ { query: params === void 0 ? void 0 : { ...params } }
517
+ );
518
+ }
519
+ /**
520
+ * Refunds of ANY merchant mirrored from a connector webhook at a
521
+ * non-terminal status that no sync can advance. Newest first unless
522
+ * `sort_by` says otherwise. Several `connector`, `status` or `sync_reason`
523
+ * values match a refund with any of them.
524
+ */
525
+ async listUnresolvedRefunds(params) {
526
+ return this.request("GET", "/admin-portal/refunds/unresolved", {
527
+ query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["connector", "status", "sync_reason"])
528
+ });
529
+ }
530
+ // --- Buyer evidence review --------------------------------------------------
531
+ /**
532
+ * DeloPay's review queue of buyers' evidence, the nearest target first
533
+ * unless `sort_by` says otherwise, across merchants unless `merchant_id` or
534
+ * `profile_id` narrows it. Several `state` values match a case in any of
535
+ * them.
536
+ */
537
+ async listBuyerEvidence(params) {
538
+ return this.request("GET", "/admin-portal/buyer-evidence", {
539
+ query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["state"])
540
+ });
541
+ }
542
+ /** Chargeback prevention connections across merchants, or of one merchant. */
543
+ async listChargebackPreventionConnections(params) {
544
+ return this.request("GET", "/admin-portal/chargeback-prevention/connections", {
545
+ query: params
546
+ });
547
+ }
548
+ /** Chargeback prevention cases across merchants, or of one merchant. */
549
+ async listChargebackPreventionCases(params) {
550
+ const { merchant_id, ...filters } = _nullishCoalesce(params, () => ( {}));
551
+ return this.request("GET", "/admin-portal/chargeback-prevention/cases", {
552
+ query: { ..._chunk34PC72O7cjs.preventionCaseQuery.call(void 0, filters), ...merchant_id ? { merchant_id } : {} }
553
+ });
554
+ }
555
+ /** Chargeback prevention refund rules across merchants, or of one merchant. */
556
+ async listChargebackPreventionRefundRules(params) {
557
+ return this.request("GET", "/admin-portal/chargeback-prevention/refund-rules", {
558
+ query: params
559
+ });
560
+ }
561
+ /**
562
+ * Turn a merchant's refund rule off. Its settings are kept, and what it
563
+ * already did is still settled and reported.
564
+ */
565
+ async stopChargebackPreventionRefundRule(body) {
566
+ return this.request("POST", "/admin-portal/chargeback-prevention/refund-rules/disable", {
567
+ body
568
+ });
569
+ }
570
+ /** What refund rules did, across merchants or for one merchant. */
571
+ async listChargebackPreventionRefundActions(params) {
572
+ return this.request("GET", "/admin-portal/chargeback-prevention/refund-actions", {
573
+ query: params
574
+ });
575
+ }
576
+ /** One chargeback prevention case of any merchant, with its history. */
577
+ async getChargebackPreventionCase(caseId) {
578
+ return this.request(
579
+ "GET",
580
+ `/admin-portal/chargeback-prevention/cases/${encodeURIComponent(caseId)}`
581
+ );
582
+ }
583
+ /** One case's evidence with every step and file, internal ones included. */
584
+ async getBuyerEvidence(evidenceId) {
585
+ return this.request("GET", `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}`);
586
+ }
587
+ /** Download a file of a case's evidence. */
588
+ async downloadBuyerEvidenceFile(evidenceId, fileId) {
589
+ return this.request(
590
+ "GET",
591
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/files/${encodeURIComponent(fileId)}`,
592
+ { responseType: "blob" }
593
+ );
594
+ }
595
+ /**
596
+ * Ask the buyer for more, by a cut-off. Refused once a result has closed
597
+ * the review.
598
+ */
599
+ async requestBuyerEvidenceInformation(evidenceId, params) {
600
+ return this.request(
601
+ "POST",
602
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/information-requests`,
603
+ { body: params }
604
+ );
605
+ }
606
+ /** An answer the buyer sees. */
607
+ async replyToBuyerEvidence(evidenceId, params) {
608
+ return this.request(
609
+ "POST",
610
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/replies`,
611
+ { body: params }
612
+ );
613
+ }
614
+ /**
615
+ * Record the result, which closes the review. It never refunds a payment
616
+ * and never decides a dispute with the payment provider.
617
+ */
618
+ async reviewBuyerEvidence(evidenceId, params) {
619
+ return this.request(
620
+ "POST",
621
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/reviews`,
622
+ { body: params }
623
+ );
624
+ }
625
+ /** Move the buyer's cut-off, with a reason the buyer sees. */
626
+ async moveBuyerEvidenceDeadline(evidenceId, params) {
627
+ return this.request(
628
+ "PUT",
629
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/deadline`,
630
+ { body: params }
631
+ );
632
+ }
633
+ /** Make a user responsible for the review: an id, `me`, or `null` for nobody. */
634
+ async assignBuyerEvidence(evidenceId, params) {
635
+ return this.request(
636
+ "PUT",
637
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/reviewer`,
638
+ { body: params }
639
+ );
640
+ }
641
+ /** An internal note, never shown to the buyer. */
642
+ async noteBuyerEvidence(evidenceId, params) {
643
+ return this.request(
644
+ "POST",
645
+ `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/notes`,
646
+ { body: params }
647
+ );
648
+ }
649
+ async analytics(params) {
650
+ return this.request("GET", "/admin-portal/analytics", {
651
+ query: params
652
+ });
653
+ }
654
+ async overviewStats() {
655
+ return this.request("GET", "/admin-portal/overview-stats");
656
+ }
657
+ async paymentAnalytics(params) {
658
+ return this.request("GET", "/admin-portal/payment-analytics", {
659
+ query: params
660
+ });
661
+ }
662
+ /**
663
+ * One drill level of the analytics dashboard: the scope's daily series +
664
+ * processor mix and its direct children's series. Range / metric / donut
665
+ * toggles apply client-side; only a drill (passing merchant_id / project_id
666
+ * / shop_id) fetches the next level.
667
+ */
668
+ async analyticsScope(params) {
669
+ return this.request("GET", "/admin-portal/analytics/scope", {
670
+ query: params
671
+ });
672
+ }
673
+ /**
674
+ * The operators' own analytics exclusions, oldest first, with the payments
675
+ * each one matched in the lookback window. They change the admin's
676
+ * analytics only; a merchant's own rules never change the admin's figures.
677
+ * `GET /admin-portal/analytics/exclusions`
678
+ */
679
+ async listAnalyticsExclusions() {
680
+ return this.request("GET", "/admin-portal/analytics/exclusions");
681
+ }
682
+ /**
683
+ * Write a new operator rule. Omitting `merchant_id` applies it to every
684
+ * merchant; omitting `surfaces` means **all five**, not none.
685
+ * `POST /admin-portal/analytics/exclusions`
686
+ */
687
+ async createAnalyticsExclusion(rule) {
688
+ return this.request("POST", "/admin-portal/analytics/exclusions", { body: rule });
689
+ }
690
+ /**
691
+ * Replace an operator rule **completely** — send the whole rule, including
692
+ * an explicit `null` for every optional field you mean to clear.
693
+ * `PUT /admin-portal/analytics/exclusions/{id}`
694
+ */
695
+ async updateAnalyticsExclusion(id, rule) {
696
+ return this.request("PUT", `/admin-portal/analytics/exclusions/${encodeURIComponent(id)}`, {
697
+ body: rule
698
+ });
699
+ }
700
+ /**
701
+ * Delete an operator rule. Returns the rule as it was.
702
+ * `DELETE /admin-portal/analytics/exclusions/{id}`
703
+ */
704
+ async deleteAnalyticsExclusion(id) {
705
+ return this.request("DELETE", `/admin-portal/analytics/exclusions/${encodeURIComponent(id)}`);
706
+ }
707
+ /**
708
+ * A merchant's own exclusions, read-only, each with the operator rule that
709
+ * already holds it (`admin_rule_id`).
710
+ * `GET /admin-portal/analytics/exclusions/merchant/{merchant_id}`
711
+ */
712
+ async listMerchantAnalyticsExclusions(merchantId) {
713
+ return this.request(
714
+ "GET",
715
+ `/admin-portal/analytics/exclusions/merchant/${encodeURIComponent(merchantId)}`
716
+ );
717
+ }
718
+ /**
719
+ * Copy some of a merchant's rules into the operators' rules, each scoped to
720
+ * that merchant. A copy is independent of its source; a rule an operator
721
+ * rule already holds is skipped with a reason.
722
+ * `POST /admin-portal/analytics/exclusions/copy`
723
+ */
724
+ async copyAnalyticsExclusions(body) {
725
+ return this.request("POST", "/admin-portal/analytics/exclusions/copy", { body });
726
+ }
727
+ /**
728
+ * Shop comparison: one series per shop over one window, with whole-window
729
+ * and previous-window totals. With `merchant_id`, that merchant's shops;
730
+ * without it, the top `limit` (default 50) shops of every merchant by
731
+ * successful volume, the rest summed into `others`. Same contract as the
732
+ * merchant surface's `analytics.shops`. `GET /admin-portal/analytics/shops`
733
+ */
734
+ async analyticsShops(params = {}) {
735
+ const query = params;
736
+ return this.request("GET", "/admin-portal/analytics/shops", {
737
+ query
738
+ });
739
+ }
740
+ /**
741
+ * Every shop's device intelligence account, with its merchant's and its own
742
+ * name and its assessments per environment over the last `days` days: counts
743
+ * and error rate, failures by reason, finished assessments per day and
744
+ * provider, the last recorded assessment, browser payments against assessed
745
+ * ones, and the payments held for a missing assessment. The error rate counts
746
+ * finished assessments: one still running and a payment naming no buyer are
747
+ * not errors.
748
+ * `GET /admin-portal/device-intelligence`
749
+ */
750
+ async deviceIntelligenceUsage(params = {}) {
751
+ return this.request("GET", "/admin-portal/device-intelligence", {
752
+ query: params
753
+ });
754
+ }
755
+ /**
756
+ * The payments behind one number of the device intelligence overview, one
757
+ * page at a time: the assessments it counts, the payments held for a missing
758
+ * assessment, or the browser payments without a device signal. With the same
759
+ * `days` a list's `total` is the count it was opened from. A row carries
760
+ * nothing about the buyer.
761
+ * `GET /admin-portal/device-intelligence/payments`
762
+ */
763
+ async deviceIntelligencePayments(params = {}) {
764
+ return this.request("GET", "/admin-portal/device-intelligence/payments", {
765
+ query: params
766
+ });
767
+ }
768
+ /**
769
+ * PSP analytics across merchants: the merchant surface's
770
+ * `analytics.connectors`, with `merchant_id` optional (omitted, every
771
+ * merchant, broken down by merchant) and each account's merchant named.
772
+ * `GET /admin-portal/analytics/connectors`
773
+ */
774
+ async analyticsConnectors(params = {}) {
775
+ const query = params;
776
+ return this.request("GET", "/admin-portal/analytics/connectors", {
777
+ query
778
+ });
779
+ }
780
+ /**
781
+ * Device analytics over the canonical client-context observation per
782
+ * payment, rooted at all merchants and drillable via `merchant_id` /
783
+ * `project_id` / `shop_id` like `analyticsScope`. Answers 200 with
784
+ * `enabled: false` when the client-context optimisation-use switch is off.
785
+ */
786
+ async analyticsDevices(params) {
787
+ return this.request("GET", "/admin-portal/analytics/devices", {
788
+ query: params
789
+ });
790
+ }
791
+ /**
792
+ * Geo analytics over the canonical client-context observation per payment,
793
+ * rooted at all merchants. `mode` selects the location claim (`ip` default,
794
+ * `billing`).
795
+ */
796
+ async analyticsGeo(params) {
797
+ return this.request("GET", "/admin-portal/analytics/geo", {
798
+ query: params
799
+ });
800
+ }
801
+ /**
802
+ * The recent payments behind one clicked geo target (map country/city or
803
+ * local-hours heatmap cell), rooted at all merchants. Capped at 50 rows,
804
+ * newest first, with the full match count alongside.
805
+ */
806
+ async analyticsGeoTransactions(params) {
807
+ return this.request("GET", "/admin-portal/analytics/geo/transactions", {
808
+ query: params
809
+ });
810
+ }
811
+ /**
812
+ * The recent payments behind one clicked device target (browser/platform
813
+ * family, device-model label or device class), rooted at all merchants.
814
+ * 50 rows per page (`offset` for the next page), newest first.
815
+ */
816
+ async analyticsDeviceTransactions(params) {
817
+ return this.request("GET", "/admin-portal/analytics/devices/transactions", {
818
+ // A discriminated union carries no index signature, so the widening
819
+ // goes via `unknown` — the union is the point.
820
+ query: params
821
+ });
822
+ }
823
+ /**
824
+ * The payments behind one clicked element of the admin payments dashboard
825
+ * (processor / method slice, outcome segment, series bucket or breakdown
826
+ * row), rooted at all merchants. Same contract as the merchant surface's
827
+ * `analytics.scopeTransactions`. `GET /admin-portal/analytics/scope/transactions`
828
+ */
829
+ async analyticsScopeTransactions(params) {
830
+ return this.request("GET", "/admin-portal/analytics/scope/transactions", {
831
+ query: params
832
+ });
833
+ }
834
+ /**
835
+ * Subscription analytics over `subscription` and `invoice`, rooted at all
836
+ * merchants and drillable via `merchant_id` / `project_id` / `shop_id` like
837
+ * `analyticsScope`. The `children` block at the root is the merchant
838
+ * breakdown — there is no separate endpoint for it.
839
+ *
840
+ * Half the figures are **stocks** (a snapshot at the window's end, not a sum
841
+ * over it), so `est_monthly_volume_usd` and `active` can match across a
842
+ * 7-day and a 30-day window while `billed_volume_usd` does not. Day
843
+ * granularity only.
844
+ */
845
+ async analyticsSubscriptions(params) {
846
+ return this.request("GET", "/admin-portal/analytics/subscriptions", {
847
+ query: params
848
+ });
849
+ }
850
+ /**
851
+ * The billing cycles behind one clicked element of the admin subscription
852
+ * dashboard: an invoice outcome, a processor slice on either axis, a plan
853
+ * row, a subscription status, a movement component, a series bucket or a
854
+ * breakdown row. 50 rows per page (`offset` for the next), newest first,
855
+ * with the full match count alongside.
856
+ *
857
+ * A cycle that never reached a payment is listed too — that is what "still
858
+ * unpaid" means — and carries its invoice id as `payment_id` with
859
+ * `invoice_id` set to the same value.
860
+ */
861
+ async analyticsSubscriptionsList(params) {
862
+ return this.request("GET", "/admin-portal/analytics/subscriptions/list", {
863
+ // A discriminated union carries no index signature, so the widening
864
+ // goes via `unknown` — the union is the point, and the query builder
865
+ // only ever reads own enumerable keys.
866
+ query: params
867
+ });
868
+ }
869
+ /**
870
+ * How accurate buyer risk scores were in a period, against what later
871
+ * happened to the payments: fraud, clean, pending and never charged, how
872
+ * well the flagged bands caught the fraud, each band and signal, and the
873
+ * buyers the score stopped who later paid with no fraud. Stores nothing.
874
+ * `GET /admin-portal/buyer-risk/accuracy`
875
+ */
876
+ async buyerRiskAccuracy(params = {}) {
877
+ return this.request("GET", "/admin-portal/buyer-risk/accuracy", {
878
+ query: params
879
+ });
880
+ }
881
+ /**
882
+ * The payments behind one number of {@link AdminPortal.buyerRiskAccuracy}:
883
+ * the payments a signal fired on, those in a band, a flagged × outcome cell,
884
+ * the interventions or the false declines. Paged, sorted and searchable
885
+ * like the analytics drills, and answered in the same shape, with each
886
+ * row's band, score, outcome and applied action.
887
+ * `GET /admin-portal/buyer-risk/accuracy/payments`
888
+ */
889
+ async buyerRiskAccuracyPayments(params = {}) {
890
+ return this.request("GET", "/admin-portal/buyer-risk/accuracy/payments", {
891
+ query: params
892
+ });
893
+ }
894
+ /**
895
+ * Platform billing dashboard: total balance across all ledger accounts (+
896
+ * the net change), top-ups, fees collected, and the day-by-day ledger flow.
897
+ * All amounts are in USD minor units.
898
+ */
899
+ async ledgerAnalytics(params) {
900
+ return this.request("GET", "/admin-portal/ledger-analytics", {
901
+ query: params
902
+ });
903
+ }
904
+ /**
905
+ * Billing profiles no operator listing can reach, and the accounts that may
906
+ * have taken one over.
907
+ *
908
+ * Deleting a merchant account leaves its billing profile — with its
909
+ * balance, its Stripe customer and its saved card — behind, and the
910
+ * Merchants listing enumerates merchant accounts, so such a profile is
911
+ * absent from every operator surface rather than flagged on one. This reads
912
+ * from the billing side instead, so it finds them.
913
+ *
914
+ * Both lists come back complete rather than paged: the healthy answer is two
915
+ * empty arrays, and a truncated answer to *"is the set empty"* would read as
916
+ * a clean bill of health.
917
+ *
918
+ * `adoption_candidates` are candidates, not findings — confirm a row against
919
+ * the audit log before acting on it.
920
+ */
921
+ async orphanedBillingProfiles() {
922
+ return this.request("GET", "/admin-portal/billing/orphaned-profiles");
923
+ }
924
+ /**
925
+ * Retrieve a merchant account via the admin portal. Unlike
926
+ * `merchantAccounts.retrieve`, this route accepts an admin JWT (or admin API
927
+ * key) and does not require the JWT to be scoped to the target merchant.
928
+ */
929
+ async retrieveAccount(merchantId) {
930
+ return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`);
931
+ }
932
+ /**
933
+ * Update a merchant account via the admin portal. Authenticated via admin JWT
934
+ * or admin API key.
935
+ */
936
+ async updateAccount(merchantId, params) {
937
+ return this.request("POST", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`, {
938
+ body: params
939
+ });
940
+ }
941
+ /**
942
+ * Delete a merchant account via the admin portal. Authenticated via admin JWT
943
+ * or admin API key.
944
+ */
945
+ async deleteAccount(merchantId) {
946
+ return this.request("DELETE", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`);
947
+ }
948
+ /**
949
+ * Create a brand-new user attached to the given merchant. The user is
950
+ * marked `is_verified = true` so the admin can hand off credentials
951
+ * immediately — no email round-trip is sent.
952
+ */
953
+ async createUserForMerchant(customerId, body) {
954
+ return this.request("POST", `/admin-portal/customers/${encodeURIComponent(customerId)}/users`, {
955
+ body
956
+ });
957
+ }
958
+ /**
959
+ * Edit a user record. Any subset of fields may be supplied. `role_id`
960
+ * requires `merchant_id`. `password` triggers a password reset (validated
961
+ * against signup policy + JWT blacklist). `reset_2fa` clears TOTP state
962
+ * so the user re-enrolls on next login. `is_active` supports both
963
+ * directions: false soft-disables, true reactivates a soft-disabled user.
964
+ *
965
+ * Throws a `400` with `code === 'UR_66'` when the change would leave a
966
+ * merchant with no administrator — `is_active: false` or `is_verified:
967
+ * false` on, or a `role_id` demoting, the only active user whose role can
968
+ * manage that merchant's users. Nothing is written. `error.data` carries a
969
+ * {@link LastAdministratorRefusal} naming the merchant and which change was
970
+ * refused; render that rather than the generic message.
971
+ */
972
+ async updateUser(userId, body) {
973
+ return this.request("PATCH", `/admin-portal/users/${encodeURIComponent(userId)}`, { body });
974
+ }
975
+ /**
976
+ * One user's account and its health: whether it is active and verified,
977
+ * whether two-factor authentication is set up, when the password last
978
+ * changed, the linked single sign-on providers, the newest successful and
979
+ * failed sign-in, when the user was last seen and how many sessions are
980
+ * live. Lists every membership the user holds in this tenant, invitations
981
+ * and expired ones included, with its role and status. Never returns a
982
+ * credential. `GET /admin-portal/users/{user_id}`
983
+ *
984
+ * Needs an internal role holding `ProfileUserRead`, or the admin API key.
985
+ * A user with no membership in this tenant is a `404`.
986
+ */
987
+ async getUser(userId) {
988
+ return this.request("GET", `/admin-portal/users/${encodeURIComponent(userId)}`);
989
+ }
990
+ /**
991
+ * One user's sign-in history (successes and failures, method, address,
992
+ * location and device), filtered, sorted and paged as
993
+ * `users.listLoginActivity` is. Same access and `404` rule as `getUser`.
994
+ * `GET /admin-portal/users/{user_id}/login-activity`
995
+ */
996
+ async listUserLoginActivity(userId, params) {
997
+ const path = `/admin-portal/users/${encodeURIComponent(userId)}/login-activity`;
998
+ if (params === void 0) {
999
+ return this.request("GET", path);
1000
+ }
1001
+ return this.request("GET", path, {
1002
+ query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["event_type", "auth_method"])
1003
+ });
1004
+ }
1005
+ /**
1006
+ * One user's live sessions: neither signed out nor expired. `is_current`
1007
+ * marks the caller's own session only, when the caller looks at themselves.
1008
+ * Same access and `404` rule as `getUser`.
1009
+ * `GET /admin-portal/users/{user_id}/sessions`
1010
+ */
1011
+ async listUserSessions(userId) {
1012
+ return this.request("GET", `/admin-portal/users/${encodeURIComponent(userId)}/sessions`);
1013
+ }
1014
+ /**
1015
+ * End one session of the user: its token is refused on its next request.
1016
+ * Needs `UsersManage`. Recorded in the audit log. A session that has
1017
+ * already ended answers `revoked: false` and records nothing. A session of
1018
+ * another user is a `404`, as an unknown id is.
1019
+ * `POST /admin-portal/users/{user_id}/sessions/{session_id}/revoke`
1020
+ */
1021
+ async revokeUserSession(userId, sessionId) {
1022
+ return this.request(
1023
+ "POST",
1024
+ `/admin-portal/users/${encodeURIComponent(userId)}/sessions/${encodeURIComponent(sessionId)}/revoke`
1025
+ );
1026
+ }
1027
+ /**
1028
+ * Sign the user out of every session and token, wherever they signed in.
1029
+ * Needs `UsersManage`. The account stays active and the user can sign in
1030
+ * again at once. Answers how many live sessions were ended. Recorded in the
1031
+ * audit log. `POST /admin-portal/users/{user_id}/sessions/revoke-all`
1032
+ */
1033
+ async revokeAllUserSessions(userId) {
1034
+ return this.request(
1035
+ "POST",
1036
+ `/admin-portal/users/${encodeURIComponent(userId)}/sessions/revoke-all`
1037
+ );
1038
+ }
1039
+ /**
1040
+ * Which checkout payment methods a member of `merchantId` may change.
1041
+ * `GET /admin-portal/accounts/{merchant_id}/members/{user_id}/method-access`
1042
+ *
1043
+ * Any internal role may read it; `can_edit` is `false` for one without
1044
+ * `UsersManage`. A user holding no role in the merchant is a 404 `UR_68`.
1045
+ */
1046
+ async getMemberMethodAccess(merchantId, userId) {
1047
+ return this.request(
1048
+ "GET",
1049
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/method-access`
1050
+ );
1051
+ }
1052
+ /**
1053
+ * Limit a member of `merchantId` to some checkout payment methods, or give
1054
+ * every method back. Needs `UsersManage`. Recorded in the merchant's audit
1055
+ * log. `PUT /admin-portal/accounts/{merchant_id}/members/{user_id}/method-access`
1056
+ */
1057
+ async updateMemberMethodAccess(merchantId, userId, body) {
1058
+ return this.request(
1059
+ "PUT",
1060
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/method-access`,
1061
+ { body }
1062
+ );
1063
+ }
1064
+ /**
1065
+ * A member of `merchantId`'s permission overrides.
1066
+ * `GET /admin-portal/accounts/{merchant_id}/members/{user_id}/permission-overrides`
1067
+ *
1068
+ * Any internal role may read them; `can_edit` is `false` for one without
1069
+ * `UsersManage`. A user holding no role in the merchant is a 404 `UR_68`.
1070
+ */
1071
+ async getMemberPermissionOverrides(merchantId, userId) {
1072
+ return this.request(
1073
+ "GET",
1074
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/permission-overrides`
1075
+ );
1076
+ }
1077
+ /**
1078
+ * Replace a member of `merchantId`'s permission overrides. Needs
1079
+ * `UsersManage`; an operator is not limited by their own access. Recorded
1080
+ * in the merchant's audit log and applied to the member's next request.
1081
+ * `PUT /admin-portal/accounts/{merchant_id}/members/{user_id}/permission-overrides`
1082
+ */
1083
+ async updateMemberPermissionOverrides(merchantId, userId, body) {
1084
+ return this.request(
1085
+ "PUT",
1086
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/permission-overrides`,
1087
+ { body }
1088
+ );
1089
+ }
1090
+ /**
1091
+ * Soft-delete a user globally: deactivates the row, blacklists existing
1092
+ * JWTs, and wipes credentials. Distinct from `deleteUserRole`, which
1093
+ * removes a single role binding while leaving the user signed-in elsewhere.
1094
+ *
1095
+ * Throws the same `UR_66` as {@link updateUser} when the user is the last
1096
+ * administrator of any merchant they belong to, with `route: 'delete'`.
1097
+ */
1098
+ async deleteUser(userId) {
1099
+ return this.request("DELETE", `/admin-portal/users/${encodeURIComponent(userId)}`);
1100
+ }
1101
+ /**
1102
+ * Set a target merchant's shop iframe-allowed origins. Internal-admin
1103
+ * route — accepts an admin JWT or admin API key without requiring the
1104
+ * caller to be scoped to the target merchant. Pass `null` (or an empty
1105
+ * array) to clear the allowlist back to same-origin only.
1106
+ *
1107
+ * Server validates each origin: full origin (scheme + host[:port]),
1108
+ * no path/query/fragment, no wildcards.
1109
+ *
1110
+ * `POST /admin-portal/accounts/{merchantId}/business-profile/{profileId}/iframe-origins`
1111
+ */
1112
+ async updateShopIframeOrigins(merchantId, profileId, origins) {
1113
+ return this.request(
1114
+ "POST",
1115
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/business-profile/${encodeURIComponent(profileId)}/iframe-origins`,
1116
+ { body: { iframe_allowed_origins: origins } }
1117
+ );
1118
+ }
1119
+ /**
1120
+ * Set (or clear) a target merchant shop's home country — the geo
1121
+ * dashboard's cross-border baseline. Internal-admin route. Pass `null` to
1122
+ * clear back to "international / no home country" (the default).
1123
+ *
1124
+ * `POST /admin-portal/accounts/{merchantId}/business-profile/{profileId}/home-country`
1125
+ */
1126
+ async updateShopHomeCountry(merchantId, profileId, homeCountry) {
1127
+ return this.request(
1128
+ "POST",
1129
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/business-profile/${encodeURIComponent(profileId)}/home-country`,
1130
+ { body: { home_country: homeCountry } }
1131
+ );
1132
+ }
1133
+ /**
1134
+ * One merchant's sell-to restrictions — the merchant-wide policy and every
1135
+ * shop's effective policy. Read-only; staff change a policy through the
1136
+ * merchant routes.
1137
+ *
1138
+ * `GET /admin-portal/accounts/{merchantId}/sell-to-restrictions`
1139
+ */
1140
+ async getSellToRestrictions(merchantId) {
1141
+ return this.request(
1142
+ "GET",
1143
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/sell-to-restrictions`
1144
+ );
1145
+ }
1146
+ /**
1147
+ * Soft-delete a transaction of ANY merchant. Only payments whose status
1148
+ * is in the admin delete policy can be deleted; the action is audited.
1149
+ *
1150
+ * `DELETE /admin-portal/transactions/{paymentId}`
1151
+ */
1152
+ async deleteTransaction(paymentId) {
1153
+ return this.request("DELETE", `/admin-portal/transactions/${encodeURIComponent(paymentId)}`);
1154
+ }
1155
+ /**
1156
+ * Recover (undelete) a soft-deleted transaction. Audited.
1157
+ *
1158
+ * `POST /admin-portal/transactions/{paymentId}/recover`
1159
+ */
1160
+ async recoverTransaction(paymentId) {
1161
+ return this.request(
1162
+ "POST",
1163
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/recover`
1164
+ );
1165
+ }
1166
+ /**
1167
+ * Mark a transaction of ANY merchant as an integration test, or remove the
1168
+ * mark. Recorded in the payment's status history as an operator's change.
1169
+ *
1170
+ * `POST /admin-portal/transactions/{paymentId}/integration-test`
1171
+ */
1172
+ async setTransactionIntegrationTest(paymentId, params) {
1173
+ return this.request(
1174
+ "POST",
1175
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/integration-test`,
1176
+ { body: params }
1177
+ );
1178
+ }
1179
+ /**
1180
+ * Client/device observations captured while the buyer interacted with a
1181
+ * transaction of ANY merchant, oldest first.
1182
+ *
1183
+ * `GET /admin-portal/transactions/{paymentId}/client-context`
1184
+ */
1185
+ async getTransactionClientContext(paymentId) {
1186
+ return this.request(
1187
+ "GET",
1188
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/client-context`
1189
+ );
1190
+ }
1191
+ /**
1192
+ * What the rail charged for one attempt of a transaction of ANY merchant,
1193
+ * off the attempt's settlement line. `line_recorded: false` means
1194
+ * no line exists for the attempt; an absent amount is "no figure", never
1195
+ * zero.
1196
+ *
1197
+ * `GET /admin-portal/transactions/{paymentId}/attempts/{attemptId}/processor-cost`
1198
+ */
1199
+ async getTransactionAttemptProcessorCost(paymentId, attemptId) {
1200
+ return this.request(
1201
+ "GET",
1202
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/attempts/${encodeURIComponent(attemptId)}/processor-cost`
1203
+ );
1204
+ }
1205
+ /** Read or refresh signed processor fees for a payment. Internal admin access required. */
1206
+ async getTransactionProcessorCostEvents(paymentId, params = {}) {
1207
+ return this.request(
1208
+ "GET",
1209
+ `/admin-portal/transactions/${encodeURIComponent(paymentId)}/processor-cost-events`,
1210
+ {
1211
+ query: {
1212
+ test_mode: params.test_mode,
1213
+ year: params.year,
1214
+ month: params.month,
1215
+ limit: params.limit,
1216
+ offset: params.offset,
1217
+ force_sync: params.force_sync
1218
+ }
1219
+ }
1220
+ );
1221
+ }
1222
+ /**
1223
+ * DeloPay's own processor cost schedules — our acquirer contract, which
1224
+ * prices every merchant that has no schedule of its own, except an account
1225
+ * a shop owner brought (that rate is in their contract, not ours, and lives
1226
+ * on the merchant surface).
1227
+ *
1228
+ * Never returned on the merchant surface: these rates are DeloPay's cost
1229
+ * base. The rows carry no merchant.
1230
+ *
1231
+ * `GET /admin-portal/processor-costs`
1232
+ */
1233
+ async listProcessorCostSchedules() {
1234
+ return this.request("GET", "/admin-portal/processor-costs");
1235
+ }
1236
+ /**
1237
+ * Record a DeloPay-wide cost schedule — what a rail charges DeloPay, for
1238
+ * rails that report no fee on the payment itself. A cost derived from one
1239
+ * of these is marked `estimated` on the settlement line, never `reported`.
1240
+ *
1241
+ * `POST /admin-portal/processor-costs`
1242
+ */
1243
+ async createProcessorCostSchedule(params) {
1244
+ return this.request("POST", "/admin-portal/processor-costs", { body: params });
1245
+ }
1246
+ /**
1247
+ * Record several DeloPay-wide schedules at once, all or none — copy a price
1248
+ * list across methods. 1 to 200 entries; an invalid entry is answered `422`
1249
+ * naming its index and nothing is stored. The answer lists them in request
1250
+ * order.
1251
+ *
1252
+ * `POST /admin-portal/processor-costs/bulk`
1253
+ */
1254
+ async bulkCreateProcessorCostSchedules(params) {
1255
+ return this.request("POST", "/admin-portal/processor-costs/bulk", { body: params });
1256
+ }
1257
+ /**
1258
+ * Close a window, deactivate a DeloPay-wide schedule or annotate it. The
1259
+ * rate itself is not editable: it priced transactions that already
1260
+ * happened, and a new rate is a new row.
1261
+ *
1262
+ * `PUT /admin-portal/processor-costs/{scheduleId}`
1263
+ */
1264
+ async updateProcessorCostSchedule(scheduleId, params) {
1265
+ return this.request("PUT", `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}`, {
1266
+ body: params
1267
+ });
1268
+ }
1269
+ /**
1270
+ * Close a DeloPay-wide schedule at `effective_from` and open its successor
1271
+ * with the same scope and the same end, in one step: no transaction is
1272
+ * priced by both rates, and none falls between them. Answers the successor.
1273
+ *
1274
+ * `POST /admin-portal/processor-costs/{scheduleId}/replace`
1275
+ */
1276
+ async replaceProcessorCostSchedule(scheduleId, params) {
1277
+ return this.request(
1278
+ "POST",
1279
+ `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}/replace`,
1280
+ { body: params }
1281
+ );
1282
+ }
1283
+ /**
1284
+ * Delete a DeloPay-wide schedule. Restates nothing: every figure it derived
1285
+ * is already stamped on the settlement lines it priced.
1286
+ *
1287
+ * `DELETE /admin-portal/processor-costs/{scheduleId}`
1288
+ */
1289
+ async deleteProcessorCostSchedule(scheduleId) {
1290
+ return this.request(
1291
+ "DELETE",
1292
+ `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}`
1293
+ );
1294
+ }
1295
+ /**
1296
+ * The platform VAT rate table, every row past and future. With `on`, only
1297
+ * the row in force on that date for each country and category.
1298
+ *
1299
+ * `GET /admin-portal/vat-rates`
1300
+ */
1301
+ async listVatRates(params) {
1302
+ return this.request("GET", "/admin-portal/vat-rates", {
1303
+ query: { country: _optionalChain([params, 'optionalAccess', _ => _.country]), on: _optionalChain([params, 'optionalAccess', _2 => _2.on]) }
1304
+ });
1305
+ }
1306
+ /**
1307
+ * Add a rate for a country and category from `valid_from` on. A rate change
1308
+ * is a new row with a later `valid_from`; the earlier row keeps pricing the
1309
+ * days before it. A second row for the same country, category and date is
1310
+ * refused with `IR_38`.
1311
+ *
1312
+ * `POST /admin-portal/vat-rates`
1313
+ */
1314
+ async createVatRate(params) {
1315
+ return this.request("POST", "/admin-portal/vat-rates", { body: params });
1316
+ }
1317
+ /**
1318
+ * Change a rate's label, or the rate of a row that has not started yet. A
1319
+ * row in force (`valid_from` on or before today, UTC) keeps its rate:
1320
+ * payments were determined on it, and a new `rate_bp` is refused with
1321
+ * `DE_29` (409).
1322
+ *
1323
+ * `PUT /admin-portal/vat-rates/{rateId}`
1324
+ */
1325
+ async updateVatRate(rateId, params) {
1326
+ return this.request("PUT", `/admin-portal/vat-rates/${encodeURIComponent(rateId)}`, {
1327
+ body: params
1328
+ });
1329
+ }
1330
+ /**
1331
+ * Delete a rate that has not started yet. A row in force is refused with
1332
+ * `DE_29` (409); add a row with a later `valid_from` instead.
1333
+ *
1334
+ * `DELETE /admin-portal/vat-rates/{rateId}`
1335
+ */
1336
+ async deleteVatRate(rateId) {
1337
+ return this.request("DELETE", `/admin-portal/vat-rates/${encodeURIComponent(rateId)}`);
1338
+ }
1339
+ /**
1340
+ * One shop's statement periods, newest first. Same shape as the
1341
+ * merchant-facing `settlement.listPeriods`, admin-authenticated.
1342
+ *
1343
+ * `GET /admin-portal/accounts/{merchantId}/settlement/periods`
1344
+ */
1345
+ async listSettlementPeriods(merchantId, params) {
1346
+ return this.request(
1347
+ "GET",
1348
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/periods`,
1349
+ { query: { profile_id: params.profile_id } }
1350
+ );
1351
+ }
1352
+ /**
1353
+ * A merchant's settlement statements. Same shapes as the merchant-facing
1354
+ * `settlement` resource, admin-authenticated.
1355
+ *
1356
+ * `GET /admin-portal/accounts/{merchantId}/settlement/statements`
1357
+ */
1358
+ async listSettlementStatements(merchantId, params) {
1359
+ return this.request(
1360
+ "GET",
1361
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements`,
1362
+ { query: _chunkB2TCNGC2cjs.statementListQuery.call(void 0, params) }
1363
+ );
1364
+ }
1365
+ /**
1366
+ * One settlement statement with its breakdown.
1367
+ * `GET /admin-portal/accounts/{merchantId}/settlement/statements/{statementId}`
1368
+ */
1369
+ async getSettlementStatement(merchantId, statementId) {
1370
+ return this.request(
1371
+ "GET",
1372
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements/${encodeURIComponent(statementId)}`
1373
+ );
1374
+ }
1375
+ /**
1376
+ * Export a settlement statement as PDF. Returns the raw bytes as a `Blob`
1377
+ * with the same auth and error handling as every other call. `options`
1378
+ * takes a signal, a timeout and an `onDownloadProgress` listener for the
1379
+ * download's bytes (the PDF carries a `Content-Length`, so `total` is set).
1380
+ *
1381
+ * `GET /admin-portal/accounts/{merchantId}/settlement/statements/{statementId}/pdf`
1382
+ */
1383
+ async downloadSettlementStatementPdf(merchantId, statementId, params, options) {
1384
+ return this.request(
1385
+ "GET",
1386
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements/${encodeURIComponent(statementId)}/pdf`,
1387
+ {
1388
+ query: {
1389
+ currency: _optionalChain([params, 'optionalAccess', _3 => _3.currency]),
1390
+ include_transactions: _optionalChain([params, 'optionalAccess', _4 => _4.include_transactions]),
1391
+ format: _optionalChain([params, 'optionalAccess', _5 => _5.format])
1392
+ },
1393
+ responseType: "blob",
1394
+ ...options
1395
+ }
1396
+ );
1397
+ }
1398
+ /**
1399
+ * A merchant's per-shop settlement overview.
1400
+ * `GET /admin-portal/accounts/{merchantId}/settlement/overview`
1401
+ */
1402
+ async settlementOverview(merchantId, params) {
1403
+ return this.request(
1404
+ "GET",
1405
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/overview`,
1406
+ { query: { test_mode: params.test_mode } }
1407
+ );
1408
+ }
1409
+ /**
1410
+ * A merchant's live current-period settlement rollup.
1411
+ * `GET /admin-portal/accounts/{merchantId}/settlement/current`
1412
+ */
1413
+ async settlementCurrent(merchantId, params) {
1414
+ return this.request(
1415
+ "GET",
1416
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/current`,
1417
+ { query: { test_mode: params.test_mode, profile_id: params.profile_id } }
1418
+ );
1419
+ }
1420
+ /**
1421
+ * A merchant's vault state: the attach entitlement, and the vault
1422
+ * configuration of every shop.
1423
+ *
1424
+ * `GET /admin-portal/accounts/{merchantId}/vault`
1425
+ */
1426
+ async getVaultState(merchantId) {
1427
+ return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}/vault`);
1428
+ }
1429
+ /**
1430
+ * Attach a vault to one of a merchant's shops — creates the vault
1431
+ * connector account and points the profile at it in one request. The
1432
+ * Collect credentials are verified write-only before anything is stored.
1433
+ *
1434
+ * `POST /admin-portal/accounts/{merchantId}/vault/attach`
1435
+ */
1436
+ async attachVault(merchantId, params) {
1437
+ return this.request(
1438
+ "POST",
1439
+ `/admin-portal/accounts/${encodeURIComponent(merchantId)}/vault/attach`,
1440
+ { body: params }
1441
+ );
1442
+ }
1443
+ /**
1444
+ * Correct the funding type, issuing bank and issuing country recorded on
1445
+ * past card payments from the BIN table, across every merchant, oldest
1446
+ * first, one bounded page per call. Resume with the returned `next_after`
1447
+ * until it is `null`. A dry run, the default, reports without writing; a
1448
+ * payment that changed while the page ran is left alone and counted as a
1449
+ * conflict. Payments of merchants whose attempts are stored in Redis are
1450
+ * not corrected.
1451
+ *
1452
+ * `POST /admin-portal/card-funding/backfill`
1453
+ */
1454
+ async backfillCardFunding(params = {}) {
1455
+ return this.request("POST", "/admin-portal/card-funding/backfill", { body: params });
1456
+ }
1457
+ /**
1458
+ * Every live shop of a merchant, worst first, with DeloPay's reference
1459
+ * assessment and, where a merchant adjustment applied, the adjusted one
1460
+ * beside it. Not narrowed to one shop: operators see the whole merchant.
1461
+ *
1462
+ * `GET /admin-portal/accounts/{merchant_id}/risk`
1463
+ */
1464
+ async getMerchantRisk(merchantId) {
1465
+ return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}/risk`);
1466
+ }
1467
+ /**
1468
+ * A merchant's tuning of its own risk assessment at one scope, as the
1469
+ * merchant sees it, for operators.
1470
+ *
1471
+ * `GET /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1472
+ */
1473
+ async getMerchantRiskTuning(merchantId, target = { scope: "merchant" }) {
1474
+ return this.request("GET", _chunkTMAJE5P2cjs.riskTuningPath.call(void 0, target, adminAccount(merchantId)));
1475
+ }
1476
+ /**
1477
+ * Replace a merchant's tuning at one scope on its behalf. Needs
1478
+ * `AccountManage`; the merchant sees the change as `platform_operator`, the
1479
+ * audit names the operator. Validated and revision-checked as the
1480
+ * merchant's own save is.
1481
+ *
1482
+ * `PUT /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1483
+ */
1484
+ async updateMerchantRiskTuning(merchantId, target, params) {
1485
+ return this.request("PUT", _chunkTMAJE5P2cjs.riskTuningPath.call(void 0, target, adminAccount(merchantId)), {
1486
+ body: params
1487
+ });
1488
+ }
1489
+ /**
1490
+ * Reset a merchant's tuning at one scope on its behalf.
1491
+ *
1492
+ * `DELETE /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1493
+ */
1494
+ async resetMerchantRiskTuning(merchantId, target, expectedRevision) {
1495
+ return this.request("DELETE", _chunkTMAJE5P2cjs.riskTuningPath.call(void 0, target, adminAccount(merchantId)), {
1496
+ query: { expected_revision: expectedRevision }
1497
+ });
1498
+ }
1499
+ /**
1500
+ * Estimate a change to a merchant's tuning. Stores, scores and sends nothing.
1501
+ *
1502
+ * `POST /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]/preview`
1503
+ */
1504
+ async previewMerchantRiskTuning(merchantId, target, adjustments) {
1505
+ return this.request("POST", `${_chunkTMAJE5P2cjs.riskTuningPath.call(void 0, target, adminAccount(merchantId))}/preview`, {
1506
+ body: { adjustments }
1507
+ });
1508
+ }
1509
+ /**
1510
+ * The shop risk model the daily scoring pass uses, where it comes from and
1511
+ * the `revision` to name when changing it. When no model can be used,
1512
+ * `model` is absent and `problem` says why.
1513
+ *
1514
+ * `GET /admin-portal/risk-model`
1515
+ */
1516
+ async getRiskModel() {
1517
+ return this.request("GET", "/admin-portal/risk-model");
1518
+ }
1519
+ /**
1520
+ * Change the shop risk model; the answer is the model stored. Name the
1521
+ * `revision` the change was made against so a save over a change made in
1522
+ * between is refused (`IR_16`) instead of overwriting it. An invalid
1523
+ * result, or a scoring change without a higher `model_version`, is refused
1524
+ * with the reason in `error.message`.
1525
+ *
1526
+ * `PUT /admin-portal/risk-model`
1527
+ */
1528
+ async updateRiskModel(patch, options = {}) {
1529
+ return this.request("PUT", "/admin-portal/risk-model", {
1530
+ body: patch,
1531
+ query: { revision: options.revision }
1532
+ });
1533
+ }
1534
+ /**
1535
+ * What recalculating the shop risk history over `range` would do, without
1536
+ * queuing it: its days, the first day whose counters are rebuilt, the model
1537
+ * it would score with now, and the run of the same range already recorded.
1538
+ * Refused exactly where `startRiskBackfill()` would be.
1539
+ *
1540
+ * `POST /admin-portal/risk-engine/backfill/preview`
1541
+ */
1542
+ async previewRiskBackfill(range) {
1543
+ return this.request("POST", "/admin-portal/risk-engine/backfill/preview", { body: range });
1544
+ }
1545
+ /**
1546
+ * Queue a recalculation of `range`. Days that already have a risk score keep
1547
+ * it, and recalculated days never alert. While the same range is queued or
1548
+ * running, nothing new is started and `enqueued` is `false`.
1549
+ *
1550
+ * `POST /admin-portal/risk-engine/backfill`
1551
+ */
1552
+ async startRiskBackfill(range) {
1553
+ return this.request("POST", "/admin-portal/risk-engine/backfill", { body: range });
1554
+ }
1555
+ /**
1556
+ * One recalculation by the `job_id` a preview or start returned.
1557
+ *
1558
+ * `GET /admin-portal/risk-engine/backfill/{job_id}`
1559
+ */
1560
+ async getRiskBackfill(jobId) {
1561
+ return this.request("GET", `/admin-portal/risk-engine/backfill/${encodeURIComponent(jobId)}`);
1562
+ }
1563
+ /**
1564
+ * Where a merchant stands in the risk policy (`merchant_risk.policy`): the
1565
+ * policy in force, the stage, the conditions of the last evaluation with
1566
+ * their evidence, pending and past actions, exemptions and stage changes.
1567
+ *
1568
+ * `GET /admin-portal/accounts/{merchant_id}/risk/stage`
1569
+ */
1570
+ async getMerchantRiskStage(merchantId) {
1571
+ return this.request("GET", `${adminAccount(merchantId)}/risk/stage`);
1572
+ }
1573
+ /**
1574
+ * Evaluate a merchant against its risk policy now, as the scoring pass
1575
+ * does, and answer where it stands afterwards. Needs `AccountManage`.
1576
+ *
1577
+ * `POST /admin-portal/accounts/{merchant_id}/risk/stage/evaluate`
1578
+ */
1579
+ async evaluateMerchantRiskStage(merchantId) {
1580
+ return this.request("POST", `${adminAccount(merchantId)}/risk/stage/evaluate`, { body: {} });
1581
+ }
1582
+ /**
1583
+ * Apply a pending action that waits for an operator. An action already
1584
+ * decided, suppressed or expired is refused with `DE_19` (HTTP 409).
1585
+ *
1586
+ * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/confirm`
1587
+ */
1588
+ async confirmMerchantRiskAction(merchantId, actionId, params = {}) {
1589
+ return this.request(
1590
+ "POST",
1591
+ `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/confirm`,
1592
+ { body: params }
1593
+ );
1594
+ }
1595
+ /**
1596
+ * Dismiss a pending action with a reason; it never applies. An action
1597
+ * already decided is refused with `DE_19` (HTTP 409).
1598
+ *
1599
+ * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/dismiss`
1600
+ */
1601
+ async dismissMerchantRiskAction(merchantId, actionId, params) {
1602
+ return this.request(
1603
+ "POST",
1604
+ `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/dismiss`,
1605
+ { body: params }
1606
+ );
1607
+ }
1608
+ /**
1609
+ * Exempt a merchant from one action for one risk dimension, until
1610
+ * `expires_at` or for good. An exempted action is recorded as `suppressed`
1611
+ * with the exemption's id; the stage itself is still entered.
1612
+ *
1613
+ * `POST /admin-portal/accounts/{merchant_id}/risk/exemptions`
1614
+ */
1615
+ async createMerchantRiskExemption(merchantId, params) {
1616
+ return this.request("POST", `${adminAccount(merchantId)}/risk/exemptions`, { body: params });
1617
+ }
1618
+ /**
1619
+ * End an exemption now, with a reason. It no longer suppresses anything
1620
+ * from the next evaluation on.
1621
+ *
1622
+ * `POST /admin-portal/accounts/{merchant_id}/risk/exemptions/{exemption_id}/revoke`
1623
+ */
1624
+ async revokeMerchantRiskExemption(merchantId, exemptionId, params) {
1625
+ return this.request(
1626
+ "POST",
1627
+ `${adminAccount(merchantId)}/risk/exemptions/${encodeURIComponent(exemptionId)}/revoke`,
1628
+ { body: params }
1629
+ );
1630
+ }
1631
+ /**
1632
+ * Lift an applied `restrict_payments`, `hold_payouts` or `suspend` action
1633
+ * with a reason: what it blocked is allowed again, and nothing else
1634
+ * changes. The merchant stays in its stage and the action stays lifted for
1635
+ * the rest of that stage entry. An action that is not applied, not one of
1636
+ * those kinds, or already lifted is refused with `DE_19` (HTTP 409).
1637
+ *
1638
+ * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/lift`
1639
+ */
1640
+ async liftMerchantRiskAction(merchantId, actionId, params) {
1641
+ return this.request(
1642
+ "POST",
1643
+ `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/lift`,
1644
+ { body: params }
1645
+ );
1646
+ }
1647
+ /**
1648
+ * Stop new payments of one shop (`profile_id`), or of every shop of the
1649
+ * merchant, with a required reason. The stop is an
1650
+ * applied `restrict_payments` action of mode `operator`: payment create,
1651
+ * every confirm, the hosted checkout and its provider routes are refused
1652
+ * with `DE_22` before any provider is called. No template, connector
1653
+ * account, visibility, routing or stage change ends it; only
1654
+ * `liftMerchantRiskAction`, with a reason, does. A blank reason is
1655
+ * refused (HTTP 400), a shop of another merchant is not found (404), and a
1656
+ * scope an applied stop already covers is refused with `DE_19` (409).
1657
+ *
1658
+ * `POST /admin-portal/accounts/{merchant_id}/risk/stops`
1659
+ */
1660
+ async stopMerchantPayments(merchantId, params) {
1661
+ return this.request("POST", `${adminAccount(merchantId)}/risk/stops`, { body: params });
1662
+ }
1663
+ /**
1664
+ * The payments and payouts a merchant's applied risk actions refused,
1665
+ * newest first; 50 unless `limit` (at most 200) says otherwise.
1666
+ *
1667
+ * `GET /admin-portal/accounts/{merchant_id}/risk/blocked-attempts`
1668
+ */
1669
+ async listMerchantRiskBlockedAttempts(merchantId, params) {
1670
+ return this.request("GET", `${adminAccount(merchantId)}/risk/blocked-attempts`, {
1671
+ query: params === void 0 ? void 0 : { ...params }
1672
+ });
1673
+ }
1674
+ /**
1675
+ * Every merchant risk action kind and whether this platform can use it,
1676
+ * with its default mode, its scopes and what it blocks.
1677
+ *
1678
+ * `GET /admin-portal/risk/actions/catalog`
1679
+ */
1680
+ async getMerchantRiskActionCatalog() {
1681
+ return this.request("GET", "/admin-portal/risk/actions/catalog");
1682
+ }
1683
+ /**
1684
+ * Which merchants a risk policy, saved or not, would put in each stage now,
1685
+ * from their stored signals, and what each action would block there.
1686
+ * Writes nothing. A policy a settings write would refuse is refused the
1687
+ * same way (HTTP 422).
1688
+ *
1689
+ * `POST /admin-portal/risk/policy/preview`
1690
+ */
1691
+ async previewMerchantRiskPolicy(params) {
1692
+ return this.request("POST", "/admin-portal/risk/policy/preview", { body: params });
1693
+ }
1694
+ };
1695
+ function transactionListQuery(params) {
1696
+ if (!params) return void 0;
1697
+ const {
1698
+ statuses,
1699
+ connectors,
1700
+ payment_methods,
1701
+ payment_method_types,
1702
+ currencies,
1703
+ merchant_connector_ids,
1704
+ connector_settlement_statuses,
1705
+ routing_approaches,
1706
+ failure_substatuses,
1707
+ product_ids,
1708
+ buyer_risk_band,
1709
+ merchant_ids,
1710
+ ...query
1711
+ } = params;
1712
+ return {
1713
+ ...query,
1714
+ ..._optionalChain([statuses, 'optionalAccess', _6 => _6.length]) ? { statuses: statuses.join(",") } : {},
1715
+ ..._optionalChain([connectors, 'optionalAccess', _7 => _7.length]) ? { connectors: connectors.join(",") } : {},
1716
+ ..._optionalChain([payment_methods, 'optionalAccess', _8 => _8.length]) ? { payment_methods: payment_methods.join(",") } : {},
1717
+ ..._optionalChain([payment_method_types, 'optionalAccess', _9 => _9.length]) ? { payment_method_types: payment_method_types.join(",") } : {},
1718
+ ..._optionalChain([currencies, 'optionalAccess', _10 => _10.length]) ? { currencies: currencies.join(",") } : {},
1719
+ ..._optionalChain([merchant_connector_ids, 'optionalAccess', _11 => _11.length]) ? { merchant_connector_ids: merchant_connector_ids.join(",") } : {},
1720
+ ..._optionalChain([connector_settlement_statuses, 'optionalAccess', _12 => _12.length]) ? { connector_settlement_statuses: connector_settlement_statuses.join(",") } : {},
1721
+ ..._optionalChain([routing_approaches, 'optionalAccess', _13 => _13.length]) ? { routing_approaches: routing_approaches.join(",") } : {},
1722
+ ..._optionalChain([failure_substatuses, 'optionalAccess', _14 => _14.length]) ? { failure_substatuses: failure_substatuses.join(",") } : {},
1723
+ ..._optionalChain([product_ids, 'optionalAccess', _15 => _15.length]) ? { product_ids: product_ids.join(",") } : {},
1724
+ ..._optionalChain([buyer_risk_band, 'optionalAccess', _16 => _16.length]) ? { buyer_risk_band: buyer_risk_band.join(",") } : {},
1725
+ ..._optionalChain([merchant_ids, 'optionalAccess', _17 => _17.length]) ? { merchant_ids: merchant_ids.join(",") } : {}
1726
+ };
1727
+ }
1728
+ function adminPersons(merchantId) {
1729
+ return `/admin-portal/persons/${encodeURIComponent(merchantId)}`;
1730
+ }
1731
+ function personFlags(merchantId, personId) {
1732
+ return `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/flags`;
1733
+ }
1734
+ function adminAccount(merchantId) {
1735
+ return `/admin-portal/accounts/${encodeURIComponent(merchantId)}`;
1736
+ }
1737
+
1738
+
1739
+
1740
+ exports.AdminPortal = AdminPortal;
1741
+ //# sourceMappingURL=chunk-NW37NQZB.cjs.map