@authing/react-ui-components 4.4.3-ey.7 → 4.4.3-ey.8

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.4.3-ey.7",
3
+ "version": "4.4.3-ey.8",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -1,9 +1,16 @@
1
1
  import React from 'react';
2
2
  import { CompleteInfoMetaData, CompleteInfoRequest } from '../interface';
3
+ import { Lang } from '../../Type';
3
4
  export interface CompleteInfoProps {
4
5
  metaData: CompleteInfoMetaData[];
5
6
  businessRequest: (data: CompleteInfoRequest) => Promise<void>;
6
7
  submitText?: string;
8
+ extendsFieldsI18n?: {
9
+ [key: string]: Record<Lang, {
10
+ enabled: boolean;
11
+ value: string;
12
+ }>;
13
+ };
7
14
  }
8
15
  export interface FieldMetadata {
9
16
  key: string;
@@ -0,0 +1,42 @@
1
+ import { GuardModuleType, Lang } from '..';
2
+ export interface InviteContext {
3
+ email: string | null;
4
+ ticket: string;
5
+ enabledIdentifierCodeConfig: boolean;
6
+ enabledRegisterFillInfo: boolean;
7
+ enabledExtIdpBind: boolean;
8
+ allowSkipBindExtIdp: boolean;
9
+ sendIdentifierCodeMethod: 'prioritySMS' | 'priorityEmail' | 'SMS' | 'email';
10
+ receiverType: 'emailCode' | 'phoneCode';
11
+ phone: string | null;
12
+ verifyCodeMaxLength: number;
13
+ verifyCodeMaxErrCount: number;
14
+ }
15
+ export interface EyGuardCheckCaptchaInitData extends InviteContext {
16
+ account: string;
17
+ }
18
+ export interface EyGuardInviteCompleteInitData extends Partial<InviteContext> {
19
+ metaData: any;
20
+ extendsFieldsI18n?: {
21
+ [key: string]: Record<Lang, {
22
+ enabled: boolean;
23
+ value: string;
24
+ }>;
25
+ };
26
+ qrCodeBindMethods: Record<string, {
27
+ QRConfig: any;
28
+ id: string;
29
+ isDefault: boolean;
30
+ title: string;
31
+ }[]>;
32
+ }
33
+ export interface EyGuardIdentityBindInitData extends Partial<EyGuardInviteCompleteInitData> {
34
+ weComConfig: {
35
+ QRConfig: any;
36
+ id: string;
37
+ isDefault: boolean;
38
+ title: string;
39
+ };
40
+ originModule: GuardModuleType;
41
+ originContext: any;
42
+ }
@@ -22,6 +22,6 @@ export declare enum ApiCode {
22
22
  SELECT_ACCOUNT_2_LOGIN = 2930,
23
23
  TENANT_PORTAL = 1644,
24
24
  RESET_ACCOUNT_NAME = 1108,
25
- EY_INVITE_EXPIRE = 408
25
+ EY_INVITE_COMPLETE = 1098
26
26
  }
27
27
  export declare const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
@@ -1,2 +1,2 @@
1
- declare const _default: "4.4.3-ey.7";
1
+ declare const _default: "4.4.3-ey.8";
2
2
  export default _default;