rozod 6.8.0 → 6.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  2. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  3. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  4. package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
  5. package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
  6. package/lib/endpoints/authv1.d.ts +479 -521
  7. package/lib/endpoints/authv2.d.ts +209 -221
  8. package/lib/endpoints/authv3.d.ts +32 -35
  9. package/lib/endpoints/avatarv1.d.ts +112 -117
  10. package/lib/endpoints/avatarv2.d.ts +71 -76
  11. package/lib/endpoints/avatarv3.d.ts +27 -33
  12. package/lib/endpoints/badgesv1.d.ts +92 -99
  13. package/lib/endpoints/catalogv1.d.ts +207 -233
  14. package/lib/endpoints/catalogv2.d.ts +81 -119
  15. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  16. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  17. package/lib/endpoints/contactsv1.d.ts +18 -20
  18. package/lib/endpoints/developv1.d.ts +230 -293
  19. package/lib/endpoints/developv2.d.ts +84 -137
  20. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  21. package/lib/endpoints/economyv1.d.ts +6 -6
  22. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  23. package/lib/endpoints/followingsv1.d.ts +33 -34
  24. package/lib/endpoints/followingsv2.d.ts +9 -9
  25. package/lib/endpoints/friendsv1.d.ts +200 -237
  26. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  27. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  28. package/lib/endpoints/gamesv1.d.ts +181 -143
  29. package/lib/endpoints/gamesv2.d.ts +161 -169
  30. package/lib/endpoints/groupsv1.d.ts +938 -988
  31. package/lib/endpoints/groupsv2.d.ts +259 -278
  32. package/lib/endpoints/inventoryv1.d.ts +91 -122
  33. package/lib/endpoints/inventoryv2.d.ts +163 -180
  34. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  35. package/lib/endpoints/localev1.d.ts +47 -48
  36. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  37. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  38. package/lib/endpoints/notificationsv2.d.ts +144 -158
  39. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  40. package/lib/endpoints/presencev1.d.ts +7 -12
  41. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  42. package/lib/endpoints/publishv1.d.ts +32 -32
  43. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  44. package/lib/endpoints/thumbnailsv1.d.ts +325 -326
  45. package/lib/endpoints/thumbnailsv1.js +24 -24
  46. package/lib/endpoints/tradesv1.d.ts +92 -104
  47. package/lib/endpoints/tradesv2.d.ts +81 -84
  48. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  49. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  50. package/lib/endpoints/usersv1.d.ts +110 -114
  51. package/lib/index.d.ts +56 -1
  52. package/lib/index.js +159 -3
  53. package/package.json +2 -2
@@ -786,10 +786,10 @@ exports.getPlacesGameicons = (0, __1.endpoint)({
786
786
  * @api GET https://thumbnails.roblox.com/v1/users/avatar
787
787
  * @summary Get Avatar Full body shots for the given CSV of userIds
788
788
  * @param userIds CSV for the userIds to get avatar full body shots
789
+ * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
789
790
  * @param size The thumbnail size, formatted widthxheight
790
791
  * @param format The thumbnail format
791
792
  * @param isCircular The circle thumbnail output parameter, true or false
792
- * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
793
793
  */
794
794
  exports.getUsersAvatar = (0, __1.endpoint)({
795
795
  method: 'GET',
@@ -800,25 +800,26 @@ exports.getUsersAvatar = (0, __1.endpoint)({
800
800
  userIds: {
801
801
  style: 'form',
802
802
  },
803
- size: {
803
+ includeBackground: {
804
804
  style: 'form',
805
805
  explode: true,
806
806
  },
807
- format: {
807
+ size: {
808
808
  style: 'form',
809
809
  explode: true,
810
810
  },
811
- isCircular: {
811
+ format: {
812
812
  style: 'form',
813
813
  explode: true,
814
814
  },
815
- includeBackground: {
815
+ isCircular: {
816
816
  style: 'form',
817
817
  explode: true,
818
818
  },
819
819
  },
820
820
  parameters: {
821
821
  userIds: zod_1.z.array(zod_1.z.number()),
822
+ includeBackground: zod_1.z.boolean().optional(),
822
823
  size: zod_1.z
823
824
  .enum([
824
825
  '30x30',
@@ -840,7 +841,6 @@ exports.getUsersAvatar = (0, __1.endpoint)({
840
841
  .default('30x30'),
841
842
  format: zod_1.z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
842
843
  isCircular: zod_1.z.union([zod_1.z.literal(true), zod_1.z.literal(false)]).optional(),
843
- includeBackground: zod_1.z.boolean().optional(),
844
844
  },
845
845
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
846
846
  errors: [
@@ -885,10 +885,10 @@ exports.getUsersAvatar3d = (0, __1.endpoint)({
885
885
  * @api GET https://thumbnails.roblox.com/v1/users/avatar-bust
886
886
  * @summary Get Avatar Busts for the given CSV of userIds
887
887
  * @param userIds CSV for the userIds to get avatar headshots
888
+ * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
888
889
  * @param size The thumbnail size, formatted widthxheight
889
890
  * @param format The thumbnail format
890
891
  * @param isCircular The circle thumbnail output parameter, true or false
891
- * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
892
892
  */
893
893
  exports.getUsersAvatarBust = (0, __1.endpoint)({
894
894
  method: 'GET',
@@ -899,32 +899,32 @@ exports.getUsersAvatarBust = (0, __1.endpoint)({
899
899
  userIds: {
900
900
  style: 'form',
901
901
  },
902
- size: {
902
+ includeBackground: {
903
903
  style: 'form',
904
904
  explode: true,
905
905
  },
906
- format: {
906
+ size: {
907
907
  style: 'form',
908
908
  explode: true,
909
909
  },
910
- isCircular: {
910
+ format: {
911
911
  style: 'form',
912
912
  explode: true,
913
913
  },
914
- includeBackground: {
914
+ isCircular: {
915
915
  style: 'form',
916
916
  explode: true,
917
917
  },
918
918
  },
919
919
  parameters: {
920
920
  userIds: zod_1.z.array(zod_1.z.number()),
921
+ includeBackground: zod_1.z.boolean().optional(),
921
922
  size: zod_1.z
922
923
  .enum(['48x48', '50x50', '60x60', '75x75', '100x100', '150x150', '180x180', '352x352', '420x420'])
923
924
  .optional()
924
925
  .default('48x48'),
925
926
  format: zod_1.z.enum(['Png', 'Webp']).optional().default('Png'),
926
927
  isCircular: zod_1.z.union([zod_1.z.literal(true), zod_1.z.literal(false)]).optional(),
927
- includeBackground: zod_1.z.boolean().optional(),
928
928
  },
929
929
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
930
930
  errors: [
@@ -942,10 +942,10 @@ exports.getUsersAvatarBust = (0, __1.endpoint)({
942
942
  * @api GET https://thumbnails.roblox.com/v1/users/avatar-headshot
943
943
  * @summary Get Avatar Headshots for the given CSV of userIds
944
944
  * @param userIds CSV for the userIds to get avatar headshots
945
+ * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
945
946
  * @param size The thumbnail size, formatted widthxheight
946
947
  * @param format The thumbnail format
947
948
  * @param isCircular The circle thumbnail output parameter, true or false
948
- * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
949
949
  */
950
950
  exports.getUsersAvatarHeadshot = (0, __1.endpoint)({
951
951
  method: 'GET',
@@ -956,25 +956,26 @@ exports.getUsersAvatarHeadshot = (0, __1.endpoint)({
956
956
  userIds: {
957
957
  style: 'form',
958
958
  },
959
- size: {
959
+ includeBackground: {
960
960
  style: 'form',
961
961
  explode: true,
962
962
  },
963
- format: {
963
+ size: {
964
964
  style: 'form',
965
965
  explode: true,
966
966
  },
967
- isCircular: {
967
+ format: {
968
968
  style: 'form',
969
969
  explode: true,
970
970
  },
971
- includeBackground: {
971
+ isCircular: {
972
972
  style: 'form',
973
973
  explode: true,
974
974
  },
975
975
  },
976
976
  parameters: {
977
977
  userIds: zod_1.z.array(zod_1.z.number()),
978
+ includeBackground: zod_1.z.boolean().optional(),
978
979
  size: zod_1.z
979
980
  .enum([
980
981
  '48x48',
@@ -993,7 +994,6 @@ exports.getUsersAvatarHeadshot = (0, __1.endpoint)({
993
994
  .default('48x48'),
994
995
  format: zod_1.z.enum(['Png', 'Jpeg', 'Webp']).optional().default('Png'),
995
996
  isCircular: zod_1.z.union([zod_1.z.literal(true), zod_1.z.literal(false)]).optional(),
996
- includeBackground: zod_1.z.boolean().optional(),
997
997
  },
998
998
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
999
999
  errors: [
@@ -1033,10 +1033,10 @@ exports.getUsersOutfit3d = (0, __1.endpoint)({
1033
1033
  * @api GET https://thumbnails.roblox.com/v1/users/outfits
1034
1034
  * @summary Get outfits for the given CSV of userOutfitIds
1035
1035
  * @param userOutfitIds CSV for the userOutfitIds to get user outfits
1036
+ * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
1036
1037
  * @param size The thumbnail size, formatted widthxheight
1037
1038
  * @param format The thumbnail format
1038
1039
  * @param isCircular The circle thumbnail output parameter, true or false
1039
- * @param includeBackground Whether to include a background in the thumbnail (defaults to false)
1040
1040
  */
1041
1041
  exports.getUsersOutfits = (0, __1.endpoint)({
1042
1042
  method: 'GET',
@@ -1047,29 +1047,29 @@ exports.getUsersOutfits = (0, __1.endpoint)({
1047
1047
  userOutfitIds: {
1048
1048
  style: 'form',
1049
1049
  },
1050
- size: {
1050
+ includeBackground: {
1051
1051
  style: 'form',
1052
1052
  explode: true,
1053
1053
  },
1054
- format: {
1054
+ size: {
1055
1055
  style: 'form',
1056
1056
  explode: true,
1057
1057
  },
1058
- isCircular: {
1058
+ format: {
1059
1059
  style: 'form',
1060
1060
  explode: true,
1061
1061
  },
1062
- includeBackground: {
1062
+ isCircular: {
1063
1063
  style: 'form',
1064
1064
  explode: true,
1065
1065
  },
1066
1066
  },
1067
1067
  parameters: {
1068
1068
  userOutfitIds: zod_1.z.array(zod_1.z.number()),
1069
+ includeBackground: zod_1.z.boolean().optional(),
1069
1070
  size: zod_1.z.enum(['150x150', '420x420']).optional().default('150x150'),
1070
1071
  format: zod_1.z.enum(['Png', 'Webp']).optional().default('Png'),
1071
1072
  isCircular: zod_1.z.union([zod_1.z.literal(true), zod_1.z.literal(false)]).optional(),
1072
- includeBackground: zod_1.z.boolean().optional(),
1073
1073
  },
1074
1074
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Web_Responses_Thumbnails_ThumbnailResponse_,
1075
1075
  errors: [
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_Web_Responses_Users_SkinnyUserResponse = z.object({
5
5
  id: z.number().int(),
@@ -14,7 +14,7 @@ const Roblox_Trades_Api_UserAssetResponse = z.object({
14
14
  recentAveragePrice: z.number().int(),
15
15
  originalPrice: z.number().int(),
16
16
  assetStock: z.number().int(),
17
- membershipType: z.enum(["None", "BC", "TBC", "OBC", "RobloxPremium"]),
17
+ membershipType: z.enum(['None', 'BC', 'TBC', 'OBC', 'RobloxPremium']),
18
18
  });
19
19
  const Roblox_Trades_Api_TradeOfferResponse = z.object({
20
20
  user: Roblox_Web_Responses_Users_SkinnyUserResponse,
@@ -29,17 +29,17 @@ const Roblox_Trades_Api_TradeDetailResponse = z.object({
29
29
  expiration: z.string().datetime({ offset: true }),
30
30
  isActive: z.boolean(),
31
31
  status: z.enum([
32
- "Unknown",
33
- "Open",
34
- "Pending",
35
- "Completed",
36
- "Expired",
37
- "Declined",
38
- "RejectedDueToError",
39
- "Countered",
40
- "Processing",
41
- "InterventionRequired",
42
- "TwoStepVerificationRequired",
32
+ 'Unknown',
33
+ 'Open',
34
+ 'Pending',
35
+ 'Completed',
36
+ 'Expired',
37
+ 'Declined',
38
+ 'RejectedDueToError',
39
+ 'Countered',
40
+ 'Processing',
41
+ 'InterventionRequired',
42
+ 'TwoStepVerificationRequired',
43
43
  ]),
44
44
  });
45
45
  const Roblox_Trades_Api_TradeResponse = z.object({
@@ -49,25 +49,24 @@ const Roblox_Trades_Api_TradeResponse = z.object({
49
49
  expiration: z.string().datetime({ offset: true }),
50
50
  isActive: z.boolean(),
51
51
  status: z.enum([
52
- "Unknown",
53
- "Open",
54
- "Pending",
55
- "Completed",
56
- "Expired",
57
- "Declined",
58
- "RejectedDueToError",
59
- "Countered",
60
- "Processing",
61
- "InterventionRequired",
62
- "TwoStepVerificationRequired",
52
+ 'Unknown',
53
+ 'Open',
54
+ 'Pending',
55
+ 'Completed',
56
+ 'Expired',
57
+ 'Declined',
58
+ 'RejectedDueToError',
59
+ 'Countered',
60
+ 'Processing',
61
+ 'InterventionRequired',
62
+ 'TwoStepVerificationRequired',
63
63
  ]),
64
64
  });
65
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Trades_Api_TradeResponse_ =
66
- z.object({
67
- previousPageCursor: z.string(),
68
- nextPageCursor: z.string(),
69
- data: z.array(Roblox_Trades_Api_TradeResponse),
70
- });
65
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Trades_Api_TradeResponse_ = z.object({
66
+ previousPageCursor: z.string(),
67
+ nextPageCursor: z.string(),
68
+ data: z.array(Roblox_Trades_Api_TradeResponse),
69
+ });
71
70
  const Roblox_Trades_Api_TradeCountResponse = z.object({
72
71
  count: z.number().int(),
73
72
  });
@@ -80,14 +79,14 @@ const Roblox_Trades_Api_TradeMetadata = z.object({
80
79
  const Roblox_Trades_Api_CanTradeResponse = z.object({
81
80
  canTrade: z.boolean(),
82
81
  status: z.enum([
83
- "Unknown",
84
- "CanTrade",
85
- "CannotTradeWithSelf",
86
- "SenderCannotTrade",
87
- "ReceiverCannotTrade",
88
- "SenderPrivacyTooStrict",
89
- "UsersCannotTrade",
90
- "TradeAccepterNeedsFriction",
82
+ 'Unknown',
83
+ 'CanTrade',
84
+ 'CannotTradeWithSelf',
85
+ 'SenderCannotTrade',
86
+ 'ReceiverCannotTrade',
87
+ 'SenderPrivacyTooStrict',
88
+ 'UsersCannotTrade',
89
+ 'TradeAccepterNeedsFriction',
91
90
  ]),
92
91
  });
93
92
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
@@ -107,13 +106,13 @@ const Roblox_Trades_Api_NewTradeResponse = z.object({ id: z.number().int() });
107
106
  * @param tradeId The trade id.
108
107
  */
109
108
  export const getTradesTradeid = endpoint({
110
- method: "GET",
111
- path: "/v1/trades/:tradeId",
112
- baseUrl: "https://trades.roblox.com",
113
- requestFormat: "json",
109
+ method: 'GET',
110
+ path: '/v1/trades/:tradeId',
111
+ baseUrl: 'https://trades.roblox.com',
112
+ requestFormat: 'json',
114
113
  serializationMethod: {
115
114
  tradeId: {
116
- style: "simple",
115
+ style: 'simple',
117
116
  },
118
117
  },
119
118
  parameters: {
@@ -146,13 +145,13 @@ export const getTradesTradeid = endpoint({
146
145
  * @param tradeId The trade id.
147
146
  */
148
147
  export const postTradesTradeidAccept = endpoint({
149
- method: "POST",
150
- path: "/v1/trades/:tradeId/accept",
151
- baseUrl: "https://trades.roblox.com",
152
- requestFormat: "json",
148
+ method: 'POST',
149
+ path: '/v1/trades/:tradeId/accept',
150
+ baseUrl: 'https://trades.roblox.com',
151
+ requestFormat: 'json',
153
152
  serializationMethod: {
154
153
  tradeId: {
155
- style: "simple",
154
+ style: 'simple',
156
155
  },
157
156
  },
158
157
  parameters: {
@@ -191,14 +190,14 @@ export const postTradesTradeidAccept = endpoint({
191
190
  * @param tradeId The trade id.
192
191
  */
193
192
  export const postTradesTradeidCounter = endpoint({
194
- method: "POST",
195
- path: "/v1/trades/:tradeId/counter",
196
- baseUrl: "https://trades.roblox.com",
197
- requestFormat: "json",
193
+ method: 'POST',
194
+ path: '/v1/trades/:tradeId/counter',
195
+ baseUrl: 'https://trades.roblox.com',
196
+ requestFormat: 'json',
198
197
  serializationMethod: {
199
198
  body: {},
200
199
  tradeId: {
201
- style: "simple",
200
+ style: 'simple',
202
201
  },
203
202
  },
204
203
  parameters: {
@@ -254,13 +253,13 @@ export const postTradesTradeidCounter = endpoint({
254
253
  * @param tradeId The trade id.
255
254
  */
256
255
  export const postTradesTradeidDecline = endpoint({
257
- method: "POST",
258
- path: "/v1/trades/:tradeId/decline",
259
- baseUrl: "https://trades.roblox.com",
260
- requestFormat: "json",
256
+ method: 'POST',
257
+ path: '/v1/trades/:tradeId/decline',
258
+ baseUrl: 'https://trades.roblox.com',
259
+ requestFormat: 'json',
261
260
  serializationMethod: {
262
261
  tradeId: {
263
- style: "simple",
262
+ style: 'simple',
264
263
  },
265
264
  },
266
265
  parameters: {
@@ -298,43 +297,37 @@ export const postTradesTradeidDecline = endpoint({
298
297
  * @param sortOrder Sorted by trade creation date
299
298
  */
300
299
  export const getTradesTradestatustype = endpoint({
301
- method: "GET",
302
- path: "/v1/trades/:tradeStatusType",
303
- baseUrl: "https://trades.roblox.com",
304
- requestFormat: "json",
300
+ method: 'GET',
301
+ path: '/v1/trades/:tradeStatusType',
302
+ baseUrl: 'https://trades.roblox.com',
303
+ requestFormat: 'json',
305
304
  serializationMethod: {
306
305
  tradeStatusType: {
307
- style: "simple",
306
+ style: 'simple',
308
307
  },
309
308
  limit: {
310
- style: "form",
309
+ style: 'form',
311
310
  explode: true,
312
311
  },
313
312
  cursor: {
314
- style: "form",
313
+ style: 'form',
315
314
  explode: true,
316
315
  },
317
316
  sortOrder: {
318
- style: "form",
317
+ style: 'form',
319
318
  explode: true,
320
319
  },
321
320
  },
322
321
  parameters: {
323
- tradeStatusType: z.union([
324
- z.literal(1),
325
- z.literal(2),
326
- z.literal(3),
327
- z.literal(4),
328
- ]),
322
+ tradeStatusType: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
329
323
  limit: z
330
324
  .union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
331
325
  .optional()
332
326
  .default(10),
333
327
  cursor: z.string().optional(),
334
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Asc"),
328
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Asc'),
335
329
  },
336
- response:
337
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Trades_Api_TradeResponse_,
330
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Trades_Api_TradeResponse_,
338
331
  errors: [
339
332
  {
340
333
  status: 400,
@@ -353,22 +346,17 @@ Inbound is the only accepted tradeStatusType.
353
346
  * @param tradeStatusType The trade status type to fetch a total count for.
354
347
  */
355
348
  export const getTradesTradestatustypeCount = endpoint({
356
- method: "GET",
357
- path: "/v1/trades/:tradeStatusType/count",
358
- baseUrl: "https://trades.roblox.com",
359
- requestFormat: "json",
349
+ method: 'GET',
350
+ path: '/v1/trades/:tradeStatusType/count',
351
+ baseUrl: 'https://trades.roblox.com',
352
+ requestFormat: 'json',
360
353
  serializationMethod: {
361
354
  tradeStatusType: {
362
- style: "simple",
355
+ style: 'simple',
363
356
  },
364
357
  },
365
358
  parameters: {
366
- tradeStatusType: z.union([
367
- z.literal(1),
368
- z.literal(2),
369
- z.literal(3),
370
- z.literal(4),
371
- ]),
359
+ tradeStatusType: z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4)]),
372
360
  },
373
361
  response: z.object({ count: z.number().int() }),
374
362
  errors: [
@@ -388,10 +376,10 @@ export const getTradesTradestatustypeCount = endpoint({
388
376
  Expires Outdated Inbound Trades for User
389
377
  */
390
378
  export const postTradesExpireOutdated = endpoint({
391
- method: "POST",
392
- path: "/v1/trades/expire-outdated",
393
- baseUrl: "https://trades.roblox.com",
394
- requestFormat: "json",
379
+ method: 'POST',
380
+ path: '/v1/trades/expire-outdated',
381
+ baseUrl: 'https://trades.roblox.com',
382
+ requestFormat: 'json',
395
383
  response: z.object({}),
396
384
  errors: [
397
385
  {
@@ -409,10 +397,10 @@ export const postTradesExpireOutdated = endpoint({
409
397
  * @summary Gets metadata about the trade system.
410
398
  */
411
399
  export const getTradesMetadata = endpoint({
412
- method: "GET",
413
- path: "/v1/trades/metadata",
414
- baseUrl: "https://trades.roblox.com",
415
- requestFormat: "json",
400
+ method: 'GET',
401
+ path: '/v1/trades/metadata',
402
+ baseUrl: 'https://trades.roblox.com',
403
+ requestFormat: 'json',
416
404
  response: Roblox_Trades_Api_TradeMetadata,
417
405
  errors: [
418
406
  {
@@ -427,10 +415,10 @@ export const getTradesMetadata = endpoint({
427
415
  * @param body The trade request.
428
416
  */
429
417
  export const postTradesSend = endpoint({
430
- method: "POST",
431
- path: "/v1/trades/send",
432
- baseUrl: "https://trades.roblox.com",
433
- requestFormat: "json",
418
+ method: 'POST',
419
+ path: '/v1/trades/send',
420
+ baseUrl: 'https://trades.roblox.com',
421
+ requestFormat: 'json',
434
422
  serializationMethod: {
435
423
  body: {},
436
424
  },
@@ -484,13 +472,13 @@ export const postTradesSend = endpoint({
484
472
  * @param userId The other user's id.
485
473
  */
486
474
  export const getUsersUseridCanTradeWith = endpoint({
487
- method: "GET",
488
- path: "/v1/users/:userId/can-trade-with",
489
- baseUrl: "https://trades.roblox.com",
490
- requestFormat: "json",
475
+ method: 'GET',
476
+ path: '/v1/users/:userId/can-trade-with',
477
+ baseUrl: 'https://trades.roblox.com',
478
+ requestFormat: 'json',
491
479
  serializationMethod: {
492
480
  userId: {
493
- style: "simple",
481
+ style: 'simple',
494
482
  },
495
483
  },
496
484
  parameters: {