@aepstore-dev/contracts 1.83.0 → 1.85.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/gen/notifications.d.ts
CHANGED
|
@@ -25,6 +25,10 @@ export interface ListNotificationsRequest {
|
|
|
25
25
|
isRead: string;
|
|
26
26
|
page: number;
|
|
27
27
|
limit: number;
|
|
28
|
+
entityType: string;
|
|
29
|
+
entityId: string;
|
|
30
|
+
/** empty|desc|asc */
|
|
31
|
+
order: string;
|
|
28
32
|
}
|
|
29
33
|
export interface NotificationsListResponse {
|
|
30
34
|
items: Notification[];
|
|
@@ -48,6 +52,8 @@ export interface MarkAllNotificationsReadRequest {
|
|
|
48
52
|
userId: string;
|
|
49
53
|
category: string;
|
|
50
54
|
type: string;
|
|
55
|
+
entityType: string;
|
|
56
|
+
entityId: string;
|
|
51
57
|
}
|
|
52
58
|
export interface MarkAllNotificationsReadResponse {
|
|
53
59
|
updatedCount: number;
|
|
@@ -67,6 +73,8 @@ export interface DeleteNotificationsRequest {
|
|
|
67
73
|
type: string;
|
|
68
74
|
/** empty|true|false */
|
|
69
75
|
isRead: string;
|
|
76
|
+
entityType: string;
|
|
77
|
+
entityId: string;
|
|
70
78
|
}
|
|
71
79
|
export interface DeleteNotificationsResponse {
|
|
72
80
|
deletedCount: number;
|
package/gen/notifications.ts
CHANGED
|
@@ -37,6 +37,10 @@ export interface ListNotificationsRequest {
|
|
|
37
37
|
isRead: string;
|
|
38
38
|
page: number;
|
|
39
39
|
limit: number;
|
|
40
|
+
entityType: string;
|
|
41
|
+
entityId: string;
|
|
42
|
+
/** empty|desc|asc */
|
|
43
|
+
order: string;
|
|
40
44
|
}
|
|
41
45
|
|
|
42
46
|
export interface NotificationsListResponse {
|
|
@@ -65,6 +69,8 @@ export interface MarkAllNotificationsReadRequest {
|
|
|
65
69
|
userId: string;
|
|
66
70
|
category: string;
|
|
67
71
|
type: string;
|
|
72
|
+
entityType: string;
|
|
73
|
+
entityId: string;
|
|
68
74
|
}
|
|
69
75
|
|
|
70
76
|
export interface MarkAllNotificationsReadResponse {
|
|
@@ -88,6 +94,8 @@ export interface DeleteNotificationsRequest {
|
|
|
88
94
|
type: string;
|
|
89
95
|
/** empty|true|false */
|
|
90
96
|
isRead: string;
|
|
97
|
+
entityType: string;
|
|
98
|
+
entityId: string;
|
|
91
99
|
}
|
|
92
100
|
|
|
93
101
|
export interface DeleteNotificationsResponse {
|
package/package.json
CHANGED
|
@@ -36,6 +36,9 @@ message ListNotificationsRequest {
|
|
|
36
36
|
string is_read = 4; // empty|true|false
|
|
37
37
|
int32 page = 5;
|
|
38
38
|
int32 limit = 6;
|
|
39
|
+
string entity_type = 7;
|
|
40
|
+
string entity_id = 8;
|
|
41
|
+
string order = 9; // empty|desc|asc
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
message NotificationsListResponse {
|
|
@@ -64,6 +67,8 @@ message MarkAllNotificationsReadRequest {
|
|
|
64
67
|
string user_id = 1;
|
|
65
68
|
string category = 2;
|
|
66
69
|
string type = 3;
|
|
70
|
+
string entity_type = 4;
|
|
71
|
+
string entity_id = 5;
|
|
67
72
|
}
|
|
68
73
|
|
|
69
74
|
message MarkAllNotificationsReadResponse {
|
|
@@ -86,6 +91,8 @@ message DeleteNotificationsRequest {
|
|
|
86
91
|
string category = 2;
|
|
87
92
|
string type = 3;
|
|
88
93
|
string is_read = 4; // empty|true|false
|
|
94
|
+
string entity_type = 5;
|
|
95
|
+
string entity_id = 6;
|
|
89
96
|
}
|
|
90
97
|
|
|
91
98
|
message DeleteNotificationsResponse {
|