@jealous-robot-dev/shared-types-responses 1.55.1 → 1.55.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,11 @@
1
1
  import { UserPaymentSettingsPhrases } from '@jealous-robot-dev/shared-phrases';
2
+ import { CAVStatus } from '@jealous-robot-dev/drophr-common';
2
3
  import { QueryResponse } from '../common';
3
4
  export interface UserPaymentSettingsData {
4
5
  connected_account?: string;
6
+ is_eligible?: boolean;
5
7
  last_update: number;
8
+ status?: CAVStatus;
6
9
  }
7
10
  export interface UserPaymentSettingsResponse extends QueryResponse<UserPaymentSettingsData, UserPaymentSettingsPhrases> {
8
11
  }
@@ -1,5 +1,5 @@
1
1
  import { UserPersonalInfoPhrases } from '@jealous-robot-dev/shared-phrases';
2
- import { PhoneNumber } from '@jealous-robot-dev/drophr-common';
2
+ import { PhoneNumber, UserAddress } from '@jealous-robot-dev/drophr-common';
3
3
  import { QueryResponse } from '../common';
4
4
  export interface PersonalInfoBirthday {
5
5
  year: string;
@@ -8,18 +8,20 @@ export interface PersonalInfoBirthday {
8
8
  }
9
9
  export interface UserPersonalInfo {
10
10
  email: string;
11
- address: boolean;
12
- lastname: string;
13
- firstname: string;
11
+ legalName: {
12
+ lastname: string;
13
+ firstname: string;
14
+ };
14
15
  idVerification: {
15
16
  isActual: boolean;
16
- isVerified: boolean;
17
+ status?: 'failed' | 'pending' | 'verified';
17
18
  };
18
- INFORMCompliant: boolean;
19
19
  phone: {
20
20
  isEligible: boolean;
21
21
  value: PhoneNumber | null;
22
22
  };
23
+ INFORMCompliant: boolean;
24
+ address: UserAddress | null;
23
25
  birthday: PersonalInfoBirthday | null;
24
26
  }
25
27
  export interface UserPersonalInfoResponse extends QueryResponse<UserPersonalInfo, UserPersonalInfoPhrases> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.55.1",
3
+ "version": "1.55.3",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",