@reviza/api-client 1.0.0-SNAPSHOT-3f57e4c3 → 1.0.0-SNAPSHOT-144149ca
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/dist/App/Data/Notification/index.d.ts +28 -1
- package/package.json +1 -1
- package/dist/App/Data/Notification/Category/index.d.ts +0 -25
- package/dist/App/Data/Notification/Category/index.js +0 -1
- package/dist/App/Data/Notification/Organization/index.d.ts +0 -25
- package/dist/App/Data/Notification/Organization/index.js +0 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CategoryNotificationEnum, NotificationTermEnum, OrganizationNotificationEnum } from "../../Enum/Notifications";
|
|
2
|
+
export type CategoryNotificationData = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
type_name: string;
|
|
6
|
+
notifications: CategoryNotificationEnum[];
|
|
7
|
+
notification_options: CategoryNotificationEnum[];
|
|
8
|
+
categories: CategoryNotificationData[];
|
|
9
|
+
};
|
|
10
|
+
export type CategoryNotificationPayload = {
|
|
11
|
+
id: number;
|
|
12
|
+
notifications: CategoryNotificationEnum[];
|
|
13
|
+
categories: CategoryNotificationPayload[] | null;
|
|
14
|
+
};
|
|
2
15
|
export type NotificationData = {
|
|
3
16
|
full_name: string;
|
|
4
17
|
email: string;
|
|
@@ -9,8 +22,22 @@ export type NotificationData = {
|
|
|
9
22
|
read_at: string | null;
|
|
10
23
|
};
|
|
11
24
|
export type NotificationSettingsData = {
|
|
25
|
+
terms: NotificationTermEnum[];
|
|
12
26
|
organizations: OrganizationNotificationData[];
|
|
13
27
|
};
|
|
14
28
|
export type NotificationSettingsPayload = {
|
|
29
|
+
terms: NotificationTermEnum[];
|
|
15
30
|
organizations: OrganizationNotificationPayload[];
|
|
16
31
|
};
|
|
32
|
+
export type OrganizationNotificationData = {
|
|
33
|
+
id: number;
|
|
34
|
+
name: string;
|
|
35
|
+
notifications: OrganizationNotificationEnum[];
|
|
36
|
+
notification_options: OrganizationNotificationEnum[];
|
|
37
|
+
categories: CategoryNotificationData[];
|
|
38
|
+
};
|
|
39
|
+
export type OrganizationNotificationPayload = {
|
|
40
|
+
id: number;
|
|
41
|
+
notifications: OrganizationNotificationEnum[];
|
|
42
|
+
categories: CategoryNotificationPayload[] | null;
|
|
43
|
+
};
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CategoryNotificationEnum, NotificationTermEnum } from "../../../Enum/Notifications";
|
|
2
|
-
export type CategoryNotificationData = {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
type_name: string;
|
|
6
|
-
notifications: CategoryNotificationTermData[];
|
|
7
|
-
categories: CategoryNotificationData[];
|
|
8
|
-
};
|
|
9
|
-
export type CategoryNotificationPayload = {
|
|
10
|
-
id: number;
|
|
11
|
-
notifications: CategoryNotificationTermPayload[];
|
|
12
|
-
categories: CategoryNotificationPayload[] | null;
|
|
13
|
-
};
|
|
14
|
-
export type CategoryNotificationTermData = {
|
|
15
|
-
type: CategoryNotificationEnum;
|
|
16
|
-
name: string;
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
has_terms: boolean;
|
|
19
|
-
terms?: NotificationTermEnum[];
|
|
20
|
-
};
|
|
21
|
-
export type CategoryNotificationTermPayload = {
|
|
22
|
-
type: CategoryNotificationEnum;
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
terms?: NotificationTermEnum[];
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CategoryNotificationData, CategoryNotificationPayload } from "../Category";
|
|
2
|
-
import { OrganizationNotificationEnum, NotificationTermEnum } from "../../../Enum/Notifications";
|
|
3
|
-
export type OrganizationNotificationData = {
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
notifications: OrganizationNotificationTermData[];
|
|
7
|
-
categories: CategoryNotificationData[];
|
|
8
|
-
};
|
|
9
|
-
export type OrganizationNotificationPayload = {
|
|
10
|
-
id: number;
|
|
11
|
-
notifications: OrganizationNotificationTermPayload[];
|
|
12
|
-
categories: CategoryNotificationPayload[] | null;
|
|
13
|
-
};
|
|
14
|
-
export type OrganizationNotificationTermData = {
|
|
15
|
-
type: OrganizationNotificationEnum;
|
|
16
|
-
name: string;
|
|
17
|
-
enabled: boolean;
|
|
18
|
-
has_terms: boolean;
|
|
19
|
-
terms?: NotificationTermEnum[];
|
|
20
|
-
};
|
|
21
|
-
export type OrganizationNotificationTermPayload = {
|
|
22
|
-
type: OrganizationNotificationEnum;
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
terms?: NotificationTermEnum[];
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|