@steffesgroup/steffes-auth
Advanced tools
Comparing version
@@ -53,2 +53,4 @@ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios'; | ||
removePhone(tenantId: string, phoneId: string): Promise<UserDTO>; | ||
modifyUserNotificationPreference(tenantId: string, groupUserNotificationPreferenceDTO: UserNotificationPreferenceDTO): Promise<UserNotificationPreferenceDTO>; | ||
getUserNotificationPreference(tenantId: string): Promise<UserNotificationPreferenceDTO>; | ||
} | ||
@@ -115,2 +117,6 @@ export declare class UserClient extends AuthorizedApiBase implements IUserClient { | ||
protected processRemovePhone(response: AxiosResponse): Promise<UserDTO>; | ||
modifyUserNotificationPreference(tenantId: string, groupUserNotificationPreferenceDTO: UserNotificationPreferenceDTO, cancelToken?: CancelToken): Promise<UserNotificationPreferenceDTO>; | ||
protected processModifyUserNotificationPreference(response: AxiosResponse): Promise<UserNotificationPreferenceDTO>; | ||
getUserNotificationPreference(tenantId: string, cancelToken?: CancelToken): Promise<UserNotificationPreferenceDTO>; | ||
protected processGetUserNotificationPreference(response: AxiosResponse): Promise<UserNotificationPreferenceDTO>; | ||
} | ||
@@ -572,2 +578,42 @@ export interface IAuthClient { | ||
} | ||
export declare class UserNotificationPreferenceDTO implements IUserNotificationPreferenceDTO { | ||
emailNotifications?: GroupUserNotificationPreferenceDTO[]; | ||
textNotifications?: GroupUserNotificationPreferenceDTO[]; | ||
constructor(data?: IUserNotificationPreferenceDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): UserNotificationPreferenceDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IUserNotificationPreferenceDTO { | ||
emailNotifications?: GroupUserNotificationPreferenceDTO[]; | ||
textNotifications?: GroupUserNotificationPreferenceDTO[]; | ||
} | ||
export declare class GroupUserNotificationPreferenceDTO implements IGroupUserNotificationPreferenceDTO { | ||
allRequired?: boolean; | ||
group?: string; | ||
groupMembers?: GroupNotificationPreferenceDTO[]; | ||
isSelected?: boolean; | ||
constructor(data?: IGroupUserNotificationPreferenceDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): GroupUserNotificationPreferenceDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IGroupUserNotificationPreferenceDTO { | ||
allRequired?: boolean; | ||
group?: string; | ||
groupMembers?: GroupNotificationPreferenceDTO[]; | ||
isSelected?: boolean; | ||
} | ||
export declare class GroupNotificationPreferenceDTO implements IGroupNotificationPreferenceDTO { | ||
isRequired?: boolean; | ||
name?: string; | ||
constructor(data?: IGroupNotificationPreferenceDTO); | ||
init(_data?: any): void; | ||
static fromJS(data: any): GroupNotificationPreferenceDTO; | ||
toJSON(data?: any): any; | ||
} | ||
export interface IGroupNotificationPreferenceDTO { | ||
isRequired?: boolean; | ||
name?: string; | ||
} | ||
export declare class TokenDTO implements ITokenDTO { | ||
@@ -574,0 +620,0 @@ accessToken?: string | undefined; |
{ | ||
"name": "@steffesgroup/steffes-auth", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "Steffes Auth", | ||
@@ -5,0 +5,0 @@ "main": "dist/api.js", |
Sorry, the diff of this file is too big to display
123161
9.65%3271
8.82%