@stytch/react 20.0.0-next.0 → 20.0.0-next.2
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/CHANGELOG.md +12 -0
- package/dist/cjs/{StytchSSRProxy-CUOvjF03.js → StytchSSRProxy-Bz6LNYdq.js} +186 -1
- package/dist/cjs/StytchSSRProxy-Bz6LNYdq.js.map +1 -0
- package/dist/cjs/adminPortal/index.cjs +102 -26
- package/dist/cjs/adminPortal/index.cjs.map +1 -1
- package/dist/cjs/b2b/index.cjs +176 -138
- package/dist/cjs/b2b/index.cjs.map +1 -1
- package/dist/cjs/b2b/index.headless.cjs +24 -24
- package/dist/cjs/b2b/index.headless.cjs.map +1 -1
- package/dist/cjs/compat.cjs +3645 -0
- package/dist/cjs/compat.cjs.map +1 -0
- package/dist/cjs/{idpHelpers-eUP8j58U.js → idpHelpers-Bj_7pbfW.js} +7 -191
- package/dist/cjs/idpHelpers-Bj_7pbfW.js.map +1 -0
- package/dist/cjs/{index-DfiRrtK8.js → index-Ni_dyEsz.js} +3 -3
- package/dist/cjs/{index-DfiRrtK8.js.map → index-Ni_dyEsz.js.map} +1 -1
- package/dist/cjs/index.cjs +220 -198
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.headless.cjs +32 -32
- package/dist/cjs/index.headless.cjs.map +1 -1
- package/dist/cjs/{passwordManagerDisableAutofillProps-C0akDAKd.js → passwordManagerDisableAutofillProps-DV31RTL_.js} +2 -2
- package/dist/cjs/{passwordManagerDisableAutofillProps-C0akDAKd.js.map → passwordManagerDisableAutofillProps-DV31RTL_.js.map} +1 -1
- package/dist/cjs/{shadcn-Bbv2Hk3P.js → shadcn-B8TEzQMT.js} +99 -81
- package/dist/cjs/shadcn-B8TEzQMT.js.map +1 -0
- package/dist/cjs-dev/{StytchSSRProxy-D0B5PuT0.js → StytchSSRProxy-CxXsyme4.js} +186 -1
- package/dist/cjs-dev/StytchSSRProxy-CxXsyme4.js.map +1 -0
- package/dist/cjs-dev/adminPortal/index.cjs +102 -26
- package/dist/cjs-dev/adminPortal/index.cjs.map +1 -1
- package/dist/cjs-dev/b2b/index.cjs +180 -141
- package/dist/cjs-dev/b2b/index.cjs.map +1 -1
- package/dist/cjs-dev/b2b/index.headless.cjs +29 -28
- package/dist/cjs-dev/b2b/index.headless.cjs.map +1 -1
- package/dist/cjs-dev/compat.cjs +3693 -0
- package/dist/cjs-dev/compat.cjs.map +1 -0
- package/dist/cjs-dev/{idpHelpers-DOOVv6dT.js → idpHelpers-BVMUYvt1.js} +22 -230
- package/dist/cjs-dev/idpHelpers-BVMUYvt1.js.map +1 -0
- package/dist/cjs-dev/{index-paeFcHjf.js → index-DdK3Jt4u.js} +3 -3
- package/dist/cjs-dev/{index-paeFcHjf.js.map → index-DdK3Jt4u.js.map} +1 -1
- package/dist/cjs-dev/index.cjs +225 -202
- package/dist/cjs-dev/index.cjs.map +1 -1
- package/dist/cjs-dev/index.headless.cjs +38 -37
- package/dist/cjs-dev/index.headless.cjs.map +1 -1
- package/dist/cjs-dev/logger-CvOATP4R.js +28 -0
- package/dist/cjs-dev/logger-CvOATP4R.js.map +1 -0
- package/dist/cjs-dev/{passwordManagerDisableAutofillProps-CnLBAXyr.js → passwordManagerDisableAutofillProps-D70WyvIu.js} +2 -2
- package/dist/cjs-dev/{passwordManagerDisableAutofillProps-CnLBAXyr.js.map → passwordManagerDisableAutofillProps-D70WyvIu.js.map} +1 -1
- package/dist/cjs-dev/{shadcn-CdbmlhdF.js → shadcn-C9ClUju1.js} +103 -84
- package/dist/cjs-dev/shadcn-C9ClUju1.js.map +1 -0
- package/dist/esm/_virtual/index.mjs +4 -4
- package/dist/esm/_virtual/index3.mjs +3 -5
- package/dist/esm/_virtual/index3.mjs.map +1 -1
- package/dist/esm/_virtual/index4.mjs +5 -3
- package/dist/esm/_virtual/index4.mjs.map +1 -1
- package/dist/esm/_virtual/index6.mjs +2 -2
- package/dist/esm/_virtual/index7.mjs +2 -2
- package/dist/esm/adminPortal/index.mjs +4 -1
- package/dist/esm/adminPortal/index.mjs.map +1 -1
- package/dist/esm/b2b/index.mjs.map +1 -1
- package/dist/esm/compat.mjs +3 -0
- package/dist/esm/compat.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/index.mjs +85 -0
- package/dist/esm/node_modules/chroma-js/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/Color.mjs +53 -0
- package/dist/esm/node_modules/chroma-js/src/Color.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/chroma.mjs +11 -0
- package/dist/esm/node_modules/chroma-js/src/chroma.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/colors/colorbrewer.mjs +82 -0
- package/dist/esm/node_modules/chroma-js/src/colors/colorbrewer.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/colors/w3cx11.mjs +165 -0
- package/dist/esm/node_modules/chroma-js/src/colors/w3cx11.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/average.mjs +92 -0
- package/dist/esm/node_modules/chroma-js/src/generator/average.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/bezier.mjs +89 -0
- package/dist/esm/node_modules/chroma-js/src/generator/bezier.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/blend.mjs +58 -0
- package/dist/esm/node_modules/chroma-js/src/generator/blend.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/cubehelix.mjs +93 -0
- package/dist/esm/node_modules/chroma-js/src/generator/cubehelix.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/mix.mjs +22 -0
- package/dist/esm/node_modules/chroma-js/src/generator/mix.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/random.mjs +16 -0
- package/dist/esm/node_modules/chroma-js/src/generator/random.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/generator/scale.mjs +398 -0
- package/dist/esm/node_modules/chroma-js/src/generator/scale.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/_hsx.mjs +62 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/_hsx.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hcg.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hcg.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsi.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsi.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsl.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsl.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsv.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/hsv.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/index.mjs +4 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lab.mjs +20 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lab.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lch.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lch.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lrgb.mjs +21 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/lrgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/num.mjs +15 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/num.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/oklab.mjs +20 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/oklab.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/oklch.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/oklch.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/rgb.mjs +19 -0
- package/dist/esm/node_modules/chroma-js/src/interpolator/rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/cmyk2rgb.mjs +18 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/cmyk2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/rgb2cmyk.mjs +20 -0
- package/dist/esm/node_modules/chroma-js/src/io/cmyk/rgb2cmyk.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/css2rgb.mjs +239 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/css2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/hsl2css.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/hsl2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/index.mjs +27 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/lab2css.mjs +27 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/lab2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/lch2css.mjs +27 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/lch2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/oklab2css.mjs +18 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/oklab2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/oklch2css.mjs +18 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/oklch2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/rgb2css.mjs +65 -0
- package/dist/esm/node_modules/chroma-js/src/io/css/rgb2css.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/gl/index.mjs +24 -0
- package/dist/esm/node_modules/chroma-js/src/io/gl/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/hcg2rgb.mjs +58 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/hcg2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/rgb2hcg.mjs +25 -0
- package/dist/esm/node_modules/chroma-js/src/io/hcg/rgb2hcg.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/hex2rgb.mjs +57 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/hex2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/index.mjs +30 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/rgb2hex.mjs +33 -0
- package/dist/esm/node_modules/chroma-js/src/io/hex/rgb2hex.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/hsi2rgb.mjs +49 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/hsi2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/rgb2hsi.mjs +34 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsi/rgb2hsi.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/hsl2rgb.mjs +37 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/hsl2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/rgb2hsl.mjs +47 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsl/rgb2hsl.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/hsv2rgb.mjs +50 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/hsv2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/rgb2hsv.mjs +35 -0
- package/dist/esm/node_modules/chroma-js/src/io/hsv/rgb2hsv.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/input.mjs +7 -0
- package/dist/esm/node_modules/chroma-js/src/io/input.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/index.mjs +30 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/lab-constants.mjs +116 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/lab-constants.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/lab2rgb.mjs +102 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/lab2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/rgb2lab.mjs +68 -0
- package/dist/esm/node_modules/chroma-js/src/io/lab/rgb2lab.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/hcl2rgb.mjs +11 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/hcl2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/index.mjs +38 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lab2lch.mjs +15 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lab2lch.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lch2lab.mjs +21 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lch2lab.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lch2rgb.mjs +15 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/lch2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/rgb2lch.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/io/lch/rgb2lch.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/named/index.mjs +30 -0
- package/dist/esm/node_modules/chroma-js/src/io/named/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/index.mjs +33 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/num2rgb.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/num2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/rgb2num.mjs +10 -0
- package/dist/esm/node_modules/chroma-js/src/io/num/rgb2num.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/oklab2rgb.mjs +36 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/oklab2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/rgb2oklab.mjs +39 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklab/rgb2oklab.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/index.mjs +29 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/oklch2rgb.mjs +15 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/oklch2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/rgb2oklch.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/io/oklch/rgb2oklch.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/rgb/index.mjs +47 -0
- package/dist/esm/node_modules/chroma-js/src/io/rgb/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/index.mjs +23 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/rgb2temperature.mjs +33 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/rgb2temperature.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/temperature2rgb.mjs +40 -0
- package/dist/esm/node_modules/chroma-js/src/io/temp/temperature2rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/alpha.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/ops/alpha.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/clipped.mjs +6 -0
- package/dist/esm/node_modules/chroma-js/src/ops/clipped.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/darken.mjs +18 -0
- package/dist/esm/node_modules/chroma-js/src/ops/darken.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/get.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/ops/get.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/luminance.mjs +56 -0
- package/dist/esm/node_modules/chroma-js/src/ops/luminance.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/mix.mjs +11 -0
- package/dist/esm/node_modules/chroma-js/src/ops/mix.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/premultiply.mjs +13 -0
- package/dist/esm/node_modules/chroma-js/src/ops/premultiply.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/saturate.mjs +16 -0
- package/dist/esm/node_modules/chroma-js/src/ops/saturate.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/set.mjs +44 -0
- package/dist/esm/node_modules/chroma-js/src/ops/set.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/ops/shade.mjs +12 -0
- package/dist/esm/node_modules/chroma-js/src/ops/shade.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/analyze.mjs +194 -0
- package/dist/esm/node_modules/chroma-js/src/utils/analyze.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/clip_rgb.mjs +18 -0
- package/dist/esm/node_modules/chroma-js/src/utils/clip_rgb.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/contrast.mjs +15 -0
- package/dist/esm/node_modules/chroma-js/src/utils/contrast.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/contrastAPCA.mjs +71 -0
- package/dist/esm/node_modules/chroma-js/src/utils/contrastAPCA.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/delta-e.mjs +66 -0
- package/dist/esm/node_modules/chroma-js/src/utils/delta-e.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/distance.mjs +20 -0
- package/dist/esm/node_modules/chroma-js/src/utils/distance.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/index.mjs +24 -0
- package/dist/esm/node_modules/chroma-js/src/utils/index.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/last.mjs +11 -0
- package/dist/esm/node_modules/chroma-js/src/utils/last.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/limit.mjs +8 -0
- package/dist/esm/node_modules/chroma-js/src/utils/limit.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/multiply-matrices.mjs +39 -0
- package/dist/esm/node_modules/chroma-js/src/utils/multiply-matrices.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/scales.mjs +19 -0
- package/dist/esm/node_modules/chroma-js/src/utils/scales.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/type.mjs +21 -0
- package/dist/esm/node_modules/chroma-js/src/utils/type.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/unpack.mjs +20 -0
- package/dist/esm/node_modules/chroma-js/src/utils/unpack.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/utils/valid.mjs +14 -0
- package/dist/esm/node_modules/chroma-js/src/utils/valid.mjs.map +1 -0
- package/dist/esm/node_modules/chroma-js/src/version.mjs +5 -0
- package/dist/esm/node_modules/chroma-js/src/version.mjs.map +1 -0
- package/dist/esm/node_modules/lodash.merge/index.mjs +1 -1
- package/dist/esm/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/esm/packages/core/src/rpc/FrameClient.mjs +1 -0
- package/dist/esm/packages/core/src/rpc/FrameClient.mjs.map +1 -1
- package/dist/esm/packages/web/messages/b2b/en.json.mjs +10 -3
- package/dist/esm/packages/web/messages/b2b/en.json.mjs.map +1 -1
- package/dist/esm/packages/web/messages/en.json.mjs +10 -3
- package/dist/esm/packages/web/messages/en.json.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/AccessSection.mjs +6 -3
- package/dist/esm/packages/web/src/adminPortal/memberManagement/AccessSection.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/InviteModal.mjs +4 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/InviteModal.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/MemberListScreen.mjs +3 -1
- package/dist/esm/packages/web/src/adminPortal/memberManagement/MemberListScreen.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.mjs +6 -2
- package/dist/esm/packages/web/src/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs +7 -3
- package/dist/esm/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs +5 -1
- package/dist/esm/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/theme.mjs +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/useRbac.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/useRoleAutocomplete.mjs +3 -3
- package/dist/esm/packages/web/src/adminPortal/utils/useRoleAutocomplete.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/useRoleDisplayInfo.mjs +2 -2
- package/dist/esm/packages/web/src/adminPortal/utils/useRoleDisplayInfo.mjs.map +1 -1
- package/dist/esm/packages/web/src/adminPortal/utils/useRoles.mjs +7 -2
- package/dist/esm/packages/web/src/adminPortal/utils/useRoles.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/components/OrganizationRow.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/EmailConfirmation.mjs +27 -3
- package/dist/esm/packages/web/src/ui/b2b/screens/EmailConfirmation.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/RecoveryCodeEntryScreen.mjs +2 -0
- package/dist/esm/packages/web/src/ui/b2b/screens/RecoveryCodeEntryScreen.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/screens/SMSOTPEntryScreen.mjs +2 -0
- package/dist/esm/packages/web/src/ui/b2b/screens/SMSOTPEntryScreen.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2b/utils.mjs +8 -1
- package/dist/esm/packages/web/src/ui/b2b/utils.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/components/GoogleOneTap.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Main/LoginForm/index.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Passkey/EditableRow.mjs +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/EmailConfirmation.mjs +10 -4
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/EmailConfirmation.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/PasswordCreateAuthenticate.mjs +2 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/PasswordCreateAuthenticate.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/PasswordlessAuthenticate.mjs +11 -70
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/PasswordlessAuthenticate.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/usePasswordlessAuthenticate.mjs +81 -0
- package/dist/esm/packages/web/src/ui/b2c/screens/Secondary/usePasswordlessAuthenticate.mjs.map +1 -0
- package/dist/esm/packages/web/src/ui/compat/generateColorFallback.mjs +63 -0
- package/dist/esm/packages/web/src/ui/compat/generateColorFallback.mjs.map +1 -0
- package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs +117 -0
- package/dist/esm/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -0
- package/dist/esm/packages/web/src/ui/components/atoms/AnimatedContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Button.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/CircularProgress.mjs +4 -5
- package/dist/esm/packages/web/src/ui/components/atoms/CircularProgress.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/CodeContainer.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Column.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Typography.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/VerticalTransition.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/VisuallyHidden.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Watermark.mjs +14 -23
- package/dist/esm/packages/web/src/ui/components/atoms/Watermark.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/atoms/Watermark.module.css.mjs +2 -2
- package/dist/esm/packages/web/src/ui/components/molecules/Badge.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/EmailInput.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/EmailInput.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/ErrorText.mjs +12 -4
- package/dist/esm/packages/web/src/ui/components/molecules/ErrorText.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/Input.mjs +3 -2
- package/dist/esm/packages/web/src/ui/components/molecules/Input.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/MainContainer.mjs +6 -6
- package/dist/esm/packages/web/src/ui/components/molecules/MainContainer.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/MainContainer.module.css.mjs +2 -2
- package/dist/esm/packages/web/src/ui/components/molecules/OtpInput.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/PasswordStrengthCheck.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/molecules/PhoneInput.mjs +3 -4
- package/dist/esm/packages/web/src/ui/components/molecules/PhoneInput.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/organisms/EmailConfirmationView.mjs +26 -3
- package/dist/esm/packages/web/src/ui/components/organisms/EmailConfirmationView.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/components/organisms/IDPConsentManifest.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/organisms/OneTapError.mjs +1 -1
- package/dist/esm/packages/web/src/ui/components/organisms/ResendOTPButton.mjs +2 -2
- package/dist/esm/packages/web/src/ui/components/organisms/ResendOTPButton.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalMemberManagement.mjs +0 -42
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalMemberManagement.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalOrgSettings.mjs +0 -40
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalOrgSettings.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalSCIM.mjs +0 -43
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalSCIM.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalSSO.mjs +0 -36
- package/dist/esm/packages/web/src/ui/react/adminPortal/AdminPortalSSO.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
- package/dist/esm/packages/web/src/ui/react/bindings/createB2BComponent.mjs.map +1 -1
- package/dist/esm/packages/web/src/utils/crypto.mjs +1 -1
- package/dist/esm-dev/_virtual/index.mjs +4 -4
- package/dist/esm-dev/_virtual/index3.mjs +4 -4
- package/dist/esm-dev/_virtual/index6.mjs +2 -2
- package/dist/esm-dev/_virtual/index7.mjs +2 -2
- package/dist/esm-dev/adminPortal/index.mjs +4 -1
- package/dist/esm-dev/adminPortal/index.mjs.map +1 -1
- package/dist/esm-dev/b2b/index.mjs.map +1 -1
- package/dist/esm-dev/compat.mjs +3 -0
- package/dist/esm-dev/compat.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/index.mjs +85 -0
- package/dist/esm-dev/node_modules/chroma-js/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/Color.mjs +53 -0
- package/dist/esm-dev/node_modules/chroma-js/src/Color.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/chroma.mjs +11 -0
- package/dist/esm-dev/node_modules/chroma-js/src/chroma.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/colors/colorbrewer.mjs +82 -0
- package/dist/esm-dev/node_modules/chroma-js/src/colors/colorbrewer.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/colors/w3cx11.mjs +165 -0
- package/dist/esm-dev/node_modules/chroma-js/src/colors/w3cx11.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/average.mjs +92 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/average.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/bezier.mjs +89 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/bezier.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/blend.mjs +58 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/blend.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/cubehelix.mjs +93 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/cubehelix.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/mix.mjs +22 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/mix.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/random.mjs +16 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/random.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/scale.mjs +398 -0
- package/dist/esm-dev/node_modules/chroma-js/src/generator/scale.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/_hsx.mjs +62 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/_hsx.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hcg.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hcg.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsi.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsi.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsl.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsl.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsv.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/hsv.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/index.mjs +4 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lab.mjs +20 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lab.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lch.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lch.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lrgb.mjs +21 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/lrgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/num.mjs +15 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/num.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/oklab.mjs +20 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/oklab.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/oklch.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/oklch.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/rgb.mjs +19 -0
- package/dist/esm-dev/node_modules/chroma-js/src/interpolator/rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/cmyk2rgb.mjs +18 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/cmyk2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/rgb2cmyk.mjs +20 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/cmyk/rgb2cmyk.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/css2rgb.mjs +239 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/css2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/hsl2css.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/hsl2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/index.mjs +27 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/lab2css.mjs +27 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/lab2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/lch2css.mjs +27 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/lch2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/oklab2css.mjs +18 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/oklab2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/oklch2css.mjs +18 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/oklch2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/rgb2css.mjs +65 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/css/rgb2css.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/gl/index.mjs +24 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/gl/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/hcg2rgb.mjs +58 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/hcg2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/rgb2hcg.mjs +25 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hcg/rgb2hcg.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/hex2rgb.mjs +57 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/hex2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/index.mjs +30 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/rgb2hex.mjs +33 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hex/rgb2hex.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/hsi2rgb.mjs +49 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/hsi2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/rgb2hsi.mjs +34 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsi/rgb2hsi.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/hsl2rgb.mjs +37 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/hsl2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/rgb2hsl.mjs +47 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsl/rgb2hsl.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/hsv2rgb.mjs +50 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/hsv2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/rgb2hsv.mjs +35 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/hsv/rgb2hsv.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/input.mjs +7 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/input.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/index.mjs +30 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/lab-constants.mjs +116 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/lab-constants.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/lab2rgb.mjs +102 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/lab2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/rgb2lab.mjs +68 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lab/rgb2lab.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/hcl2rgb.mjs +11 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/hcl2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/index.mjs +38 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lab2lch.mjs +15 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lab2lch.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lch2lab.mjs +21 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lch2lab.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lch2rgb.mjs +15 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/lch2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/rgb2lch.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/lch/rgb2lch.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/named/index.mjs +30 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/named/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/index.mjs +33 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/num2rgb.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/num2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/rgb2num.mjs +10 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/num/rgb2num.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/oklab2rgb.mjs +36 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/oklab2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/rgb2oklab.mjs +39 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklab/rgb2oklab.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/index.mjs +29 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/oklch2rgb.mjs +15 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/oklch2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/rgb2oklch.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/oklch/rgb2oklch.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/rgb/index.mjs +47 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/rgb/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/index.mjs +23 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/rgb2temperature.mjs +33 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/rgb2temperature.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/temperature2rgb.mjs +40 -0
- package/dist/esm-dev/node_modules/chroma-js/src/io/temp/temperature2rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/alpha.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/alpha.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/clipped.mjs +6 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/clipped.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/darken.mjs +18 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/darken.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/get.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/get.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/luminance.mjs +56 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/luminance.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/mix.mjs +11 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/mix.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/premultiply.mjs +13 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/premultiply.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/saturate.mjs +16 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/saturate.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/set.mjs +44 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/set.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/shade.mjs +12 -0
- package/dist/esm-dev/node_modules/chroma-js/src/ops/shade.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/analyze.mjs +194 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/analyze.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/clip_rgb.mjs +18 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/clip_rgb.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/contrast.mjs +15 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/contrast.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/contrastAPCA.mjs +71 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/contrastAPCA.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/delta-e.mjs +66 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/delta-e.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/distance.mjs +20 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/distance.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/index.mjs +24 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/index.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/last.mjs +11 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/last.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/limit.mjs +8 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/limit.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/multiply-matrices.mjs +39 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/multiply-matrices.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/scales.mjs +19 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/scales.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/type.mjs +21 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/type.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/unpack.mjs +20 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/unpack.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/valid.mjs +14 -0
- package/dist/esm-dev/node_modules/chroma-js/src/utils/valid.mjs.map +1 -0
- package/dist/esm-dev/node_modules/chroma-js/src/version.mjs +5 -0
- package/dist/esm-dev/node_modules/chroma-js/src/version.mjs.map +1 -0
- package/dist/esm-dev/node_modules/lodash.merge/index.mjs +1 -1
- package/dist/esm-dev/node_modules/use-sync-external-store/shim/index.mjs +1 -1
- package/dist/esm-dev/packages/core/src/rpc/FrameClient.mjs +1 -0
- package/dist/esm-dev/packages/core/src/rpc/FrameClient.mjs.map +1 -1
- package/dist/esm-dev/packages/web/messages/b2b/en.json.mjs +10 -3
- package/dist/esm-dev/packages/web/messages/b2b/en.json.mjs.map +1 -1
- package/dist/esm-dev/packages/web/messages/en.json.mjs +10 -3
- package/dist/esm-dev/packages/web/messages/en.json.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/AccessSection.mjs +6 -3
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/AccessSection.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/InviteModal.mjs +4 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/InviteModal.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/MemberListScreen.mjs +3 -1
- package/dist/esm-dev/packages/web/src/adminPortal/memberManagement/MemberListScreen.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.mjs +6 -2
- package/dist/esm-dev/packages/web/src/adminPortal/scim/SCIMConnectionRoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs +7 -3
- package/dist/esm-dev/packages/web/src/adminPortal/settings/OrgSettingsRoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs +5 -1
- package/dist/esm-dev/packages/web/src/adminPortal/sso/RoleAssignmentsSection.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/utils/theme.mjs +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRbac.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoleAutocomplete.mjs +3 -3
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoleAutocomplete.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoleDisplayInfo.mjs +2 -2
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoleDisplayInfo.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoles.mjs +7 -2
- package/dist/esm-dev/packages/web/src/adminPortal/utils/useRoles.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/components/OrganizationRow.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/EmailConfirmation.mjs +27 -3
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/EmailConfirmation.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/RecoveryCodeEntryScreen.mjs +2 -0
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/RecoveryCodeEntryScreen.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/SMSOTPEntryScreen.mjs +2 -0
- package/dist/esm-dev/packages/web/src/ui/b2b/screens/SMSOTPEntryScreen.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/utils.mjs +8 -1
- package/dist/esm-dev/packages/web/src/ui/b2b/utils.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/components/GoogleOneTap.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Main/LoginForm/index.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Passkey/EditableRow.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/EmailConfirmation.mjs +10 -4
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/EmailConfirmation.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/PasswordCreateAuthenticate.mjs +2 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/PasswordCreateAuthenticate.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/PasswordlessAuthenticate.mjs +11 -70
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/PasswordlessAuthenticate.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/usePasswordlessAuthenticate.mjs +81 -0
- package/dist/esm-dev/packages/web/src/ui/b2c/screens/Secondary/usePasswordlessAuthenticate.mjs.map +1 -0
- package/dist/esm-dev/packages/web/src/ui/compat/generateColorFallback.mjs +63 -0
- package/dist/esm-dev/packages/web/src/ui/compat/generateColorFallback.mjs.map +1 -0
- package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs +165 -0
- package/dist/esm-dev/packages/web/src/ui/compat/styleToTheme.mjs.map +1 -0
- package/dist/esm-dev/packages/web/src/ui/components/atoms/AnimatedContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Button.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/CircularProgress.mjs +4 -5
- package/dist/esm-dev/packages/web/src/ui/components/atoms/CircularProgress.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/CodeContainer.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Column.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Typography.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/VerticalTransition.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/VisuallyHidden.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Watermark.mjs +14 -23
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Watermark.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/atoms/Watermark.module.css.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/components/molecules/Badge.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/EmailInput.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/EmailInput.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/ErrorText.mjs +12 -4
- package/dist/esm-dev/packages/web/src/ui/components/molecules/ErrorText.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/Input.mjs +3 -2
- package/dist/esm-dev/packages/web/src/ui/components/molecules/Input.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/MainContainer.mjs +6 -6
- package/dist/esm-dev/packages/web/src/ui/components/molecules/MainContainer.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/MainContainer.module.css.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/components/molecules/OtpInput.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/PasswordStrengthCheck.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/molecules/PhoneInput.mjs +3 -4
- package/dist/esm-dev/packages/web/src/ui/components/molecules/PhoneInput.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/organisms/EmailConfirmationView.mjs +26 -3
- package/dist/esm-dev/packages/web/src/ui/components/organisms/EmailConfirmationView.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/organisms/IDPConsentManifest.mjs +1 -1
- package/dist/esm-dev/packages/web/src/ui/components/organisms/ResendOTPButton.mjs +2 -2
- package/dist/esm-dev/packages/web/src/ui/components/organisms/ResendOTPButton.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalMemberManagement.mjs +0 -42
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalMemberManagement.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalOrgSettings.mjs +0 -40
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalOrgSettings.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalSCIM.mjs +0 -43
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalSCIM.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalSSO.mjs +0 -36
- package/dist/esm-dev/packages/web/src/ui/react/adminPortal/AdminPortalSSO.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/b2b/Stytch.mjs.map +1 -1
- package/dist/esm-dev/packages/web/src/ui/react/bindings/createB2BComponent.mjs.map +1 -1
- package/dist/types/PresentationConfig-Bqzf8zr3.d.ts +168 -0
- package/dist/types/{StytchB2BClient-Dq-ITB7Q.d.ts → StytchB2BClient-CsY7ZNKh.d.ts} +2 -1
- package/dist/types/{StytchClient-BV0sT3Ox.d.ts → StytchClient-DZRM_fM4.d.ts} +2 -2
- package/dist/types/adminPortal/index.d.ts +7 -4
- package/dist/types/b2b/index.d.ts +14 -11
- package/dist/types/b2b/index.headless.d.ts +5 -4
- package/dist/types/compat.d.ts +46 -0
- package/dist/types/createAuthUrlHandler-BZoD2LDF.d.ts +2406 -0
- package/dist/types/idpHelpers-CD5sSDzA.d.ts +36 -0
- package/dist/types/index.d.ts +11 -8
- package/dist/types/index.headless.d.ts +5 -4
- package/dist/types/{shadcn-CFz8Asq0.d.ts → shadcn-4-5byj93.d.ts} +9 -171
- package/dist/types/{createAuthUrlHandler-Ck5TyB9J.d.ts → ui-DXrQ-gA8.d.ts} +41 -1543
- package/messages/b2b/en.po +6 -3
- package/messages/en.po +6 -3
- package/package.json +1 -1
- package/dist/cjs/StytchSSRProxy-CUOvjF03.js.map +0 -1
- package/dist/cjs/idpHelpers-eUP8j58U.js.map +0 -1
- package/dist/cjs/shadcn-Bbv2Hk3P.js.map +0 -1
- package/dist/cjs-dev/StytchSSRProxy-D0B5PuT0.js.map +0 -1
- package/dist/cjs-dev/idpHelpers-DOOVv6dT.js.map +0 -1
- package/dist/cjs-dev/shadcn-CdbmlhdF.js.map +0 -1
- package/dist/esm/packages/web/src/adminPortal/MuiClassNameSetup.mjs +0 -5
- package/dist/esm/packages/web/src/adminPortal/MuiClassNameSetup.mjs.map +0 -1
- package/dist/esm/packages/web/src/adminPortal/classNameSeed.mjs +0 -5
- package/dist/esm/packages/web/src/adminPortal/classNameSeed.mjs.map +0 -1
- package/dist/esm-dev/packages/web/src/adminPortal/MuiClassNameSetup.mjs +0 -5
- package/dist/esm-dev/packages/web/src/adminPortal/MuiClassNameSetup.mjs.map +0 -1
- package/dist/esm-dev/packages/web/src/adminPortal/classNameSeed.mjs +0 -5
- package/dist/esm-dev/packages/web/src/adminPortal/classNameSeed.mjs.map +0 -1
- package/dist/types/idpHelpers-hBhPCtAC.d.ts +0 -936
|
@@ -90,175 +90,6 @@ type Cacheable<T> = T & {
|
|
|
90
90
|
fromCache: boolean;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
declare enum EmailSentType {
|
|
94
|
-
LoginOrCreateEML = "login_or_create_eml",
|
|
95
|
-
LoginOrCreateOTP = "login_or_create_otp",
|
|
96
|
-
ResetPassword = "reset_password"
|
|
97
|
-
}
|
|
98
|
-
type AnalyticsEvent = {
|
|
99
|
-
name: 'sdk_instance_instantiated';
|
|
100
|
-
details: {
|
|
101
|
-
event_callback_registered: boolean;
|
|
102
|
-
error_callback_registered: boolean;
|
|
103
|
-
success_callback_registered: boolean;
|
|
104
|
-
};
|
|
105
|
-
} | {
|
|
106
|
-
name: 'b2b_sdk_instance_instantiated';
|
|
107
|
-
details: {
|
|
108
|
-
event_callback_registered: boolean;
|
|
109
|
-
error_callback_registered: boolean;
|
|
110
|
-
success_callback_registered: boolean;
|
|
111
|
-
};
|
|
112
|
-
} | {
|
|
113
|
-
name: 'render_login_screen';
|
|
114
|
-
details: {
|
|
115
|
-
options: CommonLoginConfig | RNUIProductConfig;
|
|
116
|
-
bootstrap: BootstrapData;
|
|
117
|
-
};
|
|
118
|
-
} | {
|
|
119
|
-
name: 'render_b2b_login_screen';
|
|
120
|
-
details: {
|
|
121
|
-
options: CommonB2BLoginConfig;
|
|
122
|
-
bootstrap: BootstrapData;
|
|
123
|
-
};
|
|
124
|
-
} | {
|
|
125
|
-
name: 'render_idp_screen';
|
|
126
|
-
details: {
|
|
127
|
-
bootstrap: BootstrapData;
|
|
128
|
-
};
|
|
129
|
-
} | {
|
|
130
|
-
name: 'render_b2b_idp_screen';
|
|
131
|
-
details: {
|
|
132
|
-
bootstrap: BootstrapData;
|
|
133
|
-
};
|
|
134
|
-
} | {
|
|
135
|
-
name: 'email_sent';
|
|
136
|
-
details: {
|
|
137
|
-
email: string;
|
|
138
|
-
type: EmailSentType;
|
|
139
|
-
};
|
|
140
|
-
} | {
|
|
141
|
-
name: 'email_try_again_clicked';
|
|
142
|
-
details: {
|
|
143
|
-
email: string;
|
|
144
|
-
type: EmailSentType;
|
|
145
|
-
};
|
|
146
|
-
} | {
|
|
147
|
-
name: 'start_oauth_flow';
|
|
148
|
-
details: {
|
|
149
|
-
provider_type: string;
|
|
150
|
-
custom_scopes?: string[];
|
|
151
|
-
cname_domain: string | null;
|
|
152
|
-
pkce: boolean;
|
|
153
|
-
provider_params?: Record<string, string>;
|
|
154
|
-
};
|
|
155
|
-
} | {
|
|
156
|
-
name: 'deeplink_handled_success';
|
|
157
|
-
details: {
|
|
158
|
-
token_type: TokenType;
|
|
159
|
-
};
|
|
160
|
-
} | {
|
|
161
|
-
name: 'deeplink_handled_failure';
|
|
162
|
-
details: {
|
|
163
|
-
error: StytchSDKError | undefined;
|
|
164
|
-
};
|
|
165
|
-
} | {
|
|
166
|
-
name: 'oauth_success';
|
|
167
|
-
details: {
|
|
168
|
-
provider_type: string;
|
|
169
|
-
};
|
|
170
|
-
} | {
|
|
171
|
-
name: 'oauth_failure';
|
|
172
|
-
details: {
|
|
173
|
-
error: StytchSDKError | string | undefined;
|
|
174
|
-
};
|
|
175
|
-
} | {
|
|
176
|
-
name: 'ui_authentication_success';
|
|
177
|
-
details: {
|
|
178
|
-
method: 'oauth' | 'otp' | 'magicLinks' | 'passwords';
|
|
179
|
-
};
|
|
180
|
-
} | {
|
|
181
|
-
name: 'render_b2b_admin_portal_sso';
|
|
182
|
-
details: Record<string, never>;
|
|
183
|
-
} | {
|
|
184
|
-
name: 'render_b2b_admin_portal_org_settings';
|
|
185
|
-
details: Record<string, never>;
|
|
186
|
-
} | {
|
|
187
|
-
name: 'render_b2b_admin_portal_member_management';
|
|
188
|
-
details: Record<string, never>;
|
|
189
|
-
} | {
|
|
190
|
-
name: 'render_b2b_admin_portal_scim';
|
|
191
|
-
details: Record<string, never>;
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
type SDKRequestMethodAndBody = {
|
|
195
|
-
method: 'GET' | 'DELETE';
|
|
196
|
-
body?: null;
|
|
197
|
-
} | {
|
|
198
|
-
method: 'POST' | 'PUT';
|
|
199
|
-
body?: Record<string, unknown>;
|
|
200
|
-
};
|
|
201
|
-
type SDKRequestInfo = SDKRequestMethodAndBody & {
|
|
202
|
-
url: string;
|
|
203
|
-
additionalMetadata?: Record<string, string>;
|
|
204
|
-
};
|
|
205
|
-
interface SDKTelemetry {
|
|
206
|
-
event_id: string;
|
|
207
|
-
app_session_id: string;
|
|
208
|
-
persistent_id: string;
|
|
209
|
-
client_sent_at: string;
|
|
210
|
-
timezone: string;
|
|
211
|
-
app: {
|
|
212
|
-
identifier: string;
|
|
213
|
-
version?: string;
|
|
214
|
-
};
|
|
215
|
-
os?: {
|
|
216
|
-
identifier?: string;
|
|
217
|
-
version?: string;
|
|
218
|
-
};
|
|
219
|
-
device?: {
|
|
220
|
-
model?: string;
|
|
221
|
-
screen_size?: string;
|
|
222
|
-
};
|
|
223
|
-
sdk: {
|
|
224
|
-
identifier: string;
|
|
225
|
-
version: string;
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
interface INetworkClient {
|
|
229
|
-
createTelemetryBlob(additionalMetadata?: SDKRequestInfo['additionalMetadata']): SDKTelemetry;
|
|
230
|
-
fetchSDK: <T extends ResponseCommon>(info: SDKRequestInfo) => Promise<T>;
|
|
231
|
-
retriableFetchSDK: <T extends ResponseCommon>(info: RetriableSDKRequestInfo) => Promise<T>;
|
|
232
|
-
logEvent<E extends AnalyticsEvent>({ name, details, error, }: {
|
|
233
|
-
name: E['name'];
|
|
234
|
-
details: E['details'];
|
|
235
|
-
error?: {
|
|
236
|
-
error_code?: string;
|
|
237
|
-
error_description?: string;
|
|
238
|
-
http_status_code?: string;
|
|
239
|
-
};
|
|
240
|
-
}): void;
|
|
241
|
-
updateSessionToken: (sessionToken: string | null) => void;
|
|
242
|
-
}
|
|
243
|
-
type RetriableSDKRequestInfo = SDKRequestInfo & {
|
|
244
|
-
retryCallback: (e: RetriableError, info: SDKBaseRequestInfo) => Promise<SDKBaseRequestInfo>;
|
|
245
|
-
};
|
|
246
|
-
declare enum RetriableErrorType {
|
|
247
|
-
RequiredCaptcha = "CAPTCHA required"
|
|
248
|
-
}
|
|
249
|
-
declare class RetriableError extends Error {
|
|
250
|
-
type: RetriableErrorType;
|
|
251
|
-
constructor(type: RetriableErrorType);
|
|
252
|
-
}
|
|
253
|
-
type SDKBaseRequestInfo = {
|
|
254
|
-
basicAuthHeader: string;
|
|
255
|
-
xSDKClientHeader: string;
|
|
256
|
-
xSDKParentHostHeader?: string;
|
|
257
|
-
body: SDKRequestInfo['body'];
|
|
258
|
-
method: SDKRequestInfo['method'];
|
|
259
|
-
finalURL: string;
|
|
260
|
-
};
|
|
261
|
-
|
|
262
93
|
declare global {
|
|
263
94
|
interface Window {
|
|
264
95
|
GetTelemetryID: (publicToken: string, submitURL: string) => Promise<string>;
|
|
@@ -266,10 +97,6 @@ declare global {
|
|
|
266
97
|
}
|
|
267
98
|
type DFPProtectedAuthMode = 'OBSERVATION' | 'DECISIONING';
|
|
268
99
|
|
|
269
|
-
declare const VERTICAL_B2B = "B2B";
|
|
270
|
-
declare const VERTICAL_CONSUMER = "CONSUMER";
|
|
271
|
-
type Vertical = typeof VERTICAL_B2B | typeof VERTICAL_CONSUMER;
|
|
272
|
-
|
|
273
100
|
type RBACPolicyRole = {
|
|
274
101
|
role_id: string;
|
|
275
102
|
description: string;
|
|
@@ -297,114 +124,6 @@ type RBACPolicyRaw = {
|
|
|
297
124
|
scopes: RBACPolicyScope[];
|
|
298
125
|
};
|
|
299
126
|
|
|
300
|
-
type BootstrapData = {
|
|
301
|
-
projectName: string | null;
|
|
302
|
-
displayWatermark: boolean;
|
|
303
|
-
cnameDomain: string | null;
|
|
304
|
-
emailDomains: string[];
|
|
305
|
-
captchaSettings: {
|
|
306
|
-
enabled: false;
|
|
307
|
-
} | {
|
|
308
|
-
enabled: true;
|
|
309
|
-
siteKey: string;
|
|
310
|
-
};
|
|
311
|
-
pkceRequiredForEmailMagicLinks: boolean;
|
|
312
|
-
pkceRequiredForPasswordResets: boolean;
|
|
313
|
-
pkceRequiredForOAuth: boolean;
|
|
314
|
-
pkceRequiredForSso: boolean;
|
|
315
|
-
slugPattern: string | null;
|
|
316
|
-
createOrganizationEnabled: boolean;
|
|
317
|
-
passwordConfig: {
|
|
318
|
-
ludsComplexity: number;
|
|
319
|
-
ludsMinimumCount: number;
|
|
320
|
-
} | null;
|
|
321
|
-
runDFPProtectedAuth: boolean;
|
|
322
|
-
dfpProtectedAuthMode?: DFPProtectedAuthMode;
|
|
323
|
-
rbacPolicy: RBACPolicyRaw | null;
|
|
324
|
-
siweRequiredForCryptoWallets: boolean;
|
|
325
|
-
vertical: Vertical | null;
|
|
326
|
-
};
|
|
327
|
-
/**
|
|
328
|
-
* Internal common config options, excluding platform specific configs like styling and the
|
|
329
|
-
* products array on web. This is just internal to avoid this being exported out and getting
|
|
330
|
-
* confused with the public StytchLoginConfig type
|
|
331
|
-
*/
|
|
332
|
-
type CommonLoginConfig = {
|
|
333
|
-
emailMagicLinksOptions?: EmailMagicLinksOptions;
|
|
334
|
-
oauthOptions?: OAuthOptions;
|
|
335
|
-
otpOptions?: OtpOptions;
|
|
336
|
-
sessionOptions?: SessionOptions;
|
|
337
|
-
passwordOptions?: PasswordOptions;
|
|
338
|
-
passkeyOptions?: PasskeyOptions;
|
|
339
|
-
/**
|
|
340
|
-
* The `enableShadowDOM` configuration option allows developers to use the Stytch SDK in a shadow DOM. This defaults to `false`.
|
|
341
|
-
*/
|
|
342
|
-
enableShadowDOM?: boolean;
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* Internal common config options, excluding platform specific configs like styling and the
|
|
346
|
-
* products array on web. This is just internal to avoid this being exported out and getting
|
|
347
|
-
* confused with the public StytchB2BLoginConfig type
|
|
348
|
-
*/
|
|
349
|
-
type CommonB2BLoginConfig = {
|
|
350
|
-
authFlowType: AuthFlowType;
|
|
351
|
-
sessionOptions: SessionOptions;
|
|
352
|
-
emailMagicLinksOptions?: B2BEmailMagicLinksOptions;
|
|
353
|
-
ssoOptions?: B2BSSOOptions;
|
|
354
|
-
passwordOptions?: B2BPasswordOptions;
|
|
355
|
-
oauthOptions?: B2BOAuthOptions;
|
|
356
|
-
emailOtpOptions?: B2BEmailOTPOptions;
|
|
357
|
-
smsOtpOptions?: B2BSMSOTPOptions;
|
|
358
|
-
/**
|
|
359
|
-
* An optional config that allows you to skip the discover flow and log a member
|
|
360
|
-
* in directly only if they are a member of a single organization.
|
|
361
|
-
*/
|
|
362
|
-
directLoginForSingleMembership?: DirectLoginForSingleMembershipConfig;
|
|
363
|
-
/**
|
|
364
|
-
* Whether or not an organization should be created directly when a user has
|
|
365
|
-
* no memberships, invitations, or organizations they could join via JIT
|
|
366
|
-
* provisioning. This has no effect if the ability to create organizations
|
|
367
|
-
* from the frontend SDK is disabled in the Stytch dashboard. Defaults to
|
|
368
|
-
* `false`.
|
|
369
|
-
*/
|
|
370
|
-
directCreateOrganizationForNoMembership?: boolean;
|
|
371
|
-
/**
|
|
372
|
-
* Whether to prevent users who are not members of any organization from
|
|
373
|
-
* creating a new organization during the discovery flow. This has no effect
|
|
374
|
-
* if the ability to create organizations from the frontend SDK is disabled in
|
|
375
|
-
* the Stytch dashboard. Defaults to `false`.
|
|
376
|
-
*/
|
|
377
|
-
disableCreateOrganization?: boolean;
|
|
378
|
-
/**
|
|
379
|
-
* The order to present MFA products to a member when multiple choices are
|
|
380
|
-
* available, such as during enrollment.
|
|
381
|
-
*/
|
|
382
|
-
mfaProductOrder?: readonly B2BMFAProducts[];
|
|
383
|
-
/**
|
|
384
|
-
* MFA products to include in the UI. If specified, the list of available
|
|
385
|
-
* products will be limited to those included. Defaults to all available
|
|
386
|
-
* products.
|
|
387
|
-
*
|
|
388
|
-
* Note that if an organization restricts the available MFA methods, the
|
|
389
|
-
* organization's settings will take precedence. In addition, if a member is
|
|
390
|
-
* enrolled in MFA compatible with their organization's policies, their
|
|
391
|
-
* enrolled methods will always be made available.
|
|
392
|
-
*/
|
|
393
|
-
mfaProductInclude?: readonly B2BMFAProducts[];
|
|
394
|
-
/**
|
|
395
|
-
* The slug of the organization to use in the organization-specific auth flow.
|
|
396
|
-
* If not specified, the organization will be inferred from the URL based on
|
|
397
|
-
* the project's configured slug pattern.
|
|
398
|
-
*
|
|
399
|
-
* This has no effect outside of the organization-specific auth flow.
|
|
400
|
-
*/
|
|
401
|
-
organizationSlug?: string | null;
|
|
402
|
-
/**
|
|
403
|
-
* The `enableShadowDOM` configuration option allows developers to use the Stytch SDK in a shadow DOM. This defaults to `false`.
|
|
404
|
-
*/
|
|
405
|
-
enableShadowDOM?: boolean;
|
|
406
|
-
};
|
|
407
|
-
|
|
408
127
|
type Values<T extends object> = T[keyof T];
|
|
409
128
|
type Primitive = null | undefined | string | number | boolean | symbol | bigint;
|
|
410
129
|
type _PartialDeep<T> = T extends Primitive ? T : T extends object ? PartialObjectDeep<T> : unknown;
|
|
@@ -3185,200 +2904,6 @@ interface ExternalConnection {
|
|
|
3185
2904
|
}[];
|
|
3186
2905
|
}
|
|
3187
2906
|
|
|
3188
|
-
type B2BSessionAuthenticateResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BAuthenticateResponse<TProjectConfiguration>;
|
|
3189
|
-
type B2BSessionRevokeOptions = {
|
|
3190
|
-
/**
|
|
3191
|
-
* When true, clear the user and session object in the local storage, even in the event of a network failure revoking the session.
|
|
3192
|
-
* When false, the user and session object will not be cleared in the event that the SDK cannot contact the Stytch servers.
|
|
3193
|
-
* The user and session object will always be cleared when the session revoke call succeeds.
|
|
3194
|
-
* Defaults to false
|
|
3195
|
-
*/
|
|
3196
|
-
forceClear?: boolean;
|
|
3197
|
-
};
|
|
3198
|
-
type B2BSessionRevokeForMemberOptions = {
|
|
3199
|
-
/**
|
|
3200
|
-
* The ID of the Member whose sessions should be revoked.
|
|
3201
|
-
*/
|
|
3202
|
-
member_id: string;
|
|
3203
|
-
};
|
|
3204
|
-
type B2BSessionRevokeForMemberResponse = ResponseCommon;
|
|
3205
|
-
type B2BSessionOnChangeCallback = (session: MemberSession | null) => void;
|
|
3206
|
-
type B2BSessionExchangeOptions = SessionDurationOptions & {
|
|
3207
|
-
/**
|
|
3208
|
-
* The ID of the organization that the new session should belong to.
|
|
3209
|
-
*/
|
|
3210
|
-
organization_id: string;
|
|
3211
|
-
/**
|
|
3212
|
-
* The locale will be used if an OTP code is sent to the member's phone number as part of a
|
|
3213
|
-
* secondary authentication requirement.
|
|
3214
|
-
*/
|
|
3215
|
-
locale?: locale;
|
|
3216
|
-
};
|
|
3217
|
-
type B2BSessionExchangeResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BAuthenticateResponseWithMFA<TProjectConfiguration>;
|
|
3218
|
-
type B2BSessionAccessTokenExchangeOptions = SessionDurationOptions & {
|
|
3219
|
-
/**
|
|
3220
|
-
* The Connected Apps access token.
|
|
3221
|
-
*/
|
|
3222
|
-
access_token: string;
|
|
3223
|
-
};
|
|
3224
|
-
type B2BSessionAccessTokenExchangeResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BAuthenticateResponse<TProjectConfiguration>;
|
|
3225
|
-
type MemberSessionInfo = Cacheable<{
|
|
3226
|
-
/**
|
|
3227
|
-
* The session object, or null if no session exists.
|
|
3228
|
-
*/
|
|
3229
|
-
session: MemberSession | null;
|
|
3230
|
-
}>;
|
|
3231
|
-
type B2BSessionAttestOptions = SessionDurationOptions & {
|
|
3232
|
-
/**
|
|
3233
|
-
* The ID of the organization that the new session should belong to.
|
|
3234
|
-
*/
|
|
3235
|
-
organization_id?: string;
|
|
3236
|
-
/**
|
|
3237
|
-
* The ID of the token profile used to validate the JWT string.
|
|
3238
|
-
*/
|
|
3239
|
-
profile_id: string;
|
|
3240
|
-
/**
|
|
3241
|
-
* JWT string.
|
|
3242
|
-
*/
|
|
3243
|
-
token: string;
|
|
3244
|
-
} & Partial<SessionTokens$1>;
|
|
3245
|
-
type B2BSessionAttestResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BAuthenticateResponse<TProjectConfiguration>;
|
|
3246
|
-
interface IHeadlessB2BSessionClient<TProjectConfiguration extends StytchProjectConfigurationInput> {
|
|
3247
|
-
/**
|
|
3248
|
-
* If logged in, the `session.getSync` method returns the cached session object. Otherwise it returns `null`.
|
|
3249
|
-
*
|
|
3250
|
-
* @example
|
|
3251
|
-
* const memberSession = stytch.session.getSync();
|
|
3252
|
-
* @returns The user's active {@link MemberSession} object or `null`
|
|
3253
|
-
*/
|
|
3254
|
-
getSync(): MemberSession | null;
|
|
3255
|
-
/**
|
|
3256
|
-
* The `session.getInfo` method is similar to `session.getSync`, but it returns an object containing the `session` object and a `fromCache` boolean.
|
|
3257
|
-
* If `fromCache` is true, the session object is from the cache and a state refresh is in progress.
|
|
3258
|
-
*/
|
|
3259
|
-
getInfo(): MemberSessionInfo;
|
|
3260
|
-
/**
|
|
3261
|
-
* Returns the `session_token` and `session_jwt` values associated with the logged-in user's active session.
|
|
3262
|
-
*
|
|
3263
|
-
* Session tokens are only available if:
|
|
3264
|
-
* - There is an active session, and
|
|
3265
|
-
* - The session is _not_ managed via HttpOnly cookies.
|
|
3266
|
-
*
|
|
3267
|
-
* If either of these conditions is not met, `getTokens` will return `null`.
|
|
3268
|
-
*
|
|
3269
|
-
* Note that the Stytch SDK stores the `session_token` and `session_jwt` values as session cookies in the user's browser.
|
|
3270
|
-
* Those cookies will be automatically included in any request that your frontend makes to a service (such as your backend) that shares the domain set on the cookies, so in most cases, you will not need to explicitly retrieve the `session_token` and `session_jwt` values using the `getTokens()` method.
|
|
3271
|
-
* However, we offer this method to serve some unique use cases where explicitly retrieving the tokens may be necessary.
|
|
3272
|
-
*
|
|
3273
|
-
* @example
|
|
3274
|
-
* const {session_jwt} = stytch.session.getTokens();
|
|
3275
|
-
* fetch('https://api.example.com, {
|
|
3276
|
-
* headers: new Headers({
|
|
3277
|
-
* 'Authorization': 'Bearer ' + session_jwt,
|
|
3278
|
-
* credentials: 'include',
|
|
3279
|
-
* }),
|
|
3280
|
-
* })
|
|
3281
|
-
*
|
|
3282
|
-
*/
|
|
3283
|
-
getTokens(): IfOpaqueTokens<ExtractOpaqueTokens<TProjectConfiguration>, never, SessionTokens$1 | null>;
|
|
3284
|
-
/**
|
|
3285
|
-
* The `session.onChange` method takes in a callback that gets called whenever the Member Session object changes.
|
|
3286
|
-
* It returns an unsubscribe method for you to call when you no longer want to listen for such changes.
|
|
3287
|
-
*
|
|
3288
|
-
* The `useStytchMemberSession` hook is available in `@stytch/react` or `@stytch/nextjs`. It implements these methods for you to easily access the session and listen for changes.
|
|
3289
|
-
* @example
|
|
3290
|
-
* stytch.session.onChange((memberSession) => {
|
|
3291
|
-
* if(!memberSession) {
|
|
3292
|
-
* // The member has been logged out!
|
|
3293
|
-
* window.location.href = 'https://example.com/login'
|
|
3294
|
-
* }
|
|
3295
|
-
* })
|
|
3296
|
-
* @param callback - {@link B2BSessionOnChangeCallback}
|
|
3297
|
-
*/
|
|
3298
|
-
onChange(callback: B2BSessionOnChangeCallback): UnsubscribeFunction;
|
|
3299
|
-
/**
|
|
3300
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/authenticate-session authenticate } Session endpoint and validates that the session issued to the user is still valid.
|
|
3301
|
-
* The SDK will invoke this method automatically in the background. You probably won't need to call this method directly.
|
|
3302
|
-
* It's recommended to use `session.getSync` and `session.onChange` instead.
|
|
3303
|
-
* @example
|
|
3304
|
-
* stytch.session.authenticate({
|
|
3305
|
-
* // Extend the session for another 60 minutes
|
|
3306
|
-
* session_duration_minutes: 60
|
|
3307
|
-
* })
|
|
3308
|
-
* @param options - {@link SessionAuthenticateOptions}
|
|
3309
|
-
* @returns A {@link B2BSessionAuthenticateResponse} object
|
|
3310
|
-
*/
|
|
3311
|
-
authenticate(options?: SessionAuthenticateOptions): Promise<B2BSessionAuthenticateResponse<TProjectConfiguration>>;
|
|
3312
|
-
/**
|
|
3313
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/revoke-session revoke} Session endpoint and revokes the user's current session.
|
|
3314
|
-
* This method should be used to log out a user. While calling this method, we clear the user and session objects from local storage
|
|
3315
|
-
* unless the SDK cannot contact the Stytch servers. This behavior can be overriden by using the optional param object.
|
|
3316
|
-
*
|
|
3317
|
-
* @param options - {@link B2BSessionRevokeOptions}
|
|
3318
|
-
*
|
|
3319
|
-
* @example
|
|
3320
|
-
* stytch.session.revoke()
|
|
3321
|
-
* .then(() => window.location.href = 'https://example.com/login');
|
|
3322
|
-
* @returns A {@link SessionRevokeResponse}
|
|
3323
|
-
*/
|
|
3324
|
-
revoke(options?: B2BSessionRevokeOptions): Promise<SessionRevokeResponse>;
|
|
3325
|
-
/**
|
|
3326
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/revoke-session revoke} Session endpoint and revokes all Sessions for a given Member.
|
|
3327
|
-
*
|
|
3328
|
-
* @rbac action="revoke-sessions", resource="stytch.member"
|
|
3329
|
-
*
|
|
3330
|
-
* @param options - {@link B2BSessionRevokeForMemberOptions}
|
|
3331
|
-
*
|
|
3332
|
-
* @example
|
|
3333
|
-
* stytch.session.revokeForMember({ member_id: 'member-id-123' });
|
|
3334
|
-
* @returns A {@link B2BSessionRevokeForMemberResponse}
|
|
3335
|
-
*/
|
|
3336
|
-
revokeForMember(options: B2BSessionRevokeForMemberOptions): Promise<B2BSessionRevokeForMemberResponse>;
|
|
3337
|
-
/**
|
|
3338
|
-
* Update a user's session tokens to hydrate a front-end session from the backend.
|
|
3339
|
-
* For example, if you log your users in with one of our backend SDKs, you can pass the resulting `session_token` and `session_jwt` to this method to prime the frontend SDK with a valid set of tokens.
|
|
3340
|
-
* You must then make an {@link https://stytch.com/docs/api/session-auth authenticate} call to authenticate the session tokens and retrieve the user's current session.
|
|
3341
|
-
*
|
|
3342
|
-
* @param tokens - The session tokens to update to
|
|
3343
|
-
*/
|
|
3344
|
-
updateSession(tokens: SessionTokensUpdate): void;
|
|
3345
|
-
/**
|
|
3346
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/exchange-session Exchange Session} endpoint and exchanges the member's current session for a session in the specified Organization.
|
|
3347
|
-
* @example
|
|
3348
|
-
* stytch.session.exchange({
|
|
3349
|
-
* organization_id: 'organization-123',
|
|
3350
|
-
* session_duration_minutes: 60
|
|
3351
|
-
* })
|
|
3352
|
-
* @param options - {@link B2BSessionExchangeOptions}
|
|
3353
|
-
* @returns A {@link B2BSessionExchangeResponse}
|
|
3354
|
-
*/
|
|
3355
|
-
exchange(options: B2BSessionExchangeOptions): Promise<B2BSessionExchangeResponse<TProjectConfiguration>>;
|
|
3356
|
-
/**
|
|
3357
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/connected-app-access-token-exchange Exchange Access Token} endpoint and exchanges a Connected Apps token for a Session for the original Member.
|
|
3358
|
-
* @example
|
|
3359
|
-
* stytch.session.exchangeAccessToken({
|
|
3360
|
-
* access_token: 'eyJh...',
|
|
3361
|
-
* session_duration_minutes: 60
|
|
3362
|
-
* })
|
|
3363
|
-
* @param options - {@link B2BSessionExchangeOptions}
|
|
3364
|
-
* @returns A {@link B2BSessionExchangeResponse}
|
|
3365
|
-
*/
|
|
3366
|
-
exchangeAccessToken(options: B2BSessionAccessTokenExchangeOptions): Promise<B2BSessionAccessTokenExchangeResponse<TProjectConfiguration>>;
|
|
3367
|
-
/**
|
|
3368
|
-
* Wraps Stytch's {@link https://stytch.com/docs/b2b/api/attest-session Attest} Session endpoint and gets a Stytch session from a trusted JWT.
|
|
3369
|
-
* @example
|
|
3370
|
-
* stytch.session.attest({
|
|
3371
|
-
* organization_id: 'organization-123',
|
|
3372
|
-
* profile_id: 'profile-123',
|
|
3373
|
-
* token: 'eyJh...',
|
|
3374
|
-
* session_duration_minutes: 60
|
|
3375
|
-
* })
|
|
3376
|
-
* @param data - {@link B2BSessionAttestOptions}
|
|
3377
|
-
* @returns A {@link B2BSessionAttestResponse}
|
|
3378
|
-
*/
|
|
3379
|
-
attest(data: B2BSessionAttestOptions): Promise<B2BSessionAttestResponse<TProjectConfiguration>>;
|
|
3380
|
-
}
|
|
3381
|
-
|
|
3382
2907
|
type B2BDiscoveryOrganizationsResponse = ResponseCommon & {
|
|
3383
2908
|
/**
|
|
3384
2909
|
* The email corresponding to the intermediate_session_token, session_token, or session_jwt that was passed in
|
|
@@ -3827,394 +3352,24 @@ interface IHeadlessB2BMagicLinksClient<TProjectConfiguration extends StytchProje
|
|
|
3827
3352
|
};
|
|
3828
3353
|
}
|
|
3829
3354
|
|
|
3830
|
-
type
|
|
3831
|
-
type B2BMemberUpdateOptions = {
|
|
3355
|
+
type B2BOrganizationsUpdateOptions = {
|
|
3832
3356
|
/**
|
|
3833
|
-
* The name of the
|
|
3357
|
+
* The name of the organization
|
|
3834
3358
|
*/
|
|
3835
|
-
|
|
3359
|
+
organization_name?: string;
|
|
3836
3360
|
/**
|
|
3837
|
-
* A
|
|
3838
|
-
*
|
|
3839
|
-
* See our {@link https://stytch.com/docs/api/metadata metadata reference} for complete details.
|
|
3361
|
+
* The unique URL slug of the Organization. A minimum of two characters is required.
|
|
3362
|
+
* The slug only accepts alphanumeric characters and the following reserved characters: - . _ ~.
|
|
3840
3363
|
*/
|
|
3841
|
-
|
|
3364
|
+
organization_slug?: string;
|
|
3842
3365
|
/**
|
|
3843
|
-
*
|
|
3844
|
-
* If true, the Member must complete an MFA step whenever they wish to log in to their Organization.
|
|
3845
|
-
* If false, the Member only needs to complete an MFA step if the Organization's MFA policy is set to REQUIRED_FOR_ALL.
|
|
3366
|
+
* The image URL of the Organization logo.
|
|
3846
3367
|
*/
|
|
3847
|
-
|
|
3368
|
+
organization_logo_url?: string;
|
|
3848
3369
|
/**
|
|
3849
|
-
*
|
|
3370
|
+
* The default connection used for SSO when there are multiple active connections.
|
|
3850
3371
|
*/
|
|
3851
|
-
|
|
3852
|
-
/**
|
|
3853
|
-
* Sets the Member's default MFA method. Valid values are 'sms_otp' and 'totp'.
|
|
3854
|
-
* This value will determine
|
|
3855
|
-
* 1. Which MFA method the Member is prompted to use when logging in
|
|
3856
|
-
* 2. Whether An SMS will be sent automatically after completing the first leg of authentication
|
|
3857
|
-
*/
|
|
3858
|
-
default_mfa_method?: 'sms_otp' | 'totp';
|
|
3859
|
-
};
|
|
3860
|
-
type B2BMemberUnlinkRetiredEmailRequest = {
|
|
3861
|
-
/**
|
|
3862
|
-
* ID of the retired email to be deleted. At least one of email id or email address must be provided.
|
|
3863
|
-
*/
|
|
3864
|
-
email_id?: string;
|
|
3865
|
-
/**
|
|
3866
|
-
* Address of the retired email to be deleted. At least one of email id or email address must be provided.
|
|
3867
|
-
*/
|
|
3868
|
-
email_address?: string;
|
|
3869
|
-
};
|
|
3870
|
-
type B2BMemberStartEmailUpdateRequest = {
|
|
3871
|
-
/**
|
|
3872
|
-
* The new email address to be set (after verification) for the Member.
|
|
3873
|
-
*/
|
|
3874
|
-
email_address: string;
|
|
3875
|
-
/**
|
|
3876
|
-
* The url the user is redirected to after clicking the login email magic link.
|
|
3877
|
-
* This should be a url that your app receives and parses and subsequently send an API request to authenticate the magic link and log in the member.
|
|
3878
|
-
* If this value is not passed, the default login redirect URL that you set in your Dashboard is used.
|
|
3879
|
-
* If you have not set a default login redirect URL, an error is returned.
|
|
3880
|
-
*/
|
|
3881
|
-
login_redirect_url?: string;
|
|
3882
|
-
/**
|
|
3883
|
-
* The email template ID to use for magic linkemails.
|
|
3884
|
-
* If not provided, your default email template will be sent. If providing a template ID, it must be either a template using Stytch's customizations,
|
|
3885
|
-
* or a Magic link Login custom HTML template.
|
|
3886
|
-
*/
|
|
3887
|
-
login_template_id?: string;
|
|
3888
|
-
/**
|
|
3889
|
-
* The locale is used to determine which language to use in the email. Parameter is a {@link https://www.w3.org/International/articles/language-tags/ IETF BCP 47 language tag}, e.g. "en".
|
|
3890
|
-
* Currently supported languages are English ("en"), Spanish ("es"), and Brazilian Portuguese ("pt-br"); if no value is provided, the copy defaults to English.
|
|
3891
|
-
*/
|
|
3892
|
-
locale?: locale;
|
|
3893
|
-
/**
|
|
3894
|
-
* The delivery method to use when sending the email, either EMAIL_MAGIC_LINK or EMAIL_OTP. By default, EMAIL_MAGIC_LINK is used.
|
|
3895
|
-
*/
|
|
3896
|
-
delivery_method?: MemberEmailUpdateDeliveryMethod;
|
|
3897
|
-
};
|
|
3898
|
-
type B2BMemberStartEmailUpdateResponse = MemberResponseCommon;
|
|
3899
|
-
type B2BMemberGetConnectedAppsResponse = ResponseCommon & {
|
|
3900
|
-
connected_apps: {
|
|
3901
|
-
connected_app_id: string;
|
|
3902
|
-
name: string;
|
|
3903
|
-
description: string;
|
|
3904
|
-
client_type: string;
|
|
3905
|
-
logo_url?: string;
|
|
3906
|
-
scopes_granted: string;
|
|
3907
|
-
}[];
|
|
3908
|
-
};
|
|
3909
|
-
type B2BMemberRevokeConnectedAppOptions = {
|
|
3910
|
-
connected_app_id: string;
|
|
3911
|
-
};
|
|
3912
|
-
type B2BMemberRevokeConnectedAppResponse = ResponseCommon;
|
|
3913
|
-
type B2BMemberUpdateResponse = MemberResponseCommon;
|
|
3914
|
-
type B2BMemberDeleteMFAPhoneNumberResponse = MemberResponseCommon;
|
|
3915
|
-
type B2BMemberDeletePasswordResponse = MemberResponseCommon;
|
|
3916
|
-
type B2BMemberDeleteMFATOTPResponse = MemberResponseCommon;
|
|
3917
|
-
type B2BMemberUnlinkRetiredEmailResponse = MemberResponseCommon;
|
|
3918
|
-
type MemberInfo = Cacheable<{
|
|
3919
|
-
/**
|
|
3920
|
-
* The member object, or null if no member exists.
|
|
3921
|
-
*/
|
|
3922
|
-
member: Member | null;
|
|
3923
|
-
}>;
|
|
3924
|
-
interface IHeadlessB2BSelfClient {
|
|
3925
|
-
/**
|
|
3926
|
-
* The asynchronous method, `member.get`, wraps the {@link https://stytch.com/docs/b2b/api/search-members search member} endpoint.
|
|
3927
|
-
* It fetches the Member's data and refreshes the cached object if changes are detected.
|
|
3928
|
-
* The Stytch SDK will invoke this method automatically in the background, so you probably won't need to call this method directly.
|
|
3929
|
-
*
|
|
3930
|
-
* @returns A {@link Member} object, or null if no member exists.
|
|
3931
|
-
*
|
|
3932
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
3933
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
3934
|
-
*/
|
|
3935
|
-
get(): Promise<Member | null>;
|
|
3936
|
-
/**
|
|
3937
|
-
* If logged in, the `member.getSync` method returns the cached Member object.
|
|
3938
|
-
* Otherwise it returns `null`.
|
|
3939
|
-
* This method does not refresh the Member's data.
|
|
3940
|
-
*
|
|
3941
|
-
* @returns A {@link Member} object, or null if no user exists.
|
|
3942
|
-
*
|
|
3943
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
3944
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
3945
|
-
*/
|
|
3946
|
-
getSync(): Member | null;
|
|
3947
|
-
/**
|
|
3948
|
-
* The `member.getInfo` method is similar to `member.getSync`, but it returns an object containing the `member` object and a `fromCache` boolean.
|
|
3949
|
-
* If `fromCache` is true, the Member object is from the cache and a state refresh is in progress.
|
|
3950
|
-
*/
|
|
3951
|
-
getInfo(): MemberInfo;
|
|
3952
|
-
/**
|
|
3953
|
-
* The `member.onChange` method takes in a callback that gets called whenever the Member object changes.
|
|
3954
|
-
* It returns an unsubscribe method for you to call when you no longer want to listen for such changes.
|
|
3955
|
-
*
|
|
3956
|
-
* @param callback - Gets called whenever the member object changes. See {@link B2BMemberOnChangeCallback}.
|
|
3957
|
-
*
|
|
3958
|
-
* @returns An {@link UnsubscribeFunction} for you to call when you no longer want to listen for changes in the member object.
|
|
3959
|
-
*
|
|
3960
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
3961
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
3962
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
3963
|
-
*/
|
|
3964
|
-
onChange(callback: B2BMemberOnChangeCallback): UnsubscribeFunction;
|
|
3965
|
-
/**
|
|
3966
|
-
* The Update Member method wraps the {@link https://stytch.com/docs/b2b/api/update-member Update Member} API endpoint.
|
|
3967
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
3968
|
-
* This method can be used to update any Member in the logged-in Member's Organization.
|
|
3969
|
-
*
|
|
3970
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#update-self Stytch Docs} for a complete reference.
|
|
3971
|
-
*
|
|
3972
|
-
* @example
|
|
3973
|
-
* stytch.self.update({
|
|
3974
|
-
* mfa_enrolled: true,
|
|
3975
|
-
* phone_number: '+12025550162',
|
|
3976
|
-
* });
|
|
3977
|
-
*
|
|
3978
|
-
* @rbac action="requested", resource="stytch.self"
|
|
3979
|
-
*
|
|
3980
|
-
* @param data - {@link B2BMemberUpdateOptions}
|
|
3981
|
-
*
|
|
3982
|
-
* @returns A {@link B2BMemberUpdateResponse} indicating that the member has been updated.
|
|
3983
|
-
*
|
|
3984
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
3985
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
3986
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
3987
|
-
*/
|
|
3988
|
-
update(data: B2BMemberUpdateOptions): Promise<B2BMemberUpdateResponse>;
|
|
3989
|
-
/**
|
|
3990
|
-
* The Delete Self MFA phone number method wraps the {@link https://stytch.com/docs/b2b/api/delete-member-mfa-phone-number Delete Member MFA phone number} API endpoint.
|
|
3991
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
3992
|
-
* This method can only be used to delete the logged-in Member's MFA phone number.
|
|
3993
|
-
*
|
|
3994
|
-
* To change a Member's phone number, you must first call this endpoint to delete the existing phone number.
|
|
3995
|
-
*
|
|
3996
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#delete-self-mfa-phone-number Stytch Docs} for a complete reference.
|
|
3997
|
-
*
|
|
3998
|
-
* @rbac action="update.info.delete.mfa-phone", resource="stytch.self"
|
|
3999
|
-
*
|
|
4000
|
-
* @returns A {@link B2BMemberDeleteMFAPhoneNumberResponse} indicating that the member's phone number has been deleted.
|
|
4001
|
-
*
|
|
4002
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
4003
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4004
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4005
|
-
*/
|
|
4006
|
-
deleteMFAPhoneNumber(): Promise<B2BMemberDeleteMFAPhoneNumberResponse>;
|
|
4007
|
-
/**
|
|
4008
|
-
* The Delete Self password method wraps the {@link https://stytch.com/docs/b2b/api/delete-member-password Delete Member password} API endpoint.
|
|
4009
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4010
|
-
* This method can only be used to delete the logged-in Member's password.
|
|
4011
|
-
*
|
|
4012
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#delete-self-password Stytch Docs} for a complete reference.
|
|
4013
|
-
*
|
|
4014
|
-
* @rbac action="update.info.delete.password", resource="stytch.self"
|
|
4015
|
-
*
|
|
4016
|
-
* @returns A {@link B2BMemberDeletePasswordResponse} indicating that the member's phone number has been deleted.
|
|
4017
|
-
*
|
|
4018
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4019
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4020
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4021
|
-
*/
|
|
4022
|
-
deletePassword(passwordId: string): Promise<B2BMemberDeletePasswordResponse>;
|
|
4023
|
-
/**
|
|
4024
|
-
* The Delete Self MFA totp method wraps the {@link https://stytch.com/docs/b2b/api/delete-member-mfa-totp Delete Member MFA TOTP} API endpoint.
|
|
4025
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4026
|
-
* This method can only be used to delete the logged-in Member's MFA totp.
|
|
4027
|
-
*
|
|
4028
|
-
* To change a Member's totp, you must first call this endpoint to delete the existing totp.
|
|
4029
|
-
*
|
|
4030
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#delete-self-mfa-totp Stytch Docs} for a complete reference.
|
|
4031
|
-
*
|
|
4032
|
-
* @rbac action="update.info.delete.mfa-totp", resource="stytch.self"
|
|
4033
|
-
*
|
|
4034
|
-
* @returns A {@link B2BMemberDeleteMFATOTPResponse} indicating that the member's totp has been deleted.
|
|
4035
|
-
*
|
|
4036
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4037
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4038
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4039
|
-
*/
|
|
4040
|
-
deleteMFATOTP(): Promise<B2BMemberDeleteMFATOTPResponse>;
|
|
4041
|
-
/**
|
|
4042
|
-
* The Unlink Self Retired Email Address method wraps the {@link https://stytch.com/docs/b2b/api/unlink-retired-member-email Unlink Retired Email} API endpoint.
|
|
4043
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4044
|
-
* This method can only be used to unlink the logged-in Member's retired email.
|
|
4045
|
-
*
|
|
4046
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#unlink-retired-member-email Stytch Docs} for a complete reference.
|
|
4047
|
-
*
|
|
4048
|
-
* @rbac action="update.info.unlink.retired-email", resource="stytch.self"
|
|
4049
|
-
*
|
|
4050
|
-
* @param data - {@link B2BMemberUnlinkRetiredEmailRequest}
|
|
4051
|
-
* @returns A {@link B2BMemberUnlinkRetiredEmailResponse} indicating that the member's retired email has been marked as deleted.
|
|
4052
|
-
*
|
|
4053
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4054
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4055
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4056
|
-
*/
|
|
4057
|
-
unlinkRetiredEmail(data: B2BMemberUnlinkRetiredEmailRequest): Promise<B2BMemberUnlinkRetiredEmailResponse>;
|
|
4058
|
-
/**
|
|
4059
|
-
* The Start Email Update method wraps the {@link https://stytch.com/docs/b2b/api/start-member-email-update Start Member Email Update} API endpoint.
|
|
4060
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4061
|
-
* This method can be used to start the self-serve email update process for the logged-in Member.
|
|
4062
|
-
*
|
|
4063
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/members/start-self-email-update Stytch Docs} for a complete reference.
|
|
4064
|
-
*
|
|
4065
|
-
* @rbac action="update.info.email", resource="stytch.self"
|
|
4066
|
-
*
|
|
4067
|
-
* @param data - {@link B2BMemberStartEmailUpdateRequest}
|
|
4068
|
-
* @returns A {@link B2BMemberStartEmailUpdateResponse} indicating that an email update has been started.
|
|
4069
|
-
*
|
|
4070
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4071
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4072
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4073
|
-
*/
|
|
4074
|
-
startEmailUpdate(data: B2BMemberStartEmailUpdateRequest): Promise<B2BMemberStartEmailUpdateResponse>;
|
|
4075
|
-
/**
|
|
4076
|
-
* The Member Get Connected Apps method wraps the {@link https://stytch.com/docs/b2b/api/connected-app-member-get-all Member Get Connected Apps} API endpoint.
|
|
4077
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4078
|
-
*
|
|
4079
|
-
* This method retrieves a list of Connected Apps that the Member has completed an authorization flow with successfully.
|
|
4080
|
-
* If the Member revokes a Connected App's access (e.g. via the `revokeConnectedApp` method) then the Connected App will
|
|
4081
|
-
* no longer be returned in this endpoint's response. A Connected App's access may be revoked if the Organization's
|
|
4082
|
-
* allowed Connected App policy changes.
|
|
4083
|
-
*
|
|
4084
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/members/get-self-connected-apps Stytch Docs} for a complete reference.
|
|
4085
|
-
*
|
|
4086
|
-
* @rbac action="get.connected-apps", resource="stytch.self"
|
|
4087
|
-
*
|
|
4088
|
-
* @returns A {@link B2BMemberGetConnectedAppsResponse} indicating that the member's retired email has been marked as deleted.
|
|
4089
|
-
*
|
|
4090
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4091
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4092
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4093
|
-
*/
|
|
4094
|
-
getConnectedApps(): Promise<B2BMemberGetConnectedAppsResponse>;
|
|
4095
|
-
/**
|
|
4096
|
-
* The Member Revoke Connected App method wraps the {@link https://stytch.com/docs/b2b/api/connected-app-member-revoke Member Revoke Connected App} API endpoint.
|
|
4097
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4098
|
-
*
|
|
4099
|
-
* This method revokes a Connected App's access to the Member and revokes all active tokens that have been
|
|
4100
|
-
* created on the Member's behalf. New tokens cannot be created until the Member completes a new authorization
|
|
4101
|
-
* flow with the Connected App.
|
|
4102
|
-
*
|
|
4103
|
-
* Note that after calling this method, the Member will be forced to grant consent in subsequent authorization
|
|
4104
|
-
* flows with the Connected App.
|
|
4105
|
-
*
|
|
4106
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/members/revoke-self-connected-app Stytch Docs} for a complete reference.
|
|
4107
|
-
*
|
|
4108
|
-
* @rbac action="revoke.connected-app", resource="stytch.self"
|
|
4109
|
-
*
|
|
4110
|
-
* @param data - {@link B2BMemberRevokeConnectedAppOptions}
|
|
4111
|
-
* @returns A {@link B2BMemberRevokeConnectedAppResponse} indicating that the Connected App's access has been revoked.
|
|
4112
|
-
*
|
|
4113
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4114
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4115
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4116
|
-
*/
|
|
4117
|
-
revokeConnectedApp(data: B2BMemberRevokeConnectedAppOptions): Promise<B2BMemberRevokeConnectedAppResponse>;
|
|
4118
|
-
}
|
|
4119
|
-
/**
|
|
4120
|
-
* @deprecated please use IHeadlessB2BSelfClient
|
|
4121
|
-
*/
|
|
4122
|
-
interface IHeadlessB2BMemberClient {
|
|
4123
|
-
/**
|
|
4124
|
-
* The asynchronous method, `member.get`, wraps the {@link https://stytch.com/docs/b2b/api/search-members Search Member} endpoint.
|
|
4125
|
-
* It fetches the Member's data and refreshes the cached object if changes are detected.
|
|
4126
|
-
* The Stytch SDK will invoke this method automatically in the background, so you probably won't need to call this method directly.
|
|
4127
|
-
*
|
|
4128
|
-
* @deprecated please use {@link IHeadlessB2BSelfClient#get self.get()} instead
|
|
4129
|
-
* @returns A {@link Member} object, or null if no member exists.
|
|
4130
|
-
*
|
|
4131
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4132
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4133
|
-
*/
|
|
4134
|
-
get(): Promise<Member | null>;
|
|
4135
|
-
/**
|
|
4136
|
-
* If logged in, the `member.getSync` method returns the cached Member object.
|
|
4137
|
-
* Otherwise it returns `null`. This method does not refresh the Member's data.
|
|
4138
|
-
* The synchronous method for getting a member. This is the recommended approach.
|
|
4139
|
-
*
|
|
4140
|
-
* @deprecated please use {@link IHeadlessB2BSelfClient#get self.getSync()} instead
|
|
4141
|
-
* @returns A {@link Member} object, or null if no user exists.
|
|
4142
|
-
*
|
|
4143
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4144
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4145
|
-
*/
|
|
4146
|
-
getSync(): Member | null;
|
|
4147
|
-
/**
|
|
4148
|
-
* The `member.onChange` method takes in a callback that gets called whenever the Member object changes.
|
|
4149
|
-
* It returns an unsubscribe method for you to call when you no longer want to listen for such changes.
|
|
4150
|
-
*
|
|
4151
|
-
* @deprecated please use {@link IHeadlessB2BSelfClient#get self.onChange()} instead
|
|
4152
|
-
* @param callback - Gets called whenever the member object changes. See {@link B2BMemberOnChangeCallback}.
|
|
4153
|
-
*
|
|
4154
|
-
* @returns An {@link UnsubscribeFunction} for you to call when you no longer want to listen for changes in the member object.
|
|
4155
|
-
*
|
|
4156
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4157
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4158
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4159
|
-
*/
|
|
4160
|
-
onChange(callback: B2BMemberOnChangeCallback): UnsubscribeFunction;
|
|
4161
|
-
/**
|
|
4162
|
-
* The Update Self method wraps the {@link https://stytch.com/docs/b2b/api/update-member Update Member} API endpoint.
|
|
4163
|
-
* The `organization_id` and `member_id` will be automatically inferred from the logged-in Member's session.
|
|
4164
|
-
* This method can be used to update only the logged-in Member.
|
|
4165
|
-
*
|
|
4166
|
-
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk/members#update-member-deprecated Stytch Docs} for a complete reference.
|
|
4167
|
-
*
|
|
4168
|
-
* @example
|
|
4169
|
-
* stytch.self.update({
|
|
4170
|
-
* mfa_enrolled: true,
|
|
4171
|
-
* phone_number: '+12025550162',
|
|
4172
|
-
* });
|
|
4173
|
-
*
|
|
4174
|
-
* @deprecated please use {@link IHeadlessB2BSelfClient#get self.update()} instead
|
|
4175
|
-
* @param data - {@link B2BMemberUpdateOptions}
|
|
4176
|
-
*
|
|
4177
|
-
* @returns A {@link B2BMemberUpdateResponse} indicating that the member has been updated.
|
|
4178
|
-
*
|
|
4179
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4180
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4181
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4182
|
-
*/
|
|
4183
|
-
update(data: B2BMemberUpdateOptions): Promise<B2BMemberUpdateResponse>;
|
|
4184
|
-
/**
|
|
4185
|
-
* The Delete Member MFA phone number method wraps the {@link https://stytch.com/docs/b2b/api/delete-member-mfa-phone-number Delete Member MFA phone number} API endpoint.
|
|
4186
|
-
* Use this method to delete the Member's MFA phone number.
|
|
4187
|
-
*
|
|
4188
|
-
* To change a Member's phone number, you must first call this endpoint to delete the existing phone number.
|
|
4189
|
-
*
|
|
4190
|
-
* @deprecated please use {@link IHeadlessB2BSelfClient#get self.deleteMFAPhoneNumber()} instead
|
|
4191
|
-
* @returns A {@link B2BMemberDeleteMFAPhoneNumberResponse} indicating that the member's phone number has been deleted.
|
|
4192
|
-
*
|
|
4193
|
-
* @throws A `StytchSDKAPIError` when the Stytch API returns an error.
|
|
4194
|
-
* @throws A `SDKAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
4195
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
4196
|
-
*/
|
|
4197
|
-
deleteMFAPhoneNumber(): Promise<B2BMemberDeleteMFAPhoneNumberResponse>;
|
|
4198
|
-
}
|
|
4199
|
-
|
|
4200
|
-
type B2BOrganizationsUpdateOptions = {
|
|
4201
|
-
/**
|
|
4202
|
-
* The name of the organization
|
|
4203
|
-
*/
|
|
4204
|
-
organization_name?: string;
|
|
4205
|
-
/**
|
|
4206
|
-
* The unique URL slug of the Organization. A minimum of two characters is required.
|
|
4207
|
-
* The slug only accepts alphanumeric characters and the following reserved characters: - . _ ~.
|
|
4208
|
-
*/
|
|
4209
|
-
organization_slug?: string;
|
|
4210
|
-
/**
|
|
4211
|
-
* The image URL of the Organization logo.
|
|
4212
|
-
*/
|
|
4213
|
-
organization_logo_url?: string;
|
|
4214
|
-
/**
|
|
4215
|
-
* The default connection used for SSO when there are multiple active connections.
|
|
4216
|
-
*/
|
|
4217
|
-
sso_default_connection_id?: string;
|
|
3372
|
+
sso_default_connection_id?: string;
|
|
4218
3373
|
/**
|
|
4219
3374
|
* The authentication setting that controls the JIT provisioning of Members when authenticating via SSO.
|
|
4220
3375
|
* The accepted values are:
|
|
@@ -5886,163 +5041,37 @@ interface IHeadlessB2BSSOClient<TProjectConfiguration extends StytchProjectConfi
|
|
|
5886
5041
|
};
|
|
5887
5042
|
}
|
|
5888
5043
|
|
|
5889
|
-
|
|
5890
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5044
|
+
type B2BPasswordAuthenticateOptions = SessionDurationOptions & {
|
|
5045
|
+
/**
|
|
5046
|
+
* The id of the Organization under which the Member and password belong
|
|
5047
|
+
*/
|
|
5048
|
+
organization_id: string;
|
|
5049
|
+
/**
|
|
5050
|
+
* The email of the Member.
|
|
5051
|
+
*/
|
|
5052
|
+
email_address: string;
|
|
5053
|
+
/**
|
|
5054
|
+
* The password for the Member.
|
|
5055
|
+
*/
|
|
5056
|
+
password: string;
|
|
5057
|
+
/**
|
|
5058
|
+
* The locale will be used if an OTP code is sent to the member's phone number as part of a
|
|
5059
|
+
* secondary authentication requirement.
|
|
5060
|
+
*/
|
|
5061
|
+
locale?: locale;
|
|
5897
5062
|
};
|
|
5898
|
-
type
|
|
5899
|
-
|
|
5900
|
-
readonly ResetPassword: "reset_password";
|
|
5063
|
+
type B2BPasswordDiscoveryAuthenticateResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BDiscoveryOrganizationsResponse & {
|
|
5064
|
+
intermediate_session_token: IfOpaqueTokens<ExtractOpaqueTokens<TProjectConfiguration>, '', string>;
|
|
5901
5065
|
};
|
|
5902
|
-
type
|
|
5903
|
-
/**
|
|
5904
|
-
|
|
5905
|
-
|
|
5906
|
-
|
|
5907
|
-
|
|
5908
|
-
|
|
5909
|
-
|
|
5910
|
-
|
|
5911
|
-
readonly GitHub: "github";
|
|
5912
|
-
};
|
|
5913
|
-
type B2BOAuthProviders = Values<typeof B2BOAuthProviders>;
|
|
5914
|
-
/**
|
|
5915
|
-
* The options for email magic links. This is used if you've enabled the `emailMagicLinks` product
|
|
5916
|
-
* in your configuration.
|
|
5917
|
-
*/
|
|
5918
|
-
type B2BEmailMagicLinksOptions = {
|
|
5919
|
-
loginRedirectURL?: string;
|
|
5920
|
-
signupRedirectURL?: string;
|
|
5921
|
-
discoveryRedirectURL?: string;
|
|
5922
|
-
loginTemplateId?: string;
|
|
5923
|
-
signupTemplateId?: string;
|
|
5924
|
-
/**
|
|
5925
|
-
* @param domainHint - An optional hint indicating what domain the email will be sent from.
|
|
5926
|
-
* This field is only required if your project uses more than one custom domain to send emails.
|
|
5927
|
-
*/
|
|
5928
|
-
domainHint?: string;
|
|
5929
|
-
locale?: string;
|
|
5930
|
-
};
|
|
5931
|
-
/**
|
|
5932
|
-
* The options for SSO. This is used if you've enabled the `sso` product
|
|
5933
|
-
* in your configuration.
|
|
5934
|
-
*/
|
|
5935
|
-
type B2BSSOOptions = {
|
|
5936
|
-
loginRedirectURL?: string;
|
|
5937
|
-
signupRedirectURL?: string;
|
|
5938
|
-
};
|
|
5939
|
-
/**
|
|
5940
|
-
* The options for OAuth. This is required if you've enabled the `oauth` product
|
|
5941
|
-
* in your configuration.
|
|
5942
|
-
*/
|
|
5943
|
-
type B2BOAuthOptions = {
|
|
5944
|
-
loginRedirectURL?: string;
|
|
5945
|
-
signupRedirectURL?: string;
|
|
5946
|
-
discoveryRedirectURL?: string;
|
|
5947
|
-
/** @deprecated Use customScopes in B2BOAuthProviderConfig instead */
|
|
5948
|
-
customScopes?: string[];
|
|
5949
|
-
providers: B2BOAuthProviderConfig[];
|
|
5950
|
-
/** @deprecated Use providerParams in B2BOAuthProviderConfig instead */
|
|
5951
|
-
providerParams?: Record<string, string>;
|
|
5952
|
-
locale?: string;
|
|
5953
|
-
};
|
|
5954
|
-
/**
|
|
5955
|
-
* Details about the OAuth provider you wish to use. Each B2BOAuthProviderConfig object can be either a plain
|
|
5956
|
-
* B2BOAuthProviders string (e.g. 'google'), or an object with a type key that determines the type of provider. For
|
|
5957
|
-
* Google OAuth, you can optionally specify the one_tap property to display Google One Tap.
|
|
5958
|
-
*/
|
|
5959
|
-
type B2BOAuthProviderConfig = B2BOAuthProviders | {
|
|
5960
|
-
type: typeof B2BOAuthProviders.Google;
|
|
5961
|
-
customScopes?: string[];
|
|
5962
|
-
providerParams?: Record<string, string>;
|
|
5963
|
-
one_tap: boolean;
|
|
5964
|
-
/**
|
|
5965
|
-
* Whether to cancel the One Tap prompt when the user taps outside of it.
|
|
5966
|
-
* This is only applicable if one_tap is true.
|
|
5967
|
-
*/
|
|
5968
|
-
cancel_on_tap_outside?: boolean;
|
|
5969
|
-
} | {
|
|
5970
|
-
type: Exclude<B2BOAuthProviders, typeof B2BOAuthProviders.Google>;
|
|
5971
|
-
customScopes?: string[];
|
|
5972
|
-
providerParams?: Record<string, string>;
|
|
5973
|
-
};
|
|
5974
|
-
/**
|
|
5975
|
-
* The options for Passwords. This is used if you've enabled the `passwords` product
|
|
5976
|
-
* in your configuration.
|
|
5977
|
-
*/
|
|
5978
|
-
type B2BPasswordOptions = {
|
|
5979
|
-
loginRedirectURL?: string;
|
|
5980
|
-
resetPasswordRedirectURL?: string;
|
|
5981
|
-
resetPasswordExpirationMinutes?: number;
|
|
5982
|
-
resetPasswordTemplateId?: string;
|
|
5983
|
-
discoveryRedirectURL?: string;
|
|
5984
|
-
verifyEmailTemplateId?: string;
|
|
5985
|
-
locale?: string;
|
|
5986
|
-
};
|
|
5987
|
-
type B2BEmailOTPOptions = {
|
|
5988
|
-
loginTemplateId?: string;
|
|
5989
|
-
signupTemplateId?: string;
|
|
5990
|
-
locale?: string;
|
|
5991
|
-
};
|
|
5992
|
-
type B2BSMSOTPOptions = {
|
|
5993
|
-
locale?: string;
|
|
5994
|
-
};
|
|
5995
|
-
type DirectLoginForSingleMembershipConfig = {
|
|
5996
|
-
/**
|
|
5997
|
-
* Whether or not direct login for single membership is enabled.
|
|
5998
|
-
*/
|
|
5999
|
-
status: boolean;
|
|
6000
|
-
/**
|
|
6001
|
-
* If enabled, logs user in directly even if they have pending invite to a different organization
|
|
6002
|
-
*/
|
|
6003
|
-
ignoreInvites: boolean;
|
|
6004
|
-
/**
|
|
6005
|
-
* If enabled, logs user in directly even if they have organizations they could join via JIT provisioning
|
|
6006
|
-
*/
|
|
6007
|
-
ignoreJitProvisioning: boolean;
|
|
6008
|
-
};
|
|
6009
|
-
declare const B2BMFAProducts: {
|
|
6010
|
-
readonly smsOtp: "smsOtp";
|
|
6011
|
-
readonly totp: "totp";
|
|
6012
|
-
};
|
|
6013
|
-
type B2BMFAProducts = Values<typeof B2BMFAProducts>;
|
|
6014
|
-
|
|
6015
|
-
type B2BPasswordAuthenticateOptions = SessionDurationOptions & {
|
|
6016
|
-
/**
|
|
6017
|
-
* The id of the Organization under which the Member and password belong
|
|
6018
|
-
*/
|
|
6019
|
-
organization_id: string;
|
|
6020
|
-
/**
|
|
6021
|
-
* The email of the Member.
|
|
6022
|
-
*/
|
|
6023
|
-
email_address: string;
|
|
6024
|
-
/**
|
|
6025
|
-
* The password for the Member.
|
|
6026
|
-
*/
|
|
6027
|
-
password: string;
|
|
6028
|
-
/**
|
|
6029
|
-
* The locale will be used if an OTP code is sent to the member's phone number as part of a
|
|
6030
|
-
* secondary authentication requirement.
|
|
6031
|
-
*/
|
|
6032
|
-
locale?: locale;
|
|
6033
|
-
};
|
|
6034
|
-
type B2BPasswordDiscoveryAuthenticateResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BDiscoveryOrganizationsResponse & {
|
|
6035
|
-
intermediate_session_token: IfOpaqueTokens<ExtractOpaqueTokens<TProjectConfiguration>, '', string>;
|
|
6036
|
-
};
|
|
6037
|
-
type B2BPasswordDiscoveryAuthenticateOptions = {
|
|
6038
|
-
/**
|
|
6039
|
-
* The email attempting to login.
|
|
6040
|
-
*/
|
|
6041
|
-
email_address: string;
|
|
6042
|
-
/**
|
|
6043
|
-
* The password for the email address.
|
|
6044
|
-
*/
|
|
6045
|
-
password: string;
|
|
5066
|
+
type B2BPasswordDiscoveryAuthenticateOptions = {
|
|
5067
|
+
/**
|
|
5068
|
+
* The email attempting to login.
|
|
5069
|
+
*/
|
|
5070
|
+
email_address: string;
|
|
5071
|
+
/**
|
|
5072
|
+
* The password for the email address.
|
|
5073
|
+
*/
|
|
5074
|
+
password: string;
|
|
6046
5075
|
};
|
|
6047
5076
|
type B2BPasswordAuthenticateResponse<TProjectConfiguration extends StytchProjectConfigurationInput = Stytch.DefaultProjectConfiguration> = B2BAuthenticateResponseWithMFA<TProjectConfiguration> & {
|
|
6048
5077
|
/**
|
|
@@ -6944,470 +5973,6 @@ interface IHeadlessB2BRecoveryCodesClient<TProjectConfiguration extends StytchPr
|
|
|
6944
5973
|
get(): Promise<RecoveryCodeGetResponse>;
|
|
6945
5974
|
}
|
|
6946
5975
|
|
|
6947
|
-
type Actions<Actions extends string> = Record<Actions, boolean>;
|
|
6948
|
-
type PermissionsMap<Permissions extends Record<string, string>> = {
|
|
6949
|
-
[ResourceID in keyof Permissions]: Actions<Permissions[ResourceID]>;
|
|
6950
|
-
};
|
|
6951
|
-
interface IHeadlessB2BRBACClient {
|
|
6952
|
-
/**
|
|
6953
|
-
* The `isAuthorizedSync` method determines whether the logged-in member is allowed to perform the specified action on the specified resource.
|
|
6954
|
-
* Returns `true` if the member can perform the action, `false` otherwise.
|
|
6955
|
-
*
|
|
6956
|
-
* If the member is not logged in, or the RBAC policy has not been loaded, this method will always return false.
|
|
6957
|
-
* If the resource or action provided are not valid for the configured RBAC policy, this method will return false.
|
|
6958
|
-
* @example
|
|
6959
|
-
* const isAuthorized = stytch.rbac.isAuthorizedSync<Permissions>('document', 'image');
|
|
6960
|
-
*/
|
|
6961
|
-
isAuthorizedSync(resourceId: string, action: string): boolean;
|
|
6962
|
-
/**
|
|
6963
|
-
* The `isAuthorized` method determines whether the logged-in member is allowed to perform the specified action on the specified resource.
|
|
6964
|
-
* It will return a Promise that resolves after the RBAC policy has been loaded. Returns `true` if the member can perform the action, `false` otherwise.
|
|
6965
|
-
*
|
|
6966
|
-
* If the member is not logged in, this method will always return false.
|
|
6967
|
-
* If the resource or action provided are not valid for the configured RBAC policy, this method will return false.
|
|
6968
|
-
*
|
|
6969
|
-
* @example
|
|
6970
|
-
* const isAuthorized = await stytch.rbac.isAuthorizedSync<Permissions>('document', 'image');
|
|
6971
|
-
*/
|
|
6972
|
-
isAuthorized(resourceId: string, action: string): Promise<boolean>;
|
|
6973
|
-
/**
|
|
6974
|
-
* The `allPermissions` method returns the complete list of permissions assigned to the currently logged-in Member. If the Member is not logged in, all values will be `false`.
|
|
6975
|
-
*
|
|
6976
|
-
* As a best practice, authorization checks for sensitive actions should also occur on the backend.
|
|
6977
|
-
*
|
|
6978
|
-
* @example
|
|
6979
|
-
* type Permissions = {
|
|
6980
|
-
* document: 'create' | 'read' | 'write
|
|
6981
|
-
* image: 'create' | 'read'
|
|
6982
|
-
* }
|
|
6983
|
-
* const permissions = await stytch.rbac.allPermissions<Permissions>();
|
|
6984
|
-
* console.log(permissions.document.create) // true
|
|
6985
|
-
* console.log(permissions.image.create) // false
|
|
6986
|
-
* @returns A {@link PermissionsMap} for the active member
|
|
6987
|
-
*/
|
|
6988
|
-
allPermissions<Permissions extends Record<string, string>>(): Promise<PermissionsMap<Permissions>>;
|
|
6989
|
-
}
|
|
6990
|
-
|
|
6991
|
-
interface BaseSCIMConnection {
|
|
6992
|
-
/**
|
|
6993
|
-
* Globally unique UUID that identifies a specific Organization.
|
|
6994
|
-
*/
|
|
6995
|
-
organization_id: string;
|
|
6996
|
-
/**
|
|
6997
|
-
* Globally unique UUID that identifies a specific SCIM Connection.
|
|
6998
|
-
*/
|
|
6999
|
-
connection_id: string;
|
|
7000
|
-
/**
|
|
7001
|
-
* The status of the connection. The possible values are deleted or active.
|
|
7002
|
-
*/
|
|
7003
|
-
status: string;
|
|
7004
|
-
/**
|
|
7005
|
-
* A human-readable display name for the connection.
|
|
7006
|
-
*/
|
|
7007
|
-
display_name: string;
|
|
7008
|
-
/**
|
|
7009
|
-
* The identity provider of this connection.
|
|
7010
|
-
*/
|
|
7011
|
-
identity_provider: string;
|
|
7012
|
-
/**
|
|
7013
|
-
* The base URL of the SCIM connection.
|
|
7014
|
-
*/
|
|
7015
|
-
base_url: string;
|
|
7016
|
-
/**
|
|
7017
|
-
* An array of implicit group role assignments granted to members in this organization who are provisioned this SCIM connection
|
|
7018
|
-
* and belong to the specified group.
|
|
7019
|
-
* See our {@link https://stytch.com/docs/b2b/guides/rbac/role-assignment RBAC guide} for more information about
|
|
7020
|
-
* role assignment.
|
|
7021
|
-
*/
|
|
7022
|
-
scim_group_implicit_role_assignments: {
|
|
7023
|
-
role_id: string;
|
|
7024
|
-
group_id: string;
|
|
7025
|
-
}[];
|
|
7026
|
-
}
|
|
7027
|
-
interface SCIMConnection extends BaseSCIMConnection {
|
|
7028
|
-
/**
|
|
7029
|
-
* Last four characters of the issued bearer token.
|
|
7030
|
-
*/
|
|
7031
|
-
bearer_token_last_four: string;
|
|
7032
|
-
/**
|
|
7033
|
-
* The time at which the bearer token expires.
|
|
7034
|
-
*/
|
|
7035
|
-
bearer_token_expires_at: string;
|
|
7036
|
-
/**
|
|
7037
|
-
* Present during rotation, the next bearer token's last four digits.
|
|
7038
|
-
*/
|
|
7039
|
-
next_bearer_token_last_four?: string;
|
|
7040
|
-
/**
|
|
7041
|
-
* Present during rotation, the time at which the next bearer token expires.
|
|
7042
|
-
*/
|
|
7043
|
-
next_bearer_token_expires_at?: string;
|
|
7044
|
-
}
|
|
7045
|
-
interface SCIMConnectionWithBearerToken extends BaseSCIMConnection {
|
|
7046
|
-
/**
|
|
7047
|
-
* The bearer token used to authenticate with the SCIM API.
|
|
7048
|
-
*/
|
|
7049
|
-
bearer_token: string;
|
|
7050
|
-
/**
|
|
7051
|
-
* The time at which the bearer token expires.
|
|
7052
|
-
*/
|
|
7053
|
-
bearer_token_expires_at: string;
|
|
7054
|
-
}
|
|
7055
|
-
interface SCIMConnectionWithNextBearerToken extends BaseSCIMConnection {
|
|
7056
|
-
/**
|
|
7057
|
-
* The bearer token used to authenticate with the SCIM API.
|
|
7058
|
-
*/
|
|
7059
|
-
next_bearer_token: string;
|
|
7060
|
-
/**
|
|
7061
|
-
* The time at which the bearer token expires.
|
|
7062
|
-
*/
|
|
7063
|
-
next_bearer_token_expires_at: string;
|
|
7064
|
-
/**
|
|
7065
|
-
* Last four characters of the issued bearer token.
|
|
7066
|
-
*/
|
|
7067
|
-
bearer_token_last_four: string;
|
|
7068
|
-
/**
|
|
7069
|
-
* The time at which the bearer token expires.
|
|
7070
|
-
*/
|
|
7071
|
-
bearer_token_expires_at: string;
|
|
7072
|
-
}
|
|
7073
|
-
interface SCIMGroup {
|
|
7074
|
-
/**
|
|
7075
|
-
* Globally unique UUID that identifies a specific Organization.
|
|
7076
|
-
*/
|
|
7077
|
-
organization_id: string;
|
|
7078
|
-
/**
|
|
7079
|
-
* Globally unique UUID that identifies a specific SCIM Connection.
|
|
7080
|
-
*/
|
|
7081
|
-
connection_id: string;
|
|
7082
|
-
/**
|
|
7083
|
-
* Globally unique UUID that identifies a specific SCIM Group.
|
|
7084
|
-
*/
|
|
7085
|
-
group_id: string;
|
|
7086
|
-
/**
|
|
7087
|
-
* Name given to the group by the IDP.
|
|
7088
|
-
*/
|
|
7089
|
-
group_name: string;
|
|
7090
|
-
}
|
|
7091
|
-
type B2BSCIMCreateConnectionOptions = {
|
|
7092
|
-
/**
|
|
7093
|
-
* A human-readable display name for the connection.
|
|
7094
|
-
*/
|
|
7095
|
-
display_name?: string;
|
|
7096
|
-
/**
|
|
7097
|
-
* The identity provider of this connection.
|
|
7098
|
-
*/
|
|
7099
|
-
identity_provider?: string;
|
|
7100
|
-
};
|
|
7101
|
-
type B2BSCIMCreateConnectionResponse = ResponseCommon & {
|
|
7102
|
-
connection: SCIMConnectionWithBearerToken;
|
|
7103
|
-
};
|
|
7104
|
-
type B2BSCIMUpdateConnectionOptions = {
|
|
7105
|
-
/**
|
|
7106
|
-
* Globally unique UUID that identifies a specific SCIM Connection.
|
|
7107
|
-
*/
|
|
7108
|
-
connection_id: string;
|
|
7109
|
-
/**
|
|
7110
|
-
* A human-readable display name for the connection.
|
|
7111
|
-
*/
|
|
7112
|
-
display_name?: string;
|
|
7113
|
-
/**
|
|
7114
|
-
* The identity provider of this connection.
|
|
7115
|
-
*/
|
|
7116
|
-
identity_provider?: string;
|
|
7117
|
-
/**
|
|
7118
|
-
* An array of implicit role assignments granted to members in this organization who are created via this SCIM connection
|
|
7119
|
-
* and belong to the specified group.
|
|
7120
|
-
* Before adding any group implicit role assignments, you must first provision groups from your IdP into Stytch,
|
|
7121
|
-
* see our {@link https://stytch.com/docs/b2b/guides/scim/overview scim-guide}.
|
|
7122
|
-
* See our {@link https://stytch.com/docs/b2b/guides/rbac/role-assignment RBAC guide} for more information about
|
|
7123
|
-
* role assignment.
|
|
7124
|
-
*/
|
|
7125
|
-
scim_group_implicit_role_assignments?: {
|
|
7126
|
-
role_id: string;
|
|
7127
|
-
group_id: string;
|
|
7128
|
-
}[];
|
|
7129
|
-
};
|
|
7130
|
-
type B2BSCIMUpdateConnectionResponse = ResponseCommon & {
|
|
7131
|
-
connection: SCIMConnection;
|
|
7132
|
-
};
|
|
7133
|
-
type B2BSCIMDeleteConnectionResponse = ResponseCommon & {
|
|
7134
|
-
/**
|
|
7135
|
-
* Globally unique UUID that identifies a specific SCIM Connection.
|
|
7136
|
-
*/
|
|
7137
|
-
connection_id: string;
|
|
7138
|
-
};
|
|
7139
|
-
type B2BSCIMGetConnectionResponse = ResponseCommon & {
|
|
7140
|
-
connection: SCIMConnection;
|
|
7141
|
-
};
|
|
7142
|
-
type B2BSCIMGetConnectionGroupsOptions = {
|
|
7143
|
-
/**
|
|
7144
|
-
* The maximum number of groups that should be returned by the API.
|
|
7145
|
-
*/
|
|
7146
|
-
limit?: number;
|
|
7147
|
-
/**
|
|
7148
|
-
* The cursor to use to indicate where to start group results.
|
|
7149
|
-
*/
|
|
7150
|
-
cursor?: string;
|
|
7151
|
-
};
|
|
7152
|
-
type B2BSCIMGetConnectionGroupsResponse = ResponseCommon & {
|
|
7153
|
-
/**
|
|
7154
|
-
* List of SCIM Groups for the connection.
|
|
7155
|
-
*/
|
|
7156
|
-
scim_groups: SCIMGroup[];
|
|
7157
|
-
/**
|
|
7158
|
-
* The cursor to use to get the next page of results.
|
|
7159
|
-
*/
|
|
7160
|
-
next_cursor: string | null;
|
|
7161
|
-
};
|
|
7162
|
-
type B2BSCIMRotateStartResponse = ResponseCommon & {
|
|
7163
|
-
connection: SCIMConnectionWithNextBearerToken;
|
|
7164
|
-
};
|
|
7165
|
-
type B2BSCIMRotateCompleteResponse = ResponseCommon & {
|
|
7166
|
-
connection: SCIMConnection;
|
|
7167
|
-
};
|
|
7168
|
-
type B2BSCIMRotateCancelResponse = ResponseCommon & {
|
|
7169
|
-
connection: SCIMConnection;
|
|
7170
|
-
};
|
|
7171
|
-
interface IHeadlessB2BSCIMClient {
|
|
7172
|
-
/**
|
|
7173
|
-
* The Create SCIM Connection method wraps the {@link https://stytch.com/docs/b2b/api/create-scim-connection Create SCIM Connection} API endpoint.
|
|
7174
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7175
|
-
* This method cannot be used to create SCIM connections in other Organizations.
|
|
7176
|
-
*
|
|
7177
|
-
* @example
|
|
7178
|
-
* stytch.scim.createConnection({
|
|
7179
|
-
* display_name: 'My SCIM Connection',
|
|
7180
|
-
* identity_provider: 'okta'
|
|
7181
|
-
* });
|
|
7182
|
-
*
|
|
7183
|
-
* @rbac action="create", resource="stytch.scim"
|
|
7184
|
-
*
|
|
7185
|
-
* @param data - {@link B2BSCIMCreateConnectionOptions}
|
|
7186
|
-
*
|
|
7187
|
-
* returns A {@link B2BSCIMCreateConnectionResponse} indicating that the SCIM connection has been created.
|
|
7188
|
-
*
|
|
7189
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7190
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7191
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7192
|
-
*/
|
|
7193
|
-
createConnection(data: B2BSCIMCreateConnectionOptions): Promise<B2BSCIMCreateConnectionResponse>;
|
|
7194
|
-
/**
|
|
7195
|
-
* Updates an existing SCIM connection.
|
|
7196
|
-
* This method wraps the {@link https://stytch.com/docs/b2b/api/update-scim-connection update-connection} endpoint.
|
|
7197
|
-
* If attempting to modify the `scim_group_implicit_role_assignments` the caller must have the `update.settings.implicit-roles` permission on the `stytch.organization` resource.
|
|
7198
|
-
* For all other fields, the caller must have the `update` permission on the `stytch.scim` resource.
|
|
7199
|
-
* SCIM via the project's RBAC policy & their role assignments.
|
|
7200
|
-
*
|
|
7201
|
-
* @example
|
|
7202
|
-
* stytch.scim.updateConnection({
|
|
7203
|
-
* connection_id: 'connection-id-123',
|
|
7204
|
-
* display_name: 'My SCIM Connection',
|
|
7205
|
-
* identity_provider: 'okta',
|
|
7206
|
-
* scim_group_implicit_role_assignments: [
|
|
7207
|
-
* {
|
|
7208
|
-
* group_id: 'group-id-123',
|
|
7209
|
-
* role_id: 'role-id-123'
|
|
7210
|
-
* }
|
|
7211
|
-
* ]
|
|
7212
|
-
* });
|
|
7213
|
-
*
|
|
7214
|
-
* @rbac action="update", resource="stytch.scim"
|
|
7215
|
-
*
|
|
7216
|
-
* @param data - {@link B2BSCIMUpdateConnectionOptions}
|
|
7217
|
-
*
|
|
7218
|
-
* returns A {@link B2BSCIMUpdateConnectionResponse} indicating that the SCIM connection has been updated.
|
|
7219
|
-
*
|
|
7220
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7221
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7222
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7223
|
-
*/
|
|
7224
|
-
updateConnection(data: B2BSCIMUpdateConnectionOptions): Promise<B2BSCIMUpdateConnectionResponse>;
|
|
7225
|
-
/**
|
|
7226
|
-
* The Delete SCIM Connection method wraps the {@link https://stytch.com/docs/b2b/api/delete-scim-connection Delete SCIM Connection} API endpoint.
|
|
7227
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7228
|
-
* This method cannot be used to delete SCIM connections in other Organizations.
|
|
7229
|
-
*
|
|
7230
|
-
* @example
|
|
7231
|
-
* stytch.scim.deleteConnection('connection-id-123');
|
|
7232
|
-
*
|
|
7233
|
-
* @rbac action="delete", resource="stytch.scim"
|
|
7234
|
-
*
|
|
7235
|
-
* @param connectionId
|
|
7236
|
-
*
|
|
7237
|
-
* returns A {@link B2BSCIMDeleteConnectionResponse} indicating that the SCIM connection has been deleted.
|
|
7238
|
-
*
|
|
7239
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7240
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7241
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7242
|
-
*/
|
|
7243
|
-
deleteConnection(connectionId: string): Promise<B2BSCIMDeleteConnectionResponse>;
|
|
7244
|
-
/**
|
|
7245
|
-
* The Get SCIM Connection method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection Get SCIM Connection} API endpoint.
|
|
7246
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7247
|
-
* This method cannot be used to get SCIM connection from other Organizations.
|
|
7248
|
-
*
|
|
7249
|
-
* @example
|
|
7250
|
-
* stytch.scim.getConnection();
|
|
7251
|
-
*
|
|
7252
|
-
* @rbac action="get", resource="stytch.scim"
|
|
7253
|
-
*
|
|
7254
|
-
* @param connectionId
|
|
7255
|
-
*
|
|
7256
|
-
* returns A {@link B2BSCIMGetConnectionResponse} indicating that the SCIM connection has been retrieved.
|
|
7257
|
-
*
|
|
7258
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7259
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7260
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7261
|
-
*/
|
|
7262
|
-
getConnection(connectionId: string): Promise<B2BSCIMGetConnectionResponse>;
|
|
7263
|
-
/**
|
|
7264
|
-
* The Get SCIM Connection Groups method wraps the {@link https://stytch.com/docs/b2b/api/get-scim-connection-groups Get SCIM Connection} API endpoint.
|
|
7265
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7266
|
-
*
|
|
7267
|
-
* @example
|
|
7268
|
-
* stytch.scim.getConnectionGroups({
|
|
7269
|
-
* limit: 10
|
|
7270
|
-
* });
|
|
7271
|
-
*
|
|
7272
|
-
* @rbac action="get", resource="stytch.scim"
|
|
7273
|
-
*
|
|
7274
|
-
* @param data
|
|
7275
|
-
*/
|
|
7276
|
-
getConnectionGroups(data: B2BSCIMGetConnectionGroupsOptions): Promise<B2BSCIMGetConnectionGroupsResponse>;
|
|
7277
|
-
/**
|
|
7278
|
-
* The SCIM Rotate Token Start method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-start SCIM Rotate Token Start} API endpoint.
|
|
7279
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7280
|
-
* This method cannot be used to start token rotations for SCIM connections in other Organizations.
|
|
7281
|
-
*
|
|
7282
|
-
* @example
|
|
7283
|
-
* stytch.scim.rotateStart('connection-id-123');
|
|
7284
|
-
*
|
|
7285
|
-
* @rbac action="update", resource="stytch.scim"
|
|
7286
|
-
*
|
|
7287
|
-
* @param connectionId
|
|
7288
|
-
*
|
|
7289
|
-
* returns A {@link B2BSCIMRotateStartResponse} containing a new bearer token
|
|
7290
|
-
*
|
|
7291
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7292
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7293
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7294
|
-
*/
|
|
7295
|
-
rotateStart(connectionId: string): Promise<B2BSCIMRotateStartResponse>;
|
|
7296
|
-
/**
|
|
7297
|
-
* The SCIM Rotate Token Complete method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-complete SCIM Rotate Token Complete} API endpoint.
|
|
7298
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7299
|
-
* This method cannot be used to complete token rotations for SCIM connections in other Organizations.
|
|
7300
|
-
*
|
|
7301
|
-
* @example
|
|
7302
|
-
* stytch.scim.rotateComplete('connection-id-123');
|
|
7303
|
-
*
|
|
7304
|
-
* @rbac action="update", resource="stytch.scim"
|
|
7305
|
-
*
|
|
7306
|
-
* @param connectionId
|
|
7307
|
-
*
|
|
7308
|
-
* returns A {@link B2BSCIMRotateCompleteResponse} containing a new bearer token
|
|
7309
|
-
*
|
|
7310
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7311
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7312
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7313
|
-
*/
|
|
7314
|
-
rotateComplete(connectionId: string): Promise<B2BSCIMRotateCompleteResponse>;
|
|
7315
|
-
/**
|
|
7316
|
-
* The SCIM Rotate Token Cancel method wraps the {@link https://stytch.com/docs/b2b/api/scim-rotate-token-cancel SCIM Rotate Token Cancel} API endpoint.
|
|
7317
|
-
* The `organization_id` will be automatically inferred from the logged-in Member's session.
|
|
7318
|
-
* This method cannot be used to cancel token rotations for SCIM connections in other Organizations.
|
|
7319
|
-
*
|
|
7320
|
-
* @example
|
|
7321
|
-
* stytch.scim.rotateCancel('connection-id-123');
|
|
7322
|
-
*
|
|
7323
|
-
* @rbac action="update", resource="stytch.scim"
|
|
7324
|
-
*
|
|
7325
|
-
* @param connectionId
|
|
7326
|
-
*
|
|
7327
|
-
* returns A {@link B2BSCIMRotateCancelResponse} containing a new bearer token
|
|
7328
|
-
*
|
|
7329
|
-
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
7330
|
-
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
7331
|
-
* @throws A `StytchSDKUsageError` when called with invalid input.
|
|
7332
|
-
*/
|
|
7333
|
-
rotateCancel(connectionId: string): Promise<B2BSCIMRotateCancelResponse>;
|
|
7334
|
-
}
|
|
7335
|
-
|
|
7336
|
-
type B2BOAuthAuthorizeStartOptions = {
|
|
7337
|
-
client_id: string;
|
|
7338
|
-
redirect_uri: string;
|
|
7339
|
-
response_type: string;
|
|
7340
|
-
scopes: string[];
|
|
7341
|
-
prompt?: string;
|
|
7342
|
-
};
|
|
7343
|
-
type B2BOAuthAuthorizeStartResponse = ResponseCommon & {
|
|
7344
|
-
client: ConnectedAppPublic;
|
|
7345
|
-
consent_required: boolean;
|
|
7346
|
-
scope_results: ScopeResult[];
|
|
7347
|
-
};
|
|
7348
|
-
type B2BOAuthAuthorizeSubmitOptions = {
|
|
7349
|
-
client_id: string;
|
|
7350
|
-
redirect_uri: string;
|
|
7351
|
-
response_type: string;
|
|
7352
|
-
scopes: string[];
|
|
7353
|
-
state?: string;
|
|
7354
|
-
nonce?: string;
|
|
7355
|
-
code_challenge?: string;
|
|
7356
|
-
consent_granted: boolean;
|
|
7357
|
-
prompt?: string;
|
|
7358
|
-
};
|
|
7359
|
-
type B2BOAuthAuthorizeSubmitResponse = ResponseCommon & {
|
|
7360
|
-
redirect_uri: string;
|
|
7361
|
-
authorization_code?: string;
|
|
7362
|
-
};
|
|
7363
|
-
type B2BOAuthLogoutStartOptions = {
|
|
7364
|
-
client_id: string;
|
|
7365
|
-
post_logout_redirect_uri: string;
|
|
7366
|
-
state: string;
|
|
7367
|
-
id_token_hint?: string;
|
|
7368
|
-
};
|
|
7369
|
-
type B2BOAuthLogoutStartResponse = ResponseCommon & {
|
|
7370
|
-
redirect_uri: string;
|
|
7371
|
-
consent_required: boolean;
|
|
7372
|
-
};
|
|
7373
|
-
interface IHeadlessB2BIDPClient {
|
|
7374
|
-
/**
|
|
7375
|
-
* Initiates a request for authorization of a Connected App to access a Member's account.
|
|
7376
|
-
*
|
|
7377
|
-
* Call this endpoint using the query parameters from an OAuth Authorization request. This endpoint validates various fields (scope, client_id, redirect_uri, prompt, etc...) are correct and returns relevant information for rendering an OAuth Consent Screen.
|
|
7378
|
-
*
|
|
7379
|
-
* @example
|
|
7380
|
-
* const response = await stytch.idp.oauthAuthorizeStart({
|
|
7381
|
-
* client_id: 'client_123',
|
|
7382
|
-
* redirect_uri: 'https://example.com/callback',
|
|
7383
|
-
* scope: 'openid email profile',
|
|
7384
|
-
* });
|
|
7385
|
-
*/
|
|
7386
|
-
oauthAuthorizeStart(data: B2BOAuthAuthorizeStartOptions): Promise<B2BOAuthAuthorizeStartResponse>;
|
|
7387
|
-
/**
|
|
7388
|
-
* Completes a request for authorization of a Connected App to access a Member's account.
|
|
7389
|
-
*
|
|
7390
|
-
* Call this endpoint using the query parameters from an OAuth Authorization request, after previously validating those parameters using the Preflight Check API. Note that this endpoint takes in a few additional parameters the preflight check does not- state, nonce, and code_challenge.
|
|
7391
|
-
*
|
|
7392
|
-
* If the authorization was successful, the redirect_uri will contain a valid authorization_code embedded as a query parameter. If the authorization was unsuccessful, the redirect_uri will contain an OAuth2.1 error_code. In both cases, redirect the Member to the location for the response to be consumed by the Connected App.
|
|
7393
|
-
*
|
|
7394
|
-
* Exactly one of the following must be provided to identify the Member granting authorization:
|
|
7395
|
-
* organization_id + member_id
|
|
7396
|
-
* session_token
|
|
7397
|
-
* session_jwt
|
|
7398
|
-
*
|
|
7399
|
-
* If a session_token or session_jwt is passed, the OAuth Authorization will be linked to the Member's session for tracking purposes. One of these fields must be used if the Connected App intends to complete the Exchange Access Token flow.
|
|
7400
|
-
*
|
|
7401
|
-
* @example
|
|
7402
|
-
* const response = await stytch.idp.oauthAuthorizeSubmit({
|
|
7403
|
-
* client_id: 'client_123',
|
|
7404
|
-
* redirect_uri: 'https://example.com/callback',
|
|
7405
|
-
* scope: 'openid email profile',
|
|
7406
|
-
* });
|
|
7407
|
-
*/
|
|
7408
|
-
oauthAuthorizeSubmit(data: B2BOAuthAuthorizeSubmitOptions): Promise<B2BOAuthAuthorizeSubmitResponse>;
|
|
7409
|
-
}
|
|
7410
|
-
|
|
7411
5976
|
type B2BImpersonationAuthenticateOptions = {
|
|
7412
5977
|
/**
|
|
7413
5978
|
* The impersonation token used to authenticate a member
|
|
@@ -8388,72 +6953,5 @@ type RNUIProductConfig = {
|
|
|
8388
6953
|
passwordOptions: RNUIPasswordOptions;
|
|
8389
6954
|
};
|
|
8390
6955
|
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
type DeepReadonly<T> = {
|
|
8394
|
-
readonly [P in keyof T]: DeepReadonly<T[P]>;
|
|
8395
|
-
};
|
|
8396
|
-
type StateChangeHandler<T> = (state: DeepReadonly<T>) => void;
|
|
8397
|
-
type StateChangeRegisterFunction<T> = (callback: StateChangeHandler<T>) => UnsubscribeFunction;
|
|
8398
|
-
|
|
8399
|
-
interface PromptMomentNotification {
|
|
8400
|
-
isDisplayMoment: () => boolean;
|
|
8401
|
-
isDisplayed: () => boolean;
|
|
8402
|
-
isNotDisplayed: () => boolean;
|
|
8403
|
-
getNotDisplayedReason: () =>
|
|
8404
|
-
| "browser_not_supported"
|
|
8405
|
-
| "invalid_client"
|
|
8406
|
-
| "missing_client_id"
|
|
8407
|
-
| "opt_out_or_no_session"
|
|
8408
|
-
| "secure_http_required"
|
|
8409
|
-
| "suppressed_by_user"
|
|
8410
|
-
| "unregistered_origin"
|
|
8411
|
-
| "unknown_reason";
|
|
8412
|
-
isSkippedMoment: () => boolean;
|
|
8413
|
-
getSkippedReason: () => "auto_cancel" | "user_cancel" | "tap_outside" | "issuing_failed";
|
|
8414
|
-
isDismissedMoment: () => boolean;
|
|
8415
|
-
getDismissedReason: () => "credential_returned" | "cancel_called" | "flow_restarted";
|
|
8416
|
-
getMomentType: () => "display" | "skipped" | "dismissed";
|
|
8417
|
-
}
|
|
8418
|
-
|
|
8419
|
-
type OneTapNotShownReason = ReturnType<PromptMomentNotification['getNotDisplayedReason']> | ReturnType<PromptMomentNotification['getSkippedReason']>;
|
|
8420
|
-
type OneTapRenderResult = {
|
|
8421
|
-
success: true;
|
|
8422
|
-
} | {
|
|
8423
|
-
success: false;
|
|
8424
|
-
reason: OneTapNotShownReason;
|
|
8425
|
-
};
|
|
8426
|
-
|
|
8427
|
-
type ParseAuthenticateUrl<HandledTokenType extends string> = (href?: string) => {
|
|
8428
|
-
handled: true;
|
|
8429
|
-
token: string;
|
|
8430
|
-
tokenType: HandledTokenType;
|
|
8431
|
-
} | {
|
|
8432
|
-
handled: false;
|
|
8433
|
-
token: string;
|
|
8434
|
-
tokenType: string;
|
|
8435
|
-
} | null;
|
|
8436
|
-
type AuthenticateByUrl<TokenType extends string> = (options: {
|
|
8437
|
-
/**
|
|
8438
|
-
* Clear token and stytch_token_type URL params after authenticate is called.
|
|
8439
|
-
* @default true if the href parameter is window.location.href (the default)
|
|
8440
|
-
**/
|
|
8441
|
-
clearParams?: boolean;
|
|
8442
|
-
} & SessionDurationOptions,
|
|
8443
|
-
/**
|
|
8444
|
-
* Allow overriding URL where the token and stytch_token_type params are extracted from.
|
|
8445
|
-
* You usually would not need to set this.
|
|
8446
|
-
* @default window.location.href
|
|
8447
|
-
*/
|
|
8448
|
-
href?: string) => Promise<{
|
|
8449
|
-
handled: true;
|
|
8450
|
-
tokenType: TokenType;
|
|
8451
|
-
data: unknown;
|
|
8452
|
-
} | {
|
|
8453
|
-
handled: false;
|
|
8454
|
-
tokenType: string;
|
|
8455
|
-
token: string;
|
|
8456
|
-
} | null>;
|
|
8457
|
-
|
|
8458
|
-
export { BiometricsUnavailableError as b$, StytchEventType as bD, RNUIProducts as bG, SDKAPIUnreachableError as bM, StytchSDKUsageError as bN, StytchSDKSchemaError as bO, StytchSDKAPIError as bP, UNRECOVERABLE_ERROR_TYPES as bQ, StytchError as bR, StytchAPIUnreachableError as bS, StytchAPISchemaError as bT, StytchAPIError as bU, StytchSDKError as bW, NoCurrentSessionError as bY, InternalError as bZ, NoBiometricsRegistrationError as b_, OAuthProviders as bo, Wallets as bp, OneTapPositions as bq, OTPMethods as bu, KeyInvalidatedError as c0, KeystoreUnavailableError as c1, NoBiometricsEnrolledError as c2, BiometricsAlreadyEnrolledError as c3, UserCancellationError as c4, UserLockedOutError as c5, DeviceCredentialsNotAllowedError as c6, MissingGoogleClientIDError as c7, MissingPKCEError as c8, MissingAuthorizationCredentialIDTokenError as c9, InvalidAuthorizationCredentialError as ca, NoCredentialsPresentError as cb, MissingPublicKeyError as cc, ChallengeSigningFailedError as cd, SDKNotConfiguredError as ce, FailedCodeChallengeError as cf, PasskeysUnsupportedError as cg, FailedToDecryptDataError as ch, BiometricsFailedError as ci, InvalidStartUrlError as cj, InvalidRedirectSchemeError as ck, MissingUrlError as cl, InvalidCredentialTypeError as cm, MissingAttestationObjectError as cn, JSONDataNotConvertibleToStringError as co, RandomNumberGenerationFailed as cp, PasskeysInvalidEncoding as cq, PasskeysMisconfigured as cr, SignInWithAppleMisconfigured as cs, MissingCipherIv as ct, InvalidPrivateKeyLength as cu, BiometricRegistrationIdIsNullOrBlank as cv, DFPNotConfigured as cw, IDPOAuthFlowMissingParamError as cx, errorToStytchError as cy, AuthFlowType as eA, RedirectURLType as eB, B2BOAuthProviders as eC, B2BMFAProducts as eL };
|
|
8459
|
-
export type { locale as $, AuthenticateByUrl as A, B2BOAuthAuthorizeStartOptions as B, ConsumerState as C, IHeadlessB2BRBACClient as D, IHeadlessB2BSCIMClient as E, IHeadlessB2BImpersonationClient as F, B2BState as G, Member as H, INetworkClient as I, Organization as J, PermissionsMap as K, StytchProjectConfiguration as L, MemberSession as M, StringsOptions as N, OneTapRenderResult as O, ParseAuthenticateUrl as P, Callbacks as Q, ResponseCommon as R, StytchProjectConfigurationInput as S, TokenType as T, User as U, AuthenticateResponse as V, WebAuthnRegistration as W, DeleteResponse as X, UpdateResponse as Y, SessionDurationOptions as Z, UnsubscribeFunction as _, IHeadlessMagicLinksClient as a, CryptoWalletAuthenticateOptions as a$, MemberEmailUpdateDeliveryMethod as a0, DeviceAttributeDetails as a1, SDKDeviceHistory as a2, ConnectedAppPublic as a3, ScopeResult as a4, EmailFactor as a5, PhoneNumberFactor as a6, GoogleOAuthFactor as a7, MicrosoftOAuthFactor as a8, AppleOAuthFactor as a9, SessionAuthenticateResponse as aA, SessionAccessTokenExchangeOptions as aB, SessionAccessTokenExchangeResponse as aC, SessionRevokeOptions as aD, SessionRevokeResponse as aE, SessionAttestOptions as aF, SessionAttestResponse as aG, SessionOnChangeCallback as aH, SessionTokens$1 as aI, SessionTokensUpdate as aJ, SessionInfo as aK, MagicLinksLoginOrCreateOptions as aL, MagicLinksSendOptions as aM, MagicLinksLoginOrCreateResponse as aN, MagicLinksSendResponse as aO, MagicLinksAuthenticateOptions as aP, MagicLinksAuthenticateResponse as aQ, OTPCodeOptions as aR, OTPCodeSMSOptions as aS, OTPCodeEmailOptions as aT, OTPAuthenticateOptions as aU, OTPsLoginOrCreateResponse as aV, OTPsSendResponse as aW, OTPsAuthenticateResponse as aX, SIWEParams as aY, CryptoWalletAuthenticateStartOptions as aZ, CryptoWalletAuthenticateStartResponse as a_, GithubOAuthFactor as aa, GitLabOAuthFactor as ab, FacebookOAuthFactor as ac, DiscordOAuthFactor as ad, SalesforceOAuthFactor as ae, SlackOAuthFactor as af, AmazonOAuthFactor as ag, BitbucketOAuthFactor as ah, LinkedInOAuthFactor as ai, CoinbaseOAuthFactor as aj, TwitchOAuthFactor as ak, TwitterOAuthFactor as al, TikTokOAuthFactor as am, FigmaOAuthFactor as an, SnapchatOAuthFactor as ao, YahooOAuthFactor as ap, WebAuthnFactor as aq, AuthenticatorAppFactor as ar, RecoveryCodeFactor as as, CryptoWalletFactor as at, PasswordFactor as au, BiometricFactor as av, AccessTokenExchangeFactor as aw, AuthenticationFactor as ax, Session as ay, SessionAuthenticateOptions as az, IHeadlessSessionClient as b, CryptoWalletAuthenticateResponse as b0, WebAuthnRegisterStartOptions as b1, WebAuthnRegisterStartResponse as b2, WebAuthnRegisterResponse as b3, WebAuthnAuthenticateStartOptions as b4, WebAuthnAuthenticateStartResponse as b5, WebAuthnAuthenticateResponse as b6, WebAuthnUpdateOptions as b7, WebAuthnUpdateResponse as b8, PasswordCreateOptions as b9, IDPConsentItem as bA, IDPConsentSection as bB, IDPConsentScreenManifest as bC, StytchEvent as bE, OneTapStyleConfig as bF, RNUIEmailMagicLinksOptions as bH, RNUIOAuthOptions as bI, RNUIOTPOptions as bJ, RNUIPasswordOptions as bK, RNUIProductConfig as bL, StytchSDKErrorOptions as bV, StytchSDKUIError as bX, PasswordCreateResponse as ba, PasswordAuthenticateOptions as bb, PasswordAuthenticateResponse as bc, PasswordResetByEmailStartOptions as bd, PasswordResetByEmailStartResponse as be, PasswordResetByEmailOptions as bf, PasswordResetByEmailResponse as bg, PasswordResetByExistingPasswordOptions as bh, PasswordResetByExistingPasswordResponse as bi, PasswordResetBySessionOptions as bj, PasswordResetBySessionResponse as bk, PasswordStrengthCheckOptions as bl, PasswordStrengthCheckResponse as bm, EmailMagicLinksOptions as bn, ProviderOptions as br, ProvidersOptions as bs, OAuthOptions as bt, OtpOptions as bv, PasswordOptions as bw, SessionOptions as bx, PasskeyOptions as by, StyleConfig as bz, IHeadlessOTPsClient as c, B2BSessionRevokeForMemberOptions as c$, B2BPhoneNumberFactor as cA, B2BGoogleOAuthFactor as cB, B2BMicrosoftOAuthFactor as cC, B2BHubSpotOAuthFactor as cD, B2BSlackOAuthFactor as cE, B2BGitHubOAuthFactor as cF, B2BAuthenticationFactor as cG, MemberResponseCommon as cH, OAuthRegistration as cI, MemberRole as cJ, RetiredEmailAddress as cK, B2BAuthenticateResponse as cL, B2BAuthenticateResponseWithMFA as cM, B2BAllowedAuthMethods as cN, B2BAllowedMFAMethods as cO, SSOActiveConnection as cP, DiscoveredOrganization as cQ, MfaRequired as cR, PrimaryRequired as cS, MemberOptions as cT, X509Certificate as cU, EncryptionPrivateKey as cV, SAMLConnection as cW, OIDCConnection as cX, ExternalConnection as cY, B2BSessionAuthenticateResponse as cZ, B2BSessionRevokeOptions as c_, B2BEmailFactor as cz, IHeadlessCryptoWalletClient as d, OrganizationInfo as d$, B2BSessionRevokeForMemberResponse as d0, B2BSessionOnChangeCallback as d1, B2BSessionExchangeOptions as d2, B2BSessionExchangeResponse as d3, B2BSessionAccessTokenExchangeOptions as d4, B2BSessionAccessTokenExchangeResponse as d5, MemberSessionInfo as d6, B2BSessionAttestOptions as d7, B2BSessionAttestResponse as d8, B2BMagicLinksInviteOptions as d9, B2BOrganizationsDeleteResponse as dA, B2BOrganizationsGetBySlugOptions as dB, OrganizationBySlugMatch as dC, B2BOrganizationsGetBySlugResponse as dD, B2BOrganizationsGetConnectedAppsResponse as dE, B2BOrganizationsGetConnectedAppOptions as dF, B2BOrganizationsGetConnectedAppResponse as dG, B2BOrganizationsMembersCreateOptions as dH, B2BOrganizationsMembersCreateResponse as dI, B2BOrganizationsMembersUpdateOptions as dJ, B2BOrganizationsMembersUpdateResponse as dK, SearchQueryOperand as dL, B2BOrganizationsMembersSearchOptions as dM, B2BOrganizationsMembersSearchResponse as dN, B2BOrganizationsMembersDeleteResponse as dO, B2BOrganizationsMembersReactivateResponse as dP, B2BOrganizationsMemberDeletePasswordResponse as dQ, B2BOrganizationsMemberDeleteMFAPhoneNumberResponse as dR, B2BOrganizationsMemberDeleteMFATOTPResponse as dS, B2BOrganizationsMemberUnlinkRetiredEmailOptions as dT, B2BOrganizationsMemberUnlinkRetiredEmailResponse as dU, B2BOrganizationsMemberStartEmailUpdateOptions as dV, B2BOrganizationsMemberStartEmailUpdateResponse as dW, B2BOrganizationsMemberGetConnectedAppsOptions as dX, B2BOrganizationsMemberGetConnectedAppsResponse as dY, B2BOrganizationsMemberRevokeConnectedAppOptions as dZ, B2BOrganizationsMemberRevokeConnectedAppResponse as d_, B2BMagicLinksInviteResponse as da, B2BMagicLinkLoginOrSignupOptions as db, B2BMagicLinkLoginOrSignupResponse as dc, B2BMagicLinksAuthenticateOptions as dd, B2BMagicLinksAuthenticateResponse as de, B2BMagicLinksEmailDiscoverySendOptions as df, B2BMagicLinksEmailDiscoverySendResponse as dg, B2BMagicLinksDiscoveryAuthenticateResponse as dh, B2BMagicLinksDiscoveryAuthenticateOptions as di, B2BMemberOnChangeCallback as dj, B2BMemberUpdateOptions as dk, B2BMemberUnlinkRetiredEmailRequest as dl, B2BMemberStartEmailUpdateRequest as dm, B2BMemberStartEmailUpdateResponse as dn, B2BMemberGetConnectedAppsResponse as dp, B2BMemberRevokeConnectedAppOptions as dq, B2BMemberRevokeConnectedAppResponse as dr, B2BMemberUpdateResponse as ds, B2BMemberDeleteMFAPhoneNumberResponse as dt, B2BMemberDeletePasswordResponse as du, B2BMemberDeleteMFATOTPResponse as dv, B2BMemberUnlinkRetiredEmailResponse as dw, MemberInfo as dx, B2BOrganizationsUpdateOptions as dy, B2BOrganizationsUpdateResponse as dz, IHeadlessWebAuthnClient as e, B2BPasswordResetBySessionResponse as e$, OAuthStartOptions as e0, B2BOAuthDiscoveryStartOptions as e1, B2BOAuthAuthenticateOptions as e2, OAuthDiscoveryAuthenticateOptions as e3, B2BOAuthDiscoveryAuthenticateResponse as e4, B2BOAuthAuthenticateResponse as e5, SSOStartOptions as e6, SSOAuthenticateOptions as e7, SSOAuthenticateResponse as e8, B2BSSOSAMLCreateConnectionOptions as e9, B2BEmailMagicLinksOptions as eD, B2BSSOOptions as eE, B2BOAuthOptions as eF, B2BOAuthProviderConfig as eG, B2BPasswordOptions as eH, B2BEmailOTPOptions as eI, B2BSMSOTPOptions as eJ, DirectLoginForSingleMembershipConfig as eK, B2BPasswordAuthenticateOptions as eM, B2BPasswordDiscoveryAuthenticateResponse as eN, B2BPasswordDiscoveryAuthenticateOptions as eO, B2BPasswordAuthenticateResponse as eP, B2BPasswordResetByEmailStartOptions as eQ, B2BPasswordResetByEmailStartResponse as eR, B2BPasswordDiscoveryResetByEmailStartOptions as eS, B2BPasswordDiscoveryResetByEmailStartResponse as eT, B2BPasswordDiscoveryResetByEmailOptions as eU, B2BPasswordDiscoveryResetByEmailResponse as eV, B2BPasswordResetByEmailOptions as eW, B2BPasswordResetByEmailResponse as eX, B2BPasswordResetByExistingPasswordOptions as eY, B2BPasswordResetByExistingPasswordResponse as eZ, B2BPasswordResetBySessionOptions as e_, B2BSSOSAMLCreateConnectionResponse as ea, B2BSSOSAMLUpdateConnectionOptions as eb, B2BSSOSAMLUpdateConnectionResponse as ec, B2BSSOSAMLUpdateConnectionByURLOptions as ed, B2BSSOSAMLUpdateConnectionByURLResponse as ee, B2BSSOSAMLDeleteVerificationCertificateOptions as ef, B2BSSOSAMLDeleteVerificationCertificateResponse as eg, B2BSSOSAMLDeleteEncryptionPrivateKeyOptions as eh, B2BSSOSAMLDeleteEncryptionPrivateKeyResponse as ei, B2BSSOCreateExternalConnectionOptions as ej, B2BSSOCreateExternalConnectionResponse as ek, B2BSSOUpdateExternalConnectionOptions as el, B2BSSOUpdateExternalConnectionResponse as em, B2BSSOOIDCCreateConnectionOptions as en, B2BSSOOIDCCreateConnectionResponse as eo, B2BSSOOIDCUpdateConnectionOptions as ep, B2BSSOOIDCUpdateConnectionResponse as eq, B2BSSOGetConnectionsResponse as er, B2BSSODeleteConnectionResponse as es, B2BSSODiscoverConnectionsResponse as et, B2BDiscoveryOrganizationsResponse as eu, B2BDiscoveryOrganizationsCreateOptions as ev, B2BDiscoveryOrganizationsCreateResponse as ew, B2BDiscoveryIntermediateSessionsExchangeOptions as ex, B2BDiscoveryIntermediateSessionsExchangeResponse as ey, B2BDiscoveryAuthenticateResponse as ez, IHeadlessPasswordClient as f, B2BPasswordStrengthCheckOptions as f0, B2BPasswordStrengthCheckResponse as f1, B2BSMSSendOptions as f2, B2BSMSSendResponse as f3, B2BSMSAuthenticateOptions as f4, B2BSMSAuthenticateResponse as f5, B2BOTPsEmailLoginOrSignupOptions as f6, B2BOTPsEmailLoginOrSignupResponse as f7, B2BOTPsEmailAuthenticateOptions as f8, B2BOTPsEmailAuthenticateResponse as f9, B2BSCIMRotateCancelResponse as fA, B2BImpersonationAuthenticateOptions as fB, B2BImpersonationAuthenticateResponse as fC, Cacheable as fD, PartialDeep as fE, RBACPolicyRole as fF, CommonLoginConfig as fG, CommonB2BLoginConfig as fH, B2BDiscoveryOTPEmailSendOptions as fa, B2BDiscoveryOTPEmailSendResponse as fb, B2BDiscoveryOTPEmailAuthenticateOptions as fc, B2BDiscoveryOTPEmailAuthenticateResponse as fd, B2BTOTPCreateOptions as fe, B2BTOTPCreateResponse as ff, B2BTOTPAuthenticateOptions as fg, B2BTOTPAuthenticateResponse as fh, RecoveryCodeRecoverOptions as fi, RecoveryCodeRecoverResponse as fj, RecoveryCodeRotateResponse as fk, RecoveryCodeGetResponse as fl, SCIMConnection as fm, SCIMConnectionWithBearerToken as fn, SCIMConnectionWithNextBearerToken as fo, SCIMGroup as fp, B2BSCIMCreateConnectionOptions as fq, B2BSCIMCreateConnectionResponse as fr, B2BSCIMUpdateConnectionOptions as fs, B2BSCIMUpdateConnectionResponse as ft, B2BSCIMDeleteConnectionResponse as fu, B2BSCIMGetConnectionResponse as fv, B2BSCIMGetConnectionGroupsOptions as fw, B2BSCIMGetConnectionGroupsResponse as fx, B2BSCIMRotateStartResponse as fy, B2BSCIMRotateCompleteResponse as fz, StateChangeRegisterFunction as g, StytchClientOptions as h, IHeadlessB2BIDPClient as i, B2BOAuthAuthorizeStartResponse as j, B2BOAuthAuthorizeSubmitOptions as k, B2BOAuthAuthorizeSubmitResponse as l, B2BOAuthLogoutStartOptions as m, B2BOAuthLogoutStartResponse as n, IHeadlessB2BOAuthClient as o, IHeadlessB2BMagicLinksClient as p, IHeadlessB2BSessionClient as q, IHeadlessB2BMemberClient as r, IHeadlessB2BSelfClient as s, IHeadlessB2BOrganizationClient as t, IHeadlessB2BSSOClient as u, IHeadlessB2BDiscoveryClient as v, IHeadlessB2BPasswordClient as w, IHeadlessB2BOTPsClient as x, IHeadlessB2BTOTPsClient as y, IHeadlessB2BRecoveryCodesClient as z };
|
|
6956
|
+
export { BiometricsFailedError as b$, OAuthProviders as b6, Wallets as b7, OneTapPositions as b8, StytchAPISchemaError as bA, StytchAPIError as bB, StytchSDKError as bD, NoCurrentSessionError as bF, InternalError as bG, NoBiometricsRegistrationError as bH, BiometricsUnavailableError as bI, KeyInvalidatedError as bJ, KeystoreUnavailableError as bK, NoBiometricsEnrolledError as bL, BiometricsAlreadyEnrolledError as bM, UserCancellationError as bN, UserLockedOutError as bO, DeviceCredentialsNotAllowedError as bP, MissingGoogleClientIDError as bQ, MissingPKCEError as bR, MissingAuthorizationCredentialIDTokenError as bS, InvalidAuthorizationCredentialError as bT, NoCredentialsPresentError as bU, MissingPublicKeyError as bV, ChallengeSigningFailedError as bW, SDKNotConfiguredError as bX, FailedCodeChallengeError as bY, PasskeysUnsupportedError as bZ, FailedToDecryptDataError as b_, OTPMethods as bc, StytchEventType as bk, RNUIProducts as bn, SDKAPIUnreachableError as bt, StytchSDKUsageError as bu, StytchSDKSchemaError as bv, StytchSDKAPIError as bw, UNRECOVERABLE_ERROR_TYPES as bx, StytchError as by, StytchAPIUnreachableError as bz, InvalidStartUrlError as c0, InvalidRedirectSchemeError as c1, MissingUrlError as c2, InvalidCredentialTypeError as c3, MissingAttestationObjectError as c4, JSONDataNotConvertibleToStringError as c5, RandomNumberGenerationFailed as c6, PasskeysInvalidEncoding as c7, PasskeysMisconfigured as c8, SignInWithAppleMisconfigured as c9, MissingCipherIv as ca, InvalidPrivateKeyLength as cb, BiometricRegistrationIdIsNullOrBlank as cc, DFPNotConfigured as cd, IDPOAuthFlowMissingParamError as ce, errorToStytchError as cf };
|
|
6957
|
+
export type { BitbucketOAuthFactor as $, AuthenticateResponse as A, B2BState as B, ConsumerState as C, DeleteResponse as D, DeviceAttributeDetails as E, SDKDeviceHistory as F, ConnectedAppPublic as G, ScopeResult as H, IHeadlessMagicLinksClient as I, EmailFactor as J, GoogleOAuthFactor as K, MicrosoftOAuthFactor as L, MemberSession as M, AppleOAuthFactor as N, Organization as O, PhoneNumberFactor as P, GithubOAuthFactor as Q, ResponseCommon as R, StyleConfig as S, GitLabOAuthFactor as T, User as U, FacebookOAuthFactor as V, WebAuthnRegistration as W, DiscordOAuthFactor as X, SalesforceOAuthFactor as Y, SlackOAuthFactor as Z, AmazonOAuthFactor as _, StytchProjectConfigurationInput as a, PasswordResetByExistingPasswordOptions as a$, LinkedInOAuthFactor as a0, CoinbaseOAuthFactor as a1, TwitchOAuthFactor as a2, TwitterOAuthFactor as a3, TikTokOAuthFactor as a4, FigmaOAuthFactor as a5, SnapchatOAuthFactor as a6, YahooOAuthFactor as a7, WebAuthnFactor as a8, AuthenticatorAppFactor as a9, OTPCodeSMSOptions as aA, OTPCodeEmailOptions as aB, OTPAuthenticateOptions as aC, OTPsLoginOrCreateResponse as aD, OTPsSendResponse as aE, OTPsAuthenticateResponse as aF, SIWEParams as aG, CryptoWalletAuthenticateStartOptions as aH, CryptoWalletAuthenticateStartResponse as aI, CryptoWalletAuthenticateOptions as aJ, CryptoWalletAuthenticateResponse as aK, WebAuthnRegisterStartOptions as aL, WebAuthnRegisterStartResponse as aM, WebAuthnRegisterResponse as aN, WebAuthnAuthenticateStartOptions as aO, WebAuthnAuthenticateStartResponse as aP, WebAuthnAuthenticateResponse as aQ, WebAuthnUpdateOptions as aR, WebAuthnUpdateResponse as aS, PasswordCreateOptions as aT, PasswordCreateResponse as aU, PasswordAuthenticateOptions as aV, PasswordAuthenticateResponse as aW, PasswordResetByEmailStartOptions as aX, PasswordResetByEmailStartResponse as aY, PasswordResetByEmailOptions as aZ, PasswordResetByEmailResponse as a_, RecoveryCodeFactor as aa, CryptoWalletFactor as ab, PasswordFactor as ac, BiometricFactor as ad, AccessTokenExchangeFactor as ae, AuthenticationFactor as af, Session as ag, SessionAuthenticateOptions as ah, SessionAuthenticateResponse as ai, SessionAccessTokenExchangeOptions as aj, SessionAccessTokenExchangeResponse as ak, SessionRevokeOptions as al, SessionRevokeResponse as am, SessionAttestOptions as an, SessionAttestResponse as ao, SessionOnChangeCallback as ap, SessionTokens$1 as aq, SessionTokensUpdate as ar, SessionInfo as as, MagicLinksLoginOrCreateOptions as at, MagicLinksSendOptions as au, MagicLinksLoginOrCreateResponse as av, MagicLinksSendResponse as aw, MagicLinksAuthenticateOptions as ax, MagicLinksAuthenticateResponse as ay, OTPCodeOptions as az, IHeadlessSessionClient as b, PasswordResetByExistingPasswordResponse as b0, PasswordResetBySessionOptions as b1, PasswordResetBySessionResponse as b2, PasswordStrengthCheckOptions as b3, PasswordStrengthCheckResponse as b4, EmailMagicLinksOptions as b5, ProviderOptions as b9, StytchSDKErrorOptions as bC, StytchSDKUIError as bE, ProvidersOptions as ba, OAuthOptions as bb, OtpOptions as bd, PasswordOptions as be, SessionOptions as bf, PasskeyOptions as bg, IDPConsentItem as bh, IDPConsentSection as bi, IDPConsentScreenManifest as bj, StytchEvent as bl, OneTapStyleConfig as bm, RNUIEmailMagicLinksOptions as bo, RNUIOAuthOptions as bp, RNUIOTPOptions as bq, RNUIPasswordOptions as br, RNUIProductConfig as bs, IHeadlessOTPsClient as c, B2BOrganizationsMembersUpdateOptions as c$, MemberOptions as cA, X509Certificate as cB, EncryptionPrivateKey as cC, SAMLConnection as cD, OIDCConnection as cE, ExternalConnection as cF, B2BMagicLinksInviteOptions as cG, B2BMagicLinksInviteResponse as cH, B2BMagicLinkLoginOrSignupOptions as cI, B2BMagicLinkLoginOrSignupResponse as cJ, B2BMagicLinksAuthenticateOptions as cK, B2BMagicLinksAuthenticateResponse as cL, B2BMagicLinksEmailDiscoverySendOptions as cM, B2BMagicLinksEmailDiscoverySendResponse as cN, B2BMagicLinksDiscoveryAuthenticateResponse as cO, B2BMagicLinksDiscoveryAuthenticateOptions as cP, B2BOrganizationsUpdateOptions as cQ, B2BOrganizationsUpdateResponse as cR, B2BOrganizationsDeleteResponse as cS, B2BOrganizationsGetBySlugOptions as cT, OrganizationBySlugMatch as cU, B2BOrganizationsGetBySlugResponse as cV, B2BOrganizationsGetConnectedAppsResponse as cW, B2BOrganizationsGetConnectedAppOptions as cX, B2BOrganizationsGetConnectedAppResponse as cY, B2BOrganizationsMembersCreateOptions as cZ, B2BOrganizationsMembersCreateResponse as c_, B2BEmailFactor as cg, B2BPhoneNumberFactor as ch, B2BGoogleOAuthFactor as ci, B2BMicrosoftOAuthFactor as cj, B2BHubSpotOAuthFactor as ck, B2BSlackOAuthFactor as cl, B2BGitHubOAuthFactor as cm, B2BAuthenticationFactor as cn, MemberResponseCommon as co, OAuthRegistration as cp, MemberRole as cq, RetiredEmailAddress as cr, B2BAuthenticateResponse as cs, B2BAuthenticateResponseWithMFA as ct, B2BAllowedAuthMethods as cu, B2BAllowedMFAMethods as cv, SSOActiveConnection as cw, DiscoveredOrganization as cx, MfaRequired as cy, PrimaryRequired as cz, IHeadlessCryptoWalletClient as d, B2BPasswordDiscoveryResetByEmailOptions as d$, B2BOrganizationsMembersUpdateResponse as d0, SearchQueryOperand as d1, B2BOrganizationsMembersSearchOptions as d2, B2BOrganizationsMembersSearchResponse as d3, B2BOrganizationsMembersDeleteResponse as d4, B2BOrganizationsMembersReactivateResponse as d5, B2BOrganizationsMemberDeletePasswordResponse as d6, B2BOrganizationsMemberDeleteMFAPhoneNumberResponse as d7, B2BOrganizationsMemberDeleteMFATOTPResponse as d8, B2BOrganizationsMemberUnlinkRetiredEmailOptions as d9, B2BSSOSAMLDeleteEncryptionPrivateKeyOptions as dA, B2BSSOSAMLDeleteEncryptionPrivateKeyResponse as dB, B2BSSOCreateExternalConnectionOptions as dC, B2BSSOCreateExternalConnectionResponse as dD, B2BSSOUpdateExternalConnectionOptions as dE, B2BSSOUpdateExternalConnectionResponse as dF, B2BSSOOIDCCreateConnectionOptions as dG, B2BSSOOIDCCreateConnectionResponse as dH, B2BSSOOIDCUpdateConnectionOptions as dI, B2BSSOOIDCUpdateConnectionResponse as dJ, B2BSSOGetConnectionsResponse as dK, B2BSSODeleteConnectionResponse as dL, B2BSSODiscoverConnectionsResponse as dM, B2BDiscoveryOrganizationsResponse as dN, B2BDiscoveryOrganizationsCreateOptions as dO, B2BDiscoveryOrganizationsCreateResponse as dP, B2BDiscoveryIntermediateSessionsExchangeOptions as dQ, B2BDiscoveryIntermediateSessionsExchangeResponse as dR, B2BDiscoveryAuthenticateResponse as dS, B2BPasswordAuthenticateOptions as dT, B2BPasswordDiscoveryAuthenticateResponse as dU, B2BPasswordDiscoveryAuthenticateOptions as dV, B2BPasswordAuthenticateResponse as dW, B2BPasswordResetByEmailStartOptions as dX, B2BPasswordResetByEmailStartResponse as dY, B2BPasswordDiscoveryResetByEmailStartOptions as dZ, B2BPasswordDiscoveryResetByEmailStartResponse as d_, B2BOrganizationsMemberUnlinkRetiredEmailResponse as da, B2BOrganizationsMemberStartEmailUpdateOptions as db, B2BOrganizationsMemberStartEmailUpdateResponse as dc, B2BOrganizationsMemberGetConnectedAppsOptions as dd, B2BOrganizationsMemberGetConnectedAppsResponse as de, B2BOrganizationsMemberRevokeConnectedAppOptions as df, B2BOrganizationsMemberRevokeConnectedAppResponse as dg, OrganizationInfo as dh, OAuthStartOptions as di, B2BOAuthDiscoveryStartOptions as dj, B2BOAuthAuthenticateOptions as dk, OAuthDiscoveryAuthenticateOptions as dl, B2BOAuthDiscoveryAuthenticateResponse as dm, B2BOAuthAuthenticateResponse as dn, SSOStartOptions as dp, SSOAuthenticateOptions as dq, SSOAuthenticateResponse as dr, B2BSSOSAMLCreateConnectionOptions as ds, B2BSSOSAMLCreateConnectionResponse as dt, B2BSSOSAMLUpdateConnectionOptions as du, B2BSSOSAMLUpdateConnectionResponse as dv, B2BSSOSAMLUpdateConnectionByURLOptions as dw, B2BSSOSAMLUpdateConnectionByURLResponse as dx, B2BSSOSAMLDeleteVerificationCertificateOptions as dy, B2BSSOSAMLDeleteVerificationCertificateResponse as dz, IHeadlessWebAuthnClient as e, B2BPasswordDiscoveryResetByEmailResponse as e0, B2BPasswordResetByEmailOptions as e1, B2BPasswordResetByEmailResponse as e2, B2BPasswordResetByExistingPasswordOptions as e3, B2BPasswordResetByExistingPasswordResponse as e4, B2BPasswordResetBySessionOptions as e5, B2BPasswordResetBySessionResponse as e6, B2BPasswordStrengthCheckOptions as e7, B2BPasswordStrengthCheckResponse as e8, B2BSMSSendOptions as e9, IfOpaqueTokens as eA, ExtractOpaqueTokens as eB, Values as eC, B2BSMSSendResponse as ea, B2BSMSAuthenticateOptions as eb, B2BSMSAuthenticateResponse as ec, B2BOTPsEmailLoginOrSignupOptions as ed, B2BOTPsEmailLoginOrSignupResponse as ee, B2BOTPsEmailAuthenticateOptions as ef, B2BOTPsEmailAuthenticateResponse as eg, B2BDiscoveryOTPEmailSendOptions as eh, B2BDiscoveryOTPEmailSendResponse as ei, B2BDiscoveryOTPEmailAuthenticateOptions as ej, B2BDiscoveryOTPEmailAuthenticateResponse as ek, B2BTOTPCreateOptions as el, B2BTOTPCreateResponse as em, B2BTOTPAuthenticateOptions as en, B2BTOTPAuthenticateResponse as eo, RecoveryCodeRecoverOptions as ep, RecoveryCodeRecoverResponse as eq, RecoveryCodeRotateResponse as er, RecoveryCodeGetResponse as es, B2BImpersonationAuthenticateOptions as et, B2BImpersonationAuthenticateResponse as eu, PartialDeep as ev, RBACPolicyRole as ew, DFPProtectedAuthMode as ex, RBACPolicyRaw as ey, Cacheable as ez, IHeadlessPasswordClient as f, StytchClientOptions as g, IHeadlessB2BOAuthClient as h, IHeadlessB2BMagicLinksClient as i, IHeadlessB2BOrganizationClient as j, IHeadlessB2BSSOClient as k, IHeadlessB2BDiscoveryClient as l, IHeadlessB2BPasswordClient as m, IHeadlessB2BOTPsClient as n, IHeadlessB2BTOTPsClient as o, IHeadlessB2BRecoveryCodesClient as p, IHeadlessB2BImpersonationClient as q, Member as r, StytchProjectConfiguration as s, StringsOptions as t, Callbacks as u, UpdateResponse as v, SessionDurationOptions as w, UnsubscribeFunction as x, locale as y, MemberEmailUpdateDeliveryMethod as z };
|