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
@@ -216,6 +216,9 @@ export declare const postAvatarSetBodyColors: {
216
216
  path: string;
217
217
  baseUrl: string;
218
218
  requestFormat: "json";
219
+ serializationMethod: {
220
+ body: {};
221
+ };
219
222
  parameters: {
220
223
  body: z.ZodObject<{
221
224
  headColor3: z.ZodString;
@@ -263,6 +266,9 @@ export declare const postAvatarSetWearingAssets: {
263
266
  baseUrl: string;
264
267
  description: string;
265
268
  requestFormat: "json";
269
+ serializationMethod: {
270
+ body: {};
271
+ };
266
272
  parameters: {
267
273
  body: z.ZodObject<{
268
274
  assets: z.ZodArray<z.ZodObject<{
@@ -423,6 +429,11 @@ export declare const getAvatarUsersUseridAvatar: {
423
429
  baseUrl: string;
424
430
  description: string;
425
431
  requestFormat: "json";
432
+ serializationMethod: {
433
+ userId: {
434
+ style: string;
435
+ };
436
+ };
426
437
  parameters: {
427
438
  userId: z.ZodNumber;
428
439
  };
@@ -637,6 +648,12 @@ export declare const patchOutfitsUseroutfitid: {
637
648
  baseUrl: string;
638
649
  description: string;
639
650
  requestFormat: "json";
651
+ serializationMethod: {
652
+ body: {};
653
+ userOutfitId: {
654
+ style: string;
655
+ };
656
+ };
640
657
  parameters: {
641
658
  body: z.ZodObject<{
642
659
  name: z.ZodString;
@@ -805,6 +822,12 @@ export declare const postOutfitsUseroutfitidUpdate: {
805
822
  baseUrl: string;
806
823
  description: string;
807
824
  requestFormat: "json";
825
+ serializationMethod: {
826
+ body: {};
827
+ userOutfitId: {
828
+ style: string;
829
+ };
830
+ };
808
831
  parameters: {
809
832
  body: z.ZodObject<{
810
833
  name: z.ZodString;
@@ -960,6 +983,9 @@ export declare const postOutfitsCreate: {
960
983
  baseUrl: string;
961
984
  description: string;
962
985
  requestFormat: "json";
986
+ serializationMethod: {
987
+ body: {};
988
+ };
963
989
  parameters: {
964
990
  body: z.ZodObject<{
965
991
  name: z.ZodString;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.postOutfitsCreate = exports.postOutfitsUseroutfitidUpdate = exports.patchOutfitsUseroutfitid = exports.getAvatarUsersUseridAvatar = exports.postAvatarSetWearingAssets = exports.postAvatarSetBodyColors = exports.getAvatarAvatar = void 0;
4
- var zod_1 = require("zod");
5
- var Roblox_Web_Responses_Avatar_ScaleModel = zod_1.z.object({
4
+ const zod_1 = require("zod");
5
+ const Roblox_Web_Responses_Avatar_ScaleModel = zod_1.z.object({
6
6
  height: zod_1.z.number(),
7
7
  width: zod_1.z.number(),
8
8
  head: zod_1.z.number(),
@@ -10,7 +10,7 @@ var Roblox_Web_Responses_Avatar_ScaleModel = zod_1.z.object({
10
10
  proportion: zod_1.z.number(),
11
11
  bodyType: zod_1.z.number(),
12
12
  });
13
- var Roblox_Api_Avatar_Models_BodyColors3Model = zod_1.z.object({
13
+ const Roblox_Api_Avatar_Models_BodyColors3Model = zod_1.z.object({
14
14
  headColor3: zod_1.z.string(),
15
15
  torsoColor3: zod_1.z.string(),
16
16
  rightArmColor3: zod_1.z.string(),
@@ -18,28 +18,28 @@ var Roblox_Api_Avatar_Models_BodyColors3Model = zod_1.z.object({
18
18
  rightLegColor3: zod_1.z.string(),
19
19
  leftLegColor3: zod_1.z.string(),
20
20
  });
21
- var Roblox_Api_Avatar_Models_AssetTypeModel = zod_1.z.object({
21
+ const Roblox_Api_Avatar_Models_AssetTypeModel = zod_1.z.object({
22
22
  id: zod_1.z.number().int(),
23
23
  name: zod_1.z.string(),
24
24
  });
25
- var Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
25
+ const Roblox_Api_Avatar_Models_AssetMetaModelV1 = zod_1.z.object({
26
26
  order: zod_1.z.number().int(),
27
27
  puffiness: zod_1.z.number(),
28
28
  version: zod_1.z.number().int(),
29
29
  });
30
- var Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
30
+ const Roblox_Api_Avatar_Models_AssetModelV2 = zod_1.z.object({
31
31
  id: zod_1.z.number().int(),
32
32
  name: zod_1.z.string(),
33
33
  assetType: Roblox_Api_Avatar_Models_AssetTypeModel,
34
34
  currentVersionId: zod_1.z.number().int(),
35
35
  meta: Roblox_Api_Avatar_Models_AssetMetaModelV1,
36
36
  });
37
- var Roblox_Api_Avatar_Models_EmoteResponseModel = zod_1.z.object({
37
+ const Roblox_Api_Avatar_Models_EmoteResponseModel = zod_1.z.object({
38
38
  assetId: zod_1.z.number().int(),
39
39
  assetName: zod_1.z.string(),
40
40
  position: zod_1.z.number().int(),
41
41
  });
42
- var Roblox_Api_Avatar_Models_AvatarModelV3 = zod_1.z.object({
42
+ const Roblox_Api_Avatar_Models_AvatarModelV3 = zod_1.z.object({
43
43
  scales: Roblox_Web_Responses_Avatar_ScaleModel,
44
44
  playerAvatarType: zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(3)]),
45
45
  bodyColor3s: Roblox_Api_Avatar_Models_BodyColors3Model,
@@ -48,7 +48,7 @@ var Roblox_Api_Avatar_Models_AvatarModelV3 = zod_1.z.object({
48
48
  defaultPantsApplied: zod_1.z.boolean(),
49
49
  emotes: zod_1.z.array(Roblox_Api_Avatar_Models_EmoteResponseModel),
50
50
  });
51
- var Roblox_Platform_Avatar_BodyColorsModelV2 = zod_1.z.object({
51
+ const Roblox_Platform_Avatar_BodyColorsModelV2 = zod_1.z.object({
52
52
  headColor3: zod_1.z.string(),
53
53
  torsoColor3: zod_1.z.string(),
54
54
  rightArmColor3: zod_1.z.string(),
@@ -56,22 +56,22 @@ var Roblox_Platform_Avatar_BodyColorsModelV2 = zod_1.z.object({
56
56
  rightLegColor3: zod_1.z.string(),
57
57
  leftLegColor3: zod_1.z.string(),
58
58
  });
59
- var Roblox_Api_Avatar_Models_AvatarApiSuccessResponse = zod_1.z.object({
59
+ const Roblox_Api_Avatar_Models_AvatarApiSuccessResponse = zod_1.z.object({
60
60
  success: zod_1.z.boolean(),
61
61
  });
62
- var Roblox_Api_Avatar_Models_AssetWearModel = zod_1.z.object({
62
+ const Roblox_Api_Avatar_Models_AssetWearModel = zod_1.z.object({
63
63
  id: zod_1.z.number().int(),
64
64
  meta: Roblox_Api_Avatar_Models_AssetMetaModelV1,
65
65
  });
66
- var Roblox_Api_Avatar_Models_WearRequestModel = zod_1.z.object({
66
+ const Roblox_Api_Avatar_Models_WearRequestModel = zod_1.z.object({
67
67
  assets: zod_1.z.array(Roblox_Api_Avatar_Models_AssetWearModel),
68
68
  });
69
- var Roblox_Api_Avatar_Models_WearResponseModel = zod_1.z.object({
69
+ const Roblox_Api_Avatar_Models_WearResponseModel = zod_1.z.object({
70
70
  invalidAssets: zod_1.z.array(Roblox_Api_Avatar_Models_AssetModelV2),
71
71
  invalidAssetIds: zod_1.z.array(zod_1.z.number()),
72
72
  success: zod_1.z.boolean(),
73
73
  });
74
- var Roblox_Api_Avatar_Models_BodyColorsModel = zod_1.z.object({
74
+ const Roblox_Api_Avatar_Models_BodyColorsModel = zod_1.z.object({
75
75
  headColorId: zod_1.z.number().int(),
76
76
  torsoColorId: zod_1.z.number().int(),
77
77
  rightArmColorId: zod_1.z.number().int(),
@@ -79,7 +79,7 @@ var Roblox_Api_Avatar_Models_BodyColorsModel = zod_1.z.object({
79
79
  rightLegColorId: zod_1.z.number().int(),
80
80
  leftLegColorId: zod_1.z.number().int(),
81
81
  });
82
- var Roblox_Api_Avatar_Models_OutfitUpdateModelV2 = zod_1.z.object({
82
+ const Roblox_Api_Avatar_Models_OutfitUpdateModelV2 = zod_1.z.object({
83
83
  name: zod_1.z.string(),
84
84
  bodyColors: Roblox_Api_Avatar_Models_BodyColorsModel,
85
85
  assets: zod_1.z.array(Roblox_Api_Avatar_Models_AssetWearModel),
@@ -87,29 +87,29 @@ var Roblox_Api_Avatar_Models_OutfitUpdateModelV2 = zod_1.z.object({
87
87
  playerAvatarType: zod_1.z.string(),
88
88
  outfitType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2)]),
89
89
  });
90
- var Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
91
- var Roblox_Api_Avatar_Models_OutfitModel = zod_1.z.object({
90
+ const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
91
+ const Roblox_Api_Avatar_Models_OutfitModel = zod_1.z.object({
92
92
  id: zod_1.z.number().int(),
93
93
  name: zod_1.z.string(),
94
94
  isEditable: zod_1.z.boolean(),
95
95
  });
96
- var schemas = {
97
- Roblox_Web_Responses_Avatar_ScaleModel: Roblox_Web_Responses_Avatar_ScaleModel,
98
- Roblox_Api_Avatar_Models_BodyColors3Model: Roblox_Api_Avatar_Models_BodyColors3Model,
99
- Roblox_Api_Avatar_Models_AssetTypeModel: Roblox_Api_Avatar_Models_AssetTypeModel,
100
- Roblox_Api_Avatar_Models_AssetMetaModelV1: Roblox_Api_Avatar_Models_AssetMetaModelV1,
101
- Roblox_Api_Avatar_Models_AssetModelV2: Roblox_Api_Avatar_Models_AssetModelV2,
102
- Roblox_Api_Avatar_Models_EmoteResponseModel: Roblox_Api_Avatar_Models_EmoteResponseModel,
103
- Roblox_Api_Avatar_Models_AvatarModelV3: Roblox_Api_Avatar_Models_AvatarModelV3,
104
- Roblox_Platform_Avatar_BodyColorsModelV2: Roblox_Platform_Avatar_BodyColorsModelV2,
105
- Roblox_Api_Avatar_Models_AvatarApiSuccessResponse: Roblox_Api_Avatar_Models_AvatarApiSuccessResponse,
106
- Roblox_Api_Avatar_Models_AssetWearModel: Roblox_Api_Avatar_Models_AssetWearModel,
107
- Roblox_Api_Avatar_Models_WearRequestModel: Roblox_Api_Avatar_Models_WearRequestModel,
108
- Roblox_Api_Avatar_Models_WearResponseModel: Roblox_Api_Avatar_Models_WearResponseModel,
109
- Roblox_Api_Avatar_Models_BodyColorsModel: Roblox_Api_Avatar_Models_BodyColorsModel,
110
- Roblox_Api_Avatar_Models_OutfitUpdateModelV2: Roblox_Api_Avatar_Models_OutfitUpdateModelV2,
111
- Roblox_Web_WebAPI_ApiEmptyResponseModel: Roblox_Web_WebAPI_ApiEmptyResponseModel,
112
- Roblox_Api_Avatar_Models_OutfitModel: Roblox_Api_Avatar_Models_OutfitModel,
96
+ const schemas = {
97
+ Roblox_Web_Responses_Avatar_ScaleModel,
98
+ Roblox_Api_Avatar_Models_BodyColors3Model,
99
+ Roblox_Api_Avatar_Models_AssetTypeModel,
100
+ Roblox_Api_Avatar_Models_AssetMetaModelV1,
101
+ Roblox_Api_Avatar_Models_AssetModelV2,
102
+ Roblox_Api_Avatar_Models_EmoteResponseModel,
103
+ Roblox_Api_Avatar_Models_AvatarModelV3,
104
+ Roblox_Platform_Avatar_BodyColorsModelV2,
105
+ Roblox_Api_Avatar_Models_AvatarApiSuccessResponse,
106
+ Roblox_Api_Avatar_Models_AssetWearModel,
107
+ Roblox_Api_Avatar_Models_WearRequestModel,
108
+ Roblox_Api_Avatar_Models_WearResponseModel,
109
+ Roblox_Api_Avatar_Models_BodyColorsModel,
110
+ Roblox_Api_Avatar_Models_OutfitUpdateModelV2,
111
+ Roblox_Web_WebAPI_ApiEmptyResponseModel,
112
+ Roblox_Api_Avatar_Models_OutfitModel,
113
113
  };
114
114
  /**
115
115
  * @api get https://avatar.roblox.com/v2/avatar/avatar
@@ -123,7 +123,7 @@ exports.getAvatarAvatar = {
123
123
  errors: [
124
124
  {
125
125
  status: 401,
126
- description: "0: Authorization has been denied for this request.",
126
+ description: `0: Authorization has been denied for this request.`,
127
127
  schema: zod_1.z.void(),
128
128
  },
129
129
  ],
@@ -137,6 +137,9 @@ exports.postAvatarSetBodyColors = {
137
137
  path: '/v2/avatar/set-body-colors',
138
138
  baseUrl: 'https://avatar.roblox.com',
139
139
  requestFormat: 'json',
140
+ serializationMethod: {
141
+ body: {},
142
+ },
140
143
  parameters: {
141
144
  body: Roblox_Platform_Avatar_BodyColorsModelV2,
142
145
  },
@@ -144,12 +147,12 @@ exports.postAvatarSetBodyColors = {
144
147
  errors: [
145
148
  {
146
149
  status: 401,
147
- description: "0: Authorization has been denied for this request.",
150
+ description: `0: Authorization has been denied for this request.`,
148
151
  schema: zod_1.z.void(),
149
152
  },
150
153
  {
151
154
  status: 403,
152
- description: "0: Token Validation Failed",
155
+ description: `0: Token Validation Failed`,
153
156
  schema: zod_1.z.void(),
154
157
  },
155
158
  ],
@@ -162,8 +165,12 @@ exports.postAvatarSetWearingAssets = {
162
165
  method: 'post',
163
166
  path: '/v2/avatar/set-wearing-assets',
164
167
  baseUrl: 'https://avatar.roblox.com',
165
- description: "Only allows items that you own, are not expired, and are wearable asset types.\nAny assets being worn before this method is called are automatically removed.",
168
+ description: `Only allows items that you own, are not expired, and are wearable asset types.
169
+ Any assets being worn before this method is called are automatically removed.`,
166
170
  requestFormat: 'json',
171
+ serializationMethod: {
172
+ body: {},
173
+ },
167
174
  parameters: {
168
175
  body: Roblox_Api_Avatar_Models_WearRequestModel,
169
176
  },
@@ -171,22 +178,23 @@ exports.postAvatarSetWearingAssets = {
171
178
  errors: [
172
179
  {
173
180
  status: 400,
174
- description: "3: Invalid assetId\n5: Meta does not apply to specified asset type",
181
+ description: `3: Invalid assetId
182
+ 5: Meta does not apply to specified asset type`,
175
183
  schema: zod_1.z.void(),
176
184
  },
177
185
  {
178
186
  status: 401,
179
- description: "0: Authorization has been denied for this request.",
187
+ description: `0: Authorization has been denied for this request.`,
180
188
  schema: zod_1.z.void(),
181
189
  },
182
190
  {
183
191
  status: 403,
184
- description: "0: Token Validation Failed",
192
+ description: `0: Token Validation Failed`,
185
193
  schema: zod_1.z.void(),
186
194
  },
187
195
  {
188
196
  status: 500,
189
- description: "2: Failed to wear asset.",
197
+ description: `2: Failed to wear asset.`,
190
198
  schema: zod_1.z.void(),
191
199
  },
192
200
  ],
@@ -199,8 +207,13 @@ exports.getAvatarUsersUseridAvatar = {
199
207
  method: 'get',
200
208
  path: '/v2/avatar/users/:userId/avatar',
201
209
  baseUrl: 'https://avatar.roblox.com',
202
- description: "Includes assets, bodycolors, and playerAvatarType.",
210
+ description: `Includes assets, bodycolors, and playerAvatarType.`,
203
211
  requestFormat: 'json',
212
+ serializationMethod: {
213
+ userId: {
214
+ style: 'simple',
215
+ },
216
+ },
204
217
  parameters: {
205
218
  userId: zod_1.z.number().int(),
206
219
  },
@@ -208,7 +221,8 @@ exports.getAvatarUsersUseridAvatar = {
208
221
  errors: [
209
222
  {
210
223
  status: 400,
211
- description: "1: The specified user does not exist.\n2: An account for the given userId does not exist!",
224
+ description: `1: The specified user does not exist.
225
+ 2: An account for the given userId does not exist!`,
212
226
  schema: zod_1.z.void(),
213
227
  },
214
228
  ],
@@ -222,8 +236,15 @@ exports.patchOutfitsUseroutfitid = {
222
236
  method: 'patch',
223
237
  path: '/v2/outfits/:userOutfitId',
224
238
  baseUrl: 'https://avatar.roblox.com',
225
- description: "Fails if the user does not own any of the assetIds or if they are not wearable asset types.\nAccepts partial updates.",
239
+ description: `Fails if the user does not own any of the assetIds or if they are not wearable asset types.
240
+ Accepts partial updates.`,
226
241
  requestFormat: 'json',
242
+ serializationMethod: {
243
+ body: {},
244
+ userOutfitId: {
245
+ style: 'simple',
246
+ },
247
+ },
227
248
  parameters: {
228
249
  body: Roblox_Api_Avatar_Models_OutfitUpdateModelV2,
229
250
  userOutfitId: zod_1.z.number().int(),
@@ -232,22 +253,29 @@ exports.patchOutfitsUseroutfitid = {
232
253
  errors: [
233
254
  {
234
255
  status: 400,
235
- description: "1: The specified userOutfit does not exist!\n1: Must provide both assetIds and bodyColors in to update outfit contents.\n3: Body colors must be valid BrickColor IDs\n4: Invalid outfit name\n5: Asset is not wearable by you\n8: Invalid Player Avatar Type. Valid types are R6 and R15\n9: Invalid user outfit.",
256
+ description: `1: The specified userOutfit does not exist!
257
+ 1: Must provide both assetIds and bodyColors in to update outfit contents.
258
+ 3: Body colors must be valid BrickColor IDs
259
+ 4: Invalid outfit name
260
+ 5: Asset is not wearable by you
261
+ 8: Invalid Player Avatar Type. Valid types are R6 and R15
262
+ 9: Invalid user outfit.`,
236
263
  schema: zod_1.z.void(),
237
264
  },
238
265
  {
239
266
  status: 401,
240
- description: "0: Authorization has been denied for this request.",
267
+ description: `0: Authorization has been denied for this request.`,
241
268
  schema: zod_1.z.void(),
242
269
  },
243
270
  {
244
271
  status: 403,
245
- description: "0: Token Validation Failed\n2: You don&#x27;t have permission to update this outfit.",
272
+ description: `0: Token Validation Failed
273
+ 2: You don&#x27;t have permission to update this outfit.`,
246
274
  schema: zod_1.z.void(),
247
275
  },
248
276
  {
249
277
  status: 500,
250
- description: "6: An error occurred while trying to update the outfit",
278
+ description: `6: An error occurred while trying to update the outfit`,
251
279
  schema: zod_1.z.void(),
252
280
  },
253
281
  ],
@@ -261,8 +289,14 @@ exports.postOutfitsUseroutfitidUpdate = {
261
289
  method: 'post',
262
290
  path: '/v2/outfits/:userOutfitId/update',
263
291
  baseUrl: 'https://avatar.roblox.com',
264
- description: "Fails if the user does not own any of the assetIds or if they are not wearable asset types.",
292
+ description: `Fails if the user does not own any of the assetIds or if they are not wearable asset types.`,
265
293
  requestFormat: 'json',
294
+ serializationMethod: {
295
+ body: {},
296
+ userOutfitId: {
297
+ style: 'simple',
298
+ },
299
+ },
266
300
  parameters: {
267
301
  body: Roblox_Api_Avatar_Models_OutfitUpdateModelV2,
268
302
  userOutfitId: zod_1.z.number().int(),
@@ -271,22 +305,28 @@ exports.postOutfitsUseroutfitidUpdate = {
271
305
  errors: [
272
306
  {
273
307
  status: 400,
274
- description: "1: The specified userOutfit does not exist!\n3: Body colors must be valid BrickColor IDs\n4: Invalid outfit name\n5: Asset is not wearable by you\n7: Invalid assetIds\n8: Invalid Player Avatar Type. Valid types are R6 and R15",
308
+ description: `1: The specified userOutfit does not exist!
309
+ 3: Body colors must be valid BrickColor IDs
310
+ 4: Invalid outfit name
311
+ 5: Asset is not wearable by you
312
+ 7: Invalid assetIds
313
+ 8: Invalid Player Avatar Type. Valid types are R6 and R15`,
275
314
  schema: zod_1.z.void(),
276
315
  },
277
316
  {
278
317
  status: 401,
279
- description: "0: Authorization has been denied for this request.",
318
+ description: `0: Authorization has been denied for this request.`,
280
319
  schema: zod_1.z.void(),
281
320
  },
282
321
  {
283
322
  status: 403,
284
- description: "0: Token Validation Failed\n2: You don&#x27;t have permission to update this outfit.",
323
+ description: `0: Token Validation Failed
324
+ 2: You don&#x27;t have permission to update this outfit.`,
285
325
  schema: zod_1.z.void(),
286
326
  },
287
327
  {
288
328
  status: 500,
289
- description: "6: An error occurred while trying to update the outfit",
329
+ description: `6: An error occurred while trying to update the outfit`,
290
330
  schema: zod_1.z.void(),
291
331
  },
292
332
  ],
@@ -299,8 +339,12 @@ exports.postOutfitsCreate = {
299
339
  method: 'post',
300
340
  path: '/v2/outfits/create',
301
341
  baseUrl: 'https://avatar.roblox.com',
302
- description: "Fails if any of the assetIds are not owned by the user, or not wearable types.\nThe name property of the request is optional as one will be auto-generated when the request has a null name.",
342
+ description: `Fails if any of the assetIds are not owned by the user, or not wearable types.
343
+ The name property of the request is optional as one will be auto-generated when the request has a null name.`,
303
344
  requestFormat: 'json',
345
+ serializationMethod: {
346
+ body: {},
347
+ },
304
348
  parameters: {
305
349
  body: Roblox_Api_Avatar_Models_OutfitUpdateModelV2,
306
350
  },
@@ -308,22 +352,28 @@ exports.postOutfitsCreate = {
308
352
  errors: [
309
353
  {
310
354
  status: 400,
311
- description: "3: Body colors must be valid BrickColor IDs\n4: Invalid outfit name\n5: Asset is not wearable by you and was not added to the outfit\n7: Invalid Player Avatar Type. Valid types are R6 and R15\n8: Invalid assetIds\n9: Meta does not apply to specified asset type",
355
+ description: `3: Body colors must be valid BrickColor IDs
356
+ 4: Invalid outfit name
357
+ 5: Asset is not wearable by you and was not added to the outfit
358
+ 7: Invalid Player Avatar Type. Valid types are R6 and R15
359
+ 8: Invalid assetIds
360
+ 9: Meta does not apply to specified asset type`,
312
361
  schema: zod_1.z.void(),
313
362
  },
314
363
  {
315
364
  status: 401,
316
- description: "0: Authorization has been denied for this request.",
365
+ description: `0: Authorization has been denied for this request.`,
317
366
  schema: zod_1.z.void(),
318
367
  },
319
368
  {
320
369
  status: 403,
321
- description: "0: Token Validation Failed\n1: You already have the maximum number of outfits",
370
+ description: `0: Token Validation Failed
371
+ 1: You already have the maximum number of outfits`,
322
372
  schema: zod_1.z.void(),
323
373
  },
324
374
  {
325
375
  status: 500,
326
- description: "6: An error occurred while creating the outfit",
376
+ description: `6: An error occurred while creating the outfit`,
327
377
  schema: zod_1.z.void(),
328
378
  },
329
379
  ],
@@ -10,6 +10,12 @@ export declare const patchOutfitsUseroutfitid: {
10
10
  baseUrl: string;
11
11
  description: string;
12
12
  requestFormat: "json";
13
+ serializationMethod: {
14
+ body: {};
15
+ userOutfitId: {
16
+ style: string;
17
+ };
18
+ };
13
19
  parameters: {
14
20
  body: z.ZodObject<{
15
21
  name: z.ZodString;
@@ -176,6 +182,11 @@ export declare const getOutfitsUseroutfitidDetails: {
176
182
  path: string;
177
183
  baseUrl: string;
178
184
  requestFormat: "json";
185
+ serializationMethod: {
186
+ userOutfitId: {
187
+ style: string;
188
+ };
189
+ };
179
190
  parameters: {
180
191
  userOutfitId: z.ZodNumber;
181
192
  };
@@ -373,6 +384,12 @@ export declare const postOutfitsUseroutfitidUpdate: {
373
384
  baseUrl: string;
374
385
  description: string;
375
386
  requestFormat: "json";
387
+ serializationMethod: {
388
+ body: {};
389
+ userOutfitId: {
390
+ style: string;
391
+ };
392
+ };
376
393
  parameters: {
377
394
  body: z.ZodObject<{
378
395
  name: z.ZodString;
@@ -528,6 +545,9 @@ export declare const postOutfitsCreate: {
528
545
  baseUrl: string;
529
546
  description: string;
530
547
  requestFormat: "json";
548
+ serializationMethod: {
549
+ body: {};
550
+ };
531
551
  parameters: {
532
552
  body: z.ZodObject<{
533
553
  name: z.ZodString;