@delopay/sdk 0.403.0 → 0.409.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -18306
- 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 +418 -186
- 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 +856 -20979
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +109 -6082
- package/dist/internal.d.ts +109 -6082
- package/dist/internal.js +480 -2888
- 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-Dcy3Pwsx.d.cts → types.d.cts} +595 -11014
- package/dist/{index-Dcy3Pwsx.d.ts → types.d.ts} +595 -11014
- package/dist/types.js +1 -0
- package/dist/types.js.map +1 -0
- package/package.json +11 -1
- package/dist/chunk-JJE7PY3K.js +0 -17987
- package/dist/chunk-JJE7PY3K.js.map +0 -1
|
@@ -0,0 +1,784 @@
|
|
|
1
|
+
import { AirwallexCardPreset, AirwallexFieldChrome, AirwallexLabelStyle, AirwallexFieldFontSize, AirwallexFieldWeight, AirwallexFocusRing, AirwallexAutofillTreatment } from './airwallexCard.js';
|
|
2
|
+
import { StripeTheme, StripeInputStyle, StripeLabelPlacement, StripeSpacing, CardFieldFontSize, CardFieldWeight, CardFocusRing, PaypalCardLayout, PaypalLabelStyle, CardFieldChrome, NomupayFormStyle, ApplePayButtonStyle, ApplePayButtonType, GooglePayButtonColor, GooglePayButtonType, WhopCardPreset, WhopAccentColor, WhopGrayColor, WhopBillingDetails, WhopEmailLabel, WhopRadius, WhopShadow, WhopSelection } from './cardFormStyles.js';
|
|
3
|
+
import { VaultFormAppearance } from './types.js';
|
|
4
|
+
import { EnigmaCardFormSettings } from './enigmaCardForm.js';
|
|
5
|
+
|
|
6
|
+
type CornerRadius = 'square' | 'small' | 'medium' | 'large' | 'pill';
|
|
7
|
+
type NonPillRadius = Exclude<CornerRadius, 'pill'>;
|
|
8
|
+
type SpacingScale = 'compact' | 'comfortable' | 'spacious';
|
|
9
|
+
type SizeScale = 'sm' | 'md' | 'lg';
|
|
10
|
+
type SurfaceStyle = 'flat' | 'outlined' | 'elevated';
|
|
11
|
+
type FontFamily = 'inter' | 'system' | 'serif' | 'mono' | 'roboto' | 'poppins' | 'manrope' | 'dm-sans' | 'space-grotesk' | 'plex-sans' | 'work-sans' | 'open-sans' | 'lora' | 'playfair' | 'plex-mono' | 'jetbrains-mono';
|
|
12
|
+
type FontWeight = 'regular' | 'medium' | 'semibold' | 'bold';
|
|
13
|
+
type LayoutStyle = 'compact' | 'split';
|
|
14
|
+
type SummaryPosition = 'left' | 'right';
|
|
15
|
+
type LabelStyle = 'above' | 'hidden';
|
|
16
|
+
type PaymentLayout = 'tabs' | 'accordion' | 'spaced_accordion';
|
|
17
|
+
type LogoShape = 'square' | 'rounded' | 'circle';
|
|
18
|
+
type LogoSize = 'sm' | 'md' | 'lg';
|
|
19
|
+
type SurchargePosition = 'inline' | 'trailing' | 'below' | 'above' | 'cornerStart' | 'cornerEnd';
|
|
20
|
+
type NativeElementPosition = 'top' | 'belowFields' | 'belowCard' | 'bottom';
|
|
21
|
+
type SurchargeStyle = 'plain' | 'badge' | 'outline' | 'solid' | 'underline' | 'ribbon';
|
|
22
|
+
type SurchargeBorderWidth = 'none' | 'thin' | 'medium' | 'thick';
|
|
23
|
+
type SurchargeBorderStyle = 'solid' | 'dashed' | 'dotted';
|
|
24
|
+
type SurchargeSize = 'sm' | 'md' | 'lg';
|
|
25
|
+
type SurchargeShape = 'pill' | 'rounded' | 'square';
|
|
26
|
+
type SurchargeWeight = 'regular' | 'medium' | 'bold';
|
|
27
|
+
type SurchargeSign = 'always' | 'minusOnly' | 'none';
|
|
28
|
+
type SurchargeLabelMode = 'amount' | 'labelled';
|
|
29
|
+
type SurchargeFigureMode = 'amount' | 'percent' | 'amountThenPercent' | 'percentThenAmount';
|
|
30
|
+
/**
|
|
31
|
+
* Whether the tile has room to print the wording alongside the figure.
|
|
32
|
+
*
|
|
33
|
+
* One pairing says no: the diagonal ribbon at either corner. That band is
|
|
34
|
+
* clipped by the tile it crosses, and the readable length is set by how far the
|
|
35
|
+
* corner is inset — roughly 75px on a standard payment tile, against roughly
|
|
36
|
+
* 107px for a labelled figure at the default size. Printing the word there
|
|
37
|
+
* clips the *figure*, and a half-shown price is worse than a plain one, so the
|
|
38
|
+
* word is what gives way.
|
|
39
|
+
*
|
|
40
|
+
* Exported, and shared by the buyer-facing checkout and the dashboard's live
|
|
41
|
+
* preview, because the two must reach the same answer. A preview that promises
|
|
42
|
+
* a word the checkout will not print is the one failure a preview cannot have.
|
|
43
|
+
*/
|
|
44
|
+
declare function surchargeShowsLabel(labelMode: SurchargeLabelMode, style: SurchargeStyle, position: SurchargePosition): boolean;
|
|
45
|
+
/** One of the two things a tile can print. */
|
|
46
|
+
type SurchargeFigurePart = 'amount' | 'percent';
|
|
47
|
+
/** Exactly what one tile prints, in order. See {@link surchargeFigurePlan}. */
|
|
48
|
+
interface SurchargeFigurePlan {
|
|
49
|
+
/** The leading figure. Always present — a tile with nothing to say renders nothing at all. */
|
|
50
|
+
first: SurchargeFigurePart;
|
|
51
|
+
/** The trailing figure, parenthesised by the renderer, or `null` for one figure. */
|
|
52
|
+
second: SurchargeFigurePart | null;
|
|
53
|
+
/** Whether the localized direction word prefixes the whole thing. */
|
|
54
|
+
label: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* What one tile prints: which figures, in which order, and whether the word
|
|
58
|
+
* comes with them.
|
|
59
|
+
*
|
|
60
|
+
* One function rather than a rule per surface, because the buyer-facing tile
|
|
61
|
+
* and the dashboard's live preview must reach the same answer. A preview that
|
|
62
|
+
* shows a percentage the checkout will not print — or prints in the other
|
|
63
|
+
* order — is the one failure a preview cannot have.
|
|
64
|
+
*
|
|
65
|
+
* Three things it decides, in order of how much they cost to get wrong:
|
|
66
|
+
*
|
|
67
|
+
* * **No percentage available, no percentage printed.** `percentAvailable` is
|
|
68
|
+
* false when the router sent none, which happens on an order of zero. A
|
|
69
|
+
* merchant who asked for `percent` gets the amount instead — never a blank
|
|
70
|
+
* tile, and never `0%`. This is the fallback the whole design leans on: the
|
|
71
|
+
* amount is exact in every case, so it is what every degradation lands on.
|
|
72
|
+
* * **A corner ribbon prints one figure.** The band crossing a tile's corner
|
|
73
|
+
* is clipped to roughly 75px of readable length; two figures and a word do
|
|
74
|
+
* not fit, and clipping a *price* is worse than showing less of one. It
|
|
75
|
+
* keeps the merchant's leading figure — their own statement of which half
|
|
76
|
+
* matters — and drops the trailing one along with the word.
|
|
77
|
+
* * **Direction picks the setting.** `discountFigure` for a credit,
|
|
78
|
+
* `surchargeFigure` for a charge, because a saving and a fee are not the
|
|
79
|
+
* same message even though they are the same mechanism.
|
|
80
|
+
*/
|
|
81
|
+
declare function surchargeFigurePlan(branding: Pick<CheckoutBranding, 'surchargeFigure' | 'discountFigure' | 'surchargeLabel' | 'surchargeStyle' | 'surchargePosition'>, isDiscount: boolean, percentAvailable: boolean): SurchargeFigurePlan;
|
|
82
|
+
/**
|
|
83
|
+
* Black or white, whichever reads better on `color` — for the `solid` style,
|
|
84
|
+
* which writes on the configured colour itself.
|
|
85
|
+
*
|
|
86
|
+
* Picked by contrast rather than by a luminance threshold so the answer is the
|
|
87
|
+
* one WCAG would give, and falls back to white on an unparseable colour, which
|
|
88
|
+
* is what the rest of this module does with a colour it cannot read.
|
|
89
|
+
*/
|
|
90
|
+
declare function readableInkOn(color: string): string;
|
|
91
|
+
/**
|
|
92
|
+
* The values each disclosure axis accepts, in the order a picker should offer
|
|
93
|
+
* them: quietest first, so a merchant scrolling down is turning the figure up.
|
|
94
|
+
*
|
|
95
|
+
* Exported because both the dashboard's picker and this module's decoder need
|
|
96
|
+
* the same list, and a picker offering a value the decoder rejects is a control
|
|
97
|
+
* that silently does nothing.
|
|
98
|
+
*/
|
|
99
|
+
declare const SURCHARGE_POSITIONS: readonly SurchargePosition[];
|
|
100
|
+
declare const NATIVE_ELEMENT_POSITIONS: readonly NativeElementPosition[];
|
|
101
|
+
declare const SURCHARGE_STYLES: readonly SurchargeStyle[];
|
|
102
|
+
declare const SURCHARGE_BORDER_WIDTHS: readonly SurchargeBorderWidth[];
|
|
103
|
+
declare const SURCHARGE_BORDER_STYLES: readonly SurchargeBorderStyle[];
|
|
104
|
+
declare const SURCHARGE_SIZES: readonly SurchargeSize[];
|
|
105
|
+
/**
|
|
106
|
+
* Whether a style draws a shape behind the figure, and therefore whether
|
|
107
|
+
* {@link SurchargeShape} means anything for it.
|
|
108
|
+
*
|
|
109
|
+
* `plain` and `underline` paint text. A dashboard that leaves the corner picker
|
|
110
|
+
* live under them offers a control that changes nothing on screen, which is how
|
|
111
|
+
* a merchant decides the whole panel is broken; one that hides it loses their
|
|
112
|
+
* choice when they switch back. Disabled is the answer, and this is the
|
|
113
|
+
* predicate it needs.
|
|
114
|
+
*/
|
|
115
|
+
declare function surchargeStyleDrawsAShape(style: SurchargeStyle): boolean;
|
|
116
|
+
declare const SURCHARGE_SHAPES: readonly SurchargeShape[];
|
|
117
|
+
declare const SURCHARGE_WEIGHTS: readonly SurchargeWeight[];
|
|
118
|
+
declare const SURCHARGE_SIGNS: readonly SurchargeSign[];
|
|
119
|
+
declare const SURCHARGE_LABEL_MODES: readonly SurchargeLabelMode[];
|
|
120
|
+
declare const SURCHARGE_FIGURE_MODES: readonly SurchargeFigureMode[];
|
|
121
|
+
/**
|
|
122
|
+
* The buyer locales the checkout ships copy for, and therefore the ones a
|
|
123
|
+
* merchant can override.
|
|
124
|
+
*
|
|
125
|
+
* Driven from here rather than restated in the dashboard, so a locale added to
|
|
126
|
+
* the checkout cannot leave the dashboard offering one fewer box than the
|
|
127
|
+
* buyer-facing render reads.
|
|
128
|
+
*/
|
|
129
|
+
declare const CHECKOUT_LOCALES: readonly ["en", "de", "fr", "es", "it", "nl", "zh", "zh-Hant", "hi", "ar"];
|
|
130
|
+
type CheckoutLocale = (typeof CHECKOUT_LOCALES)[number];
|
|
131
|
+
/**
|
|
132
|
+
* Locales written right-to-left, for a UI that renders a merchant's override
|
|
133
|
+
* next to the others.
|
|
134
|
+
*
|
|
135
|
+
* A dashboard field holding Arabic needs `dir="rtl"` on the input itself:
|
|
136
|
+
* without it the caret jumps, punctuation lands on the wrong end, and what the
|
|
137
|
+
* merchant types is not what the buyer will see. Exported rather than kept in
|
|
138
|
+
* the dashboard so the buyer-facing checkout and the editor agree on which
|
|
139
|
+
* locales that is.
|
|
140
|
+
*/
|
|
141
|
+
declare const RTL_CHECKOUT_LOCALES: readonly CheckoutLocale[];
|
|
142
|
+
/**
|
|
143
|
+
* `dir` for a checkout locale — `'rtl'` for Arabic, `'ltr'` for the rest.
|
|
144
|
+
*
|
|
145
|
+
* Resolved on the **base language**, the same way `checkoutCopy` resolves an
|
|
146
|
+
* override. Comparing the full string looked equivalent and was not: a buyer
|
|
147
|
+
* sending `ar-EG` gets the `ar` copy from `checkoutCopy` and would have got
|
|
148
|
+
* `ltr` from here — Arabic text in a left-to-right layout, which is the exact
|
|
149
|
+
* failure this function exists to prevent. Case is folded for the same reason;
|
|
150
|
+
* `Accept-Language` may arrive as `AR`.
|
|
151
|
+
*/
|
|
152
|
+
declare function checkoutLocaleDir(locale: string): 'ltr' | 'rtl';
|
|
153
|
+
/**
|
|
154
|
+
* The copy fields a merchant may write once per locale.
|
|
155
|
+
*
|
|
156
|
+
* Each has a flat `<field>` and a `<field>Translations` map beside it. The flat
|
|
157
|
+
* value is what every existing merchant already has and stays authoritative
|
|
158
|
+
* wherever no override is set — which is what makes this additive: a profile
|
|
159
|
+
* saved before translations existed renders exactly as it did, in every locale.
|
|
160
|
+
*/
|
|
161
|
+
declare const LOCALIZABLE_COPY_FIELDS: readonly ["headerText", "payButtonLabel", "cardTermsMessage", "footerText"];
|
|
162
|
+
type LocalizableCopyField = (typeof LOCALIZABLE_COPY_FIELDS)[number];
|
|
163
|
+
/** The translations key that belongs to a copy field. */
|
|
164
|
+
declare function copyTranslationsKey(field: LocalizableCopyField): `${LocalizableCopyField}Translations`;
|
|
165
|
+
/**
|
|
166
|
+
* One piece of merchant copy, in the buyer's locale.
|
|
167
|
+
*
|
|
168
|
+
* Exact locale wins (`de-AT`), then its base language (`de`), then the flat
|
|
169
|
+
* field — the same order `customFieldText` resolves in, because a merchant who
|
|
170
|
+
* has learnt one of these should not have to learn the other.
|
|
171
|
+
*
|
|
172
|
+
* Returning the flat value rather than `''` is the backward-compatibility
|
|
173
|
+
* guarantee: an override is an addition to what a merchant already wrote, never
|
|
174
|
+
* a replacement for it, so an empty or missing map changes nothing.
|
|
175
|
+
*/
|
|
176
|
+
declare function checkoutCopy(branding: CheckoutBranding, field: LocalizableCopyField, locale?: string): string;
|
|
177
|
+
/**
|
|
178
|
+
* The merchant's own word for one direction, or `null` to use the checkout's
|
|
179
|
+
* built-in one.
|
|
180
|
+
*
|
|
181
|
+
* `null` rather than a default string because the fallback is *localized* and
|
|
182
|
+
* lives in the buyer-facing bundle — this module has no i18n of its own, and
|
|
183
|
+
* inventing an English default here would print "Discount" to a German buyer.
|
|
184
|
+
*
|
|
185
|
+
* A merchant who sets nothing therefore keeps the shipped wording in both
|
|
186
|
+
* languages, which is the intended default and already reads well.
|
|
187
|
+
*/
|
|
188
|
+
declare function surchargeWordFor(branding: Pick<CheckoutBranding, 'surchargeWordTranslations' | 'discountWordTranslations'>, isDiscount: boolean, locale?: string): string | null;
|
|
189
|
+
interface TrustBadge {
|
|
190
|
+
id: string;
|
|
191
|
+
label: string;
|
|
192
|
+
textColor: string;
|
|
193
|
+
backgroundColor: string;
|
|
194
|
+
borderColor: string | null;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Where a notice is drawn.
|
|
198
|
+
*
|
|
199
|
+
* - `summary`: under the order summary in the split layout; under the compact
|
|
200
|
+
* header when there is no summary pane.
|
|
201
|
+
* - `payment`: at the bottom of the payment element, under the pay button.
|
|
202
|
+
*/
|
|
203
|
+
type NoticeSection = 'summary' | 'payment';
|
|
204
|
+
declare const NOTICE_SECTIONS: readonly NoticeSection[];
|
|
205
|
+
/**
|
|
206
|
+
* How many notices one section draws. More than three stops reading as
|
|
207
|
+
* reassurance and starts reading as small print, so the decoder drops the
|
|
208
|
+
* overflow and the editor refuses a fourth.
|
|
209
|
+
*/
|
|
210
|
+
declare const NOTICES_PER_SECTION = 3;
|
|
211
|
+
/** Longest notice text, per locale. A notice is one line, not a paragraph. */
|
|
212
|
+
declare const NOTICE_LABEL_MAX_LENGTH = 80;
|
|
213
|
+
/** The marks a notice can carry, in the order the editor's grid offers them. */
|
|
214
|
+
declare const NOTICE_ICONS: readonly ["lock", "shield", "check", "truck", "package", "refresh", "star", "support", "globe", "tag", "heart", "leaf", "clock", "bank"];
|
|
215
|
+
type NoticeIcon = (typeof NOTICE_ICONS)[number];
|
|
216
|
+
/** What an unknown or missing icon decodes to. */
|
|
217
|
+
declare const NOTICE_ICON_FALLBACK: NoticeIcon;
|
|
218
|
+
/**
|
|
219
|
+
* Each mark as SVG path data on a 24×24 grid, stroked (not filled) with round
|
|
220
|
+
* caps and joins.
|
|
221
|
+
*
|
|
222
|
+
* Kept here rather than drawn twice so the checkout and the customizer's icon
|
|
223
|
+
* grid cannot disagree about what "shield" looks like: both render these
|
|
224
|
+
* strings, and a mark added to `NOTICE_ICONS` without paths is a type error.
|
|
225
|
+
* Every shape is a `<path>` — circles, rectangles and polylines included —
|
|
226
|
+
* so a renderer needs one element type and no per-icon template.
|
|
227
|
+
*/
|
|
228
|
+
declare const NOTICE_ICON_PATHS: Readonly<Record<NoticeIcon, readonly string[]>>;
|
|
229
|
+
declare function isNoticeIcon(value: unknown): value is NoticeIcon;
|
|
230
|
+
interface CheckoutNotice {
|
|
231
|
+
/** Stable across edits and drags; `[A-Za-z0-9_-]`, at most 40 characters. */
|
|
232
|
+
id: string;
|
|
233
|
+
section: NoticeSection;
|
|
234
|
+
icon: NoticeIcon;
|
|
235
|
+
/** Default-language text, and what every locale without an override reads. */
|
|
236
|
+
label: string;
|
|
237
|
+
/** Per-locale overrides of `label`; a blank entry means "use `label`". */
|
|
238
|
+
labelTranslations: CustomFieldTranslations;
|
|
239
|
+
}
|
|
240
|
+
type CustomFieldType = 'text' | 'textarea' | 'password' | 'email' | 'select' | 'checkbox';
|
|
241
|
+
type CustomFieldTranslations = Record<string, string>;
|
|
242
|
+
interface CustomFieldOption {
|
|
243
|
+
value: string;
|
|
244
|
+
label: string;
|
|
245
|
+
labelTranslations: CustomFieldTranslations;
|
|
246
|
+
}
|
|
247
|
+
type CustomFieldConditionSource = 'metadata' | 'currency' | 'amount';
|
|
248
|
+
type CustomFieldOperator = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'starts_with' | 'ends_with' | 'in' | 'not_in' | 'exists' | 'not_exists' | 'gt' | 'gte' | 'lt' | 'lte';
|
|
249
|
+
interface CustomFieldCondition {
|
|
250
|
+
id: string;
|
|
251
|
+
source: CustomFieldConditionSource;
|
|
252
|
+
key: string;
|
|
253
|
+
operator: CustomFieldOperator;
|
|
254
|
+
value: string;
|
|
255
|
+
}
|
|
256
|
+
interface CustomFieldVisibility {
|
|
257
|
+
mode: 'always' | 'match';
|
|
258
|
+
match: 'all' | 'any';
|
|
259
|
+
conditions: CustomFieldCondition[];
|
|
260
|
+
}
|
|
261
|
+
interface CheckoutCustomField {
|
|
262
|
+
id: string;
|
|
263
|
+
key: string;
|
|
264
|
+
type: CustomFieldType;
|
|
265
|
+
label: string;
|
|
266
|
+
labelTranslations: CustomFieldTranslations;
|
|
267
|
+
placeholder: string;
|
|
268
|
+
placeholderTranslations: CustomFieldTranslations;
|
|
269
|
+
helpText: string;
|
|
270
|
+
helpTextTranslations: CustomFieldTranslations;
|
|
271
|
+
required: boolean;
|
|
272
|
+
enabled: boolean;
|
|
273
|
+
minLength: number | null;
|
|
274
|
+
maxLength: number | null;
|
|
275
|
+
defaultValue: string;
|
|
276
|
+
options: CustomFieldOption[];
|
|
277
|
+
visibility: CustomFieldVisibility;
|
|
278
|
+
}
|
|
279
|
+
interface CheckoutBranding extends EnigmaCardFormSettings {
|
|
280
|
+
displayName: string;
|
|
281
|
+
logoUrl: string;
|
|
282
|
+
tagline: string;
|
|
283
|
+
showLogo: boolean;
|
|
284
|
+
logoShape: LogoShape;
|
|
285
|
+
logoSize: LogoSize;
|
|
286
|
+
primary: string;
|
|
287
|
+
background: string;
|
|
288
|
+
surface: string;
|
|
289
|
+
text: string;
|
|
290
|
+
heading: string;
|
|
291
|
+
muted: string;
|
|
292
|
+
border: string;
|
|
293
|
+
accentText: string;
|
|
294
|
+
buttonBackground: string;
|
|
295
|
+
buttonText: string;
|
|
296
|
+
fontFamily: FontFamily;
|
|
297
|
+
headingWeight: FontWeight;
|
|
298
|
+
radiusSurface: NonPillRadius;
|
|
299
|
+
radiusInput: NonPillRadius;
|
|
300
|
+
radiusButton: CornerRadius;
|
|
301
|
+
radiusBadge: CornerRadius;
|
|
302
|
+
surfaceStyle: SurfaceStyle;
|
|
303
|
+
surfacePadding: SpacingScale;
|
|
304
|
+
verticalGap: SpacingScale;
|
|
305
|
+
inputSize: SizeScale;
|
|
306
|
+
buttonSize: SizeScale;
|
|
307
|
+
layout: LayoutStyle;
|
|
308
|
+
summaryPosition: SummaryPosition;
|
|
309
|
+
showOrderSummary: boolean;
|
|
310
|
+
summaryGradient: boolean;
|
|
311
|
+
showTotal: boolean;
|
|
312
|
+
totalLabel: string;
|
|
313
|
+
showCurrencyCode: boolean;
|
|
314
|
+
showOrderItems: boolean;
|
|
315
|
+
cancelLinkEnabled: boolean;
|
|
316
|
+
cancelLinkPosition: 'top' | 'bottom';
|
|
317
|
+
cancelLinkStyle: 'link' | 'button';
|
|
318
|
+
showSurcharge: boolean;
|
|
319
|
+
surchargePosition: SurchargePosition;
|
|
320
|
+
nativeElementPosition: NativeElementPosition;
|
|
321
|
+
nativeElementStacked: boolean;
|
|
322
|
+
surchargeStyle: SurchargeStyle;
|
|
323
|
+
surchargeSize: SurchargeSize;
|
|
324
|
+
surchargeShape: SurchargeShape;
|
|
325
|
+
surchargeBorderWidth: SurchargeBorderWidth;
|
|
326
|
+
surchargeBorderStyle: SurchargeBorderStyle;
|
|
327
|
+
surchargeWeight: SurchargeWeight;
|
|
328
|
+
surchargeSign: SurchargeSign;
|
|
329
|
+
surchargeUppercase: boolean;
|
|
330
|
+
surchargeLabel: SurchargeLabelMode;
|
|
331
|
+
surchargeFigure: SurchargeFigureMode;
|
|
332
|
+
discountFigure: SurchargeFigureMode;
|
|
333
|
+
surchargeWordTranslations: CustomFieldTranslations;
|
|
334
|
+
discountWordTranslations: CustomFieldTranslations;
|
|
335
|
+
surchargeColor: string;
|
|
336
|
+
discountColor: string;
|
|
337
|
+
trustBadges: TrustBadge[];
|
|
338
|
+
notices: CheckoutNotice[];
|
|
339
|
+
customFields: CheckoutCustomField[];
|
|
340
|
+
methodSectionOrder: MethodSectionOrder;
|
|
341
|
+
methodSectionLabels: MethodSectionLabels;
|
|
342
|
+
headerText: string;
|
|
343
|
+
headerTextTranslations: CustomFieldTranslations;
|
|
344
|
+
payButtonLabel: string;
|
|
345
|
+
payButtonLabelTranslations: CustomFieldTranslations;
|
|
346
|
+
cardTermsMessage: string;
|
|
347
|
+
cardTermsMessageTranslations: CustomFieldTranslations;
|
|
348
|
+
footerText: string;
|
|
349
|
+
footerTextTranslations: CustomFieldTranslations;
|
|
350
|
+
supportEmail: string;
|
|
351
|
+
paymentLayout: PaymentLayout;
|
|
352
|
+
labelStyle: LabelStyle;
|
|
353
|
+
airwallexCardPreset: AirwallexCardPreset | '';
|
|
354
|
+
airwallexHideCard: boolean;
|
|
355
|
+
airwallexHideCardTitle: boolean;
|
|
356
|
+
airwallexFieldChrome: AirwallexFieldChrome;
|
|
357
|
+
airwallexLabelStyle: AirwallexLabelStyle | '';
|
|
358
|
+
airwallexFieldFontSize: AirwallexFieldFontSize;
|
|
359
|
+
airwallexFieldWeight: AirwallexFieldWeight;
|
|
360
|
+
airwallexFocusRing: AirwallexFocusRing;
|
|
361
|
+
airwallexAutofill: AirwallexAutofillTreatment;
|
|
362
|
+
airwallexValidTint: boolean;
|
|
363
|
+
airwallexNetworkMarks: boolean;
|
|
364
|
+
stripeTheme: StripeTheme;
|
|
365
|
+
stripeInputs: StripeInputStyle;
|
|
366
|
+
stripeLabels: StripeLabelPlacement;
|
|
367
|
+
stripeSpacing: StripeSpacing;
|
|
368
|
+
stripeFieldFontSize: CardFieldFontSize;
|
|
369
|
+
stripeFieldWeight: CardFieldWeight;
|
|
370
|
+
stripeFocusRing: CardFocusRing;
|
|
371
|
+
stripeDisableAnimations: boolean;
|
|
372
|
+
paypalCardLayout: PaypalCardLayout;
|
|
373
|
+
paypalLabelStyle: PaypalLabelStyle;
|
|
374
|
+
paypalFieldChrome: CardFieldChrome;
|
|
375
|
+
mollieFieldChrome: CardFieldChrome;
|
|
376
|
+
paypalFieldFontSize: CardFieldFontSize;
|
|
377
|
+
mollieFieldFontSize: CardFieldFontSize;
|
|
378
|
+
paypalFieldWeight: CardFieldWeight;
|
|
379
|
+
mollieFieldWeight: CardFieldWeight;
|
|
380
|
+
paypalFocusRing: CardFocusRing;
|
|
381
|
+
mollieFocusRing: CardFocusRing;
|
|
382
|
+
paypalValidTint: boolean;
|
|
383
|
+
epayoutsCardLayout: PaypalCardLayout;
|
|
384
|
+
epayoutsLabelStyle: PaypalLabelStyle;
|
|
385
|
+
epayoutsFieldChrome: CardFieldChrome;
|
|
386
|
+
epayoutsFieldFontSize: CardFieldFontSize;
|
|
387
|
+
epayoutsFieldWeight: CardFieldWeight;
|
|
388
|
+
epayoutsFocusRing: CardFocusRing;
|
|
389
|
+
epayoutsValidTint: boolean;
|
|
390
|
+
nomupayFormStyle: NomupayFormStyle;
|
|
391
|
+
nomupayShowLabels: boolean;
|
|
392
|
+
nomupayShowPlaceholders: boolean;
|
|
393
|
+
nomupayShowCvvHint: boolean;
|
|
394
|
+
nomupayFieldChrome: CardFieldChrome;
|
|
395
|
+
nomupayFieldFontSize: CardFieldFontSize;
|
|
396
|
+
nomupayFocusRing: CardFocusRing;
|
|
397
|
+
nomupayApplePayButtonStyle: ApplePayButtonStyle;
|
|
398
|
+
nomupayApplePayButtonType: ApplePayButtonType;
|
|
399
|
+
nomupayGooglePayButtonColor: GooglePayButtonColor;
|
|
400
|
+
nomupayGooglePayButtonType: GooglePayButtonType;
|
|
401
|
+
micropaymentFieldChrome: CardFieldChrome;
|
|
402
|
+
micropaymentFieldFontSize: CardFieldFontSize;
|
|
403
|
+
micropaymentFieldWeight: CardFieldWeight;
|
|
404
|
+
micropaymentFocusRing: CardFocusRing;
|
|
405
|
+
whopCardPreset: WhopCardPreset;
|
|
406
|
+
whopAccentColor: WhopAccentColor;
|
|
407
|
+
whopGrayColor: WhopGrayColor;
|
|
408
|
+
whopBillingDetails: WhopBillingDetails;
|
|
409
|
+
whopSeparated: boolean;
|
|
410
|
+
whopEmailLabel: WhopEmailLabel;
|
|
411
|
+
whopFieldChrome: CardFieldChrome;
|
|
412
|
+
whopFieldFontSize: CardFieldFontSize;
|
|
413
|
+
whopFieldWeight: CardFieldWeight;
|
|
414
|
+
whopFocusRing: CardFocusRing;
|
|
415
|
+
whopRadius: WhopRadius;
|
|
416
|
+
whopShadow: WhopShadow;
|
|
417
|
+
whopMethodIcons: boolean;
|
|
418
|
+
whopSelection: WhopSelection;
|
|
419
|
+
showPoweredBy: boolean;
|
|
420
|
+
customCss: string;
|
|
421
|
+
}
|
|
422
|
+
declare function fontStack(family: FontFamily): string;
|
|
423
|
+
declare function radiusValue(radius: CornerRadius): string;
|
|
424
|
+
declare function fontWeightValue(weight: FontWeight): string;
|
|
425
|
+
declare function surfacePadValue(scale: SpacingScale): string;
|
|
426
|
+
declare function verticalGapValue(scale: SpacingScale): string;
|
|
427
|
+
declare function inputPadValue(size: SizeScale): string;
|
|
428
|
+
declare function buttonPadValue(size: SizeScale): string;
|
|
429
|
+
/**
|
|
430
|
+
* The look a vault's own card form takes to match a checkout with this
|
|
431
|
+
* branding: pass it to `CheckoutSession.vaultCollectSession`.
|
|
432
|
+
*
|
|
433
|
+
* `danger` is the colour of an invalid field's border. The checkout picks it
|
|
434
|
+
* for contrast on the surface, which this module does not measure, so the
|
|
435
|
+
* caller supplies it.
|
|
436
|
+
*/
|
|
437
|
+
declare function vaultFormAppearance(b: CheckoutBranding, danger?: string, options?: {
|
|
438
|
+
designed?: boolean;
|
|
439
|
+
}): VaultFormAppearance;
|
|
440
|
+
/** A filled field's tint when the shop sets none: 6% of the text in the surface. */
|
|
441
|
+
declare function enigmaDefaultFill(surface: string, text: string): string;
|
|
442
|
+
declare function logoDimensions(size: LogoSize): {
|
|
443
|
+
px: number;
|
|
444
|
+
radius: number;
|
|
445
|
+
};
|
|
446
|
+
declare function isHexColor(value: string): boolean;
|
|
447
|
+
/** Minimum contrast for body text — WCAG 2.1 success criterion 1.4.3. */
|
|
448
|
+
declare const WCAG_AA_TEXT = 4.5;
|
|
449
|
+
/**
|
|
450
|
+
* Minimum contrast for non-text UI — WCAG 2.1 success criterion 1.4.11.
|
|
451
|
+
* Focus rings, borders, icons carrying meaning.
|
|
452
|
+
*/
|
|
453
|
+
declare const WCAG_AA_UI = 3;
|
|
454
|
+
/**
|
|
455
|
+
* WCAG 2.1 contrast ratio between two colours, 1–21. Order does not matter.
|
|
456
|
+
*
|
|
457
|
+
* Compare against {@link WCAG_AA_TEXT} or {@link WCAG_AA_UI}:
|
|
458
|
+
*
|
|
459
|
+
* ```ts
|
|
460
|
+
* const ratio = contrastRatio(branding.surface, branding.text);
|
|
461
|
+
* if (ratio === null || ratio < WCAG_AA_TEXT) useDefaultPalette();
|
|
462
|
+
* ```
|
|
463
|
+
*
|
|
464
|
+
* ⚠️ Returns `null` — never a number — when either colour cannot be parsed.
|
|
465
|
+
* That is the load-bearing part of this signature. Every colour bug this API
|
|
466
|
+
* exists to prevent came from a helper answering with a plausible value for
|
|
467
|
+
* something it could not read, and a `0` or a `21` here would be silently
|
|
468
|
+
* believed by exactly the branch that is deciding whether text is legible.
|
|
469
|
+
*
|
|
470
|
+
* Accepts `#rgb` and `#rrggbb` — a CSS `<hex-color>`. ⚠️ A hash-less token is
|
|
471
|
+
* `null`, not a ratio: `applyBrandingVariables` writes branding values into
|
|
472
|
+
* custom properties verbatim, so `'000'` reaches CSS as something that is not a
|
|
473
|
+
* colour. Returning `21` for it would approve a palette that never renders.
|
|
474
|
+
* ({@link isDarkSurface} keeps its historical hash-less tolerance; this is new
|
|
475
|
+
* API and does not inherit it.)
|
|
476
|
+
*/
|
|
477
|
+
declare function contrastRatio(a: string, b: string): number | null;
|
|
478
|
+
/**
|
|
479
|
+
* Crude perceived-luminance check — picks the right Stripe Elements preset
|
|
480
|
+
* (`'night'` vs `'stripe'`) when the merchant has a dark surface.
|
|
481
|
+
*
|
|
482
|
+
* ⚠️ **This is not a readability test. Use {@link contrastRatio} for that.**
|
|
483
|
+
* It is a YIQ luma split at 128, and on real brand colours its verdict and
|
|
484
|
+
* actual legibility are not merely imprecise relative to each other — they can
|
|
485
|
+
* be anti-correlated:
|
|
486
|
+
*
|
|
487
|
+
* | colour | `isDarkSurface` | vs white | |
|
|
488
|
+
* | --- | --- | --- | --- |
|
|
489
|
+
* | `#ff00ff` | `true` | 3.14:1 | fails AA text |
|
|
490
|
+
* | `#00ff00` | `false` | 1.37:1 | fails AA text |
|
|
491
|
+
* | `#0000ff` | `true` | 8.59:1 | passes |
|
|
492
|
+
*
|
|
493
|
+
* A caller picking text colour from this gets the wrong answer on both failing
|
|
494
|
+
* cases. It is kept because choosing a Stripe preset is a legitimate and
|
|
495
|
+
* different question.
|
|
496
|
+
*
|
|
497
|
+
* Inputs that are not a 3-/6-digit hex fall through to "light", the safer
|
|
498
|
+
* assumption for the default palette.
|
|
499
|
+
*/
|
|
500
|
+
declare function isDarkSurface(color: string): boolean;
|
|
501
|
+
declare const DEFAULT_BADGES: TrustBadge[];
|
|
502
|
+
declare const DEFAULT_BADGES_DARK: TrustBadge[];
|
|
503
|
+
/**
|
|
504
|
+
* The notices every shop starts with.
|
|
505
|
+
*
|
|
506
|
+
* The same two claims the stock badges made — the payment is secure, the
|
|
507
|
+
* connection is TLS-encrypted — and nothing more. A default is shown on every
|
|
508
|
+
* shop that has not written its own, so it may only say what is true of every
|
|
509
|
+
* shop: "free shipping" or "tax included" are the merchant's to claim, never
|
|
510
|
+
* ours.
|
|
511
|
+
*
|
|
512
|
+
* `label` is English and there is deliberately no `en` override, so the
|
|
513
|
+
* customizer's Default tab edits what an English buyer reads. The other nine
|
|
514
|
+
* checkout locales are written out, because a German buyer reading "Secure
|
|
515
|
+
* payment" is exactly what the badges did wrong.
|
|
516
|
+
*/
|
|
517
|
+
declare const DEFAULT_NOTICES: readonly CheckoutNotice[];
|
|
518
|
+
/** A deep copy of `DEFAULT_NOTICES`, safe to edit. */
|
|
519
|
+
declare function defaultNotices(): CheckoutNotice[];
|
|
520
|
+
declare function cloneNotice(notice: CheckoutNotice): CheckoutNotice;
|
|
521
|
+
/**
|
|
522
|
+
* Whether a badge list is a default DeloPay shipped rather than something the
|
|
523
|
+
* merchant configured.
|
|
524
|
+
*
|
|
525
|
+
* Stock means the two stock badges — `secure` / "Secure", then `ssl` /
|
|
526
|
+
* "256-bit SSL" — in a colouring DeloPay generated: the light default, the
|
|
527
|
+
* dark default, or a theme colouring (`isThemeTintedBadgeColouring`, the same
|
|
528
|
+
* one on both badges). Anything else was edited: a changed label, an added,
|
|
529
|
+
* removed or reordered badge, a recolour, and an empty list — a merchant who
|
|
530
|
+
* removed both badges chose to show nothing.
|
|
531
|
+
*/
|
|
532
|
+
declare function isDefaultBadgeSet(badges: readonly TrustBadge[]): boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Decide a shop's badges and notices from what it has saved.
|
|
535
|
+
*
|
|
536
|
+
* `null` means the key is absent from what was saved (or unreadable). The
|
|
537
|
+
* rule, in order:
|
|
538
|
+
*
|
|
539
|
+
* 1. Notices saved → they decide; badges are whatever was saved (none if
|
|
540
|
+
* absent). Every save since notices exist writes the key, so from a shop's
|
|
541
|
+
* first save on this is the only branch it takes — which is what makes
|
|
542
|
+
* "removed every notice" stick instead of re-migrating to the defaults.
|
|
543
|
+
* 2. No notices, and no badges or the stock badges → the badges go and the
|
|
544
|
+
* default notices come in. This is every shop that never touched its trust
|
|
545
|
+
* row.
|
|
546
|
+
* 3. No notices, and badges the merchant configured → they stay exactly as
|
|
547
|
+
* they are, and no notices are added: a shop that designed its own trust
|
|
548
|
+
* row keeps it, and one that removed it keeps it removed.
|
|
549
|
+
*
|
|
550
|
+
* Decode-time only. Nothing is written until the merchant saves.
|
|
551
|
+
*/
|
|
552
|
+
declare function resolveNoticesAndBadges(savedBadges: TrustBadge[] | null, savedNotices: CheckoutNotice[] | null): {
|
|
553
|
+
trustBadges: TrustBadge[];
|
|
554
|
+
notices: CheckoutNotice[];
|
|
555
|
+
};
|
|
556
|
+
/** Inclusive bounds of one section's order number. */
|
|
557
|
+
declare const MIN_SECTION_ORDER = 1;
|
|
558
|
+
declare const MAX_SECTION_ORDER = 100;
|
|
559
|
+
/** Ceiling on one caption. */
|
|
560
|
+
declare const MAX_SECTION_LABEL_LENGTH = 120;
|
|
561
|
+
interface MethodSectionSpec {
|
|
562
|
+
readonly id: string;
|
|
563
|
+
/** `sections.*` translation key, used when uncaptioned. */
|
|
564
|
+
readonly labelKey: string;
|
|
565
|
+
readonly order: number;
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Every known section, with its default number. Lower renders first.
|
|
569
|
+
*
|
|
570
|
+
* Array order is also the tie-break between two sections sharing a number, so
|
|
571
|
+
* it is a display order rather than an arbitrary list.
|
|
572
|
+
*/
|
|
573
|
+
declare const METHOD_SECTIONS: readonly MethodSectionSpec[];
|
|
574
|
+
/** Ids that mean an existing section under another name. */
|
|
575
|
+
declare const SECTION_ALIASES: Readonly<Record<string, string>>;
|
|
576
|
+
/** Where an id this list does not know goes: last, not first. */
|
|
577
|
+
declare const UNKNOWN_SECTION_ORDER = 100;
|
|
578
|
+
/** Section id → order number. */
|
|
579
|
+
type MethodSectionOrder = Record<string, number>;
|
|
580
|
+
/** Section id → locale → the merchant's caption. */
|
|
581
|
+
type MethodSectionLabels = Record<string, Record<string, string>>;
|
|
582
|
+
declare function canonicalSectionId(category: string): string;
|
|
583
|
+
declare function defaultMethodSectionOrder(): MethodSectionOrder;
|
|
584
|
+
/**
|
|
585
|
+
* One order number, validated. `null` for anything that is not an integer in
|
|
586
|
+
* range, so the caller can fall back to the default rather than clamp — a
|
|
587
|
+
* `999` is a mistake, and "last" is a guess at what was meant.
|
|
588
|
+
*/
|
|
589
|
+
declare function validSectionOrder(raw: unknown): number | null;
|
|
590
|
+
/**
|
|
591
|
+
* The order from a raw bag value. Total, like `decodeBadges`: anything
|
|
592
|
+
* malformed gives the defaults, one bad number costs only its own section, an
|
|
593
|
+
* unknown id is kept so a newer consumer can place it, and an alias folds onto
|
|
594
|
+
* the section it names.
|
|
595
|
+
*/
|
|
596
|
+
declare function decodeMethodSectionOrder(raw: string | undefined): MethodSectionOrder;
|
|
597
|
+
declare function encodeMethodSectionOrder(order: MethodSectionOrder): string;
|
|
598
|
+
/**
|
|
599
|
+
* Captions from a raw bag value. Tolerant for the same reason as the order,
|
|
600
|
+
* and blank strings are dropped so an emptied field round-trips as absence.
|
|
601
|
+
*/
|
|
602
|
+
declare function decodeMethodSectionLabels(raw: string | undefined): MethodSectionLabels;
|
|
603
|
+
/**
|
|
604
|
+
* Captions for the bag, or `null` when there are none — so an untouched
|
|
605
|
+
* profile's bag is unchanged by this field existing, as `customFields` does.
|
|
606
|
+
*/
|
|
607
|
+
declare function encodeMethodSectionLabels(labels: MethodSectionLabels): string | null;
|
|
608
|
+
declare function sectionOrderOf(order: MethodSectionOrder, category: string): number;
|
|
609
|
+
/**
|
|
610
|
+
* Compare two section ids: the merchant's number, then this list, then the id.
|
|
611
|
+
*
|
|
612
|
+
* The last two keys are properties of the build rather than of any response,
|
|
613
|
+
* which is what stops two sections on one number swapping between renders.
|
|
614
|
+
*/
|
|
615
|
+
declare function compareSections(order: MethodSectionOrder): (a: string, b: string) => number;
|
|
616
|
+
/**
|
|
617
|
+
* What to print above a section: the merchant's caption for this locale, then
|
|
618
|
+
* their caption in any locale they wrote, then the caller's own name for a
|
|
619
|
+
* section it knows, then the raw id.
|
|
620
|
+
*
|
|
621
|
+
* `translate` must return `undefined` for a key it has no entry for, or step 3
|
|
622
|
+
* swallows the fall-through and prints `sections.<id>`.
|
|
623
|
+
*/
|
|
624
|
+
declare function sectionLabel(labels: MethodSectionLabels, category: string, locale: string, knownKey: string | undefined, translate: (key: string) => string | undefined): string;
|
|
625
|
+
/** The `sections.*` key for a known id, or `undefined`. */
|
|
626
|
+
declare function knownSectionLabelKey(category: string): string | undefined;
|
|
627
|
+
declare const DEFAULT_BRANDING: CheckoutBranding;
|
|
628
|
+
declare const DEFAULT_BRANDING_DARK: CheckoutBranding;
|
|
629
|
+
declare function defaultBranding(): CheckoutBranding;
|
|
630
|
+
declare function cloneBranding(b: CheckoutBranding): CheckoutBranding;
|
|
631
|
+
declare function cloneCustomField(f: CheckoutCustomField): CheckoutCustomField;
|
|
632
|
+
declare const CUSTOM_CSS_MAX_LENGTH = 50000;
|
|
633
|
+
declare function sanitizeCustomCss(raw: string | null | undefined): string | null;
|
|
634
|
+
interface BrandingSource {
|
|
635
|
+
merchant_name?: string | null;
|
|
636
|
+
seller_name?: string | null;
|
|
637
|
+
merchant_logo?: string | null;
|
|
638
|
+
logo?: string | null;
|
|
639
|
+
merchant_description?: string | null;
|
|
640
|
+
theme?: string | null;
|
|
641
|
+
background_colour?: string | null;
|
|
642
|
+
payment_button_colour?: string | null;
|
|
643
|
+
payment_button_text_colour?: string | null;
|
|
644
|
+
payment_form_header_text?: string | null;
|
|
645
|
+
payment_button_text?: string | null;
|
|
646
|
+
custom_message_for_card_terms?: string | null;
|
|
647
|
+
branding_visibility?: boolean | null;
|
|
648
|
+
sdk_layout?: string | null;
|
|
649
|
+
payment_form_label_type?: string | null;
|
|
650
|
+
sdk_ui_rules?: Record<string, Record<string, string> | null | undefined> | null;
|
|
651
|
+
}
|
|
652
|
+
declare function decodeBadges(raw: string | undefined): TrustBadge[] | null;
|
|
653
|
+
declare function encodeBadges(badges: TrustBadge[]): string;
|
|
654
|
+
/**
|
|
655
|
+
* Decode `sdk_ui_rules.branding.notices`.
|
|
656
|
+
*
|
|
657
|
+
* `null` when the key is absent or not a JSON array — "this shop has no say
|
|
658
|
+
* about notices", which `resolveNoticesAndBadges` turns into the migration.
|
|
659
|
+
* An empty array is a say: the merchant removed every notice.
|
|
660
|
+
*/
|
|
661
|
+
declare function decodeNotices(raw: string | undefined): CheckoutNotice[] | null;
|
|
662
|
+
/** The import file's form: an array inline rather than a JSON string. */
|
|
663
|
+
declare function parseNoticesLoose(raw: unknown): CheckoutNotice[] | null;
|
|
664
|
+
/**
|
|
665
|
+
* Encode notices for the bag. Always a JSON array, `[]` included: the key's
|
|
666
|
+
* presence is what tells a later decode that the shop has decided, so it must
|
|
667
|
+
* be written even when there is nothing in it.
|
|
668
|
+
*/
|
|
669
|
+
declare function encodeNotices(notices: readonly CheckoutNotice[]): string;
|
|
670
|
+
/**
|
|
671
|
+
* A notice's text in the buyer's locale: exact locale, then its base
|
|
672
|
+
* language, then the default text — the order every other piece of merchant
|
|
673
|
+
* copy resolves in (`checkoutCopy`, `customFieldText`).
|
|
674
|
+
*
|
|
675
|
+
* `''` when the notice has no text for this locale: a notice written only in
|
|
676
|
+
* some languages, with no default, is one the merchant shows only in those
|
|
677
|
+
* languages (the POC's "empty means: not in this language"). It is not a
|
|
678
|
+
* notice to draw without words — use `shownNotices`, which leaves it out.
|
|
679
|
+
*/
|
|
680
|
+
declare function noticeText(notice: CheckoutNotice, locale?: string): string;
|
|
681
|
+
/**
|
|
682
|
+
* The notices one section draws, in order, capped at `NOTICES_PER_SECTION`.
|
|
683
|
+
* The decoder already caps; this caps again for state that never went through
|
|
684
|
+
* it, such as the customizer's unsaved edits in the live preview.
|
|
685
|
+
*/
|
|
686
|
+
declare function noticesIn(notices: readonly CheckoutNotice[], section: NoticeSection): CheckoutNotice[];
|
|
687
|
+
/** One notice as a buyer sees it: the notice, and its text in their locale. */
|
|
688
|
+
interface ShownNotice {
|
|
689
|
+
notice: CheckoutNotice;
|
|
690
|
+
text: string;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* What one section draws for a buyer: its notices (capped, as `noticesIn`),
|
|
694
|
+
* each with its text in `locale`, leaving out every notice with no text there.
|
|
695
|
+
*
|
|
696
|
+
* The one place that decides it, so no renderer can draw an icon with nothing
|
|
697
|
+
* beside it. A notice written only in German is simply absent for an English
|
|
698
|
+
* buyer — the cap is applied first, as the decoder applies it, so what a
|
|
699
|
+
* merchant stored in a section is what can ever be drawn from it.
|
|
700
|
+
*/
|
|
701
|
+
declare function shownNotices(notices: readonly CheckoutNotice[], section: NoticeSection, locale?: string): ShownNotice[];
|
|
702
|
+
declare const CUSTOM_FIELDS_MAX = 20;
|
|
703
|
+
declare const CUSTOM_FIELD_KEY_PATTERN: RegExp;
|
|
704
|
+
declare const ALL_CUSTOM_FIELD_TYPES: readonly CustomFieldType[];
|
|
705
|
+
declare const CHECKBOX_CHECKED = "true";
|
|
706
|
+
declare const CHECKBOX_UNCHECKED = "false";
|
|
707
|
+
/** Whether a stored/submitted checkbox value counts as ticked. Tolerant of
|
|
708
|
+
* case and padding so a value round-tripped through a shop integration
|
|
709
|
+
* ('True', ' true ') still reads correctly. */
|
|
710
|
+
declare function isCheckboxChecked(value: string | null | undefined): boolean;
|
|
711
|
+
/** Types whose value is free text, so length bounds and a placeholder apply.
|
|
712
|
+
* `select` and `checkbox` are choice controls and have neither. */
|
|
713
|
+
declare function customFieldIsTextLike(type: CustomFieldType): boolean;
|
|
714
|
+
declare const CUSTOM_FIELD_CONDITIONS_MAX = 10;
|
|
715
|
+
declare const ALL_CUSTOM_FIELD_CONDITION_SOURCES: readonly CustomFieldConditionSource[];
|
|
716
|
+
declare const ALL_CUSTOM_FIELD_OPERATORS: readonly CustomFieldOperator[];
|
|
717
|
+
declare const CUSTOM_FIELD_OPERATORS_BY_SOURCE: Record<CustomFieldConditionSource, readonly CustomFieldOperator[]>;
|
|
718
|
+
declare const CUSTOM_FIELD_VALUELESS_OPERATORS: readonly CustomFieldOperator[];
|
|
719
|
+
declare function customFieldOperatorTakesValue(operator: CustomFieldOperator): boolean;
|
|
720
|
+
declare function defaultOperatorForSource(source: CustomFieldConditionSource): CustomFieldOperator;
|
|
721
|
+
declare function defaultCustomFieldVisibility(): CustomFieldVisibility;
|
|
722
|
+
declare function parseCustomFieldsLoose(raw: unknown): CheckoutCustomField[] | null;
|
|
723
|
+
declare function decodeCustomFields(raw: string | undefined): CheckoutCustomField[] | null;
|
|
724
|
+
declare function encodeCustomFields(fields: CheckoutCustomField[]): string;
|
|
725
|
+
/** Facts a rule can read. `amount` is in the currency's minor unit (what
|
|
726
|
+
* the payment intent stores); `metadata` values are already flattened to
|
|
727
|
+
* strings by `customFieldContextFromMetadata`. */
|
|
728
|
+
interface CustomFieldContext {
|
|
729
|
+
amount: number;
|
|
730
|
+
currency: string;
|
|
731
|
+
metadata: Record<string, string>;
|
|
732
|
+
}
|
|
733
|
+
/** Flatten a payment's raw `metadata` object into the string map a rule
|
|
734
|
+
* compares against. Arrays join on `,` so a list-shaped value stays usable
|
|
735
|
+
* with `contains` / `in`; objects fall back to JSON. Mirrors the Rust
|
|
736
|
+
* side's `flatten_metadata`. */
|
|
737
|
+
declare function customFieldContextFromMetadata(raw: unknown): Record<string, string>;
|
|
738
|
+
declare function evaluateCustomFieldCondition(condition: CustomFieldCondition, ctx: CustomFieldContext): boolean;
|
|
739
|
+
/**
|
|
740
|
+
* Whether a field's rule matches the payment.
|
|
741
|
+
*
|
|
742
|
+
* Fail-open in two spots, deliberately: `mode: 'always'` and a `match` rule
|
|
743
|
+
* with no conditions both resolve to visible. A half-authored rule should
|
|
744
|
+
* never silently swallow a field the merchant needs collected — the
|
|
745
|
+
* dashboard flags the empty rule as a validation issue instead.
|
|
746
|
+
*/
|
|
747
|
+
declare function evaluateCustomFieldVisibility(field: CheckoutCustomField, ctx: CustomFieldContext): boolean;
|
|
748
|
+
/** Filter a field list to what the buyer should see for this payment.
|
|
749
|
+
* Disabled fields are dropped here too — the two reasons a field doesn't
|
|
750
|
+
* render are the same to every consumer. */
|
|
751
|
+
declare function visibleCustomFields(fields: CheckoutCustomField[], ctx: CustomFieldContext): CheckoutCustomField[];
|
|
752
|
+
declare function customFieldText(field: CheckoutCustomField, part: 'label' | 'placeholder' | 'helpText', locale?: string): string;
|
|
753
|
+
declare function customFieldOptionLabel(option: CustomFieldOption, locale?: string): string;
|
|
754
|
+
declare function decodeBranding(source: BrandingSource | null | undefined): CheckoutBranding;
|
|
755
|
+
interface EncodedBranding {
|
|
756
|
+
theme: string;
|
|
757
|
+
logo: string | null;
|
|
758
|
+
seller_name: string | null;
|
|
759
|
+
sdk_layout: PaymentLayout;
|
|
760
|
+
payment_button_text: string | null;
|
|
761
|
+
payment_button_colour: string;
|
|
762
|
+
payment_button_text_colour: string;
|
|
763
|
+
background_colour: string;
|
|
764
|
+
payment_form_header_text: string | null;
|
|
765
|
+
payment_form_label_type: 'above' | 'never';
|
|
766
|
+
custom_message_for_card_terms: string | null;
|
|
767
|
+
sdk_ui_rules: Record<string, Record<string, string>>;
|
|
768
|
+
branding_visibility: boolean;
|
|
769
|
+
}
|
|
770
|
+
declare function encodeBranding<TBase extends object | null | undefined>(branding: CheckoutBranding, base?: TBase): EncodedBranding & (TBase extends object ? TBase : Record<string, never>);
|
|
771
|
+
declare const BRANDING_EXPORT_FORMAT = "delopay-checkout-branding";
|
|
772
|
+
declare const BRANDING_EXPORT_VERSION = 1;
|
|
773
|
+
interface BrandingExport {
|
|
774
|
+
format: typeof BRANDING_EXPORT_FORMAT;
|
|
775
|
+
version: number;
|
|
776
|
+
exported_at: string;
|
|
777
|
+
branding: CheckoutBranding;
|
|
778
|
+
}
|
|
779
|
+
declare function buildBrandingExport(branding: CheckoutBranding): BrandingExport;
|
|
780
|
+
declare function parseImportedBranding(raw: unknown): CheckoutBranding;
|
|
781
|
+
declare function applyBrandingVariables(el: HTMLElement, b: CheckoutBranding): void;
|
|
782
|
+
declare function shadowFor(style: SurfaceStyle): string;
|
|
783
|
+
|
|
784
|
+
export { ALL_CUSTOM_FIELD_CONDITION_SOURCES, ALL_CUSTOM_FIELD_OPERATORS, ALL_CUSTOM_FIELD_TYPES, BRANDING_EXPORT_FORMAT, BRANDING_EXPORT_VERSION, type BrandingExport, type BrandingSource, CHECKBOX_CHECKED, CHECKBOX_UNCHECKED, CHECKOUT_LOCALES, CUSTOM_CSS_MAX_LENGTH, CUSTOM_FIELDS_MAX, CUSTOM_FIELD_CONDITIONS_MAX, CUSTOM_FIELD_KEY_PATTERN, CUSTOM_FIELD_OPERATORS_BY_SOURCE, CUSTOM_FIELD_VALUELESS_OPERATORS, type CheckoutBranding, type CheckoutCustomField, type CheckoutLocale, type CheckoutNotice, type CornerRadius, type CustomFieldCondition, type CustomFieldConditionSource, type CustomFieldContext, type CustomFieldOperator, type CustomFieldOption, type CustomFieldTranslations, type CustomFieldType, type CustomFieldVisibility, DEFAULT_BADGES, DEFAULT_BADGES_DARK, DEFAULT_BRANDING, DEFAULT_BRANDING_DARK, DEFAULT_NOTICES, type EncodedBranding, type FontFamily, type FontWeight, LOCALIZABLE_COPY_FIELDS, type LabelStyle, type LayoutStyle, type LocalizableCopyField, type LogoShape, type LogoSize, MAX_SECTION_LABEL_LENGTH, MAX_SECTION_ORDER, METHOD_SECTIONS, MIN_SECTION_ORDER, type MethodSectionLabels, type MethodSectionOrder, type MethodSectionSpec, NATIVE_ELEMENT_POSITIONS, NOTICES_PER_SECTION, NOTICE_ICONS, NOTICE_ICON_FALLBACK, NOTICE_ICON_PATHS, NOTICE_LABEL_MAX_LENGTH, NOTICE_SECTIONS, type NativeElementPosition, type NonPillRadius, type NoticeIcon, type NoticeSection, type PaymentLayout, RTL_CHECKOUT_LOCALES, SECTION_ALIASES, SURCHARGE_BORDER_STYLES, SURCHARGE_BORDER_WIDTHS, SURCHARGE_FIGURE_MODES, SURCHARGE_LABEL_MODES, SURCHARGE_POSITIONS, SURCHARGE_SHAPES, SURCHARGE_SIGNS, SURCHARGE_SIZES, SURCHARGE_STYLES, SURCHARGE_WEIGHTS, type ShownNotice, type SizeScale, type SpacingScale, type SummaryPosition, type SurchargeBorderStyle, type SurchargeBorderWidth, type SurchargeFigureMode, type SurchargeFigurePart, type SurchargeFigurePlan, type SurchargeLabelMode, type SurchargePosition, type SurchargeShape, type SurchargeSign, type SurchargeSize, type SurchargeStyle, type SurchargeWeight, type SurfaceStyle, type TrustBadge, UNKNOWN_SECTION_ORDER, WCAG_AA_TEXT, WCAG_AA_UI, applyBrandingVariables, buildBrandingExport, buttonPadValue, canonicalSectionId, checkoutCopy, checkoutLocaleDir, cloneBranding, cloneCustomField, cloneNotice, compareSections, contrastRatio, copyTranslationsKey, customFieldContextFromMetadata, customFieldIsTextLike, customFieldOperatorTakesValue, customFieldOptionLabel, customFieldText, decodeBadges, decodeBranding, decodeCustomFields, decodeMethodSectionLabels, decodeMethodSectionOrder, decodeNotices, defaultBranding, defaultCustomFieldVisibility, defaultMethodSectionOrder, defaultNotices, defaultOperatorForSource, encodeBadges, encodeBranding, encodeCustomFields, encodeMethodSectionLabels, encodeMethodSectionOrder, encodeNotices, enigmaDefaultFill, evaluateCustomFieldCondition, evaluateCustomFieldVisibility, fontStack, fontWeightValue, inputPadValue, isCheckboxChecked, isDarkSurface, isDefaultBadgeSet, isHexColor, isNoticeIcon, knownSectionLabelKey, logoDimensions, noticeText, noticesIn, parseCustomFieldsLoose, parseImportedBranding, parseNoticesLoose, radiusValue, readableInkOn, resolveNoticesAndBadges, sanitizeCustomCss, sectionLabel, sectionOrderOf, shadowFor, shownNotices, surchargeFigurePlan, surchargeShowsLabel, surchargeStyleDrawsAShape, surchargeWordFor, surfacePadValue, validSectionOrder, vaultFormAppearance, verticalGapValue, visibleCustomFields };
|