@influenzanet/case-web-app-core 2.7.7 → 2.8.0-staging

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.
@@ -6,6 +6,7 @@ export interface SignupMsg {
6
6
  infoCheck: string;
7
7
  preferredLanguage: string;
8
8
  wantsNewsletter: boolean;
9
+ phone?: string;
9
10
  use2fa: boolean;
10
11
  }
11
12
  export interface LoginMsg {
@@ -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>>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const AddPhone: React.FC;
3
+ export default AddPhone;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const ChangePhone: React.FC;
3
+ export default ChangePhone;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface DeletePhoneProps {
3
+ }
4
+ declare const DeletePhone: React.FC<DeletePhoneProps>;
5
+ export default DeletePhone;
@@ -0,0 +1,3 @@
1
+ import { FC } from 'react';
2
+ declare const VerifyWhatsApp: FC;
3
+ export default VerifyWhatsApp;
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;