@ughuuu/game_server 1.0.374 → 1.0.376

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.
Files changed (100) hide show
  1. package/README.md +66 -5
  2. package/dist/ApiClient.js +1 -1
  3. package/dist/api/AdminKVApi.js +305 -0
  4. package/dist/api/AdminLeaderboardsApi.js +396 -0
  5. package/dist/api/AdminLobbiesApi.js +190 -0
  6. package/dist/api/AdminSessionsApi.js +165 -0
  7. package/dist/api/AdminUsersApi.js +130 -0
  8. package/dist/api/AuthenticationApi.js +82 -1
  9. package/dist/api/FriendsApi.js +6 -4
  10. package/dist/api/HealthApi.js +1 -1
  11. package/dist/api/HooksApi.js +6 -4
  12. package/dist/api/KVApi.js +95 -0
  13. package/dist/api/LeaderboardsApi.js +7 -7
  14. package/dist/api/LobbiesApi.js +6 -6
  15. package/dist/api/UsersApi.js +17 -15
  16. package/dist/index.js +269 -3
  17. package/dist/model/AdminCreateKvEntry200Response.js +91 -0
  18. package/dist/model/AdminCreateKvEntryRequest.js +146 -0
  19. package/dist/model/AdminCreateLeaderboardRequest.js +232 -0
  20. package/dist/model/AdminEndLeaderboard200Response.js +91 -0
  21. package/dist/model/AdminEndLeaderboard200ResponseData.js +231 -0
  22. package/dist/model/AdminListKvEntries200Response.js +124 -0
  23. package/dist/model/AdminListKvEntries200ResponseDataInner.js +147 -0
  24. package/dist/model/AdminListLobbies200Response.js +124 -0
  25. package/dist/model/AdminListLobbies200ResponseDataInner.js +153 -0
  26. package/dist/model/AdminListSessions200Response.js +124 -0
  27. package/dist/model/AdminListSessions200ResponseDataInner.js +133 -0
  28. package/dist/model/AdminSubmitLeaderboardScore200Response.js +91 -0
  29. package/dist/model/AdminSubmitLeaderboardScore200ResponseData.js +141 -0
  30. package/dist/model/AdminSubmitLeaderboardScoreRequest.js +126 -0
  31. package/dist/model/AdminUpdateKvEntryRequest.js +121 -0
  32. package/dist/model/AdminUpdateLeaderboardRecordRequest.js +93 -0
  33. package/dist/model/AdminUpdateLeaderboardRequest.js +125 -0
  34. package/dist/model/AdminUpdateLobby200Response.js +91 -0
  35. package/dist/model/AdminUpdateLobbyRequest.js +133 -0
  36. package/dist/model/AdminUpdateUser200Response.js +91 -0
  37. package/dist/model/AdminUpdateUser200ResponseData.js +149 -0
  38. package/dist/model/AdminUpdateUserRequest.js +105 -0
  39. package/dist/model/CallHook200Response.js +88 -0
  40. package/dist/model/CallHookRequest.js +23 -8
  41. package/dist/model/CreateFriendRequestRequest.js +1 -1
  42. package/dist/model/{KickUser401Response.js → CreateLobby401Response.js} +18 -18
  43. package/dist/model/CreateLobbyRequest.js +1 -1
  44. package/dist/model/DeviceLoginRequest.js +1 -1
  45. package/dist/model/ErrorResponse.js +114 -0
  46. package/dist/model/GetCurrentUser200Response.js +10 -1
  47. package/dist/model/GetCurrentUser200ResponseLinkedProviders.js +1 -1
  48. package/dist/model/GetKv200Response.js +93 -0
  49. package/dist/model/GetMyRecord200Response.js +91 -0
  50. package/dist/model/HealthResponse.js +1 -1
  51. package/dist/model/JoinLobby200Response.js +89 -0
  52. package/dist/model/JoinLobbyRequest.js +1 -1
  53. package/dist/model/KickUser200Response.js +89 -0
  54. package/dist/model/KickUserRequest.js +1 -1
  55. package/dist/model/LeaveLobby200Response.js +89 -0
  56. package/dist/model/LinkDeviceRequest.js +1 -1
  57. package/dist/model/ListBlockedFriends200Response.js +1 -1
  58. package/dist/model/ListBlockedFriends200ResponseDataInner.js +1 -1
  59. package/dist/model/ListBlockedFriends200ResponseDataInnerRequester.js +1 -1
  60. package/dist/model/ListFriendRequests200Response.js +1 -1
  61. package/dist/model/ListFriendRequests200ResponseIncomingInner.js +1 -1
  62. package/dist/model/ListFriendRequests200ResponseIncomingInnerRequester.js +1 -1
  63. package/dist/model/ListFriendRequests200ResponseMeta.js +1 -1
  64. package/dist/model/ListFriends200Response.js +1 -1
  65. package/dist/model/ListFriends200ResponseDataInner.js +9 -1
  66. package/dist/model/ListLeaderboardRecords200Response.js +1 -1
  67. package/dist/model/ListLeaderboardRecords200ResponseDataInner.js +1 -1
  68. package/dist/model/ListLeaderboardRecords200ResponseMeta.js +1 -1
  69. package/dist/model/ListLeaderboards200Response.js +1 -1
  70. package/dist/model/ListLeaderboards200ResponseDataInner.js +1 -1
  71. package/dist/model/ListLobbies200Response.js +1 -1
  72. package/dist/model/ListLobbies200ResponseDataInner.js +1 -1
  73. package/dist/model/ListLobbies200ResponseInner.js +153 -0
  74. package/dist/model/ListLobbies200ResponseMeta.js +125 -0
  75. package/dist/model/ListRecordsAroundUser200Response.js +1 -1
  76. package/dist/model/Login200Response.js +1 -1
  77. package/dist/model/Login200ResponseData.js +1 -1
  78. package/dist/model/Login200ResponseDataUser.js +97 -0
  79. package/dist/model/LoginRequest.js +1 -1
  80. package/dist/model/OAuthSessionData.js +1 -1
  81. package/dist/model/OAuthSessionDataDetails.js +1 -1
  82. package/dist/model/OAuthSessionStatus.js +9 -5
  83. package/dist/model/OauthApiCallback200Response.js +1 -1
  84. package/dist/model/OauthApiCallbackRequest.js +1 -1
  85. package/dist/model/OauthCallbackApiAppleIosRequest.js +113 -0
  86. package/dist/model/OauthGoogleIdTokenRequest.js +113 -0
  87. package/dist/model/OauthRequest200Response.js +1 -1
  88. package/dist/model/OauthSessionStatus404Response.js +126 -0
  89. package/dist/model/QuickJoinRequest.js +1 -1
  90. package/dist/model/RefreshToken200Response.js +1 -1
  91. package/dist/model/RefreshToken200ResponseData.js +1 -1
  92. package/dist/model/RefreshTokenRequest.js +1 -1
  93. package/dist/model/RemoveFriendship401Response.js +89 -0
  94. package/dist/model/SearchUsers200Response.js +124 -0
  95. package/dist/model/SearchUsers200ResponseDataInner.js +130 -0
  96. package/dist/model/UpdateCurrentUserDisplayNameRequest.js +1 -1
  97. package/dist/model/UpdateCurrentUserPassword400Response.js +97 -0
  98. package/dist/model/UpdateCurrentUserPasswordRequest.js +1 -1
  99. package/dist/model/UpdateLobbyRequest.js +1 -1
  100. package/package.json +5 -1
@@ -0,0 +1,231 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Game Server API
16
+ * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
17
+ *
18
+ * The version of the OpenAPI document: 1.0.0
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The AdminEndLeaderboard200ResponseData model module.
28
+ * @module model/AdminEndLeaderboard200ResponseData
29
+ * @version 1.0.0
30
+ */
31
+ var AdminEndLeaderboard200ResponseData = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AdminEndLeaderboard200ResponseData</code>.
34
+ * @alias module:model/AdminEndLeaderboard200ResponseData
35
+ */
36
+ function AdminEndLeaderboard200ResponseData() {
37
+ _classCallCheck(this, AdminEndLeaderboard200ResponseData);
38
+ AdminEndLeaderboard200ResponseData.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(AdminEndLeaderboard200ResponseData, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>AdminEndLeaderboard200ResponseData</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/AdminEndLeaderboard200ResponseData} obj Optional instance to populate.
55
+ * @return {module:model/AdminEndLeaderboard200ResponseData} The populated <code>AdminEndLeaderboard200ResponseData</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new AdminEndLeaderboard200ResponseData();
62
+ if (data.hasOwnProperty('description')) {
63
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
64
+ }
65
+ if (data.hasOwnProperty('ends_at')) {
66
+ obj['ends_at'] = _ApiClient["default"].convertToType(data['ends_at'], 'Date');
67
+ }
68
+ if (data.hasOwnProperty('id')) {
69
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
70
+ }
71
+ if (data.hasOwnProperty('inserted_at')) {
72
+ obj['inserted_at'] = _ApiClient["default"].convertToType(data['inserted_at'], 'Date');
73
+ }
74
+ if (data.hasOwnProperty('metadata')) {
75
+ obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
76
+ }
77
+ if (data.hasOwnProperty('operator')) {
78
+ obj['operator'] = _ApiClient["default"].convertToType(data['operator'], 'String');
79
+ }
80
+ if (data.hasOwnProperty('slug')) {
81
+ obj['slug'] = _ApiClient["default"].convertToType(data['slug'], 'String');
82
+ }
83
+ if (data.hasOwnProperty('sort_order')) {
84
+ obj['sort_order'] = _ApiClient["default"].convertToType(data['sort_order'], 'String');
85
+ }
86
+ if (data.hasOwnProperty('starts_at')) {
87
+ obj['starts_at'] = _ApiClient["default"].convertToType(data['starts_at'], 'Date');
88
+ }
89
+ if (data.hasOwnProperty('title')) {
90
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
91
+ }
92
+ if (data.hasOwnProperty('updated_at')) {
93
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
94
+ }
95
+ }
96
+ return obj;
97
+ }
98
+
99
+ /**
100
+ * Validates the JSON data with respect to <code>AdminEndLeaderboard200ResponseData</code>.
101
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
102
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AdminEndLeaderboard200ResponseData</code>.
103
+ */
104
+ }, {
105
+ key: "validateJSON",
106
+ value: function validateJSON(data) {
107
+ // ensure the json data is a string
108
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
109
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
110
+ }
111
+ // ensure the json data is a string
112
+ if (data['operator'] && !(typeof data['operator'] === 'string' || data['operator'] instanceof String)) {
113
+ throw new Error("Expected the field `operator` to be a primitive type in the JSON string but got " + data['operator']);
114
+ }
115
+ // ensure the json data is a string
116
+ if (data['slug'] && !(typeof data['slug'] === 'string' || data['slug'] instanceof String)) {
117
+ throw new Error("Expected the field `slug` to be a primitive type in the JSON string but got " + data['slug']);
118
+ }
119
+ // ensure the json data is a string
120
+ if (data['sort_order'] && !(typeof data['sort_order'] === 'string' || data['sort_order'] instanceof String)) {
121
+ throw new Error("Expected the field `sort_order` to be a primitive type in the JSON string but got " + data['sort_order']);
122
+ }
123
+ // ensure the json data is a string
124
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
125
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
126
+ }
127
+ return true;
128
+ }
129
+ }]);
130
+ }();
131
+ /**
132
+ * @member {String} description
133
+ */
134
+ AdminEndLeaderboard200ResponseData.prototype['description'] = undefined;
135
+
136
+ /**
137
+ * @member {Date} ends_at
138
+ */
139
+ AdminEndLeaderboard200ResponseData.prototype['ends_at'] = undefined;
140
+
141
+ /**
142
+ * @member {Number} id
143
+ */
144
+ AdminEndLeaderboard200ResponseData.prototype['id'] = undefined;
145
+
146
+ /**
147
+ * @member {Date} inserted_at
148
+ */
149
+ AdminEndLeaderboard200ResponseData.prototype['inserted_at'] = undefined;
150
+
151
+ /**
152
+ * @member {Object} metadata
153
+ */
154
+ AdminEndLeaderboard200ResponseData.prototype['metadata'] = undefined;
155
+
156
+ /**
157
+ * @member {module:model/AdminEndLeaderboard200ResponseData.OperatorEnum} operator
158
+ */
159
+ AdminEndLeaderboard200ResponseData.prototype['operator'] = undefined;
160
+
161
+ /**
162
+ * @member {String} slug
163
+ */
164
+ AdminEndLeaderboard200ResponseData.prototype['slug'] = undefined;
165
+
166
+ /**
167
+ * @member {module:model/AdminEndLeaderboard200ResponseData.SortOrderEnum} sort_order
168
+ */
169
+ AdminEndLeaderboard200ResponseData.prototype['sort_order'] = undefined;
170
+
171
+ /**
172
+ * @member {Date} starts_at
173
+ */
174
+ AdminEndLeaderboard200ResponseData.prototype['starts_at'] = undefined;
175
+
176
+ /**
177
+ * @member {String} title
178
+ */
179
+ AdminEndLeaderboard200ResponseData.prototype['title'] = undefined;
180
+
181
+ /**
182
+ * @member {Date} updated_at
183
+ */
184
+ AdminEndLeaderboard200ResponseData.prototype['updated_at'] = undefined;
185
+
186
+ /**
187
+ * Allowed values for the <code>operator</code> property.
188
+ * @enum {String}
189
+ * @readonly
190
+ */
191
+ AdminEndLeaderboard200ResponseData['OperatorEnum'] = {
192
+ /**
193
+ * value: "set"
194
+ * @const
195
+ */
196
+ "set": "set",
197
+ /**
198
+ * value: "best"
199
+ * @const
200
+ */
201
+ "best": "best",
202
+ /**
203
+ * value: "incr"
204
+ * @const
205
+ */
206
+ "incr": "incr",
207
+ /**
208
+ * value: "decr"
209
+ * @const
210
+ */
211
+ "decr": "decr"
212
+ };
213
+
214
+ /**
215
+ * Allowed values for the <code>sort_order</code> property.
216
+ * @enum {String}
217
+ * @readonly
218
+ */
219
+ AdminEndLeaderboard200ResponseData['SortOrderEnum'] = {
220
+ /**
221
+ * value: "desc"
222
+ * @const
223
+ */
224
+ "desc": "desc",
225
+ /**
226
+ * value: "asc"
227
+ * @const
228
+ */
229
+ "asc": "asc"
230
+ };
231
+ var _default = exports["default"] = AdminEndLeaderboard200ResponseData;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _AdminListKvEntries200ResponseDataInner = _interopRequireDefault(require("./AdminListKvEntries200ResponseDataInner"));
9
+ var _ListLeaderboardRecords200ResponseMeta = _interopRequireDefault(require("./ListLeaderboardRecords200ResponseMeta"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
20
+ * Game Server API
21
+ * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
22
+ *
23
+ * The version of the OpenAPI document: 1.0.0
24
+ *
25
+ *
26
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27
+ * https://openapi-generator.tech
28
+ * Do not edit the class manually.
29
+ *
30
+ */
31
+ /**
32
+ * The AdminListKvEntries200Response model module.
33
+ * @module model/AdminListKvEntries200Response
34
+ * @version 1.0.0
35
+ */
36
+ var AdminListKvEntries200Response = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new <code>AdminListKvEntries200Response</code>.
39
+ * @alias module:model/AdminListKvEntries200Response
40
+ */
41
+ function AdminListKvEntries200Response() {
42
+ _classCallCheck(this, AdminListKvEntries200Response);
43
+ AdminListKvEntries200Response.initialize(this);
44
+ }
45
+
46
+ /**
47
+ * Initializes the fields of this object.
48
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
+ * Only for internal use.
50
+ */
51
+ return _createClass(AdminListKvEntries200Response, null, [{
52
+ key: "initialize",
53
+ value: function initialize(obj) {}
54
+
55
+ /**
56
+ * Constructs a <code>AdminListKvEntries200Response</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/AdminListKvEntries200Response} obj Optional instance to populate.
60
+ * @return {module:model/AdminListKvEntries200Response} The populated <code>AdminListKvEntries200Response</code> instance.
61
+ */
62
+ }, {
63
+ key: "constructFromObject",
64
+ value: function constructFromObject(data, obj) {
65
+ if (data) {
66
+ obj = obj || new AdminListKvEntries200Response();
67
+ if (data.hasOwnProperty('data')) {
68
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_AdminListKvEntries200ResponseDataInner["default"]]);
69
+ }
70
+ if (data.hasOwnProperty('meta')) {
71
+ obj['meta'] = _ListLeaderboardRecords200ResponseMeta["default"].constructFromObject(data['meta']);
72
+ }
73
+ }
74
+ return obj;
75
+ }
76
+
77
+ /**
78
+ * Validates the JSON data with respect to <code>AdminListKvEntries200Response</code>.
79
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
80
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AdminListKvEntries200Response</code>.
81
+ */
82
+ }, {
83
+ key: "validateJSON",
84
+ value: function validateJSON(data) {
85
+ if (data['data']) {
86
+ // data not null
87
+ // ensure the json data is an array
88
+ if (!Array.isArray(data['data'])) {
89
+ throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
90
+ }
91
+ // validate the optional field `data` (array)
92
+ var _iterator = _createForOfIteratorHelper(data['data']),
93
+ _step;
94
+ try {
95
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
96
+ var item = _step.value;
97
+ _AdminListKvEntries200ResponseDataInner["default"].validateJSON(item);
98
+ }
99
+ } catch (err) {
100
+ _iterator.e(err);
101
+ } finally {
102
+ _iterator.f();
103
+ }
104
+ ;
105
+ }
106
+ // validate the optional field `meta`
107
+ if (data['meta']) {
108
+ // data not null
109
+ _ListLeaderboardRecords200ResponseMeta["default"].validateJSON(data['meta']);
110
+ }
111
+ return true;
112
+ }
113
+ }]);
114
+ }();
115
+ /**
116
+ * @member {Array.<module:model/AdminListKvEntries200ResponseDataInner>} data
117
+ */
118
+ AdminListKvEntries200Response.prototype['data'] = undefined;
119
+
120
+ /**
121
+ * @member {module:model/ListLeaderboardRecords200ResponseMeta} meta
122
+ */
123
+ AdminListKvEntries200Response.prototype['meta'] = undefined;
124
+ var _default = exports["default"] = AdminListKvEntries200Response;
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
+ * Game Server API
16
+ * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
17
+ *
18
+ * The version of the OpenAPI document: 1.0.0
19
+ *
20
+ *
21
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
+ * https://openapi-generator.tech
23
+ * Do not edit the class manually.
24
+ *
25
+ */
26
+ /**
27
+ * The AdminListKvEntries200ResponseDataInner model module.
28
+ * @module model/AdminListKvEntries200ResponseDataInner
29
+ * @version 1.0.0
30
+ */
31
+ var AdminListKvEntries200ResponseDataInner = /*#__PURE__*/function () {
32
+ /**
33
+ * Constructs a new <code>AdminListKvEntries200ResponseDataInner</code>.
34
+ * @alias module:model/AdminListKvEntries200ResponseDataInner
35
+ */
36
+ function AdminListKvEntries200ResponseDataInner() {
37
+ _classCallCheck(this, AdminListKvEntries200ResponseDataInner);
38
+ AdminListKvEntries200ResponseDataInner.initialize(this);
39
+ }
40
+
41
+ /**
42
+ * Initializes the fields of this object.
43
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
44
+ * Only for internal use.
45
+ */
46
+ return _createClass(AdminListKvEntries200ResponseDataInner, null, [{
47
+ key: "initialize",
48
+ value: function initialize(obj) {}
49
+
50
+ /**
51
+ * Constructs a <code>AdminListKvEntries200ResponseDataInner</code> from a plain JavaScript object, optionally creating a new instance.
52
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
53
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
54
+ * @param {module:model/AdminListKvEntries200ResponseDataInner} obj Optional instance to populate.
55
+ * @return {module:model/AdminListKvEntries200ResponseDataInner} The populated <code>AdminListKvEntries200ResponseDataInner</code> instance.
56
+ */
57
+ }, {
58
+ key: "constructFromObject",
59
+ value: function constructFromObject(data, obj) {
60
+ if (data) {
61
+ obj = obj || new AdminListKvEntries200ResponseDataInner();
62
+ if (data.hasOwnProperty('data')) {
63
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], Object);
64
+ }
65
+ if (data.hasOwnProperty('id')) {
66
+ obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
67
+ }
68
+ if (data.hasOwnProperty('inserted_at')) {
69
+ obj['inserted_at'] = _ApiClient["default"].convertToType(data['inserted_at'], 'Date');
70
+ }
71
+ if (data.hasOwnProperty('key')) {
72
+ obj['key'] = _ApiClient["default"].convertToType(data['key'], 'String');
73
+ }
74
+ if (data.hasOwnProperty('lobby_id')) {
75
+ obj['lobby_id'] = _ApiClient["default"].convertToType(data['lobby_id'], 'Number');
76
+ }
77
+ if (data.hasOwnProperty('metadata')) {
78
+ obj['metadata'] = _ApiClient["default"].convertToType(data['metadata'], Object);
79
+ }
80
+ if (data.hasOwnProperty('updated_at')) {
81
+ obj['updated_at'] = _ApiClient["default"].convertToType(data['updated_at'], 'Date');
82
+ }
83
+ if (data.hasOwnProperty('user_id')) {
84
+ obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'Number');
85
+ }
86
+ }
87
+ return obj;
88
+ }
89
+
90
+ /**
91
+ * Validates the JSON data with respect to <code>AdminListKvEntries200ResponseDataInner</code>.
92
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
93
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AdminListKvEntries200ResponseDataInner</code>.
94
+ */
95
+ }, {
96
+ key: "validateJSON",
97
+ value: function validateJSON(data) {
98
+ // ensure the json data is a string
99
+ if (data['key'] && !(typeof data['key'] === 'string' || data['key'] instanceof String)) {
100
+ throw new Error("Expected the field `key` to be a primitive type in the JSON string but got " + data['key']);
101
+ }
102
+ return true;
103
+ }
104
+ }]);
105
+ }();
106
+ /**
107
+ * @member {Object} data
108
+ */
109
+ AdminListKvEntries200ResponseDataInner.prototype['data'] = undefined;
110
+
111
+ /**
112
+ * @member {Number} id
113
+ */
114
+ AdminListKvEntries200ResponseDataInner.prototype['id'] = undefined;
115
+
116
+ /**
117
+ * @member {Date} inserted_at
118
+ */
119
+ AdminListKvEntries200ResponseDataInner.prototype['inserted_at'] = undefined;
120
+
121
+ /**
122
+ * @member {String} key
123
+ */
124
+ AdminListKvEntries200ResponseDataInner.prototype['key'] = undefined;
125
+
126
+ /**
127
+ * Owner lobby id; -1 means global/unowned
128
+ * @member {Number} lobby_id
129
+ */
130
+ AdminListKvEntries200ResponseDataInner.prototype['lobby_id'] = undefined;
131
+
132
+ /**
133
+ * @member {Object} metadata
134
+ */
135
+ AdminListKvEntries200ResponseDataInner.prototype['metadata'] = undefined;
136
+
137
+ /**
138
+ * @member {Date} updated_at
139
+ */
140
+ AdminListKvEntries200ResponseDataInner.prototype['updated_at'] = undefined;
141
+
142
+ /**
143
+ * Owner user id; -1 means global/unowned
144
+ * @member {Number} user_id
145
+ */
146
+ AdminListKvEntries200ResponseDataInner.prototype['user_id'] = undefined;
147
+ var _default = exports["default"] = AdminListKvEntries200ResponseDataInner;
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = void 0;
7
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
+ var _AdminListLobbies200ResponseDataInner = _interopRequireDefault(require("./AdminListLobbies200ResponseDataInner"));
9
+ var _ListLeaderboardRecords200ResponseMeta = _interopRequireDefault(require("./ListLeaderboardRecords200ResponseMeta"));
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
+ function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
14
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
15
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
16
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
17
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
18
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
19
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
20
+ * Game Server API
21
+ * API for Game Server application ## Authentication This API uses JWT (JSON Web Tokens) with access and refresh tokens: ### Getting Tokens - **Email/Password**: POST to `/api/v1/login` with email and password - **Device (SDK)**: POST to `/api/v1/login` with a `device_id` string (creates/returns a device user) - **Discord OAuth**: Use `/api/v1/auth/discord` flow - **Google OAuth**: Use `/api/v1/auth/google` flow - **Facebook OAuth**: Use `/api/v1/auth/facebook` flow - **Apple Sign In**: Use `/auth/apple` browser flow or apple sdk flow - **Steam (OpenID)**: Use `/api/v1/auth/steam` flow Both methods return: - `access_token` - Short-lived (15 min), use for API requests - `refresh_token` - Long-lived (30 days), use to get new access tokens ### Using Tokens Include the access token in the Authorization header: ``` Authorization: Bearer <access_token> ``` ### Refreshing Tokens When your access token expires, use POST `/api/v1/refresh` with your refresh token to get a new access token. ## Users Users endpoints cover the user lifecycle and profile features. Key highlights: - **Registration and login** (email/password, device token for SDKs, and OAuth providers) - **Profile metadata** (JSON blob per user) and editable profile fields - **Account lifecycle**: password reset, email confirmation, and account deletion - **Sessions & tokens**: both browser sessions and JWT-based API tokens are supported ## Friends The Friends domain offers lightweight social features: - **Friend requests** (send / accept / reject / block flows) - **Friend listing & pagination**, with basic privacy controls - **Domain helpers** to manage and query friend relationships from API or UI contexts ## Lobbies Lobbies provide matchmaking / room management primitives. Highlights: - **Create / list / update / delete** lobbies with rich metadata (mode, region, tags) - **Host-managed or hostless** modes (hostless allowed internally, not creatable via public API) - **Membership management**: join, leave, kick users, and automatic host transfer - **Controls & protection**: max users, hidden/locked states, and optional password protection - **Hidden lobbies** are excluded from public listings; public listing endpoints are paginated
22
+ *
23
+ * The version of the OpenAPI document: 1.0.0
24
+ *
25
+ *
26
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
27
+ * https://openapi-generator.tech
28
+ * Do not edit the class manually.
29
+ *
30
+ */
31
+ /**
32
+ * The AdminListLobbies200Response model module.
33
+ * @module model/AdminListLobbies200Response
34
+ * @version 1.0.0
35
+ */
36
+ var AdminListLobbies200Response = /*#__PURE__*/function () {
37
+ /**
38
+ * Constructs a new <code>AdminListLobbies200Response</code>.
39
+ * @alias module:model/AdminListLobbies200Response
40
+ */
41
+ function AdminListLobbies200Response() {
42
+ _classCallCheck(this, AdminListLobbies200Response);
43
+ AdminListLobbies200Response.initialize(this);
44
+ }
45
+
46
+ /**
47
+ * Initializes the fields of this object.
48
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
49
+ * Only for internal use.
50
+ */
51
+ return _createClass(AdminListLobbies200Response, null, [{
52
+ key: "initialize",
53
+ value: function initialize(obj) {}
54
+
55
+ /**
56
+ * Constructs a <code>AdminListLobbies200Response</code> from a plain JavaScript object, optionally creating a new instance.
57
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
58
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
59
+ * @param {module:model/AdminListLobbies200Response} obj Optional instance to populate.
60
+ * @return {module:model/AdminListLobbies200Response} The populated <code>AdminListLobbies200Response</code> instance.
61
+ */
62
+ }, {
63
+ key: "constructFromObject",
64
+ value: function constructFromObject(data, obj) {
65
+ if (data) {
66
+ obj = obj || new AdminListLobbies200Response();
67
+ if (data.hasOwnProperty('data')) {
68
+ obj['data'] = _ApiClient["default"].convertToType(data['data'], [_AdminListLobbies200ResponseDataInner["default"]]);
69
+ }
70
+ if (data.hasOwnProperty('meta')) {
71
+ obj['meta'] = _ListLeaderboardRecords200ResponseMeta["default"].constructFromObject(data['meta']);
72
+ }
73
+ }
74
+ return obj;
75
+ }
76
+
77
+ /**
78
+ * Validates the JSON data with respect to <code>AdminListLobbies200Response</code>.
79
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
80
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>AdminListLobbies200Response</code>.
81
+ */
82
+ }, {
83
+ key: "validateJSON",
84
+ value: function validateJSON(data) {
85
+ if (data['data']) {
86
+ // data not null
87
+ // ensure the json data is an array
88
+ if (!Array.isArray(data['data'])) {
89
+ throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
90
+ }
91
+ // validate the optional field `data` (array)
92
+ var _iterator = _createForOfIteratorHelper(data['data']),
93
+ _step;
94
+ try {
95
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
96
+ var item = _step.value;
97
+ _AdminListLobbies200ResponseDataInner["default"].validateJSON(item);
98
+ }
99
+ } catch (err) {
100
+ _iterator.e(err);
101
+ } finally {
102
+ _iterator.f();
103
+ }
104
+ ;
105
+ }
106
+ // validate the optional field `meta`
107
+ if (data['meta']) {
108
+ // data not null
109
+ _ListLeaderboardRecords200ResponseMeta["default"].validateJSON(data['meta']);
110
+ }
111
+ return true;
112
+ }
113
+ }]);
114
+ }();
115
+ /**
116
+ * @member {Array.<module:model/AdminListLobbies200ResponseDataInner>} data
117
+ */
118
+ AdminListLobbies200Response.prototype['data'] = undefined;
119
+
120
+ /**
121
+ * @member {module:model/ListLeaderboardRecords200ResponseMeta} meta
122
+ */
123
+ AdminListLobbies200Response.prototype['meta'] = undefined;
124
+ var _default = exports["default"] = AdminListLobbies200Response;