@soigo-dev/types-soigo-app 3.0.10 → 3.0.12
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 -41
- package/lib/venue.js +55 -42
- package/package.json +1 -1
package/lib/venue.d.ts
CHANGED
|
@@ -1,62 +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
|
-
DJ =
|
|
32
|
-
Thai =
|
|
33
|
-
Latino =
|
|
34
|
-
HipHop =
|
|
35
|
-
Jazz =
|
|
36
|
-
Electronic =
|
|
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"
|
|
37
37
|
}
|
|
38
38
|
export declare enum ParkingLots {
|
|
39
|
-
Undefined =
|
|
40
|
-
Free =
|
|
41
|
-
Paid =
|
|
42
|
-
Difficult =
|
|
43
|
-
Street =
|
|
44
|
-
BigBike =
|
|
39
|
+
Undefined = "undefined",
|
|
40
|
+
Free = "free",
|
|
41
|
+
Paid = "paid",
|
|
42
|
+
Difficult = "difficult",
|
|
43
|
+
Street = "street",
|
|
44
|
+
BigBike = "big_bike"
|
|
45
45
|
}
|
|
46
46
|
export declare enum Accessibilities {
|
|
47
|
-
Undefined =
|
|
48
|
-
WheelchairEntrance =
|
|
47
|
+
Undefined = "undefined",
|
|
48
|
+
WheelchairEntrance = "wheelchair_entrance"
|
|
49
49
|
}
|
|
50
50
|
export declare enum Crowds {
|
|
51
|
-
Undefined =
|
|
52
|
-
Alone =
|
|
53
|
-
Groups =
|
|
54
|
-
Foreign =
|
|
51
|
+
Undefined = "undefined",
|
|
52
|
+
Alone = "alone",
|
|
53
|
+
Groups = "groups",
|
|
54
|
+
Foreign = "foreign",
|
|
55
|
+
Young = "young"
|
|
55
56
|
}
|
|
56
57
|
export declare enum EntryTypes {
|
|
57
|
-
Undefined =
|
|
58
|
-
Free =
|
|
59
|
-
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"
|
|
60
71
|
}
|
|
61
72
|
export declare enum DaysOfWeek {
|
|
62
73
|
Sunday = 0,
|
|
@@ -82,6 +93,8 @@ export interface IVenue {
|
|
|
82
93
|
readonly latitude: number;
|
|
83
94
|
readonly longitude: number;
|
|
84
95
|
readonly distance?: number;
|
|
96
|
+
readonly googleMapsUrl: string;
|
|
97
|
+
readonly venueType: VenueType;
|
|
85
98
|
readonly priceLevel: PriceLevel;
|
|
86
99
|
readonly offerings: Offerings[];
|
|
87
100
|
readonly amenities: Amenities[];
|
|
@@ -91,6 +104,7 @@ export interface IVenue {
|
|
|
91
104
|
readonly accessibilities: Accessibilities[];
|
|
92
105
|
readonly crowds: Crowds[];
|
|
93
106
|
readonly entryTypes: EntryTypes[];
|
|
107
|
+
readonly communityTags: CommunityTags[];
|
|
94
108
|
readonly phone?: string;
|
|
95
109
|
readonly instagram?: string;
|
|
96
110
|
readonly line?: string;
|
|
@@ -121,6 +135,7 @@ type VenueFlags = {
|
|
|
121
135
|
readonly accessibilities: Record<keyof typeof Accessibilities, boolean>;
|
|
122
136
|
readonly crowds: Record<keyof typeof Crowds, boolean>;
|
|
123
137
|
readonly entryTypes: Record<keyof typeof EntryTypes, boolean>;
|
|
138
|
+
readonly communityTags: Record<keyof typeof CommunityTags, boolean>;
|
|
124
139
|
};
|
|
125
140
|
export interface IGetVenueResponse extends IVenue {
|
|
126
141
|
readonly flags: VenueFlags;
|
package/lib/venue.js
CHANGED
|
@@ -1,74 +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[
|
|
43
|
-
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";
|
|
44
44
|
})(TypeSongs || (exports.TypeSongs = TypeSongs = {}));
|
|
45
45
|
var ParkingLots;
|
|
46
46
|
(function (ParkingLots) {
|
|
47
|
-
ParkingLots[
|
|
48
|
-
ParkingLots[
|
|
49
|
-
ParkingLots[
|
|
50
|
-
ParkingLots[
|
|
51
|
-
ParkingLots[
|
|
52
|
-
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";
|
|
53
53
|
})(ParkingLots || (exports.ParkingLots = ParkingLots = {}));
|
|
54
54
|
var Accessibilities;
|
|
55
55
|
(function (Accessibilities) {
|
|
56
|
-
Accessibilities[
|
|
57
|
-
Accessibilities[
|
|
56
|
+
Accessibilities["Undefined"] = "undefined";
|
|
57
|
+
Accessibilities["WheelchairEntrance"] = "wheelchair_entrance";
|
|
58
58
|
})(Accessibilities || (exports.Accessibilities = Accessibilities = {}));
|
|
59
59
|
var Crowds;
|
|
60
60
|
(function (Crowds) {
|
|
61
|
-
Crowds[
|
|
62
|
-
Crowds[
|
|
63
|
-
Crowds[
|
|
64
|
-
Crowds[
|
|
61
|
+
Crowds["Undefined"] = "undefined";
|
|
62
|
+
Crowds["Alone"] = "alone";
|
|
63
|
+
Crowds["Groups"] = "groups";
|
|
64
|
+
Crowds["Foreign"] = "foreign";
|
|
65
|
+
Crowds["Young"] = "young";
|
|
65
66
|
})(Crowds || (exports.Crowds = Crowds = {}));
|
|
66
67
|
var EntryTypes;
|
|
67
68
|
(function (EntryTypes) {
|
|
68
|
-
EntryTypes[
|
|
69
|
-
EntryTypes[
|
|
70
|
-
EntryTypes[
|
|
69
|
+
EntryTypes["Undefined"] = "undefined";
|
|
70
|
+
EntryTypes["Free"] = "free";
|
|
71
|
+
EntryTypes["Paid"] = "paid";
|
|
71
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 = {}));
|
|
72
85
|
var DaysOfWeek;
|
|
73
86
|
(function (DaysOfWeek) {
|
|
74
87
|
DaysOfWeek[DaysOfWeek["Sunday"] = 0] = "Sunday";
|