@forgerock/login-widget 1.2.0-beta.1 → 1.2.0-beta.10

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/package.json CHANGED
@@ -13,5 +13,5 @@
13
13
  },
14
14
  "license": "MIT",
15
15
  "dependencies": {},
16
- "version": "1.2.0-beta.1"
16
+ "version": "1.2.0-beta.10"
17
17
  }
package/types.d.ts CHANGED
@@ -169,10 +169,20 @@ declare class FRCallback {
169
169
 
170
170
  type FRCallbackFactory = (callback: Callback) => FRCallback;
171
171
 
172
+ type LogLevel = 'none' | 'info' | 'warn' | 'error' | 'debug';
172
173
  interface Action {
173
174
  type: ActionTypes;
174
175
  payload: any;
175
176
  }
177
+ /**
178
+ * Custom Logger for logger
179
+ */
180
+ interface LoggerFunctions<W = (...msgs: unknown[]) => void, E = (...msgs: unknown[]) => void, L = (...msgs: unknown[]) => void, I = (...msgs: unknown[]) => void> {
181
+ warn?: W;
182
+ error?: E;
183
+ log?: L;
184
+ info?: I;
185
+ }
176
186
  /**
177
187
  * Configuration options.
178
188
  */
@@ -188,6 +198,8 @@ interface ConfigOptions$1 {
188
198
  tree?: string;
189
199
  type?: string;
190
200
  oauthThreshold?: number;
201
+ logLevel?: LogLevel;
202
+ logger?: LoggerFunctions;
191
203
  }
192
204
  /**
193
205
  * Optional configuration for custom paths for actions
@@ -631,6 +643,7 @@ interface JourneyStoreValue$1 {
631
643
  step: StepTypes;
632
644
  successful: boolean;
633
645
  response: Maybe<Step$1>;
646
+ recaptchaAction?: Maybe<string>;
634
647
  }
635
648
  interface StepMetadata {
636
649
  derived: {
@@ -639,6 +652,7 @@ interface StepMetadata {
639
652
  numOfCallbacks: number;
640
653
  numOfSelfSubmittableCbs: number;
641
654
  numOfUserInputCbs: number;
655
+ stageName?: string;
642
656
  };
643
657
  platform?: Record<string, unknown>;
644
658
  }
@@ -1020,6 +1034,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
1020
1034
  safeParse(data: unknown, params?: Partial<ParseParams>): SafeParseReturnType<Input, Output>;
1021
1035
  parseAsync(data: unknown, params?: Partial<ParseParams>): Promise<Output>;
1022
1036
  safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;
1037
+ /** Alias of safeParseAsync */
1023
1038
  spa: (data: unknown, params?: Partial<ParseParams> | undefined) => Promise<SafeParseReturnType<Input, Output>>;
1024
1039
  refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>;
1025
1040
  refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;
@@ -1028,6 +1043,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
1028
1043
  _refinement(refinement: RefinementEffect<Output>["refinement"]): ZodEffects<this, Output, Input>;
1029
1044
  superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>;
1030
1045
  superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>;
1046
+ superRefine(refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>): ZodEffects<this, Output, Input>;
1031
1047
  constructor(def: Def);
1032
1048
  optional(): ZodOptional<this>;
1033
1049
  nullable(): ZodNullable<this>;
@@ -1047,6 +1063,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
1047
1063
  }) => Output): ZodCatch<this>;
1048
1064
  describe(description: string): this;
1049
1065
  pipe<T extends ZodTypeAny>(target: T): ZodPipeline<this, T>;
1066
+ readonly(): ZodReadonly<this>;
1050
1067
  isOptional(): boolean;
1051
1068
  isNullable(): boolean;
1052
1069
  }
@@ -1127,7 +1144,7 @@ interface ZodStringDef extends ZodTypeDef {
1127
1144
  }
1128
1145
  declare class ZodString extends ZodType<string, ZodStringDef> {
1129
1146
  _parse(input: ParseInput): ParseReturnType<string>;
1130
- protected _regex: (regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage | undefined) => ZodEffects<this, string, string>;
1147
+ protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;
1131
1148
  _addCheck(check: ZodStringCheck): ZodString;
1132
1149
  email(message?: errorUtil.ErrMessage): ZodString;
1133
1150
  url(message?: errorUtil.ErrMessage): ZodString;
@@ -1155,10 +1172,14 @@ declare class ZodString extends ZodType<string, ZodStringDef> {
1155
1172
  min(minLength: number, message?: errorUtil.ErrMessage): ZodString;
1156
1173
  max(maxLength: number, message?: errorUtil.ErrMessage): ZodString;
1157
1174
  length(len: number, message?: errorUtil.ErrMessage): ZodString;
1158
- nonempty: (message?: errorUtil.ErrMessage | undefined) => ZodString;
1159
- trim: () => ZodString;
1160
- toLowerCase: () => ZodString;
1161
- toUpperCase: () => ZodString;
1175
+ /**
1176
+ * @deprecated Use z.string().min(1) instead.
1177
+ * @see {@link ZodString.min}
1178
+ */
1179
+ nonempty(message?: errorUtil.ErrMessage): ZodString;
1180
+ trim(): ZodString;
1181
+ toLowerCase(): ZodString;
1182
+ toUpperCase(): ZodString;
1162
1183
  get isDatetime(): boolean;
1163
1184
  get isEmail(): boolean;
1164
1185
  get isURL(): boolean;
@@ -1330,9 +1351,21 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
1330
1351
  strict(message?: errorUtil.ErrMessage): ZodObject<T, "strict", Catchall>;
1331
1352
  strip(): ZodObject<T, "strip", Catchall>;
1332
1353
  passthrough(): ZodObject<T, "passthrough", Catchall>;
1354
+ /**
1355
+ * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.
1356
+ * If you want to pass through unknown properties, use `.passthrough()` instead.
1357
+ */
1333
1358
  nonstrict: () => ZodObject<T, "passthrough", Catchall>;
1334
1359
  extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;
1360
+ /**
1361
+ * @deprecated Use `.extend` instead
1362
+ * */
1335
1363
  augment: <Augmentation extends ZodRawShape>(augmentation: Augmentation) => ZodObject<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, UnknownKeys, Catchall, objectOutputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>, objectInputType<{ [k in keyof (Omit<T, keyof Augmentation> & Augmentation)]: (Omit<T, keyof Augmentation> & Augmentation)[k]; }, Catchall, UnknownKeys>>;
1364
+ /**
1365
+ * Prior to zod@1.0.12 there was a bug in the
1366
+ * inferred type of merged objects. Please
1367
+ * upgrade if you are experiencing issues.
1368
+ */
1336
1369
  merge<Incoming extends AnyZodObject, Augmentation extends Incoming["shape"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>;
1337
1370
  setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & {
1338
1371
  [k in Key]: Schema;
@@ -1344,6 +1377,9 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
1344
1377
  omit<Mask extends {
1345
1378
  [k in keyof T]?: true;
1346
1379
  }>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;
1380
+ /**
1381
+ * @deprecated
1382
+ */
1347
1383
  deepPartial(): partialUtil.DeepPartial<this>;
1348
1384
  partial(): ZodObject<{
1349
1385
  [k in keyof T]: ZodOptional<T[k]>;
@@ -1502,7 +1538,7 @@ declare type TransformEffect<T> = {
1502
1538
  };
1503
1539
  declare type PreprocessEffect<T> = {
1504
1540
  type: "preprocess";
1505
- transform: (arg: T) => any;
1541
+ transform: (arg: T, ctx: RefinementCtx) => any;
1506
1542
  };
1507
1543
  declare type Effect<T> = RefinementEffect<T> | TransformEffect<T> | PreprocessEffect<T>;
1508
1544
  interface ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
@@ -1515,7 +1551,7 @@ declare class ZodEffects<T extends ZodTypeAny, Output = output<T>, Input = input
1515
1551
  sourceType(): T;
1516
1552
  _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1517
1553
  static create: <I extends ZodTypeAny>(schema: I, effect: Effect<I["_output"]>, params?: RawCreateParams) => ZodEffects<I, I["_output"], input<I>>;
1518
- static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
1554
+ static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
1519
1555
  }
1520
1556
 
1521
1557
  interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
@@ -1596,6 +1632,18 @@ declare class ZodPipeline<A extends ZodTypeAny, B extends ZodTypeAny> extends Zo
1596
1632
  _parse(input: ParseInput): ParseReturnType<any>;
1597
1633
  static create<A extends ZodTypeAny, B extends ZodTypeAny>(a: A, b: B): ZodPipeline<A, B>;
1598
1634
  }
1635
+ declare type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
1636
+ readonly [Symbol.toStringTag]: string;
1637
+ } | Date | Error | Generator | Promise<unknown> | RegExp;
1638
+ declare type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
1639
+ interface ZodReadonlyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
1640
+ innerType: T;
1641
+ typeName: ZodFirstPartyTypeKind.ZodReadonly;
1642
+ }
1643
+ declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T["_output"]>, ZodReadonlyDef<T>, T["_input"]> {
1644
+ _parse(input: ParseInput): ParseReturnType<this["_output"]>;
1645
+ static create: <T_1 extends ZodTypeAny>(type: T_1, params?: RawCreateParams) => ZodReadonly<T_1>;
1646
+ }
1599
1647
  declare enum ZodFirstPartyTypeKind {
1600
1648
  ZodString = "ZodString",
1601
1649
  ZodNumber = "ZodNumber",
@@ -1631,7 +1679,8 @@ declare enum ZodFirstPartyTypeKind {
1631
1679
  ZodCatch = "ZodCatch",
1632
1680
  ZodPromise = "ZodPromise",
1633
1681
  ZodBranded = "ZodBranded",
1634
- ZodPipeline = "ZodPipeline"
1682
+ ZodPipeline = "ZodPipeline",
1683
+ ZodReadonly = "ZodReadonly"
1635
1684
  }
1636
1685
 
1637
1686
  declare const partialConfigSchema: ZodObject<{
@@ -1689,55 +1738,55 @@ declare const partialConfigSchema: ZodObject<{
1689
1738
  serverConfig: ZodOptional<ZodObject<{
1690
1739
  baseUrl: ZodString;
1691
1740
  paths: ZodOptional<ZodObject<{
1692
- authenticate: ZodString;
1693
- authorize: ZodString;
1694
- accessToken: ZodString;
1695
- endSession: ZodString;
1696
- userInfo: ZodString;
1697
- revoke: ZodString;
1698
- sessions: ZodString;
1699
- }, "strip", ZodTypeAny, {
1700
- authenticate: string;
1701
- authorize: string;
1702
- accessToken: string;
1703
- endSession: string;
1704
- userInfo: string;
1705
- revoke: string;
1706
- sessions: string;
1741
+ authenticate: ZodOptional<ZodString>;
1742
+ authorize: ZodOptional<ZodString>;
1743
+ accessToken: ZodOptional<ZodString>;
1744
+ endSession: ZodOptional<ZodString>;
1745
+ userInfo: ZodOptional<ZodString>;
1746
+ revoke: ZodOptional<ZodString>;
1747
+ sessions: ZodOptional<ZodString>;
1748
+ }, "strict", ZodTypeAny, {
1749
+ authenticate?: string | undefined;
1750
+ authorize?: string | undefined;
1751
+ accessToken?: string | undefined;
1752
+ endSession?: string | undefined;
1753
+ userInfo?: string | undefined;
1754
+ revoke?: string | undefined;
1755
+ sessions?: string | undefined;
1707
1756
  }, {
1708
- authenticate: string;
1709
- authorize: string;
1710
- accessToken: string;
1711
- endSession: string;
1712
- userInfo: string;
1713
- revoke: string;
1714
- sessions: string;
1757
+ authenticate?: string | undefined;
1758
+ authorize?: string | undefined;
1759
+ accessToken?: string | undefined;
1760
+ endSession?: string | undefined;
1761
+ userInfo?: string | undefined;
1762
+ revoke?: string | undefined;
1763
+ sessions?: string | undefined;
1715
1764
  }>>;
1716
- timeout: ZodNumber;
1717
- }, "strip", ZodTypeAny, {
1718
- timeout: number;
1765
+ timeout: ZodOptional<ZodNumber>;
1766
+ }, "strict", ZodTypeAny, {
1719
1767
  baseUrl: string;
1720
1768
  paths?: {
1721
- authenticate: string;
1722
- authorize: string;
1723
- accessToken: string;
1724
- endSession: string;
1725
- userInfo: string;
1726
- revoke: string;
1727
- sessions: string;
1769
+ authenticate?: string | undefined;
1770
+ authorize?: string | undefined;
1771
+ accessToken?: string | undefined;
1772
+ endSession?: string | undefined;
1773
+ userInfo?: string | undefined;
1774
+ revoke?: string | undefined;
1775
+ sessions?: string | undefined;
1728
1776
  } | undefined;
1777
+ timeout?: number | undefined;
1729
1778
  }, {
1730
- timeout: number;
1731
1779
  baseUrl: string;
1732
1780
  paths?: {
1733
- authenticate: string;
1734
- authorize: string;
1735
- accessToken: string;
1736
- endSession: string;
1737
- userInfo: string;
1738
- revoke: string;
1739
- sessions: string;
1781
+ authenticate?: string | undefined;
1782
+ authorize?: string | undefined;
1783
+ accessToken?: string | undefined;
1784
+ endSession?: string | undefined;
1785
+ userInfo?: string | undefined;
1786
+ revoke?: string | undefined;
1787
+ sessions?: string | undefined;
1740
1788
  } | undefined;
1789
+ timeout?: number | undefined;
1741
1790
  }>>;
1742
1791
  support: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"legacy">, ZodLiteral<"modern">]>>>;
1743
1792
  tokenStore: ZodOptional<ZodOptional<ZodUnion<[ZodObject<{
@@ -1759,7 +1808,7 @@ declare const partialConfigSchema: ZodObject<{
1759
1808
  }>>>;
1760
1809
  set: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
1761
1810
  remove: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
1762
- }, "strip", ZodTypeAny, {
1811
+ }, "strict", ZodTypeAny, {
1763
1812
  set: (args_0: string, ...args_1: unknown[]) => Promise<void>;
1764
1813
  remove: (args_0: string, ...args_1: unknown[]) => Promise<void>;
1765
1814
  get: (args_0: string, ...args_1: unknown[]) => Promise<{
@@ -1800,17 +1849,17 @@ declare const partialConfigSchema: ZodObject<{
1800
1849
  redirectUri?: string | undefined;
1801
1850
  scope?: string | undefined;
1802
1851
  serverConfig?: {
1803
- timeout: number;
1804
1852
  baseUrl: string;
1805
1853
  paths?: {
1806
- authenticate: string;
1807
- authorize: string;
1808
- accessToken: string;
1809
- endSession: string;
1810
- userInfo: string;
1811
- revoke: string;
1812
- sessions: string;
1854
+ authenticate?: string | undefined;
1855
+ authorize?: string | undefined;
1856
+ accessToken?: string | undefined;
1857
+ endSession?: string | undefined;
1858
+ userInfo?: string | undefined;
1859
+ revoke?: string | undefined;
1860
+ sessions?: string | undefined;
1813
1861
  } | undefined;
1862
+ timeout?: number | undefined;
1814
1863
  } | undefined;
1815
1864
  support?: "legacy" | "modern" | undefined;
1816
1865
  tokenStore?: "localStorage" | "sessionStorage" | {
@@ -1845,17 +1894,17 @@ declare const partialConfigSchema: ZodObject<{
1845
1894
  redirectUri?: string | undefined;
1846
1895
  scope?: string | undefined;
1847
1896
  serverConfig?: {
1848
- timeout: number;
1849
1897
  baseUrl: string;
1850
1898
  paths?: {
1851
- authenticate: string;
1852
- authorize: string;
1853
- accessToken: string;
1854
- endSession: string;
1855
- userInfo: string;
1856
- revoke: string;
1857
- sessions: string;
1899
+ authenticate?: string | undefined;
1900
+ authorize?: string | undefined;
1901
+ accessToken?: string | undefined;
1902
+ endSession?: string | undefined;
1903
+ userInfo?: string | undefined;
1904
+ revoke?: string | undefined;
1905
+ sessions?: string | undefined;
1858
1906
  } | undefined;
1907
+ timeout?: number | undefined;
1859
1908
  } | undefined;
1860
1909
  support?: "legacy" | "modern" | undefined;
1861
1910
  tokenStore?: "localStorage" | "sessionStorage" | {
@@ -1966,12 +2015,15 @@ declare const partialStringsSchema: ZodObject<{
1966
2015
  closeModal: ZodOptional<ZodString>;
1967
2016
  charactersCannotRepeatMoreThan: ZodOptional<ZodString>;
1968
2017
  charactersCannotRepeatMoreThanCaseInsensitive: ZodOptional<ZodString>;
2018
+ checkYourEmail: ZodOptional<ZodString>;
1969
2019
  chooseDifferentUsername: ZodOptional<ZodString>;
1970
2020
  chooseYourDeviceForIdentityVerification: ZodOptional<ZodString>;
1971
2021
  confirmPassword: ZodOptional<ZodString>;
1972
2022
  constraintViolationForPassword: ZodOptional<ZodString>;
1973
2023
  constraintViolationForValue: ZodOptional<ZodString>;
1974
2024
  continueWith: ZodOptional<ZodString>;
2025
+ copyUrl: ZodOptional<ZodString>;
2026
+ copyAndPasteUrlBelow: ZodOptional<ZodString>;
1975
2027
  customSecurityQuestion: ZodOptional<ZodString>;
1976
2028
  dontGetLockedOut: ZodOptional<ZodString>;
1977
2029
  doesNotMeetMinimumCharacterLength: ZodOptional<ZodString>;
@@ -1996,9 +2048,11 @@ declare const partialStringsSchema: ZodObject<{
1996
2048
  minimumNumberOfUppercase: ZodOptional<ZodString>;
1997
2049
  minimumNumberOfSymbols: ZodOptional<ZodString>;
1998
2050
  nameCallback: ZodOptional<ZodString>;
2051
+ next: ZodOptional<ZodString>;
1999
2052
  nextButton: ZodOptional<ZodString>;
2000
2053
  notToExceedMaximumCharacterLength: ZodOptional<ZodString>;
2001
2054
  noLessThanMinimumCharacterLength: ZodOptional<ZodString>;
2055
+ onMobileOpenInAuthenticator: ZodOptional<ZodString>;
2002
2056
  passwordCallback: ZodOptional<ZodString>;
2003
2057
  passwordCannotContainCommonPasswords: ZodOptional<ZodString>;
2004
2058
  passwordCannotContainCommonPasswordsOrBeReversible: ZodOptional<ZodString>;
@@ -2009,6 +2063,9 @@ declare const partialStringsSchema: ZodObject<{
2009
2063
  preferencesMarketing: ZodOptional<ZodString>;
2010
2064
  preferencesUpdates: ZodOptional<ZodString>;
2011
2065
  provideCustomQuestion: ZodOptional<ZodString>;
2066
+ qrCodeNotWorking: ZodOptional<ZodString>;
2067
+ qrCodeFailedToRender: ZodOptional<ZodString>;
2068
+ qrCodeImportFailure: ZodOptional<ZodString>;
2012
2069
  redirectingTo: ZodOptional<ZodString>;
2013
2070
  registerButton: ZodOptional<ZodString>;
2014
2071
  registerHeader: ZodOptional<ZodString>;
@@ -2016,6 +2073,7 @@ declare const partialStringsSchema: ZodObject<{
2016
2073
  registerYourDevice: ZodOptional<ZodString>;
2017
2074
  requiredField: ZodOptional<ZodString>;
2018
2075
  securityAnswer: ZodOptional<ZodString>;
2076
+ scanQrCodeWithAuthenticator: ZodOptional<ZodString>;
2019
2077
  securityQuestions: ZodOptional<ZodString>;
2020
2078
  securityQuestionsPrompt: ZodOptional<ZodString>;
2021
2079
  shouldContainANumber: ZodOptional<ZodString>;
@@ -2024,6 +2082,7 @@ declare const partialStringsSchema: ZodObject<{
2024
2082
  shouldContainASymbol: ZodOptional<ZodString>;
2025
2083
  showPassword: ZodOptional<ZodString>;
2026
2084
  sn: ZodOptional<ZodString>;
2085
+ submit: ZodOptional<ZodString>;
2027
2086
  submitButton: ZodOptional<ZodString>;
2028
2087
  successMessage: ZodOptional<ZodString>;
2029
2088
  termsAndConditions: ZodOptional<ZodString>;
@@ -2035,6 +2094,7 @@ declare const partialStringsSchema: ZodObject<{
2035
2094
  unrecoverableError: ZodOptional<ZodString>;
2036
2095
  unknownLoginError: ZodOptional<ZodString>;
2037
2096
  unknownNetworkError: ZodOptional<ZodString>;
2097
+ url: ZodOptional<ZodString>;
2038
2098
  useDeviceForIdentityVerification: ZodOptional<ZodString>;
2039
2099
  userName: ZodOptional<ZodString>;
2040
2100
  usernameRequirements: ZodOptional<ZodString>;
@@ -2053,12 +2113,15 @@ declare const partialStringsSchema: ZodObject<{
2053
2113
  closeModal?: string | undefined;
2054
2114
  charactersCannotRepeatMoreThan?: string | undefined;
2055
2115
  charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
2116
+ checkYourEmail?: string | undefined;
2056
2117
  chooseDifferentUsername?: string | undefined;
2057
2118
  chooseYourDeviceForIdentityVerification?: string | undefined;
2058
2119
  confirmPassword?: string | undefined;
2059
2120
  constraintViolationForPassword?: string | undefined;
2060
2121
  constraintViolationForValue?: string | undefined;
2061
2122
  continueWith?: string | undefined;
2123
+ copyUrl?: string | undefined;
2124
+ copyAndPasteUrlBelow?: string | undefined;
2062
2125
  customSecurityQuestion?: string | undefined;
2063
2126
  dontGetLockedOut?: string | undefined;
2064
2127
  doesNotMeetMinimumCharacterLength?: string | undefined;
@@ -2083,9 +2146,11 @@ declare const partialStringsSchema: ZodObject<{
2083
2146
  minimumNumberOfUppercase?: string | undefined;
2084
2147
  minimumNumberOfSymbols?: string | undefined;
2085
2148
  nameCallback?: string | undefined;
2149
+ next?: string | undefined;
2086
2150
  nextButton?: string | undefined;
2087
2151
  notToExceedMaximumCharacterLength?: string | undefined;
2088
2152
  noLessThanMinimumCharacterLength?: string | undefined;
2153
+ onMobileOpenInAuthenticator?: string | undefined;
2089
2154
  passwordCallback?: string | undefined;
2090
2155
  passwordCannotContainCommonPasswords?: string | undefined;
2091
2156
  passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
@@ -2096,6 +2161,9 @@ declare const partialStringsSchema: ZodObject<{
2096
2161
  preferencesMarketing?: string | undefined;
2097
2162
  preferencesUpdates?: string | undefined;
2098
2163
  provideCustomQuestion?: string | undefined;
2164
+ qrCodeNotWorking?: string | undefined;
2165
+ qrCodeFailedToRender?: string | undefined;
2166
+ qrCodeImportFailure?: string | undefined;
2099
2167
  redirectingTo?: string | undefined;
2100
2168
  registerButton?: string | undefined;
2101
2169
  registerHeader?: string | undefined;
@@ -2103,6 +2171,7 @@ declare const partialStringsSchema: ZodObject<{
2103
2171
  registerYourDevice?: string | undefined;
2104
2172
  requiredField?: string | undefined;
2105
2173
  securityAnswer?: string | undefined;
2174
+ scanQrCodeWithAuthenticator?: string | undefined;
2106
2175
  securityQuestions?: string | undefined;
2107
2176
  securityQuestionsPrompt?: string | undefined;
2108
2177
  shouldContainANumber?: string | undefined;
@@ -2111,6 +2180,7 @@ declare const partialStringsSchema: ZodObject<{
2111
2180
  shouldContainASymbol?: string | undefined;
2112
2181
  showPassword?: string | undefined;
2113
2182
  sn?: string | undefined;
2183
+ submit?: string | undefined;
2114
2184
  submitButton?: string | undefined;
2115
2185
  successMessage?: string | undefined;
2116
2186
  termsAndConditions?: string | undefined;
@@ -2122,6 +2192,7 @@ declare const partialStringsSchema: ZodObject<{
2122
2192
  unrecoverableError?: string | undefined;
2123
2193
  unknownLoginError?: string | undefined;
2124
2194
  unknownNetworkError?: string | undefined;
2195
+ url?: string | undefined;
2125
2196
  useDeviceForIdentityVerification?: string | undefined;
2126
2197
  userName?: string | undefined;
2127
2198
  usernameRequirements?: string | undefined;
@@ -2140,12 +2211,15 @@ declare const partialStringsSchema: ZodObject<{
2140
2211
  closeModal?: string | undefined;
2141
2212
  charactersCannotRepeatMoreThan?: string | undefined;
2142
2213
  charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
2214
+ checkYourEmail?: string | undefined;
2143
2215
  chooseDifferentUsername?: string | undefined;
2144
2216
  chooseYourDeviceForIdentityVerification?: string | undefined;
2145
2217
  confirmPassword?: string | undefined;
2146
2218
  constraintViolationForPassword?: string | undefined;
2147
2219
  constraintViolationForValue?: string | undefined;
2148
2220
  continueWith?: string | undefined;
2221
+ copyUrl?: string | undefined;
2222
+ copyAndPasteUrlBelow?: string | undefined;
2149
2223
  customSecurityQuestion?: string | undefined;
2150
2224
  dontGetLockedOut?: string | undefined;
2151
2225
  doesNotMeetMinimumCharacterLength?: string | undefined;
@@ -2170,9 +2244,11 @@ declare const partialStringsSchema: ZodObject<{
2170
2244
  minimumNumberOfUppercase?: string | undefined;
2171
2245
  minimumNumberOfSymbols?: string | undefined;
2172
2246
  nameCallback?: string | undefined;
2247
+ next?: string | undefined;
2173
2248
  nextButton?: string | undefined;
2174
2249
  notToExceedMaximumCharacterLength?: string | undefined;
2175
2250
  noLessThanMinimumCharacterLength?: string | undefined;
2251
+ onMobileOpenInAuthenticator?: string | undefined;
2176
2252
  passwordCallback?: string | undefined;
2177
2253
  passwordCannotContainCommonPasswords?: string | undefined;
2178
2254
  passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
@@ -2183,6 +2259,9 @@ declare const partialStringsSchema: ZodObject<{
2183
2259
  preferencesMarketing?: string | undefined;
2184
2260
  preferencesUpdates?: string | undefined;
2185
2261
  provideCustomQuestion?: string | undefined;
2262
+ qrCodeNotWorking?: string | undefined;
2263
+ qrCodeFailedToRender?: string | undefined;
2264
+ qrCodeImportFailure?: string | undefined;
2186
2265
  redirectingTo?: string | undefined;
2187
2266
  registerButton?: string | undefined;
2188
2267
  registerHeader?: string | undefined;
@@ -2190,6 +2269,7 @@ declare const partialStringsSchema: ZodObject<{
2190
2269
  registerYourDevice?: string | undefined;
2191
2270
  requiredField?: string | undefined;
2192
2271
  securityAnswer?: string | undefined;
2272
+ scanQrCodeWithAuthenticator?: string | undefined;
2193
2273
  securityQuestions?: string | undefined;
2194
2274
  securityQuestionsPrompt?: string | undefined;
2195
2275
  shouldContainANumber?: string | undefined;
@@ -2198,6 +2278,7 @@ declare const partialStringsSchema: ZodObject<{
2198
2278
  shouldContainASymbol?: string | undefined;
2199
2279
  showPassword?: string | undefined;
2200
2280
  sn?: string | undefined;
2281
+ submit?: string | undefined;
2201
2282
  submitButton?: string | undefined;
2202
2283
  successMessage?: string | undefined;
2203
2284
  termsAndConditions?: string | undefined;
@@ -2209,6 +2290,7 @@ declare const partialStringsSchema: ZodObject<{
2209
2290
  unrecoverableError?: string | undefined;
2210
2291
  unknownLoginError?: string | undefined;
2211
2292
  unknownNetworkError?: string | undefined;
2293
+ url?: string | undefined;
2212
2294
  useDeviceForIdentityVerification?: string | undefined;
2213
2295
  userName?: string | undefined;
2214
2296
  usernameRequirements?: string | undefined;
@@ -2242,14 +2324,14 @@ declare const partialStyleSchema: ZodObject<{
2242
2324
  }>>>;
2243
2325
  sections: ZodOptional<ZodOptional<ZodObject<{
2244
2326
  header: ZodOptional<ZodBoolean>;
2245
- }, "strip", ZodTypeAny, {
2327
+ }, "strict", ZodTypeAny, {
2246
2328
  header?: boolean | undefined;
2247
2329
  }, {
2248
2330
  header?: boolean | undefined;
2249
2331
  }>>>;
2250
2332
  stage: ZodOptional<ZodOptional<ZodObject<{
2251
2333
  icon: ZodOptional<ZodBoolean>;
2252
- }, "strip", ZodTypeAny, {
2334
+ }, "strict", ZodTypeAny, {
2253
2335
  icon?: boolean | undefined;
2254
2336
  }, {
2255
2337
  icon?: boolean | undefined;
@@ -2298,6 +2380,7 @@ interface JourneyOptionsStart$1 {
2298
2380
  forgerock?: StepOptions;
2299
2381
  journey?: string;
2300
2382
  resumeUrl?: string;
2383
+ recaptchaAction?: string;
2301
2384
  }
2302
2385
  interface WidgetConfigOptions$1 {
2303
2386
  forgerock?: TypeOf<typeof partialConfigSchema>;