@jealous-robot-dev/shared-types-responses 1.31.1 → 1.31.4
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.
- package/build/services/stats/host-payouts.d.ts +65 -0
- package/build/services/stats/host-payouts.js +10 -0
- package/build/services/stats/index.d.ts +3 -2
- package/build/services/stats/index.js +3 -2
- package/build/services/user-settings/deactivate-account.d.ts +16 -0
- package/build/services/user-settings/deactivate-account.js +6 -0
- package/package.json +1 -1
@@ -0,0 +1,65 @@
|
|
1
|
+
import { LND } from '../common';
|
2
|
+
import { EventTypes } from '../events';
|
3
|
+
export declare enum PerformancePayoutStatus {
|
4
|
+
PAID = "PAID",
|
5
|
+
FAILED = "FAILED",
|
6
|
+
CREATED = "CREATED",
|
7
|
+
PAY_LATER = "PAY_LATER"
|
8
|
+
}
|
9
|
+
export interface PerformancePayoutsPhrases {
|
10
|
+
title: string;
|
11
|
+
payouts_received: string;
|
12
|
+
goldbadge: {
|
13
|
+
has: string;
|
14
|
+
no: string;
|
15
|
+
};
|
16
|
+
service_earnings: string;
|
17
|
+
total_income: string;
|
18
|
+
description: string;
|
19
|
+
no_events_yet: LND;
|
20
|
+
no_payouts: LND;
|
21
|
+
form: {
|
22
|
+
seances: string;
|
23
|
+
details: string;
|
24
|
+
ok: string;
|
25
|
+
cancel: string;
|
26
|
+
payout_details: {
|
27
|
+
statuses: {
|
28
|
+
title: string;
|
29
|
+
description: string;
|
30
|
+
id: PerformancePayoutStatus;
|
31
|
+
}[];
|
32
|
+
percent: string;
|
33
|
+
customers: string;
|
34
|
+
host_income: string;
|
35
|
+
price_edited: string;
|
36
|
+
volume_generated: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
}
|
40
|
+
export interface HostPayoutSeance {
|
41
|
+
sid: string;
|
42
|
+
percent: number;
|
43
|
+
duration: number;
|
44
|
+
earnings: number;
|
45
|
+
starts_at: string;
|
46
|
+
customers: number;
|
47
|
+
full_volume: number;
|
48
|
+
fee_updated: boolean;
|
49
|
+
status: PerformancePayoutStatus;
|
50
|
+
}
|
51
|
+
export interface HostPayoutsEvt {
|
52
|
+
event_id: string;
|
53
|
+
pic: string;
|
54
|
+
name: string;
|
55
|
+
type: EventTypes;
|
56
|
+
total_income: number;
|
57
|
+
last_updated: string;
|
58
|
+
seances: HostPayoutSeance[];
|
59
|
+
}
|
60
|
+
export interface HostPayoutsData {
|
61
|
+
total_income: number;
|
62
|
+
has_gold_badge: boolean;
|
63
|
+
payouts_received: number;
|
64
|
+
services: HostPayoutsEvt[];
|
65
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PerformancePayoutStatus = void 0;
|
4
|
+
var PerformancePayoutStatus;
|
5
|
+
(function (PerformancePayoutStatus) {
|
6
|
+
PerformancePayoutStatus["PAID"] = "PAID";
|
7
|
+
PerformancePayoutStatus["FAILED"] = "FAILED";
|
8
|
+
PerformancePayoutStatus["CREATED"] = "CREATED";
|
9
|
+
PerformancePayoutStatus["PAY_LATER"] = "PAY_LATER";
|
10
|
+
})(PerformancePayoutStatus = exports.PerformancePayoutStatus || (exports.PerformancePayoutStatus = {}));
|
@@ -1,7 +1,8 @@
|
|
1
1
|
export * from './user-notifications';
|
2
2
|
export * from './user-performance';
|
3
|
-
export * from './
|
3
|
+
export * from './payment-history';
|
4
4
|
export * from './user-visitors';
|
5
|
+
export * from './host-payouts';
|
6
|
+
export * from './user-reviews';
|
5
7
|
export * from './user-booking';
|
6
8
|
export * from './schedule';
|
7
|
-
export * from './payment-history';
|
@@ -12,8 +12,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
13
13
|
__exportStar(require("./user-notifications"), exports);
|
14
14
|
__exportStar(require("./user-performance"), exports);
|
15
|
-
__exportStar(require("./
|
15
|
+
__exportStar(require("./payment-history"), exports);
|
16
16
|
__exportStar(require("./user-visitors"), exports);
|
17
|
+
__exportStar(require("./host-payouts"), exports);
|
18
|
+
__exportStar(require("./user-reviews"), exports);
|
17
19
|
__exportStar(require("./user-booking"), exports);
|
18
20
|
__exportStar(require("./schedule"), exports);
|
19
|
-
__exportStar(require("./payment-history"), exports);
|
@@ -15,3 +15,19 @@ export interface DeactivateAccountPhrases {
|
|
15
15
|
delete: string;
|
16
16
|
};
|
17
17
|
}
|
18
|
+
export declare enum DeactivationBlockReason {
|
19
|
+
HOSTING = "HOSTING",
|
20
|
+
BOOKING = "BOOKING"
|
21
|
+
}
|
22
|
+
export interface DeactivationRequestResponse {
|
23
|
+
can_deactivate: boolean;
|
24
|
+
hosting?: {
|
25
|
+
cancellable: number;
|
26
|
+
non_cancellable: number;
|
27
|
+
};
|
28
|
+
booking?: {
|
29
|
+
cancellable: number;
|
30
|
+
non_cancellable: number;
|
31
|
+
};
|
32
|
+
reason?: DeactivationBlockReason;
|
33
|
+
}
|
@@ -1,2 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DeactivationBlockReason = void 0;
|
4
|
+
var DeactivationBlockReason;
|
5
|
+
(function (DeactivationBlockReason) {
|
6
|
+
DeactivationBlockReason["HOSTING"] = "HOSTING";
|
7
|
+
DeactivationBlockReason["BOOKING"] = "BOOKING";
|
8
|
+
})(DeactivationBlockReason = exports.DeactivationBlockReason || (exports.DeactivationBlockReason = {}));
|