wenum 1.60.0 → 1.62.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/dist/index.d.mts CHANGED
@@ -1,40 +1,16 @@
1
- declare enum PageType {
2
- None = 0,
3
- Profile = 1,
4
- Post = 2,
5
- Loi = 3,
6
- Location = 4
7
- }
1
+ type PageType = "none" | "profile" | "post" | "loi" | "location";
8
2
 
9
3
  type ProfileType = "none" | "user" | "uoi" | "market" | "arena" | "collection" | "event" | "team" | "leaderboard" | "game";
10
- declare enum ProfilePrivacy {
11
- Public = 0,
12
- Private = 1,
13
- Internal = 2
14
- }
15
- declare enum ProfilePermission {
16
- None = 0,
17
- Admin = 1,
18
- Member = 2,
19
- Follower = 3,
20
- Blocked = 4
21
- }
22
- declare enum ProfileStatus {
23
- None = 0,
24
- Active = 1,
25
- Inactive = 2
26
- }
4
+ type ProfilePrivacy = "public" | "private" | "internal";
5
+ type ProfilePermission = "none" | "admin" | "connected" | "following" | "blocked";
6
+ type ProfileStatus = "none" | "active" | "inactive";
27
7
  declare enum ChallengeStatus {
28
8
  None = 0,
29
9
  Open = 1,
30
10
  Closed = 2
31
11
  }
32
12
 
33
- declare enum MarketMetaStatus {
34
- None = 0,
35
- Active = 1,
36
- Inactive = 2
37
- }
13
+ type MarketMetaStatus = "none" | "active" | "inactive";
38
14
 
39
15
  type MarketTypeCat = '0_catsitting' | '1_grooming' | '2_dating';
40
16
 
@@ -48,11 +24,7 @@ type MarketTypeSports = MarketTypeTennis;
48
24
 
49
25
  type MarketType = MarketTypePets | MarketTypeSports;
50
26
 
51
- declare enum CollectionMetaStatus {
52
- None = 0,
53
- Active = 1,
54
- Inactive = 2
55
- }
27
+ type CollectionMetaStatus = "inactive" | "active" | "none";
56
28
 
57
29
  type CollectionTypeOther = 'zzzother';
58
30
 
@@ -68,11 +40,7 @@ type CollectionTypeSports = CollectionTypeTennis;
68
40
 
69
41
  type CollectionType = CollectionTypePets | CollectionTypeSports;
70
42
 
71
- declare enum UserPronoun {
72
- None = 0,
73
- He = 1,
74
- She = 2
75
- }
43
+ type UserPronoun = "none" | "he" | "she";
76
44
 
77
45
  declare enum AttendanceStatus {
78
46
  None = 0,
@@ -83,11 +51,7 @@ declare enum AttendanceStatus {
83
51
  Left = 5
84
52
  }
85
53
 
86
- declare enum DuelGameResultType {
87
- Loss = -1,
88
- Tie = 0,
89
- Win = 1
90
- }
54
+ type DuelGameResultType = "loss" | "tie" | "win";
91
55
 
92
56
  type GameTypeOther = 'other';
93
57
 
@@ -103,13 +67,7 @@ type GameTypeSports = GameTypeBasketball | GameTypeRunning | GameTypeTennis | Ga
103
67
 
104
68
  type GameType = GameTypeSports;
105
69
 
106
- declare enum LeaderboardType {
107
- Score = 0,
108
- Duel = 1,
109
- Time = 2,
110
- Distance = 3,
111
- Weight = 4
112
- }
70
+ type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
113
71
 
114
72
  declare enum AvatarType {
115
73
  None = 0,
@@ -118,32 +76,14 @@ declare enum AvatarType {
118
76
  LargeCrop = 3
119
77
  }
120
78
 
121
- declare enum ProfileJoiningType {
122
- GameToLeaderboard = 0,
123
- PlayerToGame = 1,
124
- MemberToCircle = 2
125
- }
79
+ type ProfileJoiningType = "gameToLeaderboard" | "playerToGame" | "memberToCircle";
126
80
 
127
81
  type PlayerType = 'uoi' | 'team' | 'collection';
128
82
 
129
- declare enum PostType {
130
- None = 0,
131
- Text = 1,
132
- Image = 2,
133
- Poll = 3
134
- }
135
- declare enum PostPrivacy {
136
- Public = 0,
137
- Private = 1,
138
- Internal = 2
139
- }
83
+ type PostType = "none" | "textPost" | "imagePost" | "pollPost";
84
+ type PostPrivacy = "public" | "private" | "parent" | "internal";
140
85
 
141
- declare enum LocationType {
142
- None = 0,
143
- Point = 1,
144
- Street = 2,
145
- City = 3
146
- }
86
+ type LocationType = "none" | "point" | "street" | "city";
147
87
 
148
88
  type PIDPrefixType = 'usr' | 'uoi' | 'tms' | 'arn' | 'evt' | 'col' | 'lbd' | 'gme' | 'mkt' | 'lcp' | 'lcs' | 'lcc' | 'lip' | 'lis' | 'lic' | 'tpo' | '';
149
89
  declare const PID_LENGTH = 9;
@@ -164,31 +104,8 @@ declare enum AdminAccountStatus {
164
104
  Inactive = 2
165
105
  }
166
106
 
167
- declare enum BuddyingStatus {
168
- None = 0,
169
- PendingSent = 1,
170
- PendingReceived = 2,
171
- Accepted = 3,
172
- Ignored = 4,
173
- Withdrawn = 5,
174
- RemovedByRequester = 6,
175
- RemovedByRequestee = 7
176
- }
177
- declare const getBuddyingStatusName: (status: BuddyingStatus) => "Pending Sent" | "Pending Received" | "Accepted" | "Ignored" | "Withdrawn" | "Removed By Requester" | "Removed By Requestee" | "None";
178
- declare enum MemberingStatus {
179
- None = 0,
180
- Admined = 1,
181
- Membered = 2,
182
- PendingApply = 3,
183
- IgnoredApply = 4,
184
- WithdrawnApply = 5,
185
- MemberLeft = 6,
186
- PendingInvite = 7,
187
- IgnoredInvite = 8,
188
- WithdrawnInvite = 9,
189
- MemberRemoved = 10
190
- }
191
- declare const getMemberingStatusName: (status: MemberingStatus) => "None" | "Admined" | "Membered" | "Pending Apply" | "Ignored Apply" | "Withdrawn Apply" | "Member Left" | "Pending Invite" | "Ignored Invite" | "Withdrawn Invite" | "Member Removed";
107
+ type BuddyingStatus = "removedByRequestee" | "removedByRequester" | "withdrawn" | "ignored" | "accepted" | "pendingReceived" | "pendingSent" | "none";
108
+ type MemberingStatus = "none" | "admined" | "membered" | "pendingApply" | "ignoredApply" | "withdrawnApply" | "memberLeft" | "pendingInvite" | "ignoredInvite" | "withdrawnInvite" | "memberRemoved";
192
109
  declare enum FollowingStatus {
193
110
  None = 0,
194
111
  Pending = 1,
@@ -198,35 +115,11 @@ declare enum FollowingStatus {
198
115
  Unfollowed = 5
199
116
  }
200
117
 
201
- declare enum Handedness {
202
- None = 0,
203
- Left = 1,
204
- Right = 2
205
- }
206
- declare enum Gender {
207
- None = 0,
208
- Male = 1,
209
- Female = 2
210
- }
118
+ type Handedness = "right" | "left" | "none";
119
+ type Gender = "female" | "male" | "none";
211
120
 
212
- declare enum TennisBackhand {
213
- None = 0,
214
- Single = 1,
215
- Double = 2,
216
- Both = 3
217
- }
218
- declare enum TennisLevel {
219
- None = 0,
220
- TwoBelow = 1,
221
- TwoFive = 2,
222
- Three = 3,
223
- ThreeFive = 4,
224
- Four = 5,
225
- FourFive = 6,
226
- Five = 7,
227
- FiveFive = 8,
228
- SixAbove = 9
229
- }
121
+ type TennisBackhand = "none" | "single" | "double" | "both";
122
+ type TennisLevel = "none" | "twoBelow" | "twoFive" | "three" | "threeFive" | "four" | "fourFive" | "five" | "fiveFive" | "sixAbove";
230
123
 
231
124
  declare enum BasketballPosition {
232
125
  None = 0,
@@ -237,13 +130,7 @@ declare enum BasketballPosition {
237
130
  PF = 16
238
131
  }
239
132
 
240
- declare enum SubjectType {
241
- None = 0,
242
- Post = 1,
243
- Rating = 2,
244
- Comment = 3,
245
- Reply = 4
246
- }
133
+ type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
247
134
 
248
135
  type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | 'boardgames' | 'music' | 'travel' | 'dancing' | 'language' | 'food' | 'drinks' | 'photography' | '';
249
136
 
@@ -257,34 +144,12 @@ type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hik
257
144
 
258
145
  type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
259
146
 
260
- type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
147
+ type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
261
148
  type WeightUnit = "kg" | "g" | "lb" | "oz";
262
149
 
263
- declare enum SocialMediaType {
264
- None = 0,
265
- Facebook = 1,
266
- LinkedIn = 2,
267
- Instagram = 3
268
- }
150
+ type SocialMediaType = "none" | "facebook" | "linkedIn" | "instagram";
269
151
 
270
- declare enum NotificationType {
271
- AddBuddy = 0,
272
- AcceptBuddy = 1,
273
- UoiJoinCircle = 2,
274
- AcceptUoiJoinCircle = 3,
275
- InviteUoiToCircle = 4,
276
- AcceptInviteUoiToCircle = 5,
277
- TeamJoinCircle = 6,
278
- AcceptTeamJoinCircle = 7,
279
- InviteTeamToCircle = 8,
280
- AcceptInviteTeamToCircle = 9,
281
- AddGameToLeaderboard = 10,
282
- AcceptAddGameToLeaderboard = 11,
283
- InviteGameToLeaderboard = 12,
284
- AcceptInviteGameToLeaderboard = 13,
285
- CreatePost = 14
286
- }
287
- declare const getNotificationTypeName: (type: NotificationType) => "AddBuddy" | "AcceptBuddy" | "UoiJoinCircle" | "AcceptUoiJoinCircle" | "InviteUoiToCircle" | "AcceptInviteUoiToCircle" | "TeamJoinCircle" | "AcceptTeamJoinCircle" | "InviteTeamToCircle" | "AcceptInviteTeamToCircle" | "AddGameToLeaderboard" | "AcceptAddGameToLeaderboard" | "InviteGameToLeaderboard" | "AcceptInviteGameToLeaderboard" | "CreatePost" | "Unknown";
152
+ type NotificationType = "addBuddy" | "acceptBuddy" | "uoiJoinCircle" | "acceptUoiJoinCircle" | "inviteUoiToCircle" | "acceptInviteUoiToCircle" | "teamJoinCircle" | "acceptTeamJoinCircle" | "inviteTeamToCircle" | "acceptInviteTeamToCircle" | "addGameToLeaderboard" | "acceptAddGameToLeaderboard" | "inviteGameToLeaderboard" | "acceptInviteGameToLeaderboard" | "createPost";
288
153
 
289
154
  type AttributeTypeCommon = 'handedness' | 'gender' | 'dob';
290
155
 
@@ -325,4 +190,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
325
190
  attributeType: AttributeType;
326
191
  }) => any;
327
192
 
328
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, type ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
193
+ export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionMetaStatus, type CollectionType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, type UserPronoun, type WeightUnit, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
package/dist/index.d.ts CHANGED
@@ -1,40 +1,16 @@
1
- declare enum PageType {
2
- None = 0,
3
- Profile = 1,
4
- Post = 2,
5
- Loi = 3,
6
- Location = 4
7
- }
1
+ type PageType = "none" | "profile" | "post" | "loi" | "location";
8
2
 
9
3
  type ProfileType = "none" | "user" | "uoi" | "market" | "arena" | "collection" | "event" | "team" | "leaderboard" | "game";
10
- declare enum ProfilePrivacy {
11
- Public = 0,
12
- Private = 1,
13
- Internal = 2
14
- }
15
- declare enum ProfilePermission {
16
- None = 0,
17
- Admin = 1,
18
- Member = 2,
19
- Follower = 3,
20
- Blocked = 4
21
- }
22
- declare enum ProfileStatus {
23
- None = 0,
24
- Active = 1,
25
- Inactive = 2
26
- }
4
+ type ProfilePrivacy = "public" | "private" | "internal";
5
+ type ProfilePermission = "none" | "admin" | "connected" | "following" | "blocked";
6
+ type ProfileStatus = "none" | "active" | "inactive";
27
7
  declare enum ChallengeStatus {
28
8
  None = 0,
29
9
  Open = 1,
30
10
  Closed = 2
31
11
  }
32
12
 
33
- declare enum MarketMetaStatus {
34
- None = 0,
35
- Active = 1,
36
- Inactive = 2
37
- }
13
+ type MarketMetaStatus = "none" | "active" | "inactive";
38
14
 
39
15
  type MarketTypeCat = '0_catsitting' | '1_grooming' | '2_dating';
40
16
 
@@ -48,11 +24,7 @@ type MarketTypeSports = MarketTypeTennis;
48
24
 
49
25
  type MarketType = MarketTypePets | MarketTypeSports;
50
26
 
51
- declare enum CollectionMetaStatus {
52
- None = 0,
53
- Active = 1,
54
- Inactive = 2
55
- }
27
+ type CollectionMetaStatus = "inactive" | "active" | "none";
56
28
 
57
29
  type CollectionTypeOther = 'zzzother';
58
30
 
@@ -68,11 +40,7 @@ type CollectionTypeSports = CollectionTypeTennis;
68
40
 
69
41
  type CollectionType = CollectionTypePets | CollectionTypeSports;
70
42
 
71
- declare enum UserPronoun {
72
- None = 0,
73
- He = 1,
74
- She = 2
75
- }
43
+ type UserPronoun = "none" | "he" | "she";
76
44
 
77
45
  declare enum AttendanceStatus {
78
46
  None = 0,
@@ -83,11 +51,7 @@ declare enum AttendanceStatus {
83
51
  Left = 5
84
52
  }
85
53
 
86
- declare enum DuelGameResultType {
87
- Loss = -1,
88
- Tie = 0,
89
- Win = 1
90
- }
54
+ type DuelGameResultType = "loss" | "tie" | "win";
91
55
 
92
56
  type GameTypeOther = 'other';
93
57
 
@@ -103,13 +67,7 @@ type GameTypeSports = GameTypeBasketball | GameTypeRunning | GameTypeTennis | Ga
103
67
 
104
68
  type GameType = GameTypeSports;
105
69
 
106
- declare enum LeaderboardType {
107
- Score = 0,
108
- Duel = 1,
109
- Time = 2,
110
- Distance = 3,
111
- Weight = 4
112
- }
70
+ type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
113
71
 
114
72
  declare enum AvatarType {
115
73
  None = 0,
@@ -118,32 +76,14 @@ declare enum AvatarType {
118
76
  LargeCrop = 3
119
77
  }
120
78
 
121
- declare enum ProfileJoiningType {
122
- GameToLeaderboard = 0,
123
- PlayerToGame = 1,
124
- MemberToCircle = 2
125
- }
79
+ type ProfileJoiningType = "gameToLeaderboard" | "playerToGame" | "memberToCircle";
126
80
 
127
81
  type PlayerType = 'uoi' | 'team' | 'collection';
128
82
 
129
- declare enum PostType {
130
- None = 0,
131
- Text = 1,
132
- Image = 2,
133
- Poll = 3
134
- }
135
- declare enum PostPrivacy {
136
- Public = 0,
137
- Private = 1,
138
- Internal = 2
139
- }
83
+ type PostType = "none" | "textPost" | "imagePost" | "pollPost";
84
+ type PostPrivacy = "public" | "private" | "parent" | "internal";
140
85
 
141
- declare enum LocationType {
142
- None = 0,
143
- Point = 1,
144
- Street = 2,
145
- City = 3
146
- }
86
+ type LocationType = "none" | "point" | "street" | "city";
147
87
 
148
88
  type PIDPrefixType = 'usr' | 'uoi' | 'tms' | 'arn' | 'evt' | 'col' | 'lbd' | 'gme' | 'mkt' | 'lcp' | 'lcs' | 'lcc' | 'lip' | 'lis' | 'lic' | 'tpo' | '';
149
89
  declare const PID_LENGTH = 9;
@@ -164,31 +104,8 @@ declare enum AdminAccountStatus {
164
104
  Inactive = 2
165
105
  }
166
106
 
167
- declare enum BuddyingStatus {
168
- None = 0,
169
- PendingSent = 1,
170
- PendingReceived = 2,
171
- Accepted = 3,
172
- Ignored = 4,
173
- Withdrawn = 5,
174
- RemovedByRequester = 6,
175
- RemovedByRequestee = 7
176
- }
177
- declare const getBuddyingStatusName: (status: BuddyingStatus) => "Pending Sent" | "Pending Received" | "Accepted" | "Ignored" | "Withdrawn" | "Removed By Requester" | "Removed By Requestee" | "None";
178
- declare enum MemberingStatus {
179
- None = 0,
180
- Admined = 1,
181
- Membered = 2,
182
- PendingApply = 3,
183
- IgnoredApply = 4,
184
- WithdrawnApply = 5,
185
- MemberLeft = 6,
186
- PendingInvite = 7,
187
- IgnoredInvite = 8,
188
- WithdrawnInvite = 9,
189
- MemberRemoved = 10
190
- }
191
- declare const getMemberingStatusName: (status: MemberingStatus) => "None" | "Admined" | "Membered" | "Pending Apply" | "Ignored Apply" | "Withdrawn Apply" | "Member Left" | "Pending Invite" | "Ignored Invite" | "Withdrawn Invite" | "Member Removed";
107
+ type BuddyingStatus = "removedByRequestee" | "removedByRequester" | "withdrawn" | "ignored" | "accepted" | "pendingReceived" | "pendingSent" | "none";
108
+ type MemberingStatus = "none" | "admined" | "membered" | "pendingApply" | "ignoredApply" | "withdrawnApply" | "memberLeft" | "pendingInvite" | "ignoredInvite" | "withdrawnInvite" | "memberRemoved";
192
109
  declare enum FollowingStatus {
193
110
  None = 0,
194
111
  Pending = 1,
@@ -198,35 +115,11 @@ declare enum FollowingStatus {
198
115
  Unfollowed = 5
199
116
  }
200
117
 
201
- declare enum Handedness {
202
- None = 0,
203
- Left = 1,
204
- Right = 2
205
- }
206
- declare enum Gender {
207
- None = 0,
208
- Male = 1,
209
- Female = 2
210
- }
118
+ type Handedness = "right" | "left" | "none";
119
+ type Gender = "female" | "male" | "none";
211
120
 
212
- declare enum TennisBackhand {
213
- None = 0,
214
- Single = 1,
215
- Double = 2,
216
- Both = 3
217
- }
218
- declare enum TennisLevel {
219
- None = 0,
220
- TwoBelow = 1,
221
- TwoFive = 2,
222
- Three = 3,
223
- ThreeFive = 4,
224
- Four = 5,
225
- FourFive = 6,
226
- Five = 7,
227
- FiveFive = 8,
228
- SixAbove = 9
229
- }
121
+ type TennisBackhand = "none" | "single" | "double" | "both";
122
+ type TennisLevel = "none" | "twoBelow" | "twoFive" | "three" | "threeFive" | "four" | "fourFive" | "five" | "fiveFive" | "sixAbove";
230
123
 
231
124
  declare enum BasketballPosition {
232
125
  None = 0,
@@ -237,13 +130,7 @@ declare enum BasketballPosition {
237
130
  PF = 16
238
131
  }
239
132
 
240
- declare enum SubjectType {
241
- None = 0,
242
- Post = 1,
243
- Rating = 2,
244
- Comment = 3,
245
- Reply = 4
246
- }
133
+ type SubjectType = "none" | "post" | "rating" | "comment" | "reply";
247
134
 
248
135
  type CategoryType = '1_sports' | '2_pets' | '3_cardgames' | 'boardgames' | 'music' | 'travel' | 'dancing' | 'language' | 'food' | 'drinks' | 'photography' | '';
249
136
 
@@ -257,34 +144,12 @@ type SportsInterestType = 'tennis' | 'pickleball' | 'basketball' | 'golf' | 'hik
257
144
 
258
145
  type InterestType = SportsInterestType | PetsInterestType | MusicInterestType | CardGamesInterestType | '';
259
146
 
260
- type LengthUnit = "m" | "cm" | "km" | "ft" | "in" | "mi" | "yd";
147
+ type LengthUnit = "cm" | "m" | "inch" | "foot" | "km" | "mi" | "yd";
261
148
  type WeightUnit = "kg" | "g" | "lb" | "oz";
262
149
 
263
- declare enum SocialMediaType {
264
- None = 0,
265
- Facebook = 1,
266
- LinkedIn = 2,
267
- Instagram = 3
268
- }
150
+ type SocialMediaType = "none" | "facebook" | "linkedIn" | "instagram";
269
151
 
270
- declare enum NotificationType {
271
- AddBuddy = 0,
272
- AcceptBuddy = 1,
273
- UoiJoinCircle = 2,
274
- AcceptUoiJoinCircle = 3,
275
- InviteUoiToCircle = 4,
276
- AcceptInviteUoiToCircle = 5,
277
- TeamJoinCircle = 6,
278
- AcceptTeamJoinCircle = 7,
279
- InviteTeamToCircle = 8,
280
- AcceptInviteTeamToCircle = 9,
281
- AddGameToLeaderboard = 10,
282
- AcceptAddGameToLeaderboard = 11,
283
- InviteGameToLeaderboard = 12,
284
- AcceptInviteGameToLeaderboard = 13,
285
- CreatePost = 14
286
- }
287
- declare const getNotificationTypeName: (type: NotificationType) => "AddBuddy" | "AcceptBuddy" | "UoiJoinCircle" | "AcceptUoiJoinCircle" | "InviteUoiToCircle" | "AcceptInviteUoiToCircle" | "TeamJoinCircle" | "AcceptTeamJoinCircle" | "InviteTeamToCircle" | "AcceptInviteTeamToCircle" | "AddGameToLeaderboard" | "AcceptAddGameToLeaderboard" | "InviteGameToLeaderboard" | "AcceptInviteGameToLeaderboard" | "CreatePost" | "Unknown";
152
+ type NotificationType = "addBuddy" | "acceptBuddy" | "uoiJoinCircle" | "acceptUoiJoinCircle" | "inviteUoiToCircle" | "acceptInviteUoiToCircle" | "teamJoinCircle" | "acceptTeamJoinCircle" | "inviteTeamToCircle" | "acceptInviteTeamToCircle" | "addGameToLeaderboard" | "acceptAddGameToLeaderboard" | "inviteGameToLeaderboard" | "acceptInviteGameToLeaderboard" | "createPost";
288
153
 
289
154
  type AttributeTypeCommon = 'handedness' | 'gender' | 'dob';
290
155
 
@@ -325,4 +190,4 @@ declare const getProfileAttributeLabel: ({ profileType, categoryType, interestTy
325
190
  attributeType: AttributeType;
326
191
  }) => any;
327
192
 
328
- export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, CollectionMetaStatus, type CollectionType, DuelGameResultType, FollowingStatus, type GameType, Gender, Handedness, type InterestType, LeaderboardType, type LengthUnit, LocationType, MarketMetaStatus, type MarketType, MemberingStatus, type MusicInterestType, NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, PageType, type PetsInterestType, type PlayerType, PostPrivacy, PostType, ProfileJoiningType, ProfilePermission, ProfilePrivacy, ProfileStatus, type ProfileType, SocialMediaType, type SportsInterestType, SubjectType, TennisBackhand, TennisLevel, UserPronoun, type WeightUnit, getBuddyingStatusName, getMemberingStatusName, getNotificationTypeName, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };
193
+ export { ATTRIBUTE_LABEL, ATTRIBUTE_LABEL_COLLECTION, ATTRIBUTE_LABEL_COLLECTION_PETS, ATTRIBUTE_LABEL_COMMON, ATTRIBUTE_LABEL_UOI, ATTRIBUTE_LABEL_UOI_SPORTS, ATTRIBUTE_LABEL_UOI_SPORTS_BASKETBALL, ATTRIBUTE_LABEL_UOI_SPORTS_TENNIS, type AccountStatus, AdminAccountStatus, AttendanceStatus, type AttributeType, type AttributeTypeCollection, type AttributeTypeCollectionPets, type AttributeTypeCommon, type AttributeTypeUoi, type AttributeTypeUoiSports, type AttributeTypeUoiSportsBasketball, type AttributeTypeUoiSportsTennis, AvatarType, BasketballPosition, type BroadcastType, type BuddyingStatus, type CardGamesInterestType, type CategoryType, ChallengeStatus, type CollectionMetaStatus, type CollectionType, type DuelGameResultType, FollowingStatus, type GameType, type Gender, type Handedness, type InterestType, type LeaderboardType, type LengthUnit, type LocationType, type MarketMetaStatus, type MarketType, type MemberingStatus, type MusicInterestType, type NotificationType, type PIDPrefixType, PID_LENGTH, PID_PREFIX_LENGTH, type PageType, type PetsInterestType, type PlayerType, type PostPrivacy, type PostType, type ProfileJoiningType, type ProfilePermission, type ProfilePrivacy, type ProfileStatus, type ProfileType, type SocialMediaType, type SportsInterestType, type SubjectType, type TennisBackhand, type TennisLevel, type UserPronoun, type WeightUnit, getPIDPrefixByProfileType, getProfileAttributeLabel, getProfileTypeByPID, isGamePID, isLeaderboardPID, isTeamPID, isUoiPID };