wenum 1.0.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.js ADDED
@@ -0,0 +1,318 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ AccountStatus: () => AccountStatus,
24
+ AttendanceStatus: () => AttendanceStatus,
25
+ BasketballPosition: () => BasketballPosition,
26
+ CollectionType: () => CollectionType,
27
+ ConnectionType: () => ConnectionType,
28
+ FollowingStatus: () => FollowingStatus,
29
+ Handedness: () => Handedness,
30
+ LocationType: () => LocationType,
31
+ MarketType: () => MarketType,
32
+ MemberingStatus: () => MemberingStatus,
33
+ PageType: () => PageType,
34
+ PageUpdateType: () => PageUpdateType,
35
+ PartneringStatus: () => PartneringStatus,
36
+ PetGender: () => PetGender,
37
+ PostPrivacy: () => PostPrivacy,
38
+ PostType: () => PostType,
39
+ ProfileImageType: () => ProfileImageType,
40
+ ProfilePermission: () => ProfilePermission,
41
+ ProfilePrivacy: () => ProfilePrivacy,
42
+ ProfileStatus: () => ProfileStatus,
43
+ ProfileType: () => ProfileType,
44
+ Pronoun: () => Pronoun,
45
+ TennisBackhand: () => TennisBackhand,
46
+ TennisLevel: () => TennisLevel
47
+ });
48
+ module.exports = __toCommonJS(index_exports);
49
+
50
+ // src/page.ts
51
+ var PageType = /* @__PURE__ */ ((PageType2) => {
52
+ PageType2[PageType2["None"] = 0] = "None";
53
+ PageType2[PageType2["Profile"] = 1] = "Profile";
54
+ PageType2[PageType2["Post"] = 2] = "Post";
55
+ PageType2[PageType2["Loi"] = 3] = "Loi";
56
+ return PageType2;
57
+ })(PageType || {});
58
+
59
+ // src/post.ts
60
+ var PostType = /* @__PURE__ */ ((PostType2) => {
61
+ PostType2[PostType2["None"] = 0] = "None";
62
+ PostType2[PostType2["Text"] = 1] = "Text";
63
+ PostType2[PostType2["Image"] = 2] = "Image";
64
+ PostType2[PostType2["Poll"] = 3] = "Poll";
65
+ return PostType2;
66
+ })(PostType || {});
67
+ var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
68
+ PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
69
+ PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
70
+ PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
71
+ PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
72
+ return PostPrivacy2;
73
+ })(PostPrivacy || {});
74
+
75
+ // src/profile.ts
76
+ var ProfileType = /* @__PURE__ */ ((ProfileType2) => {
77
+ ProfileType2[ProfileType2["None"] = 0] = "None";
78
+ ProfileType2[ProfileType2["User"] = 1] = "User";
79
+ ProfileType2[ProfileType2["Uoi"] = 2] = "Uoi";
80
+ ProfileType2[ProfileType2["Market"] = 3] = "Market";
81
+ ProfileType2[ProfileType2["Arena"] = 4] = "Arena";
82
+ ProfileType2[ProfileType2["Collection"] = 5] = "Collection";
83
+ ProfileType2[ProfileType2["Event"] = 6] = "Event";
84
+ ProfileType2[ProfileType2["Team"] = 7] = "Team";
85
+ return ProfileType2;
86
+ })(ProfileType || {});
87
+ var ProfilePrivacy = /* @__PURE__ */ ((ProfilePrivacy2) => {
88
+ ProfilePrivacy2[ProfilePrivacy2["Public"] = 0] = "Public";
89
+ ProfilePrivacy2[ProfilePrivacy2["Private"] = 1] = "Private";
90
+ ProfilePrivacy2[ProfilePrivacy2["Internal"] = 2] = "Internal";
91
+ return ProfilePrivacy2;
92
+ })(ProfilePrivacy || {});
93
+ var ProfilePermission = /* @__PURE__ */ ((ProfilePermission2) => {
94
+ ProfilePermission2[ProfilePermission2["None"] = 0] = "None";
95
+ ProfilePermission2[ProfilePermission2["Admin"] = 1] = "Admin";
96
+ ProfilePermission2[ProfilePermission2["Member"] = 2] = "Member";
97
+ ProfilePermission2[ProfilePermission2["Follower"] = 3] = "Follower";
98
+ ProfilePermission2[ProfilePermission2["Blocked"] = 4] = "Blocked";
99
+ return ProfilePermission2;
100
+ })(ProfilePermission || {});
101
+ var ProfileStatus = /* @__PURE__ */ ((ProfileStatus2) => {
102
+ ProfileStatus2[ProfileStatus2["None"] = 0] = "None";
103
+ ProfileStatus2[ProfileStatus2["Active"] = 1] = "Active";
104
+ ProfileStatus2[ProfileStatus2["Inactive"] = 2] = "Inactive";
105
+ return ProfileStatus2;
106
+ })(ProfileStatus || {});
107
+ var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
108
+ ProfileImageType2[ProfileImageType2["Avatar"] = 0] = "Avatar";
109
+ ProfileImageType2[ProfileImageType2["Bg"] = 1] = "Bg";
110
+ return ProfileImageType2;
111
+ })(ProfileImageType || {});
112
+
113
+ // src/location.ts
114
+ var LocationType = /* @__PURE__ */ ((LocationType2) => {
115
+ LocationType2[LocationType2["None"] = 0] = "None";
116
+ LocationType2[LocationType2["Point"] = 1] = "Point";
117
+ LocationType2[LocationType2["Street"] = 2] = "Street";
118
+ LocationType2[LocationType2["City"] = 3] = "City";
119
+ return LocationType2;
120
+ })(LocationType || {});
121
+
122
+ // src/market.ts
123
+ var MarketType = /* @__PURE__ */ ((MarketType2) => {
124
+ MarketType2[MarketType2["Zero"] = 0] = "Zero";
125
+ MarketType2[MarketType2["One"] = 1] = "One";
126
+ MarketType2[MarketType2["Two"] = 2] = "Two";
127
+ MarketType2[MarketType2["Three"] = 3] = "Three";
128
+ MarketType2[MarketType2["Four"] = 4] = "Four";
129
+ MarketType2[MarketType2["Five"] = 5] = "Five";
130
+ MarketType2[MarketType2["Six"] = 6] = "Six";
131
+ MarketType2[MarketType2["Seven"] = 7] = "Seven";
132
+ MarketType2[MarketType2["Eight"] = 8] = "Eight";
133
+ MarketType2[MarketType2["Nine"] = 9] = "Nine";
134
+ MarketType2[MarketType2["Ten"] = 10] = "Ten";
135
+ MarketType2[MarketType2["Eleven"] = 11] = "Eleven";
136
+ MarketType2[MarketType2["Twelve"] = 12] = "Twelve";
137
+ MarketType2[MarketType2["Thirteen"] = 13] = "Thirteen";
138
+ MarketType2[MarketType2["SixtyNine"] = 69] = "SixtyNine";
139
+ MarketType2[MarketType2["Shop"] = 91] = "Shop";
140
+ MarketType2[MarketType2["Display"] = 92] = "Display";
141
+ MarketType2[MarketType2["Repair"] = 93] = "Repair";
142
+ MarketType2[MarketType2["Rental"] = 94] = "Rental";
143
+ MarketType2[MarketType2["Exchange"] = 95] = "Exchange";
144
+ MarketType2[MarketType2["Giveaway"] = 96] = "Giveaway";
145
+ MarketType2[MarketType2["Lost"] = 97] = "Lost";
146
+ MarketType2[MarketType2["Found"] = 98] = "Found";
147
+ MarketType2[MarketType2["Other"] = 99] = "Other";
148
+ return MarketType2;
149
+ })(MarketType || {});
150
+
151
+ // src/collection.ts
152
+ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
153
+ CollectionType2[CollectionType2["Zero"] = 0] = "Zero";
154
+ CollectionType2[CollectionType2["One"] = 1] = "One";
155
+ CollectionType2[CollectionType2["Two"] = 2] = "Two";
156
+ CollectionType2[CollectionType2["Three"] = 3] = "Three";
157
+ CollectionType2[CollectionType2["Four"] = 4] = "Four";
158
+ CollectionType2[CollectionType2["Five"] = 5] = "Five";
159
+ CollectionType2[CollectionType2["Six"] = 6] = "Six";
160
+ CollectionType2[CollectionType2["Seven"] = 7] = "Seven";
161
+ CollectionType2[CollectionType2["Eight"] = 8] = "Eight";
162
+ CollectionType2[CollectionType2["Nine"] = 9] = "Nine";
163
+ CollectionType2[CollectionType2["Ten"] = 10] = "Ten";
164
+ return CollectionType2;
165
+ })(CollectionType || {});
166
+
167
+ // src/user.ts
168
+ var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
169
+ Pronoun2[Pronoun2["None"] = 0] = "None";
170
+ Pronoun2[Pronoun2["He"] = 1] = "He";
171
+ Pronoun2[Pronoun2["She"] = 2] = "She";
172
+ return Pronoun2;
173
+ })(Pronoun || {});
174
+
175
+ // src/event.ts
176
+ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
177
+ AttendanceStatus2[AttendanceStatus2["None"] = 0] = "None";
178
+ AttendanceStatus2[AttendanceStatus2["Pending"] = 1] = "Pending";
179
+ AttendanceStatus2[AttendanceStatus2["OnTime"] = 2] = "OnTime";
180
+ AttendanceStatus2[AttendanceStatus2["Late"] = 3] = "Late";
181
+ AttendanceStatus2[AttendanceStatus2["CheckedIn"] = 4] = "CheckedIn";
182
+ AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
183
+ return AttendanceStatus2;
184
+ })(AttendanceStatus || {});
185
+
186
+ // src/auth.ts
187
+ var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
188
+ AccountStatus2[AccountStatus2["None"] = 0] = "None";
189
+ AccountStatus2[AccountStatus2["RegistrationNeedBasicInfo"] = 1] = "RegistrationNeedBasicInfo";
190
+ AccountStatus2[AccountStatus2["RegistrationNeedInterests"] = 2] = "RegistrationNeedInterests";
191
+ AccountStatus2[AccountStatus2["Active"] = 3] = "Active";
192
+ AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
193
+ return AccountStatus2;
194
+ })(AccountStatus || {});
195
+
196
+ // src/pet.ts
197
+ var PetGender = /* @__PURE__ */ ((PetGender2) => {
198
+ PetGender2[PetGender2["None"] = 0] = "None";
199
+ PetGender2[PetGender2["Male"] = 1] = "Male";
200
+ PetGender2[PetGender2["Female"] = 2] = "Female";
201
+ return PetGender2;
202
+ })(PetGender || {});
203
+
204
+ // src/connection.ts
205
+ var PartneringStatus = /* @__PURE__ */ ((PartneringStatus2) => {
206
+ PartneringStatus2[PartneringStatus2["None"] = 0] = "None";
207
+ PartneringStatus2[PartneringStatus2["PendingSent"] = 1] = "PendingSent";
208
+ PartneringStatus2[PartneringStatus2["PendingReceived"] = 2] = "PendingReceived";
209
+ PartneringStatus2[PartneringStatus2["Accepted"] = 3] = "Accepted";
210
+ PartneringStatus2[PartneringStatus2["Ignored"] = 4] = "Ignored";
211
+ PartneringStatus2[PartneringStatus2["Withdrawn"] = 5] = "Withdrawn";
212
+ PartneringStatus2[PartneringStatus2["RemovedByRequester"] = 6] = "RemovedByRequester";
213
+ PartneringStatus2[PartneringStatus2["RemovedByRequestee"] = 7] = "RemovedByRequestee";
214
+ return PartneringStatus2;
215
+ })(PartneringStatus || {});
216
+ var MemberingStatus = /* @__PURE__ */ ((MemberingStatus2) => {
217
+ MemberingStatus2[MemberingStatus2["None"] = 0] = "None";
218
+ MemberingStatus2[MemberingStatus2["Admined"] = 1] = "Admined";
219
+ MemberingStatus2[MemberingStatus2["Membered"] = 2] = "Membered";
220
+ MemberingStatus2[MemberingStatus2["PendingApply"] = 3] = "PendingApply";
221
+ MemberingStatus2[MemberingStatus2["IgnoredApply"] = 4] = "IgnoredApply";
222
+ MemberingStatus2[MemberingStatus2["WithdrawnApply"] = 5] = "WithdrawnApply";
223
+ MemberingStatus2[MemberingStatus2["MemberLeft"] = 6] = "MemberLeft";
224
+ MemberingStatus2[MemberingStatus2["PendingInvite"] = 7] = "PendingInvite";
225
+ MemberingStatus2[MemberingStatus2["IgnoredInvite"] = 8] = "IgnoredInvite";
226
+ MemberingStatus2[MemberingStatus2["WithdrawnInvite"] = 9] = "WithdrawnInvite";
227
+ MemberingStatus2[MemberingStatus2["MemberRemoved"] = 10] = "MemberRemoved";
228
+ return MemberingStatus2;
229
+ })(MemberingStatus || {});
230
+ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
231
+ FollowingStatus2[FollowingStatus2["None"] = 0] = "None";
232
+ FollowingStatus2[FollowingStatus2["Pending"] = 1] = "Pending";
233
+ FollowingStatus2[FollowingStatus2["Approved"] = 2] = "Approved";
234
+ FollowingStatus2[FollowingStatus2["Blocked"] = 3] = "Blocked";
235
+ FollowingStatus2[FollowingStatus2["Withdrawn"] = 4] = "Withdrawn";
236
+ FollowingStatus2[FollowingStatus2["Unfollowed"] = 5] = "Unfollowed";
237
+ return FollowingStatus2;
238
+ })(FollowingStatus || {});
239
+
240
+ // src/attribute/common.ts
241
+ var Handedness = /* @__PURE__ */ ((Handedness2) => {
242
+ Handedness2[Handedness2["None"] = 0] = "None";
243
+ Handedness2[Handedness2["Left"] = 1] = "Left";
244
+ Handedness2[Handedness2["Right"] = 2] = "Right";
245
+ return Handedness2;
246
+ })(Handedness || {});
247
+
248
+ // src/attribute/sports.ts
249
+ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
250
+ BasketballPosition2[BasketballPosition2["None"] = 0] = "None";
251
+ BasketballPosition2[BasketballPosition2["SG"] = 1] = "SG";
252
+ BasketballPosition2[BasketballPosition2["PG"] = 2] = "PG";
253
+ BasketballPosition2[BasketballPosition2["C"] = 4] = "C";
254
+ BasketballPosition2[BasketballPosition2["SF"] = 8] = "SF";
255
+ BasketballPosition2[BasketballPosition2["PF"] = 16] = "PF";
256
+ return BasketballPosition2;
257
+ })(BasketballPosition || {});
258
+ var TennisBackhand = /* @__PURE__ */ ((TennisBackhand2) => {
259
+ TennisBackhand2[TennisBackhand2["None"] = 0] = "None";
260
+ TennisBackhand2[TennisBackhand2["Single"] = 1] = "Single";
261
+ TennisBackhand2[TennisBackhand2["Double"] = 2] = "Double";
262
+ TennisBackhand2[TennisBackhand2["Both"] = 3] = "Both";
263
+ return TennisBackhand2;
264
+ })(TennisBackhand || {});
265
+ var TennisLevel = /* @__PURE__ */ ((TennisLevel2) => {
266
+ TennisLevel2[TennisLevel2["None"] = 0] = "None";
267
+ TennisLevel2[TennisLevel2["TwoBelow"] = 1] = "TwoBelow";
268
+ TennisLevel2[TennisLevel2["TwoFive"] = 2] = "TwoFive";
269
+ TennisLevel2[TennisLevel2["Three"] = 3] = "Three";
270
+ TennisLevel2[TennisLevel2["ThreeFive"] = 4] = "ThreeFive";
271
+ TennisLevel2[TennisLevel2["Four"] = 5] = "Four";
272
+ TennisLevel2[TennisLevel2["FourFive"] = 6] = "FourFive";
273
+ TennisLevel2[TennisLevel2["Five"] = 7] = "Five";
274
+ TennisLevel2[TennisLevel2["FiveFive"] = 8] = "FiveFive";
275
+ TennisLevel2[TennisLevel2["SixAbove"] = 9] = "SixAbove";
276
+ return TennisLevel2;
277
+ })(TennisLevel || {});
278
+
279
+ // src/pageUpdate.ts
280
+ var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
281
+ PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
282
+ PageUpdateType2[PageUpdateType2["CreatePost"] = 1] = "CreatePost";
283
+ PageUpdateType2[PageUpdateType2["CreateProfile"] = 2] = "CreateProfile";
284
+ return PageUpdateType2;
285
+ })(PageUpdateType || {});
286
+ var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
287
+ ConnectionType2[ConnectionType2["None"] = 0] = "None";
288
+ ConnectionType2[ConnectionType2["Connected"] = 1] = "Connected";
289
+ ConnectionType2[ConnectionType2["Following"] = 2] = "Following";
290
+ return ConnectionType2;
291
+ })(ConnectionType || {});
292
+ // Annotate the CommonJS export names for ESM import in node:
293
+ 0 && (module.exports = {
294
+ AccountStatus,
295
+ AttendanceStatus,
296
+ BasketballPosition,
297
+ CollectionType,
298
+ ConnectionType,
299
+ FollowingStatus,
300
+ Handedness,
301
+ LocationType,
302
+ MarketType,
303
+ MemberingStatus,
304
+ PageType,
305
+ PageUpdateType,
306
+ PartneringStatus,
307
+ PetGender,
308
+ PostPrivacy,
309
+ PostType,
310
+ ProfileImageType,
311
+ ProfilePermission,
312
+ ProfilePrivacy,
313
+ ProfileStatus,
314
+ ProfileType,
315
+ Pronoun,
316
+ TennisBackhand,
317
+ TennisLevel
318
+ });
package/dist/index.mjs ADDED
@@ -0,0 +1,268 @@
1
+ // src/page.ts
2
+ var PageType = /* @__PURE__ */ ((PageType2) => {
3
+ PageType2[PageType2["None"] = 0] = "None";
4
+ PageType2[PageType2["Profile"] = 1] = "Profile";
5
+ PageType2[PageType2["Post"] = 2] = "Post";
6
+ PageType2[PageType2["Loi"] = 3] = "Loi";
7
+ return PageType2;
8
+ })(PageType || {});
9
+
10
+ // src/post.ts
11
+ var PostType = /* @__PURE__ */ ((PostType2) => {
12
+ PostType2[PostType2["None"] = 0] = "None";
13
+ PostType2[PostType2["Text"] = 1] = "Text";
14
+ PostType2[PostType2["Image"] = 2] = "Image";
15
+ PostType2[PostType2["Poll"] = 3] = "Poll";
16
+ return PostType2;
17
+ })(PostType || {});
18
+ var PostPrivacy = /* @__PURE__ */ ((PostPrivacy2) => {
19
+ PostPrivacy2[PostPrivacy2["Public"] = 0] = "Public";
20
+ PostPrivacy2[PostPrivacy2["Private"] = 1] = "Private";
21
+ PostPrivacy2[PostPrivacy2["Parent"] = 2] = "Parent";
22
+ PostPrivacy2[PostPrivacy2["Internal"] = 3] = "Internal";
23
+ return PostPrivacy2;
24
+ })(PostPrivacy || {});
25
+
26
+ // src/profile.ts
27
+ var ProfileType = /* @__PURE__ */ ((ProfileType2) => {
28
+ ProfileType2[ProfileType2["None"] = 0] = "None";
29
+ ProfileType2[ProfileType2["User"] = 1] = "User";
30
+ ProfileType2[ProfileType2["Uoi"] = 2] = "Uoi";
31
+ ProfileType2[ProfileType2["Market"] = 3] = "Market";
32
+ ProfileType2[ProfileType2["Arena"] = 4] = "Arena";
33
+ ProfileType2[ProfileType2["Collection"] = 5] = "Collection";
34
+ ProfileType2[ProfileType2["Event"] = 6] = "Event";
35
+ ProfileType2[ProfileType2["Team"] = 7] = "Team";
36
+ return ProfileType2;
37
+ })(ProfileType || {});
38
+ var ProfilePrivacy = /* @__PURE__ */ ((ProfilePrivacy2) => {
39
+ ProfilePrivacy2[ProfilePrivacy2["Public"] = 0] = "Public";
40
+ ProfilePrivacy2[ProfilePrivacy2["Private"] = 1] = "Private";
41
+ ProfilePrivacy2[ProfilePrivacy2["Internal"] = 2] = "Internal";
42
+ return ProfilePrivacy2;
43
+ })(ProfilePrivacy || {});
44
+ var ProfilePermission = /* @__PURE__ */ ((ProfilePermission2) => {
45
+ ProfilePermission2[ProfilePermission2["None"] = 0] = "None";
46
+ ProfilePermission2[ProfilePermission2["Admin"] = 1] = "Admin";
47
+ ProfilePermission2[ProfilePermission2["Member"] = 2] = "Member";
48
+ ProfilePermission2[ProfilePermission2["Follower"] = 3] = "Follower";
49
+ ProfilePermission2[ProfilePermission2["Blocked"] = 4] = "Blocked";
50
+ return ProfilePermission2;
51
+ })(ProfilePermission || {});
52
+ var ProfileStatus = /* @__PURE__ */ ((ProfileStatus2) => {
53
+ ProfileStatus2[ProfileStatus2["None"] = 0] = "None";
54
+ ProfileStatus2[ProfileStatus2["Active"] = 1] = "Active";
55
+ ProfileStatus2[ProfileStatus2["Inactive"] = 2] = "Inactive";
56
+ return ProfileStatus2;
57
+ })(ProfileStatus || {});
58
+ var ProfileImageType = /* @__PURE__ */ ((ProfileImageType2) => {
59
+ ProfileImageType2[ProfileImageType2["Avatar"] = 0] = "Avatar";
60
+ ProfileImageType2[ProfileImageType2["Bg"] = 1] = "Bg";
61
+ return ProfileImageType2;
62
+ })(ProfileImageType || {});
63
+
64
+ // src/location.ts
65
+ var LocationType = /* @__PURE__ */ ((LocationType2) => {
66
+ LocationType2[LocationType2["None"] = 0] = "None";
67
+ LocationType2[LocationType2["Point"] = 1] = "Point";
68
+ LocationType2[LocationType2["Street"] = 2] = "Street";
69
+ LocationType2[LocationType2["City"] = 3] = "City";
70
+ return LocationType2;
71
+ })(LocationType || {});
72
+
73
+ // src/market.ts
74
+ var MarketType = /* @__PURE__ */ ((MarketType2) => {
75
+ MarketType2[MarketType2["Zero"] = 0] = "Zero";
76
+ MarketType2[MarketType2["One"] = 1] = "One";
77
+ MarketType2[MarketType2["Two"] = 2] = "Two";
78
+ MarketType2[MarketType2["Three"] = 3] = "Three";
79
+ MarketType2[MarketType2["Four"] = 4] = "Four";
80
+ MarketType2[MarketType2["Five"] = 5] = "Five";
81
+ MarketType2[MarketType2["Six"] = 6] = "Six";
82
+ MarketType2[MarketType2["Seven"] = 7] = "Seven";
83
+ MarketType2[MarketType2["Eight"] = 8] = "Eight";
84
+ MarketType2[MarketType2["Nine"] = 9] = "Nine";
85
+ MarketType2[MarketType2["Ten"] = 10] = "Ten";
86
+ MarketType2[MarketType2["Eleven"] = 11] = "Eleven";
87
+ MarketType2[MarketType2["Twelve"] = 12] = "Twelve";
88
+ MarketType2[MarketType2["Thirteen"] = 13] = "Thirteen";
89
+ MarketType2[MarketType2["SixtyNine"] = 69] = "SixtyNine";
90
+ MarketType2[MarketType2["Shop"] = 91] = "Shop";
91
+ MarketType2[MarketType2["Display"] = 92] = "Display";
92
+ MarketType2[MarketType2["Repair"] = 93] = "Repair";
93
+ MarketType2[MarketType2["Rental"] = 94] = "Rental";
94
+ MarketType2[MarketType2["Exchange"] = 95] = "Exchange";
95
+ MarketType2[MarketType2["Giveaway"] = 96] = "Giveaway";
96
+ MarketType2[MarketType2["Lost"] = 97] = "Lost";
97
+ MarketType2[MarketType2["Found"] = 98] = "Found";
98
+ MarketType2[MarketType2["Other"] = 99] = "Other";
99
+ return MarketType2;
100
+ })(MarketType || {});
101
+
102
+ // src/collection.ts
103
+ var CollectionType = /* @__PURE__ */ ((CollectionType2) => {
104
+ CollectionType2[CollectionType2["Zero"] = 0] = "Zero";
105
+ CollectionType2[CollectionType2["One"] = 1] = "One";
106
+ CollectionType2[CollectionType2["Two"] = 2] = "Two";
107
+ CollectionType2[CollectionType2["Three"] = 3] = "Three";
108
+ CollectionType2[CollectionType2["Four"] = 4] = "Four";
109
+ CollectionType2[CollectionType2["Five"] = 5] = "Five";
110
+ CollectionType2[CollectionType2["Six"] = 6] = "Six";
111
+ CollectionType2[CollectionType2["Seven"] = 7] = "Seven";
112
+ CollectionType2[CollectionType2["Eight"] = 8] = "Eight";
113
+ CollectionType2[CollectionType2["Nine"] = 9] = "Nine";
114
+ CollectionType2[CollectionType2["Ten"] = 10] = "Ten";
115
+ return CollectionType2;
116
+ })(CollectionType || {});
117
+
118
+ // src/user.ts
119
+ var Pronoun = /* @__PURE__ */ ((Pronoun2) => {
120
+ Pronoun2[Pronoun2["None"] = 0] = "None";
121
+ Pronoun2[Pronoun2["He"] = 1] = "He";
122
+ Pronoun2[Pronoun2["She"] = 2] = "She";
123
+ return Pronoun2;
124
+ })(Pronoun || {});
125
+
126
+ // src/event.ts
127
+ var AttendanceStatus = /* @__PURE__ */ ((AttendanceStatus2) => {
128
+ AttendanceStatus2[AttendanceStatus2["None"] = 0] = "None";
129
+ AttendanceStatus2[AttendanceStatus2["Pending"] = 1] = "Pending";
130
+ AttendanceStatus2[AttendanceStatus2["OnTime"] = 2] = "OnTime";
131
+ AttendanceStatus2[AttendanceStatus2["Late"] = 3] = "Late";
132
+ AttendanceStatus2[AttendanceStatus2["CheckedIn"] = 4] = "CheckedIn";
133
+ AttendanceStatus2[AttendanceStatus2["Left"] = 5] = "Left";
134
+ return AttendanceStatus2;
135
+ })(AttendanceStatus || {});
136
+
137
+ // src/auth.ts
138
+ var AccountStatus = /* @__PURE__ */ ((AccountStatus2) => {
139
+ AccountStatus2[AccountStatus2["None"] = 0] = "None";
140
+ AccountStatus2[AccountStatus2["RegistrationNeedBasicInfo"] = 1] = "RegistrationNeedBasicInfo";
141
+ AccountStatus2[AccountStatus2["RegistrationNeedInterests"] = 2] = "RegistrationNeedInterests";
142
+ AccountStatus2[AccountStatus2["Active"] = 3] = "Active";
143
+ AccountStatus2[AccountStatus2["Inactive"] = 4] = "Inactive";
144
+ return AccountStatus2;
145
+ })(AccountStatus || {});
146
+
147
+ // src/pet.ts
148
+ var PetGender = /* @__PURE__ */ ((PetGender2) => {
149
+ PetGender2[PetGender2["None"] = 0] = "None";
150
+ PetGender2[PetGender2["Male"] = 1] = "Male";
151
+ PetGender2[PetGender2["Female"] = 2] = "Female";
152
+ return PetGender2;
153
+ })(PetGender || {});
154
+
155
+ // src/connection.ts
156
+ var PartneringStatus = /* @__PURE__ */ ((PartneringStatus2) => {
157
+ PartneringStatus2[PartneringStatus2["None"] = 0] = "None";
158
+ PartneringStatus2[PartneringStatus2["PendingSent"] = 1] = "PendingSent";
159
+ PartneringStatus2[PartneringStatus2["PendingReceived"] = 2] = "PendingReceived";
160
+ PartneringStatus2[PartneringStatus2["Accepted"] = 3] = "Accepted";
161
+ PartneringStatus2[PartneringStatus2["Ignored"] = 4] = "Ignored";
162
+ PartneringStatus2[PartneringStatus2["Withdrawn"] = 5] = "Withdrawn";
163
+ PartneringStatus2[PartneringStatus2["RemovedByRequester"] = 6] = "RemovedByRequester";
164
+ PartneringStatus2[PartneringStatus2["RemovedByRequestee"] = 7] = "RemovedByRequestee";
165
+ return PartneringStatus2;
166
+ })(PartneringStatus || {});
167
+ var MemberingStatus = /* @__PURE__ */ ((MemberingStatus2) => {
168
+ MemberingStatus2[MemberingStatus2["None"] = 0] = "None";
169
+ MemberingStatus2[MemberingStatus2["Admined"] = 1] = "Admined";
170
+ MemberingStatus2[MemberingStatus2["Membered"] = 2] = "Membered";
171
+ MemberingStatus2[MemberingStatus2["PendingApply"] = 3] = "PendingApply";
172
+ MemberingStatus2[MemberingStatus2["IgnoredApply"] = 4] = "IgnoredApply";
173
+ MemberingStatus2[MemberingStatus2["WithdrawnApply"] = 5] = "WithdrawnApply";
174
+ MemberingStatus2[MemberingStatus2["MemberLeft"] = 6] = "MemberLeft";
175
+ MemberingStatus2[MemberingStatus2["PendingInvite"] = 7] = "PendingInvite";
176
+ MemberingStatus2[MemberingStatus2["IgnoredInvite"] = 8] = "IgnoredInvite";
177
+ MemberingStatus2[MemberingStatus2["WithdrawnInvite"] = 9] = "WithdrawnInvite";
178
+ MemberingStatus2[MemberingStatus2["MemberRemoved"] = 10] = "MemberRemoved";
179
+ return MemberingStatus2;
180
+ })(MemberingStatus || {});
181
+ var FollowingStatus = /* @__PURE__ */ ((FollowingStatus2) => {
182
+ FollowingStatus2[FollowingStatus2["None"] = 0] = "None";
183
+ FollowingStatus2[FollowingStatus2["Pending"] = 1] = "Pending";
184
+ FollowingStatus2[FollowingStatus2["Approved"] = 2] = "Approved";
185
+ FollowingStatus2[FollowingStatus2["Blocked"] = 3] = "Blocked";
186
+ FollowingStatus2[FollowingStatus2["Withdrawn"] = 4] = "Withdrawn";
187
+ FollowingStatus2[FollowingStatus2["Unfollowed"] = 5] = "Unfollowed";
188
+ return FollowingStatus2;
189
+ })(FollowingStatus || {});
190
+
191
+ // src/attribute/common.ts
192
+ var Handedness = /* @__PURE__ */ ((Handedness2) => {
193
+ Handedness2[Handedness2["None"] = 0] = "None";
194
+ Handedness2[Handedness2["Left"] = 1] = "Left";
195
+ Handedness2[Handedness2["Right"] = 2] = "Right";
196
+ return Handedness2;
197
+ })(Handedness || {});
198
+
199
+ // src/attribute/sports.ts
200
+ var BasketballPosition = /* @__PURE__ */ ((BasketballPosition2) => {
201
+ BasketballPosition2[BasketballPosition2["None"] = 0] = "None";
202
+ BasketballPosition2[BasketballPosition2["SG"] = 1] = "SG";
203
+ BasketballPosition2[BasketballPosition2["PG"] = 2] = "PG";
204
+ BasketballPosition2[BasketballPosition2["C"] = 4] = "C";
205
+ BasketballPosition2[BasketballPosition2["SF"] = 8] = "SF";
206
+ BasketballPosition2[BasketballPosition2["PF"] = 16] = "PF";
207
+ return BasketballPosition2;
208
+ })(BasketballPosition || {});
209
+ var TennisBackhand = /* @__PURE__ */ ((TennisBackhand2) => {
210
+ TennisBackhand2[TennisBackhand2["None"] = 0] = "None";
211
+ TennisBackhand2[TennisBackhand2["Single"] = 1] = "Single";
212
+ TennisBackhand2[TennisBackhand2["Double"] = 2] = "Double";
213
+ TennisBackhand2[TennisBackhand2["Both"] = 3] = "Both";
214
+ return TennisBackhand2;
215
+ })(TennisBackhand || {});
216
+ var TennisLevel = /* @__PURE__ */ ((TennisLevel2) => {
217
+ TennisLevel2[TennisLevel2["None"] = 0] = "None";
218
+ TennisLevel2[TennisLevel2["TwoBelow"] = 1] = "TwoBelow";
219
+ TennisLevel2[TennisLevel2["TwoFive"] = 2] = "TwoFive";
220
+ TennisLevel2[TennisLevel2["Three"] = 3] = "Three";
221
+ TennisLevel2[TennisLevel2["ThreeFive"] = 4] = "ThreeFive";
222
+ TennisLevel2[TennisLevel2["Four"] = 5] = "Four";
223
+ TennisLevel2[TennisLevel2["FourFive"] = 6] = "FourFive";
224
+ TennisLevel2[TennisLevel2["Five"] = 7] = "Five";
225
+ TennisLevel2[TennisLevel2["FiveFive"] = 8] = "FiveFive";
226
+ TennisLevel2[TennisLevel2["SixAbove"] = 9] = "SixAbove";
227
+ return TennisLevel2;
228
+ })(TennisLevel || {});
229
+
230
+ // src/pageUpdate.ts
231
+ var PageUpdateType = /* @__PURE__ */ ((PageUpdateType2) => {
232
+ PageUpdateType2[PageUpdateType2["None"] = 0] = "None";
233
+ PageUpdateType2[PageUpdateType2["CreatePost"] = 1] = "CreatePost";
234
+ PageUpdateType2[PageUpdateType2["CreateProfile"] = 2] = "CreateProfile";
235
+ return PageUpdateType2;
236
+ })(PageUpdateType || {});
237
+ var ConnectionType = /* @__PURE__ */ ((ConnectionType2) => {
238
+ ConnectionType2[ConnectionType2["None"] = 0] = "None";
239
+ ConnectionType2[ConnectionType2["Connected"] = 1] = "Connected";
240
+ ConnectionType2[ConnectionType2["Following"] = 2] = "Following";
241
+ return ConnectionType2;
242
+ })(ConnectionType || {});
243
+ export {
244
+ AccountStatus,
245
+ AttendanceStatus,
246
+ BasketballPosition,
247
+ CollectionType,
248
+ ConnectionType,
249
+ FollowingStatus,
250
+ Handedness,
251
+ LocationType,
252
+ MarketType,
253
+ MemberingStatus,
254
+ PageType,
255
+ PageUpdateType,
256
+ PartneringStatus,
257
+ PetGender,
258
+ PostPrivacy,
259
+ PostType,
260
+ ProfileImageType,
261
+ ProfilePermission,
262
+ ProfilePrivacy,
263
+ ProfileStatus,
264
+ ProfileType,
265
+ Pronoun,
266
+ TennisBackhand,
267
+ TennisLevel
268
+ };
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "wenum",
3
+ "version": "1.0.0",
4
+ "main": "dist/index.js",
5
+ "module": "dist/index.mjs",
6
+ "types": "dist/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.mjs",
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "scripts": {
15
+ "build": "tsup src/index.ts --dts --format cjs,esm",
16
+ "dev": "tsup src/index.ts --watch",
17
+ "test": "jest"
18
+ },
19
+ "keywords": [],
20
+ "author": "",
21
+ "license": "ISC",
22
+ "description": "",
23
+ "devDependencies": {
24
+ "@types/jest": "^29.5.14",
25
+ "eslint": "^9.27.0",
26
+ "jest": "^29.7.0",
27
+ "prettier": "^3.5.3",
28
+ "tsup": "^8.5.0",
29
+ "typescript": "^5.8.3"
30
+ }
31
+ }
@@ -0,0 +1,3 @@
1
+ export enum Handedness {
2
+ None, Left, Right,
3
+ }
@@ -0,0 +1,2 @@
1
+ export * from './common';
2
+ export * from './sports';
@@ -0,0 +1,25 @@
1
+ export enum BasketballPosition {
2
+ None = 0,
3
+ SG = 1,
4
+ PG = 2,
5
+ C = 4,
6
+ SF = 8,
7
+ PF = 16,
8
+ }
9
+
10
+ export enum TennisBackhand {
11
+ None, Single, Double, Both,
12
+ }
13
+
14
+ export enum TennisLevel {
15
+ None,
16
+ TwoBelow,
17
+ TwoFive,
18
+ Three,
19
+ ThreeFive,
20
+ Four,
21
+ FourFive,
22
+ Five,
23
+ FiveFive,
24
+ SixAbove,
25
+ }
package/src/auth.ts ADDED
@@ -0,0 +1,7 @@
1
+ export enum AccountStatus {
2
+ None,
3
+ RegistrationNeedBasicInfo,
4
+ RegistrationNeedInterests,
5
+ Active,
6
+ Inactive,
7
+ }
@@ -0,0 +1,13 @@
1
+ export enum CollectionType {
2
+ Zero,
3
+ One,
4
+ Two,
5
+ Three,
6
+ Four,
7
+ Five,
8
+ Six,
9
+ Seven,
10
+ Eight,
11
+ Nine,
12
+ Ten
13
+ }