rozod 2.0.0 → 2.0.2

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 (62) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +55 -15
  2. package/lib/endpoints/accountinformationv1.js +193 -128
  3. package/lib/endpoints/accountsettingsv1.d.ts +60 -6
  4. package/lib/endpoints/accountsettingsv1.js +204 -118
  5. package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
  6. package/lib/endpoints/assetdeliveryv1.js +442 -10
  7. package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
  8. package/lib/endpoints/assetdeliveryv2.js +443 -12
  9. package/lib/endpoints/authv1.d.ts +162 -36
  10. package/lib/endpoints/authv1.js +399 -201
  11. package/lib/endpoints/authv2.d.ts +108 -0
  12. package/lib/endpoints/authv2.js +353 -160
  13. package/lib/endpoints/authv3.d.ts +6 -0
  14. package/lib/endpoints/authv3.js +16 -8
  15. package/lib/endpoints/avatarv1.d.ts +94 -0
  16. package/lib/endpoints/avatarv1.js +239 -111
  17. package/lib/endpoints/avatarv2.d.ts +26 -0
  18. package/lib/endpoints/avatarv2.js +109 -59
  19. package/lib/endpoints/avatarv3.d.ts +20 -0
  20. package/lib/endpoints/avatarv3.js +83 -41
  21. package/lib/endpoints/badgesv1.d.ts +80 -3
  22. package/lib/endpoints/badgesv1.js +137 -51
  23. package/lib/endpoints/catalogv1.d.ts +183 -25
  24. package/lib/endpoints/catalogv1.js +307 -131
  25. package/lib/endpoints/chatv2.d.ts +105 -0
  26. package/lib/endpoints/chatv2.js +219 -114
  27. package/lib/endpoints/developv1.d.ts +411 -36
  28. package/lib/endpoints/developv1.js +707 -254
  29. package/lib/endpoints/developv2.d.ts +46 -0
  30. package/lib/endpoints/developv2.js +108 -36
  31. package/lib/endpoints/economyv1.js +7 -7
  32. package/lib/endpoints/friendsv1.d.ts +147 -0
  33. package/lib/endpoints/friendsv1.js +309 -114
  34. package/lib/endpoints/gamejoinv1.d.ts +2321 -0
  35. package/lib/endpoints/gamejoinv1.js +416 -0
  36. package/lib/endpoints/gamesv1.d.ts +319 -14
  37. package/lib/endpoints/gamesv1.js +531 -188
  38. package/lib/endpoints/gamesv2.d.ts +89 -0
  39. package/lib/endpoints/gamesv2.js +108 -19
  40. package/lib/endpoints/groupsv1.d.ts +602 -94
  41. package/lib/endpoints/groupsv1.js +1131 -456
  42. package/lib/endpoints/groupsv2.d.ts +33 -0
  43. package/lib/endpoints/groupsv2.js +74 -37
  44. package/lib/endpoints/inventoryv1.d.ts +108 -9
  45. package/lib/endpoints/inventoryv1.js +166 -45
  46. package/lib/endpoints/inventoryv2.d.ts +62 -1
  47. package/lib/endpoints/inventoryv2.js +91 -26
  48. package/lib/endpoints/presencev1.d.ts +14 -5
  49. package/lib/endpoints/presencev1.js +30 -21
  50. package/lib/endpoints/privatemessagesv1.d.ts +39 -0
  51. package/lib/endpoints/privatemessagesv1.js +90 -51
  52. package/lib/endpoints/thumbnailsv1.d.ts +309 -21
  53. package/lib/endpoints/thumbnailsv1.js +410 -63
  54. package/lib/endpoints/tradesv1.d.ts +51 -0
  55. package/lib/endpoints/tradesv1.js +148 -59
  56. package/lib/endpoints/translationsv1.d.ts +33 -0
  57. package/lib/endpoints/translationsv1.js +49 -14
  58. package/lib/endpoints/usersv1.d.ts +67 -0
  59. package/lib/endpoints/usersv1.js +138 -58
  60. package/lib/index.d.ts +4 -0
  61. package/lib/index.js +151 -240
  62. package/package.json +6 -3
@@ -1,25 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getUsersUseridInventoryAssettypeid = exports.getUsersUseridInventory = exports.getAssetsAssetidOwners = void 0;
4
- var zod_1 = require("zod");
5
- var Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ = zod_1.z.object({
4
+ const zod_1 = require("zod");
5
+ const Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_ = zod_1.z.object({
6
6
  id: zod_1.z.number().int(),
7
7
  type: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2)]),
8
8
  name: zod_1.z.string(),
9
9
  });
10
- var Roblox_Inventory_Api_V2_AssetOwnerResponse = zod_1.z.object({
10
+ const Roblox_Inventory_Api_V2_AssetOwnerResponse = zod_1.z.object({
11
11
  id: zod_1.z.number().int(),
12
12
  serialNumber: zod_1.z.number().int(),
13
13
  owner: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
14
14
  created: zod_1.z.string().datetime(),
15
15
  updated: zod_1.z.string().datetime(),
16
16
  });
17
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_ = zod_1.z.object({
17
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_ = zod_1.z.object({
18
18
  previousPageCursor: zod_1.z.string(),
19
19
  nextPageCursor: zod_1.z.string(),
20
20
  data: zod_1.z.array(Roblox_Inventory_Api_V2_AssetOwnerResponse),
21
21
  });
22
- var Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
22
+ const Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
23
23
  assetId: zod_1.z.number().int(),
24
24
  name: zod_1.z.string(),
25
25
  assetType: zod_1.z.union([
@@ -99,17 +99,17 @@ var Roblox_Inventory_Api_V2_UserAssetItemModelV2 = zod_1.z.object({
99
99
  ]),
100
100
  created: zod_1.z.string().datetime(),
101
101
  });
102
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_ = zod_1.z.object({
102
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_ = zod_1.z.object({
103
103
  previousPageCursor: zod_1.z.string(),
104
104
  nextPageCursor: zod_1.z.string(),
105
105
  data: zod_1.z.array(Roblox_Inventory_Api_V2_UserAssetItemModelV2),
106
106
  });
107
- var Roblox_Inventory_Api_Models_UserModel = zod_1.z.object({
107
+ const Roblox_Inventory_Api_Models_UserModel = zod_1.z.object({
108
108
  userId: zod_1.z.number().int(),
109
109
  username: zod_1.z.string(),
110
110
  buildersClubMembershipType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
111
111
  });
112
- var Roblox_Inventory_Api_Models_InventoryItemModel = zod_1.z.object({
112
+ const Roblox_Inventory_Api_Models_InventoryItemModel = zod_1.z.object({
113
113
  userAssetId: zod_1.z.number().int(),
114
114
  assetId: zod_1.z.number().int(),
115
115
  assetName: zod_1.z.string(),
@@ -120,20 +120,20 @@ var Roblox_Inventory_Api_Models_InventoryItemModel = zod_1.z.object({
120
120
  created: zod_1.z.string().datetime(),
121
121
  updated: zod_1.z.string().datetime(),
122
122
  });
123
- var Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_ = zod_1.z.object({
123
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_ = zod_1.z.object({
124
124
  previousPageCursor: zod_1.z.string(),
125
125
  nextPageCursor: zod_1.z.string(),
126
126
  data: zod_1.z.array(Roblox_Inventory_Api_Models_InventoryItemModel),
127
127
  });
128
- var schemas = {
129
- Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_: Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
130
- Roblox_Inventory_Api_V2_AssetOwnerResponse: Roblox_Inventory_Api_V2_AssetOwnerResponse,
131
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_,
132
- Roblox_Inventory_Api_V2_UserAssetItemModelV2: Roblox_Inventory_Api_V2_UserAssetItemModelV2,
133
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_,
134
- Roblox_Inventory_Api_Models_UserModel: Roblox_Inventory_Api_Models_UserModel,
135
- Roblox_Inventory_Api_Models_InventoryItemModel: Roblox_Inventory_Api_Models_InventoryItemModel,
136
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_,
128
+ const schemas = {
129
+ Roblox_Web_Responses_RelatedEntityTypeResponse_Roblox_Agents_AgentType_,
130
+ Roblox_Inventory_Api_V2_AssetOwnerResponse,
131
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_AssetOwnerResponse_,
132
+ Roblox_Inventory_Api_V2_UserAssetItemModelV2,
133
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_V2_UserAssetItemModelV2_,
134
+ Roblox_Inventory_Api_Models_UserModel,
135
+ Roblox_Inventory_Api_Models_InventoryItemModel,
136
+ Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Inventory_Api_Models_InventoryItemModel_,
137
137
  };
138
138
  /**
139
139
  * @api get https://inventory.roblox.com/v2/assets/:assetId/owners
@@ -147,6 +147,23 @@ exports.getAssetsAssetidOwners = {
147
147
  path: '/v2/assets/:assetId/owners',
148
148
  baseUrl: 'https://inventory.roblox.com',
149
149
  requestFormat: 'json',
150
+ serializationMethod: {
151
+ assetId: {
152
+ style: 'simple',
153
+ },
154
+ limit: {
155
+ style: 'form',
156
+ explode: true,
157
+ },
158
+ cursor: {
159
+ style: 'form',
160
+ explode: true,
161
+ },
162
+ sortOrder: {
163
+ style: 'form',
164
+ explode: true,
165
+ },
166
+ },
150
167
  parameters: {
151
168
  assetId: zod_1.z.number().int(),
152
169
  limit: zod_1.z
@@ -160,12 +177,12 @@ exports.getAssetsAssetidOwners = {
160
177
  errors: [
161
178
  {
162
179
  status: 400,
163
- description: "1: The asset id is invalid.",
180
+ description: `1: The asset id is invalid.`,
164
181
  schema: zod_1.z.void(),
165
182
  },
166
183
  {
167
184
  status: 403,
168
- description: "2: You do not have permission to view the owners of this asset.",
185
+ description: `2: You do not have permission to view the owners of this asset.`,
169
186
  schema: zod_1.z.void(),
170
187
  },
171
188
  ],
@@ -183,11 +200,35 @@ exports.getUsersUseridInventory = {
183
200
  method: 'get',
184
201
  path: '/v2/users/:userId/inventory',
185
202
  baseUrl: 'https://inventory.roblox.com',
186
- description: "GamePass and Badges not allowed.",
203
+ description: `GamePass and Badges not allowed.`,
187
204
  requestFormat: 'json',
205
+ serializationMethod: {
206
+ userId: {
207
+ style: 'simple',
208
+ },
209
+ assetTypes: {
210
+ style: 'form',
211
+ },
212
+ filterDisapprovedAssets: {
213
+ style: 'form',
214
+ explode: true,
215
+ },
216
+ limit: {
217
+ style: 'form',
218
+ explode: true,
219
+ },
220
+ cursor: {
221
+ style: 'form',
222
+ explode: true,
223
+ },
224
+ sortOrder: {
225
+ style: 'form',
226
+ explode: true,
227
+ },
228
+ },
188
229
  parameters: {
189
230
  userId: zod_1.z.number().int(),
190
- assetTypes: zod_1.z.array(zod_1.z.unknown()),
231
+ assetTypes: zod_1.z.array(zod_1.z.object({}).partial()),
191
232
  filterDisapprovedAssets: zod_1.z.boolean().optional(),
192
233
  limit: zod_1.z
193
234
  .union([zod_1.z.literal(10), zod_1.z.literal(25), zod_1.z.literal(50), zod_1.z.literal(100)])
@@ -200,12 +241,14 @@ exports.getUsersUseridInventory = {
200
241
  errors: [
201
242
  {
202
243
  status: 400,
203
- description: "1: Invalid user Id.\n2: Invalid asset type Id.",
244
+ description: `1: Invalid user Id.
245
+ 2: Invalid asset type Id.`,
204
246
  schema: zod_1.z.void(),
205
247
  },
206
248
  {
207
249
  status: 403,
208
- description: "3: Insufficient permission.\n4: You are not authorized to view this user's inventory.",
250
+ description: `3: Insufficient permission.
251
+ 4: You are not authorized to view this user's inventory.`,
209
252
  schema: zod_1.z.void(),
210
253
  },
211
254
  ],
@@ -223,6 +266,26 @@ exports.getUsersUseridInventoryAssettypeid = {
223
266
  path: '/v2/users/:userId/inventory/:assetTypeId',
224
267
  baseUrl: 'https://inventory.roblox.com',
225
268
  requestFormat: 'json',
269
+ serializationMethod: {
270
+ userId: {
271
+ style: 'simple',
272
+ },
273
+ assetTypeId: {
274
+ style: 'simple',
275
+ },
276
+ limit: {
277
+ style: 'form',
278
+ explode: true,
279
+ },
280
+ cursor: {
281
+ style: 'form',
282
+ explode: true,
283
+ },
284
+ sortOrder: {
285
+ style: 'form',
286
+ explode: true,
287
+ },
288
+ },
226
289
  parameters: {
227
290
  userId: zod_1.z.number().int(),
228
291
  assetTypeId: zod_1.z.number().int(),
@@ -237,12 +300,14 @@ exports.getUsersUseridInventoryAssettypeid = {
237
300
  errors: [
238
301
  {
239
302
  status: 400,
240
- description: "1: Invalid user Id.\n2: Invalid asset type Id.",
303
+ description: `1: Invalid user Id.
304
+ 2: Invalid asset type Id.`,
241
305
  schema: zod_1.z.void(),
242
306
  },
243
307
  {
244
308
  status: 403,
245
- description: "3: Insufficient permission.\n4: You are not authorized to view this user's inventory.",
309
+ description: `3: Insufficient permission.
310
+ 4: You are not authorized to view this user's inventory.`,
246
311
  schema: zod_1.z.void(),
247
312
  },
248
313
  ],
@@ -8,6 +8,9 @@ export declare const postPresenceLastOnline: {
8
8
  path: string;
9
9
  baseUrl: string;
10
10
  requestFormat: "json";
11
+ serializationMethod: {
12
+ body: {};
13
+ };
11
14
  parameters: {
12
15
  body: z.ZodObject<{
13
16
  userIds: z.ZodArray<z.ZodNumber, "many">;
@@ -50,6 +53,9 @@ export declare const postPresenceRegisterAppPresence: {
50
53
  path: string;
51
54
  baseUrl: string;
52
55
  requestFormat: "json";
56
+ serializationMethod: {
57
+ body: {};
58
+ };
53
59
  parameters: {
54
60
  body: z.ZodObject<{
55
61
  location: z.ZodString;
@@ -81,6 +87,9 @@ export declare const postPresenceUsers: {
81
87
  path: string;
82
88
  baseUrl: string;
83
89
  requestFormat: "json";
90
+ serializationMethod: {
91
+ body: {};
92
+ };
84
93
  parameters: {
85
94
  body: z.ZodObject<{
86
95
  userIds: z.ZodArray<z.ZodNumber, "many">;
@@ -92,7 +101,7 @@ export declare const postPresenceUsers: {
92
101
  };
93
102
  response: z.ZodObject<{
94
103
  userPresences: z.ZodArray<z.ZodObject<{
95
- userPresenceType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
104
+ userPresenceType: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>;
96
105
  lastLocation: z.ZodString;
97
106
  placeId: z.ZodNumber;
98
107
  rootPlaceId: z.ZodNumber;
@@ -105,7 +114,7 @@ export declare const postPresenceUsers: {
105
114
  placeId: number;
106
115
  universeId: number;
107
116
  rootPlaceId: number;
108
- userPresenceType: 0 | 2 | 1 | 3;
117
+ userPresenceType: 0 | 2 | 1 | 3 | 4;
109
118
  lastLocation: string;
110
119
  lastOnline: string;
111
120
  gameId: string;
@@ -114,7 +123,7 @@ export declare const postPresenceUsers: {
114
123
  placeId: number;
115
124
  universeId: number;
116
125
  rootPlaceId: number;
117
- userPresenceType: 0 | 2 | 1 | 3;
126
+ userPresenceType: 0 | 2 | 1 | 3 | 4;
118
127
  lastLocation: string;
119
128
  lastOnline: string;
120
129
  gameId: string;
@@ -125,7 +134,7 @@ export declare const postPresenceUsers: {
125
134
  placeId: number;
126
135
  universeId: number;
127
136
  rootPlaceId: number;
128
- userPresenceType: 0 | 2 | 1 | 3;
137
+ userPresenceType: 0 | 2 | 1 | 3 | 4;
129
138
  lastLocation: string;
130
139
  lastOnline: string;
131
140
  gameId: string;
@@ -136,7 +145,7 @@ export declare const postPresenceUsers: {
136
145
  placeId: number;
137
146
  universeId: number;
138
147
  rootPlaceId: number;
139
- userPresenceType: 0 | 2 | 1 | 3;
148
+ userPresenceType: 0 | 2 | 1 | 3 | 4;
140
149
  lastLocation: string;
141
150
  lastOnline: string;
142
151
  gameId: string;
@@ -1,28 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.postPresenceUsers = exports.postPresenceRegisterAppPresence = exports.postPresenceLastOnline = void 0;
4
- var zod_1 = require("zod");
5
- var Roblox_Presence_Api_Models_Request_LastOnlineRequest = zod_1.z.object({
4
+ const zod_1 = require("zod");
5
+ const Roblox_Presence_Api_Models_Request_LastOnlineRequest = zod_1.z.object({
6
6
  userIds: zod_1.z.array(zod_1.z.number()),
7
7
  });
8
- var Roblox_Presence_Api_Models_Response_LastOnline = zod_1.z.object({
8
+ const Roblox_Presence_Api_Models_Response_LastOnline = zod_1.z.object({
9
9
  userId: zod_1.z.number().int(),
10
10
  lastOnline: zod_1.z.string().datetime(),
11
11
  });
12
- var Roblox_Presence_Api_Models_Response_LastOnlineResponse = zod_1.z.object({
12
+ const Roblox_Presence_Api_Models_Response_LastOnlineResponse = zod_1.z.object({
13
13
  lastOnlineTimestamps: zod_1.z.array(Roblox_Presence_Api_Models_Response_LastOnline),
14
14
  });
15
- var Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest = zod_1.z.object({
15
+ const Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest = zod_1.z.object({
16
16
  location: zod_1.z.string(),
17
17
  placeId: zod_1.z.number().int(),
18
18
  disconnect: zod_1.z.boolean(),
19
19
  });
20
- var Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
21
- var Roblox_Presence_Api_Models_Request_UserPresenceRequest = zod_1.z.object({
20
+ const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
21
+ const Roblox_Presence_Api_Models_Request_UserPresenceRequest = zod_1.z.object({
22
22
  userIds: zod_1.z.array(zod_1.z.number()),
23
23
  });
24
- var Roblox_Presence_Api_Models_Response_UserPresence = zod_1.z.object({
25
- userPresenceType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
24
+ const Roblox_Presence_Api_Models_Response_UserPresence = zod_1.z.object({
25
+ userPresenceType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4)]),
26
26
  lastLocation: zod_1.z.string(),
27
27
  placeId: zod_1.z.number().int(),
28
28
  rootPlaceId: zod_1.z.number().int(),
@@ -31,18 +31,18 @@ var Roblox_Presence_Api_Models_Response_UserPresence = zod_1.z.object({
31
31
  userId: zod_1.z.number().int(),
32
32
  lastOnline: zod_1.z.string().datetime(),
33
33
  });
34
- var Roblox_Presence_Api_Models_Response_UserPresencesResponse = zod_1.z.object({
34
+ const Roblox_Presence_Api_Models_Response_UserPresencesResponse = zod_1.z.object({
35
35
  userPresences: zod_1.z.array(Roblox_Presence_Api_Models_Response_UserPresence),
36
36
  });
37
- var schemas = {
38
- Roblox_Presence_Api_Models_Request_LastOnlineRequest: Roblox_Presence_Api_Models_Request_LastOnlineRequest,
39
- Roblox_Presence_Api_Models_Response_LastOnline: Roblox_Presence_Api_Models_Response_LastOnline,
40
- Roblox_Presence_Api_Models_Response_LastOnlineResponse: Roblox_Presence_Api_Models_Response_LastOnlineResponse,
41
- Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest: Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest,
42
- Roblox_Web_WebAPI_ApiEmptyResponseModel: Roblox_Web_WebAPI_ApiEmptyResponseModel,
43
- Roblox_Presence_Api_Models_Request_UserPresenceRequest: Roblox_Presence_Api_Models_Request_UserPresenceRequest,
44
- Roblox_Presence_Api_Models_Response_UserPresence: Roblox_Presence_Api_Models_Response_UserPresence,
45
- Roblox_Presence_Api_Models_Response_UserPresencesResponse: Roblox_Presence_Api_Models_Response_UserPresencesResponse,
37
+ const schemas = {
38
+ Roblox_Presence_Api_Models_Request_LastOnlineRequest,
39
+ Roblox_Presence_Api_Models_Response_LastOnline,
40
+ Roblox_Presence_Api_Models_Response_LastOnlineResponse,
41
+ Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest,
42
+ Roblox_Web_WebAPI_ApiEmptyResponseModel,
43
+ Roblox_Presence_Api_Models_Request_UserPresenceRequest,
44
+ Roblox_Presence_Api_Models_Response_UserPresence,
45
+ Roblox_Presence_Api_Models_Response_UserPresencesResponse,
46
46
  };
47
47
  /**
48
48
  * @api post https://presence.roblox.com/v1/presence/last-online
@@ -53,6 +53,9 @@ exports.postPresenceLastOnline = {
53
53
  path: '/v1/presence/last-online',
54
54
  baseUrl: 'https://presence.roblox.com',
55
55
  requestFormat: 'json',
56
+ serializationMethod: {
57
+ body: {},
58
+ },
56
59
  parameters: {
57
60
  body: Roblox_Presence_Api_Models_Request_LastOnlineRequest,
58
61
  },
@@ -68,6 +71,9 @@ exports.postPresenceRegisterAppPresence = {
68
71
  path: '/v1/presence/register-app-presence',
69
72
  baseUrl: 'https://presence.roblox.com',
70
73
  requestFormat: 'json',
74
+ serializationMethod: {
75
+ body: {},
76
+ },
71
77
  parameters: {
72
78
  body: Roblox_Presence_Api_Models_Request_RegisterAppPresenceRequest,
73
79
  },
@@ -75,12 +81,12 @@ exports.postPresenceRegisterAppPresence = {
75
81
  errors: [
76
82
  {
77
83
  status: 401,
78
- description: "0: Authorization has been denied for this request.",
84
+ description: `0: Authorization has been denied for this request.`,
79
85
  schema: zod_1.z.void(),
80
86
  },
81
87
  {
82
88
  status: 403,
83
- description: "0: Token Validation Failed",
89
+ description: `0: Token Validation Failed`,
84
90
  schema: zod_1.z.void(),
85
91
  },
86
92
  ],
@@ -94,6 +100,9 @@ exports.postPresenceUsers = {
94
100
  path: '/v1/presence/users',
95
101
  baseUrl: 'https://presence.roblox.com',
96
102
  requestFormat: 'json',
103
+ serializationMethod: {
104
+ body: {},
105
+ },
97
106
  parameters: {
98
107
  body: Roblox_Presence_Api_Models_Request_UserPresenceRequest,
99
108
  },
@@ -125,6 +125,20 @@ export declare const getMessages: {
125
125
  path: string;
126
126
  baseUrl: string;
127
127
  requestFormat: "json";
128
+ serializationMethod: {
129
+ pageNumber: {
130
+ style: string;
131
+ explode: boolean;
132
+ };
133
+ pageSize: {
134
+ style: string;
135
+ explode: boolean;
136
+ };
137
+ messageTab: {
138
+ style: string;
139
+ explode: boolean;
140
+ };
141
+ };
128
142
  parameters: {
129
143
  pageNumber: z.ZodOptional<z.ZodNumber>;
130
144
  pageSize: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -286,6 +300,11 @@ export declare const getMessagesMessageid: {
286
300
  path: string;
287
301
  baseUrl: string;
288
302
  requestFormat: "json";
303
+ serializationMethod: {
304
+ messageId: {
305
+ style: string;
306
+ };
307
+ };
289
308
  parameters: {
290
309
  messageId: z.ZodNumber;
291
310
  };
@@ -388,6 +407,11 @@ export declare const getMessagesUseridCanMessage: {
388
407
  path: string;
389
408
  baseUrl: string;
390
409
  requestFormat: "json";
410
+ serializationMethod: {
411
+ userId: {
412
+ style: string;
413
+ };
414
+ };
391
415
  parameters: {
392
416
  userId: z.ZodNumber;
393
417
  };
@@ -413,6 +437,9 @@ export declare const postMessagesArchive: {
413
437
  path: string;
414
438
  baseUrl: string;
415
439
  requestFormat: "json";
440
+ serializationMethod: {
441
+ body: {};
442
+ };
416
443
  parameters: {
417
444
  body: z.ZodObject<{
418
445
  messageIds: z.ZodArray<z.ZodNumber, "many">;
@@ -459,6 +486,9 @@ export declare const postMessagesMarkRead: {
459
486
  path: string;
460
487
  baseUrl: string;
461
488
  requestFormat: "json";
489
+ serializationMethod: {
490
+ body: {};
491
+ };
462
492
  parameters: {
463
493
  body: z.ZodObject<{
464
494
  messageIds: z.ZodArray<z.ZodNumber, "many">;
@@ -505,6 +535,9 @@ export declare const postMessagesMarkUnread: {
505
535
  path: string;
506
536
  baseUrl: string;
507
537
  requestFormat: "json";
538
+ serializationMethod: {
539
+ body: {};
540
+ };
508
541
  parameters: {
509
542
  body: z.ZodObject<{
510
543
  messageIds: z.ZodArray<z.ZodNumber, "many">;
@@ -551,6 +584,9 @@ export declare const postMessagesSend: {
551
584
  path: string;
552
585
  baseUrl: string;
553
586
  requestFormat: "json";
587
+ serializationMethod: {
588
+ body: {};
589
+ };
554
590
  parameters: {
555
591
  body: z.ZodObject<{
556
592
  userId: z.ZodNumber;
@@ -603,6 +639,9 @@ export declare const postMessagesUnarchive: {
603
639
  path: string;
604
640
  baseUrl: string;
605
641
  requestFormat: "json";
642
+ serializationMethod: {
643
+ body: {};
644
+ };
606
645
  parameters: {
607
646
  body: z.ZodObject<{
608
647
  messageIds: z.ZodArray<z.ZodNumber, "many">;