@cranberry-money/shared-types 8.22.15 → 8.22.16

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.
@@ -2,6 +2,11 @@ import type { BaseEntity } from '../common';
2
2
  export interface UserProfile extends BaseEntity {
3
3
  citizenshipCountry: string;
4
4
  fullName: string;
5
+ email: string;
6
+ isActive: boolean;
7
+ isStaff: boolean;
8
+ dateJoined: string;
9
+ lastLogin: string | null;
5
10
  dateOfBirth: string;
6
11
  residentialAddress: string;
7
12
  isPoliticallyExposed: boolean;
@@ -13,7 +18,7 @@ export interface UserProfile extends BaseEntity {
13
18
  termsAndConditions: boolean;
14
19
  isSignupCompleted: boolean;
15
20
  }
16
- export type CreateUserProfile = Omit<UserProfile, 'uuid' | 'createdAt' | 'updatedAt' | 'isIdVerified' | 'isSignupCompleted' | 'investmentGoals' | 'riskTolerance' | 'withdrawPreferences' | 'termsAndConditions' | 'citizenshipCountry' | 'dateOfBirth' | 'isPoliticallyExposed'>;
17
- export type UpdateUserProfile = Partial<Omit<UserProfile, 'uuid' | 'createdAt' | 'updatedAt'>>;
21
+ export type CreateUserProfile = Omit<UserProfile, 'uuid' | 'createdAt' | 'updatedAt' | 'email' | 'isActive' | 'isStaff' | 'dateJoined' | 'lastLogin' | 'isIdVerified' | 'isSignupCompleted' | 'investmentGoals' | 'riskTolerance' | 'withdrawPreferences' | 'termsAndConditions' | 'citizenshipCountry' | 'dateOfBirth' | 'isPoliticallyExposed'>;
22
+ export type UpdateUserProfile = Partial<Omit<UserProfile, 'uuid' | 'createdAt' | 'updatedAt' | 'email' | 'isActive' | 'isStaff' | 'dateJoined' | 'lastLogin'>>;
18
23
  export type CompleteUserProfile = Pick<UserProfile, 'termsAndConditions' | 'isSignupCompleted'> & Partial<Pick<UserProfile, 'investmentGoals' | 'riskTolerance' | 'withdrawPreferences'>>;
19
24
  //# sourceMappingURL=user.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/domain/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,UAAU;IAC7C,kBAAkB,EAAE,MAAM,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,YAAY,EAAE,OAAO,CAAC;IACtB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,WAAW,EACT,MAAM,GACN,WAAW,GACX,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,GACpB,aAAa,GACb,sBAAsB,CACzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,WAAW,GAAG,WAAW,CAAC,CAAC,CAAC;AAE/F,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,WAAW,EAAE,oBAAoB,GAAG,mBAAmB,CAAC,GAC7F,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,iBAAiB,GAAG,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/domain/user.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAE5C,MAAM,WAAW,WAAY,SAAQ,U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@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cranberry-money/shared-types",
3
- "version": "8.22.15",
3
+ "version": "8.22.16",
4
4
  "description": "Shared TypeScript type definitions for Blueberry platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",