@delopay/sdk 0.407.0 → 0.413.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-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-4YCQWMFF.js +316 -0
- package/dist/chunk-4YCQWMFF.js.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-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-EGQKVHQB.js +148 -0
- package/dist/chunk-EGQKVHQB.js.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-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-NPIVFYLK.js +344 -0
- package/dist/chunk-NPIVFYLK.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-PWDY5D5S.cjs +344 -0
- package/dist/chunk-PWDY5D5S.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-QT3HUTWI.cjs +316 -0
- package/dist/chunk-QT3HUTWI.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-R4GA6BVP.cjs +59 -0
- package/dist/chunk-R4GA6BVP.cjs.map +1 -0
- package/dist/chunk-R5VYSZ3Q.cjs +67 -0
- package/dist/chunk-R5VYSZ3Q.cjs.map +1 -0
- package/dist/chunk-RI42IDRR.cjs +23 -0
- package/dist/chunk-RI42IDRR.cjs.map +1 -0
- package/dist/chunk-RSVLVW4L.cjs +148 -0
- package/dist/chunk-RSVLVW4L.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-T326ZWR3.js +1795 -0
- package/dist/chunk-T326ZWR3.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-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-XAUPBK6A.cjs +1038 -0
- package/dist/chunk-XAUPBK6A.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-Y6W2EJ2R.cjs +1795 -0
- package/dist/chunk-Y6W2EJ2R.cjs.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-ZJRQ2AKS.js +1038 -0
- package/dist/chunk-ZJRQ2AKS.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-ZTFYSSKD.js +59 -0
- package/dist/chunk-ZTFYSSKD.js.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 +1065 -0
- package/dist/internal/resources/adminPortal.d.ts +1065 -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 +48 -0
- package/dist/internal/resources/auditLogs.d.ts +48 -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 +224 -0
- package/dist/resources/identityVerifications.d.ts +224 -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-By5GGlvR.d.cts +4699 -0
- package/dist/types-CZib7kHm.d.ts +4699 -0
- package/dist/types.cjs +1 -0
- package/dist/types.cjs.map +1 -0
- package/dist/{index-WArxrQje.d.cts → types.d.cts} +132 -11123
- package/dist/{index-WArxrQje.d.ts → types.d.ts} +132 -11123
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -0
- package/package.json +11 -1
- package/dist/chunk-DZK6LFNW.js +0 -18084
- package/dist/chunk-DZK6LFNW.js.map +0 -1
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { PaymentMethodPresentationResponse, PaymentMethodPresentationParams, PaymentMethodPresentationEntry, PresentationChild, PresentationIcon } from './types.cjs';
|
|
2
|
+
import { RequestExtras } from './core.cjs';
|
|
3
|
+
import './eventStream.cjs';
|
|
4
|
+
import './error.cjs';
|
|
5
|
+
|
|
6
|
+
/** The response contract these helpers read. */
|
|
7
|
+
declare const PRESENTATION_CONTRACT_VERSION = 1;
|
|
8
|
+
/** The built-in glyph keys a presentation names in `icon.key` and `fallback_icon`. */
|
|
9
|
+
declare const BUILTIN_PAYMENT_ICON_KEYS: readonly ["wallet", "card", "bank", "apple", "google", "bnpl", "cash", "paypal", "klarna", "crypto"];
|
|
10
|
+
type BuiltinPaymentIconKey = (typeof BUILTIN_PAYMENT_ICON_KEYS)[number];
|
|
11
|
+
/**
|
|
12
|
+
* The SVG document of a built-in glyph. An unknown key — one a newer API
|
|
13
|
+
* added — draws the neutral `wallet` glyph rather than nothing.
|
|
14
|
+
*
|
|
15
|
+
* @param color - What line glyphs and Apple's mark are drawn in. Defaults to
|
|
16
|
+
* a dark grey that reads on a light button.
|
|
17
|
+
*/
|
|
18
|
+
declare function builtinPaymentIconSvg(key: string, color?: string): string;
|
|
19
|
+
/** {@link builtinPaymentIconSvg} as a `data:` URI for an image element's `src`. */
|
|
20
|
+
declare function builtinPaymentIconDataUri(key: string, color?: string): string;
|
|
21
|
+
/**
|
|
22
|
+
* The image `src` for an icon: an SVG icon's own `data_uri`, a built-in
|
|
23
|
+
* glyph's document otherwise. Use it with an image element, which renders the
|
|
24
|
+
* artwork without running anything in it.
|
|
25
|
+
*/
|
|
26
|
+
declare function presentationIconDataUri(icon: PresentationIcon, color?: string): string;
|
|
27
|
+
/**
|
|
28
|
+
* The image `src` to draw for an entry: its icon, else its fallback glyph.
|
|
29
|
+
* `null` only for a heading, which has no artwork. Pair it with an `onerror`
|
|
30
|
+
* that swaps to `builtinPaymentIconDataUri(entry.fallback_icon)` if you load
|
|
31
|
+
* artwork from anywhere that can fail.
|
|
32
|
+
*/
|
|
33
|
+
declare function presentationIconSrc(entry: PaymentMethodPresentationEntry, color?: string): string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether DeloPay confirmed a badge: from the provider's answer for the
|
|
36
|
+
* account, or the account's own settings. A `merchant` badge is the shop's
|
|
37
|
+
* own statement for a provider DeloPay cannot ask; draw it, if at all, so a
|
|
38
|
+
* buyer can tell it apart.
|
|
39
|
+
*/
|
|
40
|
+
declare function isConfirmedChild(child: Pick<PresentationChild, 'source'>): boolean;
|
|
41
|
+
/** Whether these helpers understand a response. A different `contract_version` is not read. */
|
|
42
|
+
declare function isSupportedPresentation(response: Pick<PaymentMethodPresentationResponse, 'contract_version'>): boolean;
|
|
43
|
+
/** A presentation's entries by tier, express rows kept apart, in checkout order. */
|
|
44
|
+
interface PresentationTiers {
|
|
45
|
+
express: PaymentMethodPresentationEntry[][];
|
|
46
|
+
normal: PaymentMethodPresentationEntry[];
|
|
47
|
+
alternative: PaymentMethodPresentationEntry[];
|
|
48
|
+
}
|
|
49
|
+
/** Group a presentation's entries the way the hosted checkout lays them out. */
|
|
50
|
+
declare function presentationTiers(response: PaymentMethodPresentationResponse): PresentationTiers;
|
|
51
|
+
/** The entries a buyer can select, in order: everything but headings. */
|
|
52
|
+
declare function selectableEntries(response: PaymentMethodPresentationResponse): PaymentMethodPresentationEntry[];
|
|
53
|
+
/** What {@link PresentationCache.get} answers. */
|
|
54
|
+
interface CachedPresentation {
|
|
55
|
+
response: PaymentMethodPresentationResponse;
|
|
56
|
+
/**
|
|
57
|
+
* `true` when DeloPay could not be reached and this is the last answer,
|
|
58
|
+
* still inside its `stale_if_error_seconds`. Display only.
|
|
59
|
+
*/
|
|
60
|
+
stale: boolean;
|
|
61
|
+
}
|
|
62
|
+
/** How {@link PresentationCache} asks DeloPay. */
|
|
63
|
+
type PresentationLoader = (params: PaymentMethodPresentationParams, options: RequestExtras) => Promise<PaymentMethodPresentationResponse>;
|
|
64
|
+
interface PresentationCacheOptions {
|
|
65
|
+
/** Usually `(params, options) => delopay.paymentMethods.presentation(params, options)`. */
|
|
66
|
+
load: PresentationLoader;
|
|
67
|
+
/** Milliseconds since the epoch. Defaults to `Date.now`. */
|
|
68
|
+
now?: () => number;
|
|
69
|
+
/** At most this many contexts are kept; the least recently fetched goes first. Default 500. */
|
|
70
|
+
maxEntries?: number;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* A cache for the merchant's server in front of
|
|
74
|
+
* `GET /account/payment-methods/presentation`, keyed by everything that
|
|
75
|
+
* changes the answer: shop, environment, locale, country, currency and amount.
|
|
76
|
+
*
|
|
77
|
+
* - Reuses an answer for its `cache.max_age_seconds`, then revalidates with
|
|
78
|
+
* `If-None-Match`; an unchanged revision costs no body.
|
|
79
|
+
* - While DeloPay cannot be reached it keeps serving the last answer for
|
|
80
|
+
* `cache.stale_if_error_seconds` more, marked `stale`, then rethrows.
|
|
81
|
+
* - Never caches a payment's answer (`client_secret`): those are asked every
|
|
82
|
+
* time, since a cart change needs a new answer.
|
|
83
|
+
*
|
|
84
|
+
* One instance per secret key: an answer is the authenticated merchant's and
|
|
85
|
+
* must not be shared with another merchant's requests.
|
|
86
|
+
*/
|
|
87
|
+
declare class PresentationCache {
|
|
88
|
+
private readonly slots;
|
|
89
|
+
private readonly load;
|
|
90
|
+
private readonly now;
|
|
91
|
+
private readonly maxEntries;
|
|
92
|
+
constructor(options: PresentationCacheOptions);
|
|
93
|
+
/** The key two requests share exactly when DeloPay would answer them alike. */
|
|
94
|
+
static keyOf(params: PaymentMethodPresentationParams): string;
|
|
95
|
+
get(params: PaymentMethodPresentationParams): Promise<CachedPresentation>;
|
|
96
|
+
/** Forget every answer, e.g. after the merchant changes the checkout editor. */
|
|
97
|
+
clear(): void;
|
|
98
|
+
private store;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { BUILTIN_PAYMENT_ICON_KEYS, type BuiltinPaymentIconKey, type CachedPresentation, PRESENTATION_CONTRACT_VERSION, PresentationCache, type PresentationCacheOptions, type PresentationLoader, type PresentationTiers, builtinPaymentIconDataUri, builtinPaymentIconSvg, isConfirmedChild, isSupportedPresentation, presentationIconDataUri, presentationIconSrc, presentationTiers, selectableEntries };
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { PaymentMethodPresentationResponse, PaymentMethodPresentationParams, PaymentMethodPresentationEntry, PresentationChild, PresentationIcon } from './types.js';
|
|
2
|
+
import { RequestExtras } from './core.js';
|
|
3
|
+
import './eventStream.js';
|
|
4
|
+
import './error.js';
|
|
5
|
+
|
|
6
|
+
/** The response contract these helpers read. */
|
|
7
|
+
declare const PRESENTATION_CONTRACT_VERSION = 1;
|
|
8
|
+
/** The built-in glyph keys a presentation names in `icon.key` and `fallback_icon`. */
|
|
9
|
+
declare const BUILTIN_PAYMENT_ICON_KEYS: readonly ["wallet", "card", "bank", "apple", "google", "bnpl", "cash", "paypal", "klarna", "crypto"];
|
|
10
|
+
type BuiltinPaymentIconKey = (typeof BUILTIN_PAYMENT_ICON_KEYS)[number];
|
|
11
|
+
/**
|
|
12
|
+
* The SVG document of a built-in glyph. An unknown key — one a newer API
|
|
13
|
+
* added — draws the neutral `wallet` glyph rather than nothing.
|
|
14
|
+
*
|
|
15
|
+
* @param color - What line glyphs and Apple's mark are drawn in. Defaults to
|
|
16
|
+
* a dark grey that reads on a light button.
|
|
17
|
+
*/
|
|
18
|
+
declare function builtinPaymentIconSvg(key: string, color?: string): string;
|
|
19
|
+
/** {@link builtinPaymentIconSvg} as a `data:` URI for an image element's `src`. */
|
|
20
|
+
declare function builtinPaymentIconDataUri(key: string, color?: string): string;
|
|
21
|
+
/**
|
|
22
|
+
* The image `src` for an icon: an SVG icon's own `data_uri`, a built-in
|
|
23
|
+
* glyph's document otherwise. Use it with an image element, which renders the
|
|
24
|
+
* artwork without running anything in it.
|
|
25
|
+
*/
|
|
26
|
+
declare function presentationIconDataUri(icon: PresentationIcon, color?: string): string;
|
|
27
|
+
/**
|
|
28
|
+
* The image `src` to draw for an entry: its icon, else its fallback glyph.
|
|
29
|
+
* `null` only for a heading, which has no artwork. Pair it with an `onerror`
|
|
30
|
+
* that swaps to `builtinPaymentIconDataUri(entry.fallback_icon)` if you load
|
|
31
|
+
* artwork from anywhere that can fail.
|
|
32
|
+
*/
|
|
33
|
+
declare function presentationIconSrc(entry: PaymentMethodPresentationEntry, color?: string): string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether DeloPay confirmed a badge: from the provider's answer for the
|
|
36
|
+
* account, or the account's own settings. A `merchant` badge is the shop's
|
|
37
|
+
* own statement for a provider DeloPay cannot ask; draw it, if at all, so a
|
|
38
|
+
* buyer can tell it apart.
|
|
39
|
+
*/
|
|
40
|
+
declare function isConfirmedChild(child: Pick<PresentationChild, 'source'>): boolean;
|
|
41
|
+
/** Whether these helpers understand a response. A different `contract_version` is not read. */
|
|
42
|
+
declare function isSupportedPresentation(response: Pick<PaymentMethodPresentationResponse, 'contract_version'>): boolean;
|
|
43
|
+
/** A presentation's entries by tier, express rows kept apart, in checkout order. */
|
|
44
|
+
interface PresentationTiers {
|
|
45
|
+
express: PaymentMethodPresentationEntry[][];
|
|
46
|
+
normal: PaymentMethodPresentationEntry[];
|
|
47
|
+
alternative: PaymentMethodPresentationEntry[];
|
|
48
|
+
}
|
|
49
|
+
/** Group a presentation's entries the way the hosted checkout lays them out. */
|
|
50
|
+
declare function presentationTiers(response: PaymentMethodPresentationResponse): PresentationTiers;
|
|
51
|
+
/** The entries a buyer can select, in order: everything but headings. */
|
|
52
|
+
declare function selectableEntries(response: PaymentMethodPresentationResponse): PaymentMethodPresentationEntry[];
|
|
53
|
+
/** What {@link PresentationCache.get} answers. */
|
|
54
|
+
interface CachedPresentation {
|
|
55
|
+
response: PaymentMethodPresentationResponse;
|
|
56
|
+
/**
|
|
57
|
+
* `true` when DeloPay could not be reached and this is the last answer,
|
|
58
|
+
* still inside its `stale_if_error_seconds`. Display only.
|
|
59
|
+
*/
|
|
60
|
+
stale: boolean;
|
|
61
|
+
}
|
|
62
|
+
/** How {@link PresentationCache} asks DeloPay. */
|
|
63
|
+
type PresentationLoader = (params: PaymentMethodPresentationParams, options: RequestExtras) => Promise<PaymentMethodPresentationResponse>;
|
|
64
|
+
interface PresentationCacheOptions {
|
|
65
|
+
/** Usually `(params, options) => delopay.paymentMethods.presentation(params, options)`. */
|
|
66
|
+
load: PresentationLoader;
|
|
67
|
+
/** Milliseconds since the epoch. Defaults to `Date.now`. */
|
|
68
|
+
now?: () => number;
|
|
69
|
+
/** At most this many contexts are kept; the least recently fetched goes first. Default 500. */
|
|
70
|
+
maxEntries?: number;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* A cache for the merchant's server in front of
|
|
74
|
+
* `GET /account/payment-methods/presentation`, keyed by everything that
|
|
75
|
+
* changes the answer: shop, environment, locale, country, currency and amount.
|
|
76
|
+
*
|
|
77
|
+
* - Reuses an answer for its `cache.max_age_seconds`, then revalidates with
|
|
78
|
+
* `If-None-Match`; an unchanged revision costs no body.
|
|
79
|
+
* - While DeloPay cannot be reached it keeps serving the last answer for
|
|
80
|
+
* `cache.stale_if_error_seconds` more, marked `stale`, then rethrows.
|
|
81
|
+
* - Never caches a payment's answer (`client_secret`): those are asked every
|
|
82
|
+
* time, since a cart change needs a new answer.
|
|
83
|
+
*
|
|
84
|
+
* One instance per secret key: an answer is the authenticated merchant's and
|
|
85
|
+
* must not be shared with another merchant's requests.
|
|
86
|
+
*/
|
|
87
|
+
declare class PresentationCache {
|
|
88
|
+
private readonly slots;
|
|
89
|
+
private readonly load;
|
|
90
|
+
private readonly now;
|
|
91
|
+
private readonly maxEntries;
|
|
92
|
+
constructor(options: PresentationCacheOptions);
|
|
93
|
+
/** The key two requests share exactly when DeloPay would answer them alike. */
|
|
94
|
+
static keyOf(params: PaymentMethodPresentationParams): string;
|
|
95
|
+
get(params: PaymentMethodPresentationParams): Promise<CachedPresentation>;
|
|
96
|
+
/** Forget every answer, e.g. after the merchant changes the checkout editor. */
|
|
97
|
+
clear(): void;
|
|
98
|
+
private store;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export { BUILTIN_PAYMENT_ICON_KEYS, type BuiltinPaymentIconKey, type CachedPresentation, PRESENTATION_CONTRACT_VERSION, PresentationCache, type PresentationCacheOptions, type PresentationLoader, type PresentationTiers, builtinPaymentIconDataUri, builtinPaymentIconSvg, isConfirmedChild, isSupportedPresentation, presentationIconDataUri, presentationIconSrc, presentationTiers, selectableEntries };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BUILTIN_PAYMENT_ICON_KEYS,
|
|
3
|
+
PRESENTATION_CONTRACT_VERSION,
|
|
4
|
+
PresentationCache,
|
|
5
|
+
builtinPaymentIconDataUri,
|
|
6
|
+
builtinPaymentIconSvg,
|
|
7
|
+
isConfirmedChild,
|
|
8
|
+
isSupportedPresentation,
|
|
9
|
+
presentationIconDataUri,
|
|
10
|
+
presentationIconSrc,
|
|
11
|
+
presentationTiers,
|
|
12
|
+
selectableEntries
|
|
13
|
+
} from "./chunk-QCPEE3EV.js";
|
|
14
|
+
export {
|
|
15
|
+
BUILTIN_PAYMENT_ICON_KEYS,
|
|
16
|
+
PRESENTATION_CONTRACT_VERSION,
|
|
17
|
+
PresentationCache,
|
|
18
|
+
builtinPaymentIconDataUri,
|
|
19
|
+
builtinPaymentIconSvg,
|
|
20
|
+
isConfirmedChild,
|
|
21
|
+
isSupportedPresentation,
|
|
22
|
+
presentationIconDataUri,
|
|
23
|
+
presentationIconSrc,
|
|
24
|
+
presentationTiers,
|
|
25
|
+
selectableEntries
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=paymentPresentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkKD5Y2YWKcjs = require('./chunk-KD5Y2YWK.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
exports.CsvRecordCounter = _chunkKD5Y2YWKcjs.CsvRecordCounter; exports.JsonArrayRecordCounter = _chunkKD5Y2YWKcjs.JsonArrayRecordCounter;
|
|
9
|
+
//# sourceMappingURL=recordCounter.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/tmp/delopay-sdk-publish/dist/recordCounter.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACF,yIAAC","file":"/tmp/delopay-sdk-publish/dist/recordCounter.cjs"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Incremental record counters for streamed export bodies.
|
|
3
|
+
*
|
|
4
|
+
* An export streams its body and announces, in `X-Delopay-Record-Count`, how
|
|
5
|
+
* many records that body will hold. These count the records actually received,
|
|
6
|
+
* chunk by chunk, so a download can show `receivedRecords` of
|
|
7
|
+
* `expectedRecords` while it runs and the finished file can be held to the
|
|
8
|
+
* announced figure.
|
|
9
|
+
*
|
|
10
|
+
* They work on **bytes**, never on decoded text. Every character they look at —
|
|
11
|
+
* `"` `\` `{` `}` `[` `]` and the line break — is ASCII, and no byte of a
|
|
12
|
+
* multi-byte UTF-8 sequence falls in the ASCII range, so a chunk boundary can
|
|
13
|
+
* land anywhere, the middle of a character included, without a decoder having
|
|
14
|
+
* to carry a partial sequence across it.
|
|
15
|
+
*/
|
|
16
|
+
/** Counts the records in a body fed to it one chunk at a time. */
|
|
17
|
+
interface RecordCounter {
|
|
18
|
+
/** Feed the next chunk of the body, in order. */
|
|
19
|
+
push(chunk: Uint8Array): void;
|
|
20
|
+
/** Records complete in what has been fed so far. */
|
|
21
|
+
readonly records: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether what has been fed ends where a whole export body ends. A body
|
|
24
|
+
* that stops anywhere else was cut off, whatever its record count says.
|
|
25
|
+
*/
|
|
26
|
+
readonly complete: boolean;
|
|
27
|
+
/** Records in the body, once it has ended. Does not change the counter. */
|
|
28
|
+
finish(): number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* RFC 4180 CSV with a header line: one record per line, where a field holding
|
|
32
|
+
* `,` `"` or a line break is quoted and a quote inside it is doubled.
|
|
33
|
+
*
|
|
34
|
+
* A newline inside quotes is part of a field, not the end of a record, so every
|
|
35
|
+
* `"` toggles "inside quotes". A doubled `""` toggles twice and leaves it as it
|
|
36
|
+
* was, which is exactly its meaning. Records are the newlines outside quotes,
|
|
37
|
+
* less one for the header.
|
|
38
|
+
*/
|
|
39
|
+
declare class CsvRecordCounter implements RecordCounter {
|
|
40
|
+
private inQuotes;
|
|
41
|
+
private newlines;
|
|
42
|
+
/** Whether anything but a line break has arrived since the last newline. */
|
|
43
|
+
private lineHasContent;
|
|
44
|
+
push(chunk: Uint8Array): void;
|
|
45
|
+
get records(): number;
|
|
46
|
+
/**
|
|
47
|
+
* The export writer ends every line — the header and each record — with a
|
|
48
|
+
* newline, so a whole body ends on one, outside quotes. RFC 4180 lets a
|
|
49
|
+
* final line break be omitted, but these bodies never omit it, and without
|
|
50
|
+
* that rule a file cut part-way through its last unquoted field
|
|
51
|
+
* (`pay_1,12` of `pay_1,123`) would count as one more whole record and
|
|
52
|
+
* match the figure it was announced with.
|
|
53
|
+
*/
|
|
54
|
+
get complete(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The records that ended. An unterminated tail is not one of them — see
|
|
57
|
+
* {@link complete}.
|
|
58
|
+
*/
|
|
59
|
+
finish(): number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A JSON object whose rows are an array member — `{"records":[…],…}` or
|
|
63
|
+
* `{"data":[…],…}`.
|
|
64
|
+
*
|
|
65
|
+
* Counts the elements of the **first** array that is a direct member of the
|
|
66
|
+
* top-level object: each one is counted as it closes back to that array's
|
|
67
|
+
* depth, so a record is counted once it has fully arrived, never on its first
|
|
68
|
+
* byte. Counting stops when that array closes, so an array later in the
|
|
69
|
+
* envelope (inside the echoed `filters`, say) is never mistaken for rows.
|
|
70
|
+
*
|
|
71
|
+
* Strings are tracked with their escapes, so a `}` `]` or `"` inside a value
|
|
72
|
+
* is text, not structure. Elements are counted when an object or array closes;
|
|
73
|
+
* a bare scalar element is not a record and is not counted.
|
|
74
|
+
*/
|
|
75
|
+
declare class JsonArrayRecordCounter implements RecordCounter {
|
|
76
|
+
private depth;
|
|
77
|
+
private inString;
|
|
78
|
+
private escaped;
|
|
79
|
+
private topIsObject;
|
|
80
|
+
private state;
|
|
81
|
+
private count;
|
|
82
|
+
push(chunk: Uint8Array): void;
|
|
83
|
+
get records(): number;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the rows array has closed. What follows it is checked by parsing
|
|
86
|
+
* the whole document, which a cut-off body fails.
|
|
87
|
+
*/
|
|
88
|
+
get complete(): boolean;
|
|
89
|
+
finish(): number;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { CsvRecordCounter, JsonArrayRecordCounter, type RecordCounter };
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Incremental record counters for streamed export bodies.
|
|
3
|
+
*
|
|
4
|
+
* An export streams its body and announces, in `X-Delopay-Record-Count`, how
|
|
5
|
+
* many records that body will hold. These count the records actually received,
|
|
6
|
+
* chunk by chunk, so a download can show `receivedRecords` of
|
|
7
|
+
* `expectedRecords` while it runs and the finished file can be held to the
|
|
8
|
+
* announced figure.
|
|
9
|
+
*
|
|
10
|
+
* They work on **bytes**, never on decoded text. Every character they look at —
|
|
11
|
+
* `"` `\` `{` `}` `[` `]` and the line break — is ASCII, and no byte of a
|
|
12
|
+
* multi-byte UTF-8 sequence falls in the ASCII range, so a chunk boundary can
|
|
13
|
+
* land anywhere, the middle of a character included, without a decoder having
|
|
14
|
+
* to carry a partial sequence across it.
|
|
15
|
+
*/
|
|
16
|
+
/** Counts the records in a body fed to it one chunk at a time. */
|
|
17
|
+
interface RecordCounter {
|
|
18
|
+
/** Feed the next chunk of the body, in order. */
|
|
19
|
+
push(chunk: Uint8Array): void;
|
|
20
|
+
/** Records complete in what has been fed so far. */
|
|
21
|
+
readonly records: number;
|
|
22
|
+
/**
|
|
23
|
+
* Whether what has been fed ends where a whole export body ends. A body
|
|
24
|
+
* that stops anywhere else was cut off, whatever its record count says.
|
|
25
|
+
*/
|
|
26
|
+
readonly complete: boolean;
|
|
27
|
+
/** Records in the body, once it has ended. Does not change the counter. */
|
|
28
|
+
finish(): number;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* RFC 4180 CSV with a header line: one record per line, where a field holding
|
|
32
|
+
* `,` `"` or a line break is quoted and a quote inside it is doubled.
|
|
33
|
+
*
|
|
34
|
+
* A newline inside quotes is part of a field, not the end of a record, so every
|
|
35
|
+
* `"` toggles "inside quotes". A doubled `""` toggles twice and leaves it as it
|
|
36
|
+
* was, which is exactly its meaning. Records are the newlines outside quotes,
|
|
37
|
+
* less one for the header.
|
|
38
|
+
*/
|
|
39
|
+
declare class CsvRecordCounter implements RecordCounter {
|
|
40
|
+
private inQuotes;
|
|
41
|
+
private newlines;
|
|
42
|
+
/** Whether anything but a line break has arrived since the last newline. */
|
|
43
|
+
private lineHasContent;
|
|
44
|
+
push(chunk: Uint8Array): void;
|
|
45
|
+
get records(): number;
|
|
46
|
+
/**
|
|
47
|
+
* The export writer ends every line — the header and each record — with a
|
|
48
|
+
* newline, so a whole body ends on one, outside quotes. RFC 4180 lets a
|
|
49
|
+
* final line break be omitted, but these bodies never omit it, and without
|
|
50
|
+
* that rule a file cut part-way through its last unquoted field
|
|
51
|
+
* (`pay_1,12` of `pay_1,123`) would count as one more whole record and
|
|
52
|
+
* match the figure it was announced with.
|
|
53
|
+
*/
|
|
54
|
+
get complete(): boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The records that ended. An unterminated tail is not one of them — see
|
|
57
|
+
* {@link complete}.
|
|
58
|
+
*/
|
|
59
|
+
finish(): number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* A JSON object whose rows are an array member — `{"records":[…],…}` or
|
|
63
|
+
* `{"data":[…],…}`.
|
|
64
|
+
*
|
|
65
|
+
* Counts the elements of the **first** array that is a direct member of the
|
|
66
|
+
* top-level object: each one is counted as it closes back to that array's
|
|
67
|
+
* depth, so a record is counted once it has fully arrived, never on its first
|
|
68
|
+
* byte. Counting stops when that array closes, so an array later in the
|
|
69
|
+
* envelope (inside the echoed `filters`, say) is never mistaken for rows.
|
|
70
|
+
*
|
|
71
|
+
* Strings are tracked with their escapes, so a `}` `]` or `"` inside a value
|
|
72
|
+
* is text, not structure. Elements are counted when an object or array closes;
|
|
73
|
+
* a bare scalar element is not a record and is not counted.
|
|
74
|
+
*/
|
|
75
|
+
declare class JsonArrayRecordCounter implements RecordCounter {
|
|
76
|
+
private depth;
|
|
77
|
+
private inString;
|
|
78
|
+
private escaped;
|
|
79
|
+
private topIsObject;
|
|
80
|
+
private state;
|
|
81
|
+
private count;
|
|
82
|
+
push(chunk: Uint8Array): void;
|
|
83
|
+
get records(): number;
|
|
84
|
+
/**
|
|
85
|
+
* Whether the rows array has closed. What follows it is checked by parsing
|
|
86
|
+
* the whole document, which a cut-off body fails.
|
|
87
|
+
*/
|
|
88
|
+
get complete(): boolean;
|
|
89
|
+
finish(): number;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { CsvRecordCounter, JsonArrayRecordCounter, type RecordCounter };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/tmp/delopay-sdk-publish/dist/resources/analytics.cjs"],"names":[],"mappings":"AAAA;AACE;AACF,yDAA8B;AAC9B;AACE;AACF,gDAAC","file":"/tmp/delopay-sdk-publish/dist/resources/analytics.cjs"}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { RequestFn, RequestExtras } from '../core.cjs';
|
|
2
|
+
import { AnalyticsScopeRequest, AnalyticsScopeResponse, AnalyticsShopsRequest, AnalyticsShopsResponse, AnalyticsConnectorsRequest, AnalyticsConnectorsResponse, ClientAnalyticsRequest, DevicesAnalyticsResponse, GeoAnalyticsResponse, GeoDrillRequest, DrillResponse, DeviceDrillRequest, ScopeDrillRequest, SubscriptionAnalyticsRequest, SubscriptionAnalyticsResponse, SubscriptionDrillRequest, AnalyticsExclusionsResponse, AnalyticsExclusionRequest, AnalyticsExclusionResponse } from '../types.cjs';
|
|
3
|
+
import '../eventStream.cjs';
|
|
4
|
+
import '../error.cjs';
|
|
5
|
+
|
|
6
|
+
declare class Analytics {
|
|
7
|
+
private readonly request;
|
|
8
|
+
constructor(request: RequestFn);
|
|
9
|
+
/**
|
|
10
|
+
* Scoped, drill-level analytics dashboard for the authenticated merchant
|
|
11
|
+
* (the same engine as the admin portal, pinned server-side to your own
|
|
12
|
+
* merchant). The server ignores `merchant_id` — it always scopes to your
|
|
13
|
+
* merchant, and to your single shop for profile-scoped users — so pass only
|
|
14
|
+
* `project_id` / `shop_id` to drill and the window / `sections` fields.
|
|
15
|
+
* Returns one drill level: the scope's daily series + previous window,
|
|
16
|
+
* processor mix and direct children. Accepts a dashboard session or an API
|
|
17
|
+
* key, including a `statistics_read` key; a shop-bound key reads only its
|
|
18
|
+
* shop. `GET /analytics/scope`
|
|
19
|
+
*/
|
|
20
|
+
scope(params?: AnalyticsScopeRequest): Promise<AnalyticsScopeResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Period Reports: the scoped daily series, pinned exactly like `scope`, but
|
|
23
|
+
* gated on the Period Reports permission area instead of Payment
|
|
24
|
+
* Performance. Pass `timezone` and each day bucket is a local calendar day,
|
|
25
|
+
* which sums exactly into calendar weeks and months. Answers only the
|
|
26
|
+
* `series`, `previous` and `children` blocks and ignores country and device
|
|
27
|
+
* filters. Accepts a dashboard session or an API key, including a
|
|
28
|
+
* `statistics_read` key. `GET /analytics/reports`
|
|
29
|
+
*/
|
|
30
|
+
reports(params?: AnalyticsScopeRequest): Promise<AnalyticsScopeResponse>;
|
|
31
|
+
/**
|
|
32
|
+
* Shop comparison: one series per shop over one window, with whole-window
|
|
33
|
+
* and previous-window totals, so shops can be drawn side by side. Pinned
|
|
34
|
+
* server-side to your own merchant (`merchant_id` is ignored), and to your
|
|
35
|
+
* single shop for a shop-scoped user; `project_id` / `shop_id` narrow it.
|
|
36
|
+
* Shops without activity are included, sorted by name. Hourly buckets are
|
|
37
|
+
* refused for windows over 7 days. Accepts an API key like `scope`.
|
|
38
|
+
* `GET /analytics/shops`
|
|
39
|
+
*/
|
|
40
|
+
shops(params?: AnalyticsShopsRequest): Promise<AnalyticsShopsResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* PSP analytics: routed payments, outcomes, volume and payment sizes per
|
|
43
|
+
* connector and per connector account over one window, with the breakdown
|
|
44
|
+
* by project and shop. Pinned server-side to your own merchant
|
|
45
|
+
* (`merchant_id` is ignored) and to your shop for a shop-scoped user. Live
|
|
46
|
+
* payments unless `test_mode` is `true`. Amounts are in USD unless
|
|
47
|
+
* `currency` names one. Pass `sections` to compute only some blocks.
|
|
48
|
+
* A role that may see no processor gets a 403.
|
|
49
|
+
* `GET /analytics/connectors`
|
|
50
|
+
*/
|
|
51
|
+
connectors(params?: AnalyticsConnectorsRequest): Promise<AnalyticsConnectorsResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Device analytics over the canonical client-context observation per
|
|
54
|
+
* payment (browser/platform families, device classes and models, checkout
|
|
55
|
+
* channel mix, time-to-pay), pinned server-side to your own merchant and
|
|
56
|
+
* drillable via `project_id` / `shop_id` exactly like `scope`. Gated on the
|
|
57
|
+
* client-context optimisation-use switch: when it is off the server answers
|
|
58
|
+
* 200 with `enabled: false` and a caveat naming the switch. Accepts an API
|
|
59
|
+
* key like `scope`. `GET /analytics/devices`
|
|
60
|
+
*/
|
|
61
|
+
devices(params?: ClientAnalyticsRequest): Promise<DevicesAnalyticsResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Geo analytics over the canonical client-context observation per payment:
|
|
64
|
+
* country totals, city bubbles (IP mode), buyer languages, buyer-local
|
|
65
|
+
* purchase hours and the IP-vs-billing mismatch share. `mode` selects the
|
|
66
|
+
* location claim (`ip` default, `billing`); the two are never coalesced.
|
|
67
|
+
* Same drill, window, gating and API-key contract as `devices`.
|
|
68
|
+
* `GET /analytics/geo`
|
|
69
|
+
*/
|
|
70
|
+
geo(params?: ClientAnalyticsRequest): Promise<GeoAnalyticsResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* The recent payments behind one clicked geo target: a map country (in the
|
|
73
|
+
* active claim mode), optionally narrowed to an IP-resolved city, or one
|
|
74
|
+
* buyer-local heatmap cell (`dow` + `hour`, paid sessions only). Same
|
|
75
|
+
* window/scope/filter and gating contract as `geo`; capped at 50 rows,
|
|
76
|
+
* newest first, with the full match count alongside.
|
|
77
|
+
* `GET /analytics/geo/transactions`
|
|
78
|
+
*/
|
|
79
|
+
geoTransactions(params: GeoDrillRequest): Promise<DrillResponse>;
|
|
80
|
+
/**
|
|
81
|
+
* The recent payments behind one clicked device target: exactly one of a
|
|
82
|
+
* browser family, a platform family, an identified device-model label, or
|
|
83
|
+
* a device class. Family/model targets are resolved server-side with the
|
|
84
|
+
* same classifiers the cards use. Same window/scope/filter and gating
|
|
85
|
+
* contract as `devices`; 50 rows per page (`offset` for the next page),
|
|
86
|
+
* newest first, with the full match count alongside.
|
|
87
|
+
* `GET /analytics/devices/transactions`
|
|
88
|
+
*/
|
|
89
|
+
deviceTransactions(params: DeviceDrillRequest): Promise<DrillResponse>;
|
|
90
|
+
/**
|
|
91
|
+
* The payments behind one clicked element of the payments dashboard: a
|
|
92
|
+
* processor-donut slice, a payment-method slice, an outcome segment of a
|
|
93
|
+
* series bar, a series bucket, or a breakdown row — combinable, with
|
|
94
|
+
* `target_bucket` narrowing every other target. The outcome mapping is the
|
|
95
|
+
* one the series and donuts are folded with, expanded server-side, so the
|
|
96
|
+
* list is what the clicked number was made of. Rows and the whole-match
|
|
97
|
+
* `summary` carry USD figures converted with the dashboard's own rates.
|
|
98
|
+
* Same window/scope/chip contract as `scope`; sorted per `sort_on` /
|
|
99
|
+
* `sort_by`, `limit` rows (default 50) per page, `offset` for the next.
|
|
100
|
+
* `GET /analytics/scope/transactions`
|
|
101
|
+
*/
|
|
102
|
+
scopeTransactions(params: ScopeDrillRequest): Promise<DrillResponse>;
|
|
103
|
+
/**
|
|
104
|
+
* Subscription analytics over `subscription` and `invoice`: estimated
|
|
105
|
+
* recurring volume, the invoice funnel, movement (new / expansion /
|
|
106
|
+
* contraction / churn), both processor axes, plan mix and the breakdown one
|
|
107
|
+
* level below the scope. Pinned server-side to your own merchant and
|
|
108
|
+
* drillable via `project_id` / `shop_id` exactly like `scope`.
|
|
109
|
+
*
|
|
110
|
+
* Half the figures are **stocks** — a snapshot at the window's end rather
|
|
111
|
+
* than a sum over it — so `est_monthly_volume_usd` and `active` can match
|
|
112
|
+
* across a 7-day and a 30-day window while `billed_volume_usd` does not.
|
|
113
|
+
* Day granularity only. Accepts an API key like `scope`.
|
|
114
|
+
* `GET /analytics/subscriptions`
|
|
115
|
+
*/
|
|
116
|
+
subscriptions(params?: SubscriptionAnalyticsRequest): Promise<SubscriptionAnalyticsResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* The billing cycles behind one clicked element of the subscription
|
|
119
|
+
* dashboard: an invoice outcome, a processor slice on either axis, a plan
|
|
120
|
+
* row, a subscription status, a movement component, a series bucket or a
|
|
121
|
+
* breakdown row. Same window/scope/filter contract as `subscriptions`; 50
|
|
122
|
+
* rows per page (`offset` for the next), newest first, with the full match
|
|
123
|
+
* count alongside.
|
|
124
|
+
*
|
|
125
|
+
* A cycle that never reached a payment is listed too — that is what "still
|
|
126
|
+
* unpaid" means — and carries its invoice id as `payment_id` with
|
|
127
|
+
* `invoice_id` set to the same value, so you can always tell which you got.
|
|
128
|
+
* `GET /analytics/subscriptions/list`
|
|
129
|
+
*/
|
|
130
|
+
subscriptionsList(params: SubscriptionDrillRequest): Promise<DrillResponse>;
|
|
131
|
+
/**
|
|
132
|
+
* Every analytics exclusion of the merchant, with the payments each one
|
|
133
|
+
* matched in the lookback window.
|
|
134
|
+
*
|
|
135
|
+
* These rules change what the merchant's own dashboards count. Financial
|
|
136
|
+
* records and transaction lists are never filtered by them.
|
|
137
|
+
*
|
|
138
|
+
* `matched_payments` counts overlap between rules: a payment matched by
|
|
139
|
+
* three rules is counted once by each, so the values are not additive. The
|
|
140
|
+
* envelope's `best_effort` and `lookback_days` apply to every row — matching
|
|
141
|
+
* runs on client signals that may be absent or expired, within that window.
|
|
142
|
+
* `GET /analytics/exclusions`
|
|
143
|
+
*/
|
|
144
|
+
listExclusions(): Promise<AnalyticsExclusionsResponse>;
|
|
145
|
+
/**
|
|
146
|
+
* Write a new exclusion. A shop-scoped user must name their own shop in
|
|
147
|
+
* `profile_id`; omitting it applies the rule to every shop of the merchant.
|
|
148
|
+
* Omitting `surfaces` means **all five**, not none.
|
|
149
|
+
* `POST /analytics/exclusions`
|
|
150
|
+
*/
|
|
151
|
+
createExclusion(rule: AnalyticsExclusionRequest): Promise<AnalyticsExclusionResponse>;
|
|
152
|
+
/**
|
|
153
|
+
* Replace a stored exclusion **completely**. This is not a patch: every
|
|
154
|
+
* field you leave out reverts to its default rather than keeping its stored
|
|
155
|
+
* value, so send the whole rule — including an explicit `null` for a
|
|
156
|
+
* `profile_id`, `value`, `valid_from`, `valid_until` or `note` you mean to
|
|
157
|
+
* clear, and the full `surfaces` list you mean to keep.
|
|
158
|
+
* `PUT /analytics/exclusions/{id}`
|
|
159
|
+
*/
|
|
160
|
+
updateExclusion(id: string, rule: AnalyticsExclusionRequest, options?: RequestExtras): Promise<AnalyticsExclusionResponse>;
|
|
161
|
+
/**
|
|
162
|
+
* Delete a stored exclusion. Returns the rule as it was, so a caller can
|
|
163
|
+
* say what it removed. `DELETE /analytics/exclusions/{id}`
|
|
164
|
+
*/
|
|
165
|
+
deleteExclusion(id: string): Promise<AnalyticsExclusionResponse>;
|
|
166
|
+
/** Global search. `POST /analytics/search` */
|
|
167
|
+
search(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
168
|
+
/** Domain-specific search. `POST /analytics/search/{domain}` */
|
|
169
|
+
searchDomain(domain: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
170
|
+
/** Get analytics info. `GET /analytics/{domain}/info` */
|
|
171
|
+
getInfo(domain: string): Promise<Record<string, unknown>>;
|
|
172
|
+
/** Get API event logs. `GET /analytics/api-event-logs` */
|
|
173
|
+
apiEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
174
|
+
/** Get SDK event logs. `POST /analytics/sdk-event-logs` */
|
|
175
|
+
sdkEventLogs(params: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
176
|
+
/** Get connector event logs. `GET /analytics/connector-event-logs` */
|
|
177
|
+
connectorEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
178
|
+
/**
|
|
179
|
+
* Get routing event logs. `GET /analytics/routing-event-logs`
|
|
180
|
+
*
|
|
181
|
+
* @deprecated The service answers this only from a ClickHouse analytics
|
|
182
|
+
* store; with SQL analytics, the default configuration, it answers an
|
|
183
|
+
* error. To learn why a payment used a connector, read
|
|
184
|
+
* `payments.routingDecisions(paymentId)`,
|
|
185
|
+
* the routing decision recorded behind each attempt. This method stays for
|
|
186
|
+
* compatibility and still sends the same request.
|
|
187
|
+
*/
|
|
188
|
+
routingEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
189
|
+
/** Get outgoing webhook event logs. `GET /analytics/outgoing-webhook-event-logs` */
|
|
190
|
+
outgoingWebhookEventLogs(params?: Record<string, string | number | undefined>): Promise<Record<string, unknown>>;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
export { Analytics };
|