@reviza/api-client 1.0.0-SNAPSHOT-7ca86a63 → 1.0.0-SNAPSHOT-bdfe019f

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.
@@ -33,8 +33,4 @@ export type ConfigData = {
33
33
  label: string;
34
34
  }[]>;
35
35
  colors: Record<FacilityTypeEnum, string>;
36
- notification_terms: {
37
- value: string;
38
- label: string;
39
- }[];
40
36
  };
@@ -1,4 +1,4 @@
1
- import { CategoryNotificationEnum, NotificationTermEnum, OrganizationNotificationEnum } from "../../Enum/Notifications";
1
+ import { CategoryNotificationEnum, OrganizationNotificationEnum } from "../../Enum/Notifications";
2
2
  export type CategoryNotificationData = {
3
3
  id: number;
4
4
  name: string;
@@ -22,11 +22,9 @@ export type NotificationData = {
22
22
  read_at: string | null;
23
23
  };
24
24
  export type NotificationSettingsData = {
25
- terms: NotificationTermEnum[];
26
25
  organizations: OrganizationNotificationData[];
27
26
  };
28
27
  export type NotificationSettingsPayload = {
29
- terms: NotificationTermEnum[];
30
28
  organizations: OrganizationNotificationPayload[];
31
29
  };
32
30
  export type OrganizationNotificationData = {
@@ -6,13 +6,6 @@ export declare enum CategoryNotificationEnum {
6
6
  FACILITY_ISSUE_REMINDER = "FACILITY_ISSUE_REMINDER",
7
7
  REVISION_DOCUMENT_UPLOADED = "REVISION_DOCUMENT_UPLOADED"
8
8
  }
9
- export declare enum NotificationTermEnum {
10
- MONTHS_6 = "MONTHS_6",
11
- MONTHS_3 = "MONTHS_3",
12
- MONTHS_1 = "MONTHS_1",
13
- WEEKS_2 = "WEEKS_2",
14
- WEEKS_1 = "WEEKS_1"
15
- }
16
9
  export declare enum OrganizationNotificationEnum {
17
10
  CATEGORY_CREATED = "CATEGORY_CREATED"
18
11
  }
@@ -7,14 +7,6 @@ export var CategoryNotificationEnum;
7
7
  CategoryNotificationEnum["FACILITY_ISSUE_REMINDER"] = "FACILITY_ISSUE_REMINDER";
8
8
  CategoryNotificationEnum["REVISION_DOCUMENT_UPLOADED"] = "REVISION_DOCUMENT_UPLOADED";
9
9
  })(CategoryNotificationEnum || (CategoryNotificationEnum = {}));
10
- export var NotificationTermEnum;
11
- (function (NotificationTermEnum) {
12
- NotificationTermEnum["MONTHS_6"] = "MONTHS_6";
13
- NotificationTermEnum["MONTHS_3"] = "MONTHS_3";
14
- NotificationTermEnum["MONTHS_1"] = "MONTHS_1";
15
- NotificationTermEnum["WEEKS_2"] = "WEEKS_2";
16
- NotificationTermEnum["WEEKS_1"] = "WEEKS_1";
17
- })(NotificationTermEnum || (NotificationTermEnum = {}));
18
10
  export var OrganizationNotificationEnum;
19
11
  (function (OrganizationNotificationEnum) {
20
12
  OrganizationNotificationEnum["CATEGORY_CREATED"] = "CATEGORY_CREATED";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reviza/api-client",
3
- "version": "1.0.0-SNAPSHOT-7ca86a63",
3
+ "version": "1.0.0-SNAPSHOT-bdfe019f",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",