@influenzanet/case-web-app-core 2.7.8 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/types/authAPI.d.ts +1 -0
- package/build/api/userAPI.d.ts +4 -0
- package/build/components/dialogs/GlobalDialogs/AddPhone.d.ts +3 -0
- package/build/components/dialogs/GlobalDialogs/ChangePhone.d.ts +3 -0
- package/build/components/dialogs/GlobalDialogs/DeletePhone.d.ts +5 -0
- package/build/components/dialogs/GlobalDialogs/VerifyWhatsApp.d.ts +3 -0
- package/build/index.d.ts +4 -0
- package/build/index.es.js +436 -204
- package/build/index.es.js.map +1 -1
- package/build/index.js +435 -203
- package/build/index.js.map +1 -1
- package/build/store/dialogSlice.d.ts +11 -2
- package/build/utils/blurPhone.d.ts +1 -0
- package/package.json +2 -1
package/build/api/userAPI.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export declare const resetPasswordReq: (token: string, newPassword: string) => P
|
|
|
7
7
|
export declare const getUserReq: () => Promise<import("axios").AxiosResponse<User, any>>;
|
|
8
8
|
export declare const changePasswordReq: (oldPassword: string, newPassword: string) => Promise<import("axios").AxiosResponse<ServiceStatus, any>>;
|
|
9
9
|
export declare const changeAccountEmailReq: (newEmail: string, keepOldEmail: boolean, password: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
10
|
+
export declare const changeAccountPhoneReq: (newPhone: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
11
|
+
export declare const newAccountPhoneReq: (newPhone: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
10
12
|
export declare const setPreferredLanguageReq: (languageCode: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
11
13
|
export declare const saveProfileReq: (profile: Profile) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
12
14
|
export declare const removeProfileReq: (profileId: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
@@ -18,3 +20,5 @@ export declare const addEmailReq: (contactInfo: ContactInfo) => Promise<import("
|
|
|
18
20
|
export declare const removeEmailReq: (contactInfoID: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
|
19
21
|
export declare const revokeAllRefreshTokensReq: () => Promise<import("axios").AxiosResponse<ServiceStatus, any>>;
|
|
20
22
|
export declare const deleteAccountReq: (userId: string) => Promise<import("axios").AxiosResponse<ServiceStatus, any>>;
|
|
23
|
+
export declare const deletePhoneReq: () => Promise<import("axios").AxiosResponse<User, any>>;
|
|
24
|
+
export declare const verifyWhatsAppCodeReq: (code: string) => Promise<import("axios").AxiosResponse<User, any>>;
|
package/build/index.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ declare const coreReduxActions: {
|
|
|
53
53
|
payload: import("./store/dialogSlice").AlertDialog;
|
|
54
54
|
type: string;
|
|
55
55
|
}): void;
|
|
56
|
+
openVerifyWhatsAppDialog(state: import("immer/dist/internal").WritableDraft<import("./store/dialogSlice").DialogState>, action: {
|
|
57
|
+
payload: import("./store/dialogSlice").VerifyWhatsAppDialog;
|
|
58
|
+
type: string;
|
|
59
|
+
}): void;
|
|
56
60
|
}>;
|
|
57
61
|
userActions: import("@reduxjs/toolkit").CaseReducerActions<{
|
|
58
62
|
reset: () => import("./store/userSlice").UserState;
|