@reviza/api-client 1.2.0-SNAPSHOT-35983ada → 1.2.0-SNAPSHOT-5f5e5a50

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.
@@ -24,6 +24,7 @@ export type RegisterPayload = {
24
24
  email: string;
25
25
  phone: string | null;
26
26
  password: string;
27
+ password_confirmation: string;
27
28
  legal_consent: boolean;
28
29
  marketing_consent: boolean;
29
30
  };
@@ -1,4 +1,5 @@
1
1
  import { CategoryNotificationEnum, NotificationTermEnum, OrganizationNotificationEnum } from "../../Enum/Notifications";
2
+ import { UserData } from "../User";
2
3
  export type CategoryNotificationData = {
3
4
  id: number;
4
5
  name: string;
@@ -13,8 +14,7 @@ export type CategoryNotificationPayload = {
13
14
  categories: CategoryNotificationPayload[] | null;
14
15
  };
15
16
  export type NotificationData = {
16
- full_name: string;
17
- email: string;
17
+ user: UserData | null;
18
18
  subject: string;
19
19
  data: Record<string, any>;
20
20
  created_at: string | null;
package/dist/index.d.ts CHANGED
@@ -186,6 +186,7 @@ export type * from "./App/Data/Search";
186
186
  export type * from "./App/Data/Subscription";
187
187
  export type * from "./App/Data/User";
188
188
  export type * from "./App/Data/Picture";
189
+ export type * from "./App/Data/Ui";
189
190
  export * from "./App/Enum";
190
191
  export * from "./App/Enum/Permissions";
191
192
  export * from "./App/Enum/Notifications";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reviza/api-client",
3
- "version": "1.2.0-SNAPSHOT-35983ada",
3
+ "version": "1.2.0-SNAPSHOT-5f5e5a50",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",