@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.
- package/README.md +23 -0
- package/dist/airwallexCard.cjs +41 -0
- package/dist/airwallexCard.cjs.map +1 -0
- package/dist/airwallexCard.d.cts +214 -0
- package/dist/airwallexCard.d.ts +214 -0
- package/dist/airwallexCard.js +41 -0
- package/dist/airwallexCard.js.map +1 -0
- package/dist/branding.cjs +235 -0
- package/dist/branding.cjs.map +1 -0
- package/dist/branding.d.cts +784 -0
- package/dist/branding.d.ts +784 -0
- package/dist/branding.js +235 -0
- package/dist/branding.js.map +1 -0
- package/dist/cardFormStyles.cjs +77 -0
- package/dist/cardFormStyles.cjs.map +1 -0
- package/dist/cardFormStyles.d.cts +182 -0
- package/dist/cardFormStyles.d.ts +182 -0
- package/dist/cardFormStyles.js +77 -0
- package/dist/cardFormStyles.js.map +1 -0
- package/dist/checkoutSession.cjs +7 -0
- package/dist/checkoutSession.cjs.map +1 -0
- package/dist/checkoutSession.d.cts +662 -0
- package/dist/checkoutSession.d.ts +662 -0
- package/dist/checkoutSession.js +7 -0
- package/dist/checkoutSession.js.map +1 -0
- package/dist/chunk-244VZFFO.cjs +27 -0
- package/dist/chunk-244VZFFO.cjs.map +1 -0
- package/dist/chunk-26THONSG.js +274 -0
- package/dist/chunk-26THONSG.js.map +1 -0
- package/dist/chunk-27NVIXDV.js +24 -0
- package/dist/chunk-27NVIXDV.js.map +1 -0
- package/dist/chunk-2C5XHXAY.js +19 -0
- package/dist/chunk-2C5XHXAY.js.map +1 -0
- package/dist/chunk-2IJRBJXW.cjs +35 -0
- package/dist/chunk-2IJRBJXW.cjs.map +1 -0
- package/dist/chunk-2JSBGTTW.js +99 -0
- package/dist/chunk-2JSBGTTW.js.map +1 -0
- package/dist/chunk-2PC2VAR7.js +217 -0
- package/dist/chunk-2PC2VAR7.js.map +1 -0
- package/dist/chunk-2QMSBWQY.js +453 -0
- package/dist/chunk-2QMSBWQY.js.map +1 -0
- package/dist/chunk-2RGSWTDI.js +19 -0
- package/dist/chunk-2RGSWTDI.js.map +1 -0
- package/dist/chunk-2TQA6UYY.js +228 -0
- package/dist/chunk-2TQA6UYY.js.map +1 -0
- package/dist/chunk-2XAJIA23.js +20 -0
- package/dist/chunk-2XAJIA23.js.map +1 -0
- package/dist/chunk-34AF36TY.js +89 -0
- package/dist/chunk-34AF36TY.js.map +1 -0
- package/dist/chunk-34PC72O7.cjs +73 -0
- package/dist/chunk-34PC72O7.cjs.map +1 -0
- package/dist/chunk-37BJUQ32.js +37 -0
- package/dist/chunk-37BJUQ32.js.map +1 -0
- package/dist/chunk-3GBWQWTP.cjs +54 -0
- package/dist/chunk-3GBWQWTP.cjs.map +1 -0
- package/dist/chunk-3GMGEP5I.js +43 -0
- package/dist/chunk-3GMGEP5I.js.map +1 -0
- package/dist/chunk-3L3B46AZ.js +44 -0
- package/dist/chunk-3L3B46AZ.js.map +1 -0
- package/dist/chunk-3NKFPZRS.js +973 -0
- package/dist/chunk-3NKFPZRS.js.map +1 -0
- package/dist/chunk-3ST4NW2T.js +35 -0
- package/dist/chunk-3ST4NW2T.js.map +1 -0
- package/dist/chunk-3YBBJT3Y.cjs +64 -0
- package/dist/chunk-3YBBJT3Y.cjs.map +1 -0
- package/dist/chunk-3YUKTCY2.js +71 -0
- package/dist/chunk-3YUKTCY2.js.map +1 -0
- package/dist/chunk-3ZHS3MFZ.js +35 -0
- package/dist/chunk-3ZHS3MFZ.js.map +1 -0
- package/dist/chunk-44QBWVRS.cjs +39 -0
- package/dist/chunk-44QBWVRS.cjs.map +1 -0
- package/dist/chunk-4EKAWNYI.cjs +69 -0
- package/dist/chunk-4EKAWNYI.cjs.map +1 -0
- package/dist/chunk-4FVOCZIM.js +15 -0
- package/dist/chunk-4FVOCZIM.js.map +1 -0
- package/dist/chunk-4LN4BR2T.cjs +262 -0
- package/dist/chunk-4LN4BR2T.cjs.map +1 -0
- package/dist/chunk-4T3MXBO2.js +114 -0
- package/dist/chunk-4T3MXBO2.js.map +1 -0
- package/dist/chunk-4T4XHPYN.cjs +135 -0
- package/dist/chunk-4T4XHPYN.cjs.map +1 -0
- package/dist/chunk-55XO7BFC.js +23 -0
- package/dist/chunk-55XO7BFC.js.map +1 -0
- package/dist/chunk-5CITBN33.cjs +485 -0
- package/dist/chunk-5CITBN33.cjs.map +1 -0
- package/dist/chunk-5CNBINCX.cjs +54 -0
- package/dist/chunk-5CNBINCX.cjs.map +1 -0
- package/dist/chunk-5HCKC4HF.cjs +217 -0
- package/dist/chunk-5HCKC4HF.cjs.map +1 -0
- package/dist/chunk-5O2JSQYA.cjs +114 -0
- package/dist/chunk-5O2JSQYA.cjs.map +1 -0
- package/dist/chunk-5P2AO6XY.js +202 -0
- package/dist/chunk-5P2AO6XY.js.map +1 -0
- package/dist/chunk-5VS3SUPL.js +125 -0
- package/dist/chunk-5VS3SUPL.js.map +1 -0
- package/dist/chunk-645BQ53W.js +84 -0
- package/dist/chunk-645BQ53W.js.map +1 -0
- package/dist/chunk-6EBY2KKL.cjs +43 -0
- package/dist/chunk-6EBY2KKL.cjs.map +1 -0
- package/dist/chunk-6H7K5DDI.js +307 -0
- package/dist/chunk-6H7K5DDI.js.map +1 -0
- package/dist/chunk-6LOWE2YI.cjs +23 -0
- package/dist/chunk-6LOWE2YI.cjs.map +1 -0
- package/dist/chunk-6LSG5Z4T.cjs +122 -0
- package/dist/chunk-6LSG5Z4T.cjs.map +1 -0
- package/dist/chunk-6QGC52VH.js +177 -0
- package/dist/chunk-6QGC52VH.js.map +1 -0
- package/dist/chunk-6SU2MTN2.cjs +17 -0
- package/dist/chunk-6SU2MTN2.cjs.map +1 -0
- package/dist/chunk-6TBA7KZO.js +132 -0
- package/dist/chunk-6TBA7KZO.js.map +1 -0
- package/dist/chunk-6VIC6Y7T.js +64 -0
- package/dist/chunk-6VIC6Y7T.js.map +1 -0
- package/dist/chunk-6YCDLSIU.cjs +105 -0
- package/dist/chunk-6YCDLSIU.cjs.map +1 -0
- package/dist/chunk-75E5WNJG.cjs +122 -0
- package/dist/chunk-75E5WNJG.cjs.map +1 -0
- package/dist/chunk-7ITPMVDB.cjs +108 -0
- package/dist/chunk-7ITPMVDB.cjs.map +1 -0
- package/dist/chunk-7JV6VVO7.cjs +43 -0
- package/dist/chunk-7JV6VVO7.cjs.map +1 -0
- package/dist/chunk-7M2KEERO.js +311 -0
- package/dist/chunk-7M2KEERO.js.map +1 -0
- package/dist/chunk-7QGASY6O.js +134 -0
- package/dist/chunk-7QGASY6O.js.map +1 -0
- package/dist/chunk-7QZCUXWB.cjs +15 -0
- package/dist/chunk-7QZCUXWB.cjs.map +1 -0
- package/dist/chunk-7VXF5D67.cjs +23 -0
- package/dist/chunk-7VXF5D67.cjs.map +1 -0
- package/dist/chunk-7YIDBPIU.js +208 -0
- package/dist/chunk-7YIDBPIU.js.map +1 -0
- package/dist/chunk-ACZ2R47X.cjs +140 -0
- package/dist/chunk-ACZ2R47X.cjs.map +1 -0
- package/dist/chunk-AQ5NYBU4.cjs +340 -0
- package/dist/chunk-AQ5NYBU4.cjs.map +1 -0
- package/dist/chunk-AREMIQLZ.js +202 -0
- package/dist/chunk-AREMIQLZ.js.map +1 -0
- package/dist/chunk-AYUYJO3I.cjs +44 -0
- package/dist/chunk-AYUYJO3I.cjs.map +1 -0
- package/dist/chunk-B2TCNGC2.cjs +536 -0
- package/dist/chunk-B2TCNGC2.cjs.map +1 -0
- package/dist/chunk-B72YNBLS.js +628 -0
- package/dist/chunk-B72YNBLS.js.map +1 -0
- package/dist/chunk-BCA3TCGS.cjs +185 -0
- package/dist/chunk-BCA3TCGS.cjs.map +1 -0
- package/dist/chunk-BEND2MZX.js +108 -0
- package/dist/chunk-BEND2MZX.js.map +1 -0
- package/dist/chunk-BF7IX2O4.js +128 -0
- package/dist/chunk-BF7IX2O4.js.map +1 -0
- package/dist/chunk-BOU2TQ6U.cjs +1 -0
- package/dist/chunk-BOU2TQ6U.cjs.map +1 -0
- package/dist/chunk-BP6KDQ6I.cjs +52 -0
- package/dist/chunk-BP6KDQ6I.cjs.map +1 -0
- package/dist/chunk-BRY3W7N3.cjs +43 -0
- package/dist/chunk-BRY3W7N3.cjs.map +1 -0
- package/dist/chunk-CAMALM35.cjs +277 -0
- package/dist/chunk-CAMALM35.cjs.map +1 -0
- package/dist/chunk-CCN44NZJ.cjs +134 -0
- package/dist/chunk-CCN44NZJ.cjs.map +1 -0
- package/dist/chunk-CECSSOIZ.js +44 -0
- package/dist/chunk-CECSSOIZ.js.map +1 -0
- package/dist/chunk-CKKNFFKP.cjs +311 -0
- package/dist/chunk-CKKNFFKP.cjs.map +1 -0
- package/dist/chunk-CMETZEUX.js +168 -0
- package/dist/chunk-CMETZEUX.js.map +1 -0
- package/dist/chunk-CR3JBTP3.cjs +31 -0
- package/dist/chunk-CR3JBTP3.cjs.map +1 -0
- package/dist/chunk-CRNICOYA.js +157 -0
- package/dist/chunk-CRNICOYA.js.map +1 -0
- package/dist/chunk-CSY3IZOC.js +695 -0
- package/dist/chunk-CSY3IZOC.js.map +1 -0
- package/dist/chunk-CTB54SCJ.js +43 -0
- package/dist/chunk-CTB54SCJ.js.map +1 -0
- package/dist/chunk-D3D73ANJ.js +39 -0
- package/dist/chunk-D3D73ANJ.js.map +1 -0
- package/dist/chunk-DECN4QU3.js +33 -0
- package/dist/chunk-DECN4QU3.js.map +1 -0
- package/dist/chunk-DFC4T6FA.js +137 -0
- package/dist/chunk-DFC4T6FA.js.map +1 -0
- package/dist/chunk-DJASVBOJ.cjs +61 -0
- package/dist/chunk-DJASVBOJ.cjs.map +1 -0
- package/dist/chunk-DLKGOSZR.js +73 -0
- package/dist/chunk-DLKGOSZR.js.map +1 -0
- package/dist/chunk-DO2DYNFW.js +122 -0
- package/dist/chunk-DO2DYNFW.js.map +1 -0
- package/dist/chunk-DVA3T3MD.js +67 -0
- package/dist/chunk-DVA3T3MD.js.map +1 -0
- package/dist/chunk-DZM3UP7F.cjs +148 -0
- package/dist/chunk-DZM3UP7F.cjs.map +1 -0
- package/dist/chunk-ENPSUWTS.cjs +35 -0
- package/dist/chunk-ENPSUWTS.cjs.map +1 -0
- package/dist/chunk-EQ6P6ZND.cjs +177 -0
- package/dist/chunk-EQ6P6ZND.cjs.map +1 -0
- package/dist/chunk-EXPWQBI3.cjs +23 -0
- package/dist/chunk-EXPWQBI3.cjs.map +1 -0
- package/dist/chunk-EXW4VDRM.js +57 -0
- package/dist/chunk-EXW4VDRM.js.map +1 -0
- package/dist/chunk-F3I5DOWV.cjs +14 -0
- package/dist/chunk-F3I5DOWV.cjs.map +1 -0
- package/dist/chunk-F6JABQLJ.js +720 -0
- package/dist/chunk-F6JABQLJ.js.map +1 -0
- package/dist/chunk-F6S3WCCB.cjs +40 -0
- package/dist/chunk-F6S3WCCB.cjs.map +1 -0
- package/dist/chunk-FI7NLDWZ.js +1 -0
- package/dist/chunk-FI7NLDWZ.js.map +1 -0
- package/dist/chunk-FQRC4NJG.cjs +202 -0
- package/dist/chunk-FQRC4NJG.cjs.map +1 -0
- package/dist/chunk-FYISDU2Y.cjs +137 -0
- package/dist/chunk-FYISDU2Y.cjs.map +1 -0
- package/dist/chunk-FZYEZLTM.js +59 -0
- package/dist/chunk-FZYEZLTM.js.map +1 -0
- package/dist/chunk-G7FHCGT5.js +140 -0
- package/dist/chunk-G7FHCGT5.js.map +1 -0
- package/dist/chunk-GA3KXPIF.cjs +720 -0
- package/dist/chunk-GA3KXPIF.cjs.map +1 -0
- package/dist/chunk-GEYCGYAN.js +122 -0
- package/dist/chunk-GEYCGYAN.js.map +1 -0
- package/dist/chunk-GG52SAHA.cjs +157 -0
- package/dist/chunk-GG52SAHA.cjs.map +1 -0
- package/dist/chunk-GGYLU7YO.cjs +58 -0
- package/dist/chunk-GGYLU7YO.cjs.map +1 -0
- package/dist/chunk-GK5FWN4H.cjs +307 -0
- package/dist/chunk-GK5FWN4H.cjs.map +1 -0
- package/dist/chunk-GSQN5EOO.cjs +347 -0
- package/dist/chunk-GSQN5EOO.cjs.map +1 -0
- package/dist/chunk-GVHN6BAJ.js +19 -0
- package/dist/chunk-GVHN6BAJ.js.map +1 -0
- package/dist/chunk-GW7IHYXR.cjs +125 -0
- package/dist/chunk-GW7IHYXR.cjs.map +1 -0
- package/dist/chunk-GZW5AFIL.js +27 -0
- package/dist/chunk-GZW5AFIL.js.map +1 -0
- package/dist/chunk-H2NGR5JG.js +786 -0
- package/dist/chunk-H2NGR5JG.js.map +1 -0
- package/dist/chunk-H537KAYC.cjs +71 -0
- package/dist/chunk-H537KAYC.cjs.map +1 -0
- package/dist/chunk-HJL32HDH.js +14 -0
- package/dist/chunk-HJL32HDH.js.map +1 -0
- package/dist/chunk-HL763JX2.js +43 -0
- package/dist/chunk-HL763JX2.js.map +1 -0
- package/dist/chunk-HLKFUOAQ.cjs +27 -0
- package/dist/chunk-HLKFUOAQ.cjs.map +1 -0
- package/dist/chunk-HLYGHP6F.cjs +80 -0
- package/dist/chunk-HLYGHP6F.cjs.map +1 -0
- package/dist/chunk-HO3SKXCG.js +559 -0
- package/dist/chunk-HO3SKXCG.js.map +1 -0
- package/dist/chunk-I2W7AO4B.cjs +37 -0
- package/dist/chunk-I2W7AO4B.cjs.map +1 -0
- package/dist/chunk-I2XGNALG.cjs +19 -0
- package/dist/chunk-I2XGNALG.cjs.map +1 -0
- package/dist/chunk-I5KOMBQ3.js +277 -0
- package/dist/chunk-I5KOMBQ3.js.map +1 -0
- package/dist/chunk-I65QS3YQ.cjs +695 -0
- package/dist/chunk-I65QS3YQ.cjs.map +1 -0
- package/dist/chunk-IB75VVZO.js +58 -0
- package/dist/chunk-IB75VVZO.js.map +1 -0
- package/dist/chunk-IGFEQECO.js +67 -0
- package/dist/chunk-IGFEQECO.js.map +1 -0
- package/dist/chunk-IKXGA2Z5.cjs +24 -0
- package/dist/chunk-IKXGA2Z5.cjs.map +1 -0
- package/dist/chunk-INQQLXAV.js +347 -0
- package/dist/chunk-INQQLXAV.js.map +1 -0
- package/dist/chunk-IR2LFKKA.cjs +44 -0
- package/dist/chunk-IR2LFKKA.cjs.map +1 -0
- package/dist/chunk-IVQDVFFR.js +226 -0
- package/dist/chunk-IVQDVFFR.js.map +1 -0
- package/dist/chunk-J3UH2OJH.js +31 -0
- package/dist/chunk-J3UH2OJH.js.map +1 -0
- package/dist/chunk-JAJOUFPM.js +30 -0
- package/dist/chunk-JAJOUFPM.js.map +1 -0
- package/dist/chunk-JPVR2NHV.js +54 -0
- package/dist/chunk-JPVR2NHV.js.map +1 -0
- package/dist/chunk-JSSDNDAG.cjs +1038 -0
- package/dist/chunk-JSSDNDAG.cjs.map +1 -0
- package/dist/chunk-JTZ44ZLT.js +1741 -0
- package/dist/chunk-JTZ44ZLT.js.map +1 -0
- package/dist/chunk-K5Q2H3VD.cjs +85 -0
- package/dist/chunk-K5Q2H3VD.cjs.map +1 -0
- package/dist/chunk-KAKDDX4L.js +144 -0
- package/dist/chunk-KAKDDX4L.js.map +1 -0
- package/dist/chunk-KD5Y2YWK.cjs +128 -0
- package/dist/chunk-KD5Y2YWK.cjs.map +1 -0
- package/dist/chunk-KJDMNF2T.cjs +202 -0
- package/dist/chunk-KJDMNF2T.cjs.map +1 -0
- package/dist/chunk-KKKEARPT.js +40 -0
- package/dist/chunk-KKKEARPT.js.map +1 -0
- package/dist/chunk-KLONGJCL.cjs +59 -0
- package/dist/chunk-KLONGJCL.cjs.map +1 -0
- package/dist/chunk-KS5ZUVPC.js +23 -0
- package/dist/chunk-KS5ZUVPC.js.map +1 -0
- package/dist/chunk-KSJ7JLR3.cjs +228 -0
- package/dist/chunk-KSJ7JLR3.cjs.map +1 -0
- package/dist/chunk-L7474OST.js +21 -0
- package/dist/chunk-L7474OST.js.map +1 -0
- package/dist/chunk-LG7XHNAY.js +52 -0
- package/dist/chunk-LG7XHNAY.js.map +1 -0
- package/dist/chunk-LJ2EG6JK.cjs +226 -0
- package/dist/chunk-LJ2EG6JK.cjs.map +1 -0
- package/dist/chunk-LLYY4TCZ.cjs +628 -0
- package/dist/chunk-LLYY4TCZ.cjs.map +1 -0
- package/dist/chunk-LPDUHBHT.js +2842 -0
- package/dist/chunk-LPDUHBHT.js.map +1 -0
- package/dist/chunk-LX6E5TTR.js +58 -0
- package/dist/chunk-LX6E5TTR.js.map +1 -0
- package/dist/chunk-LYIBTVK6.cjs +2842 -0
- package/dist/chunk-LYIBTVK6.cjs.map +1 -0
- package/dist/chunk-LZUHCGJ3.js +281 -0
- package/dist/chunk-LZUHCGJ3.js.map +1 -0
- package/dist/chunk-M3HWE7KT.cjs +33 -0
- package/dist/chunk-M3HWE7KT.cjs.map +1 -0
- package/dist/chunk-M3SJHFT4.cjs +24 -0
- package/dist/chunk-M3SJHFT4.cjs.map +1 -0
- package/dist/chunk-MCNDMK7F.cjs +167 -0
- package/dist/chunk-MCNDMK7F.cjs.map +1 -0
- package/dist/chunk-MLG6NXI6.cjs +19 -0
- package/dist/chunk-MLG6NXI6.cjs.map +1 -0
- package/dist/chunk-MTFLXMYI.js +262 -0
- package/dist/chunk-MTFLXMYI.js.map +1 -0
- package/dist/chunk-MYDDK2Z3.js +485 -0
- package/dist/chunk-MYDDK2Z3.js.map +1 -0
- package/dist/chunk-NFB3S2E6.cjs +22 -0
- package/dist/chunk-NFB3S2E6.cjs.map +1 -0
- package/dist/chunk-NLQOHTYN.js +44 -0
- package/dist/chunk-NLQOHTYN.js.map +1 -0
- package/dist/chunk-NW37NQZB.cjs +1741 -0
- package/dist/chunk-NW37NQZB.cjs.map +1 -0
- package/dist/chunk-NXORFP3R.js +148 -0
- package/dist/chunk-NXORFP3R.js.map +1 -0
- package/dist/chunk-NYL3BNHR.cjs +57 -0
- package/dist/chunk-NYL3BNHR.cjs.map +1 -0
- package/dist/chunk-O4AYHLQX.cjs +132 -0
- package/dist/chunk-O4AYHLQX.cjs.map +1 -0
- package/dist/chunk-ODPNVNYE.cjs +75 -0
- package/dist/chunk-ODPNVNYE.cjs.map +1 -0
- package/dist/chunk-OEKPQXXM.js +24 -0
- package/dist/chunk-OEKPQXXM.js.map +1 -0
- package/dist/chunk-OG2KJAYD.cjs +44 -0
- package/dist/chunk-OG2KJAYD.cjs.map +1 -0
- package/dist/chunk-OMGDHJYX.js +39 -0
- package/dist/chunk-OMGDHJYX.js.map +1 -0
- package/dist/chunk-OMRKVER7.js +80 -0
- package/dist/chunk-OMRKVER7.js.map +1 -0
- package/dist/chunk-OWP7XBY2.cjs +281 -0
- package/dist/chunk-OWP7XBY2.cjs.map +1 -0
- package/dist/chunk-OYZP6NF6.cjs +58 -0
- package/dist/chunk-OYZP6NF6.cjs.map +1 -0
- package/dist/chunk-P6JLNQ6L.cjs +111 -0
- package/dist/chunk-P6JLNQ6L.cjs.map +1 -0
- package/dist/chunk-P7DYLUUI.cjs +168 -0
- package/dist/chunk-P7DYLUUI.cjs.map +1 -0
- package/dist/chunk-PKAE6AQT.cjs +208 -0
- package/dist/chunk-PKAE6AQT.cjs.map +1 -0
- package/dist/chunk-Q347PTXI.js +54 -0
- package/dist/chunk-Q347PTXI.js.map +1 -0
- package/dist/chunk-Q6HI2G7W.js +40 -0
- package/dist/chunk-Q6HI2G7W.js.map +1 -0
- package/dist/chunk-Q7M7DO7M.cjs +186 -0
- package/dist/chunk-Q7M7DO7M.cjs.map +1 -0
- package/dist/chunk-QCPEE3EV.js +186 -0
- package/dist/chunk-QCPEE3EV.js.map +1 -0
- package/dist/chunk-QF3Q3TPV.js +162 -0
- package/dist/chunk-QF3Q3TPV.js.map +1 -0
- package/dist/chunk-QGTVOC6O.js +167 -0
- package/dist/chunk-QGTVOC6O.js.map +1 -0
- package/dist/chunk-QMLU5DST.cjs +786 -0
- package/dist/chunk-QMLU5DST.cjs.map +1 -0
- package/dist/chunk-QRSA72B3.cjs +40 -0
- package/dist/chunk-QRSA72B3.cjs.map +1 -0
- package/dist/chunk-QYNRNDIY.cjs +186 -0
- package/dist/chunk-QYNRNDIY.cjs.map +1 -0
- package/dist/chunk-R4FE6K43.cjs +99 -0
- package/dist/chunk-R4FE6K43.cjs.map +1 -0
- package/dist/chunk-R5VYSZ3Q.cjs +67 -0
- package/dist/chunk-R5VYSZ3Q.cjs.map +1 -0
- package/dist/chunk-RBN2H7QR.js +340 -0
- package/dist/chunk-RBN2H7QR.js.map +1 -0
- package/dist/chunk-RI42IDRR.cjs +23 -0
- package/dist/chunk-RI42IDRR.cjs.map +1 -0
- package/dist/chunk-RUDKQPEO.js +22 -0
- package/dist/chunk-RUDKQPEO.js.map +1 -0
- package/dist/chunk-RWCCRTLZ.js +17 -0
- package/dist/chunk-RWCCRTLZ.js.map +1 -0
- package/dist/chunk-S7SBNOGS.cjs +144 -0
- package/dist/chunk-S7SBNOGS.cjs.map +1 -0
- package/dist/chunk-SQELICSX.cjs +159 -0
- package/dist/chunk-SQELICSX.cjs.map +1 -0
- package/dist/chunk-SXCH2AXM.js +85 -0
- package/dist/chunk-SXCH2AXM.js.map +1 -0
- package/dist/chunk-T37FLY7Q.js +185 -0
- package/dist/chunk-T37FLY7Q.js.map +1 -0
- package/dist/chunk-T6N35YFJ.js +186 -0
- package/dist/chunk-T6N35YFJ.js.map +1 -0
- package/dist/chunk-THPCSJUP.js +43 -0
- package/dist/chunk-THPCSJUP.js.map +1 -0
- package/dist/chunk-TIMYWB2C.cjs +316 -0
- package/dist/chunk-TIMYWB2C.cjs.map +1 -0
- package/dist/chunk-TMAJE5P2.cjs +84 -0
- package/dist/chunk-TMAJE5P2.cjs.map +1 -0
- package/dist/chunk-TNIJ6OSH.cjs +162 -0
- package/dist/chunk-TNIJ6OSH.cjs.map +1 -0
- package/dist/chunk-TZ4JHXBR.js +98 -0
- package/dist/chunk-TZ4JHXBR.js.map +1 -0
- package/dist/chunk-UGSM7RJ2.cjs +30 -0
- package/dist/chunk-UGSM7RJ2.cjs.map +1 -0
- package/dist/chunk-UH2A7ZDK.js +61 -0
- package/dist/chunk-UH2A7ZDK.js.map +1 -0
- package/dist/chunk-UKLZAOLW.cjs +209 -0
- package/dist/chunk-UKLZAOLW.cjs.map +1 -0
- package/dist/chunk-ULZWGW2O.js +14 -0
- package/dist/chunk-ULZWGW2O.js.map +1 -0
- package/dist/chunk-US6R4TM4.js +50 -0
- package/dist/chunk-US6R4TM4.js.map +1 -0
- package/dist/chunk-UU3YQJT6.js +27 -0
- package/dist/chunk-UU3YQJT6.js.map +1 -0
- package/dist/chunk-V3PCNGDH.js +69 -0
- package/dist/chunk-V3PCNGDH.js.map +1 -0
- package/dist/chunk-V47G7P6L.cjs +19 -0
- package/dist/chunk-V47G7P6L.cjs.map +1 -0
- package/dist/chunk-VH5A6SMU.cjs +50 -0
- package/dist/chunk-VH5A6SMU.cjs.map +1 -0
- package/dist/chunk-VJ2L2GOF.js +23 -0
- package/dist/chunk-VJ2L2GOF.js.map +1 -0
- package/dist/chunk-VOIELJLZ.cjs +274 -0
- package/dist/chunk-VOIELJLZ.cjs.map +1 -0
- package/dist/chunk-VW7GWSP6.js +209 -0
- package/dist/chunk-VW7GWSP6.js.map +1 -0
- package/dist/chunk-VYC7WUM5.cjs +39 -0
- package/dist/chunk-VYC7WUM5.cjs.map +1 -0
- package/dist/chunk-W3EFNOH6.js +536 -0
- package/dist/chunk-W3EFNOH6.js.map +1 -0
- package/dist/chunk-W457XUA6.cjs +67 -0
- package/dist/chunk-W457XUA6.cjs.map +1 -0
- package/dist/chunk-WBAPQODS.js +111 -0
- package/dist/chunk-WBAPQODS.js.map +1 -0
- package/dist/chunk-WHDI3TMP.cjs +21 -0
- package/dist/chunk-WHDI3TMP.cjs.map +1 -0
- package/dist/chunk-WITCPKNL.cjs +20 -0
- package/dist/chunk-WITCPKNL.cjs.map +1 -0
- package/dist/chunk-WSOUQS6C.js +135 -0
- package/dist/chunk-WSOUQS6C.js.map +1 -0
- package/dist/chunk-WX6NP7UU.cjs +14 -0
- package/dist/chunk-WX6NP7UU.cjs.map +1 -0
- package/dist/chunk-WZK3BIHG.js +75 -0
- package/dist/chunk-WZK3BIHG.js.map +1 -0
- package/dist/chunk-X7UAYGQR.cjs +43 -0
- package/dist/chunk-X7UAYGQR.cjs.map +1 -0
- package/dist/chunk-XQLRIBVR.cjs +98 -0
- package/dist/chunk-XQLRIBVR.cjs.map +1 -0
- package/dist/chunk-Y4XILACH.js +105 -0
- package/dist/chunk-Y4XILACH.js.map +1 -0
- package/dist/chunk-YJQPKT6W.cjs +453 -0
- package/dist/chunk-YJQPKT6W.cjs.map +1 -0
- package/dist/chunk-YK3P5QNZ.cjs +559 -0
- package/dist/chunk-YK3P5QNZ.cjs.map +1 -0
- package/dist/chunk-YOFIOZJ5.js +1038 -0
- package/dist/chunk-YOFIOZJ5.js.map +1 -0
- package/dist/chunk-ZDYRYXY3.js +316 -0
- package/dist/chunk-ZDYRYXY3.js.map +1 -0
- package/dist/chunk-ZKPVUCQV.cjs +973 -0
- package/dist/chunk-ZKPVUCQV.cjs.map +1 -0
- package/dist/chunk-ZOD4J4XF.cjs +89 -0
- package/dist/chunk-ZOD4J4XF.cjs.map +1 -0
- package/dist/chunk-ZX4JTR2J.js +23 -0
- package/dist/chunk-ZX4JTR2J.js.map +1 -0
- package/dist/chunk-ZYWW275O.js +159 -0
- package/dist/chunk-ZYWW275O.js.map +1 -0
- package/dist/client.cjs +17 -0
- package/dist/client.cjs.map +1 -0
- package/dist/client.d.cts +221 -0
- package/dist/client.d.ts +221 -0
- package/dist/client.js +17 -0
- package/dist/client.js.map +1 -0
- package/dist/core.cjs +13 -0
- package/dist/core.cjs.map +1 -0
- package/dist/core.d.cts +376 -0
- package/dist/core.d.ts +376 -0
- package/dist/core.js +13 -0
- package/dist/core.js.map +1 -0
- package/dist/currencies.cjs +7 -0
- package/dist/currencies.cjs.map +1 -0
- package/dist/currencies.d.cts +8 -0
- package/dist/currencies.d.ts +8 -0
- package/dist/currencies.js +7 -0
- package/dist/currencies.js.map +1 -0
- package/dist/enigmaCardForm.cjs +65 -0
- package/dist/enigmaCardForm.cjs.map +1 -0
- package/dist/enigmaCardForm.d.cts +145 -0
- package/dist/enigmaCardForm.d.ts +145 -0
- package/dist/enigmaCardForm.js +65 -0
- package/dist/enigmaCardForm.js.map +1 -0
- package/dist/error.cjs +9 -0
- package/dist/error.cjs.map +1 -0
- package/dist/error.d.cts +66 -0
- package/dist/error.d.ts +66 -0
- package/dist/error.js +9 -0
- package/dist/error.js.map +1 -0
- package/dist/eventStream.cjs +7 -0
- package/dist/eventStream.cjs.map +1 -0
- package/dist/eventStream.d.cts +50 -0
- package/dist/eventStream.d.ts +50 -0
- package/dist/eventStream.js +7 -0
- package/dist/eventStream.js.map +1 -0
- package/dist/exportDownload.cjs +21 -0
- package/dist/exportDownload.cjs.map +1 -0
- package/dist/exportDownload.d.cts +86 -0
- package/dist/exportDownload.d.ts +86 -0
- package/dist/exportDownload.js +21 -0
- package/dist/exportDownload.js.map +1 -0
- package/dist/feeProgram.cjs +25 -0
- package/dist/feeProgram.cjs.map +1 -0
- package/dist/feeProgram.d.cts +169 -0
- package/dist/feeProgram.d.ts +169 -0
- package/dist/feeProgram.js +25 -0
- package/dist/feeProgram.js.map +1 -0
- package/dist/index.cjs +839 -18404
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -1
- package/dist/index.d.ts +87 -1
- package/dist/index.js +417 -187
- package/dist/internal/resources/admin.cjs +7 -0
- package/dist/internal/resources/admin.cjs.map +1 -0
- package/dist/internal/resources/admin.d.cts +31 -0
- package/dist/internal/resources/admin.d.ts +31 -0
- package/dist/internal/resources/admin.js +7 -0
- package/dist/internal/resources/admin.js.map +1 -0
- package/dist/internal/resources/adminBranding.cjs +7 -0
- package/dist/internal/resources/adminBranding.cjs.map +1 -0
- package/dist/internal/resources/adminBranding.d.cts +37 -0
- package/dist/internal/resources/adminBranding.d.ts +37 -0
- package/dist/internal/resources/adminBranding.js +7 -0
- package/dist/internal/resources/adminBranding.js.map +1 -0
- package/dist/internal/resources/adminFileScans.cjs +7 -0
- package/dist/internal/resources/adminFileScans.cjs.map +1 -0
- package/dist/internal/resources/adminFileScans.d.cts +39 -0
- package/dist/internal/resources/adminFileScans.d.ts +39 -0
- package/dist/internal/resources/adminFileScans.js +7 -0
- package/dist/internal/resources/adminFileScans.js.map +1 -0
- package/dist/internal/resources/adminIndustries.cjs +7 -0
- package/dist/internal/resources/adminIndustries.cjs.map +1 -0
- package/dist/internal/resources/adminIndustries.d.cts +61 -0
- package/dist/internal/resources/adminIndustries.d.ts +61 -0
- package/dist/internal/resources/adminIndustries.js +7 -0
- package/dist/internal/resources/adminIndustries.js.map +1 -0
- package/dist/internal/resources/adminLive.cjs +7 -0
- package/dist/internal/resources/adminLive.cjs.map +1 -0
- package/dist/internal/resources/adminLive.d.cts +33 -0
- package/dist/internal/resources/adminLive.d.ts +33 -0
- package/dist/internal/resources/adminLive.js +7 -0
- package/dist/internal/resources/adminLive.js.map +1 -0
- package/dist/internal/resources/adminPortal.cjs +7 -0
- package/dist/internal/resources/adminPortal.cjs.map +1 -0
- package/dist/internal/resources/adminPortal.d.cts +1029 -0
- package/dist/internal/resources/adminPortal.d.ts +1029 -0
- package/dist/internal/resources/adminPortal.js +7 -0
- package/dist/internal/resources/adminPortal.js.map +1 -0
- package/dist/internal/resources/adminSupport.cjs +7 -0
- package/dist/internal/resources/adminSupport.cjs.map +1 -0
- package/dist/internal/resources/adminSupport.d.cts +52 -0
- package/dist/internal/resources/adminSupport.d.ts +52 -0
- package/dist/internal/resources/adminSupport.js +7 -0
- package/dist/internal/resources/adminSupport.js.map +1 -0
- package/dist/internal/resources/auditLogs.cjs +7 -0
- package/dist/internal/resources/auditLogs.cjs.map +1 -0
- package/dist/internal/resources/auditLogs.d.cts +37 -0
- package/dist/internal/resources/auditLogs.d.ts +37 -0
- package/dist/internal/resources/auditLogs.js +7 -0
- package/dist/internal/resources/auditLogs.js.map +1 -0
- package/dist/internal/resources/cache.cjs +7 -0
- package/dist/internal/resources/cache.cjs.map +1 -0
- package/dist/internal/resources/cache.d.cts +13 -0
- package/dist/internal/resources/cache.d.ts +13 -0
- package/dist/internal/resources/cache.js +7 -0
- package/dist/internal/resources/cache.js.map +1 -0
- package/dist/internal/resources/cardIssuers.cjs +7 -0
- package/dist/internal/resources/cardIssuers.cjs.map +1 -0
- package/dist/internal/resources/cardIssuers.d.cts +15 -0
- package/dist/internal/resources/cardIssuers.d.ts +15 -0
- package/dist/internal/resources/cardIssuers.js +7 -0
- package/dist/internal/resources/cardIssuers.js.map +1 -0
- package/dist/internal/resources/configs.cjs +7 -0
- package/dist/internal/resources/configs.cjs.map +1 -0
- package/dist/internal/resources/configs.d.cts +19 -0
- package/dist/internal/resources/configs.d.ts +19 -0
- package/dist/internal/resources/configs.js +7 -0
- package/dist/internal/resources/configs.js.map +1 -0
- package/dist/internal/resources/connectorRestrictionRules.cjs +7 -0
- package/dist/internal/resources/connectorRestrictionRules.cjs.map +1 -0
- package/dist/internal/resources/connectorRestrictionRules.d.cts +43 -0
- package/dist/internal/resources/connectorRestrictionRules.d.ts +43 -0
- package/dist/internal/resources/connectorRestrictionRules.js +7 -0
- package/dist/internal/resources/connectorRestrictionRules.js.map +1 -0
- package/dist/internal/resources/connectorRestrictions.cjs +7 -0
- package/dist/internal/resources/connectorRestrictions.cjs.map +1 -0
- package/dist/internal/resources/connectorRestrictions.d.cts +33 -0
- package/dist/internal/resources/connectorRestrictions.d.ts +33 -0
- package/dist/internal/resources/connectorRestrictions.js +7 -0
- package/dist/internal/resources/connectorRestrictions.js.map +1 -0
- package/dist/internal/resources/diagnostic.cjs +7 -0
- package/dist/internal/resources/diagnostic.cjs.map +1 -0
- package/dist/internal/resources/diagnostic.d.cts +183 -0
- package/dist/internal/resources/diagnostic.d.ts +183 -0
- package/dist/internal/resources/diagnostic.js +7 -0
- package/dist/internal/resources/diagnostic.js.map +1 -0
- package/dist/internal/resources/gsm.cjs +7 -0
- package/dist/internal/resources/gsm.cjs.map +1 -0
- package/dist/internal/resources/gsm.d.cts +16 -0
- package/dist/internal/resources/gsm.d.ts +16 -0
- package/dist/internal/resources/gsm.js +7 -0
- package/dist/internal/resources/gsm.js.map +1 -0
- package/dist/internal/resources/nativeRenewals.cjs +7 -0
- package/dist/internal/resources/nativeRenewals.cjs.map +1 -0
- package/dist/internal/resources/nativeRenewals.d.cts +16 -0
- package/dist/internal/resources/nativeRenewals.d.ts +16 -0
- package/dist/internal/resources/nativeRenewals.js +7 -0
- package/dist/internal/resources/nativeRenewals.js.map +1 -0
- package/dist/internal/resources/platformBilling.cjs +7 -0
- package/dist/internal/resources/platformBilling.cjs.map +1 -0
- package/dist/internal/resources/platformBilling.d.cts +145 -0
- package/dist/internal/resources/platformBilling.d.ts +145 -0
- package/dist/internal/resources/platformBilling.js +7 -0
- package/dist/internal/resources/platformBilling.js.map +1 -0
- package/dist/internal/resources/platformFees.cjs +9 -0
- package/dist/internal/resources/platformFees.cjs.map +1 -0
- package/dist/internal/resources/platformFees.d.cts +60 -0
- package/dist/internal/resources/platformFees.d.ts +60 -0
- package/dist/internal/resources/platformFees.js +9 -0
- package/dist/internal/resources/platformFees.js.map +1 -0
- package/dist/internal/resources/platformMessageTemplates.cjs +7 -0
- package/dist/internal/resources/platformMessageTemplates.cjs.map +1 -0
- package/dist/internal/resources/platformMessageTemplates.d.cts +46 -0
- package/dist/internal/resources/platformMessageTemplates.d.ts +46 -0
- package/dist/internal/resources/platformMessageTemplates.js +7 -0
- package/dist/internal/resources/platformMessageTemplates.js.map +1 -0
- package/dist/internal/resources/platformSettings.cjs +7 -0
- package/dist/internal/resources/platformSettings.cjs.map +1 -0
- package/dist/internal/resources/platformSettings.d.cts +41 -0
- package/dist/internal/resources/platformSettings.d.ts +41 -0
- package/dist/internal/resources/platformSettings.js +7 -0
- package/dist/internal/resources/platformSettings.js.map +1 -0
- package/dist/internal.cjs +855 -21120
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +109 -6144
- package/dist/internal.d.ts +109 -6144
- package/dist/internal.js +478 -2932
- package/dist/internal.js.map +1 -1
- package/dist/listQuery.cjs +7 -0
- package/dist/listQuery.cjs.map +1 -0
- package/dist/listQuery.d.cts +15 -0
- package/dist/listQuery.d.ts +15 -0
- package/dist/listQuery.js +7 -0
- package/dist/listQuery.js.map +1 -0
- package/dist/panes.cjs +65 -0
- package/dist/panes.cjs.map +1 -0
- package/dist/panes.d.cts +523 -0
- package/dist/panes.d.ts +523 -0
- package/dist/panes.js +65 -0
- package/dist/panes.js.map +1 -0
- package/dist/paymentPresentation.cjs +27 -0
- package/dist/paymentPresentation.cjs.map +1 -0
- package/dist/paymentPresentation.d.cts +101 -0
- package/dist/paymentPresentation.d.ts +101 -0
- package/dist/paymentPresentation.js +27 -0
- package/dist/paymentPresentation.js.map +1 -0
- package/dist/recordCounter.cjs +9 -0
- package/dist/recordCounter.cjs.map +1 -0
- package/dist/recordCounter.d.cts +92 -0
- package/dist/recordCounter.d.ts +92 -0
- package/dist/recordCounter.js +9 -0
- package/dist/recordCounter.js.map +1 -0
- package/dist/resources/analytics.cjs +7 -0
- package/dist/resources/analytics.cjs.map +1 -0
- package/dist/resources/analytics.d.cts +193 -0
- package/dist/resources/analytics.d.ts +193 -0
- package/dist/resources/analytics.js +7 -0
- package/dist/resources/analytics.js.map +1 -0
- package/dist/resources/analyticsDashboard.cjs +7 -0
- package/dist/resources/analyticsDashboard.cjs.map +1 -0
- package/dist/resources/analyticsDashboard.d.cts +15 -0
- package/dist/resources/analyticsDashboard.d.ts +15 -0
- package/dist/resources/analyticsDashboard.js +7 -0
- package/dist/resources/analyticsDashboard.js.map +1 -0
- package/dist/resources/apiKeys.cjs +7 -0
- package/dist/resources/apiKeys.cjs.map +1 -0
- package/dist/resources/apiKeys.d.cts +156 -0
- package/dist/resources/apiKeys.d.ts +156 -0
- package/dist/resources/apiKeys.js +7 -0
- package/dist/resources/apiKeys.js.map +1 -0
- package/dist/resources/audit.cjs +7 -0
- package/dist/resources/audit.cjs.map +1 -0
- package/dist/resources/audit.d.cts +34 -0
- package/dist/resources/audit.d.ts +34 -0
- package/dist/resources/audit.js +7 -0
- package/dist/resources/audit.js.map +1 -0
- package/dist/resources/authentication.cjs +7 -0
- package/dist/resources/authentication.cjs.map +1 -0
- package/dist/resources/authentication.d.cts +22 -0
- package/dist/resources/authentication.d.ts +22 -0
- package/dist/resources/authentication.js +7 -0
- package/dist/resources/authentication.js.map +1 -0
- package/dist/resources/availabilityOverrides.cjs +7 -0
- package/dist/resources/availabilityOverrides.cjs.map +1 -0
- package/dist/resources/availabilityOverrides.d.cts +30 -0
- package/dist/resources/availabilityOverrides.d.ts +30 -0
- package/dist/resources/availabilityOverrides.js +7 -0
- package/dist/resources/availabilityOverrides.js.map +1 -0
- package/dist/resources/billing.cjs +7 -0
- package/dist/resources/billing.cjs.map +1 -0
- package/dist/resources/billing.d.cts +122 -0
- package/dist/resources/billing.d.ts +122 -0
- package/dist/resources/billing.js +7 -0
- package/dist/resources/billing.js.map +1 -0
- package/dist/resources/buyerAccount.cjs +7 -0
- package/dist/resources/buyerAccount.cjs.map +1 -0
- package/dist/resources/buyerAccount.d.cts +162 -0
- package/dist/resources/buyerAccount.d.ts +162 -0
- package/dist/resources/buyerAccount.js +7 -0
- package/dist/resources/buyerAccount.js.map +1 -0
- package/dist/resources/buyerBlocklist.cjs +7 -0
- package/dist/resources/buyerBlocklist.cjs.map +1 -0
- package/dist/resources/buyerBlocklist.d.cts +120 -0
- package/dist/resources/buyerBlocklist.d.ts +120 -0
- package/dist/resources/buyerBlocklist.js +7 -0
- package/dist/resources/buyerBlocklist.js.map +1 -0
- package/dist/resources/buyerConversations.cjs +7 -0
- package/dist/resources/buyerConversations.cjs.map +1 -0
- package/dist/resources/buyerConversations.d.cts +85 -0
- package/dist/resources/buyerConversations.d.ts +85 -0
- package/dist/resources/buyerConversations.js +7 -0
- package/dist/resources/buyerConversations.js.map +1 -0
- package/dist/resources/buyerEvidenceReviews.cjs +7 -0
- package/dist/resources/buyerEvidenceReviews.cjs.map +1 -0
- package/dist/resources/buyerEvidenceReviews.d.cts +43 -0
- package/dist/resources/buyerEvidenceReviews.d.ts +43 -0
- package/dist/resources/buyerEvidenceReviews.js +7 -0
- package/dist/resources/buyerEvidenceReviews.js.map +1 -0
- package/dist/resources/buyerPortal.cjs +7 -0
- package/dist/resources/buyerPortal.cjs.map +1 -0
- package/dist/resources/buyerPortal.d.cts +122 -0
- package/dist/resources/buyerPortal.d.ts +122 -0
- package/dist/resources/buyerPortal.js +7 -0
- package/dist/resources/buyerPortal.js.map +1 -0
- package/dist/resources/cards.cjs +7 -0
- package/dist/resources/cards.cjs.map +1 -0
- package/dist/resources/cards.d.cts +17 -0
- package/dist/resources/cards.d.ts +17 -0
- package/dist/resources/cards.js +7 -0
- package/dist/resources/cards.js.map +1 -0
- package/dist/resources/chargebackPrevention.cjs +9 -0
- package/dist/resources/chargebackPrevention.cjs.map +1 -0
- package/dist/resources/chargebackPrevention.d.cts +51 -0
- package/dist/resources/chargebackPrevention.d.ts +51 -0
- package/dist/resources/chargebackPrevention.js +9 -0
- package/dist/resources/chargebackPrevention.js.map +1 -0
- package/dist/resources/checkoutMethods.cjs +7 -0
- package/dist/resources/checkoutMethods.cjs.map +1 -0
- package/dist/resources/checkoutMethods.d.cts +135 -0
- package/dist/resources/checkoutMethods.d.ts +135 -0
- package/dist/resources/checkoutMethods.js +7 -0
- package/dist/resources/checkoutMethods.js.map +1 -0
- package/dist/resources/checkoutRecovery.cjs +7 -0
- package/dist/resources/checkoutRecovery.cjs.map +1 -0
- package/dist/resources/checkoutRecovery.d.cts +92 -0
- package/dist/resources/checkoutRecovery.d.ts +92 -0
- package/dist/resources/checkoutRecovery.js +7 -0
- package/dist/resources/checkoutRecovery.js.map +1 -0
- package/dist/resources/checkoutTemplates.cjs +7 -0
- package/dist/resources/checkoutTemplates.cjs.map +1 -0
- package/dist/resources/checkoutTemplates.d.cts +75 -0
- package/dist/resources/checkoutTemplates.d.ts +75 -0
- package/dist/resources/checkoutTemplates.js +7 -0
- package/dist/resources/checkoutTemplates.js.map +1 -0
- package/dist/resources/connectors.cjs +7 -0
- package/dist/resources/connectors.cjs.map +1 -0
- package/dist/resources/connectors.d.cts +500 -0
- package/dist/resources/connectors.d.ts +500 -0
- package/dist/resources/connectors.js +7 -0
- package/dist/resources/connectors.js.map +1 -0
- package/dist/resources/costRules.cjs +7 -0
- package/dist/resources/costRules.cjs.map +1 -0
- package/dist/resources/costRules.d.cts +56 -0
- package/dist/resources/costRules.d.ts +56 -0
- package/dist/resources/costRules.js +7 -0
- package/dist/resources/costRules.js.map +1 -0
- package/dist/resources/customers.cjs +7 -0
- package/dist/resources/customers.cjs.map +1 -0
- package/dist/resources/customers.d.cts +185 -0
- package/dist/resources/customers.d.ts +185 -0
- package/dist/resources/customers.js +7 -0
- package/dist/resources/customers.js.map +1 -0
- package/dist/resources/deploymentBranding.cjs +9 -0
- package/dist/resources/deploymentBranding.cjs.map +1 -0
- package/dist/resources/deploymentBranding.d.cts +51 -0
- package/dist/resources/deploymentBranding.d.ts +51 -0
- package/dist/resources/deploymentBranding.js +9 -0
- package/dist/resources/deploymentBranding.js.map +1 -0
- package/dist/resources/disputes.cjs +7 -0
- package/dist/resources/disputes.cjs.map +1 -0
- package/dist/resources/disputes.d.cts +157 -0
- package/dist/resources/disputes.d.ts +157 -0
- package/dist/resources/disputes.js +7 -0
- package/dist/resources/disputes.js.map +1 -0
- package/dist/resources/ephemeralKeys.cjs +7 -0
- package/dist/resources/ephemeralKeys.cjs.map +1 -0
- package/dist/resources/ephemeralKeys.d.cts +43 -0
- package/dist/resources/ephemeralKeys.d.ts +43 -0
- package/dist/resources/ephemeralKeys.js +7 -0
- package/dist/resources/ephemeralKeys.js.map +1 -0
- package/dist/resources/events.cjs +7 -0
- package/dist/resources/events.cjs.map +1 -0
- package/dist/resources/events.d.cts +48 -0
- package/dist/resources/events.d.ts +48 -0
- package/dist/resources/events.js +7 -0
- package/dist/resources/events.js.map +1 -0
- package/dist/resources/export.cjs +7 -0
- package/dist/resources/export.cjs.map +1 -0
- package/dist/resources/export.d.cts +165 -0
- package/dist/resources/export.d.ts +165 -0
- package/dist/resources/export.js +7 -0
- package/dist/resources/export.js.map +1 -0
- package/dist/resources/externalRecords.cjs +7 -0
- package/dist/resources/externalRecords.cjs.map +1 -0
- package/dist/resources/externalRecords.d.cts +53 -0
- package/dist/resources/externalRecords.d.ts +53 -0
- package/dist/resources/externalRecords.js +7 -0
- package/dist/resources/externalRecords.js.map +1 -0
- package/dist/resources/featureMatrix.cjs +7 -0
- package/dist/resources/featureMatrix.cjs.map +1 -0
- package/dist/resources/featureMatrix.d.cts +24 -0
- package/dist/resources/featureMatrix.d.ts +24 -0
- package/dist/resources/featureMatrix.js +7 -0
- package/dist/resources/featureMatrix.js.map +1 -0
- package/dist/resources/fees.cjs +9 -0
- package/dist/resources/fees.cjs.map +1 -0
- package/dist/resources/fees.d.cts +96 -0
- package/dist/resources/fees.d.ts +96 -0
- package/dist/resources/fees.js +9 -0
- package/dist/resources/fees.js.map +1 -0
- package/dist/resources/files.cjs +7 -0
- package/dist/resources/files.cjs.map +1 -0
- package/dist/resources/files.d.cts +17 -0
- package/dist/resources/files.d.ts +17 -0
- package/dist/resources/files.js +7 -0
- package/dist/resources/files.js.map +1 -0
- package/dist/resources/forex.cjs +7 -0
- package/dist/resources/forex.cjs.map +1 -0
- package/dist/resources/forex.d.cts +15 -0
- package/dist/resources/forex.d.ts +15 -0
- package/dist/resources/forex.js +7 -0
- package/dist/resources/forex.js.map +1 -0
- package/dist/resources/identityVerifications.cjs +7 -0
- package/dist/resources/identityVerifications.cjs.map +1 -0
- package/dist/resources/identityVerifications.d.cts +220 -0
- package/dist/resources/identityVerifications.d.ts +220 -0
- package/dist/resources/identityVerifications.js +7 -0
- package/dist/resources/identityVerifications.js.map +1 -0
- package/dist/resources/industries.cjs +7 -0
- package/dist/resources/industries.cjs.map +1 -0
- package/dist/resources/industries.d.cts +88 -0
- package/dist/resources/industries.d.ts +88 -0
- package/dist/resources/industries.js +7 -0
- package/dist/resources/industries.js.map +1 -0
- package/dist/resources/invoiceSettings.cjs +7 -0
- package/dist/resources/invoiceSettings.cjs.map +1 -0
- package/dist/resources/invoiceSettings.d.cts +131 -0
- package/dist/resources/invoiceSettings.d.ts +131 -0
- package/dist/resources/invoiceSettings.js +7 -0
- package/dist/resources/invoiceSettings.js.map +1 -0
- package/dist/resources/invoices.cjs +7 -0
- package/dist/resources/invoices.cjs.map +1 -0
- package/dist/resources/invoices.d.cts +160 -0
- package/dist/resources/invoices.d.ts +160 -0
- package/dist/resources/invoices.js +7 -0
- package/dist/resources/invoices.js.map +1 -0
- package/dist/resources/live.cjs +13 -0
- package/dist/resources/live.cjs.map +1 -0
- package/dist/resources/live.d.cts +92 -0
- package/dist/resources/live.d.ts +92 -0
- package/dist/resources/live.js +13 -0
- package/dist/resources/live.js.map +1 -0
- package/dist/resources/mandates.cjs +7 -0
- package/dist/resources/mandates.cjs.map +1 -0
- package/dist/resources/mandates.d.cts +33 -0
- package/dist/resources/mandates.d.ts +33 -0
- package/dist/resources/mandates.js +7 -0
- package/dist/resources/mandates.js.map +1 -0
- package/dist/resources/merchantAccounts.cjs +7 -0
- package/dist/resources/merchantAccounts.cjs.map +1 -0
- package/dist/resources/merchantAccounts.d.cts +23 -0
- package/dist/resources/merchantAccounts.d.ts +23 -0
- package/dist/resources/merchantAccounts.js +7 -0
- package/dist/resources/merchantAccounts.js.map +1 -0
- package/dist/resources/messageTemplates.cjs +7 -0
- package/dist/resources/messageTemplates.cjs.map +1 -0
- package/dist/resources/messageTemplates.d.cts +48 -0
- package/dist/resources/messageTemplates.d.ts +48 -0
- package/dist/resources/messageTemplates.js +7 -0
- package/dist/resources/messageTemplates.js.map +1 -0
- package/dist/resources/operationLimits.cjs +7 -0
- package/dist/resources/operationLimits.cjs.map +1 -0
- package/dist/resources/operationLimits.d.cts +122 -0
- package/dist/resources/operationLimits.d.ts +122 -0
- package/dist/resources/operationLimits.js +7 -0
- package/dist/resources/operationLimits.js.map +1 -0
- package/dist/resources/paymentLinks.cjs +7 -0
- package/dist/resources/paymentLinks.cjs.map +1 -0
- package/dist/resources/paymentLinks.d.cts +42 -0
- package/dist/resources/paymentLinks.d.ts +42 -0
- package/dist/resources/paymentLinks.js +7 -0
- package/dist/resources/paymentLinks.js.map +1 -0
- package/dist/resources/paymentMethods.cjs +7 -0
- package/dist/resources/paymentMethods.cjs.map +1 -0
- package/dist/resources/paymentMethods.d.cts +172 -0
- package/dist/resources/paymentMethods.d.ts +172 -0
- package/dist/resources/paymentMethods.js +7 -0
- package/dist/resources/paymentMethods.js.map +1 -0
- package/dist/resources/payments.cjs +7 -0
- package/dist/resources/payments.cjs.map +1 -0
- package/dist/resources/payments.d.cts +509 -0
- package/dist/resources/payments.d.ts +509 -0
- package/dist/resources/payments.js +7 -0
- package/dist/resources/payments.js.map +1 -0
- package/dist/resources/payoutDestinations.cjs +7 -0
- package/dist/resources/payoutDestinations.cjs.map +1 -0
- package/dist/resources/payoutDestinations.d.cts +122 -0
- package/dist/resources/payoutDestinations.d.ts +122 -0
- package/dist/resources/payoutDestinations.js +7 -0
- package/dist/resources/payoutDestinations.js.map +1 -0
- package/dist/resources/payouts.cjs +7 -0
- package/dist/resources/payouts.cjs.map +1 -0
- package/dist/resources/payouts.d.cts +86 -0
- package/dist/resources/payouts.d.ts +86 -0
- package/dist/resources/payouts.js +7 -0
- package/dist/resources/payouts.js.map +1 -0
- package/dist/resources/paypalDisputes.cjs +7 -0
- package/dist/resources/paypalDisputes.cjs.map +1 -0
- package/dist/resources/paypalDisputes.d.cts +25 -0
- package/dist/resources/paypalDisputes.d.ts +25 -0
- package/dist/resources/paypalDisputes.js +7 -0
- package/dist/resources/paypalDisputes.js.map +1 -0
- package/dist/resources/persons.cjs +7 -0
- package/dist/resources/persons.cjs.map +1 -0
- package/dist/resources/persons.d.cts +58 -0
- package/dist/resources/persons.d.ts +58 -0
- package/dist/resources/persons.js +7 -0
- package/dist/resources/persons.js.map +1 -0
- package/dist/resources/poll.cjs +7 -0
- package/dist/resources/poll.cjs.map +1 -0
- package/dist/resources/poll.d.cts +12 -0
- package/dist/resources/poll.d.ts +12 -0
- package/dist/resources/poll.js +7 -0
- package/dist/resources/poll.js.map +1 -0
- package/dist/resources/processorCosts.cjs +7 -0
- package/dist/resources/processorCosts.cjs.map +1 -0
- package/dist/resources/processorCosts.d.cts +102 -0
- package/dist/resources/processorCosts.d.ts +102 -0
- package/dist/resources/processorCosts.js +7 -0
- package/dist/resources/processorCosts.js.map +1 -0
- package/dist/resources/processorImports.cjs +11 -0
- package/dist/resources/processorImports.cjs.map +1 -0
- package/dist/resources/processorImports.d.cts +96 -0
- package/dist/resources/processorImports.d.ts +96 -0
- package/dist/resources/processorImports.js +11 -0
- package/dist/resources/processorImports.js.map +1 -0
- package/dist/resources/products.cjs +7 -0
- package/dist/resources/products.cjs.map +1 -0
- package/dist/resources/products.d.cts +347 -0
- package/dist/resources/products.d.ts +347 -0
- package/dist/resources/products.js +7 -0
- package/dist/resources/products.js.map +1 -0
- package/dist/resources/profileAcquirers.cjs +7 -0
- package/dist/resources/profileAcquirers.cjs.map +1 -0
- package/dist/resources/profileAcquirers.d.cts +13 -0
- package/dist/resources/profileAcquirers.d.ts +13 -0
- package/dist/resources/profileAcquirers.js +7 -0
- package/dist/resources/profileAcquirers.js.map +1 -0
- package/dist/resources/profiles.cjs +7 -0
- package/dist/resources/profiles.cjs.map +1 -0
- package/dist/resources/profiles.d.cts +65 -0
- package/dist/resources/profiles.d.ts +65 -0
- package/dist/resources/profiles.js +7 -0
- package/dist/resources/profiles.js.map +1 -0
- package/dist/resources/projects.cjs +7 -0
- package/dist/resources/projects.cjs.map +1 -0
- package/dist/resources/projects.d.cts +131 -0
- package/dist/resources/projects.d.ts +131 -0
- package/dist/resources/projects.js +7 -0
- package/dist/resources/projects.js.map +1 -0
- package/dist/resources/refunds.cjs +7 -0
- package/dist/resources/refunds.cjs.map +1 -0
- package/dist/resources/refunds.d.cts +118 -0
- package/dist/resources/refunds.d.ts +118 -0
- package/dist/resources/refunds.js +7 -0
- package/dist/resources/refunds.js.map +1 -0
- package/dist/resources/regions.cjs +7 -0
- package/dist/resources/regions.cjs.map +1 -0
- package/dist/resources/regions.d.cts +32 -0
- package/dist/resources/regions.d.ts +32 -0
- package/dist/resources/regions.js +7 -0
- package/dist/resources/regions.js.map +1 -0
- package/dist/resources/relay.cjs +7 -0
- package/dist/resources/relay.cjs.map +1 -0
- package/dist/resources/relay.d.cts +13 -0
- package/dist/resources/relay.d.ts +13 -0
- package/dist/resources/relay.js +7 -0
- package/dist/resources/relay.js.map +1 -0
- package/dist/resources/risk.cjs +9 -0
- package/dist/resources/risk.cjs.map +1 -0
- package/dist/resources/risk.d.cts +67 -0
- package/dist/resources/risk.d.ts +67 -0
- package/dist/resources/risk.js +9 -0
- package/dist/resources/risk.js.map +1 -0
- package/dist/resources/routing.cjs +7 -0
- package/dist/resources/routing.cjs.map +1 -0
- package/dist/resources/routing.d.cts +526 -0
- package/dist/resources/routing.d.ts +526 -0
- package/dist/resources/routing.js +7 -0
- package/dist/resources/routing.js.map +1 -0
- package/dist/resources/search.cjs +7 -0
- package/dist/resources/search.cjs.map +1 -0
- package/dist/resources/search.d.cts +59 -0
- package/dist/resources/search.d.ts +59 -0
- package/dist/resources/search.js +7 -0
- package/dist/resources/search.js.map +1 -0
- package/dist/resources/sellToRestrictions.cjs +7 -0
- package/dist/resources/sellToRestrictions.cjs.map +1 -0
- package/dist/resources/sellToRestrictions.d.cts +99 -0
- package/dist/resources/sellToRestrictions.d.ts +99 -0
- package/dist/resources/sellToRestrictions.js +7 -0
- package/dist/resources/sellToRestrictions.js.map +1 -0
- package/dist/resources/settings.cjs +7 -0
- package/dist/resources/settings.cjs.map +1 -0
- package/dist/resources/settings.d.cts +36 -0
- package/dist/resources/settings.d.ts +36 -0
- package/dist/resources/settings.js +7 -0
- package/dist/resources/settings.js.map +1 -0
- package/dist/resources/settlement.cjs +9 -0
- package/dist/resources/settlement.cjs.map +1 -0
- package/dist/resources/settlement.d.cts +297 -0
- package/dist/resources/settlement.d.ts +297 -0
- package/dist/resources/settlement.js +9 -0
- package/dist/resources/settlement.js.map +1 -0
- package/dist/resources/shopLabels.cjs +7 -0
- package/dist/resources/shopLabels.cjs.map +1 -0
- package/dist/resources/shopLabels.d.cts +56 -0
- package/dist/resources/shopLabels.d.ts +56 -0
- package/dist/resources/shopLabels.js +7 -0
- package/dist/resources/shopLabels.js.map +1 -0
- package/dist/resources/shops.cjs +7 -0
- package/dist/resources/shops.cjs.map +1 -0
- package/dist/resources/shops.d.cts +196 -0
- package/dist/resources/shops.d.ts +196 -0
- package/dist/resources/shops.js +7 -0
- package/dist/resources/shops.js.map +1 -0
- package/dist/resources/stripeConnect.cjs +7 -0
- package/dist/resources/stripeConnect.cjs.map +1 -0
- package/dist/resources/stripeConnect.d.cts +19 -0
- package/dist/resources/stripeConnect.d.ts +19 -0
- package/dist/resources/stripeConnect.js +7 -0
- package/dist/resources/stripeConnect.js.map +1 -0
- package/dist/resources/subscriptions.cjs +7 -0
- package/dist/resources/subscriptions.cjs.map +1 -0
- package/dist/resources/subscriptions.d.cts +219 -0
- package/dist/resources/subscriptions.d.ts +219 -0
- package/dist/resources/subscriptions.js +7 -0
- package/dist/resources/subscriptions.js.map +1 -0
- package/dist/resources/support.cjs +7 -0
- package/dist/resources/support.cjs.map +1 -0
- package/dist/resources/support.d.cts +51 -0
- package/dist/resources/support.d.ts +51 -0
- package/dist/resources/support.js +7 -0
- package/dist/resources/support.js.map +1 -0
- package/dist/resources/threeDsRules.cjs +7 -0
- package/dist/resources/threeDsRules.cjs.map +1 -0
- package/dist/resources/threeDsRules.d.cts +12 -0
- package/dist/resources/threeDsRules.d.ts +12 -0
- package/dist/resources/threeDsRules.js +7 -0
- package/dist/resources/threeDsRules.js.map +1 -0
- package/dist/resources/users.cjs +7 -0
- package/dist/resources/users.cjs.map +1 -0
- package/dist/resources/users.d.cts +696 -0
- package/dist/resources/users.d.ts +696 -0
- package/dist/resources/users.js +7 -0
- package/dist/resources/users.js.map +1 -0
- package/dist/resources/vatRates.cjs +7 -0
- package/dist/resources/vatRates.cjs.map +1 -0
- package/dist/resources/vatRates.d.cts +24 -0
- package/dist/resources/vatRates.d.ts +24 -0
- package/dist/resources/vatRates.js +7 -0
- package/dist/resources/vatRates.js.map +1 -0
- package/dist/resources/verification.cjs +7 -0
- package/dist/resources/verification.cjs.map +1 -0
- package/dist/resources/verification.d.cts +13 -0
- package/dist/resources/verification.d.ts +13 -0
- package/dist/resources/verification.js +7 -0
- package/dist/resources/verification.js.map +1 -0
- package/dist/resources/webhooks.cjs +11 -0
- package/dist/resources/webhooks.cjs.map +1 -0
- package/dist/resources/webhooks.d.cts +145 -0
- package/dist/resources/webhooks.d.ts +145 -0
- package/dist/resources/webhooks.js +11 -0
- package/dist/resources/webhooks.js.map +1 -0
- package/dist/resources/whopResolutionCases.cjs +7 -0
- package/dist/resources/whopResolutionCases.cjs.map +1 -0
- package/dist/resources/whopResolutionCases.d.cts +28 -0
- package/dist/resources/whopResolutionCases.d.ts +28 -0
- package/dist/resources/whopResolutionCases.js +7 -0
- package/dist/resources/whopResolutionCases.js.map +1 -0
- package/dist/types-BEuEdvtX.d.cts +4511 -0
- package/dist/types-ewLZOLPZ.d.ts +4511 -0
- package/dist/types.cjs +1 -0
- package/dist/types.cjs.map +1 -0
- package/dist/{index-WArxrQje.d.cts → types.d.cts} +3 -11109
- package/dist/{index-WArxrQje.d.ts → types.d.ts} +3 -11109
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -0
- package/package.json +29 -17
- package/dist/chunk-DZK6LFNW.js +0 -18084
- package/dist/chunk-DZK6LFNW.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-W457XUA6.cjs","../src/internal/resources/platformMessageTemplates.ts"],"names":[],"mappings":"AAAA;ACyBO,IAAM,yBAAA,EAAN,MAA+B;AAAA,EACpC,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA,EAGlD,MAAM,IAAA,CAAA,EAAqC;AACzC,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,iCAAiC,CAAA;AAAA,EAC9D;AAAA;AAAA,EAGA,MAAM,QAAA,CAAS,UAAA,EAAoD;AACjE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,gCAAA,EAAmC,kBAAA,CAAmB,UAAU,CAAC,CAAA,CAAA;AAC9F,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWoC,EAAA;AACtB,IAAA;AACV,MAAA;AAC+E,MAAA;AAC/E,MAAA;AACQ,QAAA;AACR,MAAA;AACF,IAAA;AACF,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWoC,EAAA;AACtB,IAAA;AACV,MAAA;AAC+E,MAAA;AAC/E,MAAA;AACuD,QAAA;AACvD,MAAA;AACF,IAAA;AACF,EAAA;AAAA;AAMmC,EAAA;AACrB,IAAA;AACV,MAAA;AACiE,MAAA;AAClD,MAAA;AACjB,IAAA;AACF,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAUoC,EAAA;AACtB,IAAA;AACV,MAAA;AACiE,MAAA;AAClD,MAAA;AACjB,IAAA;AACF,EAAA;AACF;ADzCiG;AACA;AACA;AACA","file":"/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-W457XUA6.cjs","sourcesContent":[null,"import type { RequestFn } from '../../client';\nimport type {\n MessageLanguage,\n MessageTemplateDetail,\n MessageTemplateLanguage,\n MessageTemplateList,\n MessageTemplatePreview,\n PreviewMessageTemplateRequest,\n ResetMessageTemplateLanguageQuery,\n SendTestMessageRequest,\n SendTestMessageResponse,\n UpdateMessageTemplateLanguageRequest,\n} from '../../types';\n\n/**\n * The texts of every message the platform sends, as the operator writes them\n * at the platform scope: dashboard and operator emails, and the platform\n * default of every buyer email. A shop's own text of a buyer email goes\n * before the platform's, and the built-in text applies where neither exists.\n *\n * Reading needs an admin login or API key; writes, resets and test sends need\n * `AccountManage`. Every change is recorded in the audit log\n * (`entity_type: 'message_template'`, `entity_id:\n * 'platform:platform:<channel>:<template_id>:<language>'`).\n */\nexport class PlatformMessageTemplates {\n constructor(private readonly request: RequestFn) {}\n\n /** `GET /admin-portal/message-templates` */\n async list(): Promise<MessageTemplateList> {\n return this.request('GET', '/admin-portal/message-templates');\n }\n\n /** `GET /admin-portal/message-templates/{template_id}` */\n async retrieve(templateId: string): Promise<MessageTemplateDetail> {\n return this.request('GET', `/admin-portal/message-templates/${encodeURIComponent(templateId)}`);\n }\n\n /**\n * Store the platform's text in one language.\n *\n * `PUT /admin-portal/message-templates/{template_id}/languages/{language}`\n */\n async updateLanguage(\n templateId: string,\n language: MessageLanguage,\n params: UpdateMessageTemplateLanguageRequest,\n ): Promise<MessageTemplateLanguage> {\n return this.request(\n 'PUT',\n `/admin-portal/message-templates/${encodeURIComponent(templateId)}/languages/${encodeURIComponent(language)}`,\n {\n body: params,\n },\n );\n }\n\n /**\n * Remove the platform's text in one language, so the built-in text applies.\n *\n * `DELETE /admin-portal/message-templates/{template_id}/languages/{language}`\n */\n async resetLanguage(\n templateId: string,\n language: MessageLanguage,\n params: ResetMessageTemplateLanguageQuery = {},\n ): Promise<MessageTemplateLanguage> {\n return this.request(\n 'DELETE',\n `/admin-portal/message-templates/${encodeURIComponent(templateId)}/languages/${encodeURIComponent(language)}`,\n {\n query: { expected_revision: params.expected_revision },\n },\n );\n }\n\n /** `POST /admin-portal/message-templates/{template_id}/preview` */\n async preview(\n templateId: string,\n params: PreviewMessageTemplateRequest,\n ): Promise<MessageTemplatePreview> {\n return this.request(\n 'POST',\n `/admin-portal/message-templates/${encodeURIComponent(templateId)}/preview`,\n { body: params },\n );\n }\n\n /**\n * Send the template to the signed-in admin's own address.\n *\n * `POST /admin-portal/message-templates/{template_id}/test`\n */\n async sendTest(\n templateId: string,\n params: SendTestMessageRequest,\n ): Promise<SendTestMessageResponse> {\n return this.request(\n 'POST',\n `/admin-portal/message-templates/${encodeURIComponent(templateId)}/test`,\n { body: params },\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
runExport
|
|
3
|
+
} from "./chunk-AREMIQLZ.js";
|
|
4
|
+
import {
|
|
5
|
+
csvQuery
|
|
6
|
+
} from "./chunk-2C5XHXAY.js";
|
|
7
|
+
|
|
8
|
+
// src/resources/export.ts
|
|
9
|
+
var Export = class {
|
|
10
|
+
constructor(request) {
|
|
11
|
+
this.request = request;
|
|
12
|
+
}
|
|
13
|
+
async transactions(params, options) {
|
|
14
|
+
return runExport(this.request, "POST", "/export/transactions", { body: params ?? {} }, options);
|
|
15
|
+
}
|
|
16
|
+
async transactionsForProfile(params, options) {
|
|
17
|
+
return runExport(
|
|
18
|
+
this.request,
|
|
19
|
+
"POST",
|
|
20
|
+
"/export/profile/transactions",
|
|
21
|
+
{ body: params ?? {} },
|
|
22
|
+
options
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
async transactionLines(params, options) {
|
|
26
|
+
return runExport(
|
|
27
|
+
this.request,
|
|
28
|
+
"POST",
|
|
29
|
+
"/export/transactions/lines",
|
|
30
|
+
{ body: params ?? {} },
|
|
31
|
+
options
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
async transactionLinesForProfile(params, options) {
|
|
35
|
+
return runExport(
|
|
36
|
+
this.request,
|
|
37
|
+
"POST",
|
|
38
|
+
"/export/profile/transactions/lines",
|
|
39
|
+
{ body: params ?? {} },
|
|
40
|
+
options
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
async refunds(params, options) {
|
|
44
|
+
return runExport(this.request, "POST", "/refunds/list/export", { body: params ?? {} }, options);
|
|
45
|
+
}
|
|
46
|
+
async refundsForProfile(params, options) {
|
|
47
|
+
return runExport(
|
|
48
|
+
this.request,
|
|
49
|
+
"POST",
|
|
50
|
+
"/refunds/profile/list/export",
|
|
51
|
+
{ body: params ?? {} },
|
|
52
|
+
options
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
async disputes(params, options) {
|
|
56
|
+
return runExport(this.request, "GET", "/disputes/list/export", queried(params), options);
|
|
57
|
+
}
|
|
58
|
+
async disputesForProfile(params, options) {
|
|
59
|
+
return runExport(
|
|
60
|
+
this.request,
|
|
61
|
+
"GET",
|
|
62
|
+
"/disputes/profile/list/export",
|
|
63
|
+
queried(params),
|
|
64
|
+
options
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
async payouts(params, options) {
|
|
68
|
+
return runExport(this.request, "POST", "/payouts/list/export", { body: params }, options);
|
|
69
|
+
}
|
|
70
|
+
async payoutsForProfile(params, options) {
|
|
71
|
+
return runExport(
|
|
72
|
+
this.request,
|
|
73
|
+
"POST",
|
|
74
|
+
"/payouts/profile/list/export",
|
|
75
|
+
{ body: params },
|
|
76
|
+
options
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
async subscriptions(profileId, params, options) {
|
|
80
|
+
return runExport(
|
|
81
|
+
this.request,
|
|
82
|
+
"GET",
|
|
83
|
+
"/subscriptions/list/export",
|
|
84
|
+
queried(params, { "X-Profile-Id": profileId }),
|
|
85
|
+
options
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
async vatReport(params, options) {
|
|
89
|
+
return runExport(this.request, "GET", "/export/vat-report", queried(params), options);
|
|
90
|
+
}
|
|
91
|
+
async vatReportForProfile(params, options) {
|
|
92
|
+
return runExport(this.request, "GET", "/export/profile/vat-report", queried(params), options);
|
|
93
|
+
}
|
|
94
|
+
async auditLog(params, options) {
|
|
95
|
+
return runExport(
|
|
96
|
+
this.request,
|
|
97
|
+
"GET",
|
|
98
|
+
"/audit/export",
|
|
99
|
+
{ query: csvQuery(params, ["profile_id", "action", "entity_type"]) },
|
|
100
|
+
options
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
function queried(params, headers) {
|
|
105
|
+
return { query: params ?? {}, ...headers ? { headers } : {} };
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export {
|
|
109
|
+
Export
|
|
110
|
+
};
|
|
111
|
+
//# sourceMappingURL=chunk-WBAPQODS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/export.ts"],"sourcesContent":["import type {\n DisputeExportRecord,\n DisputeListParams,\n ExportEnvelope,\n BinaryExportOptions,\n CsvExportOptions,\n DynamicLineExportOptions,\n ExportOptions,\n JsonExportOptions,\n MerchantAuditLogExportRecord,\n MerchantAuditLogListParams,\n PayoutExportRecord,\n PayoutListParams,\n RefundExportRecord,\n RefundListParams,\n PaymentListFilterConstraints,\n ProfilePaymentListFilterConstraints,\n SubscriptionExportRecord,\n SubscriptionListParams,\n TransactionExportRecord,\n TransactionLineExportRecord,\n VatReportParams,\n VatReportRecord,\n} from '../types';\nimport type { RequestFn, RequestOptions } from '../client';\nimport { runExport } from '../exportDownload';\nimport { csvQuery } from '../listQuery';\n\n/** Query value shape `RequestOptions.query` accepts. */\ntype Query = NonNullable<RequestOptions['query']>;\n\n/**\n * Emit a list as a file.\n *\n * Every method here mirrors one list endpoint and takes **that list's own\n * filters**, unchanged — there is no second filter vocabulary for exports. The\n * shop scope is resolved the same way too, so an export cannot show a shop its\n * list would not: a shop-scoped token exports its own shop, and naming another\n * is refused rather than ignored.\n *\n * Every export is **one read**, not a paged walk, and is bounded at 25,000\n * rows (500 for `pdf`, which is a document rather than a data feed). Over the\n * bound the request is refused with `DE_07 export_row_limit_exceeded` carrying\n * `{entity, max_rows}` — a truncated finance file that reports success is the\n * thing these endpoints exist not to produce. When too many exports are\n * already running the server answers `429` `IR_52` (`export_capacity_busy`);\n * a `GET` export is retried after its `Retry-After` like any other `429`.\n *\n * `csv` and `json` are **streamed**: the server counts the match set, sends\n * that count in `X-Delopay-Record-Count` before the first byte, and writes the\n * rows as it reads them. Each method holds the finished body to that count and\n * rejects with `EXPORT_INCOMPLETE` rather than resolve to a file missing rows —\n * see {@link ExportTransferOptions}, which also carries the download's\n * `onProgress`, `signal` and (idle) `timeout`. `pdf` stays a buffered body.\n *\n * `format` selects an `Accept` header, never a request field: an export reuses\n * its list's filter model as literally the same type, and several of those are\n * `deny_unknown_fields`, so a `format` key would be a 400. It defaults to\n * `json`, which resolves to a typed {@link ExportEnvelope}; `csv` and `pdf`\n * resolve to a `Blob`.\n */\nexport class Export {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * Transactions. `POST /export/transactions`\n *\n * The payments `payments.listByFilter` would list for the same body, over the\n * whole match set: same filters, same order, same scope. `limit` and\n * `offset` are ignored — the page is what an export does away with. No time\n * window is required; the row bound refuses an export that matches too much.\n */\n async transactions(\n params?: PaymentListFilterConstraints,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord>>;\n async transactions(\n params: PaymentListFilterConstraints | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async transactions(\n params: PaymentListFilterConstraints | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord> | Blob>;\n async transactions(\n params?: PaymentListFilterConstraints,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord> | Blob> {\n return runExport(this.request, 'POST', '/export/transactions', { body: params ?? {} }, options);\n }\n\n /**\n * The caller's own shop's transactions.\n * `POST /export/profile/transactions`\n *\n * The shop-scoped twin of {@link Export.transactions}, taking the body\n * `payments.listByProfileFilter` sends and scoped exactly as that list is: to\n * the shop on the token. Gated on the profile-level payment permission, which\n * a shop-scoped role can hold where the merchant-level one cannot. Its rows\n * carry no `connector_settlement_status`, which a shop viewer is not shown.\n */\n async transactionsForProfile(\n params?: ProfilePaymentListFilterConstraints,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord>>;\n async transactionsForProfile(\n params: ProfilePaymentListFilterConstraints | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async transactionsForProfile(\n params: ProfilePaymentListFilterConstraints | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord> | Blob>;\n async transactionsForProfile(\n params?: ProfilePaymentListFilterConstraints,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<TransactionExportRecord> | Blob> {\n return runExport(\n this.request,\n 'POST',\n '/export/profile/transactions',\n { body: params ?? {} },\n options,\n );\n }\n\n /**\n * Transactions, one row per product line. `POST /export/transactions/lines`\n *\n * The payments {@link Export.transactions} would export for the same body,\n * one row per product line they recorded, plus one `row_kind: 'no_lines'`\n * row for each payment that recorded none — see\n * {@link TransactionLineExportRecord} for how the file reconciles with the\n * per-payment one. `csv` or `json` only: a line export has no PDF form, and\n * the server refuses one with `422`. The row bound applies to the rows.\n */\n async transactionLines(\n params?: PaymentListFilterConstraints,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord>>;\n async transactionLines(\n params: PaymentListFilterConstraints | undefined,\n options: CsvExportOptions,\n ): Promise<Blob>;\n async transactionLines(\n params: PaymentListFilterConstraints | undefined,\n options: DynamicLineExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob>;\n async transactionLines(\n params?: PaymentListFilterConstraints,\n options?: JsonExportOptions | CsvExportOptions | DynamicLineExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob> {\n return runExport(\n this.request,\n 'POST',\n '/export/transactions/lines',\n { body: params ?? {} },\n options,\n );\n }\n\n /**\n * The caller's own shop's transactions, one row per product line.\n * `POST /export/profile/transactions/lines`\n *\n * The shop-scoped twin of {@link Export.transactionLines}, scoped as\n * {@link Export.transactionsForProfile} is: to the shop on the token.\n */\n async transactionLinesForProfile(\n params?: ProfilePaymentListFilterConstraints,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord>>;\n async transactionLinesForProfile(\n params: ProfilePaymentListFilterConstraints | undefined,\n options: CsvExportOptions,\n ): Promise<Blob>;\n async transactionLinesForProfile(\n params: ProfilePaymentListFilterConstraints | undefined,\n options: DynamicLineExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob>;\n async transactionLinesForProfile(\n params?: ProfilePaymentListFilterConstraints,\n options?: JsonExportOptions | CsvExportOptions | DynamicLineExportOptions,\n ): Promise<ExportEnvelope<TransactionLineExportRecord> | Blob> {\n return runExport(\n this.request,\n 'POST',\n '/export/profile/transactions/lines',\n { body: params ?? {} },\n options,\n );\n }\n\n /** Refunds. `POST /refunds/list/export` */\n async refunds(\n params?: RefundListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord>>;\n async refunds(params: RefundListParams | undefined, options: BinaryExportOptions): Promise<Blob>;\n async refunds(\n params: RefundListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord> | Blob>;\n async refunds(\n params?: RefundListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord> | Blob> {\n return runExport(this.request, 'POST', '/refunds/list/export', { body: params ?? {} }, options);\n }\n\n /** The caller's own shop's refunds. `POST /refunds/profile/list/export` */\n async refundsForProfile(\n params?: RefundListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord>>;\n async refundsForProfile(\n params: RefundListParams | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async refundsForProfile(\n params: RefundListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord> | Blob>;\n async refundsForProfile(\n params?: RefundListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<RefundExportRecord> | Blob> {\n return runExport(\n this.request,\n 'POST',\n '/refunds/profile/list/export',\n { body: params ?? {} },\n options,\n );\n }\n\n /** Disputes. `GET /disputes/list/export` */\n async disputes(\n params?: DisputeListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord>>;\n async disputes(\n params: DisputeListParams | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async disputes(\n params: DisputeListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord> | Blob>;\n async disputes(\n params?: DisputeListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord> | Blob> {\n return runExport(this.request, 'GET', '/disputes/list/export', queried(params), options);\n }\n\n /** The caller's own shop's disputes. `GET /disputes/profile/list/export` */\n async disputesForProfile(\n params?: DisputeListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord>>;\n async disputesForProfile(\n params: DisputeListParams | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async disputesForProfile(\n params: DisputeListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord> | Blob>;\n async disputesForProfile(\n params?: DisputeListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<DisputeExportRecord> | Blob> {\n return runExport(\n this.request,\n 'GET',\n '/disputes/profile/list/export',\n queried(params),\n options,\n );\n }\n\n /** Payouts. `POST /payouts/list/export` */\n async payouts(\n params: PayoutListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord>>;\n async payouts(params: PayoutListParams, options: BinaryExportOptions): Promise<Blob>;\n async payouts(\n params: PayoutListParams,\n options: ExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord> | Blob>;\n async payouts(\n params: PayoutListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord> | Blob> {\n return runExport(this.request, 'POST', '/payouts/list/export', { body: params }, options);\n }\n\n /** The caller's own shop's payouts. `POST /payouts/profile/list/export` */\n async payoutsForProfile(\n params: PayoutListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord>>;\n async payoutsForProfile(params: PayoutListParams, options: BinaryExportOptions): Promise<Blob>;\n async payoutsForProfile(\n params: PayoutListParams,\n options: ExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord> | Blob>;\n async payoutsForProfile(\n params: PayoutListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<PayoutExportRecord> | Blob> {\n return runExport(\n this.request,\n 'POST',\n '/payouts/profile/list/export',\n { body: params },\n options,\n );\n }\n\n /**\n * Subscriptions. `GET /subscriptions/list/export`\n *\n * `profileId` becomes the `X-Profile-Id` header, exactly as on the list. A\n * shop-scoped token exports its own shop whatever this says.\n */\n async subscriptions(\n profileId: string,\n params?: SubscriptionListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<SubscriptionExportRecord>>;\n async subscriptions(\n profileId: string,\n params: SubscriptionListParams | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async subscriptions(\n profileId: string,\n params: SubscriptionListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<SubscriptionExportRecord> | Blob>;\n async subscriptions(\n profileId: string,\n params?: SubscriptionListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<SubscriptionExportRecord> | Blob> {\n return runExport(\n this.request,\n 'GET',\n '/subscriptions/list/export',\n queried(params, { 'X-Profile-Id': profileId }),\n options,\n );\n }\n\n /**\n * The one-stop-shop VAT report of a quarter. `GET /export/vat-report`\n *\n * The quarter's sales and VAT per country, rate, reverse-charge mark and\n * currency, for the one-stop-shop return. It is built from the VAT DeloPay\n * determined and recorded on each payment; a payment without one is not in\n * it. The quarter's refunds and lost disputes reduce it by their share of\n * the payment's VAT, in the quarter they happened. Sales a provider made as\n * seller of record are left out: the provider taxed and declares them. See\n * {@link VatReportRecord}.\n *\n * `csv` or `json` only. The server answers `422` `IR_06` for an invalid year\n * or quarter, for `pdf`, and, rather than return the report incomplete,\n * when the quarter holds more than 100,000 payments or returns (ask for one\n * shop at a time). It answers `400` `IR_16` when a payment's recorded VAT\n * does not add up. A role that may see only some processors or payments is\n * refused with `403`.\n */\n async vatReport(\n params: VatReportParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord>>;\n async vatReport(params: VatReportParams, options: CsvExportOptions): Promise<Blob>;\n async vatReport(\n params: VatReportParams,\n options: DynamicLineExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord> | Blob>;\n async vatReport(\n params: VatReportParams,\n options?: JsonExportOptions | CsvExportOptions | DynamicLineExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord> | Blob> {\n return runExport(this.request, 'GET', '/export/vat-report', queried(params), options);\n }\n\n /**\n * The caller's own shop's VAT report of a quarter.\n * `GET /export/profile/vat-report`\n *\n * The shop-scoped twin of {@link Export.vatReport}, gated on the\n * profile-level payment permission and confined to the shop on the token;\n * `profile_id` is ignored.\n */\n async vatReportForProfile(\n params: VatReportParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord>>;\n async vatReportForProfile(params: VatReportParams, options: CsvExportOptions): Promise<Blob>;\n async vatReportForProfile(\n params: VatReportParams,\n options: DynamicLineExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord> | Blob>;\n async vatReportForProfile(\n params: VatReportParams,\n options?: JsonExportOptions | CsvExportOptions | DynamicLineExportOptions,\n ): Promise<ExportEnvelope<VatReportRecord> | Blob> {\n return runExport(this.request, 'GET', '/export/profile/vat-report', queried(params), options);\n }\n\n /** Settlement statements. `GET /settlement/statements/export` */\n\n /** One period's settlement lines. `GET /settlement/lines/export` */\n\n /**\n * The merchant's own audit log. `GET /audit/export`\n *\n * Requires a dashboard JWT whose role holds the merchant-level `AuditLog`\n * permission — a shop-scoped role cannot hold it. There is no `merchant_id`\n * parameter: the scope comes from the token.\n */\n async auditLog(\n params?: MerchantAuditLogListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<MerchantAuditLogExportRecord>>;\n async auditLog(\n params: MerchantAuditLogListParams | undefined,\n options: BinaryExportOptions,\n ): Promise<Blob>;\n async auditLog(\n params: MerchantAuditLogListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<MerchantAuditLogExportRecord> | Blob>;\n async auditLog(\n params?: MerchantAuditLogListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<MerchantAuditLogExportRecord> | Blob> {\n return runExport(\n this.request,\n 'GET',\n '/audit/export',\n { query: csvQuery(params, ['profile_id', 'action', 'entity_type']) },\n options,\n );\n }\n}\n\n/** Request options for an export whose filters travel in the query. */\nfunction queried(params: unknown, headers?: Record<string, string>): RequestOptions {\n return { query: (params ?? {}) as Query, ...(headers ? { headers } : {}) };\n}\n"],"mappings":";;;;;;;;AA6DO,IAAM,SAAN,MAAa;AAAA,EAClB,YAA6B,SAAoB;AAApB;AAAA,EAAqB;AAAA,EAsBlD,MAAM,aACJ,QACA,SACyD;AACzD,WAAO,UAAU,KAAK,SAAS,QAAQ,wBAAwB,EAAE,MAAM,UAAU,CAAC,EAAE,GAAG,OAAO;AAAA,EAChG;AAAA,EAwBA,MAAM,uBACJ,QACA,SACyD;AACzD,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,MAAM,UAAU,CAAC,EAAE;AAAA,MACrB;AAAA,IACF;AAAA,EACF;AAAA,EAwBA,MAAM,iBACJ,QACA,SAC6D;AAC7D,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,MAAM,UAAU,CAAC,EAAE;AAAA,MACrB;AAAA,IACF;AAAA,EACF;AAAA,EAqBA,MAAM,2BACJ,QACA,SAC6D;AAC7D,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,MAAM,UAAU,CAAC,EAAE;AAAA,MACrB;AAAA,IACF;AAAA,EACF;AAAA,EAYA,MAAM,QACJ,QACA,SACoD;AACpD,WAAO,UAAU,KAAK,SAAS,QAAQ,wBAAwB,EAAE,MAAM,UAAU,CAAC,EAAE,GAAG,OAAO;AAAA,EAChG;AAAA,EAeA,MAAM,kBACJ,QACA,SACoD;AACpD,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,MAAM,UAAU,CAAC,EAAE;AAAA,MACrB;AAAA,IACF;AAAA,EACF;AAAA,EAeA,MAAM,SACJ,QACA,SACqD;AACrD,WAAO,UAAU,KAAK,SAAS,OAAO,yBAAyB,QAAQ,MAAM,GAAG,OAAO;AAAA,EACzF;AAAA,EAeA,MAAM,mBACJ,QACA,SACqD;AACrD,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,QAAQ,MAAM;AAAA,MACd;AAAA,IACF;AAAA,EACF;AAAA,EAYA,MAAM,QACJ,QACA,SACoD;AACpD,WAAO,UAAU,KAAK,SAAS,QAAQ,wBAAwB,EAAE,MAAM,OAAO,GAAG,OAAO;AAAA,EAC1F;AAAA,EAYA,MAAM,kBACJ,QACA,SACoD;AACpD,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,MAAM,OAAO;AAAA,MACf;AAAA,IACF;AAAA,EACF;AAAA,EAuBA,MAAM,cACJ,WACA,QACA,SAC0D;AAC1D,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,QAAQ,QAAQ,EAAE,gBAAgB,UAAU,CAAC;AAAA,MAC7C;AAAA,IACF;AAAA,EACF;AAAA,EA6BA,MAAM,UACJ,QACA,SACiD;AACjD,WAAO,UAAU,KAAK,SAAS,OAAO,sBAAsB,QAAQ,MAAM,GAAG,OAAO;AAAA,EACtF;AAAA,EAmBA,MAAM,oBACJ,QACA,SACiD;AACjD,WAAO,UAAU,KAAK,SAAS,OAAO,8BAA8B,QAAQ,MAAM,GAAG,OAAO;AAAA,EAC9F;AAAA,EAyBA,MAAM,SACJ,QACA,SAC8D;AAC9D,WAAO;AAAA,MACL,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA,EAAE,OAAO,SAAS,QAAQ,CAAC,cAAc,UAAU,aAAa,CAAC,EAAE;AAAA,MACnE;AAAA,IACF;AAAA,EACF;AACF;AAGA,SAAS,QAAQ,QAAiB,SAAkD;AAClF,SAAO,EAAE,OAAQ,UAAU,CAAC,GAAa,GAAI,UAAU,EAAE,QAAQ,IAAI,CAAC,EAAG;AAC3E;","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/resources/verification.ts
|
|
2
|
+
var Verification = class {
|
|
3
|
+
constructor(request) {
|
|
4
|
+
this.request = request;
|
|
5
|
+
}
|
|
6
|
+
async registerApplePayDomains(merchantId, params) {
|
|
7
|
+
return this.request("POST", `/verify/apple-pay/${encodeURIComponent(merchantId)}`, {
|
|
8
|
+
body: params
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
async getApplePayVerifiedDomains(params) {
|
|
12
|
+
return this.request("GET", "/verify/applepay-verified-domains", {
|
|
13
|
+
query: params
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.Verification = Verification;
|
|
21
|
+
//# sourceMappingURL=chunk-WHDI3TMP.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WHDI3TMP.cjs","../src/resources/verification.ts"],"names":[],"mappings":"AAAA;ACOO,IAAM,aAAA,EAAN,MAAmB;AAAA,EACxB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,uBAAA,CACJ,UAAA,EACA,MAAA,EACuC;AACvC,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,CAAA,kBAAA,EAAqB,kBAAA,CAAmB,UAAU,CAAC,CAAA,CAAA;AACvE,MAAA;AACP,IAAA;AACH,EAAA;AAI4C,EAAA;AACsB,IAAA;AACvD,MAAA;AACR,IAAA;AACH,EAAA;AACF;ADVoF;AACA;AACA;AACA","file":"/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WHDI3TMP.cjs","sourcesContent":[null,"import type {\n ApplePayVerificationRequest,\n ApplePayVerificationResponse,\n ApplePayVerifiedDomainsResponse,\n} from '../types';\nimport type { RequestFn } from '../client';\n\nexport class Verification {\n constructor(private readonly request: RequestFn) {}\n\n async registerApplePayDomains(\n merchantId: string,\n params: ApplePayVerificationRequest,\n ): Promise<ApplePayVerificationResponse> {\n return this.request('POST', `/verify/apple-pay/${encodeURIComponent(merchantId)}`, {\n body: params,\n });\n }\n\n async getApplePayVerifiedDomains(\n params: Record<string, string>,\n ): Promise<ApplePayVerifiedDomainsResponse> {\n return this.request('GET', '/verify/applepay-verified-domains', {\n query: params,\n });\n }\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/internal/resources/cardIssuers.ts
|
|
2
|
+
var CardIssuers = class {
|
|
3
|
+
constructor(request) {
|
|
4
|
+
this.request = request;
|
|
5
|
+
}
|
|
6
|
+
async create(params) {
|
|
7
|
+
return this.request("POST", "/card-issuers", { body: params });
|
|
8
|
+
}
|
|
9
|
+
async update(issuerId, params) {
|
|
10
|
+
return this.request("PUT", `/card-issuers/${encodeURIComponent(issuerId)}`, { body: params });
|
|
11
|
+
}
|
|
12
|
+
async list() {
|
|
13
|
+
return this.request("GET", "/card-issuers");
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.CardIssuers = CardIssuers;
|
|
20
|
+
//# sourceMappingURL=chunk-WITCPKNL.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WITCPKNL.cjs","../src/internal/resources/cardIssuers.ts"],"names":[],"mappings":"AAAA;ACQO,IAAM,YAAA,EAAN,MAAkB;AAAA,EACvB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,MAAA,CAAO,MAAA,EAA8D;AACzE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,eAAA,EAAiB,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC/D;AAAA,EAEA,MAAM,MAAA,CAAO,QAAA,EAAkB,MAAA,EAA8D;AAC3F,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,cAAA,EAAiB,kBAAA,CAAmB,QAAQ,CAAC,CAAA,CAAA;AAC1E,EAAA;AAE8C,EAAA;AACF,IAAA;AAC5C,EAAA;AACF;ADP6E;AACA;AACA;AACA","file":"/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WITCPKNL.cjs","sourcesContent":[null,"import type {\n CardIssuerCreateRequest,\n CardIssuerResponse,\n CardIssuerUpdateRequest,\n CardIssuerListResponse,\n} from '../types';\nimport type { RequestFn } from '../../client';\n\nexport class CardIssuers {\n constructor(private readonly request: RequestFn) {}\n\n async create(params: CardIssuerCreateRequest): Promise<CardIssuerResponse> {\n return this.request('POST', '/card-issuers', { body: params });\n }\n\n async update(issuerId: string, params: CardIssuerUpdateRequest): Promise<CardIssuerResponse> {\n return this.request('PUT', `/card-issuers/${encodeURIComponent(issuerId)}`, { body: params });\n }\n\n async list(): Promise<CardIssuerListResponse> {\n return this.request('GET', '/card-issuers');\n }\n}\n"]}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
// src/airwallexCard.ts
|
|
2
|
+
var AIRWALLEX_CARD_PRESETS = [
|
|
3
|
+
"single_row",
|
|
4
|
+
"split_fields",
|
|
5
|
+
"split_fields_labelled",
|
|
6
|
+
"stacked",
|
|
7
|
+
"number_expiry_row",
|
|
8
|
+
"compact"
|
|
9
|
+
];
|
|
10
|
+
var SPLIT = ["cardNumber", "expiry", "cvc"];
|
|
11
|
+
var AIRWALLEX_CARD_LAYOUTS = {
|
|
12
|
+
// Airwallex's combined element. One iframe, one row, and the only preset
|
|
13
|
+
// whose insides are not ours to lay out — which is why it carries no
|
|
14
|
+
// captions: there is nothing to caption but the row as a whole.
|
|
15
|
+
single_row: {
|
|
16
|
+
elements: ["card"],
|
|
17
|
+
rows: [["card"]],
|
|
18
|
+
labels: false,
|
|
19
|
+
density: "default"
|
|
20
|
+
},
|
|
21
|
+
// The trio with placeholders carrying the meaning. Shorter than the
|
|
22
|
+
// labelled variant and fine on a wide surface.
|
|
23
|
+
split_fields: {
|
|
24
|
+
elements: SPLIT,
|
|
25
|
+
rows: [["cardNumber"], ["expiry", "cvc"]],
|
|
26
|
+
labels: false,
|
|
27
|
+
density: "default"
|
|
28
|
+
},
|
|
29
|
+
// The default. The same geometry, captioned — which is what makes it
|
|
30
|
+
// survive a narrow embed, where a bare field row stops being self-evident.
|
|
31
|
+
split_fields_labelled: {
|
|
32
|
+
elements: SPLIT,
|
|
33
|
+
rows: [["cardNumber"], ["expiry", "cvc"]],
|
|
34
|
+
labels: true,
|
|
35
|
+
density: "default"
|
|
36
|
+
},
|
|
37
|
+
// Every field full width. Expiry and CVC side by side start to crowd below
|
|
38
|
+
// roughly 320px, and this is the layout that does not.
|
|
39
|
+
stacked: {
|
|
40
|
+
elements: SPLIT,
|
|
41
|
+
rows: [["cardNumber"], ["expiry"], ["cvc"]],
|
|
42
|
+
labels: true,
|
|
43
|
+
density: "default"
|
|
44
|
+
},
|
|
45
|
+
// Two rows instead of two-plus-one: shorter than the split forms without
|
|
46
|
+
// the ambiguity of a single combined field.
|
|
47
|
+
//
|
|
48
|
+
// 3:2, not an even split. A card number is nineteen characters and an expiry
|
|
49
|
+
// is five, so halving the row clipped the number's own placeholder at 460px
|
|
50
|
+
// — seen in the preview before this was weighted. The proposal drew it even;
|
|
51
|
+
// the merchant-facing decision was taken on the two drawn side by side and
|
|
52
|
+
// the weighted one was chosen, so do not "restore" the even split to match
|
|
53
|
+
// the original mock.
|
|
54
|
+
number_expiry_row: {
|
|
55
|
+
elements: SPLIT,
|
|
56
|
+
rows: [["cardNumber", "expiry"], ["cvc"]],
|
|
57
|
+
weights: { cardNumber: 3, expiry: 2 },
|
|
58
|
+
labels: true,
|
|
59
|
+
density: "default"
|
|
60
|
+
},
|
|
61
|
+
// Split geometry at reduced density and type size, for a checkout embedded
|
|
62
|
+
// in a page that already has its own chrome.
|
|
63
|
+
compact: {
|
|
64
|
+
elements: SPLIT,
|
|
65
|
+
rows: [["cardNumber"], ["expiry", "cvc"]],
|
|
66
|
+
labels: false,
|
|
67
|
+
density: "compact"
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
var AIRWALLEX_CARD_PRESET_FALLBACK = "split_fields_labelled";
|
|
71
|
+
function resolveAirwallexCardPreset(fromBranding, fromConnector) {
|
|
72
|
+
return asPreset(fromBranding) ?? asPreset(fromConnector) ?? AIRWALLEX_CARD_PRESET_FALLBACK;
|
|
73
|
+
}
|
|
74
|
+
function asAirwallexCardPreset(value) {
|
|
75
|
+
return asPreset(value);
|
|
76
|
+
}
|
|
77
|
+
function asPreset(value) {
|
|
78
|
+
if (typeof value !== "string") return null;
|
|
79
|
+
const trimmed = value.trim().toLowerCase();
|
|
80
|
+
return AIRWALLEX_CARD_PRESETS.includes(trimmed) ? trimmed : null;
|
|
81
|
+
}
|
|
82
|
+
function airwallexCardLayout(preset) {
|
|
83
|
+
return AIRWALLEX_CARD_LAYOUTS[preset];
|
|
84
|
+
}
|
|
85
|
+
function airwallexCellWeight(layout, field) {
|
|
86
|
+
const weight = layout.weights?.[field];
|
|
87
|
+
return typeof weight === "number" && Number.isFinite(weight) && weight > 0 ? weight : 1;
|
|
88
|
+
}
|
|
89
|
+
function airwallexCardLayoutIsCoherent(layout) {
|
|
90
|
+
const drawn = layout.rows.flat();
|
|
91
|
+
if (drawn.length !== layout.elements.length) return false;
|
|
92
|
+
return layout.elements.every((field) => drawn.filter((f) => f === field).length === 1);
|
|
93
|
+
}
|
|
94
|
+
var AIRWALLEX_LABEL_STYLES = ["above", "inline", "floating", "none"];
|
|
95
|
+
function resolveAirwallexLabelStyle(override, layout) {
|
|
96
|
+
if (typeof override === "string" && AIRWALLEX_LABEL_STYLES.includes(override)) {
|
|
97
|
+
return override;
|
|
98
|
+
}
|
|
99
|
+
return layout.labels ? "above" : "none";
|
|
100
|
+
}
|
|
101
|
+
var AIRWALLEX_FIELD_CHROMES = ["outlined", "filled", "underline"];
|
|
102
|
+
var AIRWALLEX_FOCUS_RINGS = ["none", "subtle", "strong"];
|
|
103
|
+
var AIRWALLEX_AUTOFILL_TREATMENTS = ["system", "brand", "neutral"];
|
|
104
|
+
var AIRWALLEX_FIELD_FONT_SIZES = ["sm", "md", "lg"];
|
|
105
|
+
var AIRWALLEX_FIELD_WEIGHTS = ["regular", "medium", "semibold"];
|
|
106
|
+
function airwallexFieldFontPx(size, density) {
|
|
107
|
+
const base = size === "sm" ? 14 : size === "lg" ? 18 : 16;
|
|
108
|
+
return density === "compact" ? Math.max(13, base - 1) : base;
|
|
109
|
+
}
|
|
110
|
+
function airwallexFieldWeightValue(weight) {
|
|
111
|
+
return weight === "regular" ? 400 : weight === "semibold" ? 600 : 500;
|
|
112
|
+
}
|
|
113
|
+
var AIRWALLEX_NETWORK_MARKS = ["visa", "mastercard", "amex", "discover"];
|
|
114
|
+
|
|
115
|
+
export {
|
|
116
|
+
AIRWALLEX_CARD_PRESETS,
|
|
117
|
+
AIRWALLEX_CARD_LAYOUTS,
|
|
118
|
+
AIRWALLEX_CARD_PRESET_FALLBACK,
|
|
119
|
+
resolveAirwallexCardPreset,
|
|
120
|
+
asAirwallexCardPreset,
|
|
121
|
+
airwallexCardLayout,
|
|
122
|
+
airwallexCellWeight,
|
|
123
|
+
airwallexCardLayoutIsCoherent,
|
|
124
|
+
AIRWALLEX_LABEL_STYLES,
|
|
125
|
+
resolveAirwallexLabelStyle,
|
|
126
|
+
AIRWALLEX_FIELD_CHROMES,
|
|
127
|
+
AIRWALLEX_FOCUS_RINGS,
|
|
128
|
+
AIRWALLEX_AUTOFILL_TREATMENTS,
|
|
129
|
+
AIRWALLEX_FIELD_FONT_SIZES,
|
|
130
|
+
AIRWALLEX_FIELD_WEIGHTS,
|
|
131
|
+
airwallexFieldFontPx,
|
|
132
|
+
airwallexFieldWeightValue,
|
|
133
|
+
AIRWALLEX_NETWORK_MARKS
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=chunk-WSOUQS6C.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/airwallexCard.ts"],"sourcesContent":["// The Airwallex card form's shape, as one description both renderers read.\n//\n// The buyer's checkout draws this form twice: once for real, mounting one\n// Airwallex iframe per field (`AirwallexCardPane`), and once inert, inside the\n// merchant dashboard's live preview (`PreviewPaymentSurface`). The preview\n// cannot be the real one — mounting a processor's SDK in a dashboard frame is\n// a payment nobody asked to start, and `check-preview-inert.mjs` exists to\n// forbid it — so there are necessarily two renderers of the same form.\n//\n// Two renderers of one form is the drift hazard this file exists to remove. A\n// preview that shows a layout the pane does not produce is worse than no\n// preview at all, because the merchant configures against it and finds out\n// from a buyer. So neither renderer describes the geometry: both read\n// `AIRWALLEX_CARD_LAYOUTS`, and a preset that exists in one and not the other\n// is a TYPE ERROR here rather than a guard finding later — `Record<\n// AirwallexCardPreset, …>` has to name every member of the union.\n//\n// What lives here is geometry and nothing else. Colours, radius, padding and\n// type come from the merchant's own branding tokens, and what happens INSIDE\n// each box belongs to Airwallex.\n\n/**\n * The card layouts the checkout can draw.\n *\n * Presentation only. Every one of them collects the card inside Airwallex's\n * own iframes and confirms the same intent, so the PCI scope, the guards and\n * the return leg are identical whichever the merchant picks — which is what\n * makes this a setting rather than a second rail.\n *\n * `fullFeaturedCard`, Airwallex's own all-in-one element, is deliberately not\n * on this list. It is a different element with a different theming API, and it\n * takes the layout away from us entirely; it needs its own decision, not a\n * seventh row in a list of geometries.\n */\nexport const AIRWALLEX_CARD_PRESETS = [\n 'single_row',\n 'split_fields',\n 'split_fields_labelled',\n 'stacked',\n 'number_expiry_row',\n 'compact',\n] as const;\n\nexport type AirwallexCardPreset = (typeof AIRWALLEX_CARD_PRESETS)[number];\n\n/**\n * A field of the card form, named as Airwallex's `createElement` names it.\n *\n * `card` is the combined element — number, expiry and CVC in one iframe on one\n * line — and it never appears alongside the other three: a layout is either\n * the one element or the trio.\n */\nexport type AirwallexCardField = 'card' | 'cardNumber' | 'expiry' | 'cvc';\n\nexport interface AirwallexCardLayout {\n /**\n * The elements to create, in creation order.\n *\n * Order is load-bearing twice over: `confirm()` is called on the first one\n * (the combined element, or the number field, which coordinates its\n * siblings), and completion advances the caret to the next.\n */\n readonly elements: readonly AirwallexCardField[];\n /**\n * The rows to draw, top to bottom, each naming the fields on it left to\n * right. Fields sharing a row share its width evenly.\n *\n * Every field in `elements` appears exactly once across `rows`, and nothing\n * else does — `airwallexCardLayoutIsCoherent` is that claim, executable.\n */\n readonly rows: readonly (readonly AirwallexCardField[])[];\n /**\n * How a row's width is shared, when sharing it evenly is wrong.\n *\n * **Optional, and absent is the normal case**: a row with no weights splits\n * evenly, which is what every other preset wants — `stacked` is full-width\n * rows, `split_fields`, `split_fields_labelled` and `compact` pair expiry\n * and CVC, which are both short and genuinely want half each, and\n * `single_row` is one element. Only `number_expiry_row` puts two fields of\n * very different lengths on one line, and only it declares weights.\n *\n * Declared as weights rather than widths on purpose. A fixed width is right\n * for exactly the embed width it was tuned against and wrong either side of\n * it; a weight is a ratio and holds at any width. That is not hypothetical\n * — the defect that produced this field was a card-number placeholder\n * clipped at 460px, which no fixed width would have fixed for the merchant\n * whose embed is 380px.\n *\n * A field with no entry weighs 1.\n */\n readonly weights?: Readonly<Partial<Record<AirwallexCardField, number>>>;\n /**\n * Whether this preset captions its fields by default.\n *\n * The merchant can override it (`branding.airwallexLabelStyle`); this is\n * what the preset means when they have not. Captions are always visual: see\n * `AIRWALLEX_LABEL_STYLES`.\n */\n readonly labels: boolean;\n /**\n * `compact` draws one step tighter and one step smaller than the merchant's\n * own `inputSize` and field type size, rather than replacing them — a\n * merchant who chose spacious spacing and this preset gets spacious-minus-\n * one, not the same form as a merchant who chose compact.\n */\n readonly density: 'default' | 'compact';\n}\n\nconst SPLIT: readonly AirwallexCardField[] = ['cardNumber', 'expiry', 'cvc'];\n\n/**\n * Every preset's geometry, and the single source of it.\n *\n * Typed as a total `Record` on purpose. Adding a preset to\n * `AIRWALLEX_CARD_PRESETS` without adding its geometry here does not compile,\n * so the two cannot come apart in the direction that would leave a renderer\n * guessing.\n */\nexport const AIRWALLEX_CARD_LAYOUTS: Record<AirwallexCardPreset, AirwallexCardLayout> = {\n // Airwallex's combined element. One iframe, one row, and the only preset\n // whose insides are not ours to lay out — which is why it carries no\n // captions: there is nothing to caption but the row as a whole.\n single_row: {\n elements: ['card'],\n rows: [['card']],\n labels: false,\n density: 'default',\n },\n // The trio with placeholders carrying the meaning. Shorter than the\n // labelled variant and fine on a wide surface.\n split_fields: {\n elements: SPLIT,\n rows: [['cardNumber'], ['expiry', 'cvc']],\n labels: false,\n density: 'default',\n },\n // The default. The same geometry, captioned — which is what makes it\n // survive a narrow embed, where a bare field row stops being self-evident.\n split_fields_labelled: {\n elements: SPLIT,\n rows: [['cardNumber'], ['expiry', 'cvc']],\n labels: true,\n density: 'default',\n },\n // Every field full width. Expiry and CVC side by side start to crowd below\n // roughly 320px, and this is the layout that does not.\n stacked: {\n elements: SPLIT,\n rows: [['cardNumber'], ['expiry'], ['cvc']],\n labels: true,\n density: 'default',\n },\n // Two rows instead of two-plus-one: shorter than the split forms without\n // the ambiguity of a single combined field.\n //\n // 3:2, not an even split. A card number is nineteen characters and an expiry\n // is five, so halving the row clipped the number's own placeholder at 460px\n // — seen in the preview before this was weighted. The proposal drew it even;\n // the merchant-facing decision was taken on the two drawn side by side and\n // the weighted one was chosen, so do not \"restore\" the even split to match\n // the original mock.\n number_expiry_row: {\n elements: SPLIT,\n rows: [['cardNumber', 'expiry'], ['cvc']],\n weights: { cardNumber: 3, expiry: 2 },\n labels: true,\n density: 'default',\n },\n // Split geometry at reduced density and type size, for a checkout embedded\n // in a page that already has its own chrome.\n compact: {\n elements: SPLIT,\n rows: [['cardNumber'], ['expiry', 'cvc']],\n labels: false,\n density: 'compact',\n },\n};\n\n/**\n * The preset that renders when nobody has chosen one.\n *\n * Not `DEFAULT_BRANDING.airwallexCardPreset`, which is the empty string: the\n * branding field means \"the merchant's choice, in the shop's checkout\n * customizer\", and empty means they have not made one. This is the last step\n * of the resolution, after the connector account's own setting.\n * See `resolveAirwallexCardPreset`.\n */\nexport const AIRWALLEX_CARD_PRESET_FALLBACK: AirwallexCardPreset = 'split_fields_labelled';\n\n/**\n * Which preset the buyer's card form is drawn from.\n *\n * Three sources, in this order, and the order is the migration story:\n *\n * 1. **The shop's branding.** Set in the checkout customizer, empty when the\n * merchant has not been there. Empty rather than pre-filled with the\n * default precisely so that (2) still means something — a branding field\n * that always held a value would silently override every connector\n * account already configured, which is a rendering change no merchant\n * asked for.\n * 2. **The connector account's `integration_style` metadata**, where this\n * setting lived before the customizer existed, projected onto the checkout\n * payload as `card_connector_integration_style`. Still authoritative for\n * every merchant who set it and has not overridden it here. Nothing\n * migrates it; it simply keeps working.\n * 3. **`split_fields_labelled`**, for a shop that has never set either.\n *\n * Step 3 is the one visible change: a shop with nothing configured used to get\n * the combined single row, and now gets the labelled split form.\n *\n * Anything unrecognised at either step falls through rather than failing. The\n * dashboard and the router deploy separately and may already offer a preset\n * this build has not heard of; a card form in the wrong layout is a cosmetic\n * disappointment, and no card form is a lost sale.\n */\nexport function resolveAirwallexCardPreset(\n fromBranding: string | null | undefined,\n fromConnector: string | null | undefined,\n): AirwallexCardPreset {\n return asPreset(fromBranding) ?? asPreset(fromConnector) ?? AIRWALLEX_CARD_PRESET_FALLBACK;\n}\n\n/** The preset named, or `null` for anything this build does not know. */\nexport function asAirwallexCardPreset(value: unknown): AirwallexCardPreset | null {\n return asPreset(value);\n}\n\nfunction asPreset(value: unknown): AirwallexCardPreset | null {\n if (typeof value !== 'string') return null;\n const trimmed = value.trim().toLowerCase();\n return (AIRWALLEX_CARD_PRESETS as readonly string[]).includes(trimmed)\n ? (trimmed as AirwallexCardPreset)\n : null;\n}\n\n/** The geometry for a preset. Total, by the type of `AIRWALLEX_CARD_LAYOUTS`. */\nexport function airwallexCardLayout(preset: AirwallexCardPreset): AirwallexCardLayout {\n return AIRWALLEX_CARD_LAYOUTS[preset];\n}\n\n/**\n * How much of its row a field takes, relative to its neighbours.\n *\n * `1` unless the layout says otherwise, so a caller can multiply blindly and\n * an unweighted row divides evenly — which is what the CSS did before weights\n * existed, and therefore what every preset but one still gets.\n */\nexport function airwallexCellWeight(\n layout: AirwallexCardLayout,\n field: AirwallexCardField,\n): number {\n const weight = layout.weights?.[field];\n return typeof weight === 'number' && Number.isFinite(weight) && weight > 0 ? weight : 1;\n}\n\n/**\n * Whether a layout's rows draw exactly the elements it creates.\n *\n * The one thing the `Record` type cannot check. An element created with no row\n * to mount into leaves its field permanently pending — the pane's own comment\n * for that case is \"the form would sit on the skeleton until the deadline with\n * no reason given\" — and a row naming a field with no element draws an empty\n * box the buyer can click into and never type in. Both are silent.\n *\n * Executed by the checkout's preview guard over every preset, which is where a\n * new one gets caught.\n */\nexport function airwallexCardLayoutIsCoherent(layout: AirwallexCardLayout): boolean {\n const drawn = layout.rows.flat();\n if (drawn.length !== layout.elements.length) return false;\n return layout.elements.every((field) => drawn.filter((f) => f === field).length === 1);\n}\n\n/**\n * How the field's caption is drawn.\n *\n * Every one of these is **visual only**, and that is not a limitation we chose:\n * `for` cannot cross into a cross-origin iframe, so a `<label>` here would name\n * nothing and focus nothing. The field keeps the accessible name Airwallex\n * gives it inside the frame, and these captions sit beside it as an\n * affordance. The pane ships a caption on exactly these terms today.\n *\n * `''` is not a style — it means \"whatever the preset says\", so that\n * `split_fields` and `split_fields_labelled` keep meaning what they mean while\n * a merchant can still put floating captions on `compact`.\n */\nexport const AIRWALLEX_LABEL_STYLES = ['above', 'inline', 'floating', 'none'] as const;\nexport type AirwallexLabelStyle = (typeof AIRWALLEX_LABEL_STYLES)[number];\n\n/**\n * The caption style actually drawn: the merchant's override, or the preset's\n * own answer to whether it captions at all.\n */\nexport function resolveAirwallexLabelStyle(\n override: string | null | undefined,\n layout: AirwallexCardLayout,\n): AirwallexLabelStyle {\n if (\n typeof override === 'string' &&\n (AIRWALLEX_LABEL_STYLES as readonly string[]).includes(override)\n ) {\n return override as AirwallexLabelStyle;\n }\n return layout.labels ? 'above' : 'none';\n}\n\n/** How the box around each field is drawn. All three are the pane's own CSS. */\nexport const AIRWALLEX_FIELD_CHROMES = ['outlined', 'filled', 'underline'] as const;\nexport type AirwallexFieldChrome = (typeof AIRWALLEX_FIELD_CHROMES)[number];\n\n/**\n * The ring drawn around the focused field.\n *\n * Half of it is the pane's CSS on the container and half is Airwallex's\n * `:focus` bucket inside the frame; they are one control because a ring that\n * appeared on only one side of the iframe boundary would look like a bug.\n */\nexport const AIRWALLEX_FOCUS_RINGS = ['none', 'subtle', 'strong'] as const;\nexport type AirwallexFocusRing = (typeof AIRWALLEX_FOCUS_RINGS)[number];\n\n/**\n * What the browser's autofill highlight is allowed to do to the field.\n *\n * The one control on this list with no workaround from outside the frame:\n * the browser paints its own background on an autofilled input, and only the\n * SDK's `:autofill` bucket reaches it. `system` leaves it alone — the buyer's\n * own browser telling them it filled the field is information, not a style\n * bug — which is why it is the default.\n */\nexport const AIRWALLEX_AUTOFILL_TREATMENTS = ['system', 'brand', 'neutral'] as const;\nexport type AirwallexAutofillTreatment = (typeof AIRWALLEX_AUTOFILL_TREATMENTS)[number];\n\n/** Field type sizes, as the checkout's other size scales are named. */\nexport const AIRWALLEX_FIELD_FONT_SIZES = ['sm', 'md', 'lg'] as const;\nexport type AirwallexFieldFontSize = (typeof AIRWALLEX_FIELD_FONT_SIZES)[number];\n\n/** Field type weights. `medium` is what the pane hardcoded before this existed. */\nexport const AIRWALLEX_FIELD_WEIGHTS = ['regular', 'medium', 'semibold'] as const;\nexport type AirwallexFieldWeight = (typeof AIRWALLEX_FIELD_WEIGHTS)[number];\n\n/** Field type size in px, for the SDK's `base.fontSize`. */\nexport function airwallexFieldFontPx(\n size: AirwallexFieldFontSize,\n density: AirwallexCardLayout['density'],\n): number {\n const base = size === 'sm' ? 14 : size === 'lg' ? 18 : 16;\n // A compact preset draws one step smaller, floored so the field never\n // reaches the size at which iOS zooms the page on focus minus two.\n return density === 'compact' ? Math.max(13, base - 1) : base;\n}\n\n/** Field type weight as a CSS numeric weight, for the SDK's `base.fontWeight`. */\nexport function airwallexFieldWeightValue(weight: AirwallexFieldWeight): number {\n return weight === 'regular' ? 400 : weight === 'semibold' ? 600 : 500;\n}\n\n/**\n * The card networks whose marks the field row can display.\n *\n * **Decorative.** This list does not restrict what Airwallex accepts — that\n * would be `allowedCardNetworks`, which this build deliberately does not set,\n * because narrowing the networks a buyer may pay with is an acceptance change\n * and not a styling one. So the marks say what the merchant claims to take,\n * and it is the merchant's job to keep that true; the dashboard's field hint\n * says so in as many words. Enforcement is its own decision.\n */\nexport const AIRWALLEX_NETWORK_MARKS = ['visa', 'mastercard', 'amex', 'discover'] as const;\nexport type AirwallexNetworkMark = (typeof AIRWALLEX_NETWORK_MARKS)[number];\n"],"mappings":";AAkCO,IAAM,yBAAyB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AAmEA,IAAM,QAAuC,CAAC,cAAc,UAAU,KAAK;AAUpE,IAAM,yBAA2E;AAAA;AAAA;AAAA;AAAA,EAItF,YAAY;AAAA,IACV,UAAU,CAAC,MAAM;AAAA,IACjB,MAAM,CAAC,CAAC,MAAM,CAAC;AAAA,IACf,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA;AAAA;AAAA,EAGA,cAAc;AAAA,IACZ,UAAU;AAAA,IACV,MAAM,CAAC,CAAC,YAAY,GAAG,CAAC,UAAU,KAAK,CAAC;AAAA,IACxC,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA;AAAA;AAAA,EAGA,uBAAuB;AAAA,IACrB,UAAU;AAAA,IACV,MAAM,CAAC,CAAC,YAAY,GAAG,CAAC,UAAU,KAAK,CAAC;AAAA,IACxC,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA;AAAA;AAAA,EAGA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,MAAM,CAAC,CAAC,YAAY,GAAG,CAAC,QAAQ,GAAG,CAAC,KAAK,CAAC;AAAA,IAC1C,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUA,mBAAmB;AAAA,IACjB,UAAU;AAAA,IACV,MAAM,CAAC,CAAC,cAAc,QAAQ,GAAG,CAAC,KAAK,CAAC;AAAA,IACxC,SAAS,EAAE,YAAY,GAAG,QAAQ,EAAE;AAAA,IACpC,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AAAA;AAAA;AAAA,EAGA,SAAS;AAAA,IACP,UAAU;AAAA,IACV,MAAM,CAAC,CAAC,YAAY,GAAG,CAAC,UAAU,KAAK,CAAC;AAAA,IACxC,QAAQ;AAAA,IACR,SAAS;AAAA,EACX;AACF;AAWO,IAAM,iCAAsD;AA4B5D,SAAS,2BACd,cACA,eACqB;AACrB,SAAO,SAAS,YAAY,KAAK,SAAS,aAAa,KAAK;AAC9D;AAGO,SAAS,sBAAsB,OAA4C;AAChF,SAAO,SAAS,KAAK;AACvB;AAEA,SAAS,SAAS,OAA4C;AAC5D,MAAI,OAAO,UAAU,SAAU,QAAO;AACtC,QAAM,UAAU,MAAM,KAAK,EAAE,YAAY;AACzC,SAAQ,uBAA6C,SAAS,OAAO,IAChE,UACD;AACN;AAGO,SAAS,oBAAoB,QAAkD;AACpF,SAAO,uBAAuB,MAAM;AACtC;AASO,SAAS,oBACd,QACA,OACQ;AACR,QAAM,SAAS,OAAO,UAAU,KAAK;AACrC,SAAO,OAAO,WAAW,YAAY,OAAO,SAAS,MAAM,KAAK,SAAS,IAAI,SAAS;AACxF;AAcO,SAAS,8BAA8B,QAAsC;AAClF,QAAM,QAAQ,OAAO,KAAK,KAAK;AAC/B,MAAI,MAAM,WAAW,OAAO,SAAS,OAAQ,QAAO;AACpD,SAAO,OAAO,SAAS,MAAM,CAAC,UAAU,MAAM,OAAO,CAAC,MAAM,MAAM,KAAK,EAAE,WAAW,CAAC;AACvF;AAeO,IAAM,yBAAyB,CAAC,SAAS,UAAU,YAAY,MAAM;AAOrE,SAAS,2BACd,UACA,QACqB;AACrB,MACE,OAAO,aAAa,YACnB,uBAA6C,SAAS,QAAQ,GAC/D;AACA,WAAO;AAAA,EACT;AACA,SAAO,OAAO,SAAS,UAAU;AACnC;AAGO,IAAM,0BAA0B,CAAC,YAAY,UAAU,WAAW;AAUlE,IAAM,wBAAwB,CAAC,QAAQ,UAAU,QAAQ;AAYzD,IAAM,gCAAgC,CAAC,UAAU,SAAS,SAAS;AAInE,IAAM,6BAA6B,CAAC,MAAM,MAAM,IAAI;AAIpD,IAAM,0BAA0B,CAAC,WAAW,UAAU,UAAU;AAIhE,SAAS,qBACd,MACA,SACQ;AACR,QAAM,OAAO,SAAS,OAAO,KAAK,SAAS,OAAO,KAAK;AAGvD,SAAO,YAAY,YAAY,KAAK,IAAI,IAAI,OAAO,CAAC,IAAI;AAC1D;AAGO,SAAS,0BAA0B,QAAsC;AAC9E,SAAO,WAAW,YAAY,MAAM,WAAW,aAAa,MAAM;AACpE;AAYO,IAAM,0BAA0B,CAAC,QAAQ,cAAc,QAAQ,UAAU;","names":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/resources/threeDsRules.ts
|
|
2
|
+
var ThreeDsRules = class {
|
|
3
|
+
constructor(request) {
|
|
4
|
+
this.request = request;
|
|
5
|
+
}
|
|
6
|
+
async execute(params) {
|
|
7
|
+
return this.request("POST", "/three-ds-decision/execute", { body: params });
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
exports.ThreeDsRules = ThreeDsRules;
|
|
14
|
+
//# sourceMappingURL=chunk-WX6NP7UU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WX6NP7UU.cjs","../src/resources/threeDsRules.ts"],"names":[],"mappings":"AAAA;ACGO,IAAM,aAAA,EAAN,MAAmB;AAAA,EACxB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA,EAElD,MAAM,OAAA,CAAQ,MAAA,EAAiE;AAC7E,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,MAAA,EAAQ,4BAAA,EAA8B,EAAE,IAAA,EAAM,OAAO,CAAC,CAAA;AAAA,EAC5E;AACF,CAAA;ADAA;AACA;AACE;AACF,oCAAC","file":"/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-WX6NP7UU.cjs","sourcesContent":[null,"import type { ThreeDsRuleExecuteRequest, ThreeDsRuleResponse } from '../types';\nimport type { RequestFn } from '../client';\n\nexport class ThreeDsRules {\n constructor(private readonly request: RequestFn) {}\n\n async execute(params: ThreeDsRuleExecuteRequest): Promise<ThreeDsRuleResponse> {\n return this.request('POST', '/three-ds-decision/execute', { body: params });\n }\n}\n"]}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import {
|
|
2
|
+
csvQuery
|
|
3
|
+
} from "./chunk-2C5XHXAY.js";
|
|
4
|
+
|
|
5
|
+
// src/resources/support.ts
|
|
6
|
+
var path = (id) => `/support/conversations/${encodeURIComponent(id)}`;
|
|
7
|
+
var Support = class {
|
|
8
|
+
constructor(request) {
|
|
9
|
+
this.request = request;
|
|
10
|
+
}
|
|
11
|
+
/** Start a conversation with its first message. `POST /support/conversations` */
|
|
12
|
+
async create(body) {
|
|
13
|
+
return this.request("POST", "/support/conversations", { body });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The conversations the caller may read, the latest message first unless
|
|
17
|
+
* `sort_by` says otherwise. Several `kind`, `category` or `status` values
|
|
18
|
+
* match a conversation with any of them. `GET /support/conversations`
|
|
19
|
+
*/
|
|
20
|
+
async list(query) {
|
|
21
|
+
return this.request("GET", "/support/conversations", {
|
|
22
|
+
query: csvQuery(query, ["kind", "category", "status"])
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
/** One conversation. `GET /support/conversations/{id}` */
|
|
26
|
+
async retrieve(id) {
|
|
27
|
+
return this.request("GET", path(id));
|
|
28
|
+
}
|
|
29
|
+
/** A conversation's messages. `GET /support/conversations/{id}/messages` */
|
|
30
|
+
async messages(id, query) {
|
|
31
|
+
return this.request("GET", `${path(id)}/messages`, {
|
|
32
|
+
query: query === void 0 ? void 0 : { ...query }
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/** Answer in a conversation. `POST /support/conversations/{id}/messages` */
|
|
36
|
+
async reply(id, body) {
|
|
37
|
+
return this.request("POST", `${path(id)}/messages`, { body });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Upload a file for a message. PNG, JPEG, WebP, PDF, text, MP4 or WebM, read from the
|
|
41
|
+
* content; 10 MB, a video 25 MB. It belongs to the caller until a message names it in
|
|
42
|
+
* `attachments`. Uploading again with the same `clientUploadId` returns the same file.
|
|
43
|
+
* `POST /support/conversations/{id}/attachments`
|
|
44
|
+
*/
|
|
45
|
+
async uploadAttachment(id, file, clientUploadId, fileName) {
|
|
46
|
+
const form = new FormData();
|
|
47
|
+
form.append("client_upload_id", clientUploadId);
|
|
48
|
+
if (fileName === void 0) form.append("file", file);
|
|
49
|
+
else form.append("file", file, fileName);
|
|
50
|
+
return this.request("POST", `${path(id)}/attachments`, { body: form });
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Fetch a file once its scan is clean. Refused with `support_attachment_checking` while
|
|
54
|
+
* the scan runs, and `support_attachment_blocked` after a block.
|
|
55
|
+
* `GET /support/conversations/{id}/attachments/{fileId}`
|
|
56
|
+
*/
|
|
57
|
+
async downloadAttachment(id, fileId) {
|
|
58
|
+
return this.request("GET", `${path(id)}/attachments/${encodeURIComponent(fileId)}`, {
|
|
59
|
+
responseType: "blob"
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Clear the merchant's unread mark and read the conversation as it is now.
|
|
64
|
+
* Someone acting as somebody else leaves the mark in place.
|
|
65
|
+
* `POST /support/conversations/{id}/read`
|
|
66
|
+
*/
|
|
67
|
+
async markRead(id) {
|
|
68
|
+
return this.request("POST", `${path(id)}/read`);
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export {
|
|
73
|
+
Support
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=chunk-WZK3BIHG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/resources/support.ts"],"sourcesContent":["import type {\n SupportAttachmentView,\n SupportConversationCreate,\n SupportConversationList,\n SupportConversationView,\n SupportListQuery,\n SupportMessageCreate,\n SupportMessageList,\n SupportMessagesQuery,\n SupportMessageView,\n} from '../types';\nimport type { RequestFn } from '../client';\nimport { csvQuery } from '../listQuery';\n\nconst path = (id: string): string => `/support/conversations/${encodeURIComponent(id)}`;\n\n/**\n * Conversations between a merchant and DeloPay's support team.\n *\n * Every route answers 404 while support is not available on the deployment, so\n * a 404 on {@link Support.list} means there is nothing to show. A member of a\n * shop reads the conversations they started and those linked to their shop.\n */\nexport class Support {\n constructor(private readonly request: RequestFn) {}\n\n /** Start a conversation with its first message. `POST /support/conversations` */\n async create(body: SupportConversationCreate): Promise<SupportConversationView> {\n return this.request('POST', '/support/conversations', { body });\n }\n\n /**\n * The conversations the caller may read, the latest message first unless\n * `sort_by` says otherwise. Several `kind`, `category` or `status` values\n * match a conversation with any of them. `GET /support/conversations`\n */\n async list(query?: SupportListQuery): Promise<SupportConversationList> {\n return this.request('GET', '/support/conversations', {\n query: csvQuery(query, ['kind', 'category', 'status']),\n });\n }\n\n /** One conversation. `GET /support/conversations/{id}` */\n async retrieve(id: string): Promise<SupportConversationView> {\n return this.request('GET', path(id));\n }\n\n /** A conversation's messages. `GET /support/conversations/{id}/messages` */\n async messages(id: string, query?: SupportMessagesQuery): Promise<SupportMessageList> {\n return this.request('GET', `${path(id)}/messages`, {\n query: query === undefined ? undefined : { ...query },\n });\n }\n\n /** Answer in a conversation. `POST /support/conversations/{id}/messages` */\n async reply(id: string, body: SupportMessageCreate): Promise<SupportMessageView> {\n return this.request('POST', `${path(id)}/messages`, { body });\n }\n\n /**\n * Upload a file for a message. PNG, JPEG, WebP, PDF, text, MP4 or WebM, read from the\n * content; 10 MB, a video 25 MB. It belongs to the caller until a message names it in\n * `attachments`. Uploading again with the same `clientUploadId` returns the same file.\n * `POST /support/conversations/{id}/attachments`\n */\n async uploadAttachment(\n id: string,\n file: Blob,\n clientUploadId: string,\n fileName?: string,\n ): Promise<SupportAttachmentView> {\n const form = new FormData();\n form.append('client_upload_id', clientUploadId);\n if (fileName === undefined) form.append('file', file);\n else form.append('file', file, fileName);\n return this.request('POST', `${path(id)}/attachments`, { body: form });\n }\n\n /**\n * Fetch a file once its scan is clean. Refused with `support_attachment_checking` while\n * the scan runs, and `support_attachment_blocked` after a block.\n * `GET /support/conversations/{id}/attachments/{fileId}`\n */\n async downloadAttachment(id: string, fileId: string): Promise<Blob> {\n return this.request('GET', `${path(id)}/attachments/${encodeURIComponent(fileId)}`, {\n responseType: 'blob',\n });\n }\n\n /**\n * Clear the merchant's unread mark and read the conversation as it is now.\n * Someone acting as somebody else leaves the mark in place.\n * `POST /support/conversations/{id}/read`\n */\n async markRead(id: string): Promise<SupportConversationView> {\n return this.request('POST', `${path(id)}/read`);\n }\n}\n"],"mappings":";;;;;AAcA,IAAM,OAAO,CAAC,OAAuB,0BAA0B,mBAAmB,EAAE,CAAC;AAS9E,IAAM,UAAN,MAAc;AAAA,EACnB,YAA6B,SAAoB;AAApB;AAAA,EAAqB;AAAA;AAAA,EAGlD,MAAM,OAAO,MAAmE;AAC9E,WAAO,KAAK,QAAQ,QAAQ,0BAA0B,EAAE,KAAK,CAAC;AAAA,EAChE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,KAAK,OAA4D;AACrE,WAAO,KAAK,QAAQ,OAAO,0BAA0B;AAAA,MACnD,OAAO,SAAS,OAAO,CAAC,QAAQ,YAAY,QAAQ,CAAC;AAAA,IACvD,CAAC;AAAA,EACH;AAAA;AAAA,EAGA,MAAM,SAAS,IAA8C;AAC3D,WAAO,KAAK,QAAQ,OAAO,KAAK,EAAE,CAAC;AAAA,EACrC;AAAA;AAAA,EAGA,MAAM,SAAS,IAAY,OAA2D;AACpF,WAAO,KAAK,QAAQ,OAAO,GAAG,KAAK,EAAE,CAAC,aAAa;AAAA,MACjD,OAAO,UAAU,SAAY,SAAY,EAAE,GAAG,MAAM;AAAA,IACtD,CAAC;AAAA,EACH;AAAA;AAAA,EAGA,MAAM,MAAM,IAAY,MAAyD;AAC/E,WAAO,KAAK,QAAQ,QAAQ,GAAG,KAAK,EAAE,CAAC,aAAa,EAAE,KAAK,CAAC;AAAA,EAC9D;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,MAAM,iBACJ,IACA,MACA,gBACA,UACgC;AAChC,UAAM,OAAO,IAAI,SAAS;AAC1B,SAAK,OAAO,oBAAoB,cAAc;AAC9C,QAAI,aAAa,OAAW,MAAK,OAAO,QAAQ,IAAI;AAAA,QAC/C,MAAK,OAAO,QAAQ,MAAM,QAAQ;AACvC,WAAO,KAAK,QAAQ,QAAQ,GAAG,KAAK,EAAE,CAAC,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAAA,EACvE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,mBAAmB,IAAY,QAA+B;AAClE,WAAO,KAAK,QAAQ,OAAO,GAAG,KAAK,EAAE,CAAC,gBAAgB,mBAAmB,MAAM,CAAC,IAAI;AAAA,MAClF,cAAc;AAAA,IAChB,CAAC;AAAA,EACH;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOA,MAAM,SAAS,IAA8C;AAC3D,WAAO,KAAK,QAAQ,QAAQ,GAAG,KAAK,EAAE,CAAC,OAAO;AAAA,EAChD;AACF;","names":[]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkKJDMNF2Tcjs = require('./chunk-KJDMNF2T.cjs');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkV47G7P6Lcjs = require('./chunk-V47G7P6L.cjs');
|
|
7
|
+
|
|
8
|
+
// src/internal/resources/auditLogs.ts
|
|
9
|
+
var AuditLogs = class {
|
|
10
|
+
constructor(request) {
|
|
11
|
+
this.request = request;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* One page of the platform audit log, the newest entry first unless
|
|
15
|
+
* `sort_by` says otherwise. Several `action` or `entity_type` values match
|
|
16
|
+
* an entry with any of them.
|
|
17
|
+
*/
|
|
18
|
+
async list(params) {
|
|
19
|
+
return this.request("GET", "/admin-portal/audit", {
|
|
20
|
+
query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["action", "entity_type"])
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
async retrieve(logId) {
|
|
24
|
+
return this.request("GET", `/admin-portal/audit/${encodeURIComponent(logId)}`);
|
|
25
|
+
}
|
|
26
|
+
async export(params, options) {
|
|
27
|
+
return _chunkKJDMNF2Tcjs.runExport.call(void 0,
|
|
28
|
+
this.request,
|
|
29
|
+
"GET",
|
|
30
|
+
"/admin-portal/audit/export",
|
|
31
|
+
// The format is negotiated by `Accept`, never a query field: the query
|
|
32
|
+
// here is the list's own filter model, and adding a key to it would fork
|
|
33
|
+
// the filter vocabulary the export exists to reuse.
|
|
34
|
+
{ query: _chunkV47G7P6Lcjs.csvQuery.call(void 0, params, ["action", "entity_type"]) },
|
|
35
|
+
options
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
exports.AuditLogs = AuditLogs;
|
|
43
|
+
//# sourceMappingURL=chunk-X7UAYGQR.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-X7UAYGQR.cjs","../src/internal/resources/auditLogs.ts"],"names":[],"mappings":"AAAA;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACA;ACKO,IAAM,UAAA,EAAN,MAAgB;AAAA,EACrB,WAAA,CAA6B,OAAA,EAAoB;AAApB,IAAA,IAAA,CAAA,QAAA,EAAA,OAAA;AAAA,EAAqB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAOlD,MAAM,IAAA,CAAK,MAAA,EAA4D;AACrE,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,qBAAA,EAAuB;AAAA,MAChD,KAAA,EAAO,wCAAA,MAAS,EAAQ,CAAC,QAAA,EAAU,aAAa,CAAC;AAAA,IACnD,CAAC,CAAA;AAAA,EACH;AAAA,EAEA,MAAM,QAAA,CAAS,KAAA,EAA0C;AACvD,IAAA,OAAO,IAAA,CAAK,OAAA,CAAQ,KAAA,EAAO,CAAA,oBAAA,EAAuB,kBAAA,CAAmB,KAAK,CAAC,CAAA,CAAA;AAC7E,EAAA;AA6B6D,EAAA;AACpD,IAAA;AACA,MAAA;AACL,MAAA;AACA,MAAA;AAAA;AAAA;AAAA;AAIqD,MAAA;AACrD,MAAA;AACF,IAAA;AACF,EAAA;AACF;AD/BgF;AACA;AACA;AACA","file":"/home/anes/delo-payment/_worktrees/ts-publish-w3/dist/chunk-X7UAYGQR.cjs","sourcesContent":[null,"import type { AuditLogListParams, AuditLogListResponse, AuditLogResponse } from '../types';\nimport type { AdminAuditLogExportRecord } from '../types';\nimport type {\n BinaryExportOptions,\n ExportEnvelope,\n ExportOptions,\n JsonExportOptions,\n} from '../../types';\nimport type { RequestFn } from '../../client';\nimport { runExport } from '../../exportDownload';\nimport { csvQuery } from '../../listQuery';\n\nexport class AuditLogs {\n constructor(private readonly request: RequestFn) {}\n\n /**\n * One page of the platform audit log, the newest entry first unless\n * `sort_by` says otherwise. Several `action` or `entity_type` values match\n * an entry with any of them.\n */\n async list(params?: AuditLogListParams): Promise<AuditLogListResponse> {\n return this.request('GET', '/admin-portal/audit', {\n query: csvQuery(params, ['action', 'entity_type']),\n });\n }\n\n async retrieve(logId: string): Promise<AuditLogResponse> {\n return this.request('GET', `/admin-portal/audit/${encodeURIComponent(logId)}`);\n }\n\n /**\n * The platform audit log as a file. `GET /admin-portal/audit/export`\n *\n * Takes the same filters as {@link AuditLogs.list}, and returns the whole\n * match set rather than a page — bounded at 25,000 rows (500 for `pdf`), and\n * refused past that with `DE_07` rather than truncated. `csv` and `json` are\n * streamed and held to their `X-Delopay-Record-Count`; see\n * {@link ExportTransferOptions} for progress, cancellation and the\n * `EXPORT_INCOMPLETE` check.\n *\n * Columns answer the question an audit asks rather than mirroring the\n * dashboard table: the actor, the real actor behind an impersonation, the\n * action, its target, when, and from where. `details` is deliberately absent —\n * an unbounded per-action blob is unreadable in a spreadsheet cell.\n */\n async export(\n params?: AuditLogListParams,\n options?: JsonExportOptions,\n ): Promise<ExportEnvelope<AdminAuditLogExportRecord>>;\n async export(params: AuditLogListParams | undefined, options: BinaryExportOptions): Promise<Blob>;\n async export(\n params: AuditLogListParams | undefined,\n options: ExportOptions,\n ): Promise<ExportEnvelope<AdminAuditLogExportRecord> | Blob>;\n async export(\n params?: AuditLogListParams,\n options?: ExportOptions,\n ): Promise<ExportEnvelope<AdminAuditLogExportRecord> | Blob> {\n return runExport(\n this.request,\n 'GET',\n '/admin-portal/audit/export',\n // The format is negotiated by `Accept`, never a query field: the query\n // here is the list's own filter model, and adding a key to it would fork\n // the filter vocabulary the export exists to reuse.\n { query: csvQuery(params, ['action', 'entity_type']) },\n options,\n );\n }\n}\n"]}
|