@jealous-robot-dev/shared-types-responses 1.13.3 → 1.13.7

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.
@@ -1,19 +1,21 @@
1
- export interface AccountSettingsCategory {
2
- description: string;
3
- label: string;
4
- }
1
+ import { LND } from '../common';
5
2
  export interface AccountSettingsPhrases {
6
3
  accountSettings: string;
7
4
  settings: string;
8
5
  profile: string;
9
6
  account: string;
7
+ common: {
8
+ edit: string;
9
+ apply: string;
10
+ load_more: string;
11
+ };
10
12
  categories: {
11
- personalInfo: AccountSettingsCategory;
12
- security: AccountSettingsCategory;
13
- notifacations: AccountSettingsCategory;
14
- events: AccountSettingsCategory;
15
- payments: AccountSettingsCategory;
16
- privacy: AccountSettingsCategory;
13
+ personalInfo: LND;
14
+ security: LND;
15
+ notifacations: LND;
16
+ events: LND;
17
+ payments: LND;
18
+ privacy: LND;
17
19
  };
18
20
  mobile: {
19
21
  your_account: string;
@@ -1,4 +1,4 @@
1
- import { QueryResponse, FAQ } from '../common';
1
+ import { QueryResponse, FAQ, LND } from '../common';
2
2
  export interface UserEventSettingsData {
3
3
  eventVisitor: {
4
4
  updatedEvents: boolean;
@@ -24,13 +24,9 @@ export interface UserEventSettingsPhrases {
24
24
  label: string;
25
25
  };
26
26
  };
27
- updatedEvents: {
28
- label: string;
29
- descripiton: string;
30
- };
27
+ updatedEvents: LND;
31
28
  };
32
29
  forms: {
33
- buttonLabel: string;
34
30
  hours: string;
35
31
  minutes: string;
36
32
  };
@@ -1,12 +1,12 @@
1
- import { FAQ, PluralSingular, QueryResponse } from '../common';
2
- export interface PaypalWallet {
1
+ import { FAQ, LND, PluralSingular, QueryResponse } from '../common';
2
+ export interface PaypalAccount {
3
3
  id: string;
4
4
  email: string;
5
5
  verified: boolean;
6
6
  isDefault: boolean;
7
7
  }
8
8
  export interface UserPaymentSettingsData {
9
- wallets: PaypalWallet[];
9
+ paypals: PaypalAccount[];
10
10
  }
11
11
  export interface UserPaymentSettingsPhrases {
12
12
  FAQ: {
@@ -41,11 +41,8 @@ export interface UserPaymentSettingsPhrases {
41
41
  };
42
42
  };
43
43
  };
44
- payoutSolutions: {
45
- label: string;
46
- description: string;
47
- };
48
- paypalWallets: {
44
+ payoutSolutions: LND;
45
+ paypals: {
49
46
  label: string;
50
47
  default: string;
51
48
  option: {
@@ -54,12 +51,12 @@ export interface UserPaymentSettingsPhrases {
54
51
  verify: string;
55
52
  };
56
53
  };
57
- wallet: {
58
- addWallet: string;
54
+ paypal: {
55
+ addPaypal: string;
59
56
  main: string;
60
57
  verified: string;
61
58
  unverified: string;
62
- noWallets: string;
59
+ noPaypals: string;
63
60
  };
64
61
  };
65
62
  }
@@ -1,10 +1,14 @@
1
- import { FAQ, FormWarning, QueryResponse, Month } from '../common';
1
+ import { FAQ, FormWarning, QueryResponse } from '../common';
2
2
  export declare enum Sex {
3
3
  MALE = "male",
4
4
  FEMALE = "female",
5
5
  OTHER = "other",
6
6
  UNSET = "unset"
7
7
  }
8
+ export interface Gender {
9
+ id: Sex;
10
+ value: string;
11
+ }
8
12
  export interface UserPersonalInfo {
9
13
  username: string;
10
14
  firstname: string;
@@ -22,13 +26,7 @@ export interface UserPersonalInfoInputField {
22
26
  warnings?: FormWarning;
23
27
  }
24
28
  export interface UserPersonalInfoPhrases {
25
- genders: {
26
- male: string;
27
- female: string;
28
- other: string;
29
- unset: string;
30
- };
31
- months: Month[];
29
+ genders: Gender[];
32
30
  FAQ: {
33
31
  fields: {
34
32
  publicFields: FAQ;
@@ -44,9 +42,6 @@ export interface UserPersonalInfoPhrases {
44
42
  birthday: string;
45
43
  };
46
44
  forms: {
47
- common: {
48
- buttonLabel: string;
49
- };
50
45
  email: {
51
46
  description: string;
52
47
  label: string;
@@ -1,4 +1,4 @@
1
- import { FAQ, FormWarning, PluralSingular, QueryResponse, PasswordCharacteristics } from '../common';
1
+ import { FAQ, FormWarning, QueryResponse, PasswordCharacteristics } from '../common';
2
2
  export interface UserDevice {
3
3
  DUID: string;
4
4
  os: {
@@ -10,14 +10,18 @@ export interface UserDevice {
10
10
  ip: string;
11
11
  country?: string;
12
12
  city?: string;
13
- lastLoggedIn: number;
13
+ lastLoggedIn: string;
14
14
  current: boolean;
15
15
  }
16
16
  export interface UserSecurity {
17
- lastUpdateOfPassword: number;
17
+ lastUpdateOfPassword: string;
18
18
  secureAuth: boolean;
19
19
  notifyAboutNewDevice: boolean;
20
20
  devices: UserDevice[];
21
+ blacklist: {
22
+ total: number;
23
+ entries: BlockedUser[];
24
+ };
21
25
  }
22
26
  export interface UserSecurityPhrases {
23
27
  FAQ: {
@@ -38,20 +42,16 @@ export interface UserSecurityPhrases {
38
42
  };
39
43
  };
40
44
  };
45
+ blacklist: {
46
+ label: string;
47
+ view: string;
48
+ unblock: string;
49
+ };
41
50
  auth: {
42
51
  label: string;
43
52
  formLabel: string;
44
53
  lastUpdated: string;
45
- year: PluralSingular;
46
- month: PluralSingular;
47
- day: PluralSingular;
48
- week: PluralSingular;
49
- hour: PluralSingular;
50
- minute: PluralSingular;
51
- ago: string;
52
- justNow: string;
53
54
  form: {
54
- buttonLabel: string;
55
55
  currentPassword: {
56
56
  label: string;
57
57
  warnings: FormWarning;
@@ -73,5 +73,12 @@ export interface UserSecurityPhrases {
73
73
  pw_characteristics: PasswordCharacteristics;
74
74
  };
75
75
  }
76
+ export interface BlockedUser {
77
+ UID: string;
78
+ username: string;
79
+ firstname: string;
80
+ lastname: string;
81
+ ppu?: string;
82
+ }
76
83
  export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
77
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.13.3",
3
+ "version": "1.13.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",