@jealous-robot-dev/shared-types-responses 1.30.7 → 1.30.10

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,60 +1,51 @@
1
- import { LND, QueryResponse } from '../common';
1
+ import { Currency, LND, QueryResponse } from '../common';
2
2
  import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
3
- export interface PaypalAccount {
4
- id: string;
5
- email: string;
6
- verified: boolean;
7
- isDefault: boolean;
3
+ export declare enum CAVStatus {
4
+ VERIFIED = "VERIFIED",
5
+ PENDING = "PENDING",
6
+ FAILED = "FAILED"
8
7
  }
9
8
  export interface UserPaymentSettingsData {
10
- paypals: PaypalAccount[];
9
+ connected_account?: {
10
+ status: CAVStatus;
11
+ };
12
+ last_update: string;
13
+ preferred_currency: string;
11
14
  }
12
15
  export interface UserPaymentSettingsPhrases {
13
16
  FAQ: FAQ[];
14
17
  settings: {
15
18
  dialogs: {
16
- common: {
17
- cancel: string;
18
- continue: string;
19
- waitasecond: string;
20
- };
21
- deleteWalletAgreement: {
19
+ enter_password: {
22
20
  title: string;
23
21
  description: string;
24
- };
25
- userVerification: {
26
- title: string;
27
- label: string;
28
- description1: string;
29
- inputLabel: string;
30
- placeholder: string;
31
- description2: string;
32
- attempts: string;
33
- failure: {
34
- invalid: string;
35
- noAttempts: {
36
- title: string;
37
- sentence: string;
22
+ input: {
23
+ label: string;
24
+ warnings: {
25
+ invalid: string;
38
26
  };
39
27
  };
28
+ submit: string;
40
29
  };
41
30
  };
42
- payoutSolutions: LND;
43
- paypals: {
44
- label: string;
45
- default: string;
46
- option: {
47
- setasdefault: string;
48
- remove: string;
49
- verify: string;
50
- };
31
+ title: string;
32
+ on_payouts: string;
33
+ payout_solutions: LND;
34
+ last_update: string;
35
+ connected_account: {
36
+ create: string;
37
+ disconnect: string;
38
+ description: string;
39
+ statuses: {
40
+ id: CAVStatus;
41
+ phrases: LND;
42
+ }[];
51
43
  };
52
- paypal: {
53
- addPaypal: string;
54
- main: string;
55
- verified: string;
56
- unverified: string;
57
- noPaypals: string;
44
+ session_expired: LND;
45
+ preferred_currency: {
46
+ label: string;
47
+ description: string;
48
+ currencies: Currency[];
58
49
  };
59
50
  };
60
51
  }
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CAVStatus = void 0;
4
+ var CAVStatus;
5
+ (function (CAVStatus) {
6
+ CAVStatus["VERIFIED"] = "VERIFIED";
7
+ CAVStatus["PENDING"] = "PENDING";
8
+ CAVStatus["FAILED"] = "FAILED";
9
+ })(CAVStatus = exports.CAVStatus || (exports.CAVStatus = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.30.7",
3
+ "version": "1.30.10",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",