robbyson-frontend-library 1.0.43 → 1.0.44
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 +1 -1
- package/src/models/angel-friend-status.model.ts +4 -0
- package/src/models/chat.model.ts +1 -0
- package/src/models/hierarchy-level.model.ts +1 -1
- package/src/models/user-list.model.ts +2 -0
- package/src/repositories/angel-friend.repository.interface.ts +1 -0
- package/src/repositories/campaign.repository.interface.ts +0 -1
- package/src/services/angel-friend.service.interface.ts +1 -0
- package/src/services/chat.service.interface.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
2
|
import { IProfileImageProps } from "../components/profile-image/profile-image.interface";
|
|
3
3
|
import { IBaseComponentProp } from "../components/base-component.prop.interface";
|
|
4
|
+
import { ChatClassification } from "../constants";
|
|
4
5
|
|
|
5
6
|
export class AngelFriendStatusModel extends BaseRepositoryModel {
|
|
6
7
|
configuration: IConfiguration;
|
|
@@ -149,6 +150,7 @@ export interface IAngelFriendStatus {
|
|
|
149
150
|
__v: number;
|
|
150
151
|
_id: number;
|
|
151
152
|
accepted?: boolean;
|
|
153
|
+
lastConfigurationToAF?: string;
|
|
152
154
|
}
|
|
153
155
|
| undefined;
|
|
154
156
|
configuration: IConfiguration;
|
|
@@ -183,6 +185,7 @@ export interface IAngelFriendProfileImageProps
|
|
|
183
185
|
extends IProfileImageProps,
|
|
184
186
|
IBaseComponentProp {
|
|
185
187
|
robbysonUserId?: number;
|
|
188
|
+
classification?: ChatClassification | "";
|
|
186
189
|
}
|
|
187
190
|
|
|
188
191
|
export interface INotification {
|
|
@@ -341,6 +344,7 @@ export interface IGodfatherAnswer {
|
|
|
341
344
|
__v?: number;
|
|
342
345
|
accepted: boolean;
|
|
343
346
|
possibleAF?: boolean;
|
|
347
|
+
lastConfigurationToAF?: string;
|
|
344
348
|
}
|
|
345
349
|
|
|
346
350
|
export interface IGodfatherAnswerResponse {
|
package/src/models/chat.model.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChatClassification } from "../constants";
|
|
1
2
|
import { BaseRepositoryModel } from "./base.repository.model";
|
|
2
3
|
import { ChatUser } from "./chat.model";
|
|
3
4
|
|
|
@@ -25,6 +26,7 @@ export class UserListModel extends BaseRepositoryModel {
|
|
|
25
26
|
profileImage?: string;
|
|
26
27
|
users?: ChatUser[];
|
|
27
28
|
countNotRead?: number;
|
|
29
|
+
classification?: ChatClassification;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
interface System {
|
|
@@ -18,6 +18,7 @@ export interface IAngelFriendRepository {
|
|
|
18
18
|
data: AngelFriendDTO.NotificationReceivedDTO,
|
|
19
19
|
limit?: number
|
|
20
20
|
): Promise<INotificationResponse>;
|
|
21
|
+
getNotificationToBeGodfather(): Promise<IHttpGenericResponse>;
|
|
21
22
|
getPossibleGodsons(data: {
|
|
22
23
|
page: number;
|
|
23
24
|
per: number;
|
|
@@ -3,7 +3,6 @@ import { CampaignDTO } from "../services";
|
|
|
3
3
|
export interface ICampaignRepository {
|
|
4
4
|
getCampaigns: (data: {
|
|
5
5
|
userId: string;
|
|
6
|
-
primaryAttributeId: string;
|
|
7
6
|
}) => Promise<CampaignDTO.ICampaign[]>;
|
|
8
7
|
getbyindicatorid: (id: number) => Promise<CampaignDTO.IIndicador>;
|
|
9
8
|
}
|