@jealous-robot-dev/shared-types-responses 1.10.22 → 1.11.0
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/index.d.ts +1 -0
- package/build/services/stats/index.js +1 -0
- package/build/services/stats/user-booking.d.ts +21 -1
- package/build/services/stats/user-booking.js +6 -0
- package/build/services/stats/user-performance.d.ts +18 -2
- package/build/services/stats/user-performance.js +8 -0
- package/package.json +1 -1
|
@@ -14,5 +14,6 @@ __exportStar(require("./user-notifications"), exports);
|
|
|
14
14
|
__exportStar(require("./user-performance"), exports);
|
|
15
15
|
__exportStar(require("./user-reviews"), exports);
|
|
16
16
|
__exportStar(require("./user-visitors"), exports);
|
|
17
|
+
__exportStar(require("./user-booking"), exports);
|
|
17
18
|
__exportStar(require("./schedule"), exports);
|
|
18
19
|
__exportStar(require("./payment-history"), exports);
|
|
@@ -1,3 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
import { LND } from "../common";
|
|
2
|
+
export declare enum BookingCategories {
|
|
3
|
+
EVENTS_BOOKED_BY_YOU = "EVENTS_BOOKED_BY_YOU",
|
|
4
|
+
YOUR_BOOKED_EVENTS = "YOUR_BOOKED_EVENTS"
|
|
5
|
+
}
|
|
6
|
+
export interface CommonBookingPhrases {
|
|
2
7
|
title: string;
|
|
8
|
+
sections: {
|
|
9
|
+
booked_by_you: string;
|
|
10
|
+
booked_yours: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface UserBookingPhrases {
|
|
14
|
+
description: string;
|
|
15
|
+
no_bookings: LND;
|
|
16
|
+
more_details: string;
|
|
17
|
+
booking_details: string;
|
|
18
|
+
}
|
|
19
|
+
export interface HostBookingPhrases {
|
|
20
|
+
description: string;
|
|
21
|
+
no_bookings: LND;
|
|
22
|
+
who_booked: string;
|
|
3
23
|
}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BookingCategories = void 0;
|
|
4
|
+
var BookingCategories;
|
|
5
|
+
(function (BookingCategories) {
|
|
6
|
+
BookingCategories["EVENTS_BOOKED_BY_YOU"] = "EVENTS_BOOKED_BY_YOU";
|
|
7
|
+
BookingCategories["YOUR_BOOKED_EVENTS"] = "YOUR_BOOKED_EVENTS";
|
|
8
|
+
})(BookingCategories = exports.BookingCategories || (exports.BookingCategories = {}));
|
|
@@ -1,16 +1,32 @@
|
|
|
1
1
|
import { Month } from '../common';
|
|
2
|
-
import { PhrasedEventType } from '../events/events';
|
|
2
|
+
import { EventTypes, PhrasedEventType, EventTimeModes } from '../events/events';
|
|
3
|
+
export declare enum PerformanceCategories {
|
|
4
|
+
REVIEWS = "reviews",
|
|
5
|
+
BOOKING = "booking",
|
|
6
|
+
VISITORS = "visitors",
|
|
7
|
+
VISITS = "visits"
|
|
8
|
+
}
|
|
3
9
|
export interface UserPerformancePhrases {
|
|
4
10
|
title: string;
|
|
11
|
+
cancel: string;
|
|
5
12
|
months: Month[];
|
|
6
13
|
load_more: string;
|
|
7
14
|
show_more: string;
|
|
8
15
|
show_less: string;
|
|
9
16
|
view_event: string;
|
|
17
|
+
select_period: string;
|
|
10
18
|
event_types: PhrasedEventType[];
|
|
11
|
-
cancel: string;
|
|
12
19
|
categories: {
|
|
13
20
|
reviews: string;
|
|
14
21
|
visitors: string;
|
|
22
|
+
booking: string;
|
|
23
|
+
visits?: string;
|
|
15
24
|
};
|
|
16
25
|
}
|
|
26
|
+
export interface EventInPerformance {
|
|
27
|
+
event_id: string;
|
|
28
|
+
event_name: string;
|
|
29
|
+
event_type: EventTypes;
|
|
30
|
+
event_time_mode: EventTimeModes;
|
|
31
|
+
event_picture: string;
|
|
32
|
+
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PerformanceCategories = void 0;
|
|
4
|
+
var PerformanceCategories;
|
|
5
|
+
(function (PerformanceCategories) {
|
|
6
|
+
PerformanceCategories["REVIEWS"] = "reviews";
|
|
7
|
+
PerformanceCategories["BOOKING"] = "booking";
|
|
8
|
+
PerformanceCategories["VISITORS"] = "visitors";
|
|
9
|
+
PerformanceCategories["VISITS"] = "visits";
|
|
10
|
+
})(PerformanceCategories = exports.PerformanceCategories || (exports.PerformanceCategories = {}));
|