rozod 6.7.1 → 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 (87) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -115,6 +115,8 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponse = zod_1.z.object({
115
115
  fiatBasePriceId: zod_1.z.string(),
116
116
  fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
117
117
  audiences: zod_1.z.array(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)])),
118
+ demoModeEnabled: zod_1.z.boolean(),
119
+ demoModeLastChangedTime: zod_1.z.string().datetime({ offset: true }),
118
120
  });
119
121
  const Roblox_Api_Develop_Models_UniverseSettingsRequest = zod_1.z.object({
120
122
  name: zod_1.z.string(),
@@ -150,6 +152,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequest = zod_1.z.object({
150
152
  isRewardedOnDemandAdsAllowed: zod_1.z.boolean(),
151
153
  fiatBasePriceId: zod_1.z.string(),
152
154
  fiatProductChangeType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
155
+ demoModeEnabled: zod_1.z.boolean(),
153
156
  });
154
157
  const Roblox_Api_Develop_Models_PrivateServerDetailsResponse = zod_1.z.object({
155
158
  isEnabled: zod_1.z.boolean(),
@@ -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_Api_Develop_AssetVersion = z.object({
5
5
  Id: z.number().int(),
@@ -12,12 +12,11 @@ const Roblox_Api_Develop_AssetVersion = z.object({
12
12
  isEqualToCurrentPublishedVersion: z.boolean(),
13
13
  isPublished: z.boolean(),
14
14
  });
15
- const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_ =
16
- z.object({
17
- previousPageCursor: z.string(),
18
- nextPageCursor: z.string(),
19
- data: z.array(Roblox_Api_Develop_AssetVersion),
20
- });
15
+ const Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_ = z.object({
16
+ previousPageCursor: z.string(),
17
+ nextPageCursor: z.string(),
18
+ data: z.array(Roblox_Api_Develop_AssetVersion),
19
+ });
21
20
  const Roblox_Api_Develop_Models_PlaceModelV2 = z.object({
22
21
  maxPlayerCount: z.number().int(),
23
22
  socialSlotType: z.string(),
@@ -37,7 +36,7 @@ const Roblox_Api_Develop_Models_PlaceModelV2 = z.object({
37
36
  z.literal(14),
38
37
  z.literal(21),
39
38
  z.literal(22),
40
- ])
39
+ ]),
41
40
  ),
42
41
  maxPlayersAllowed: z.number().int(),
43
42
  created: z.string().datetime({ offset: true }),
@@ -58,12 +57,11 @@ const Roblox_Api_Develop_Models_PlaceConfigurationModelV2 = z.object({
58
57
  allowedGearTypes: z.array(z.string()),
59
58
  isAllGenresAllowed: z.boolean(),
60
59
  });
61
- const Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel =
62
- z.object({
63
- assetID: z.number().int(),
64
- assetTypeID: z.number().int(),
65
- isPlayerChoice: z.boolean(),
66
- });
60
+ const Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel = z.object({
61
+ assetID: z.number().int(),
62
+ assetTypeID: z.number().int(),
63
+ isPlayerChoice: z.boolean(),
64
+ });
67
65
  const Roblox_Web_Responses_Avatar_ScaleModel = z.object({
68
66
  height: z.number(),
69
67
  width: z.number(),
@@ -72,13 +70,12 @@ const Roblox_Web_Responses_Avatar_ScaleModel = z.object({
72
70
  proportion: z.number(),
73
71
  bodyType: z.number(),
74
72
  });
75
- const Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions =
76
- z.object({
77
- IsThirdPartyTeleportAllowed: z.boolean(),
78
- IsThirdPartyAssetAllowed: z.boolean(),
79
- IsThirdPartyPurchaseAllowed: z.boolean(),
80
- IsClientTeleportAllowed: z.boolean(),
81
- });
73
+ const Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions = z.object({
74
+ IsThirdPartyTeleportAllowed: z.boolean(),
75
+ IsThirdPartyAssetAllowed: z.boolean(),
76
+ IsThirdPartyPurchaseAllowed: z.boolean(),
77
+ IsClientTeleportAllowed: z.boolean(),
78
+ });
82
79
  const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
83
80
  allowPrivateServers: z.boolean(),
84
81
  privateServerPrice: z.number().int(),
@@ -109,124 +106,77 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
109
106
  z.literal(14),
110
107
  ]),
111
108
  playableDevices: z.array(
112
- z.union([
113
- z.literal(1),
114
- z.literal(2),
115
- z.literal(3),
116
- z.literal(4),
117
- z.literal(5),
118
- z.literal(6),
119
- ])
109
+ z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
120
110
  ),
121
111
  isForSale: z.boolean(),
122
112
  price: z.number().int(),
123
- universeAvatarAssetOverrides: z.array(
124
- Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel
125
- ),
113
+ universeAvatarAssetOverrides: z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
126
114
  universeAvatarMinScales: Roblox_Web_Responses_Avatar_ScaleModel,
127
115
  universeAvatarMaxScales: Roblox_Web_Responses_Avatar_ScaleModel,
128
116
  studioAccessToApisAllowed: z.boolean(),
129
- permissions:
130
- Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
117
+ permissions: Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
131
118
  optInRegions: z.array(z.union([z.literal(0), z.literal(1)])),
132
119
  optOutRegions: z.array(z.union([z.literal(0), z.literal(1)])),
133
120
  isMeshTextureApiAccessAllowed: z.boolean(),
134
121
  isRewardedOnDemandAdsAllowed: z.boolean(),
135
122
  fiatBasePriceId: z.string(),
136
- fiatProductChangeType: z.union([
137
- z.literal(0),
138
- z.literal(1),
139
- z.literal(2),
140
- z.literal(3),
141
- ]),
142
- audiences: z.array(
143
- z.union([
144
- z.literal(0),
145
- z.literal(1),
146
- z.literal(2),
147
- z.literal(3),
148
- z.literal(4),
149
- ])
150
- ),
123
+ fiatProductChangeType: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]),
124
+ audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
125
+ demoModeEnabled: z.boolean(),
151
126
  });
152
127
  const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = z.object({
153
- region: z.enum(["Unknown", "China"]),
128
+ region: z.enum(['Unknown', 'China']),
154
129
  status: z.string(),
155
130
  });
156
131
  const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
157
132
  allowPrivateServers: z.boolean(),
158
133
  privateServerPrice: z.number().int(),
159
- optInRegions: z.array(
160
- Roblox_Api_Develop_Models_UniverseModerationPolicyStatus
161
- ),
134
+ optInRegions: z.array(Roblox_Api_Develop_Models_UniverseModerationPolicyStatus),
162
135
  isMeshTextureApiAccessAllowed: z.boolean(),
163
136
  isRewardedOnDemandAdsAllowed: z.boolean(),
164
137
  id: z.number().int(),
165
138
  name: z.string(),
166
139
  description: z.string(),
167
- universeAvatarType: z.enum(["MorphToR6", "PlayerChoice", "MorphToR15"]),
168
- universeAnimationType: z.enum(["Standard", "PlayerChoice"]),
169
- universeCollisionType: z.enum(["InnerBox", "OuterBox"]),
170
- universeJointPositioningType: z.enum(["Standard", "ArtistIntent"]),
140
+ universeAvatarType: z.enum(['MorphToR6', 'PlayerChoice', 'MorphToR15']),
141
+ universeAnimationType: z.enum(['Standard', 'PlayerChoice']),
142
+ universeCollisionType: z.enum(['InnerBox', 'OuterBox']),
143
+ universeJointPositioningType: z.enum(['Standard', 'ArtistIntent']),
171
144
  engineAvatarSettings: z.string(),
172
145
  isArchived: z.boolean(),
173
146
  isFriendsOnly: z.boolean(),
174
147
  genre: z.enum([
175
- "All",
176
- "Tutorial",
177
- "Scary",
178
- "TownAndCity",
179
- "War",
180
- "Funny",
181
- "Fantasy",
182
- "Adventure",
183
- "SciFi",
184
- "Pirate",
185
- "FPS",
186
- "RPG",
187
- "Sports",
188
- "Ninja",
189
- "WildWest",
148
+ 'All',
149
+ 'Tutorial',
150
+ 'Scary',
151
+ 'TownAndCity',
152
+ 'War',
153
+ 'Funny',
154
+ 'Fantasy',
155
+ 'Adventure',
156
+ 'SciFi',
157
+ 'Pirate',
158
+ 'FPS',
159
+ 'RPG',
160
+ 'Sports',
161
+ 'Ninja',
162
+ 'WildWest',
190
163
  ]),
191
164
  playableDevices: z.array(
192
- z.union([
193
- z.literal(1),
194
- z.literal(2),
195
- z.literal(3),
196
- z.literal(4),
197
- z.literal(5),
198
- z.literal(6),
199
- ])
165
+ z.union([z.literal(1), z.literal(2), z.literal(3), z.literal(4), z.literal(5), z.literal(6)]),
200
166
  ),
201
167
  isForSale: z.boolean(),
202
168
  price: z.number().int(),
203
- universeAvatarAssetOverrides: z.array(
204
- Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel
205
- ),
169
+ universeAvatarAssetOverrides: z.array(Roblox_Platform_UniverseSettings_UniverseAvatarAssetOverrideResponseModel),
206
170
  universeAvatarMinScales: Roblox_Web_Responses_Avatar_ScaleModel,
207
171
  universeAvatarMaxScales: Roblox_Web_Responses_Avatar_ScaleModel,
208
172
  studioAccessToApisAllowed: z.boolean(),
209
- permissions:
210
- Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
173
+ permissions: Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
211
174
  isForSaleInFiat: z.boolean(),
212
175
  fiatBasePriceId: z.string(),
213
- fiatModerationStatus: z.enum([
214
- "Invalid",
215
- "NotModerated",
216
- "Pending",
217
- "Approved",
218
- "Rejected",
219
- ]),
220
- eligibleForTextChatMigration: z.boolean(),
221
- audiences: z.array(
222
- z.union([
223
- z.literal(0),
224
- z.literal(1),
225
- z.literal(2),
226
- z.literal(3),
227
- z.literal(4),
228
- ])
229
- ),
176
+ fiatModerationStatus: z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
177
+ audiences: z.array(z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3), z.literal(4)])),
178
+ demoModeEnabled: z.boolean(),
179
+ demoModeLastChangedTime: z.string().datetime({ offset: true }),
230
180
  });
231
181
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = z.object({});
232
182
 
@@ -241,42 +191,41 @@ or granted by package permission.
241
191
  * @param sortOrder Sort by version number, default is desc.
242
192
  */
243
193
  export const getAssetsIdVersions = endpoint({
244
- method: "GET",
245
- path: "/v2/assets/:id/versions",
246
- baseUrl: "https://develop.roblox.com",
247
- requestFormat: "json",
194
+ method: 'GET',
195
+ path: '/v2/assets/:id/versions',
196
+ baseUrl: 'https://develop.roblox.com',
197
+ requestFormat: 'json',
248
198
  serializationMethod: {
249
199
  id: {
250
- style: "simple",
200
+ style: 'simple',
251
201
  },
252
- "Roblox-Place-Id": {
253
- style: "simple",
202
+ 'Roblox-Place-Id': {
203
+ style: 'simple',
254
204
  },
255
205
  limit: {
256
- style: "form",
206
+ style: 'form',
257
207
  explode: true,
258
208
  },
259
209
  cursor: {
260
- style: "form",
210
+ style: 'form',
261
211
  explode: true,
262
212
  },
263
213
  sortOrder: {
264
- style: "form",
214
+ style: 'form',
265
215
  explode: true,
266
216
  },
267
217
  },
268
218
  parameters: {
269
219
  id: z.number().int(),
270
- "Roblox-Place-Id": z.number().int(),
220
+ 'Roblox-Place-Id': z.number().int(),
271
221
  limit: z
272
222
  .union([z.literal(10), z.literal(25), z.literal(50), z.literal(100)])
273
223
  .optional()
274
224
  .default(10),
275
225
  cursor: z.string().optional(),
276
- sortOrder: z.enum(["Asc", "Desc"]).optional().default("Desc"),
226
+ sortOrder: z.enum(['Asc', 'Desc']).optional().default('Desc'),
277
227
  },
278
- response:
279
- Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_,
228
+ response: Roblox_Web_WebAPI_Models_ApiPageResponse_Roblox_Api_Develop_AssetVersion_,
280
229
  errors: [],
281
230
  });
282
231
  /**
@@ -285,13 +234,13 @@ export const getAssetsIdVersions = endpoint({
285
234
  * @param placeId The place id for the place to be updated.
286
235
  */
287
236
  export const getPlacesPlaceid = endpoint({
288
- method: "GET",
289
- path: "/v2/places/:placeId",
290
- baseUrl: "https://develop.roblox.com",
291
- requestFormat: "json",
237
+ method: 'GET',
238
+ path: '/v2/places/:placeId',
239
+ baseUrl: 'https://develop.roblox.com',
240
+ requestFormat: 'json',
292
241
  serializationMethod: {
293
242
  placeId: {
294
- style: "simple",
243
+ style: 'simple',
295
244
  },
296
245
  },
297
246
  parameters: {
@@ -320,14 +269,14 @@ export const getPlacesPlaceid = endpoint({
320
269
  * @param placeId The place id for the place to be updated.
321
270
  */
322
271
  export const patchPlacesPlaceid = endpoint({
323
- method: "PATCH",
324
- path: "/v2/places/:placeId",
325
- baseUrl: "https://develop.roblox.com",
326
- requestFormat: "json",
272
+ method: 'PATCH',
273
+ path: '/v2/places/:placeId',
274
+ baseUrl: 'https://develop.roblox.com',
275
+ requestFormat: 'json',
327
276
  serializationMethod: {
328
277
  body: {},
329
278
  placeId: {
330
- style: "simple",
279
+ style: 'simple',
331
280
  },
332
281
  },
333
282
  parameters: {
@@ -358,16 +307,16 @@ export const patchPlacesPlaceid = endpoint({
358
307
  * @param gameId the Guid of the game instance System.Guid
359
308
  */
360
309
  export const deleteTeamtestPlaceid = endpoint({
361
- method: "DELETE",
362
- path: "/v2/teamtest/:placeId",
363
- baseUrl: "https://develop.roblox.com",
364
- requestFormat: "json",
310
+ method: 'DELETE',
311
+ path: '/v2/teamtest/:placeId',
312
+ baseUrl: 'https://develop.roblox.com',
313
+ requestFormat: 'json',
365
314
  serializationMethod: {
366
315
  placeId: {
367
- style: "simple",
316
+ style: 'simple',
368
317
  },
369
318
  gameId: {
370
- style: "form",
319
+ style: 'form',
371
320
  explode: true,
372
321
  },
373
322
  },
@@ -395,14 +344,14 @@ V2 Contains data for avatar scale and asset override.
395
344
  * @param universeId The universeId.
396
345
  */
397
346
  export const patchUniversesUniverseidConfiguration = endpoint({
398
- method: "PATCH",
399
- path: "/v2/universes/:universeId/configuration",
400
- baseUrl: "https://develop.roblox.com",
401
- requestFormat: "json",
347
+ method: 'PATCH',
348
+ path: '/v2/universes/:universeId/configuration',
349
+ baseUrl: 'https://develop.roblox.com',
350
+ requestFormat: 'json',
402
351
  serializationMethod: {
403
352
  body: {},
404
353
  universeId: {
405
- style: "simple",
354
+ style: 'simple',
406
355
  },
407
356
  },
408
357
  parameters: {
@@ -120,6 +120,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = zod_1.z.object({
120
120
  fiatBasePriceId: zod_1.z.string(),
121
121
  fiatProductChangeType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
122
122
  audiences: zod_1.z.array(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)])),
123
+ demoModeEnabled: zod_1.z.boolean(),
123
124
  });
124
125
  const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = zod_1.z.object({
125
126
  region: zod_1.z.enum(['Unknown', 'China']),
@@ -169,8 +170,9 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
169
170
  isForSaleInFiat: zod_1.z.boolean(),
170
171
  fiatBasePriceId: zod_1.z.string(),
171
172
  fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
172
- eligibleForTextChatMigration: zod_1.z.boolean(),
173
173
  audiences: zod_1.z.array(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)])),
174
+ demoModeEnabled: zod_1.z.boolean(),
175
+ demoModeLastChangedTime: zod_1.z.string().datetime({ offset: true }),
174
176
  });
175
177
  const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
176
178
  /**
@@ -1,8 +1,8 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = z.object({
5
- dataGranularity: z.enum(["Hourly", "Daily", "Monthly"]),
5
+ dataGranularity: z.enum(['Hourly', 'Daily', 'Monthly']),
6
6
  data: z.array(z.array(z.number())),
7
7
  });
8
8
 
@@ -15,30 +15,30 @@ const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = z.object({
15
15
  * @param EndTime
16
16
  */
17
17
  export const getUniversesUniverseidStats = endpoint({
18
- method: "GET",
19
- path: "/v1/universes/:universeId/stats",
20
- baseUrl: "https://economycreatorstats.roblox.com",
21
- requestFormat: "json",
18
+ method: 'GET',
19
+ path: '/v1/universes/:universeId/stats',
20
+ baseUrl: 'https://economycreatorstats.roblox.com',
21
+ requestFormat: 'json',
22
22
  serializationMethod: {
23
23
  universeId: {
24
- style: "simple",
24
+ style: 'simple',
25
25
  },
26
26
  Type: {
27
- style: "form",
27
+ style: 'form',
28
28
  explode: true,
29
29
  },
30
30
  StartTime: {
31
- style: "form",
31
+ style: 'form',
32
32
  explode: true,
33
33
  },
34
34
  EndTime: {
35
- style: "form",
35
+ style: 'form',
36
36
  explode: true,
37
37
  },
38
38
  },
39
39
  parameters: {
40
40
  universeId: z.number().int(),
41
- Type: z.enum(["PremiumUpsells", "PremiumVisits"]),
41
+ Type: z.enum(['PremiumUpsells', 'PremiumVisits']),
42
42
  StartTime: z.string().datetime({ offset: true }),
43
43
  EndTime: z.string().datetime({ offset: true }),
44
44
  },
@@ -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_Economy_CurrencyResponse = z.object({
5
5
  robux: z.number().int(),
@@ -11,10 +11,10 @@ const Roblox_Web_Responses_Economy_CurrencyResponse = z.object({
11
11
  * @description Currency can only be retrieved for the authenticated user.
12
12
  */
13
13
  export const getUserCurrency = endpoint({
14
- method: "GET",
15
- path: "/v1/user/currency",
16
- baseUrl: "https://economy.roblox.com",
17
- requestFormat: "json",
14
+ method: 'GET',
15
+ path: '/v1/user/currency',
16
+ baseUrl: 'https://economy.roblox.com',
17
+ requestFormat: 'json',
18
18
  response: z.object({ robux: z.number().int() }),
19
19
  errors: [
20
20
  {
@@ -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_EngagementPayouts_Api_PayoutResponseModel = z.object({
5
5
  engagementScore: z.number(),
@@ -16,21 +16,21 @@ const Roblox_EngagementPayouts_Api_PayoutResponseModel = z.object({
16
16
  * @param endDate The last date in the range, specified as yyyy-MM-dd.
17
17
  */
18
18
  export const getUniversePayoutHistory = endpoint({
19
- method: "GET",
20
- path: "/v1/universe-payout-history",
21
- baseUrl: "https://engagementpayouts.roblox.com",
22
- requestFormat: "json",
19
+ method: 'GET',
20
+ path: '/v1/universe-payout-history',
21
+ baseUrl: 'https://engagementpayouts.roblox.com',
22
+ requestFormat: 'json',
23
23
  serializationMethod: {
24
24
  universeId: {
25
- style: "form",
25
+ style: 'form',
26
26
  explode: true,
27
27
  },
28
28
  startDate: {
29
- style: "form",
29
+ style: 'form',
30
30
  explode: true,
31
31
  },
32
32
  endDate: {
33
- style: "form",
33
+ style: 'form',
34
34
  explode: true,
35
35
  },
36
36
  },
@@ -1,19 +1,18 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_Followings_Api_Models_UserFollowingUniverseResponse = z.object({
5
5
  universeId: z.number().int(),
6
6
  userId: z.number().int(),
7
7
  });
8
- const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse =
9
- z.object({
10
- UniverseId: z.number().int(),
11
- UserId: z.number().int(),
12
- CanFollow: z.boolean(),
13
- IsFollowing: z.boolean(),
14
- FollowingCountByType: z.number().int(),
15
- FollowingLimitByType: z.number().int(),
16
- });
8
+ const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse = z.object({
9
+ UniverseId: z.number().int(),
10
+ UserId: z.number().int(),
11
+ CanFollow: z.boolean(),
12
+ IsFollowing: z.boolean(),
13
+ FollowingCountByType: z.number().int(),
14
+ FollowingLimitByType: z.number().int(),
15
+ });
17
16
 
18
17
  /**
19
18
  * @api GET https://followings.roblox.com/v1/users/:userId/universes
@@ -21,13 +20,13 @@ const Roblox_Followings_Api_Models_UserFollowingUniverseStatusResponse =
21
20
  * @param userId
22
21
  */
23
22
  export const getUsersUseridUniverses = endpoint({
24
- method: "GET",
25
- path: "/v1/users/:userId/universes",
26
- baseUrl: "https://followings.roblox.com",
27
- requestFormat: "json",
23
+ method: 'GET',
24
+ path: '/v1/users/:userId/universes',
25
+ baseUrl: 'https://followings.roblox.com',
26
+ requestFormat: 'json',
28
27
  serializationMethod: {
29
28
  userId: {
30
- style: "simple",
29
+ style: 'simple',
31
30
  },
32
31
  },
33
32
  parameters: {
@@ -52,16 +51,16 @@ export const getUsersUseridUniverses = endpoint({
52
51
  * @param universeId
53
52
  */
54
53
  export const postUsersUseridUniversesUniverseid = endpoint({
55
- method: "POST",
56
- path: "/v1/users/:userId/universes/:universeId",
57
- baseUrl: "https://followings.roblox.com",
58
- requestFormat: "json",
54
+ method: 'POST',
55
+ path: '/v1/users/:userId/universes/:universeId',
56
+ baseUrl: 'https://followings.roblox.com',
57
+ requestFormat: 'json',
59
58
  serializationMethod: {
60
59
  userId: {
61
- style: "simple",
60
+ style: 'simple',
62
61
  },
63
62
  universeId: {
64
- style: "simple",
63
+ style: 'simple',
65
64
  },
66
65
  },
67
66
  parameters: {
@@ -92,16 +91,16 @@ export const postUsersUseridUniversesUniverseid = endpoint({
92
91
  * @param universeId
93
92
  */
94
93
  export const deleteUsersUseridUniversesUniverseid = endpoint({
95
- method: "DELETE",
96
- path: "/v1/users/:userId/universes/:universeId",
97
- baseUrl: "https://followings.roblox.com",
98
- requestFormat: "json",
94
+ method: 'DELETE',
95
+ path: '/v1/users/:userId/universes/:universeId',
96
+ baseUrl: 'https://followings.roblox.com',
97
+ requestFormat: 'json',
99
98
  serializationMethod: {
100
99
  userId: {
101
- style: "simple",
100
+ style: 'simple',
102
101
  },
103
102
  universeId: {
104
- style: "simple",
103
+ style: 'simple',
105
104
  },
106
105
  },
107
106
  parameters: {
@@ -128,16 +127,16 @@ export const deleteUsersUseridUniversesUniverseid = endpoint({
128
127
  * @param universeId
129
128
  */
130
129
  export const getUsersUseridUniversesUniverseidStatus = endpoint({
131
- method: "GET",
132
- path: "/v1/users/:userId/universes/:universeId/status",
133
- baseUrl: "https://followings.roblox.com",
134
- requestFormat: "json",
130
+ method: 'GET',
131
+ path: '/v1/users/:userId/universes/:universeId/status',
132
+ baseUrl: 'https://followings.roblox.com',
133
+ requestFormat: 'json',
135
134
  serializationMethod: {
136
135
  userId: {
137
- style: "simple",
136
+ style: 'simple',
138
137
  },
139
138
  universeId: {
140
- style: "simple",
139
+ style: 'simple',
141
140
  },
142
141
  },
143
142
  parameters: {