@delopay/sdk 0.407.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 -18404
  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 +417 -187
  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 +855 -21120
  640. package/dist/internal.cjs.map +1 -1
  641. package/dist/internal.d.cts +109 -6144
  642. package/dist/internal.d.ts +109 -6144
  643. package/dist/internal.js +478 -2932
  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-WArxrQje.d.cts → types.d.cts} +3 -11109
  1112. package/dist/{index-WArxrQje.d.ts → types.d.ts} +3 -11109
  1113. package/dist/types.js +1 -0
  1114. package/dist/types.js.map +1 -0
  1115. package/package.json +29 -17
  1116. package/dist/chunk-DZK6LFNW.js +0 -18084
  1117. package/dist/chunk-DZK6LFNW.js.map +0 -1
package/dist/internal.js CHANGED
@@ -1,37 +1,126 @@
1
1
  import {
2
- AIRWALLEX_AUTOFILL_TREATMENTS,
3
- AIRWALLEX_CARD_LAYOUTS,
4
- AIRWALLEX_CARD_PRESETS,
5
- AIRWALLEX_CARD_PRESET_FALLBACK,
6
- AIRWALLEX_FIELD_CHROMES,
7
- AIRWALLEX_FIELD_FONT_SIZES,
8
- AIRWALLEX_FIELD_WEIGHTS,
9
- AIRWALLEX_FOCUS_RINGS,
10
- AIRWALLEX_LABEL_STYLES,
11
- AIRWALLEX_NETWORK_MARKS,
2
+ ConnectorRestrictions
3
+ } from "./chunk-3ST4NW2T.js";
4
+ import {
5
+ Diagnostic
6
+ } from "./chunk-7YIDBPIU.js";
7
+ import {
8
+ Gsm
9
+ } from "./chunk-KS5ZUVPC.js";
10
+ import {
11
+ NativeRenewals
12
+ } from "./chunk-27NVIXDV.js";
13
+ import {
14
+ PlatformBilling
15
+ } from "./chunk-T37FLY7Q.js";
16
+ import {
17
+ PlatformFees
18
+ } from "./chunk-OMRKVER7.js";
19
+ import {
20
+ PlatformMessageTemplates
21
+ } from "./chunk-IGFEQECO.js";
22
+ import {
23
+ PlatformSettings
24
+ } from "./chunk-3YUKTCY2.js";
25
+ import {
26
+ AdminLive
27
+ } from "./chunk-HL763JX2.js";
28
+ import {
29
+ AdminPortal
30
+ } from "./chunk-JTZ44ZLT.js";
31
+ import {
32
+ AdminSupport
33
+ } from "./chunk-SXCH2AXM.js";
34
+ import {
35
+ AuditLogs
36
+ } from "./chunk-3GMGEP5I.js";
37
+ import {
38
+ Cache
39
+ } from "./chunk-4FVOCZIM.js";
40
+ import {
41
+ CardIssuers
42
+ } from "./chunk-2XAJIA23.js";
43
+ import {
44
+ Configs
45
+ } from "./chunk-GZW5AFIL.js";
46
+ import {
47
+ ConnectorRestrictionRules
48
+ } from "./chunk-D3D73ANJ.js";
49
+ import {
50
+ Admin
51
+ } from "./chunk-NLQOHTYN.js";
52
+ import {
53
+ AdminBranding
54
+ } from "./chunk-J3UH2OJH.js";
55
+ import {
56
+ AdminFileScans
57
+ } from "./chunk-CECSSOIZ.js";
58
+ import {
59
+ AdminIndustries
60
+ } from "./chunk-IB75VVZO.js";
61
+ import {
62
+ BUILTIN_PAYMENT_ICON_KEYS,
63
+ PRESENTATION_CONTRACT_VERSION,
64
+ PresentationCache,
65
+ builtinPaymentIconDataUri,
66
+ builtinPaymentIconSvg,
67
+ isConfirmedChild,
68
+ isSupportedPresentation,
69
+ presentationIconDataUri,
70
+ presentationIconSrc,
71
+ presentationTiers,
72
+ selectableEntries
73
+ } from "./chunk-QCPEE3EV.js";
74
+ import {
75
+ FeeProgramBuilder,
76
+ allOf,
77
+ anyOf,
78
+ feeProgram,
79
+ leaf,
80
+ metadataLeaf,
81
+ programToTree,
82
+ ruleMatchToTree
83
+ } from "./chunk-6QGC52VH.js";
84
+ import {
85
+ CHECKOUT_EVENT_KINDS,
86
+ NATIVE_PANES_MAX,
87
+ NATIVE_PANE_CATEGORY_KEYS,
88
+ NATIVE_PANE_ICON_KEYS,
89
+ PANES_MAX,
90
+ PANE_CATEGORY_KEYS,
91
+ PANE_ICON_KEYS,
92
+ STRIPE_FALLBACK_PANE_CATALOG,
93
+ STRIPE_FALLBACK_PANE_METHODS,
94
+ STRIPE_NATIVE_PANE_METHODS,
95
+ checkoutEntryUrl,
96
+ cloneNativePane,
97
+ clonePane,
98
+ decodeNativePanes,
99
+ decodePanes,
100
+ defaultNativePane,
101
+ defaultPane,
102
+ emptyPaneCatalog,
103
+ encodeNativePanes,
104
+ encodePanes,
105
+ focusedCheckoutUrl,
106
+ isCheckoutOpenEntryMessage,
107
+ nativePaneMethodInfo,
108
+ offerablePaneMethods,
109
+ paneCatalogFor,
110
+ paneDisplayDefaults,
111
+ paneMethodInfo,
112
+ paneRailAllowed,
113
+ paneViewVisibility,
114
+ validatePanes
115
+ } from "./chunk-2QMSBWQY.js";
116
+ import {
12
117
  ALL_CUSTOM_FIELD_CONDITION_SOURCES,
13
118
  ALL_CUSTOM_FIELD_OPERATORS,
14
119
  ALL_CUSTOM_FIELD_TYPES,
15
- APPLE_PAY_BUTTON_STYLES,
16
- APPLE_PAY_BUTTON_TYPES,
17
- Analytics,
18
- AnalyticsDashboard,
19
- Audit,
20
- AvailabilityOverrides,
21
120
  BRANDING_EXPORT_FORMAT,
22
121
  BRANDING_EXPORT_VERSION,
23
- BUILTIN_PAYMENT_ICON_KEYS,
24
- Branding,
25
- BuyerBlocklist,
26
- BuyerConversations,
27
- BuyerEvidenceReviews,
28
- CARD_FIELD_CHROMES,
29
- CARD_FIELD_FONT_SIZES,
30
- CARD_FIELD_WEIGHTS,
31
- CARD_FOCUS_RINGS,
32
122
  CHECKBOX_CHECKED,
33
123
  CHECKBOX_UNCHECKED,
34
- CHECKOUT_EVENT_KINDS,
35
124
  CHECKOUT_LOCALES,
36
125
  CUSTOM_CSS_MAX_LENGTH,
37
126
  CUSTOM_FIELDS_MAX,
@@ -39,102 +128,25 @@ import {
39
128
  CUSTOM_FIELD_KEY_PATTERN,
40
129
  CUSTOM_FIELD_OPERATORS_BY_SOURCE,
41
130
  CUSTOM_FIELD_VALUELESS_OPERATORS,
42
- Cards,
43
- ChargebackPrevention,
44
- CheckoutMethods,
45
- CheckoutRecovery,
46
- CheckoutSession,
47
- CheckoutTemplates,
48
- CostRules,
49
131
  DEFAULT_BADGES,
50
132
  DEFAULT_BADGES_DARK,
51
133
  DEFAULT_BRANDING,
52
134
  DEFAULT_BRANDING_DARK,
53
- DEFAULT_ENIGMA_CARD_FORM,
54
135
  DEFAULT_NOTICES,
55
- Delopay,
56
- DelopayAuthenticationError,
57
- DelopayError,
58
- ENIGMA_CLICK_FEEDBACK,
59
- ENIGMA_CORNERS,
60
- ENIGMA_CUSTOM_CSS_MAX_LENGTH,
61
- ENIGMA_CUSTOM_HEIGHT_DEFAULT,
62
- ENIGMA_CUSTOM_HEIGHT_MAX,
63
- ENIGMA_CUSTOM_HEIGHT_MIN,
64
- ENIGMA_FIELD_CHROMES,
65
- ENIGMA_FIELD_HEIGHTS,
66
- ENIGMA_FIELD_MOTIONS,
67
- ENIGMA_FIELD_ORDERS,
68
- ENIGMA_FOCUS_RINGS,
69
- ENIGMA_LABEL_PLACEMENTS,
70
- ENIGMA_LABEL_TONES,
71
- ENIGMA_LOADING_STYLES,
72
- ENIGMA_NETWORK_MARKS,
73
- ENIGMA_OPENINGS,
74
- ENIGMA_PAY_FEEDBACK,
75
- ENIGMA_REVEALS,
76
- ENIGMA_ROW_GAPS,
77
- ENIGMA_STYLE_MODES,
78
- ENIGMA_TEMPLATES,
79
- ENIGMA_TEMPLATE_PRESETS,
80
- Export,
81
- ExternalRecords,
82
- FeatureMatrix,
83
- FeeProgramBuilder,
84
- Files,
85
- Forex,
86
- GOOGLE_PAY_BUTTON_COLORS,
87
- GOOGLE_PAY_BUTTON_TYPES,
88
- IdentityVerifications,
89
- Industries,
90
- InvoiceSettingsResource,
91
- Invoices,
92
136
  LOCALIZABLE_COPY_FIELDS,
93
- Live,
94
- LiveEventStream,
95
137
  MAX_SECTION_LABEL_LENGTH,
96
138
  MAX_SECTION_ORDER,
97
139
  METHOD_SECTIONS,
98
140
  MIN_SECTION_ORDER,
99
- MessageTemplates,
100
141
  NATIVE_ELEMENT_POSITIONS,
101
- NATIVE_PANES_MAX,
102
- NATIVE_PANE_CATEGORY_KEYS,
103
- NATIVE_PANE_ICON_KEYS,
104
- NOMUPAY_FORM_STYLES,
105
142
  NOTICES_PER_SECTION,
106
143
  NOTICE_ICONS,
107
144
  NOTICE_ICON_FALLBACK,
108
145
  NOTICE_ICON_PATHS,
109
146
  NOTICE_LABEL_MAX_LENGTH,
110
147
  NOTICE_SECTIONS,
111
- OperationLimits,
112
- PANES_MAX,
113
- PANE_CATEGORY_KEYS,
114
- PANE_ICON_KEYS,
115
- PAYMENT_CURRENCIES,
116
- PAYPAL_CARD_LAYOUTS,
117
- PAYPAL_LABEL_STYLES,
118
- PRESENTATION_CONTRACT_VERSION,
119
- PayoutDestinations,
120
- PaypalDisputes,
121
- Persons,
122
- PresentationCache,
123
- ProcessorCosts,
124
- ProcessorImports,
125
- Products,
126
- PspImportEventStream,
127
148
  RTL_CHECKOUT_LOCALES,
128
- Regions,
129
- Risk,
130
149
  SECTION_ALIASES,
131
- STRIPE_FALLBACK_PANE_CATALOG,
132
- STRIPE_FALLBACK_PANE_METHODS,
133
- STRIPE_INPUT_STYLES,
134
- STRIPE_LABEL_PLACEMENTS,
135
- STRIPE_NATIVE_PANE_METHODS,
136
- STRIPE_SPACINGS,
137
- STRIPE_THEMES,
138
150
  SURCHARGE_BORDER_STYLES,
139
151
  SURCHARGE_BORDER_WIDTHS,
140
152
  SURCHARGE_FIGURE_MODES,
@@ -145,59 +157,21 @@ import {
145
157
  SURCHARGE_SIZES,
146
158
  SURCHARGE_STYLES,
147
159
  SURCHARGE_WEIGHTS,
148
- Search,
149
- SellToRestrictions,
150
- Settings,
151
- Settlement,
152
- ShopLabels,
153
- Subscriptions,
154
- Support,
155
160
  UNKNOWN_SECTION_ORDER,
156
- VatRates,
157
161
  WCAG_AA_TEXT,
158
162
  WCAG_AA_UI,
159
- WHOP_ACCENT_COLORS,
160
- WHOP_BILLING_DETAILS,
161
- WHOP_CARD_PRESETS,
162
- WHOP_EMAIL_LABELS,
163
- WHOP_GRAY_COLORS,
164
- WHOP_LOOKS,
165
- WHOP_LOOK_SETTINGS,
166
- WHOP_RADII,
167
- WHOP_SELECTIONS,
168
- WHOP_SHADOWS,
169
- Webhooks,
170
- WhopResolutionCases,
171
- airwallexCardLayout,
172
- airwallexCardLayoutIsCoherent,
173
- airwallexCellWeight,
174
- airwallexFieldFontPx,
175
- airwallexFieldWeightValue,
176
- allOf,
177
- anyOf,
178
163
  applyBrandingVariables,
179
- applyEnigmaTemplate,
180
- asAirwallexCardPreset,
181
- brandingAssetPath,
182
164
  buildBrandingExport,
183
- builtinPaymentIconDataUri,
184
- builtinPaymentIconSvg,
185
165
  buttonPadValue,
186
166
  canonicalSectionId,
187
- cardFieldFontPx,
188
- cardFieldWeightValue,
189
167
  checkoutCopy,
190
- checkoutEntryUrl,
191
168
  checkoutLocaleDir,
192
169
  cloneBranding,
193
170
  cloneCustomField,
194
- cloneNativePane,
195
171
  cloneNotice,
196
- clonePane,
197
172
  compareSections,
198
173
  contrastRatio,
199
174
  copyTranslationsKey,
200
- csvQuery,
201
175
  customFieldContextFromMetadata,
202
176
  customFieldIsTextLike,
203
177
  customFieldOperatorTakesValue,
@@ -206,2846 +180,387 @@ import {
206
180
  decodeBadges,
207
181
  decodeBranding,
208
182
  decodeCustomFields,
209
- decodeEnigmaCardForm,
210
183
  decodeMethodSectionLabels,
211
184
  decodeMethodSectionOrder,
212
- decodeNativePanes,
213
185
  decodeNotices,
214
- decodePanes,
215
186
  defaultBranding,
216
187
  defaultCustomFieldVisibility,
217
188
  defaultMethodSectionOrder,
218
- defaultNativePane,
219
189
  defaultNotices,
220
190
  defaultOperatorForSource,
221
- defaultPane,
222
- emptyPaneCatalog,
223
191
  encodeBadges,
224
192
  encodeBranding,
225
193
  encodeCustomFields,
226
- encodeEnigmaCardForm,
227
194
  encodeMethodSectionLabels,
228
195
  encodeMethodSectionOrder,
229
- encodeNativePanes,
230
196
  encodeNotices,
231
- encodePanes,
232
- enigmaCornerPx,
233
- enigmaCustomCssProblem,
234
197
  enigmaDefaultFill,
235
- enigmaNamesInside,
236
- enigmaTemplateChanges,
237
198
  evaluateCustomFieldCondition,
238
199
  evaluateCustomFieldVisibility,
239
- feeProgram,
240
- focusedCheckoutUrl,
241
200
  fontStack,
242
201
  fontWeightValue,
243
202
  inputPadValue,
244
203
  isCheckboxChecked,
245
- isCheckoutOpenEntryMessage,
246
- isConfirmedChild,
247
204
  isDarkSurface,
248
205
  isDefaultBadgeSet,
249
206
  isHexColor,
250
207
  isNoticeIcon,
251
- isSubscriptionDisputeWebhook,
252
- isSubscriptionLifecycleWebhook,
253
- isSupportedPresentation,
254
208
  knownSectionLabelKey,
255
- leaf,
256
209
  logoDimensions,
257
- matchWhopLook,
258
- metadataLeaf,
259
- nativePaneMethodInfo,
260
- nearestWhopAccent,
261
210
  noticeText,
262
211
  noticesIn,
263
- offerablePaneMethods,
264
- openLiveStream,
265
- paneCatalogFor,
266
- paneDisplayDefaults,
267
- paneMethodInfo,
268
- paneRailAllowed,
269
- paneViewVisibility,
270
212
  parseCustomFieldsLoose,
271
213
  parseImportedBranding,
272
214
  parseNoticesLoose,
273
- presentationIconDataUri,
274
- presentationIconSrc,
275
- presentationTiers,
276
- preventionCaseQuery,
277
- programToTree,
278
215
  radiusValue,
279
216
  readableInkOn,
280
- resolveAirwallexCardPreset,
281
- resolveAirwallexLabelStyle,
282
- resolveApplePayButtonStyle,
283
- resolveGooglePayButtonColor,
284
217
  resolveNoticesAndBadges,
285
- resolveStripeTheme,
286
- resolveWhopAccent,
287
- riskTuningPath,
288
- ruleMatchToTree,
289
- runExport,
290
218
  sanitizeCustomCss,
291
219
  sectionLabel,
292
220
  sectionOrderOf,
293
- selectableEntries,
294
221
  shadowFor,
295
222
  shownNotices,
296
- statementListQuery,
297
- stripeSpacingValues,
298
223
  surchargeFigurePlan,
299
224
  surchargeShowsLabel,
300
225
  surchargeStyleDrawsAShape,
301
226
  surchargeWordFor,
302
227
  surfacePadValue,
303
228
  validSectionOrder,
304
- validatePanes,
305
229
  vaultFormAppearance,
306
230
  verticalGapValue,
307
- visibleCustomFields,
308
- whopAccentSwatch,
231
+ visibleCustomFields
232
+ } from "./chunk-LPDUHBHT.js";
233
+ import {
234
+ APPLE_PAY_BUTTON_STYLES,
235
+ APPLE_PAY_BUTTON_TYPES,
236
+ CARD_FIELD_CHROMES,
237
+ CARD_FIELD_FONT_SIZES,
238
+ CARD_FIELD_WEIGHTS,
239
+ CARD_FOCUS_RINGS,
240
+ GOOGLE_PAY_BUTTON_COLORS,
241
+ GOOGLE_PAY_BUTTON_TYPES,
242
+ NOMUPAY_FORM_STYLES,
243
+ PAYPAL_CARD_LAYOUTS,
244
+ PAYPAL_LABEL_STYLES,
245
+ STRIPE_INPUT_STYLES,
246
+ STRIPE_LABEL_PLACEMENTS,
247
+ STRIPE_SPACINGS,
248
+ STRIPE_THEMES,
249
+ WHOP_ACCENT_COLORS,
250
+ WHOP_BILLING_DETAILS,
251
+ WHOP_CARD_PRESETS,
252
+ WHOP_EMAIL_LABELS,
253
+ WHOP_GRAY_COLORS,
254
+ WHOP_LOOKS,
255
+ WHOP_LOOK_SETTINGS,
256
+ WHOP_RADII,
257
+ WHOP_SELECTIONS,
258
+ WHOP_SHADOWS,
259
+ cardFieldFontPx,
260
+ cardFieldWeightValue,
261
+ matchWhopLook,
262
+ nearestWhopAccent,
263
+ resolveApplePayButtonStyle,
264
+ resolveGooglePayButtonColor,
265
+ resolveStripeTheme,
266
+ resolveWhopAccent,
267
+ stripeSpacingValues,
268
+ whopAccentSwatch,
309
269
  whopCardElement
310
- } from "./chunk-DZK6LFNW.js";
311
-
312
- // src/internal/resources/admin.ts
313
- var Admin = class {
314
- constructor(request) {
315
- this.request = request;
316
- }
317
- async signIn(params) {
318
- return this.request("POST", "/admin/signin", { body: params });
319
- }
320
- async createInternalUser(params) {
321
- return this.request("POST", "/admin/internal-signup", { body: params });
322
- }
323
- async createTenant(params) {
324
- return this.request("POST", "/admin/tenant-signup", { body: params });
325
- }
326
- /**
327
- * Create a new merchant admin user and merchant account atomically.
328
- *
329
- * This is the correct endpoint for bootstrapping the first admin user in a
330
- * fresh deployment — `internal-signup`/`tenant-signup` both require
331
- * pre-existing merchant records that don't exist on a clean database.
332
- *
333
- * `POST /admin/signup-with-merchant-id`
334
- */
335
- async signupWithMerchantId(params) {
336
- return this.request("POST", "/admin/signup-with-merchant-id", { body: params });
337
- }
338
- /** Toggle public signup on/off. `POST /admin/settings/signup` */
339
- async setSignupSettings(params) {
340
- return this.request("POST", "/admin/settings/signup", { body: params });
341
- }
342
- /** Read current public-signup status. `GET /admin/settings/signup` */
343
- async getSignupSettings() {
344
- return this.request("GET", "/admin/settings/signup");
345
- }
346
- /** Full merchant bootstrap — user + merchant + project + profile + keys. `POST /admin/onboard-merchant` */
347
- async onboardMerchant(params) {
348
- return this.request("POST", "/admin/onboard-merchant", { body: params });
349
- }
350
- };
351
-
352
- // src/internal/resources/adminBranding.ts
353
- var AdminBranding = class {
354
- constructor(request) {
355
- this.request = request;
356
- }
357
- /**
358
- * What is saved, the value in force for each unset field, and the revision
359
- * to send back on the next update.
360
- *
361
- * `GET /admin-portal/branding`
362
- */
363
- async retrieve(options) {
364
- return this.request("GET", "/admin-portal/branding", { ...options });
365
- }
366
- /**
367
- * Replace the whole branding; all fields `null` clears it. A changed image
368
- * or font address is fetched first and refused unless it answers with the
369
- * right kind of file. A stale `expected_revision` is refused and changes
370
- * nothing.
371
- *
372
- * `PUT /admin-portal/branding`
373
- */
374
- async update(params, options) {
375
- return this.request("PUT", "/admin-portal/branding", { body: params, ...options });
376
- }
377
- };
378
-
379
- // src/internal/resources/adminFileScans.ts
380
- var AdminFileScans = class {
381
- constructor(request) {
382
- this.request = request;
383
- }
384
- /**
385
- * The scanner settings in force and where they come from, a check of the
386
- * scanner made for this answer, when it last finished a file and how many
387
- * files wait for their scan. `GET /admin-portal/file-scans/status`
388
- */
389
- async status() {
390
- return this.request("GET", "/admin-portal/file-scans/status");
391
- }
392
- /**
393
- * Ask a scanner whether it answers, before it is saved. Only the connection
394
- * is tested: no file content is sent. A field left out takes the value in
395
- * force. An address outside the deployment's private network is refused
396
- * without a connection (`problem: 'public_address'`).
397
- * `POST /admin-portal/file-scans/test`
398
- */
399
- async test(body = {}) {
400
- return this.request("POST", "/admin-portal/file-scans/test", { body });
401
- }
402
- /**
403
- * Uploaded files their scan blocked, of every kind, latest result first
404
- * unless `sort_by` says otherwise, with what the scanner found. Several
405
- * `kind` or `side` values match a file with any of them. A blocked file's
406
- * content is never handed out. `GET /admin-portal/file-scans/blocked`
407
- */
408
- async blocked(query = {}) {
409
- return this.request("GET", "/admin-portal/file-scans/blocked", {
410
- query: csvQuery(query, ["kind", "side"])
411
- });
412
- }
413
- };
414
-
415
- // src/internal/resources/adminIndustries.ts
416
- var path = (id) => `/admin-portal/industries/${encodeURIComponent(id)}`;
417
- var AdminIndustries = class {
418
- constructor(request) {
419
- this.request = request;
420
- }
421
- /** The whole catalog, archived entries included. `GET /admin-portal/industries` */
422
- async list() {
423
- return this.request("GET", "/admin-portal/industries");
424
- }
425
- /**
426
- * Create an industry, or a sub-industry under `parent_id`. Without
427
- * `availability` it can be selected nowhere until availability is set.
428
- * `POST /admin-portal/industries`
429
- */
430
- async create(body) {
431
- return this.request("POST", "/admin-portal/industries", { body });
432
- }
433
- /** Rename an entry; its id stays. `PATCH /admin-portal/industries/{industry_id}` */
434
- async rename(industryId, body) {
435
- return this.request("PATCH", path(industryId), { body });
436
- }
437
- /**
438
- * Stop offering an entry, and for an industry its sub-industries, for new
439
- * selections. Existing selections keep it. `POST /admin-portal/industries/{industry_id}/archive`
440
- */
441
- async archive(industryId) {
442
- return this.request("POST", `${path(industryId)}/archive`);
443
- }
444
- /**
445
- * Offer an archived entry again. Refused while an active sibling holds its
446
- * name, or for a sub-industry while its industry is archived.
447
- * `POST /admin-portal/industries/{industry_id}/restore`
448
- */
449
- async restore(industryId) {
450
- return this.request("POST", `${path(industryId)}/restore`);
451
- }
452
- /**
453
- * Replace where an entry can be selected.
454
- * `PUT /admin-portal/industries/{industry_id}/availability`
455
- */
456
- async setAvailability(industryId, body) {
457
- return this.request("PUT", `${path(industryId)}/availability`, { body });
458
- }
459
- /**
460
- * Every entry as seen from one merchant, or one of its projects or shops:
461
- * whether it can be selected there, why, and which scope grants it.
462
- * `GET /admin-portal/industries/preview`
463
- */
464
- async preview(query) {
465
- return this.request("GET", "/admin-portal/industries/preview", { query: { ...query } });
466
- }
467
- };
468
-
469
- // src/internal/resources/adminLive.ts
470
- var AdminLive = class {
471
- constructor(request, openStream) {
472
- this.request = request;
473
- this.openStream = openStream;
474
- }
475
- /**
476
- * Open the stream of what changed in every merchant. Each change names its
477
- * `merchant_id`. The SDK does not reconnect — see `LiveEventStream`.
478
- *
479
- * `GET /admin-portal/live/stream`
480
- */
481
- async stream(options) {
482
- return openLiveStream(this.openStream, "/admin-portal/live/stream", options);
483
- }
484
- /**
485
- * The versions an admin editor of `merchantId` names in `If-Match`. A save
486
- * over a newer version is refused with `IR_16` (400), `error.data` a
487
- * `LiveChangedElsewhere`.
488
- *
489
- * `GET /admin-portal/live/versions`
490
- */
491
- async versions(merchantId, params, options) {
492
- return this.request("GET", "/admin-portal/live/versions", {
493
- query: {
494
- merchant_id: merchantId,
495
- entities: params.entities.join(","),
496
- profile_id: params.profile_id,
497
- record_id: params.record_id
498
- },
499
- ...options
500
- });
501
- }
502
- };
503
-
504
- // src/internal/resources/adminPortal.ts
505
- var AdminPortal = class {
506
- constructor(request) {
507
- this.request = request;
508
- }
509
- /** Read refund treatment and the scope supplying its effective value. */
510
- async getRefundVolume(merchantId, query = {}) {
511
- return this.request(
512
- "GET",
513
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/refund-volume`,
514
- {
515
- query: { ...query }
516
- }
517
- );
518
- }
519
- /** Change future monthly tier snapshots; existing snapshots and statement lines retain their prices. */
520
- async updateRefundVolume(merchantId, body, query = {}) {
521
- return this.request(
522
- "PUT",
523
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/refund-volume`,
524
- {
525
- query: { ...query },
526
- body
527
- }
528
- );
529
- }
530
- /** Read whether refunds return their share of the platform fee, and the scope supplying it. */
531
- async getPlatformFeeReturn(merchantId, query = {}) {
532
- return this.request(
533
- "GET",
534
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/platform-fee-return`,
535
- {
536
- query: { ...query }
537
- }
538
- );
539
- }
540
- /** Change the fee return for refunds that succeed from now on; earlier refunds keep their decision. */
541
- async updatePlatformFeeReturn(merchantId, body, query = {}) {
542
- return this.request(
543
- "PUT",
544
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/platform-fee-return`,
545
- {
546
- query: { ...query },
547
- body
548
- }
549
- );
550
- }
551
- /** What each successful refund of one payment returned of the platform fee. */
552
- async listPaymentPlatformFeeReturns(merchantId, paymentId) {
553
- return this.request(
554
- "GET",
555
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/transactions/${encodeURIComponent(paymentId)}/platform-fee-returns`
556
- );
557
- }
558
- /**
559
- * The deployment's merchant roles: shared roles, the roles defined in code,
560
- * and every merchant's own custom roles. `GET /admin-portal/merchant-roles`
561
- */
562
- async listSharedRoles() {
563
- return this.request("GET", "/admin-portal/merchant-roles");
564
- }
565
- /** `GET /admin-portal/merchant-roles/{roleId}` */
566
- async getSharedRole(roleId) {
567
- return this.request("GET", `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}`);
568
- }
569
- /**
570
- * Define a role once and offer it to every merchant, or to the ones listed.
571
- * Offering never assigns it. `POST /admin-portal/merchant-roles`
572
- */
573
- async createSharedRole(body) {
574
- return this.request("POST", "/admin-portal/merchant-roles", { body });
575
- }
576
- /**
577
- * What a change would do, without writing anything. Apply it with
578
- * `updateSharedRole` and the `version` this returns.
579
- * `POST /admin-portal/merchant-roles/{roleId}/preview`
580
- */
581
- async previewSharedRole(roleId, change) {
582
- return this.request(
583
- "POST",
584
- `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/preview`,
585
- { body: change }
586
- );
587
- }
588
- /**
589
- * Apply a reviewed change. A change that takes access away needs
590
- * `acknowledge_sign_out` and signs out every holder.
591
- * `PUT /admin-portal/merchant-roles/{roleId}`
592
- */
593
- async updateSharedRole(roleId, body) {
594
- return this.request("PUT", `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}`, {
595
- body
596
- });
597
- }
598
- /** `POST /admin-portal/merchant-roles/{roleId}/retire/preview` */
599
- async previewRetireSharedRole(roleId, body = {}) {
600
- return this.request(
601
- "POST",
602
- `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/retire/preview`,
603
- { body }
604
- );
605
- }
606
- /**
607
- * Retire a shared role, moving its holders to the replacement.
608
- * `POST /admin-portal/merchant-roles/{roleId}/retire`
609
- */
610
- async retireSharedRole(roleId, body) {
611
- return this.request(
612
- "POST",
613
- `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/retire`,
614
- { body }
615
- );
616
- }
617
- /**
618
- * Merchant-specific roles whose holders could move to this shared role, and
619
- * what each move would change. `GET /admin-portal/merchant-roles/{roleId}/consolidation`
620
- */
621
- async sharedRoleConsolidationCandidates(roleId) {
622
- return this.request(
623
- "GET",
624
- `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/consolidation`
625
- );
626
- }
627
- /** `POST /admin-portal/merchant-roles/{roleId}/consolidate` */
628
- async consolidateIntoSharedRole(roleId, body) {
629
- return this.request(
630
- "POST",
631
- `/admin-portal/merchant-roles/${encodeURIComponent(roleId)}/consolidate`,
632
- { body }
633
- );
634
- }
635
- /**
636
- * One page of merchants. Without `sort_by` the caller's favorite merchants
637
- * come first; with one, favorites are not moved. Several `billing_status`
638
- * values match a merchant in any of them. `GET /admin-portal/customers`
639
- */
640
- async listCustomers(params) {
641
- return this.request("GET", "/admin-portal/customers", {
642
- query: csvQuery(params, ["billing_status"])
643
- });
644
- }
645
- async getCustomer(customerId) {
646
- return this.request("GET", `/admin-portal/customers/${encodeURIComponent(customerId)}`);
647
- }
648
- async listTransactions(params) {
649
- const query = transactionListQuery(params);
650
- return this.request("GET", "/admin-portal/transactions", {
651
- query
652
- });
653
- }
654
- /**
655
- * Persons of every merchant account, connected accounts included, or of the
656
- * one merchant named in `merchant_id`. Each row is one merchant's person
657
- * and names that merchant; persons of two merchants are never merged,
658
- * whatever they share. `search` is matched at every merchant listed.
659
- *
660
- * A `limit` outside 1 to 100, a `search` longer than 320 characters, or
661
- * `sort_by: 'captured'` without a three-letter `captured_currency` is a
662
- * `400`.
663
- *
664
- * `GET /admin-portal/persons`
665
- */
666
- async listPersonsAcrossMerchants(params) {
667
- if (params === void 0) {
668
- return this.request("GET", "/admin-portal/persons");
669
- }
670
- return this.request("GET", "/admin-portal/persons", { query: params });
671
- }
672
- /**
673
- * One page of ONE merchant's persons: the same query and response as the
674
- * merchant-facing `persons.list`, admin-authenticated. A person stays one
675
- * merchant's; `listPersonsAcrossMerchants` lists several merchants' side by
676
- * side.
677
- *
678
- * `GET /admin-portal/persons/{merchantId}`
679
- */
680
- async listPersons(merchantId, params) {
681
- return this.request("GET", adminPersons(merchantId), {
682
- query: params
683
- });
684
- }
685
- /**
686
- * One person of a merchant, as the merchant-facing `persons.retrieve`
687
- * returns it.
688
- *
689
- * `GET /admin-portal/persons/{merchantId}/{personId}`
690
- */
691
- async getPerson(merchantId, personId, params) {
692
- return this.request("GET", `${adminPersons(merchantId)}/${encodeURIComponent(personId)}`, {
693
- query: params
694
- });
695
- }
696
- /**
697
- * The persons of a merchant that may be the same person as this one, as
698
- * the merchant-facing `persons.related` returns them.
699
- *
700
- * `GET /admin-portal/persons/{merchantId}/{personId}/related`
701
- */
702
- async listRelatedPersons(merchantId, personId, params) {
703
- return this.request(
704
- "GET",
705
- `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/related`,
706
- { query: params }
707
- );
708
- }
709
- /**
710
- * The person of one payment of a merchant, as the merchant-facing
711
- * `persons.ofPayment` returns it.
712
- *
713
- * `GET /admin-portal/persons/{merchantId}/payment/{paymentId}`
714
- */
715
- async getPaymentPerson(merchantId, paymentId, params) {
716
- return this.request(
717
- "GET",
718
- `${adminPersons(merchantId)}/payment/${encodeURIComponent(paymentId)}`,
719
- { query: params }
720
- );
721
- }
722
- /**
723
- * Every staff flag of a person, active and removed, newest first, with
724
- * those of the persons merged into it. A merged person reads as the person
725
- * it merged into. Staff only; a flag changes no payment.
726
- *
727
- * `GET /admin-portal/persons/{merchantId}/{personId}/flags`
728
- */
729
- async listPersonFlags(merchantId, personId) {
730
- return this.request("GET", personFlags(merchantId, personId));
731
- }
732
- /**
733
- * Flags a person for staff. The flag changes no payment and the merchant
734
- * never sees it. A merged person's flag goes on the person it merged into.
735
- * A person already flagged is refused with `IR_38` (400); a staff role that
736
- * may not flag buyers gets a `403`.
737
- *
738
- * `POST /admin-portal/persons/{merchantId}/{personId}/flags`
739
- */
740
- async flagPerson(merchantId, personId, body) {
741
- return this.request("POST", personFlags(merchantId, personId), { body });
742
- }
743
- /**
744
- * Replaces an active flag's reason and note at the `version` read. A
745
- * colleague's newer change, or a removal, since that read is refused with
746
- * `IR_16` (400) rather than overwritten.
747
- *
748
- * `PUT /admin-portal/persons/{merchantId}/{personId}/flags/{flagId}`
749
- */
750
- async updatePersonFlag(merchantId, personId, flagId, body) {
751
- return this.request(
752
- "PUT",
753
- `${personFlags(merchantId, personId)}/${encodeURIComponent(flagId)}`,
754
- { body }
755
- );
756
- }
757
- /**
758
- * Removes a flag at the `version` read: the flag stops and stays in the
759
- * history with who removed it and when, which is what this answers. A
760
- * colleague's change since that read is refused with `IR_16` (400).
761
- *
762
- * `DELETE /admin-portal/persons/{merchantId}/{personId}/flags/{flagId}?version=`
763
- */
764
- async removePersonFlag(merchantId, personId, flagId, version) {
765
- return this.request(
766
- "DELETE",
767
- `${personFlags(merchantId, personId)}/${encodeURIComponent(flagId)}`,
768
- { query: { version } }
769
- );
770
- }
771
- /**
772
- * One page of a merchant's persons with an active flag, newest flag first.
773
- * A flag on a merged person is listed under the person it merged into, and
774
- * a person with two active flags is listed once, with the newer one.
775
- *
776
- * `GET /admin-portal/persons/{merchantId}/flagged`
777
- */
778
- async listFlaggedPersons(merchantId, params) {
779
- if (params === void 0) {
780
- return this.request("GET", `${adminPersons(merchantId)}/flagged`);
781
- }
782
- return this.request("GET", `${adminPersons(merchantId)}/flagged`, {
783
- query: params
784
- });
785
- }
786
- /**
787
- * Whether each of 1 to 100 persons of a merchant is flagged, one answer
788
- * per asked person in the order asked. A merged person answers for the
789
- * person it merged into; an unknown person is not flagged. No id, or more
790
- * than 100, is a `400`.
791
- *
792
- * `GET /admin-portal/persons/{merchantId}/flag-status?person_ids=`
793
- */
794
- async personFlagStatus(merchantId, personIds) {
795
- return this.request("GET", `${adminPersons(merchantId)}/flag-status`, {
796
- query: { person_ids: personIds.join(",") }
797
- });
798
- }
799
- /**
800
- * Persons flagged by staff at other merchants who share an email address
801
- * or a device id with this person's 100 most recent payments, each once,
802
- * newest flag first. A card, an IP address or device traits never match.
803
- * A hint only: the persons stay separate and nothing is written.
804
- *
805
- * `GET /admin-portal/persons/{merchantId}/{personId}/flagged-elsewhere`
806
- */
807
- async listFlaggedElsewhere(merchantId, personId) {
808
- return this.request(
809
- "GET",
810
- `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/flagged-elsewhere`
811
- );
812
- }
813
- async exportTransactions(params, options) {
814
- return runExport(
815
- this.request,
816
- "GET",
817
- "/admin-portal/transactions/export",
818
- { query: transactionListQuery(params) },
819
- options
820
- );
821
- }
822
- async exportTransactionLines(params, options) {
823
- return runExport(
824
- this.request,
825
- "GET",
826
- "/admin-portal/transactions/export/lines",
827
- { query: transactionListQuery(params) },
828
- options
829
- );
830
- }
831
- /**
832
- * Full detail for a single transaction of ANY merchant — the same
833
- * `PaymentResponse` the merchant `payments.retrieve` returns, with what only
834
- * staff see beside it (`person_flagged`, `flagged_elsewhere`). Admin-scoped:
835
- * the JWT (or admin API key) does not need to belong to the payment's
836
- * merchant; the backend resolves the owning merchant and reads it read-only
837
- * (no connector sync).
838
- */
839
- async getTransaction(paymentId) {
840
- return this.request("GET", `/admin-portal/transactions/${encodeURIComponent(paymentId)}`);
841
- }
842
- /**
843
- * A payment's buyer risk evaluations, newest first, across every merchant:
844
- * the same answer as the merchant's `payments.buyerRisk()`.
845
- *
846
- * `GET /admin-portal/transactions/{paymentId}/buyer-risk`
847
- */
848
- async getTransactionBuyerRisk(paymentId) {
849
- return this.request(
850
- "GET",
851
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/buyer-risk`
852
- );
853
- }
854
- /**
855
- * A payment's connection checks, newest first, across every merchant: the
856
- * same answer as the merchant's `identityVerifications.connectionChecks()`.
857
- *
858
- * `GET /admin-portal/transactions/{paymentId}/connection-checks`
859
- */
860
- async getTransactionConnectionChecks(paymentId) {
861
- return this.request(
862
- "GET",
863
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/connection-checks`
864
- );
865
- }
866
- /**
867
- * Every account that rates buyer addresses, with its checks, recorded and
868
- * not recorded, and error rate over the last `window_days` days.
869
- *
870
- * `GET /admin-portal/connection-checks`
871
- */
872
- async getConnectionCheckUsage() {
873
- return this.request("GET", "/admin-portal/connection-checks");
874
- }
875
- /** The same frozen purchase lines available on the merchant payment read. */
876
- async getTransactionProductLines(paymentId) {
877
- return this.request(
878
- "GET",
879
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/product-lines`
880
- );
881
- }
882
- /**
883
- * Per-attempt history (retries across connectors, decline reasons) for a
884
- * single transaction of ANY merchant.
885
- */
886
- async getTransactionAttempts(paymentId) {
887
- return this.request(
888
- "GET",
889
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/attempts`
890
- );
891
- }
892
- /**
893
- * Status timeline (intent / attempt / refund / dispute transitions) for a
894
- * single transaction of ANY merchant. `complete: false` marks timelines
895
- * partially reconstructed from current records.
896
- */
897
- async getTransactionStatusHistory(paymentId) {
898
- return this.request(
899
- "GET",
900
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/status-history`
901
- );
902
- }
903
- /**
904
- * The traffic of a transaction of ANY merchant: provider requests, provider
905
- * webhooks and shop webhooks, oldest first, without payloads. Same shape as
906
- * `payments.listLogs`.
907
- */
908
- async getTransactionLogs(paymentId) {
909
- return this.request("GET", `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs`);
910
- }
911
- /** One provider request of a transaction of ANY merchant, with its masked payloads. */
912
- async getTransactionLogConnectorCall(paymentId, callId) {
913
- return this.request(
914
- "GET",
915
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/connector-calls/${encodeURIComponent(callId)}`
916
- );
917
- }
918
- /** One provider webhook of a transaction of ANY merchant, with its masked headers and body. */
919
- async getTransactionLogIncomingWebhook(paymentId, eventId) {
920
- return this.request(
921
- "GET",
922
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/incoming-webhooks/${encodeURIComponent(eventId)}`
923
- );
924
- }
925
- /** Every delivery attempt of one shop webhook of a transaction of ANY merchant. */
926
- async getTransactionLogOutgoingWebhook(paymentId, initialAttemptId) {
927
- return this.request(
928
- "GET",
929
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/logs/outgoing-webhooks/${encodeURIComponent(initialAttemptId)}`
930
- );
931
- }
932
- /**
933
- * The invoices and credit notes issued for a transaction of ANY merchant,
934
- * each its own row, newest first. At most 100 per page.
935
- * `GET /admin-portal/transactions/{paymentId}/invoices`
936
- */
937
- async getTransactionInvoices(paymentId, params) {
938
- return this.request(
939
- "GET",
940
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/invoices`,
941
- { query: params === void 0 ? void 0 : { ...params } }
942
- );
943
- }
944
- /**
945
- * One invoice of ANY merchant as a PDF: the stored copy of an issued
946
- * document, a live render of a draft, the snapshot under a VOIDED banner for
947
- * a voided one.
948
- * `GET /admin-portal/invoices/{invoiceId}/pdf`
949
- */
950
- async downloadInvoicePdf(invoiceId) {
951
- return this.request("GET", `/admin-portal/invoices/${encodeURIComponent(invoiceId)}/pdf`, {
952
- responseType: "blob"
953
- });
954
- }
955
- /**
956
- * Refunds for a single transaction of ANY merchant.
957
- */
958
- async getTransactionRefunds(paymentId) {
959
- return this.request(
960
- "GET",
961
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/refunds`
962
- );
963
- }
964
- /**
965
- * The refund requests buyers raised from the customer portal about a single
966
- * transaction of ANY merchant, newest first, one page at a time
967
- * (`total_count` counts them all). Read-only.
968
- * `GET /admin-portal/transactions/{paymentId}/refund-requests`
969
- */
970
- async getTransactionRefundRequests(paymentId, params) {
971
- return this.request(
972
- "GET",
973
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/refund-requests`,
974
- { query: params === void 0 ? void 0 : { ...params } }
975
- );
976
- }
977
- /**
978
- * Refunds of ANY merchant mirrored from a connector webhook at a
979
- * non-terminal status that no sync can advance. Newest first unless
980
- * `sort_by` says otherwise. Several `connector`, `status` or `sync_reason`
981
- * values match a refund with any of them.
982
- */
983
- async listUnresolvedRefunds(params) {
984
- return this.request("GET", "/admin-portal/refunds/unresolved", {
985
- query: csvQuery(params, ["connector", "status", "sync_reason"])
986
- });
987
- }
988
- // --- Buyer evidence review --------------------------------------------------
989
- /**
990
- * DeloPay's review queue of buyers' evidence, the nearest target first
991
- * unless `sort_by` says otherwise, across merchants unless `merchant_id` or
992
- * `profile_id` narrows it. Several `state` values match a case in any of
993
- * them.
994
- */
995
- async listBuyerEvidence(params) {
996
- return this.request("GET", "/admin-portal/buyer-evidence", {
997
- query: csvQuery(params, ["state"])
998
- });
999
- }
1000
- /** Chargeback prevention connections across merchants, or of one merchant. */
1001
- async listChargebackPreventionConnections(params) {
1002
- return this.request("GET", "/admin-portal/chargeback-prevention/connections", {
1003
- query: params
1004
- });
1005
- }
1006
- /** Chargeback prevention cases across merchants, or of one merchant. */
1007
- async listChargebackPreventionCases(params) {
1008
- const { merchant_id, ...filters } = params ?? {};
1009
- return this.request("GET", "/admin-portal/chargeback-prevention/cases", {
1010
- query: { ...preventionCaseQuery(filters), ...merchant_id ? { merchant_id } : {} }
1011
- });
1012
- }
1013
- /** Chargeback prevention refund rules across merchants, or of one merchant. */
1014
- async listChargebackPreventionRefundRules(params) {
1015
- return this.request("GET", "/admin-portal/chargeback-prevention/refund-rules", {
1016
- query: params
1017
- });
1018
- }
1019
- /**
1020
- * Turn a merchant's refund rule off. Its settings are kept, and what it
1021
- * already did is still settled and reported.
1022
- */
1023
- async stopChargebackPreventionRefundRule(body) {
1024
- return this.request("POST", "/admin-portal/chargeback-prevention/refund-rules/disable", {
1025
- body
1026
- });
1027
- }
1028
- /** What refund rules did, across merchants or for one merchant. */
1029
- async listChargebackPreventionRefundActions(params) {
1030
- return this.request("GET", "/admin-portal/chargeback-prevention/refund-actions", {
1031
- query: params
1032
- });
1033
- }
1034
- /** One chargeback prevention case of any merchant, with its history. */
1035
- async getChargebackPreventionCase(caseId) {
1036
- return this.request(
1037
- "GET",
1038
- `/admin-portal/chargeback-prevention/cases/${encodeURIComponent(caseId)}`
1039
- );
1040
- }
1041
- /** One case's evidence with every step and file, internal ones included. */
1042
- async getBuyerEvidence(evidenceId) {
1043
- return this.request("GET", `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}`);
1044
- }
1045
- /** Download a file of a case's evidence. */
1046
- async downloadBuyerEvidenceFile(evidenceId, fileId) {
1047
- return this.request(
1048
- "GET",
1049
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/files/${encodeURIComponent(fileId)}`,
1050
- { responseType: "blob" }
1051
- );
1052
- }
1053
- /**
1054
- * Ask the buyer for more, by a cut-off. Refused once a result has closed
1055
- * the review.
1056
- */
1057
- async requestBuyerEvidenceInformation(evidenceId, params) {
1058
- return this.request(
1059
- "POST",
1060
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/information-requests`,
1061
- { body: params }
1062
- );
1063
- }
1064
- /** An answer the buyer sees. */
1065
- async replyToBuyerEvidence(evidenceId, params) {
1066
- return this.request(
1067
- "POST",
1068
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/replies`,
1069
- { body: params }
1070
- );
1071
- }
1072
- /**
1073
- * Record the result, which closes the review. It never refunds a payment
1074
- * and never decides a dispute with the payment provider.
1075
- */
1076
- async reviewBuyerEvidence(evidenceId, params) {
1077
- return this.request(
1078
- "POST",
1079
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/reviews`,
1080
- { body: params }
1081
- );
1082
- }
1083
- /** Move the buyer's cut-off, with a reason the buyer sees. */
1084
- async moveBuyerEvidenceDeadline(evidenceId, params) {
1085
- return this.request(
1086
- "PUT",
1087
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/deadline`,
1088
- { body: params }
1089
- );
1090
- }
1091
- /** Make a user responsible for the review: an id, `me`, or `null` for nobody. */
1092
- async assignBuyerEvidence(evidenceId, params) {
1093
- return this.request(
1094
- "PUT",
1095
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/reviewer`,
1096
- { body: params }
1097
- );
1098
- }
1099
- /** An internal note, never shown to the buyer. */
1100
- async noteBuyerEvidence(evidenceId, params) {
1101
- return this.request(
1102
- "POST",
1103
- `/admin-portal/buyer-evidence/${encodeURIComponent(evidenceId)}/notes`,
1104
- { body: params }
1105
- );
1106
- }
1107
- async analytics(params) {
1108
- return this.request("GET", "/admin-portal/analytics", {
1109
- query: params
1110
- });
1111
- }
1112
- async overviewStats() {
1113
- return this.request("GET", "/admin-portal/overview-stats");
1114
- }
1115
- async paymentAnalytics(params) {
1116
- return this.request("GET", "/admin-portal/payment-analytics", {
1117
- query: params
1118
- });
1119
- }
1120
- /**
1121
- * One drill level of the analytics dashboard: the scope's daily series +
1122
- * processor mix and its direct children's series. Range / metric / donut
1123
- * toggles apply client-side; only a drill (passing merchant_id / project_id
1124
- * / shop_id) fetches the next level.
1125
- */
1126
- async analyticsScope(params) {
1127
- return this.request("GET", "/admin-portal/analytics/scope", {
1128
- query: params
1129
- });
1130
- }
1131
- /**
1132
- * The operators' own analytics exclusions, oldest first, with the payments
1133
- * each one matched in the lookback window. They change the admin's
1134
- * analytics only; a merchant's own rules never change the admin's figures.
1135
- * `GET /admin-portal/analytics/exclusions`
1136
- */
1137
- async listAnalyticsExclusions() {
1138
- return this.request("GET", "/admin-portal/analytics/exclusions");
1139
- }
1140
- /**
1141
- * Write a new operator rule. Omitting `merchant_id` applies it to every
1142
- * merchant; omitting `surfaces` means **all five**, not none.
1143
- * `POST /admin-portal/analytics/exclusions`
1144
- */
1145
- async createAnalyticsExclusion(rule) {
1146
- return this.request("POST", "/admin-portal/analytics/exclusions", { body: rule });
1147
- }
1148
- /**
1149
- * Replace an operator rule **completely** — send the whole rule, including
1150
- * an explicit `null` for every optional field you mean to clear.
1151
- * `PUT /admin-portal/analytics/exclusions/{id}`
1152
- */
1153
- async updateAnalyticsExclusion(id, rule) {
1154
- return this.request("PUT", `/admin-portal/analytics/exclusions/${encodeURIComponent(id)}`, {
1155
- body: rule
1156
- });
1157
- }
1158
- /**
1159
- * Delete an operator rule. Returns the rule as it was.
1160
- * `DELETE /admin-portal/analytics/exclusions/{id}`
1161
- */
1162
- async deleteAnalyticsExclusion(id) {
1163
- return this.request("DELETE", `/admin-portal/analytics/exclusions/${encodeURIComponent(id)}`);
1164
- }
1165
- /**
1166
- * A merchant's own exclusions, read-only, each with the operator rule that
1167
- * already holds it (`admin_rule_id`).
1168
- * `GET /admin-portal/analytics/exclusions/merchant/{merchant_id}`
1169
- */
1170
- async listMerchantAnalyticsExclusions(merchantId) {
1171
- return this.request(
1172
- "GET",
1173
- `/admin-portal/analytics/exclusions/merchant/${encodeURIComponent(merchantId)}`
1174
- );
1175
- }
1176
- /**
1177
- * Copy some of a merchant's rules into the operators' rules, each scoped to
1178
- * that merchant. A copy is independent of its source; a rule an operator
1179
- * rule already holds is skipped with a reason.
1180
- * `POST /admin-portal/analytics/exclusions/copy`
1181
- */
1182
- async copyAnalyticsExclusions(body) {
1183
- return this.request("POST", "/admin-portal/analytics/exclusions/copy", { body });
1184
- }
1185
- /**
1186
- * Shop comparison: one series per shop over one window, with whole-window
1187
- * and previous-window totals. With `merchant_id`, that merchant's shops;
1188
- * without it, the top `limit` (default 50) shops of every merchant by
1189
- * successful volume, the rest summed into `others`. Same contract as the
1190
- * merchant surface's `analytics.shops`. `GET /admin-portal/analytics/shops`
1191
- */
1192
- async analyticsShops(params = {}) {
1193
- const query = params;
1194
- return this.request("GET", "/admin-portal/analytics/shops", {
1195
- query
1196
- });
1197
- }
1198
- /**
1199
- * Every shop's device intelligence account, with its merchant's and its own
1200
- * name and its assessments per environment over the last `days` days: counts
1201
- * and error rate, failures by reason, finished assessments per day and
1202
- * provider, the last recorded assessment, browser payments against assessed
1203
- * ones, and the payments held for a missing assessment. The error rate counts
1204
- * finished assessments: one still running and a payment naming no buyer are
1205
- * not errors.
1206
- * `GET /admin-portal/device-intelligence`
1207
- */
1208
- async deviceIntelligenceUsage(params = {}) {
1209
- return this.request("GET", "/admin-portal/device-intelligence", {
1210
- query: params
1211
- });
1212
- }
1213
- /**
1214
- * The payments behind one number of the device intelligence overview, one
1215
- * page at a time: the assessments it counts, the payments held for a missing
1216
- * assessment, or the browser payments without a device signal. With the same
1217
- * `days` a list's `total` is the count it was opened from. A row carries
1218
- * nothing about the buyer.
1219
- * `GET /admin-portal/device-intelligence/payments`
1220
- */
1221
- async deviceIntelligencePayments(params = {}) {
1222
- return this.request("GET", "/admin-portal/device-intelligence/payments", {
1223
- query: params
1224
- });
1225
- }
1226
- /**
1227
- * PSP analytics across merchants: the merchant surface's
1228
- * `analytics.connectors`, with `merchant_id` optional (omitted, every
1229
- * merchant, broken down by merchant) and each account's merchant named.
1230
- * `GET /admin-portal/analytics/connectors`
1231
- */
1232
- async analyticsConnectors(params = {}) {
1233
- const query = params;
1234
- return this.request("GET", "/admin-portal/analytics/connectors", {
1235
- query
1236
- });
1237
- }
1238
- /**
1239
- * Device analytics over the canonical client-context observation per
1240
- * payment, rooted at all merchants and drillable via `merchant_id` /
1241
- * `project_id` / `shop_id` like `analyticsScope`. Answers 200 with
1242
- * `enabled: false` when the client-context optimisation-use switch is off.
1243
- */
1244
- async analyticsDevices(params) {
1245
- return this.request("GET", "/admin-portal/analytics/devices", {
1246
- query: params
1247
- });
1248
- }
1249
- /**
1250
- * Geo analytics over the canonical client-context observation per payment,
1251
- * rooted at all merchants. `mode` selects the location claim (`ip` default,
1252
- * `billing`).
1253
- */
1254
- async analyticsGeo(params) {
1255
- return this.request("GET", "/admin-portal/analytics/geo", {
1256
- query: params
1257
- });
1258
- }
1259
- /**
1260
- * The recent payments behind one clicked geo target (map country/city or
1261
- * local-hours heatmap cell), rooted at all merchants. Capped at 50 rows,
1262
- * newest first, with the full match count alongside.
1263
- */
1264
- async analyticsGeoTransactions(params) {
1265
- return this.request("GET", "/admin-portal/analytics/geo/transactions", {
1266
- query: params
1267
- });
1268
- }
1269
- /**
1270
- * The recent payments behind one clicked device target (browser/platform
1271
- * family, device-model label or device class), rooted at all merchants.
1272
- * 50 rows per page (`offset` for the next page), newest first.
1273
- */
1274
- async analyticsDeviceTransactions(params) {
1275
- return this.request("GET", "/admin-portal/analytics/devices/transactions", {
1276
- // A discriminated union carries no index signature, so the widening
1277
- // goes via `unknown` — the union is the point.
1278
- query: params
1279
- });
1280
- }
1281
- /**
1282
- * The payments behind one clicked element of the admin payments dashboard
1283
- * (processor / method slice, outcome segment, series bucket or breakdown
1284
- * row), rooted at all merchants. Same contract as the merchant surface's
1285
- * `analytics.scopeTransactions`. `GET /admin-portal/analytics/scope/transactions`
1286
- */
1287
- async analyticsScopeTransactions(params) {
1288
- return this.request("GET", "/admin-portal/analytics/scope/transactions", {
1289
- query: params
1290
- });
1291
- }
1292
- /**
1293
- * Subscription analytics over `subscription` and `invoice`, rooted at all
1294
- * merchants and drillable via `merchant_id` / `project_id` / `shop_id` like
1295
- * `analyticsScope`. The `children` block at the root is the merchant
1296
- * breakdown — there is no separate endpoint for it.
1297
- *
1298
- * Half the figures are **stocks** (a snapshot at the window's end, not a sum
1299
- * over it), so `est_monthly_volume_usd` and `active` can match across a
1300
- * 7-day and a 30-day window while `billed_volume_usd` does not. Day
1301
- * granularity only.
1302
- */
1303
- async analyticsSubscriptions(params) {
1304
- return this.request("GET", "/admin-portal/analytics/subscriptions", {
1305
- query: params
1306
- });
1307
- }
1308
- /**
1309
- * The billing cycles behind one clicked element of the admin subscription
1310
- * dashboard: an invoice outcome, a processor slice on either axis, a plan
1311
- * row, a subscription status, a movement component, a series bucket or a
1312
- * breakdown row. 50 rows per page (`offset` for the next), newest first,
1313
- * with the full match count alongside.
1314
- *
1315
- * A cycle that never reached a payment is listed too — that is what "still
1316
- * unpaid" means — and carries its invoice id as `payment_id` with
1317
- * `invoice_id` set to the same value.
1318
- */
1319
- async analyticsSubscriptionsList(params) {
1320
- return this.request("GET", "/admin-portal/analytics/subscriptions/list", {
1321
- // A discriminated union carries no index signature, so the widening
1322
- // goes via `unknown` — the union is the point, and the query builder
1323
- // only ever reads own enumerable keys.
1324
- query: params
1325
- });
1326
- }
1327
- /**
1328
- * How accurate buyer risk scores were in a period, against what later
1329
- * happened to the payments: fraud, clean, pending and never charged, how
1330
- * well the flagged bands caught the fraud, each band and signal, and the
1331
- * buyers the score stopped who later paid with no fraud. Stores nothing.
1332
- * `GET /admin-portal/buyer-risk/accuracy`
1333
- */
1334
- async buyerRiskAccuracy(params = {}) {
1335
- return this.request("GET", "/admin-portal/buyer-risk/accuracy", {
1336
- query: params
1337
- });
1338
- }
1339
- /**
1340
- * The payments behind one number of {@link AdminPortal.buyerRiskAccuracy}:
1341
- * the payments a signal fired on, those in a band, a flagged × outcome cell,
1342
- * the interventions or the false declines. Paged, sorted and searchable
1343
- * like the analytics drills, and answered in the same shape, with each
1344
- * row's band, score, outcome and applied action.
1345
- * `GET /admin-portal/buyer-risk/accuracy/payments`
1346
- */
1347
- async buyerRiskAccuracyPayments(params = {}) {
1348
- return this.request("GET", "/admin-portal/buyer-risk/accuracy/payments", {
1349
- query: params
1350
- });
1351
- }
1352
- /**
1353
- * Platform billing dashboard: total balance across all ledger accounts (+
1354
- * the net change), top-ups, fees collected, and the day-by-day ledger flow.
1355
- * All amounts are in USD minor units.
1356
- */
1357
- async ledgerAnalytics(params) {
1358
- return this.request("GET", "/admin-portal/ledger-analytics", {
1359
- query: params
1360
- });
1361
- }
1362
- /**
1363
- * Billing profiles no operator listing can reach, and the accounts that may
1364
- * have taken one over.
1365
- *
1366
- * Deleting a merchant account leaves its billing profile — with its
1367
- * balance, its Stripe customer and its saved card — behind, and the
1368
- * Merchants listing enumerates merchant accounts, so such a profile is
1369
- * absent from every operator surface rather than flagged on one. This reads
1370
- * from the billing side instead, so it finds them.
1371
- *
1372
- * Both lists come back complete rather than paged: the healthy answer is two
1373
- * empty arrays, and a truncated answer to *"is the set empty"* would read as
1374
- * a clean bill of health.
1375
- *
1376
- * `adoption_candidates` are candidates, not findings — confirm a row against
1377
- * the audit log before acting on it.
1378
- */
1379
- async orphanedBillingProfiles() {
1380
- return this.request("GET", "/admin-portal/billing/orphaned-profiles");
1381
- }
1382
- /**
1383
- * Retrieve a merchant account via the admin portal. Unlike
1384
- * `merchantAccounts.retrieve`, this route accepts an admin JWT (or admin API
1385
- * key) and does not require the JWT to be scoped to the target merchant.
1386
- */
1387
- async retrieveAccount(merchantId) {
1388
- return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`);
1389
- }
1390
- /**
1391
- * Update a merchant account via the admin portal. Authenticated via admin JWT
1392
- * or admin API key.
1393
- */
1394
- async updateAccount(merchantId, params) {
1395
- return this.request("POST", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`, {
1396
- body: params
1397
- });
1398
- }
1399
- /**
1400
- * Delete a merchant account via the admin portal. Authenticated via admin JWT
1401
- * or admin API key.
1402
- */
1403
- async deleteAccount(merchantId) {
1404
- return this.request("DELETE", `/admin-portal/accounts/${encodeURIComponent(merchantId)}`);
1405
- }
1406
- /**
1407
- * Create a brand-new user attached to the given merchant. The user is
1408
- * marked `is_verified = true` so the admin can hand off credentials
1409
- * immediately — no email round-trip is sent.
1410
- */
1411
- async createUserForMerchant(customerId, body) {
1412
- return this.request("POST", `/admin-portal/customers/${encodeURIComponent(customerId)}/users`, {
1413
- body
1414
- });
1415
- }
1416
- /**
1417
- * Edit a user record. Any subset of fields may be supplied. `role_id`
1418
- * requires `merchant_id`. `password` triggers a password reset (validated
1419
- * against signup policy + JWT blacklist). `reset_2fa` clears TOTP state
1420
- * so the user re-enrolls on next login. `is_active` supports both
1421
- * directions: false soft-disables, true reactivates a soft-disabled user.
1422
- *
1423
- * Throws a `400` with `code === 'UR_66'` when the change would leave a
1424
- * merchant with no administrator — `is_active: false` or `is_verified:
1425
- * false` on, or a `role_id` demoting, the only active user whose role can
1426
- * manage that merchant's users. Nothing is written. `error.data` carries a
1427
- * {@link LastAdministratorRefusal} naming the merchant and which change was
1428
- * refused; render that rather than the generic message.
1429
- */
1430
- async updateUser(userId, body) {
1431
- return this.request("PATCH", `/admin-portal/users/${encodeURIComponent(userId)}`, { body });
1432
- }
1433
- /**
1434
- * One user's account and its health: whether it is active and verified,
1435
- * whether two-factor authentication is set up, when the password last
1436
- * changed, the linked single sign-on providers, the newest successful and
1437
- * failed sign-in, when the user was last seen and how many sessions are
1438
- * live. Lists every membership the user holds in this tenant, invitations
1439
- * and expired ones included, with its role and status. Never returns a
1440
- * credential. `GET /admin-portal/users/{user_id}`
1441
- *
1442
- * Needs an internal role holding `ProfileUserRead`, or the admin API key.
1443
- * A user with no membership in this tenant is a `404`.
1444
- */
1445
- async getUser(userId) {
1446
- return this.request("GET", `/admin-portal/users/${encodeURIComponent(userId)}`);
1447
- }
1448
- /**
1449
- * One user's sign-in history (successes and failures, method, address,
1450
- * location and device), filtered, sorted and paged as
1451
- * `users.listLoginActivity` is. Same access and `404` rule as `getUser`.
1452
- * `GET /admin-portal/users/{user_id}/login-activity`
1453
- */
1454
- async listUserLoginActivity(userId, params) {
1455
- const path3 = `/admin-portal/users/${encodeURIComponent(userId)}/login-activity`;
1456
- if (params === void 0) {
1457
- return this.request("GET", path3);
1458
- }
1459
- return this.request("GET", path3, {
1460
- query: csvQuery(params, ["event_type", "auth_method"])
1461
- });
1462
- }
1463
- /**
1464
- * One user's live sessions: neither signed out nor expired. `is_current`
1465
- * marks the caller's own session only, when the caller looks at themselves.
1466
- * Same access and `404` rule as `getUser`.
1467
- * `GET /admin-portal/users/{user_id}/sessions`
1468
- */
1469
- async listUserSessions(userId) {
1470
- return this.request("GET", `/admin-portal/users/${encodeURIComponent(userId)}/sessions`);
1471
- }
1472
- /**
1473
- * End one session of the user: its token is refused on its next request.
1474
- * Needs `UsersManage`. Recorded in the audit log. A session that has
1475
- * already ended answers `revoked: false` and records nothing. A session of
1476
- * another user is a `404`, as an unknown id is.
1477
- * `POST /admin-portal/users/{user_id}/sessions/{session_id}/revoke`
1478
- */
1479
- async revokeUserSession(userId, sessionId) {
1480
- return this.request(
1481
- "POST",
1482
- `/admin-portal/users/${encodeURIComponent(userId)}/sessions/${encodeURIComponent(sessionId)}/revoke`
1483
- );
1484
- }
1485
- /**
1486
- * Sign the user out of every session and token, wherever they signed in.
1487
- * Needs `UsersManage`. The account stays active and the user can sign in
1488
- * again at once. Answers how many live sessions were ended. Recorded in the
1489
- * audit log. `POST /admin-portal/users/{user_id}/sessions/revoke-all`
1490
- */
1491
- async revokeAllUserSessions(userId) {
1492
- return this.request(
1493
- "POST",
1494
- `/admin-portal/users/${encodeURIComponent(userId)}/sessions/revoke-all`
1495
- );
1496
- }
1497
- /**
1498
- * Which checkout payment methods a member of `merchantId` may change.
1499
- * `GET /admin-portal/accounts/{merchant_id}/members/{user_id}/method-access`
1500
- *
1501
- * Any internal role may read it; `can_edit` is `false` for one without
1502
- * `UsersManage`. A user holding no role in the merchant is a 404 `UR_68`.
1503
- */
1504
- async getMemberMethodAccess(merchantId, userId) {
1505
- return this.request(
1506
- "GET",
1507
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/method-access`
1508
- );
1509
- }
1510
- /**
1511
- * Limit a member of `merchantId` to some checkout payment methods, or give
1512
- * every method back. Needs `UsersManage`. Recorded in the merchant's audit
1513
- * log. `PUT /admin-portal/accounts/{merchant_id}/members/{user_id}/method-access`
1514
- */
1515
- async updateMemberMethodAccess(merchantId, userId, body) {
1516
- return this.request(
1517
- "PUT",
1518
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/method-access`,
1519
- { body }
1520
- );
1521
- }
1522
- /**
1523
- * A member of `merchantId`'s permission overrides.
1524
- * `GET /admin-portal/accounts/{merchant_id}/members/{user_id}/permission-overrides`
1525
- *
1526
- * Any internal role may read them; `can_edit` is `false` for one without
1527
- * `UsersManage`. A user holding no role in the merchant is a 404 `UR_68`.
1528
- */
1529
- async getMemberPermissionOverrides(merchantId, userId) {
1530
- return this.request(
1531
- "GET",
1532
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/permission-overrides`
1533
- );
1534
- }
1535
- /**
1536
- * Replace a member of `merchantId`'s permission overrides. Needs
1537
- * `UsersManage`; an operator is not limited by their own access. Recorded
1538
- * in the merchant's audit log and applied to the member's next request.
1539
- * `PUT /admin-portal/accounts/{merchant_id}/members/{user_id}/permission-overrides`
1540
- */
1541
- async updateMemberPermissionOverrides(merchantId, userId, body) {
1542
- return this.request(
1543
- "PUT",
1544
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/members/${encodeURIComponent(userId)}/permission-overrides`,
1545
- { body }
1546
- );
1547
- }
1548
- /**
1549
- * Soft-delete a user globally: deactivates the row, blacklists existing
1550
- * JWTs, and wipes credentials. Distinct from `deleteUserRole`, which
1551
- * removes a single role binding while leaving the user signed-in elsewhere.
1552
- *
1553
- * Throws the same `UR_66` as {@link updateUser} when the user is the last
1554
- * administrator of any merchant they belong to, with `route: 'delete'`.
1555
- */
1556
- async deleteUser(userId) {
1557
- return this.request("DELETE", `/admin-portal/users/${encodeURIComponent(userId)}`);
1558
- }
1559
- /**
1560
- * Set a target merchant's shop iframe-allowed origins. Internal-admin
1561
- * route — accepts an admin JWT or admin API key without requiring the
1562
- * caller to be scoped to the target merchant. Pass `null` (or an empty
1563
- * array) to clear the allowlist back to same-origin only.
1564
- *
1565
- * Server validates each origin: full origin (scheme + host[:port]),
1566
- * no path/query/fragment, no wildcards.
1567
- *
1568
- * `POST /admin-portal/accounts/{merchantId}/business-profile/{profileId}/iframe-origins`
1569
- */
1570
- async updateShopIframeOrigins(merchantId, profileId, origins) {
1571
- return this.request(
1572
- "POST",
1573
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/business-profile/${encodeURIComponent(profileId)}/iframe-origins`,
1574
- { body: { iframe_allowed_origins: origins } }
1575
- );
1576
- }
1577
- /**
1578
- * Set (or clear) a target merchant shop's home country — the geo
1579
- * dashboard's cross-border baseline. Internal-admin route. Pass `null` to
1580
- * clear back to "international / no home country" (the default).
1581
- *
1582
- * `POST /admin-portal/accounts/{merchantId}/business-profile/{profileId}/home-country`
1583
- */
1584
- async updateShopHomeCountry(merchantId, profileId, homeCountry) {
1585
- return this.request(
1586
- "POST",
1587
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/business-profile/${encodeURIComponent(profileId)}/home-country`,
1588
- { body: { home_country: homeCountry } }
1589
- );
1590
- }
1591
- /**
1592
- * One merchant's sell-to restrictions — the merchant-wide policy and every
1593
- * shop's effective policy. Read-only; staff change a policy through the
1594
- * merchant routes.
1595
- *
1596
- * `GET /admin-portal/accounts/{merchantId}/sell-to-restrictions`
1597
- */
1598
- async getSellToRestrictions(merchantId) {
1599
- return this.request(
1600
- "GET",
1601
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/sell-to-restrictions`
1602
- );
1603
- }
1604
- /**
1605
- * Soft-delete a transaction of ANY merchant. Only payments whose status
1606
- * is in the admin delete policy can be deleted; the action is audited.
1607
- *
1608
- * `DELETE /admin-portal/transactions/{paymentId}`
1609
- */
1610
- async deleteTransaction(paymentId) {
1611
- return this.request("DELETE", `/admin-portal/transactions/${encodeURIComponent(paymentId)}`);
1612
- }
1613
- /**
1614
- * Recover (undelete) a soft-deleted transaction. Audited.
1615
- *
1616
- * `POST /admin-portal/transactions/{paymentId}/recover`
1617
- */
1618
- async recoverTransaction(paymentId) {
1619
- return this.request(
1620
- "POST",
1621
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/recover`
1622
- );
1623
- }
1624
- /**
1625
- * Mark a transaction of ANY merchant as an integration test, or remove the
1626
- * mark. Recorded in the payment's status history as an operator's change.
1627
- *
1628
- * `POST /admin-portal/transactions/{paymentId}/integration-test`
1629
- */
1630
- async setTransactionIntegrationTest(paymentId, params) {
1631
- return this.request(
1632
- "POST",
1633
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/integration-test`,
1634
- { body: params }
1635
- );
1636
- }
1637
- /**
1638
- * Client/device observations captured while the buyer interacted with a
1639
- * transaction of ANY merchant, oldest first.
1640
- *
1641
- * `GET /admin-portal/transactions/{paymentId}/client-context`
1642
- */
1643
- async getTransactionClientContext(paymentId) {
1644
- return this.request(
1645
- "GET",
1646
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/client-context`
1647
- );
1648
- }
1649
- /**
1650
- * What the rail charged for one attempt of a transaction of ANY merchant,
1651
- * off the attempt's settlement line. `line_recorded: false` means
1652
- * no line exists for the attempt; an absent amount is "no figure", never
1653
- * zero.
1654
- *
1655
- * `GET /admin-portal/transactions/{paymentId}/attempts/{attemptId}/processor-cost`
1656
- */
1657
- async getTransactionAttemptProcessorCost(paymentId, attemptId) {
1658
- return this.request(
1659
- "GET",
1660
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/attempts/${encodeURIComponent(attemptId)}/processor-cost`
1661
- );
1662
- }
1663
- /** Read or refresh signed processor fees for a payment. Internal admin access required. */
1664
- async getTransactionProcessorCostEvents(paymentId, params = {}) {
1665
- return this.request(
1666
- "GET",
1667
- `/admin-portal/transactions/${encodeURIComponent(paymentId)}/processor-cost-events`,
1668
- {
1669
- query: {
1670
- test_mode: params.test_mode,
1671
- year: params.year,
1672
- month: params.month,
1673
- limit: params.limit,
1674
- offset: params.offset,
1675
- force_sync: params.force_sync
1676
- }
1677
- }
1678
- );
1679
- }
1680
- /**
1681
- * DeloPay's own processor cost schedules — our acquirer contract, which
1682
- * prices every merchant that has no schedule of its own, except an account
1683
- * a shop owner brought (that rate is in their contract, not ours, and lives
1684
- * on the merchant surface).
1685
- *
1686
- * Never returned on the merchant surface: these rates are DeloPay's cost
1687
- * base. The rows carry no merchant.
1688
- *
1689
- * `GET /admin-portal/processor-costs`
1690
- */
1691
- async listProcessorCostSchedules() {
1692
- return this.request("GET", "/admin-portal/processor-costs");
1693
- }
1694
- /**
1695
- * Record a DeloPay-wide cost schedule — what a rail charges DeloPay, for
1696
- * rails that report no fee on the payment itself. A cost derived from one
1697
- * of these is marked `estimated` on the settlement line, never `reported`.
1698
- *
1699
- * `POST /admin-portal/processor-costs`
1700
- */
1701
- async createProcessorCostSchedule(params) {
1702
- return this.request("POST", "/admin-portal/processor-costs", { body: params });
1703
- }
1704
- /**
1705
- * Record several DeloPay-wide schedules at once, all or none — copy a price
1706
- * list across methods. 1 to 200 entries; an invalid entry is answered `422`
1707
- * naming its index and nothing is stored. The answer lists them in request
1708
- * order.
1709
- *
1710
- * `POST /admin-portal/processor-costs/bulk`
1711
- */
1712
- async bulkCreateProcessorCostSchedules(params) {
1713
- return this.request("POST", "/admin-portal/processor-costs/bulk", { body: params });
1714
- }
1715
- /**
1716
- * Close a window, deactivate a DeloPay-wide schedule or annotate it. The
1717
- * rate itself is not editable: it priced transactions that already
1718
- * happened, and a new rate is a new row.
1719
- *
1720
- * `PUT /admin-portal/processor-costs/{scheduleId}`
1721
- */
1722
- async updateProcessorCostSchedule(scheduleId, params) {
1723
- return this.request("PUT", `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}`, {
1724
- body: params
1725
- });
1726
- }
1727
- /**
1728
- * Close a DeloPay-wide schedule at `effective_from` and open its successor
1729
- * with the same scope and the same end, in one step: no transaction is
1730
- * priced by both rates, and none falls between them. Answers the successor.
1731
- *
1732
- * `POST /admin-portal/processor-costs/{scheduleId}/replace`
1733
- */
1734
- async replaceProcessorCostSchedule(scheduleId, params) {
1735
- return this.request(
1736
- "POST",
1737
- `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}/replace`,
1738
- { body: params }
1739
- );
1740
- }
1741
- /**
1742
- * Delete a DeloPay-wide schedule. Restates nothing: every figure it derived
1743
- * is already stamped on the settlement lines it priced.
1744
- *
1745
- * `DELETE /admin-portal/processor-costs/{scheduleId}`
1746
- */
1747
- async deleteProcessorCostSchedule(scheduleId) {
1748
- return this.request(
1749
- "DELETE",
1750
- `/admin-portal/processor-costs/${encodeURIComponent(scheduleId)}`
1751
- );
1752
- }
1753
- /**
1754
- * The platform VAT rate table, every row past and future. With `on`, only
1755
- * the row in force on that date for each country and category.
1756
- *
1757
- * `GET /admin-portal/vat-rates`
1758
- */
1759
- async listVatRates(params) {
1760
- return this.request("GET", "/admin-portal/vat-rates", {
1761
- query: { country: params?.country, on: params?.on }
1762
- });
1763
- }
1764
- /**
1765
- * Add a rate for a country and category from `valid_from` on. A rate change
1766
- * is a new row with a later `valid_from`; the earlier row keeps pricing the
1767
- * days before it. A second row for the same country, category and date is
1768
- * refused with `IR_38`.
1769
- *
1770
- * `POST /admin-portal/vat-rates`
1771
- */
1772
- async createVatRate(params) {
1773
- return this.request("POST", "/admin-portal/vat-rates", { body: params });
1774
- }
1775
- /**
1776
- * Change a rate's label, or the rate of a row that has not started yet. A
1777
- * row in force (`valid_from` on or before today, UTC) keeps its rate:
1778
- * payments were determined on it, and a new `rate_bp` is refused with
1779
- * `DE_29` (409).
1780
- *
1781
- * `PUT /admin-portal/vat-rates/{rateId}`
1782
- */
1783
- async updateVatRate(rateId, params) {
1784
- return this.request("PUT", `/admin-portal/vat-rates/${encodeURIComponent(rateId)}`, {
1785
- body: params
1786
- });
1787
- }
1788
- /**
1789
- * Delete a rate that has not started yet. A row in force is refused with
1790
- * `DE_29` (409); add a row with a later `valid_from` instead.
1791
- *
1792
- * `DELETE /admin-portal/vat-rates/{rateId}`
1793
- */
1794
- async deleteVatRate(rateId) {
1795
- return this.request("DELETE", `/admin-portal/vat-rates/${encodeURIComponent(rateId)}`);
1796
- }
1797
- /**
1798
- * One shop's statement periods, newest first. Same shape as the
1799
- * merchant-facing `settlement.listPeriods`, admin-authenticated.
1800
- *
1801
- * `GET /admin-portal/accounts/{merchantId}/settlement/periods`
1802
- */
1803
- async listSettlementPeriods(merchantId, params) {
1804
- return this.request(
1805
- "GET",
1806
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/periods`,
1807
- { query: { profile_id: params.profile_id } }
1808
- );
1809
- }
1810
- /**
1811
- * A merchant's settlement statements. Same shapes as the merchant-facing
1812
- * `settlement` resource, admin-authenticated.
1813
- *
1814
- * `GET /admin-portal/accounts/{merchantId}/settlement/statements`
1815
- */
1816
- async listSettlementStatements(merchantId, params) {
1817
- return this.request(
1818
- "GET",
1819
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements`,
1820
- { query: statementListQuery(params) }
1821
- );
1822
- }
1823
- /**
1824
- * One settlement statement with its breakdown.
1825
- * `GET /admin-portal/accounts/{merchantId}/settlement/statements/{statementId}`
1826
- */
1827
- async getSettlementStatement(merchantId, statementId) {
1828
- return this.request(
1829
- "GET",
1830
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements/${encodeURIComponent(statementId)}`
1831
- );
1832
- }
1833
- /**
1834
- * Export a settlement statement as PDF. Returns the raw bytes as a `Blob`
1835
- * with the same auth and error handling as every other call. `options`
1836
- * takes a signal, a timeout and an `onDownloadProgress` listener for the
1837
- * download's bytes (the PDF carries a `Content-Length`, so `total` is set).
1838
- *
1839
- * `GET /admin-portal/accounts/{merchantId}/settlement/statements/{statementId}/pdf`
1840
- */
1841
- async downloadSettlementStatementPdf(merchantId, statementId, params, options) {
1842
- return this.request(
1843
- "GET",
1844
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/statements/${encodeURIComponent(statementId)}/pdf`,
1845
- {
1846
- query: {
1847
- currency: params?.currency,
1848
- include_transactions: params?.include_transactions,
1849
- format: params?.format
1850
- },
1851
- responseType: "blob",
1852
- ...options
1853
- }
1854
- );
1855
- }
1856
- /**
1857
- * A merchant's per-shop settlement overview.
1858
- * `GET /admin-portal/accounts/{merchantId}/settlement/overview`
1859
- */
1860
- async settlementOverview(merchantId, params) {
1861
- return this.request(
1862
- "GET",
1863
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/overview`,
1864
- { query: { test_mode: params.test_mode } }
1865
- );
1866
- }
1867
- /**
1868
- * A merchant's live current-period settlement rollup.
1869
- * `GET /admin-portal/accounts/{merchantId}/settlement/current`
1870
- */
1871
- async settlementCurrent(merchantId, params) {
1872
- return this.request(
1873
- "GET",
1874
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settlement/current`,
1875
- { query: { test_mode: params.test_mode, profile_id: params.profile_id } }
1876
- );
1877
- }
1878
- /**
1879
- * A merchant's vault state: the attach entitlement, and the vault
1880
- * configuration of every shop.
1881
- *
1882
- * `GET /admin-portal/accounts/{merchantId}/vault`
1883
- */
1884
- async getVaultState(merchantId) {
1885
- return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}/vault`);
1886
- }
1887
- /**
1888
- * Attach a vault to one of a merchant's shops — creates the vault
1889
- * connector account and points the profile at it in one request. The
1890
- * Collect credentials are verified write-only before anything is stored.
1891
- *
1892
- * `POST /admin-portal/accounts/{merchantId}/vault/attach`
1893
- */
1894
- async attachVault(merchantId, params) {
1895
- return this.request(
1896
- "POST",
1897
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/vault/attach`,
1898
- { body: params }
1899
- );
1900
- }
1901
- /**
1902
- * Correct the funding type, issuing bank and issuing country recorded on
1903
- * past card payments from the BIN table, across every merchant, oldest
1904
- * first, one bounded page per call. Resume with the returned `next_after`
1905
- * until it is `null`. A dry run, the default, reports without writing; a
1906
- * payment that changed while the page ran is left alone and counted as a
1907
- * conflict. Payments of merchants whose attempts are stored in Redis are
1908
- * not corrected.
1909
- *
1910
- * `POST /admin-portal/card-funding/backfill`
1911
- */
1912
- async backfillCardFunding(params = {}) {
1913
- return this.request("POST", "/admin-portal/card-funding/backfill", { body: params });
1914
- }
1915
- /**
1916
- * Every live shop of a merchant, worst first, with DeloPay's reference
1917
- * assessment and, where a merchant adjustment applied, the adjusted one
1918
- * beside it. Not narrowed to one shop: operators see the whole merchant.
1919
- *
1920
- * `GET /admin-portal/accounts/{merchant_id}/risk`
1921
- */
1922
- async getMerchantRisk(merchantId) {
1923
- return this.request("GET", `/admin-portal/accounts/${encodeURIComponent(merchantId)}/risk`);
1924
- }
1925
- /**
1926
- * A merchant's tuning of its own risk assessment at one scope, as the
1927
- * merchant sees it, for operators.
1928
- *
1929
- * `GET /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1930
- */
1931
- async getMerchantRiskTuning(merchantId, target = { scope: "merchant" }) {
1932
- return this.request("GET", riskTuningPath(target, adminAccount(merchantId)));
1933
- }
1934
- /**
1935
- * Replace a merchant's tuning at one scope on its behalf. Needs
1936
- * `AccountManage`; the merchant sees the change as `platform_operator`, the
1937
- * audit names the operator. Validated and revision-checked as the
1938
- * merchant's own save is.
1939
- *
1940
- * `PUT /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1941
- */
1942
- async updateMerchantRiskTuning(merchantId, target, params) {
1943
- return this.request("PUT", riskTuningPath(target, adminAccount(merchantId)), {
1944
- body: params
1945
- });
1946
- }
1947
- /**
1948
- * Reset a merchant's tuning at one scope on its behalf.
1949
- *
1950
- * `DELETE /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]`
1951
- */
1952
- async resetMerchantRiskTuning(merchantId, target, expectedRevision) {
1953
- return this.request("DELETE", riskTuningPath(target, adminAccount(merchantId)), {
1954
- query: { expected_revision: expectedRevision }
1955
- });
1956
- }
1957
- /**
1958
- * Estimate a change to a merchant's tuning. Stores, scores and sends nothing.
1959
- *
1960
- * `POST /admin-portal/accounts/{merchant_id}/risk/tuning[/{projects|shops}/{id}]/preview`
1961
- */
1962
- async previewMerchantRiskTuning(merchantId, target, adjustments) {
1963
- return this.request("POST", `${riskTuningPath(target, adminAccount(merchantId))}/preview`, {
1964
- body: { adjustments }
1965
- });
1966
- }
1967
- /**
1968
- * The shop risk model the daily scoring pass uses, where it comes from and
1969
- * the `revision` to name when changing it. When no model can be used,
1970
- * `model` is absent and `problem` says why.
1971
- *
1972
- * `GET /admin-portal/risk-model`
1973
- */
1974
- async getRiskModel() {
1975
- return this.request("GET", "/admin-portal/risk-model");
1976
- }
1977
- /**
1978
- * Change the shop risk model; the answer is the model stored. Name the
1979
- * `revision` the change was made against so a save over a change made in
1980
- * between is refused (`IR_16`) instead of overwriting it. An invalid
1981
- * result, or a scoring change without a higher `model_version`, is refused
1982
- * with the reason in `error.message`.
1983
- *
1984
- * `PUT /admin-portal/risk-model`
1985
- */
1986
- async updateRiskModel(patch, options = {}) {
1987
- return this.request("PUT", "/admin-portal/risk-model", {
1988
- body: patch,
1989
- query: { revision: options.revision }
1990
- });
1991
- }
1992
- /**
1993
- * What recalculating the shop risk history over `range` would do, without
1994
- * queuing it: its days, the first day whose counters are rebuilt, the model
1995
- * it would score with now, and the run of the same range already recorded.
1996
- * Refused exactly where `startRiskBackfill()` would be.
1997
- *
1998
- * `POST /admin-portal/risk-engine/backfill/preview`
1999
- */
2000
- async previewRiskBackfill(range) {
2001
- return this.request("POST", "/admin-portal/risk-engine/backfill/preview", { body: range });
2002
- }
2003
- /**
2004
- * Queue a recalculation of `range`. Days that already have a risk score keep
2005
- * it, and recalculated days never alert. While the same range is queued or
2006
- * running, nothing new is started and `enqueued` is `false`.
2007
- *
2008
- * `POST /admin-portal/risk-engine/backfill`
2009
- */
2010
- async startRiskBackfill(range) {
2011
- return this.request("POST", "/admin-portal/risk-engine/backfill", { body: range });
2012
- }
2013
- /**
2014
- * One recalculation by the `job_id` a preview or start returned.
2015
- *
2016
- * `GET /admin-portal/risk-engine/backfill/{job_id}`
2017
- */
2018
- async getRiskBackfill(jobId) {
2019
- return this.request("GET", `/admin-portal/risk-engine/backfill/${encodeURIComponent(jobId)}`);
2020
- }
2021
- /**
2022
- * Where a merchant stands in the risk policy (`merchant_risk.policy`): the
2023
- * policy in force, the stage, the conditions of the last evaluation with
2024
- * their evidence, pending and past actions, exemptions and stage changes.
2025
- *
2026
- * `GET /admin-portal/accounts/{merchant_id}/risk/stage`
2027
- */
2028
- async getMerchantRiskStage(merchantId) {
2029
- return this.request("GET", `${adminAccount(merchantId)}/risk/stage`);
2030
- }
2031
- /**
2032
- * Evaluate a merchant against its risk policy now, as the scoring pass
2033
- * does, and answer where it stands afterwards. Needs `AccountManage`.
2034
- *
2035
- * `POST /admin-portal/accounts/{merchant_id}/risk/stage/evaluate`
2036
- */
2037
- async evaluateMerchantRiskStage(merchantId) {
2038
- return this.request("POST", `${adminAccount(merchantId)}/risk/stage/evaluate`, { body: {} });
2039
- }
2040
- /**
2041
- * Apply a pending action that waits for an operator. An action already
2042
- * decided, suppressed or expired is refused with `DE_19` (HTTP 409).
2043
- *
2044
- * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/confirm`
2045
- */
2046
- async confirmMerchantRiskAction(merchantId, actionId, params = {}) {
2047
- return this.request(
2048
- "POST",
2049
- `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/confirm`,
2050
- { body: params }
2051
- );
2052
- }
2053
- /**
2054
- * Dismiss a pending action with a reason; it never applies. An action
2055
- * already decided is refused with `DE_19` (HTTP 409).
2056
- *
2057
- * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/dismiss`
2058
- */
2059
- async dismissMerchantRiskAction(merchantId, actionId, params) {
2060
- return this.request(
2061
- "POST",
2062
- `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/dismiss`,
2063
- { body: params }
2064
- );
2065
- }
2066
- /**
2067
- * Exempt a merchant from one action for one risk dimension, until
2068
- * `expires_at` or for good. An exempted action is recorded as `suppressed`
2069
- * with the exemption's id; the stage itself is still entered.
2070
- *
2071
- * `POST /admin-portal/accounts/{merchant_id}/risk/exemptions`
2072
- */
2073
- async createMerchantRiskExemption(merchantId, params) {
2074
- return this.request("POST", `${adminAccount(merchantId)}/risk/exemptions`, { body: params });
2075
- }
2076
- /**
2077
- * End an exemption now, with a reason. It no longer suppresses anything
2078
- * from the next evaluation on.
2079
- *
2080
- * `POST /admin-portal/accounts/{merchant_id}/risk/exemptions/{exemption_id}/revoke`
2081
- */
2082
- async revokeMerchantRiskExemption(merchantId, exemptionId, params) {
2083
- return this.request(
2084
- "POST",
2085
- `${adminAccount(merchantId)}/risk/exemptions/${encodeURIComponent(exemptionId)}/revoke`,
2086
- { body: params }
2087
- );
2088
- }
2089
- /**
2090
- * Lift an applied `restrict_payments`, `hold_payouts` or `suspend` action
2091
- * with a reason: what it blocked is allowed again, and nothing else
2092
- * changes. The merchant stays in its stage and the action stays lifted for
2093
- * the rest of that stage entry. An action that is not applied, not one of
2094
- * those kinds, or already lifted is refused with `DE_19` (HTTP 409).
2095
- *
2096
- * `POST /admin-portal/accounts/{merchant_id}/risk/actions/{action_id}/lift`
2097
- */
2098
- async liftMerchantRiskAction(merchantId, actionId, params) {
2099
- return this.request(
2100
- "POST",
2101
- `${adminAccount(merchantId)}/risk/actions/${encodeURIComponent(actionId)}/lift`,
2102
- { body: params }
2103
- );
2104
- }
2105
- /**
2106
- * Stop new payments of one shop (`profile_id`), or of every shop of the
2107
- * merchant, with a required reason. The stop is an
2108
- * applied `restrict_payments` action of mode `operator`: payment create,
2109
- * every confirm, the hosted checkout and its provider routes are refused
2110
- * with `DE_22` before any provider is called. No template, connector
2111
- * account, visibility, routing or stage change ends it; only
2112
- * `liftMerchantRiskAction`, with a reason, does. A blank reason is
2113
- * refused (HTTP 400), a shop of another merchant is not found (404), and a
2114
- * scope an applied stop already covers is refused with `DE_19` (409).
2115
- *
2116
- * `POST /admin-portal/accounts/{merchant_id}/risk/stops`
2117
- */
2118
- async stopMerchantPayments(merchantId, params) {
2119
- return this.request("POST", `${adminAccount(merchantId)}/risk/stops`, { body: params });
2120
- }
2121
- /**
2122
- * The payments and payouts a merchant's applied risk actions refused,
2123
- * newest first; 50 unless `limit` (at most 200) says otherwise.
2124
- *
2125
- * `GET /admin-portal/accounts/{merchant_id}/risk/blocked-attempts`
2126
- */
2127
- async listMerchantRiskBlockedAttempts(merchantId, params) {
2128
- return this.request("GET", `${adminAccount(merchantId)}/risk/blocked-attempts`, {
2129
- query: params === void 0 ? void 0 : { ...params }
2130
- });
2131
- }
2132
- /**
2133
- * Every merchant risk action kind and whether this platform can use it,
2134
- * with its default mode, its scopes and what it blocks.
2135
- *
2136
- * `GET /admin-portal/risk/actions/catalog`
2137
- */
2138
- async getMerchantRiskActionCatalog() {
2139
- return this.request("GET", "/admin-portal/risk/actions/catalog");
2140
- }
2141
- /**
2142
- * Which merchants a risk policy, saved or not, would put in each stage now,
2143
- * from their stored signals, and what each action would block there.
2144
- * Writes nothing. A policy a settings write would refuse is refused the
2145
- * same way (HTTP 422).
2146
- *
2147
- * `POST /admin-portal/risk/policy/preview`
2148
- */
2149
- async previewMerchantRiskPolicy(params) {
2150
- return this.request("POST", "/admin-portal/risk/policy/preview", { body: params });
2151
- }
2152
- };
2153
- function transactionListQuery(params) {
2154
- if (!params) return void 0;
2155
- const {
2156
- statuses,
2157
- connectors,
2158
- payment_methods,
2159
- payment_method_types,
2160
- currencies,
2161
- merchant_connector_ids,
2162
- connector_settlement_statuses,
2163
- routing_approaches,
2164
- failure_substatuses,
2165
- product_ids,
2166
- buyer_risk_band,
2167
- merchant_ids,
2168
- ...query
2169
- } = params;
2170
- return {
2171
- ...query,
2172
- ...statuses?.length ? { statuses: statuses.join(",") } : {},
2173
- ...connectors?.length ? { connectors: connectors.join(",") } : {},
2174
- ...payment_methods?.length ? { payment_methods: payment_methods.join(",") } : {},
2175
- ...payment_method_types?.length ? { payment_method_types: payment_method_types.join(",") } : {},
2176
- ...currencies?.length ? { currencies: currencies.join(",") } : {},
2177
- ...merchant_connector_ids?.length ? { merchant_connector_ids: merchant_connector_ids.join(",") } : {},
2178
- ...connector_settlement_statuses?.length ? { connector_settlement_statuses: connector_settlement_statuses.join(",") } : {},
2179
- ...routing_approaches?.length ? { routing_approaches: routing_approaches.join(",") } : {},
2180
- ...failure_substatuses?.length ? { failure_substatuses: failure_substatuses.join(",") } : {},
2181
- ...product_ids?.length ? { product_ids: product_ids.join(",") } : {},
2182
- ...buyer_risk_band?.length ? { buyer_risk_band: buyer_risk_band.join(",") } : {},
2183
- ...merchant_ids?.length ? { merchant_ids: merchant_ids.join(",") } : {}
2184
- };
2185
- }
2186
- function adminPersons(merchantId) {
2187
- return `/admin-portal/persons/${encodeURIComponent(merchantId)}`;
2188
- }
2189
- function personFlags(merchantId, personId) {
2190
- return `${adminPersons(merchantId)}/${encodeURIComponent(personId)}/flags`;
2191
- }
2192
- function adminAccount(merchantId) {
2193
- return `/admin-portal/accounts/${encodeURIComponent(merchantId)}`;
2194
- }
2195
-
2196
- // src/internal/resources/adminSupport.ts
2197
- var path2 = (id) => `/admin-portal/support/conversations/${encodeURIComponent(id)}`;
2198
- var AdminSupport = class {
2199
- constructor(request) {
2200
- this.request = request;
2201
- }
2202
- /**
2203
- * The queue, the latest message first unless `sort_by` says otherwise.
2204
- * Several `kind`, `category` or `status` values match a conversation with
2205
- * any of them. `GET /admin-portal/support/conversations`
2206
- */
2207
- async list(query) {
2208
- return this.request("GET", "/admin-portal/support/conversations", {
2209
- query: csvQuery(query, ["kind", "category", "status"])
2210
- });
2211
- }
2212
- /**
2213
- * Open a conversation towards a merchant, one of its shops or one of its members,
2214
- * with a first message from the support team. `POST /admin-portal/support/conversations`
2215
- */
2216
- async create(body) {
2217
- return this.request("POST", "/admin-portal/support/conversations", { body });
2218
- }
2219
- /**
2220
- * The members of a merchant a message can be addressed to, with whether their role
2221
- * opens the support page. `GET /admin-portal/support/recipients`
2222
- */
2223
- async recipients(query) {
2224
- return this.request("GET", "/admin-portal/support/recipients", { query: { ...query } });
2225
- }
2226
- /** One conversation. `GET /admin-portal/support/conversations/{id}` */
2227
- async retrieve(id) {
2228
- return this.request("GET", path2(id));
2229
- }
2230
- /** Change status, kind, category or assignee. `PATCH /admin-portal/support/conversations/{id}` */
2231
- async update(id, body) {
2232
- return this.request("PATCH", path2(id), { body });
2233
- }
2234
- /** Messages, notes included. `GET /admin-portal/support/conversations/{id}/messages` */
2235
- async messages(id, query) {
2236
- return this.request("GET", `${path2(id)}/messages`, {
2237
- query: query === void 0 ? void 0 : { ...query }
2238
- });
2239
- }
2240
- /** Answer, or leave a note. `POST /admin-portal/support/conversations/{id}/messages` */
2241
- async reply(id, body) {
2242
- return this.request("POST", `${path2(id)}/messages`, { body });
2243
- }
2244
- /**
2245
- * Upload a file for a message from staff, scanned like a merchant's.
2246
- * `POST /admin-portal/support/conversations/{id}/attachments`
2247
- */
2248
- async uploadAttachment(id, file, clientUploadId, fileName) {
2249
- const form = new FormData();
2250
- form.append("client_upload_id", clientUploadId);
2251
- if (fileName === void 0) form.append("file", file);
2252
- else form.append("file", file, fileName);
2253
- return this.request("POST", `${path2(id)}/attachments`, { body: form });
2254
- }
2255
- /**
2256
- * Fetch a file once its scan is clean. A blocked file stays shut for staff too.
2257
- * `GET /admin-portal/support/conversations/{id}/attachments/{fileId}`
2258
- */
2259
- async downloadAttachment(id, fileId) {
2260
- return this.request("GET", `${path2(id)}/attachments/${encodeURIComponent(fileId)}`, {
2261
- responseType: "blob"
2262
- });
2263
- }
2264
- /**
2265
- * Clear the staff unread mark and read the conversation as it is now.
2266
- * `POST /admin-portal/support/conversations/{id}/read`
2267
- */
2268
- async markRead(id) {
2269
- return this.request("POST", `${path2(id)}/read`);
2270
- }
2271
- };
2272
-
2273
- // src/internal/resources/auditLogs.ts
2274
- var AuditLogs = class {
2275
- constructor(request) {
2276
- this.request = request;
2277
- }
2278
- /**
2279
- * One page of the platform audit log, the newest entry first unless
2280
- * `sort_by` says otherwise. Several `action` or `entity_type` values match
2281
- * an entry with any of them.
2282
- */
2283
- async list(params) {
2284
- return this.request("GET", "/admin-portal/audit", {
2285
- query: csvQuery(params, ["action", "entity_type"])
2286
- });
2287
- }
2288
- async retrieve(logId) {
2289
- return this.request("GET", `/admin-portal/audit/${encodeURIComponent(logId)}`);
2290
- }
2291
- async export(params, options) {
2292
- return runExport(
2293
- this.request,
2294
- "GET",
2295
- "/admin-portal/audit/export",
2296
- // The format is negotiated by `Accept`, never a query field: the query
2297
- // here is the list's own filter model, and adding a key to it would fork
2298
- // the filter vocabulary the export exists to reuse.
2299
- { query: csvQuery(params, ["action", "entity_type"]) },
2300
- options
2301
- );
2302
- }
2303
- };
2304
-
2305
- // src/internal/resources/cache.ts
2306
- var Cache = class {
2307
- constructor(request) {
2308
- this.request = request;
2309
- }
2310
- /** Invalidate a cache entry by key. `POST /cache/invalidate/{key}` */
2311
- async invalidate(key) {
2312
- return this.request("POST", `/cache/invalidate/${encodeURIComponent(key)}`);
2313
- }
2314
- };
2315
-
2316
- // src/internal/resources/cardIssuers.ts
2317
- var CardIssuers = class {
2318
- constructor(request) {
2319
- this.request = request;
2320
- }
2321
- async create(params) {
2322
- return this.request("POST", "/card-issuers", { body: params });
2323
- }
2324
- async update(issuerId, params) {
2325
- return this.request("PUT", `/card-issuers/${encodeURIComponent(issuerId)}`, { body: params });
2326
- }
2327
- async list() {
2328
- return this.request("GET", "/card-issuers");
2329
- }
2330
- };
2331
-
2332
- // src/internal/resources/configs.ts
2333
- var Configs = class {
2334
- constructor(request) {
2335
- this.request = request;
2336
- }
2337
- /** Create a config. `POST /configs` */
2338
- async create(params) {
2339
- return this.request("POST", "/configs", { body: params });
2340
- }
2341
- /** Retrieve a config by key. `GET /configs/{key}` */
2342
- async retrieve(key) {
2343
- return this.request("GET", `/configs/${encodeURIComponent(key)}`);
2344
- }
2345
- /** Update a config. `PUT /configs/{key}` */
2346
- async update(key, params) {
2347
- return this.request("PUT", `/configs/${encodeURIComponent(key)}`, { body: params });
2348
- }
2349
- /** Delete a config. `DELETE /configs/{key}` */
2350
- async delete(key) {
2351
- return this.request("DELETE", `/configs/${encodeURIComponent(key)}`);
2352
- }
2353
- };
2354
-
2355
- // src/internal/resources/connectorRestrictionRules.ts
2356
- var BASE = "/admin/connector-restriction-rules";
2357
- var ConnectorRestrictionRules = class {
2358
- constructor(request) {
2359
- this.request = request;
2360
- }
2361
- /**
2362
- * Create one allow/deny rule. A duplicate
2363
- * `(merchant_id, scope, scope_id, connector)` is rejected — update or delete
2364
- * the existing rule instead.
2365
- */
2366
- async create(body) {
2367
- return this.request("POST", BASE, { body });
2368
- }
2369
- /**
2370
- * List rules for one scope (`scope` + `scope_id`) or a whole merchant
2371
- * (`merchant_id`). Pass exactly one selector.
2372
- */
2373
- async list(query) {
2374
- return this.request("GET", BASE, { query: { ...query } });
2375
- }
2376
- /** Retrieve a single rule by ID. */
2377
- async retrieve(id) {
2378
- return this.request("GET", `${BASE}/${encodeURIComponent(id)}`);
2379
- }
2380
- /** Update a rule's action and/or reason. */
2381
- async update(id, body) {
2382
- return this.request("PATCH", `${BASE}/${encodeURIComponent(id)}`, { body });
2383
- }
2384
- /** Delete a rule by ID. */
2385
- async delete(id) {
2386
- return this.request("DELETE", `${BASE}/${encodeURIComponent(id)}`);
2387
- }
2388
- };
2389
-
2390
- // src/internal/resources/connectorRestrictions.ts
2391
- var ConnectorRestrictions = class {
2392
- constructor(request) {
2393
- this.request = request;
2394
- }
2395
- /**
2396
- * Idempotent upsert. If a row exists for `connector_name`, its
2397
- * allowlist + reason are replaced. To open the connector to
2398
- * everyone again, call `delete()`.
2399
- */
2400
- async upsert(body) {
2401
- return this.request("POST", "/admin/connector-restrictions", { body });
2402
- }
2403
- async list() {
2404
- return this.request("GET", "/admin/connector-restrictions");
2405
- }
2406
- async retrieve(connectorName) {
2407
- return this.request(
2408
- "GET",
2409
- `/admin/connector-restrictions/${encodeURIComponent(connectorName)}`
2410
- );
2411
- }
2412
- /** Removing the row makes the connector public again. */
2413
- async delete(connectorName) {
2414
- return this.request(
2415
- "DELETE",
2416
- `/admin/connector-restrictions/${encodeURIComponent(connectorName)}`
2417
- );
2418
- }
2419
- };
2420
-
2421
- // src/internal/resources/diagnostic.ts
2422
- var Diagnostic = class {
2423
- constructor(request) {
2424
- this.request = request;
2425
- }
2426
- /**
2427
- * The ranked attention board — the page's landing state, with nothing typed.
2428
- *
2429
- * Always carries `checks_run` and `vitals`, so an empty `items` reads as
2430
- * "checked these things at 14:02, all clear" rather than as a panel that
2431
- * failed to load. A check that could not run is **absent** from `checks_run`
2432
- * rather than silently counted as clear.
2433
- */
2434
- async attention(body) {
2435
- return this.request("POST", "/admin-portal/diagnostic/attention", { body: body ?? {} });
2436
- }
2437
- /**
2438
- * Provider webhooks received, across every merchant.
2439
- *
2440
- * `source_verified: false` selects rows that failed verification **or** never
2441
- * reached it — the deliveries that failed before verification was attempted
2442
- * are exactly the ones an operator opens this tab for.
2443
- */
2444
- async listIncomingWebhooks(body) {
2445
- return this.request("POST", "/admin-portal/diagnostic/webhooks/incoming", {
2446
- body: body ?? {}
2447
- });
2448
- }
2449
- /**
2450
- * One delivery in full: masked headers and body, the verification verdict,
2451
- * and the router log lines for its request id.
2452
- *
2453
- * `router_logs` is `null` — not `[]` — when the log store is unreachable, and
2454
- * `router_logs_unavailable` then says why. Render the first as *unavailable*,
2455
- * never as "the router logged nothing".
2456
- */
2457
- async getIncomingWebhook(eventId) {
2458
- return this.request(
2459
- "GET",
2460
- `/admin-portal/diagnostic/webhooks/incoming/${encodeURIComponent(eventId)}`
2461
- );
2462
- }
2463
- /** Shop webhooks sent, across every merchant, with each event's attempts folded in. */
2464
- async listOutgoingWebhooks(body) {
2465
- return this.request("POST", "/admin-portal/diagnostic/webhooks/outgoing", {
2466
- body: body ?? {}
2467
- });
2468
- }
2469
- /**
2470
- * The four tiles above the shop-webhooks table.
2471
- *
2472
- * Counted under the same window and environment as the table but **without**
2473
- * its delivery filter — the tiles say what the window holds, and applying the
2474
- * filter would make every tile agree with whichever one is selected.
2475
- */
2476
- async outgoingWebhookSummary(body) {
2477
- return this.request("POST", "/admin-portal/diagnostic/webhooks/outgoing/summary", {
2478
- body: body ?? {}
2479
- });
2480
- }
2481
- /**
2482
- * Connector calls the router made.
2483
- *
2484
- * List rows carry no payload. Fetch one with {@link getConnectorCall} for the
2485
- * masked request and response.
2486
- */
2487
- async listConnectorCalls(body) {
2488
- return this.request("POST", "/admin-portal/diagnostic/connector-calls", { body: body ?? {} });
2489
- }
2490
- /** One connector call, with its masked payloads. */
2491
- async getConnectorCall(id) {
2492
- return this.request(
2493
- "GET",
2494
- `/admin-portal/diagnostic/connector-calls/${encodeURIComponent(id)}`
2495
- );
2496
- }
2497
- /**
2498
- * Router logs, proxied from the deployment's log store.
2499
- *
2500
- * Answers a {@link DiagnosticPanel}. Check `status` before reading `data`:
2501
- * `'unavailable'` means the store did not answer, which is the opposite of
2502
- * "there were no errors" and must be rendered as such.
2503
- */
2504
- async routerLogs(body) {
2505
- return this.request("POST", "/admin-portal/diagnostic/logs", { body: body ?? {} });
2506
- }
2507
- /**
2508
- * Payments that are stuck or failed.
2509
- *
2510
- * Stuck means non-terminal for longer than `stuck_minutes`; failed means it
2511
- * ended without succeeding inside the window. Omitting `stuck_minutes` turns
2512
- * the first arm off rather than widening it.
2513
- */
2514
- async listPayments(body) {
2515
- return this.request("POST", "/admin-portal/diagnostic/payments", { body: body ?? {} });
2516
- }
2517
- /**
2518
- * The error codes in this window, each with its count in the previous window
2519
- * of equal length.
2520
- *
2521
- * `previous_count: null` means the code did not appear before — render it as
2522
- * "new" rather than as a fall to zero.
2523
- */
2524
- async paymentErrorCodes(body) {
2525
- return this.request("POST", "/admin-portal/diagnostic/payments/error-codes", {
2526
- body: body ?? {}
2527
- });
2528
- }
2529
- /**
2530
- * Everything about one payment, in one call: the payment, its attempts, its
2531
- * status history, its client context, and what it produced — connector calls,
2532
- * webhooks both ways, and scheduler jobs.
2533
- *
2534
- * Read `diagnostic_capture` before rendering an empty section. A payment with
2535
- * no connector calls and a deployment that never recorded any are different
2536
- * facts, and the second must not read as the first.
2537
- *
2538
- * Typed loosely on purpose: the payment, attempts, status-history and
2539
- * client-context halves are the merchant-facing shapes this package already
2540
- * exports, and re-declaring them here would give consumers two names for one
2541
- * thing that could then drift apart.
2542
- */
2543
- async getPayment(paymentId) {
2544
- return this.request(
2545
- "GET",
2546
- `/admin-portal/diagnostic/payments/${encodeURIComponent(paymentId)}`
2547
- );
2548
- }
2549
- /** Scheduler tasks, most overdue first. */
2550
- async listQueues(body) {
2551
- return this.request("POST", "/admin-portal/diagnostic/queues", { body: body ?? {} });
2552
- }
2553
- /**
2554
- * The four tiles above the queues table, plus the approvals count.
2555
- *
2556
- * `pending_approvals` is a **different** queue from `pending_count`: a stalled
2557
- * scheduler needs a consumer, a full approvals queue needs a person, and
2558
- * folding them into one number would point an operator at the wrong fix.
2559
- */
2560
- async queueSummary() {
2561
- return this.request("GET", "/admin-portal/diagnostic/queues/summary");
2562
- }
2563
- /**
2564
- * Replicas and their dependencies.
2565
- *
2566
- * `build_mismatch` is computed server-side rather than left for a caller to
2567
- * notice by comparing strings: one replica in four answering differently
2568
- * explains a whole class of "it only fails sometimes" incident, and is
2569
- * invisible unless something says it out loud.
2570
- */
2571
- async infrastructure() {
2572
- return this.request("GET", "/admin-portal/diagnostic/infrastructure");
2573
- }
2574
- /**
2575
- * Firing alerts, proxied from Alertmanager.
2576
- *
2577
- * Answers a {@link DiagnosticPanel} for the same reason {@link routerLogs}
2578
- * does: a strip that renders empty because Alertmanager is down says "nothing
2579
- * is firing", which is the most dangerous sentence this page could print.
2580
- */
2581
- async alerts() {
2582
- return this.request("GET", "/admin-portal/diagnostic/alerts");
2583
- }
2584
- /** Config edits and admin actions inside the window. */
2585
- async listChanges(body) {
2586
- return this.request("POST", "/admin-portal/diagnostic/changes", { body: body ?? {} });
2587
- }
2588
- /**
2589
- * What a pasted id is, and whether we hold it.
2590
- *
2591
- * `kind` and `found` are separate answers on purpose. A well-shaped id that
2592
- * matches nothing comes back `found: false` with the three `reasons` and
2593
- * their fixes — render that, never an empty table, which reads as "no such
2594
- * payment" when the real answer is "outside the window" or "it is a test
2595
- * payment".
2596
- */
2597
- async resolveId(id) {
2598
- return this.request("GET", `/admin-portal/diagnostic/resolve/${encodeURIComponent(id)}`);
2599
- }
2600
- /**
2601
- * One id across every source, as an ordered span list.
2602
- *
2603
- * Accepts a payment, attempt, event or request id. Sources that could not be
2604
- * read are named in `unavailable_sources` rather than left out: a waterfall
2605
- * with an unexplained gap reads as a period when nothing happened.
2606
- */
2607
- async trace(id) {
2608
- return this.request("GET", `/admin-portal/diagnostic/trace/${encodeURIComponent(id)}`);
2609
- }
2610
- /**
2611
- * Unmask one field of one object.
2612
- *
2613
- * **Writes an audit row** naming the operator, the field and the object,
2614
- * before the value is returned — a reveal that could not be audited does not
2615
- * happen. Needs a dashboard JWT holding `DiagnosticReveal`; an admin API key
2616
- * cannot call it, because an API key names no person.
2617
- *
2618
- * `reason` is required and is stored verbatim.
2619
- */
2620
- async reveal(body) {
2621
- return this.request("POST", "/admin-portal/diagnostic/reveal", { body });
2622
- }
2623
- };
2624
-
2625
- // src/internal/resources/gsm.ts
2626
- var Gsm = class {
2627
- constructor(request) {
2628
- this.request = request;
2629
- }
2630
- async create(params) {
2631
- return this.request("POST", "/gsm", { body: params });
2632
- }
2633
- async retrieve(params) {
2634
- return this.request("POST", "/gsm/get", { body: params });
2635
- }
2636
- async update(params) {
2637
- return this.request("POST", "/gsm/update", { body: params });
2638
- }
2639
- async delete(params) {
2640
- return this.request("POST", "/gsm/delete", { body: params });
2641
- }
2642
- };
2643
-
2644
- // src/internal/resources/platformBilling.ts
2645
- var PlatformBilling = class {
2646
- constructor(request) {
2647
- this.request = request;
2648
- }
2649
- /**
2650
- * Manually credit a merchant's balance (e.g. promotional credit,
2651
- * dispute reversal, manual correction).
2652
- *
2653
- * @param merchantId - The merchant account ID.
2654
- * @param params - Credit amount and reason.
2655
- */
2656
- async credit(merchantId, params) {
2657
- return this.request("POST", `/billing/${encodeURIComponent(merchantId)}/admin/credit`, {
2658
- body: params
2659
- });
2660
- }
2661
- /**
2662
- * Manually debit a merchant's balance.
2663
- *
2664
- * @param merchantId - The merchant account ID.
2665
- * @param params - Debit amount and reason.
2666
- */
2667
- async debit(merchantId, params) {
2668
- return this.request("POST", `/billing/${encodeURIComponent(merchantId)}/admin/debit`, {
2669
- body: params
2670
- });
2671
- }
2672
- /**
2673
- * Edit a single ledger entry (amount and/or description), keeping the
2674
- * merchant balance consistent: when `amount` changes, the balance is
2675
- * atomically adjusted by the difference. Returns the entry id and new
2676
- * balance.
2677
- *
2678
- * @param merchantId - The merchant account ID.
2679
- * @param ledgerId - The ledger entry id to edit.
2680
- * @param params - New amount / description (either optional).
2681
- */
2682
- async editLedgerEntry(merchantId, ledgerId, params) {
2683
- return this.request(
2684
- "PATCH",
2685
- `/billing/${encodeURIComponent(merchantId)}/admin/ledger/${encodeURIComponent(ledgerId)}`,
2686
- { body: params }
2687
- );
2688
- }
2689
- /**
2690
- * Delete a single ledger entry, reversing its amount from the merchant
2691
- * balance. Returns the deleted entry id and the new balance.
2692
- *
2693
- * @param merchantId - The merchant account ID.
2694
- * @param ledgerId - The ledger entry id to delete.
2695
- */
2696
- async deleteLedgerEntry(merchantId, ledgerId) {
2697
- return this.request(
2698
- "DELETE",
2699
- `/billing/${encodeURIComponent(merchantId)}/admin/ledger/${encodeURIComponent(ledgerId)}`
2700
- );
2701
- }
2702
- /**
2703
- * Manually suspend a merchant (e.g. confirmed fraud or ToS violation),
2704
- * independent of balance. A `reason` is required for audit. Throws 412 if
2705
- * the merchant is trusted (clear the flag first) or already suspended.
2706
- *
2707
- * @param merchantId - The merchant account ID.
2708
- * @param params - Suspension reason.
2709
- * @returns The updated billing profile.
2710
- */
2711
- async suspend(merchantId, params) {
2712
- return this.request("POST", `/billing/${encodeURIComponent(merchantId)}/admin/suspend`, {
2713
- body: params
2714
- });
2715
- }
2716
- /**
2717
- * Lift a suspension. Restores the merchant to `active` (or `delinquent` if
2718
- * the balance is at/below the hard floor) and resets the recharge-failure
2719
- * counter. Throws 412 if the merchant is not suspended.
2720
- *
2721
- * @param merchantId - The merchant account ID.
2722
- * @param params - Optional audit note.
2723
- * @returns The updated billing profile.
2724
- */
2725
- async unsuspend(merchantId, params = {}) {
2726
- return this.request("POST", `/billing/${encodeURIComponent(merchantId)}/admin/unsuspend`, {
2727
- body: params
2728
- });
2729
- }
2730
- /**
2731
- * Set or clear the trusted (suspension-exempt) flag. Trusted merchants
2732
- * cannot be suspended automatically or manually. Does not lift an existing
2733
- * suspension — use {@link PlatformBilling.unsuspend} for that.
2734
- *
2735
- * @param merchantId - The merchant account ID.
2736
- * @param params - The desired trusted state.
2737
- * @returns The updated billing profile.
2738
- */
2739
- async setTrusted(merchantId, params) {
2740
- return this.request("PATCH", `/billing/${encodeURIComponent(merchantId)}/admin/trusted`, {
2741
- body: params
2742
- });
2743
- }
2744
- /**
2745
- * Set the merchant's hard floor — the balance at or below which the
2746
- * merchant stops being active. A negative value grants a credit line; zero
2747
- * means no negative balance at all. This moves the suspension line, it does
2748
- * not remove it. The value and the caller are written to the audit log
2749
- * before the floor changes, so the change is always attributable.
2750
- *
2751
- * Refused (412) for a positive amount, for a floor beyond the maximum
2752
- * credit line of 10,000,000 minor units, or for an empty `reason`.
2753
- *
2754
- * Requires a router that serves the hard-floor admin route; older ones
2755
- * answer `404`.
2756
- *
2757
- * @param merchantId - The merchant account ID.
2758
- * @param params - The new floor (zero or negative) and the audit reason.
2759
- * @returns The updated billing profile.
2760
- */
2761
- async setHardFloor(merchantId, params) {
2762
- return this.request("PATCH", `/billing/${encodeURIComponent(merchantId)}/admin/hard-floor`, {
2763
- body: params
2764
- });
2765
- }
2766
- /**
2767
- * Mark a merchant free (not billed), or put it back on the prepaid model.
2768
- * While free, no platform fee is deducted, the payment gate never blocks on
2769
- * billing status, top-ups are refused and auto-recharge is inert. Marking
2770
- * free needs a `reason` and is refused (412) while an admin suspension is in
2771
- * force — lift that first.
2772
- *
2773
- * Requires a router that supports the free flag; older ones answer `404`.
2774
- *
2775
- * @param merchantId - The merchant account ID.
2776
- * @param params - The desired free state and, when marking free, the reason.
2777
- * @returns The updated billing profile.
2778
- */
2779
- async setFree(merchantId, params) {
2780
- return this.request("PATCH", `/billing/${encodeURIComponent(merchantId)}/admin/free`, {
2781
- body: params
2782
- });
2783
- }
2784
- /**
2785
- * Delete a merchant's **entire** ledger. Every live entry is soft-deleted —
2786
- * kept, so a replayed fee deduction or top-up webhook still no-ops — the
2787
- * balance is set to zero and the status re-derived (`active` for a free
2788
- * merchant; an active paying merchant lands in `delinquent`). Refused (412)
2789
- * while the merchant has shop allocations. Audited.
2790
- *
2791
- * Requires a router that serves the ledger admin routes; older ones answer
2792
- * `404`.
2793
- *
2794
- * @param merchantId - The merchant account ID.
2795
- * @param params - The reason, required for audit.
2796
- * @returns What was removed and the post-reset profile.
2797
- */
2798
- async resetLedger(merchantId, params) {
2799
- return this.request("DELETE", `/billing/${encodeURIComponent(merchantId)}/admin/ledger`, {
2800
- body: params
2801
- });
2802
- }
2803
- /**
2804
- * (Re)create a merchant's ledger, optionally seeded with an opening
2805
- * balance. Ensures the billing profile exists (created without the welcome
2806
- * promo credit) and, when `opening_balance` is set, writes one
2807
- * `opening_balance` entry through the same atomic helper an admin credit
2808
- * uses. Refused (412) while live entries or a non-zero balance remain —
2809
- * reset first. Does not clear the free flag. Audited.
2810
- *
2811
- * Requires a router that serves the ledger admin routes; older ones answer
2812
- * `404`.
2813
- *
2814
- * @param merchantId - The merchant account ID.
2815
- * @param params - Opening balance (minor units), currency for a new profile, and the reason.
2816
- * @returns The opening entry id (if one was written) and the profile.
2817
- */
2818
- async createLedger(merchantId, params) {
2819
- return this.request("POST", `/billing/${encodeURIComponent(merchantId)}/admin/ledger`, {
2820
- body: params
2821
- });
2822
- }
2823
- };
2824
-
2825
- // src/internal/resources/platformFees.ts
2826
- var PlatformFees = class {
2827
- constructor(request) {
2828
- this.request = request;
2829
- this.rules = new PlatformFeeRulesManager(request);
2830
- }
2831
- /** Create a platform fee schedule for a specific merchant. */
2832
- async create(params, merchantId) {
2833
- return this.request("POST", "/admin/fees", {
2834
- body: params,
2835
- query: { merchant_id: merchantId }
2836
- });
2837
- }
2838
- /** List every platform fee schedule assigned to a merchant. */
2839
- async list(merchantId) {
2840
- return this.request("GET", "/admin/fees/list", {
2841
- query: { merchant_id: merchantId }
2842
- });
2843
- }
2844
- /** Retrieve a single platform fee schedule by ID. */
2845
- async retrieve(feeId) {
2846
- return this.request("GET", `/admin/fees/${encodeURIComponent(feeId)}`);
2847
- }
2848
- /** Update a platform fee schedule. */
2849
- async update(feeId, params) {
2850
- return this.request("PUT", `/admin/fees/${encodeURIComponent(feeId)}`, { body: params });
2851
- }
2852
- /** Delete a platform fee schedule. */
2853
- async delete(feeId) {
2854
- return this.request("DELETE", `/admin/fees/${encodeURIComponent(feeId)}`);
2855
- }
2856
- };
2857
- var PlatformFeeRulesManager = class {
2858
- constructor(request) {
2859
- this.request = request;
2860
- }
2861
- /** Create or replace the platform fee-rule program for a merchant. */
2862
- async upsert(params, merchantId) {
2863
- const body = { ...params, fee_owner: "platform" };
2864
- return this.request("PUT", "/admin/fees/rules", {
2865
- body,
2866
- query: { merchant_id: merchantId }
2867
- });
2868
- }
2869
- /**
2870
- * Retrieve the active platform fee-rule program for a scope, or `null`.
2871
- * `profileId` omitted = merchant-wide program; set = that shop's program.
2872
- */
2873
- async retrieve(merchantId, profileId) {
2874
- return this.request("GET", "/admin/fees/rules", {
2875
- query: { merchant_id: merchantId, profile_id: profileId }
2876
- });
2877
- }
2878
- /**
2879
- * Deactivate a platform fee-rule program. Idempotent. `profileId` omitted
2880
- * targets the merchant-wide program; set targets only that shop's program.
2881
- */
2882
- async delete(merchantId, profileId) {
2883
- await this.request("DELETE", "/admin/fees/rules", {
2884
- query: { merchant_id: merchantId, profile_id: profileId }
2885
- });
2886
- }
2887
- /**
2888
- * Dry-run a candidate fee-rule program against a sample transaction.
2889
- * Returns the matched rule name, whether it fell through, and the computed fee.
2890
- * Does not persist anything.
2891
- */
2892
- async preview(input, merchantId) {
2893
- return this.request("POST", "/admin/fees/rules/preview", {
2894
- body: input,
2895
- query: { merchant_id: merchantId }
2896
- });
2897
- }
2898
- };
2899
-
2900
- // src/internal/resources/platformSettings.ts
2901
- var PlatformSettings = class {
2902
- constructor(request) {
2903
- this.request = request;
2904
- }
2905
- /** Provider-issued presets for this backend environment. */
2906
- async applePayVerificationCatalogue() {
2907
- return this.request("GET", "/payment-link/apple-pay-verification/catalogue");
2908
- }
2909
- /** Atomic, audited update. A stale revision leaves the current file unchanged. */
2910
- async updateApplePayVerification(selection, expectedRevision) {
2911
- return this.update({
2912
- changes: [
2913
- {
2914
- key: "checkout.apple_pay_verification",
2915
- value: selection,
2916
- expected_revision: expectedRevision
2917
- }
2918
- ]
2919
- });
2920
- }
2921
- /** `GET /admin-portal/settings` */
2922
- async retrieve() {
2923
- return this.request("GET", "/admin-portal/settings");
2924
- }
2925
- /**
2926
- * Change platform settings. All changes are applied or none is.
2927
- *
2928
- * `PATCH /admin-portal/settings`
2929
- */
2930
- async update(params) {
2931
- return this.request("PATCH", "/admin-portal/settings", { body: params });
2932
- }
2933
- /** `GET /admin-portal/accounts/{merchantId}/settings` */
2934
- async retrieveMerchant(merchantId, query = {}) {
2935
- return this.request(
2936
- "GET",
2937
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settings`,
2938
- {
2939
- query: projectQuery(query)
2940
- }
2941
- );
2942
- }
2943
- /** `PATCH /admin-portal/accounts/{merchantId}/settings` */
2944
- async updateMerchant(merchantId, params, query = {}) {
2945
- return this.request(
2946
- "PATCH",
2947
- `/admin-portal/accounts/${encodeURIComponent(merchantId)}/settings`,
2948
- { body: params, query: projectQuery(query) }
2949
- );
2950
- }
2951
- /** `GET /admin-portal/accounts/{merchantId}/shops/{profileId}/settings` */
2952
- async retrieveShop(merchantId, profileId) {
2953
- return this.request("GET", shopPath(merchantId, profileId));
2954
- }
2955
- /** `PATCH /admin-portal/accounts/{merchantId}/shops/{profileId}/settings` */
2956
- async updateShop(merchantId, profileId, params) {
2957
- return this.request("PATCH", shopPath(merchantId, profileId), { body: params });
2958
- }
2959
- };
2960
- function shopPath(merchantId, profileId) {
2961
- return `/admin-portal/accounts/${encodeURIComponent(merchantId)}/shops/${encodeURIComponent(profileId)}/settings`;
2962
- }
2963
- function projectQuery(query) {
2964
- return query.project_id ? { project_id: query.project_id } : {};
2965
- }
2966
-
2967
- // src/internal/resources/platformMessageTemplates.ts
2968
- var PlatformMessageTemplates = class {
2969
- constructor(request) {
2970
- this.request = request;
2971
- }
2972
- /** `GET /admin-portal/message-templates` */
2973
- async list() {
2974
- return this.request("GET", "/admin-portal/message-templates");
2975
- }
2976
- /** `GET /admin-portal/message-templates/{template_id}` */
2977
- async retrieve(templateId) {
2978
- return this.request("GET", `/admin-portal/message-templates/${encodeURIComponent(templateId)}`);
2979
- }
2980
- /**
2981
- * Store the platform's text in one language.
2982
- *
2983
- * `PUT /admin-portal/message-templates/{template_id}/languages/{language}`
2984
- */
2985
- async updateLanguage(templateId, language, params) {
2986
- return this.request(
2987
- "PUT",
2988
- `/admin-portal/message-templates/${encodeURIComponent(templateId)}/languages/${encodeURIComponent(language)}`,
2989
- {
2990
- body: params
2991
- }
2992
- );
2993
- }
2994
- /**
2995
- * Remove the platform's text in one language, so the built-in text applies.
2996
- *
2997
- * `DELETE /admin-portal/message-templates/{template_id}/languages/{language}`
2998
- */
2999
- async resetLanguage(templateId, language, params = {}) {
3000
- return this.request(
3001
- "DELETE",
3002
- `/admin-portal/message-templates/${encodeURIComponent(templateId)}/languages/${encodeURIComponent(language)}`,
3003
- {
3004
- query: { expected_revision: params.expected_revision }
3005
- }
3006
- );
3007
- }
3008
- /** `POST /admin-portal/message-templates/{template_id}/preview` */
3009
- async preview(templateId, params) {
3010
- return this.request(
3011
- "POST",
3012
- `/admin-portal/message-templates/${encodeURIComponent(templateId)}/preview`,
3013
- { body: params }
3014
- );
3015
- }
3016
- /**
3017
- * Send the template to the signed-in admin's own address.
3018
- *
3019
- * `POST /admin-portal/message-templates/{template_id}/test`
3020
- */
3021
- async sendTest(templateId, params) {
3022
- return this.request(
3023
- "POST",
3024
- `/admin-portal/message-templates/${encodeURIComponent(templateId)}/test`,
3025
- { body: params }
3026
- );
3027
- }
3028
- };
3029
-
3030
- // src/internal/resources/nativeRenewals.ts
3031
- var NativeRenewals = class {
3032
- constructor(request, serviceKey) {
3033
- this.request = request;
3034
- this.serviceKey = serviceKey;
3035
- }
3036
- /** Close the previous renewal payment using the internal service key and its owner context. */
3037
- async close(paymentId, target, options) {
3038
- return this.request("POST", `/payments/${encodeURIComponent(paymentId)}/native-renewal-close`, {
3039
- ...options,
3040
- headers: {
3041
- ...options?.headers,
3042
- "X-Internal-API-Key": this.serviceKey,
3043
- "X-Merchant-Id": target.merchant_id,
3044
- "X-Profile-Id": target.profile_id
3045
- }
3046
- });
3047
- }
3048
- };
270
+ } from "./chunk-INQQLXAV.js";
271
+ import {
272
+ AIRWALLEX_AUTOFILL_TREATMENTS,
273
+ AIRWALLEX_CARD_LAYOUTS,
274
+ AIRWALLEX_CARD_PRESETS,
275
+ AIRWALLEX_CARD_PRESET_FALLBACK,
276
+ AIRWALLEX_FIELD_CHROMES,
277
+ AIRWALLEX_FIELD_FONT_SIZES,
278
+ AIRWALLEX_FIELD_WEIGHTS,
279
+ AIRWALLEX_FOCUS_RINGS,
280
+ AIRWALLEX_LABEL_STYLES,
281
+ AIRWALLEX_NETWORK_MARKS,
282
+ airwallexCardLayout,
283
+ airwallexCardLayoutIsCoherent,
284
+ airwallexCellWeight,
285
+ airwallexFieldFontPx,
286
+ airwallexFieldWeightValue,
287
+ asAirwallexCardPreset,
288
+ resolveAirwallexCardPreset,
289
+ resolveAirwallexLabelStyle
290
+ } from "./chunk-WSOUQS6C.js";
291
+ import {
292
+ CheckoutSession
293
+ } from "./chunk-YOFIOZJ5.js";
294
+ import {
295
+ Delopay
296
+ } from "./chunk-ZDYRYXY3.js";
297
+ import {
298
+ VatRates
299
+ } from "./chunk-RUDKQPEO.js";
300
+ import {
301
+ Verification
302
+ } from "./chunk-L7474OST.js";
303
+ import {
304
+ Webhooks,
305
+ isSubscriptionDisputeWebhook,
306
+ isSubscriptionLifecycleWebhook
307
+ } from "./chunk-2JSBGTTW.js";
308
+ import {
309
+ WhopResolutionCases
310
+ } from "./chunk-OMGDHJYX.js";
311
+ import {
312
+ Settlement
313
+ } from "./chunk-W3EFNOH6.js";
314
+ import {
315
+ ShopLabels
316
+ } from "./chunk-UH2A7ZDK.js";
317
+ import {
318
+ Shops
319
+ } from "./chunk-MTFLXMYI.js";
320
+ import {
321
+ StripeConnect
322
+ } from "./chunk-JAJOUFPM.js";
323
+ import {
324
+ Subscriptions
325
+ } from "./chunk-7M2KEERO.js";
326
+ import {
327
+ Support
328
+ } from "./chunk-WZK3BIHG.js";
329
+ import {
330
+ ThreeDsRules
331
+ } from "./chunk-HJL32HDH.js";
332
+ import {
333
+ Users
334
+ } from "./chunk-3NKFPZRS.js";
335
+ import {
336
+ Refunds
337
+ } from "./chunk-CRNICOYA.js";
338
+ import {
339
+ Regions
340
+ } from "./chunk-LX6E5TTR.js";
341
+ import {
342
+ Relay
343
+ } from "./chunk-RWCCRTLZ.js";
344
+ import {
345
+ Risk
346
+ } from "./chunk-645BQ53W.js";
347
+ import {
348
+ Routing
349
+ } from "./chunk-B72YNBLS.js";
350
+ import {
351
+ Search
352
+ } from "./chunk-UU3YQJT6.js";
353
+ import {
354
+ SellToRestrictions
355
+ } from "./chunk-G7FHCGT5.js";
356
+ import {
357
+ Settings
358
+ } from "./chunk-LG7XHNAY.js";
359
+ import {
360
+ Persons
361
+ } from "./chunk-Q347PTXI.js";
362
+ import {
363
+ Poll
364
+ } from "./chunk-ULZWGW2O.js";
365
+ import {
366
+ ProcessorCosts
367
+ } from "./chunk-Y4XILACH.js";
368
+ import {
369
+ ProcessorImports,
370
+ PspImportEventStream
371
+ } from "./chunk-6TBA7KZO.js";
372
+ import {
373
+ Products
374
+ } from "./chunk-HO3SKXCG.js";
375
+ import {
376
+ ProfileAcquirers
377
+ } from "./chunk-VJ2L2GOF.js";
378
+ import {
379
+ Profiles
380
+ } from "./chunk-DFC4T6FA.js";
381
+ import {
382
+ Projects
383
+ } from "./chunk-QF3Q3TPV.js";
384
+ import {
385
+ MessageTemplates
386
+ } from "./chunk-V3PCNGDH.js";
387
+ import {
388
+ OperationLimits
389
+ } from "./chunk-KAKDDX4L.js";
390
+ import {
391
+ PaymentLinks
392
+ } from "./chunk-EXW4VDRM.js";
393
+ import {
394
+ PaymentMethods
395
+ } from "./chunk-IVQDVFFR.js";
396
+ import {
397
+ Payments
398
+ } from "./chunk-CSY3IZOC.js";
399
+ import {
400
+ PayoutDestinations
401
+ } from "./chunk-ZYWW275O.js";
402
+ import {
403
+ Payouts
404
+ } from "./chunk-DO2DYNFW.js";
405
+ import {
406
+ PaypalDisputes
407
+ } from "./chunk-US6R4TM4.js";
408
+ import {
409
+ Forex
410
+ } from "./chunk-GVHN6BAJ.js";
411
+ import {
412
+ IdentityVerifications
413
+ } from "./chunk-RBN2H7QR.js";
414
+ import {
415
+ Industries
416
+ } from "./chunk-34AF36TY.js";
417
+ import {
418
+ InvoiceSettingsResource
419
+ } from "./chunk-T6N35YFJ.js";
420
+ import {
421
+ Invoices
422
+ } from "./chunk-5P2AO6XY.js";
423
+ import {
424
+ Live,
425
+ LiveEventStream
426
+ } from "./chunk-7QGASY6O.js";
427
+ import {
428
+ Mandates
429
+ } from "./chunk-KKKEARPT.js";
430
+ import {
431
+ MerchantAccounts
432
+ } from "./chunk-THPCSJUP.js";
433
+ import {
434
+ Disputes
435
+ } from "./chunk-2TQA6UYY.js";
436
+ import {
437
+ EphemeralKeys
438
+ } from "./chunk-3ZHS3MFZ.js";
439
+ import {
440
+ Events
441
+ } from "./chunk-DVA3T3MD.js";
442
+ import {
443
+ Export
444
+ } from "./chunk-WBAPQODS.js";
445
+ import {
446
+ ExternalRecords
447
+ } from "./chunk-CTB54SCJ.js";
448
+ import {
449
+ FeatureMatrix
450
+ } from "./chunk-OEKPQXXM.js";
451
+ import {
452
+ FeeRulesManager,
453
+ Fees
454
+ } from "./chunk-4T3MXBO2.js";
455
+ import {
456
+ Files
457
+ } from "./chunk-ZX4JTR2J.js";
458
+ import {
459
+ ChargebackPrevention
460
+ } from "./chunk-DLKGOSZR.js";
461
+ import {
462
+ CheckoutMethods
463
+ } from "./chunk-VW7GWSP6.js";
464
+ import {
465
+ CheckoutRecovery
466
+ } from "./chunk-GEYCGYAN.js";
467
+ import {
468
+ CheckoutTemplates
469
+ } from "./chunk-BEND2MZX.js";
470
+ import {
471
+ Connectors
472
+ } from "./chunk-F6JABQLJ.js";
473
+ import {
474
+ CostRules
475
+ } from "./chunk-FZYEZLTM.js";
476
+ import {
477
+ Customers
478
+ } from "./chunk-LZUHCGJ3.js";
479
+ import {
480
+ Branding,
481
+ brandingAssetPath
482
+ } from "./chunk-Q6HI2G7W.js";
483
+ import {
484
+ AvailabilityOverrides
485
+ } from "./chunk-3L3B46AZ.js";
486
+ import {
487
+ Billing
488
+ } from "./chunk-QGTVOC6O.js";
489
+ import {
490
+ BuyerAccount
491
+ } from "./chunk-6H7K5DDI.js";
492
+ import {
493
+ BuyerBlocklist
494
+ } from "./chunk-NXORFP3R.js";
495
+ import {
496
+ BuyerConversations
497
+ } from "./chunk-5VS3SUPL.js";
498
+ import {
499
+ BuyerEvidenceReviews
500
+ } from "./chunk-6VIC6Y7T.js";
501
+ import {
502
+ BuyerPortal
503
+ } from "./chunk-I5KOMBQ3.js";
504
+ import {
505
+ Cards
506
+ } from "./chunk-55XO7BFC.js";
507
+ import {
508
+ Analytics
509
+ } from "./chunk-26THONSG.js";
510
+ import {
511
+ AnalyticsDashboard
512
+ } from "./chunk-2RGSWTDI.js";
513
+ import {
514
+ ApiKeys
515
+ } from "./chunk-2PC2VAR7.js";
516
+ import {
517
+ Audit
518
+ } from "./chunk-DECN4QU3.js";
519
+ import {
520
+ Authentication
521
+ } from "./chunk-JPVR2NHV.js";
522
+ import {
523
+ DelopayCore
524
+ } from "./chunk-H2NGR5JG.js";
525
+ import {
526
+ DelopayAuthenticationError,
527
+ DelopayError
528
+ } from "./chunk-37BJUQ32.js";
529
+ import {
530
+ PAYMENT_CURRENCIES
531
+ } from "./chunk-CMETZEUX.js";
532
+ import {
533
+ DEFAULT_ENIGMA_CARD_FORM,
534
+ ENIGMA_CLICK_FEEDBACK,
535
+ ENIGMA_CORNERS,
536
+ ENIGMA_CUSTOM_CSS_MAX_LENGTH,
537
+ ENIGMA_CUSTOM_HEIGHT_DEFAULT,
538
+ ENIGMA_CUSTOM_HEIGHT_MAX,
539
+ ENIGMA_CUSTOM_HEIGHT_MIN,
540
+ ENIGMA_FIELD_CHROMES,
541
+ ENIGMA_FIELD_HEIGHTS,
542
+ ENIGMA_FIELD_MOTIONS,
543
+ ENIGMA_FIELD_ORDERS,
544
+ ENIGMA_FOCUS_RINGS,
545
+ ENIGMA_LABEL_PLACEMENTS,
546
+ ENIGMA_LABEL_TONES,
547
+ ENIGMA_LOADING_STYLES,
548
+ ENIGMA_NETWORK_MARKS,
549
+ ENIGMA_OPENINGS,
550
+ ENIGMA_PAY_FEEDBACK,
551
+ ENIGMA_REVEALS,
552
+ ENIGMA_ROW_GAPS,
553
+ ENIGMA_STYLE_MODES,
554
+ ENIGMA_TEMPLATES,
555
+ ENIGMA_TEMPLATE_PRESETS,
556
+ applyEnigmaTemplate,
557
+ decodeEnigmaCardForm,
558
+ encodeEnigmaCardForm,
559
+ enigmaCornerPx,
560
+ enigmaCustomCssProblem,
561
+ enigmaNamesInside,
562
+ enigmaTemplateChanges
563
+ } from "./chunk-MYDDK2Z3.js";
3049
564
 
3050
565
  // src/internal/client.ts
3051
566
  var DelopayInternal = class extends Delopay {
@@ -3100,16 +615,21 @@ export {
3100
615
  AdminSupport,
3101
616
  Analytics,
3102
617
  AnalyticsDashboard,
618
+ ApiKeys,
3103
619
  Audit,
3104
620
  AuditLogs,
621
+ Authentication,
3105
622
  AvailabilityOverrides,
3106
623
  BRANDING_EXPORT_FORMAT,
3107
624
  BRANDING_EXPORT_VERSION,
3108
625
  BUILTIN_PAYMENT_ICON_KEYS,
626
+ Billing,
3109
627
  Branding,
628
+ BuyerAccount,
3110
629
  BuyerBlocklist,
3111
630
  BuyerConversations,
3112
631
  BuyerEvidenceReviews,
632
+ BuyerPortal,
3113
633
  CARD_FIELD_CHROMES,
3114
634
  CARD_FIELD_FONT_SIZES,
3115
635
  CARD_FIELD_WEIGHTS,
@@ -3135,7 +655,9 @@ export {
3135
655
  Configs,
3136
656
  ConnectorRestrictionRules,
3137
657
  ConnectorRestrictions,
658
+ Connectors,
3138
659
  CostRules,
660
+ Customers,
3139
661
  DEFAULT_BADGES,
3140
662
  DEFAULT_BADGES_DARK,
3141
663
  DEFAULT_BRANDING,
@@ -3144,9 +666,11 @@ export {
3144
666
  DEFAULT_NOTICES,
3145
667
  Delopay,
3146
668
  DelopayAuthenticationError,
669
+ DelopayCore,
3147
670
  DelopayError,
3148
671
  DelopayInternal,
3149
672
  Diagnostic,
673
+ Disputes,
3150
674
  ENIGMA_CLICK_FEEDBACK,
3151
675
  ENIGMA_CORNERS,
3152
676
  ENIGMA_CUSTOM_CSS_MAX_LENGTH,
@@ -3169,10 +693,14 @@ export {
3169
693
  ENIGMA_STYLE_MODES,
3170
694
  ENIGMA_TEMPLATES,
3171
695
  ENIGMA_TEMPLATE_PRESETS,
696
+ EphemeralKeys,
697
+ Events,
3172
698
  Export,
3173
699
  ExternalRecords,
3174
700
  FeatureMatrix,
3175
701
  FeeProgramBuilder,
702
+ FeeRulesManager,
703
+ Fees,
3176
704
  Files,
3177
705
  Forex,
3178
706
  GOOGLE_PAY_BUTTON_COLORS,
@@ -3189,6 +717,8 @@ export {
3189
717
  MAX_SECTION_ORDER,
3190
718
  METHOD_SECTIONS,
3191
719
  MIN_SECTION_ORDER,
720
+ Mandates,
721
+ MerchantAccounts,
3192
722
  MessageTemplates,
3193
723
  NATIVE_ELEMENT_POSITIONS,
3194
724
  NATIVE_PANES_MAX,
@@ -3210,21 +740,32 @@ export {
3210
740
  PAYPAL_CARD_LAYOUTS,
3211
741
  PAYPAL_LABEL_STYLES,
3212
742
  PRESENTATION_CONTRACT_VERSION,
743
+ PaymentLinks,
744
+ PaymentMethods,
745
+ Payments,
3213
746
  PayoutDestinations,
747
+ Payouts,
3214
748
  PaypalDisputes,
3215
749
  Persons,
3216
750
  PlatformBilling,
3217
751
  PlatformFees,
3218
752
  PlatformMessageTemplates,
3219
753
  PlatformSettings,
754
+ Poll,
3220
755
  PresentationCache,
3221
756
  ProcessorCosts,
3222
757
  ProcessorImports,
3223
758
  Products,
759
+ ProfileAcquirers,
760
+ Profiles,
761
+ Projects,
3224
762
  PspImportEventStream,
3225
763
  RTL_CHECKOUT_LOCALES,
764
+ Refunds,
3226
765
  Regions,
766
+ Relay,
3227
767
  Risk,
768
+ Routing,
3228
769
  SECTION_ALIASES,
3229
770
  STRIPE_FALLBACK_PANE_CATALOG,
3230
771
  STRIPE_FALLBACK_PANE_METHODS,
@@ -3248,10 +789,15 @@ export {
3248
789
  Settings,
3249
790
  Settlement,
3250
791
  ShopLabels,
792
+ Shops,
793
+ StripeConnect,
3251
794
  Subscriptions,
3252
795
  Support,
796
+ ThreeDsRules,
3253
797
  UNKNOWN_SECTION_ORDER,
798
+ Users,
3254
799
  VatRates,
800
+ Verification,
3255
801
  WCAG_AA_TEXT,
3256
802
  WCAG_AA_UI,
3257
803
  WHOP_ACCENT_COLORS,