@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 CHANGED
@@ -1,62 +1,73 @@
1
1
  import { IProvince } from './province';
2
2
  export declare enum PriceLevel {
3
- None = 0,
4
- Low = 1,
5
- Medium = 2,
6
- High = 3,
7
- Luxurious = 4
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 = 0,
11
- Beer = 1,
12
- Spirits = 2,
13
- Wine = 4,
14
- Food = 5,
15
- Dancing = 6
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 = 0,
19
- Toilet = 1,
20
- Wifi = 2,
21
- FreeWifi = 4
18
+ Undefined = "undefined",
19
+ Toilet = "toilet",
20
+ Wifi = "wifi",
21
+ FreeWifi = "free_wifi"
22
22
  }
23
23
  export declare enum Atmospheres {
24
- Undefined = 0,
25
- Casual = 1,
26
- Cozy = 2
24
+ Undefined = "undefined",
25
+ Casual = "casual",
26
+ Cozy = "cozy"
27
27
  }
28
28
  export declare enum TypeSongs {
29
- Undefined = 0,
30
- LiveBand = 1,
31
- DJ = 2,
32
- Thai = 3,
33
- Latino = 4,
34
- HipHop = 5,
35
- Jazz = 6,
36
- Electronic = 7
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 = 0,
40
- Free = 1,
41
- Paid = 2,
42
- Difficult = 3,
43
- Street = 4,
44
- BigBike = 5
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 = 0,
48
- WheelchairEntrance = 1
47
+ Undefined = "undefined",
48
+ WheelchairEntrance = "wheelchair_entrance"
49
49
  }
50
50
  export declare enum Crowds {
51
- Undefined = 0,
52
- Alone = 1,
53
- Groups = 2,
54
- Foreign = 3
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 = 0,
58
- Free = 1,
59
- Paid = 2
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[PriceLevel["None"] = 0] = "None";
7
- PriceLevel[PriceLevel["Low"] = 1] = "Low";
8
- PriceLevel[PriceLevel["Medium"] = 2] = "Medium";
9
- PriceLevel[PriceLevel["High"] = 3] = "High";
10
- PriceLevel[PriceLevel["Luxurious"] = 4] = "Luxurious";
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[Offerings["Undefined"] = 0] = "Undefined";
15
- Offerings[Offerings["Beer"] = 1] = "Beer";
16
- Offerings[Offerings["Spirits"] = 2] = "Spirits";
17
- Offerings[Offerings["Wine"] = 4] = "Wine";
18
- Offerings[Offerings["Food"] = 5] = "Food";
19
- Offerings[Offerings["Dancing"] = 6] = "Dancing";
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[Amenities["Undefined"] = 0] = "Undefined";
24
- Amenities[Amenities["Toilet"] = 1] = "Toilet";
25
- Amenities[Amenities["Wifi"] = 2] = "Wifi";
26
- Amenities[Amenities["FreeWifi"] = 4] = "FreeWifi";
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[Atmospheres["Undefined"] = 0] = "Undefined";
31
- Atmospheres[Atmospheres["Casual"] = 1] = "Casual";
32
- Atmospheres[Atmospheres["Cozy"] = 2] = "Cozy";
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[TypeSongs["Undefined"] = 0] = "Undefined";
37
- TypeSongs[TypeSongs["LiveBand"] = 1] = "LiveBand";
38
- TypeSongs[TypeSongs["DJ"] = 2] = "DJ";
39
- TypeSongs[TypeSongs["Thai"] = 3] = "Thai";
40
- TypeSongs[TypeSongs["Latino"] = 4] = "Latino";
41
- TypeSongs[TypeSongs["HipHop"] = 5] = "HipHop";
42
- TypeSongs[TypeSongs["Jazz"] = 6] = "Jazz";
43
- TypeSongs[TypeSongs["Electronic"] = 7] = "Electronic";
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[ParkingLots["Undefined"] = 0] = "Undefined";
48
- ParkingLots[ParkingLots["Free"] = 1] = "Free";
49
- ParkingLots[ParkingLots["Paid"] = 2] = "Paid";
50
- ParkingLots[ParkingLots["Difficult"] = 3] = "Difficult";
51
- ParkingLots[ParkingLots["Street"] = 4] = "Street";
52
- ParkingLots[ParkingLots["BigBike"] = 5] = "BigBike";
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[Accessibilities["Undefined"] = 0] = "Undefined";
57
- Accessibilities[Accessibilities["WheelchairEntrance"] = 1] = "WheelchairEntrance";
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[Crowds["Undefined"] = 0] = "Undefined";
62
- Crowds[Crowds["Alone"] = 1] = "Alone";
63
- Crowds[Crowds["Groups"] = 2] = "Groups";
64
- Crowds[Crowds["Foreign"] = 3] = "Foreign";
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[EntryTypes["Undefined"] = 0] = "Undefined";
69
- EntryTypes[EntryTypes["Free"] = 1] = "Free";
70
- EntryTypes[EntryTypes["Paid"] = 2] = "Paid";
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soigo-dev/types-soigo-app",
3
- "version": "3.0.10",
3
+ "version": "3.0.12",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",