@soigo-dev/types-soigo-app 3.0.9 → 3.0.11
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/lib/venue.d.ts +56 -40
- package/lib/venue.js +55 -41
- package/package.json +1 -1
package/lib/venue.d.ts
CHANGED
|
@@ -1,61 +1,73 @@
|
|
|
1
1
|
import { IProvince } from './province';
|
|
2
2
|
export declare enum PriceLevel {
|
|
3
|
-
None =
|
|
4
|
-
Low =
|
|
5
|
-
Medium =
|
|
6
|
-
High =
|
|
7
|
-
Luxurious =
|
|
3
|
+
None = "none",
|
|
4
|
+
Low = "low",
|
|
5
|
+
Medium = "medium",
|
|
6
|
+
High = "high",
|
|
7
|
+
Luxurious = "luxurious"
|
|
8
8
|
}
|
|
9
9
|
export declare enum Offerings {
|
|
10
|
-
Undefined =
|
|
11
|
-
Beer =
|
|
12
|
-
Spirits =
|
|
13
|
-
Wine =
|
|
14
|
-
Food =
|
|
15
|
-
Dancing =
|
|
10
|
+
Undefined = "undefined",
|
|
11
|
+
Beer = "beer",
|
|
12
|
+
Spirits = "spirits",
|
|
13
|
+
Wine = "wine",
|
|
14
|
+
Food = "food",
|
|
15
|
+
Dancing = "dancing"
|
|
16
16
|
}
|
|
17
17
|
export declare enum Amenities {
|
|
18
|
-
Undefined =
|
|
19
|
-
Toilet =
|
|
20
|
-
Wifi =
|
|
21
|
-
FreeWifi =
|
|
18
|
+
Undefined = "undefined",
|
|
19
|
+
Toilet = "toilet",
|
|
20
|
+
Wifi = "wifi",
|
|
21
|
+
FreeWifi = "free_wifi"
|
|
22
22
|
}
|
|
23
23
|
export declare enum Atmospheres {
|
|
24
|
-
Undefined =
|
|
25
|
-
Casual =
|
|
26
|
-
Cozy =
|
|
24
|
+
Undefined = "undefined",
|
|
25
|
+
Casual = "casual",
|
|
26
|
+
Cozy = "cozy"
|
|
27
27
|
}
|
|
28
28
|
export declare enum TypeSongs {
|
|
29
|
-
Undefined =
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
Undefined = "undefined",
|
|
30
|
+
LiveMusic = "live_music",
|
|
31
|
+
DJ = "dj",
|
|
32
|
+
Thai = "thai",
|
|
33
|
+
Latino = "latino",
|
|
34
|
+
HipHop = "hip_hop",
|
|
35
|
+
Jazz = "jazz",
|
|
36
|
+
Electronic = "electronic"
|
|
36
37
|
}
|
|
37
38
|
export declare enum ParkingLots {
|
|
38
|
-
Undefined =
|
|
39
|
-
Free =
|
|
40
|
-
Paid =
|
|
41
|
-
Difficult =
|
|
42
|
-
Street =
|
|
43
|
-
BigBike =
|
|
39
|
+
Undefined = "undefined",
|
|
40
|
+
Free = "free",
|
|
41
|
+
Paid = "paid",
|
|
42
|
+
Difficult = "difficult",
|
|
43
|
+
Street = "street",
|
|
44
|
+
BigBike = "big_bike"
|
|
44
45
|
}
|
|
45
46
|
export declare enum Accessibilities {
|
|
46
|
-
Undefined =
|
|
47
|
-
WheelchairEntrance =
|
|
47
|
+
Undefined = "undefined",
|
|
48
|
+
WheelchairEntrance = "wheelchair_entrance"
|
|
48
49
|
}
|
|
49
50
|
export declare enum Crowds {
|
|
50
|
-
Undefined =
|
|
51
|
-
Alone =
|
|
52
|
-
Groups =
|
|
53
|
-
Foreign =
|
|
51
|
+
Undefined = "undefined",
|
|
52
|
+
Alone = "alone",
|
|
53
|
+
Groups = "groups",
|
|
54
|
+
Foreign = "foreign",
|
|
55
|
+
Young = "young"
|
|
54
56
|
}
|
|
55
57
|
export declare enum EntryTypes {
|
|
56
|
-
Undefined =
|
|
57
|
-
Free =
|
|
58
|
-
Paid =
|
|
58
|
+
Undefined = "undefined",
|
|
59
|
+
Free = "free",
|
|
60
|
+
Paid = "paid"
|
|
61
|
+
}
|
|
62
|
+
export declare enum CommunityTags {
|
|
63
|
+
Undefined = "undefined",
|
|
64
|
+
LGBTQFriendly = "lgbtq_friendly"
|
|
65
|
+
}
|
|
66
|
+
export declare enum VenueType {
|
|
67
|
+
Bar = "bar",
|
|
68
|
+
Club = "club",
|
|
69
|
+
BarClub = "bar_club",
|
|
70
|
+
Rooftop = "rooftop"
|
|
59
71
|
}
|
|
60
72
|
export declare enum DaysOfWeek {
|
|
61
73
|
Sunday = 0,
|
|
@@ -81,6 +93,8 @@ export interface IVenue {
|
|
|
81
93
|
readonly latitude: number;
|
|
82
94
|
readonly longitude: number;
|
|
83
95
|
readonly distance?: number;
|
|
96
|
+
readonly googleMapsUrl?: string;
|
|
97
|
+
readonly venueType?: VenueType;
|
|
84
98
|
readonly priceLevel: PriceLevel;
|
|
85
99
|
readonly offerings: Offerings[];
|
|
86
100
|
readonly amenities: Amenities[];
|
|
@@ -90,6 +104,7 @@ export interface IVenue {
|
|
|
90
104
|
readonly accessibilities: Accessibilities[];
|
|
91
105
|
readonly crowds: Crowds[];
|
|
92
106
|
readonly entryTypes: EntryTypes[];
|
|
107
|
+
readonly communityTags: CommunityTags[];
|
|
93
108
|
readonly phone?: string;
|
|
94
109
|
readonly instagram?: string;
|
|
95
110
|
readonly line?: string;
|
|
@@ -120,6 +135,7 @@ type VenueFlags = {
|
|
|
120
135
|
readonly accessibilities: Record<keyof typeof Accessibilities, boolean>;
|
|
121
136
|
readonly crowds: Record<keyof typeof Crowds, boolean>;
|
|
122
137
|
readonly entryTypes: Record<keyof typeof EntryTypes, boolean>;
|
|
138
|
+
readonly communityTags: Record<keyof typeof CommunityTags, boolean>;
|
|
123
139
|
};
|
|
124
140
|
export interface IGetVenueResponse extends IVenue {
|
|
125
141
|
readonly flags: VenueFlags;
|
package/lib/venue.js
CHANGED
|
@@ -1,73 +1,87 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.VenueImageTypes = exports.DaysOfWeek = exports.EntryTypes = exports.Crowds = exports.Accessibilities = exports.ParkingLots = exports.TypeSongs = exports.Atmospheres = exports.Amenities = exports.Offerings = exports.PriceLevel = void 0;
|
|
3
|
+
exports.VenueImageTypes = exports.DaysOfWeek = exports.VenueType = exports.CommunityTags = exports.EntryTypes = exports.Crowds = exports.Accessibilities = exports.ParkingLots = exports.TypeSongs = exports.Atmospheres = exports.Amenities = exports.Offerings = exports.PriceLevel = void 0;
|
|
4
4
|
var PriceLevel;
|
|
5
5
|
(function (PriceLevel) {
|
|
6
|
-
PriceLevel[
|
|
7
|
-
PriceLevel[
|
|
8
|
-
PriceLevel[
|
|
9
|
-
PriceLevel[
|
|
10
|
-
PriceLevel[
|
|
6
|
+
PriceLevel["None"] = "none";
|
|
7
|
+
PriceLevel["Low"] = "low";
|
|
8
|
+
PriceLevel["Medium"] = "medium";
|
|
9
|
+
PriceLevel["High"] = "high";
|
|
10
|
+
PriceLevel["Luxurious"] = "luxurious";
|
|
11
11
|
})(PriceLevel || (exports.PriceLevel = PriceLevel = {}));
|
|
12
12
|
var Offerings;
|
|
13
13
|
(function (Offerings) {
|
|
14
|
-
Offerings[
|
|
15
|
-
Offerings[
|
|
16
|
-
Offerings[
|
|
17
|
-
Offerings[
|
|
18
|
-
Offerings[
|
|
19
|
-
Offerings[
|
|
14
|
+
Offerings["Undefined"] = "undefined";
|
|
15
|
+
Offerings["Beer"] = "beer";
|
|
16
|
+
Offerings["Spirits"] = "spirits";
|
|
17
|
+
Offerings["Wine"] = "wine";
|
|
18
|
+
Offerings["Food"] = "food";
|
|
19
|
+
Offerings["Dancing"] = "dancing";
|
|
20
20
|
})(Offerings || (exports.Offerings = Offerings = {}));
|
|
21
21
|
var Amenities;
|
|
22
22
|
(function (Amenities) {
|
|
23
|
-
Amenities[
|
|
24
|
-
Amenities[
|
|
25
|
-
Amenities[
|
|
26
|
-
Amenities[
|
|
23
|
+
Amenities["Undefined"] = "undefined";
|
|
24
|
+
Amenities["Toilet"] = "toilet";
|
|
25
|
+
Amenities["Wifi"] = "wifi";
|
|
26
|
+
Amenities["FreeWifi"] = "free_wifi";
|
|
27
27
|
})(Amenities || (exports.Amenities = Amenities = {}));
|
|
28
28
|
var Atmospheres;
|
|
29
29
|
(function (Atmospheres) {
|
|
30
|
-
Atmospheres[
|
|
31
|
-
Atmospheres[
|
|
32
|
-
Atmospheres[
|
|
30
|
+
Atmospheres["Undefined"] = "undefined";
|
|
31
|
+
Atmospheres["Casual"] = "casual";
|
|
32
|
+
Atmospheres["Cozy"] = "cozy";
|
|
33
33
|
})(Atmospheres || (exports.Atmospheres = Atmospheres = {}));
|
|
34
34
|
var TypeSongs;
|
|
35
35
|
(function (TypeSongs) {
|
|
36
|
-
TypeSongs[
|
|
37
|
-
TypeSongs[
|
|
38
|
-
TypeSongs[
|
|
39
|
-
TypeSongs[
|
|
40
|
-
TypeSongs[
|
|
41
|
-
TypeSongs[
|
|
42
|
-
TypeSongs[
|
|
36
|
+
TypeSongs["Undefined"] = "undefined";
|
|
37
|
+
TypeSongs["LiveMusic"] = "live_music";
|
|
38
|
+
TypeSongs["DJ"] = "dj";
|
|
39
|
+
TypeSongs["Thai"] = "thai";
|
|
40
|
+
TypeSongs["Latino"] = "latino";
|
|
41
|
+
TypeSongs["HipHop"] = "hip_hop";
|
|
42
|
+
TypeSongs["Jazz"] = "jazz";
|
|
43
|
+
TypeSongs["Electronic"] = "electronic";
|
|
43
44
|
})(TypeSongs || (exports.TypeSongs = TypeSongs = {}));
|
|
44
45
|
var ParkingLots;
|
|
45
46
|
(function (ParkingLots) {
|
|
46
|
-
ParkingLots[
|
|
47
|
-
ParkingLots[
|
|
48
|
-
ParkingLots[
|
|
49
|
-
ParkingLots[
|
|
50
|
-
ParkingLots[
|
|
51
|
-
ParkingLots[
|
|
47
|
+
ParkingLots["Undefined"] = "undefined";
|
|
48
|
+
ParkingLots["Free"] = "free";
|
|
49
|
+
ParkingLots["Paid"] = "paid";
|
|
50
|
+
ParkingLots["Difficult"] = "difficult";
|
|
51
|
+
ParkingLots["Street"] = "street";
|
|
52
|
+
ParkingLots["BigBike"] = "big_bike";
|
|
52
53
|
})(ParkingLots || (exports.ParkingLots = ParkingLots = {}));
|
|
53
54
|
var Accessibilities;
|
|
54
55
|
(function (Accessibilities) {
|
|
55
|
-
Accessibilities[
|
|
56
|
-
Accessibilities[
|
|
56
|
+
Accessibilities["Undefined"] = "undefined";
|
|
57
|
+
Accessibilities["WheelchairEntrance"] = "wheelchair_entrance";
|
|
57
58
|
})(Accessibilities || (exports.Accessibilities = Accessibilities = {}));
|
|
58
59
|
var Crowds;
|
|
59
60
|
(function (Crowds) {
|
|
60
|
-
Crowds[
|
|
61
|
-
Crowds[
|
|
62
|
-
Crowds[
|
|
63
|
-
Crowds[
|
|
61
|
+
Crowds["Undefined"] = "undefined";
|
|
62
|
+
Crowds["Alone"] = "alone";
|
|
63
|
+
Crowds["Groups"] = "groups";
|
|
64
|
+
Crowds["Foreign"] = "foreign";
|
|
65
|
+
Crowds["Young"] = "young";
|
|
64
66
|
})(Crowds || (exports.Crowds = Crowds = {}));
|
|
65
67
|
var EntryTypes;
|
|
66
68
|
(function (EntryTypes) {
|
|
67
|
-
EntryTypes[
|
|
68
|
-
EntryTypes[
|
|
69
|
-
EntryTypes[
|
|
69
|
+
EntryTypes["Undefined"] = "undefined";
|
|
70
|
+
EntryTypes["Free"] = "free";
|
|
71
|
+
EntryTypes["Paid"] = "paid";
|
|
70
72
|
})(EntryTypes || (exports.EntryTypes = EntryTypes = {}));
|
|
73
|
+
var CommunityTags;
|
|
74
|
+
(function (CommunityTags) {
|
|
75
|
+
CommunityTags["Undefined"] = "undefined";
|
|
76
|
+
CommunityTags["LGBTQFriendly"] = "lgbtq_friendly";
|
|
77
|
+
})(CommunityTags || (exports.CommunityTags = CommunityTags = {}));
|
|
78
|
+
var VenueType;
|
|
79
|
+
(function (VenueType) {
|
|
80
|
+
VenueType["Bar"] = "bar";
|
|
81
|
+
VenueType["Club"] = "club";
|
|
82
|
+
VenueType["BarClub"] = "bar_club";
|
|
83
|
+
VenueType["Rooftop"] = "rooftop";
|
|
84
|
+
})(VenueType || (exports.VenueType = VenueType = {}));
|
|
71
85
|
var DaysOfWeek;
|
|
72
86
|
(function (DaysOfWeek) {
|
|
73
87
|
DaysOfWeek[DaysOfWeek["Sunday"] = 0] = "Sunday";
|