@forgerock/login-widget 1.2.0-beta.1 → 1.2.0-beta.11
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 +76 -0
- package/index.cjs +7975 -1825
- package/index.cjs.map +1 -1
- package/index.d.ts +151 -68
- package/index.js +7975 -1825
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +155 -69
- package/widget.css +370 -160
package/package.json
CHANGED
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
|
|
@@ -607,13 +619,16 @@ interface CallbackMetadata {
|
|
|
607
619
|
idx: number;
|
|
608
620
|
platform?: Record<string, unknown>;
|
|
609
621
|
}
|
|
622
|
+
interface StartOptions extends StepOptions {
|
|
623
|
+
recaptchaAction?: string;
|
|
624
|
+
}
|
|
610
625
|
interface JourneyStore extends Pick<Writable<JourneyStoreValue$1>, 'subscribe'> {
|
|
611
626
|
next: (prevStep?: StepTypes, nextOptions?: StepOptions) => void;
|
|
612
627
|
pop: () => void;
|
|
613
628
|
push: (changeOptions: StepOptions) => void;
|
|
614
629
|
reset: () => void;
|
|
615
630
|
resume: (url: string, resumeOptions?: StepOptions) => void;
|
|
616
|
-
start: (startOptions?:
|
|
631
|
+
start: (startOptions?: StartOptions) => void;
|
|
617
632
|
}
|
|
618
633
|
interface JourneyStoreValue$1 {
|
|
619
634
|
completed: boolean;
|
|
@@ -628,9 +643,10 @@ interface JourneyStoreValue$1 {
|
|
|
628
643
|
callbacks: CallbackMetadata[];
|
|
629
644
|
step: StepMetadata;
|
|
630
645
|
} | null;
|
|
631
|
-
step
|
|
646
|
+
step?: StepTypes;
|
|
632
647
|
successful: boolean;
|
|
633
648
|
response: Maybe<Step$1>;
|
|
649
|
+
recaptchaAction?: Maybe<string>;
|
|
634
650
|
}
|
|
635
651
|
interface StepMetadata {
|
|
636
652
|
derived: {
|
|
@@ -639,6 +655,7 @@ interface StepMetadata {
|
|
|
639
655
|
numOfCallbacks: number;
|
|
640
656
|
numOfSelfSubmittableCbs: number;
|
|
641
657
|
numOfUserInputCbs: number;
|
|
658
|
+
stageName?: string;
|
|
642
659
|
};
|
|
643
660
|
platform?: Record<string, unknown>;
|
|
644
661
|
}
|
|
@@ -1020,6 +1037,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1020
1037
|
safeParse(data: unknown, params?: Partial<ParseParams>): SafeParseReturnType<Input, Output>;
|
|
1021
1038
|
parseAsync(data: unknown, params?: Partial<ParseParams>): Promise<Output>;
|
|
1022
1039
|
safeParseAsync(data: unknown, params?: Partial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;
|
|
1040
|
+
/** Alias of safeParseAsync */
|
|
1023
1041
|
spa: (data: unknown, params?: Partial<ParseParams> | undefined) => Promise<SafeParseReturnType<Input, Output>>;
|
|
1024
1042
|
refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>;
|
|
1025
1043
|
refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;
|
|
@@ -1028,6 +1046,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1028
1046
|
_refinement(refinement: RefinementEffect<Output>["refinement"]): ZodEffects<this, Output, Input>;
|
|
1029
1047
|
superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>;
|
|
1030
1048
|
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>;
|
|
1049
|
+
superRefine(refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>): ZodEffects<this, Output, Input>;
|
|
1031
1050
|
constructor(def: Def);
|
|
1032
1051
|
optional(): ZodOptional<this>;
|
|
1033
1052
|
nullable(): ZodNullable<this>;
|
|
@@ -1047,6 +1066,7 @@ declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef
|
|
|
1047
1066
|
}) => Output): ZodCatch<this>;
|
|
1048
1067
|
describe(description: string): this;
|
|
1049
1068
|
pipe<T extends ZodTypeAny>(target: T): ZodPipeline<this, T>;
|
|
1069
|
+
readonly(): ZodReadonly<this>;
|
|
1050
1070
|
isOptional(): boolean;
|
|
1051
1071
|
isNullable(): boolean;
|
|
1052
1072
|
}
|
|
@@ -1127,7 +1147,7 @@ interface ZodStringDef extends ZodTypeDef {
|
|
|
1127
1147
|
}
|
|
1128
1148
|
declare class ZodString extends ZodType<string, ZodStringDef> {
|
|
1129
1149
|
_parse(input: ParseInput): ParseReturnType<string>;
|
|
1130
|
-
protected _regex
|
|
1150
|
+
protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;
|
|
1131
1151
|
_addCheck(check: ZodStringCheck): ZodString;
|
|
1132
1152
|
email(message?: errorUtil.ErrMessage): ZodString;
|
|
1133
1153
|
url(message?: errorUtil.ErrMessage): ZodString;
|
|
@@ -1155,10 +1175,14 @@ declare class ZodString extends ZodType<string, ZodStringDef> {
|
|
|
1155
1175
|
min(minLength: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1156
1176
|
max(maxLength: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1157
1177
|
length(len: number, message?: errorUtil.ErrMessage): ZodString;
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1178
|
+
/**
|
|
1179
|
+
* @deprecated Use z.string().min(1) instead.
|
|
1180
|
+
* @see {@link ZodString.min}
|
|
1181
|
+
*/
|
|
1182
|
+
nonempty(message?: errorUtil.ErrMessage): ZodString;
|
|
1183
|
+
trim(): ZodString;
|
|
1184
|
+
toLowerCase(): ZodString;
|
|
1185
|
+
toUpperCase(): ZodString;
|
|
1162
1186
|
get isDatetime(): boolean;
|
|
1163
1187
|
get isEmail(): boolean;
|
|
1164
1188
|
get isURL(): boolean;
|
|
@@ -1330,9 +1354,21 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
|
|
|
1330
1354
|
strict(message?: errorUtil.ErrMessage): ZodObject<T, "strict", Catchall>;
|
|
1331
1355
|
strip(): ZodObject<T, "strip", Catchall>;
|
|
1332
1356
|
passthrough(): ZodObject<T, "passthrough", Catchall>;
|
|
1357
|
+
/**
|
|
1358
|
+
* @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.
|
|
1359
|
+
* If you want to pass through unknown properties, use `.passthrough()` instead.
|
|
1360
|
+
*/
|
|
1333
1361
|
nonstrict: () => ZodObject<T, "passthrough", Catchall>;
|
|
1334
1362
|
extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;
|
|
1363
|
+
/**
|
|
1364
|
+
* @deprecated Use `.extend` instead
|
|
1365
|
+
* */
|
|
1335
1366
|
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>>;
|
|
1367
|
+
/**
|
|
1368
|
+
* Prior to zod@1.0.12 there was a bug in the
|
|
1369
|
+
* inferred type of merged objects. Please
|
|
1370
|
+
* upgrade if you are experiencing issues.
|
|
1371
|
+
*/
|
|
1336
1372
|
merge<Incoming extends AnyZodObject, Augmentation extends Incoming["shape"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming["_def"]["unknownKeys"], Incoming["_def"]["catchall"]>;
|
|
1337
1373
|
setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & {
|
|
1338
1374
|
[k in Key]: Schema;
|
|
@@ -1344,6 +1380,9 @@ declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysPa
|
|
|
1344
1380
|
omit<Mask extends {
|
|
1345
1381
|
[k in keyof T]?: true;
|
|
1346
1382
|
}>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;
|
|
1383
|
+
/**
|
|
1384
|
+
* @deprecated
|
|
1385
|
+
*/
|
|
1347
1386
|
deepPartial(): partialUtil.DeepPartial<this>;
|
|
1348
1387
|
partial(): ZodObject<{
|
|
1349
1388
|
[k in keyof T]: ZodOptional<T[k]>;
|
|
@@ -1502,7 +1541,7 @@ declare type TransformEffect<T> = {
|
|
|
1502
1541
|
};
|
|
1503
1542
|
declare type PreprocessEffect<T> = {
|
|
1504
1543
|
type: "preprocess";
|
|
1505
|
-
transform: (arg: T) => any;
|
|
1544
|
+
transform: (arg: T, ctx: RefinementCtx) => any;
|
|
1506
1545
|
};
|
|
1507
1546
|
declare type Effect<T> = RefinementEffect<T> | TransformEffect<T> | PreprocessEffect<T>;
|
|
1508
1547
|
interface ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
@@ -1515,7 +1554,7 @@ declare class ZodEffects<T extends ZodTypeAny, Output = output<T>, Input = input
|
|
|
1515
1554
|
sourceType(): T;
|
|
1516
1555
|
_parse(input: ParseInput): ParseReturnType<this["_output"]>;
|
|
1517
1556
|
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>;
|
|
1557
|
+
static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
|
|
1519
1558
|
}
|
|
1520
1559
|
|
|
1521
1560
|
interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
@@ -1596,6 +1635,18 @@ declare class ZodPipeline<A extends ZodTypeAny, B extends ZodTypeAny> extends Zo
|
|
|
1596
1635
|
_parse(input: ParseInput): ParseReturnType<any>;
|
|
1597
1636
|
static create<A extends ZodTypeAny, B extends ZodTypeAny>(a: A, b: B): ZodPipeline<A, B>;
|
|
1598
1637
|
}
|
|
1638
|
+
declare type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
|
|
1639
|
+
readonly [Symbol.toStringTag]: string;
|
|
1640
|
+
} | Date | Error | Generator | Promise<unknown> | RegExp;
|
|
1641
|
+
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>;
|
|
1642
|
+
interface ZodReadonlyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {
|
|
1643
|
+
innerType: T;
|
|
1644
|
+
typeName: ZodFirstPartyTypeKind.ZodReadonly;
|
|
1645
|
+
}
|
|
1646
|
+
declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T["_output"]>, ZodReadonlyDef<T>, T["_input"]> {
|
|
1647
|
+
_parse(input: ParseInput): ParseReturnType<this["_output"]>;
|
|
1648
|
+
static create: <T_1 extends ZodTypeAny>(type: T_1, params?: RawCreateParams) => ZodReadonly<T_1>;
|
|
1649
|
+
}
|
|
1599
1650
|
declare enum ZodFirstPartyTypeKind {
|
|
1600
1651
|
ZodString = "ZodString",
|
|
1601
1652
|
ZodNumber = "ZodNumber",
|
|
@@ -1631,7 +1682,8 @@ declare enum ZodFirstPartyTypeKind {
|
|
|
1631
1682
|
ZodCatch = "ZodCatch",
|
|
1632
1683
|
ZodPromise = "ZodPromise",
|
|
1633
1684
|
ZodBranded = "ZodBranded",
|
|
1634
|
-
ZodPipeline = "ZodPipeline"
|
|
1685
|
+
ZodPipeline = "ZodPipeline",
|
|
1686
|
+
ZodReadonly = "ZodReadonly"
|
|
1635
1687
|
}
|
|
1636
1688
|
|
|
1637
1689
|
declare const partialConfigSchema: ZodObject<{
|
|
@@ -1689,55 +1741,55 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1689
1741
|
serverConfig: ZodOptional<ZodObject<{
|
|
1690
1742
|
baseUrl: ZodString;
|
|
1691
1743
|
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
|
-
}, "
|
|
1700
|
-
authenticate
|
|
1701
|
-
authorize
|
|
1702
|
-
accessToken
|
|
1703
|
-
endSession
|
|
1704
|
-
userInfo
|
|
1705
|
-
revoke
|
|
1706
|
-
sessions
|
|
1744
|
+
authenticate: ZodOptional<ZodString>;
|
|
1745
|
+
authorize: ZodOptional<ZodString>;
|
|
1746
|
+
accessToken: ZodOptional<ZodString>;
|
|
1747
|
+
endSession: ZodOptional<ZodString>;
|
|
1748
|
+
userInfo: ZodOptional<ZodString>;
|
|
1749
|
+
revoke: ZodOptional<ZodString>;
|
|
1750
|
+
sessions: ZodOptional<ZodString>;
|
|
1751
|
+
}, "strict", ZodTypeAny, {
|
|
1752
|
+
authenticate?: string | undefined;
|
|
1753
|
+
authorize?: string | undefined;
|
|
1754
|
+
accessToken?: string | undefined;
|
|
1755
|
+
endSession?: string | undefined;
|
|
1756
|
+
userInfo?: string | undefined;
|
|
1757
|
+
revoke?: string | undefined;
|
|
1758
|
+
sessions?: string | undefined;
|
|
1707
1759
|
}, {
|
|
1708
|
-
authenticate
|
|
1709
|
-
authorize
|
|
1710
|
-
accessToken
|
|
1711
|
-
endSession
|
|
1712
|
-
userInfo
|
|
1713
|
-
revoke
|
|
1714
|
-
sessions
|
|
1760
|
+
authenticate?: string | undefined;
|
|
1761
|
+
authorize?: string | undefined;
|
|
1762
|
+
accessToken?: string | undefined;
|
|
1763
|
+
endSession?: string | undefined;
|
|
1764
|
+
userInfo?: string | undefined;
|
|
1765
|
+
revoke?: string | undefined;
|
|
1766
|
+
sessions?: string | undefined;
|
|
1715
1767
|
}>>;
|
|
1716
|
-
timeout: ZodNumber
|
|
1717
|
-
}, "
|
|
1718
|
-
timeout: number;
|
|
1768
|
+
timeout: ZodOptional<ZodNumber>;
|
|
1769
|
+
}, "strict", ZodTypeAny, {
|
|
1719
1770
|
baseUrl: string;
|
|
1720
1771
|
paths?: {
|
|
1721
|
-
authenticate
|
|
1722
|
-
authorize
|
|
1723
|
-
accessToken
|
|
1724
|
-
endSession
|
|
1725
|
-
userInfo
|
|
1726
|
-
revoke
|
|
1727
|
-
sessions
|
|
1772
|
+
authenticate?: string | undefined;
|
|
1773
|
+
authorize?: string | undefined;
|
|
1774
|
+
accessToken?: string | undefined;
|
|
1775
|
+
endSession?: string | undefined;
|
|
1776
|
+
userInfo?: string | undefined;
|
|
1777
|
+
revoke?: string | undefined;
|
|
1778
|
+
sessions?: string | undefined;
|
|
1728
1779
|
} | undefined;
|
|
1780
|
+
timeout?: number | undefined;
|
|
1729
1781
|
}, {
|
|
1730
|
-
timeout: number;
|
|
1731
1782
|
baseUrl: string;
|
|
1732
1783
|
paths?: {
|
|
1733
|
-
authenticate
|
|
1734
|
-
authorize
|
|
1735
|
-
accessToken
|
|
1736
|
-
endSession
|
|
1737
|
-
userInfo
|
|
1738
|
-
revoke
|
|
1739
|
-
sessions
|
|
1784
|
+
authenticate?: string | undefined;
|
|
1785
|
+
authorize?: string | undefined;
|
|
1786
|
+
accessToken?: string | undefined;
|
|
1787
|
+
endSession?: string | undefined;
|
|
1788
|
+
userInfo?: string | undefined;
|
|
1789
|
+
revoke?: string | undefined;
|
|
1790
|
+
sessions?: string | undefined;
|
|
1740
1791
|
} | undefined;
|
|
1792
|
+
timeout?: number | undefined;
|
|
1741
1793
|
}>>;
|
|
1742
1794
|
support: ZodOptional<ZodOptional<ZodUnion<[ZodLiteral<"legacy">, ZodLiteral<"modern">]>>>;
|
|
1743
1795
|
tokenStore: ZodOptional<ZodOptional<ZodUnion<[ZodObject<{
|
|
@@ -1759,7 +1811,7 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1759
1811
|
}>>>;
|
|
1760
1812
|
set: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1761
1813
|
remove: ZodFunction<ZodTuple<[ZodString], ZodUnknown>, ZodPromise<ZodVoid>>;
|
|
1762
|
-
}, "
|
|
1814
|
+
}, "strict", ZodTypeAny, {
|
|
1763
1815
|
set: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1764
1816
|
remove: (args_0: string, ...args_1: unknown[]) => Promise<void>;
|
|
1765
1817
|
get: (args_0: string, ...args_1: unknown[]) => Promise<{
|
|
@@ -1800,17 +1852,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1800
1852
|
redirectUri?: string | undefined;
|
|
1801
1853
|
scope?: string | undefined;
|
|
1802
1854
|
serverConfig?: {
|
|
1803
|
-
timeout: number;
|
|
1804
1855
|
baseUrl: string;
|
|
1805
1856
|
paths?: {
|
|
1806
|
-
authenticate
|
|
1807
|
-
authorize
|
|
1808
|
-
accessToken
|
|
1809
|
-
endSession
|
|
1810
|
-
userInfo
|
|
1811
|
-
revoke
|
|
1812
|
-
sessions
|
|
1857
|
+
authenticate?: string | undefined;
|
|
1858
|
+
authorize?: string | undefined;
|
|
1859
|
+
accessToken?: string | undefined;
|
|
1860
|
+
endSession?: string | undefined;
|
|
1861
|
+
userInfo?: string | undefined;
|
|
1862
|
+
revoke?: string | undefined;
|
|
1863
|
+
sessions?: string | undefined;
|
|
1813
1864
|
} | undefined;
|
|
1865
|
+
timeout?: number | undefined;
|
|
1814
1866
|
} | undefined;
|
|
1815
1867
|
support?: "legacy" | "modern" | undefined;
|
|
1816
1868
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1845,17 +1897,17 @@ declare const partialConfigSchema: ZodObject<{
|
|
|
1845
1897
|
redirectUri?: string | undefined;
|
|
1846
1898
|
scope?: string | undefined;
|
|
1847
1899
|
serverConfig?: {
|
|
1848
|
-
timeout: number;
|
|
1849
1900
|
baseUrl: string;
|
|
1850
1901
|
paths?: {
|
|
1851
|
-
authenticate
|
|
1852
|
-
authorize
|
|
1853
|
-
accessToken
|
|
1854
|
-
endSession
|
|
1855
|
-
userInfo
|
|
1856
|
-
revoke
|
|
1857
|
-
sessions
|
|
1902
|
+
authenticate?: string | undefined;
|
|
1903
|
+
authorize?: string | undefined;
|
|
1904
|
+
accessToken?: string | undefined;
|
|
1905
|
+
endSession?: string | undefined;
|
|
1906
|
+
userInfo?: string | undefined;
|
|
1907
|
+
revoke?: string | undefined;
|
|
1908
|
+
sessions?: string | undefined;
|
|
1858
1909
|
} | undefined;
|
|
1910
|
+
timeout?: number | undefined;
|
|
1859
1911
|
} | undefined;
|
|
1860
1912
|
support?: "legacy" | "modern" | undefined;
|
|
1861
1913
|
tokenStore?: "localStorage" | "sessionStorage" | {
|
|
@@ -1966,12 +2018,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
1966
2018
|
closeModal: ZodOptional<ZodString>;
|
|
1967
2019
|
charactersCannotRepeatMoreThan: ZodOptional<ZodString>;
|
|
1968
2020
|
charactersCannotRepeatMoreThanCaseInsensitive: ZodOptional<ZodString>;
|
|
2021
|
+
checkYourEmail: ZodOptional<ZodString>;
|
|
1969
2022
|
chooseDifferentUsername: ZodOptional<ZodString>;
|
|
1970
2023
|
chooseYourDeviceForIdentityVerification: ZodOptional<ZodString>;
|
|
1971
2024
|
confirmPassword: ZodOptional<ZodString>;
|
|
1972
2025
|
constraintViolationForPassword: ZodOptional<ZodString>;
|
|
1973
2026
|
constraintViolationForValue: ZodOptional<ZodString>;
|
|
1974
2027
|
continueWith: ZodOptional<ZodString>;
|
|
2028
|
+
copyUrl: ZodOptional<ZodString>;
|
|
2029
|
+
copyAndPasteUrlBelow: ZodOptional<ZodString>;
|
|
1975
2030
|
customSecurityQuestion: ZodOptional<ZodString>;
|
|
1976
2031
|
dontGetLockedOut: ZodOptional<ZodString>;
|
|
1977
2032
|
doesNotMeetMinimumCharacterLength: ZodOptional<ZodString>;
|
|
@@ -1996,9 +2051,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
1996
2051
|
minimumNumberOfUppercase: ZodOptional<ZodString>;
|
|
1997
2052
|
minimumNumberOfSymbols: ZodOptional<ZodString>;
|
|
1998
2053
|
nameCallback: ZodOptional<ZodString>;
|
|
2054
|
+
next: ZodOptional<ZodString>;
|
|
1999
2055
|
nextButton: ZodOptional<ZodString>;
|
|
2000
2056
|
notToExceedMaximumCharacterLength: ZodOptional<ZodString>;
|
|
2001
2057
|
noLessThanMinimumCharacterLength: ZodOptional<ZodString>;
|
|
2058
|
+
onMobileOpenInAuthenticator: ZodOptional<ZodString>;
|
|
2002
2059
|
passwordCallback: ZodOptional<ZodString>;
|
|
2003
2060
|
passwordCannotContainCommonPasswords: ZodOptional<ZodString>;
|
|
2004
2061
|
passwordCannotContainCommonPasswordsOrBeReversible: ZodOptional<ZodString>;
|
|
@@ -2009,6 +2066,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2009
2066
|
preferencesMarketing: ZodOptional<ZodString>;
|
|
2010
2067
|
preferencesUpdates: ZodOptional<ZodString>;
|
|
2011
2068
|
provideCustomQuestion: ZodOptional<ZodString>;
|
|
2069
|
+
qrCodeNotWorking: ZodOptional<ZodString>;
|
|
2070
|
+
qrCodeFailedToRender: ZodOptional<ZodString>;
|
|
2071
|
+
qrCodeImportFailure: ZodOptional<ZodString>;
|
|
2012
2072
|
redirectingTo: ZodOptional<ZodString>;
|
|
2013
2073
|
registerButton: ZodOptional<ZodString>;
|
|
2014
2074
|
registerHeader: ZodOptional<ZodString>;
|
|
@@ -2016,6 +2076,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2016
2076
|
registerYourDevice: ZodOptional<ZodString>;
|
|
2017
2077
|
requiredField: ZodOptional<ZodString>;
|
|
2018
2078
|
securityAnswer: ZodOptional<ZodString>;
|
|
2079
|
+
scanQrCodeWithAuthenticator: ZodOptional<ZodString>;
|
|
2019
2080
|
securityQuestions: ZodOptional<ZodString>;
|
|
2020
2081
|
securityQuestionsPrompt: ZodOptional<ZodString>;
|
|
2021
2082
|
shouldContainANumber: ZodOptional<ZodString>;
|
|
@@ -2024,6 +2085,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2024
2085
|
shouldContainASymbol: ZodOptional<ZodString>;
|
|
2025
2086
|
showPassword: ZodOptional<ZodString>;
|
|
2026
2087
|
sn: ZodOptional<ZodString>;
|
|
2088
|
+
submit: ZodOptional<ZodString>;
|
|
2027
2089
|
submitButton: ZodOptional<ZodString>;
|
|
2028
2090
|
successMessage: ZodOptional<ZodString>;
|
|
2029
2091
|
termsAndConditions: ZodOptional<ZodString>;
|
|
@@ -2035,6 +2097,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2035
2097
|
unrecoverableError: ZodOptional<ZodString>;
|
|
2036
2098
|
unknownLoginError: ZodOptional<ZodString>;
|
|
2037
2099
|
unknownNetworkError: ZodOptional<ZodString>;
|
|
2100
|
+
url: ZodOptional<ZodString>;
|
|
2038
2101
|
useDeviceForIdentityVerification: ZodOptional<ZodString>;
|
|
2039
2102
|
userName: ZodOptional<ZodString>;
|
|
2040
2103
|
usernameRequirements: ZodOptional<ZodString>;
|
|
@@ -2053,12 +2116,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2053
2116
|
closeModal?: string | undefined;
|
|
2054
2117
|
charactersCannotRepeatMoreThan?: string | undefined;
|
|
2055
2118
|
charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
|
|
2119
|
+
checkYourEmail?: string | undefined;
|
|
2056
2120
|
chooseDifferentUsername?: string | undefined;
|
|
2057
2121
|
chooseYourDeviceForIdentityVerification?: string | undefined;
|
|
2058
2122
|
confirmPassword?: string | undefined;
|
|
2059
2123
|
constraintViolationForPassword?: string | undefined;
|
|
2060
2124
|
constraintViolationForValue?: string | undefined;
|
|
2061
2125
|
continueWith?: string | undefined;
|
|
2126
|
+
copyUrl?: string | undefined;
|
|
2127
|
+
copyAndPasteUrlBelow?: string | undefined;
|
|
2062
2128
|
customSecurityQuestion?: string | undefined;
|
|
2063
2129
|
dontGetLockedOut?: string | undefined;
|
|
2064
2130
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
@@ -2083,9 +2149,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2083
2149
|
minimumNumberOfUppercase?: string | undefined;
|
|
2084
2150
|
minimumNumberOfSymbols?: string | undefined;
|
|
2085
2151
|
nameCallback?: string | undefined;
|
|
2152
|
+
next?: string | undefined;
|
|
2086
2153
|
nextButton?: string | undefined;
|
|
2087
2154
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2088
2155
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2156
|
+
onMobileOpenInAuthenticator?: string | undefined;
|
|
2089
2157
|
passwordCallback?: string | undefined;
|
|
2090
2158
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2091
2159
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2096,6 +2164,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2096
2164
|
preferencesMarketing?: string | undefined;
|
|
2097
2165
|
preferencesUpdates?: string | undefined;
|
|
2098
2166
|
provideCustomQuestion?: string | undefined;
|
|
2167
|
+
qrCodeNotWorking?: string | undefined;
|
|
2168
|
+
qrCodeFailedToRender?: string | undefined;
|
|
2169
|
+
qrCodeImportFailure?: string | undefined;
|
|
2099
2170
|
redirectingTo?: string | undefined;
|
|
2100
2171
|
registerButton?: string | undefined;
|
|
2101
2172
|
registerHeader?: string | undefined;
|
|
@@ -2103,6 +2174,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2103
2174
|
registerYourDevice?: string | undefined;
|
|
2104
2175
|
requiredField?: string | undefined;
|
|
2105
2176
|
securityAnswer?: string | undefined;
|
|
2177
|
+
scanQrCodeWithAuthenticator?: string | undefined;
|
|
2106
2178
|
securityQuestions?: string | undefined;
|
|
2107
2179
|
securityQuestionsPrompt?: string | undefined;
|
|
2108
2180
|
shouldContainANumber?: string | undefined;
|
|
@@ -2111,6 +2183,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2111
2183
|
shouldContainASymbol?: string | undefined;
|
|
2112
2184
|
showPassword?: string | undefined;
|
|
2113
2185
|
sn?: string | undefined;
|
|
2186
|
+
submit?: string | undefined;
|
|
2114
2187
|
submitButton?: string | undefined;
|
|
2115
2188
|
successMessage?: string | undefined;
|
|
2116
2189
|
termsAndConditions?: string | undefined;
|
|
@@ -2122,6 +2195,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2122
2195
|
unrecoverableError?: string | undefined;
|
|
2123
2196
|
unknownLoginError?: string | undefined;
|
|
2124
2197
|
unknownNetworkError?: string | undefined;
|
|
2198
|
+
url?: string | undefined;
|
|
2125
2199
|
useDeviceForIdentityVerification?: string | undefined;
|
|
2126
2200
|
userName?: string | undefined;
|
|
2127
2201
|
usernameRequirements?: string | undefined;
|
|
@@ -2140,12 +2214,15 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2140
2214
|
closeModal?: string | undefined;
|
|
2141
2215
|
charactersCannotRepeatMoreThan?: string | undefined;
|
|
2142
2216
|
charactersCannotRepeatMoreThanCaseInsensitive?: string | undefined;
|
|
2217
|
+
checkYourEmail?: string | undefined;
|
|
2143
2218
|
chooseDifferentUsername?: string | undefined;
|
|
2144
2219
|
chooseYourDeviceForIdentityVerification?: string | undefined;
|
|
2145
2220
|
confirmPassword?: string | undefined;
|
|
2146
2221
|
constraintViolationForPassword?: string | undefined;
|
|
2147
2222
|
constraintViolationForValue?: string | undefined;
|
|
2148
2223
|
continueWith?: string | undefined;
|
|
2224
|
+
copyUrl?: string | undefined;
|
|
2225
|
+
copyAndPasteUrlBelow?: string | undefined;
|
|
2149
2226
|
customSecurityQuestion?: string | undefined;
|
|
2150
2227
|
dontGetLockedOut?: string | undefined;
|
|
2151
2228
|
doesNotMeetMinimumCharacterLength?: string | undefined;
|
|
@@ -2170,9 +2247,11 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2170
2247
|
minimumNumberOfUppercase?: string | undefined;
|
|
2171
2248
|
minimumNumberOfSymbols?: string | undefined;
|
|
2172
2249
|
nameCallback?: string | undefined;
|
|
2250
|
+
next?: string | undefined;
|
|
2173
2251
|
nextButton?: string | undefined;
|
|
2174
2252
|
notToExceedMaximumCharacterLength?: string | undefined;
|
|
2175
2253
|
noLessThanMinimumCharacterLength?: string | undefined;
|
|
2254
|
+
onMobileOpenInAuthenticator?: string | undefined;
|
|
2176
2255
|
passwordCallback?: string | undefined;
|
|
2177
2256
|
passwordCannotContainCommonPasswords?: string | undefined;
|
|
2178
2257
|
passwordCannotContainCommonPasswordsOrBeReversible?: string | undefined;
|
|
@@ -2183,6 +2262,9 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2183
2262
|
preferencesMarketing?: string | undefined;
|
|
2184
2263
|
preferencesUpdates?: string | undefined;
|
|
2185
2264
|
provideCustomQuestion?: string | undefined;
|
|
2265
|
+
qrCodeNotWorking?: string | undefined;
|
|
2266
|
+
qrCodeFailedToRender?: string | undefined;
|
|
2267
|
+
qrCodeImportFailure?: string | undefined;
|
|
2186
2268
|
redirectingTo?: string | undefined;
|
|
2187
2269
|
registerButton?: string | undefined;
|
|
2188
2270
|
registerHeader?: string | undefined;
|
|
@@ -2190,6 +2272,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2190
2272
|
registerYourDevice?: string | undefined;
|
|
2191
2273
|
requiredField?: string | undefined;
|
|
2192
2274
|
securityAnswer?: string | undefined;
|
|
2275
|
+
scanQrCodeWithAuthenticator?: string | undefined;
|
|
2193
2276
|
securityQuestions?: string | undefined;
|
|
2194
2277
|
securityQuestionsPrompt?: string | undefined;
|
|
2195
2278
|
shouldContainANumber?: string | undefined;
|
|
@@ -2198,6 +2281,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2198
2281
|
shouldContainASymbol?: string | undefined;
|
|
2199
2282
|
showPassword?: string | undefined;
|
|
2200
2283
|
sn?: string | undefined;
|
|
2284
|
+
submit?: string | undefined;
|
|
2201
2285
|
submitButton?: string | undefined;
|
|
2202
2286
|
successMessage?: string | undefined;
|
|
2203
2287
|
termsAndConditions?: string | undefined;
|
|
@@ -2209,6 +2293,7 @@ declare const partialStringsSchema: ZodObject<{
|
|
|
2209
2293
|
unrecoverableError?: string | undefined;
|
|
2210
2294
|
unknownLoginError?: string | undefined;
|
|
2211
2295
|
unknownNetworkError?: string | undefined;
|
|
2296
|
+
url?: string | undefined;
|
|
2212
2297
|
useDeviceForIdentityVerification?: string | undefined;
|
|
2213
2298
|
userName?: string | undefined;
|
|
2214
2299
|
usernameRequirements?: string | undefined;
|
|
@@ -2242,14 +2327,14 @@ declare const partialStyleSchema: ZodObject<{
|
|
|
2242
2327
|
}>>>;
|
|
2243
2328
|
sections: ZodOptional<ZodOptional<ZodObject<{
|
|
2244
2329
|
header: ZodOptional<ZodBoolean>;
|
|
2245
|
-
}, "
|
|
2330
|
+
}, "strict", ZodTypeAny, {
|
|
2246
2331
|
header?: boolean | undefined;
|
|
2247
2332
|
}, {
|
|
2248
2333
|
header?: boolean | undefined;
|
|
2249
2334
|
}>>>;
|
|
2250
2335
|
stage: ZodOptional<ZodOptional<ZodObject<{
|
|
2251
2336
|
icon: ZodOptional<ZodBoolean>;
|
|
2252
|
-
}, "
|
|
2337
|
+
}, "strict", ZodTypeAny, {
|
|
2253
2338
|
icon?: boolean | undefined;
|
|
2254
2339
|
}, {
|
|
2255
2340
|
icon?: boolean | undefined;
|
|
@@ -2298,6 +2383,7 @@ interface JourneyOptionsStart$1 {
|
|
|
2298
2383
|
forgerock?: StepOptions;
|
|
2299
2384
|
journey?: string;
|
|
2300
2385
|
resumeUrl?: string;
|
|
2386
|
+
recaptchaAction?: string;
|
|
2301
2387
|
}
|
|
2302
2388
|
interface WidgetConfigOptions$1 {
|
|
2303
2389
|
forgerock?: TypeOf<typeof partialConfigSchema>;
|