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
@@ -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_Notifications_Models_ChromeManifestModel = z.object({
5
5
  name: z.string(),
@@ -17,34 +17,30 @@ const Roblox_Api_Notifications_Models_UserPushDestination = z.object({
17
17
  userPushNotificationDestinationId: z.number().int(),
18
18
  application: z.string(),
19
19
  platform: z.enum([
20
- "ChromeOnDesktop",
21
- "AndroidNative",
22
- "FirefoxOnDesktop",
23
- "IOSNative",
24
- "AndroidAmazon",
25
- "IOSTencent",
26
- "AndroidTencentService",
27
- "IOSPushKit",
20
+ 'ChromeOnDesktop',
21
+ 'AndroidNative',
22
+ 'FirefoxOnDesktop',
23
+ 'IOSNative',
24
+ 'AndroidAmazon',
25
+ 'IOSTencent',
26
+ 'AndroidTencentService',
27
+ 'IOSPushKit',
28
28
  ]),
29
29
  });
30
- const Roblox_Api_Notifications_Models_GetCurrentPushDestinationResponseModel =
31
- z.object({
32
- destination: Roblox_Api_Notifications_Models_UserPushDestination,
33
- statusMessage: z.string(),
34
- });
35
- const Roblox_Api_Notifications_Models_GetPushDestinationsResponseModel =
36
- z.object({
37
- destinations: z.array(Roblox_Api_Notifications_Models_UserPushDestination),
38
- statusMessage: z.string(),
39
- });
40
- const Roblox_Api_Notifications_Models_PushNotificationClientMetadata = z.object(
41
- {
42
- notificationId: z.string().uuid(),
43
- type: z.string(),
44
- detail: z.object({}),
45
- fallbackDelivered: z.boolean(),
46
- }
47
- );
30
+ const Roblox_Api_Notifications_Models_GetCurrentPushDestinationResponseModel = z.object({
31
+ destination: Roblox_Api_Notifications_Models_UserPushDestination,
32
+ statusMessage: z.string(),
33
+ });
34
+ const Roblox_Api_Notifications_Models_GetPushDestinationsResponseModel = z.object({
35
+ destinations: z.array(Roblox_Api_Notifications_Models_UserPushDestination),
36
+ statusMessage: z.string(),
37
+ });
38
+ const Roblox_Api_Notifications_Models_PushNotificationClientMetadata = z.object({
39
+ notificationId: z.string().uuid(),
40
+ type: z.string(),
41
+ detail: z.object({}),
42
+ fallbackDelivered: z.boolean(),
43
+ });
48
44
  const Roblox_Api_Notifications_Models_GetMetadataResponseModel = z.object({
49
45
  metadata: Roblox_Api_Notifications_Models_PushNotificationClientMetadata,
50
46
  statusMessage: z.string(),
@@ -57,43 +53,41 @@ const Roblox_Api_Notifications_Models_GameUpdateNotificationModel = z.object({
57
53
  content: z.string(),
58
54
  universeName: z.string(),
59
55
  });
60
- const Roblox_Api_Notifications_Models_NotificationStreamEntriesModel = z.object(
61
- {
62
- id: z.string().uuid(),
63
- notificationSourceType: z.enum([
64
- "Test",
65
- "FriendRequestReceived",
66
- "FriendRequestAccepted",
67
- "PartyInviteReceived",
68
- "PartyMemberJoined",
69
- "ChatNewMessage",
70
- "PrivateMessageReceived",
71
- "UserAddedToPrivateServerWhiteList",
72
- "ConversationUniverseChanged",
73
- "TeamCreateInvite",
74
- "GameUpdate",
75
- "DeveloperMetricsAvailable",
76
- "GroupJoinRequestAccepted",
77
- "Sendr",
78
- "ExperienceInvitation",
79
- ]),
80
- eventDate: z.string().datetime({ offset: true }),
81
- timestamp: z.string(),
82
- isInteracted: z.boolean(),
83
- metadataCollection: z.array(z.object({})),
84
- eventCount: z.number().int(),
85
- content: z.object({}).passthrough(),
86
- }
87
- );
88
- const Roblox_Api_Notifications_Models_ResponseModels_NotificationStreamMetadataResponse =
89
- z.object({
90
- bannerDismissTimeSpan: z.number().int(),
91
- signalRDisconnectionResponseInMilliseconds: z.number().int(),
92
- canLaunchGameFromGameUpdate: z.boolean(),
93
- });
94
- const Roblox_Api_Notifications_Models_UnreadStreamNotificationsModel = z.object(
95
- { unreadNotifications: z.number().int(), statusMessage: z.string() }
96
- );
56
+ const Roblox_Api_Notifications_Models_NotificationStreamEntriesModel = z.object({
57
+ id: z.string().uuid(),
58
+ notificationSourceType: z.enum([
59
+ 'Test',
60
+ 'FriendRequestReceived',
61
+ 'FriendRequestAccepted',
62
+ 'PartyInviteReceived',
63
+ 'PartyMemberJoined',
64
+ 'ChatNewMessage',
65
+ 'PrivateMessageReceived',
66
+ 'UserAddedToPrivateServerWhiteList',
67
+ 'ConversationUniverseChanged',
68
+ 'TeamCreateInvite',
69
+ 'GameUpdate',
70
+ 'DeveloperMetricsAvailable',
71
+ 'GroupJoinRequestAccepted',
72
+ 'Sendr',
73
+ 'ExperienceInvitation',
74
+ ]),
75
+ eventDate: z.string().datetime({ offset: true }),
76
+ timestamp: z.string(),
77
+ isInteracted: z.boolean(),
78
+ metadataCollection: z.array(z.object({})),
79
+ eventCount: z.number().int(),
80
+ content: z.object({}).passthrough(),
81
+ });
82
+ const Roblox_Api_Notifications_Models_ResponseModels_NotificationStreamMetadataResponse = z.object({
83
+ bannerDismissTimeSpan: z.number().int(),
84
+ signalRDisconnectionResponseInMilliseconds: z.number().int(),
85
+ canLaunchGameFromGameUpdate: z.boolean(),
86
+ });
87
+ const Roblox_Api_Notifications_Models_UnreadStreamNotificationsModel = z.object({
88
+ unreadNotifications: z.number().int(),
89
+ statusMessage: z.string(),
90
+ });
97
91
  const Roblox_Api_Notifications_Models_SuccessResponseModel = z.object({
98
92
  statusMessage: z.string(),
99
93
  });
@@ -109,14 +103,14 @@ const Roblox_Api_Notifications_Models_PushNotificationRegistration = z.object({
109
103
  notificationToken: z.string(),
110
104
  application: z.string(),
111
105
  platform: z.enum([
112
- "ChromeOnDesktop",
113
- "AndroidNative",
114
- "FirefoxOnDesktop",
115
- "IOSNative",
116
- "AndroidAmazon",
117
- "IOSTencent",
118
- "AndroidTencentService",
119
- "IOSPushKit",
106
+ 'ChromeOnDesktop',
107
+ 'AndroidNative',
108
+ 'FirefoxOnDesktop',
109
+ 'IOSNative',
110
+ 'AndroidAmazon',
111
+ 'IOSTencent',
112
+ 'AndroidTencentService',
113
+ 'IOSPushKit',
120
114
  ]),
121
115
  });
122
116
  const Roblox_Api_Notifications_Models_RegistrationResponseModel = z.object({
@@ -130,25 +124,23 @@ const Roblox_Api_Notifications_Models_RegisterIOSNativeRequestModel = z.object({
130
124
  oldNotificationToken: z.string(),
131
125
  deviceName: z.string(),
132
126
  });
133
- const Roblox_Api_Notifications_Models_RegisterIOSPushKitRequestModel = z.object(
134
- {
135
- notificationToken: z.string(),
136
- destinationIdentifier: z.string(),
137
- authorizeForUser: z.boolean(),
138
- oldNotificationToken: z.string(),
139
- deviceName: z.string(),
140
- }
141
- );
127
+ const Roblox_Api_Notifications_Models_RegisterIOSPushKitRequestModel = z.object({
128
+ notificationToken: z.string(),
129
+ destinationIdentifier: z.string(),
130
+ authorizeForUser: z.boolean(),
131
+ oldNotificationToken: z.string(),
132
+ deviceName: z.string(),
133
+ });
142
134
 
143
135
  /**
144
136
  * @api GET https://notifications.roblox.com/v2/push-notifications/chrome-manifest
145
137
  * @summary Get Chrome Manifest to link GCM project to Chrome Browser
146
138
  */
147
139
  export const getPushNotificationsChromeManifest = endpoint({
148
- method: "GET",
149
- path: "/v2/push-notifications/chrome-manifest",
150
- baseUrl: "https://notifications.roblox.com",
151
- requestFormat: "json",
140
+ method: 'GET',
141
+ path: '/v2/push-notifications/chrome-manifest',
142
+ baseUrl: 'https://notifications.roblox.com',
143
+ requestFormat: 'json',
152
144
  response: Roblox_Api_Notifications_Models_ChromeManifestModel,
153
145
  errors: [
154
146
  {
@@ -162,10 +154,10 @@ export const getPushNotificationsChromeManifest = endpoint({
162
154
  * @summary De-register all devices to disable push notifications
163
155
  */
164
156
  export const postPushNotificationsDeregisterAllDevices = endpoint({
165
- method: "POST",
166
- path: "/v2/push-notifications/deregister-all-devices",
167
- baseUrl: "https://notifications.roblox.com",
168
- requestFormat: "json",
157
+ method: 'POST',
158
+ path: '/v2/push-notifications/deregister-all-devices',
159
+ baseUrl: 'https://notifications.roblox.com',
160
+ requestFormat: 'json',
169
161
  response: z.object({ statusMessage: z.string() }),
170
162
  errors: [
171
163
  {
@@ -183,10 +175,10 @@ export const postPushNotificationsDeregisterAllDevices = endpoint({
183
175
  * @summary De-register current device to disable push notifications
184
176
  */
185
177
  export const postPushNotificationsDeregisterCurrentDevice = endpoint({
186
- method: "POST",
187
- path: "/v2/push-notifications/deregister-current-device",
188
- baseUrl: "https://notifications.roblox.com",
189
- requestFormat: "json",
178
+ method: 'POST',
179
+ path: '/v2/push-notifications/deregister-current-device',
180
+ baseUrl: 'https://notifications.roblox.com',
181
+ requestFormat: 'json',
190
182
  response: z.object({ statusMessage: z.string() }),
191
183
  errors: [
192
184
  {
@@ -204,10 +196,10 @@ export const postPushNotificationsDeregisterCurrentDevice = endpoint({
204
196
  * @summary De-register current device to disable pushkit notifications
205
197
  */
206
198
  export const postPushNotificationsDeregisterCurrentDeviceIosPushkit = endpoint({
207
- method: "POST",
208
- path: "/v2/push-notifications/deregister-current-device-ios-pushkit",
209
- baseUrl: "https://notifications.roblox.com",
210
- requestFormat: "json",
199
+ method: 'POST',
200
+ path: '/v2/push-notifications/deregister-current-device-ios-pushkit',
201
+ baseUrl: 'https://notifications.roblox.com',
202
+ requestFormat: 'json',
211
203
  response: z.object({ statusMessage: z.string() }),
212
204
  errors: [
213
205
  {
@@ -225,12 +217,11 @@ export const postPushNotificationsDeregisterCurrentDeviceIosPushkit = endpoint({
225
217
  * @summary Gets the current device destination
226
218
  */
227
219
  export const getPushNotificationsGetCurrentDeviceDestination = endpoint({
228
- method: "GET",
229
- path: "/v2/push-notifications/get-current-device-destination",
230
- baseUrl: "https://notifications.roblox.com",
231
- requestFormat: "json",
232
- response:
233
- Roblox_Api_Notifications_Models_GetCurrentPushDestinationResponseModel,
220
+ method: 'GET',
221
+ path: '/v2/push-notifications/get-current-device-destination',
222
+ baseUrl: 'https://notifications.roblox.com',
223
+ requestFormat: 'json',
224
+ response: Roblox_Api_Notifications_Models_GetCurrentPushDestinationResponseModel,
234
225
  errors: [
235
226
  {
236
227
  status: 401,
@@ -243,10 +234,10 @@ export const getPushNotificationsGetCurrentDeviceDestination = endpoint({
243
234
  * @summary Gets valid destinations associated with the signed user
244
235
  */
245
236
  export const getPushNotificationsGetDestinations = endpoint({
246
- method: "GET",
247
- path: "/v2/push-notifications/get-destinations",
248
- baseUrl: "https://notifications.roblox.com",
249
- requestFormat: "json",
237
+ method: 'GET',
238
+ path: '/v2/push-notifications/get-destinations',
239
+ baseUrl: 'https://notifications.roblox.com',
240
+ requestFormat: 'json',
250
241
  response: Roblox_Api_Notifications_Models_GetPushDestinationsResponseModel,
251
242
  errors: [
252
243
  {
@@ -262,17 +253,17 @@ export const getPushNotificationsGetDestinations = endpoint({
262
253
  * @param notificationId Id of the specified notification
263
254
  */
264
255
  export const getPushNotificationsMetadata = endpoint({
265
- method: "GET",
266
- path: "/v2/push-notifications/metadata",
267
- baseUrl: "https://notifications.roblox.com",
268
- requestFormat: "json",
256
+ method: 'GET',
257
+ path: '/v2/push-notifications/metadata',
258
+ baseUrl: 'https://notifications.roblox.com',
259
+ requestFormat: 'json',
269
260
  serializationMethod: {
270
261
  notificationToken: {
271
- style: "form",
262
+ style: 'form',
272
263
  explode: true,
273
264
  },
274
265
  notificationId: {
275
- style: "form",
266
+ style: 'form',
276
267
  explode: true,
277
268
  },
278
269
  },
@@ -294,10 +285,10 @@ export const getPushNotificationsMetadata = endpoint({
294
285
  * @param body
295
286
  */
296
287
  export const postPushNotificationsRegisterAndroidNative = endpoint({
297
- method: "POST",
298
- path: "/v2/push-notifications/register-android-native",
299
- baseUrl: "https://notifications.roblox.com",
300
- requestFormat: "json",
288
+ method: 'POST',
289
+ path: '/v2/push-notifications/register-android-native',
290
+ baseUrl: 'https://notifications.roblox.com',
291
+ requestFormat: 'json',
301
292
  serializationMethod: {
302
293
  body: {},
303
294
  },
@@ -321,10 +312,10 @@ export const postPushNotificationsRegisterAndroidNative = endpoint({
321
312
  * @param body
322
313
  */
323
314
  export const postPushNotificationsRegisterIosNative = endpoint({
324
- method: "POST",
325
- path: "/v2/push-notifications/register-ios-native",
326
- baseUrl: "https://notifications.roblox.com",
327
- requestFormat: "json",
315
+ method: 'POST',
316
+ path: '/v2/push-notifications/register-ios-native',
317
+ baseUrl: 'https://notifications.roblox.com',
318
+ requestFormat: 'json',
328
319
  serializationMethod: {
329
320
  body: {},
330
321
  },
@@ -348,10 +339,10 @@ export const postPushNotificationsRegisterIosNative = endpoint({
348
339
  * @param body
349
340
  */
350
341
  export const postPushNotificationsRegisterIosPushkit = endpoint({
351
- method: "POST",
352
- path: "/v2/push-notifications/register-ios-pushkit",
353
- baseUrl: "https://notifications.roblox.com",
354
- requestFormat: "json",
342
+ method: 'POST',
343
+ path: '/v2/push-notifications/register-ios-pushkit',
344
+ baseUrl: 'https://notifications.roblox.com',
345
+ requestFormat: 'json',
355
346
  serializationMethod: {
356
347
  body: {},
357
348
  },
@@ -374,10 +365,10 @@ export const postPushNotificationsRegisterIosPushkit = endpoint({
374
365
  * @summary Clears the unread Notification stream count
375
366
  */
376
367
  export const postStreamNotificationsClearUnread = endpoint({
377
- method: "POST",
378
- path: "/v2/stream-notifications/clear-unread",
379
- baseUrl: "https://notifications.roblox.com",
380
- requestFormat: "json",
368
+ method: 'POST',
369
+ path: '/v2/stream-notifications/clear-unread',
370
+ baseUrl: 'https://notifications.roblox.com',
371
+ requestFormat: 'json',
381
372
  response: z.object({ statusMessage: z.string() }),
382
373
  errors: [
383
374
  {
@@ -397,17 +388,17 @@ export const postStreamNotificationsClearUnread = endpoint({
397
388
  * @param sinceDateTime For retrieving only updates that created after a time point.
398
389
  */
399
390
  export const getStreamNotificationsGetLatestGameUpdates = endpoint({
400
- method: "GET",
401
- path: "/v2/stream-notifications/get-latest-game-updates",
402
- baseUrl: "https://notifications.roblox.com",
403
- requestFormat: "json",
391
+ method: 'GET',
392
+ path: '/v2/stream-notifications/get-latest-game-updates',
393
+ baseUrl: 'https://notifications.roblox.com',
394
+ requestFormat: 'json',
404
395
  serializationMethod: {
405
396
  universeIds: {
406
- style: "form",
397
+ style: 'form',
407
398
  explode: true,
408
399
  },
409
400
  sinceDateTime: {
410
- style: "form",
401
+ style: 'form',
411
402
  explode: true,
412
403
  },
413
404
  },
@@ -415,9 +406,7 @@ export const getStreamNotificationsGetLatestGameUpdates = endpoint({
415
406
  universeIds: z.array(z.number()),
416
407
  sinceDateTime: z.string().datetime({ offset: true }).optional(),
417
408
  },
418
- response: z.array(
419
- Roblox_Api_Notifications_Models_GameUpdateNotificationModel
420
- ),
409
+ response: z.array(Roblox_Api_Notifications_Models_GameUpdateNotificationModel),
421
410
  errors: [
422
411
  {
423
412
  status: 401,
@@ -432,17 +421,17 @@ export const getStreamNotificationsGetLatestGameUpdates = endpoint({
432
421
  * @param maxRows Number of entries to be returned. (Optional : Defaults to 10 entries)
433
422
  */
434
423
  export const getStreamNotificationsGetRecent = endpoint({
435
- method: "GET",
436
- path: "/v2/stream-notifications/get-recent",
437
- baseUrl: "https://notifications.roblox.com",
438
- requestFormat: "json",
424
+ method: 'GET',
425
+ path: '/v2/stream-notifications/get-recent',
426
+ baseUrl: 'https://notifications.roblox.com',
427
+ requestFormat: 'json',
439
428
  serializationMethod: {
440
429
  startIndex: {
441
- style: "form",
430
+ style: 'form',
442
431
  explode: true,
443
432
  },
444
433
  maxRows: {
445
- style: "form",
434
+ style: 'form',
446
435
  explode: true,
447
436
  },
448
437
  },
@@ -450,9 +439,7 @@ export const getStreamNotificationsGetRecent = endpoint({
450
439
  startIndex: z.number().int().optional(),
451
440
  maxRows: z.number().int().optional().default(10),
452
441
  },
453
- response: z.array(
454
- Roblox_Api_Notifications_Models_NotificationStreamEntriesModel
455
- ),
442
+ response: z.array(Roblox_Api_Notifications_Models_NotificationStreamEntriesModel),
456
443
  errors: [
457
444
  {
458
445
  status: 401,
@@ -465,12 +452,11 @@ export const getStreamNotificationsGetRecent = endpoint({
465
452
  * @summary Get Notification Stream metadata.
466
453
  */
467
454
  export const getStreamNotificationsMetadata = endpoint({
468
- method: "GET",
469
- path: "/v2/stream-notifications/metadata",
470
- baseUrl: "https://notifications.roblox.com",
471
- requestFormat: "json",
472
- response:
473
- Roblox_Api_Notifications_Models_ResponseModels_NotificationStreamMetadataResponse,
455
+ method: 'GET',
456
+ path: '/v2/stream-notifications/metadata',
457
+ baseUrl: 'https://notifications.roblox.com',
458
+ requestFormat: 'json',
459
+ response: Roblox_Api_Notifications_Models_ResponseModels_NotificationStreamMetadataResponse,
474
460
  errors: [
475
461
  {
476
462
  status: 401,
@@ -483,10 +469,10 @@ export const getStreamNotificationsMetadata = endpoint({
483
469
  * @summary Gets the count of unread Notification stream entries
484
470
  */
485
471
  export const getStreamNotificationsUnreadCount = endpoint({
486
- method: "GET",
487
- path: "/v2/stream-notifications/unread-count",
488
- baseUrl: "https://notifications.roblox.com",
489
- requestFormat: "json",
472
+ method: 'GET',
473
+ path: '/v2/stream-notifications/unread-count',
474
+ baseUrl: 'https://notifications.roblox.com',
475
+ requestFormat: 'json',
490
476
  response: Roblox_Api_Notifications_Models_UnreadStreamNotificationsModel,
491
477
  errors: [
492
478
  {
@@ -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
  /**
5
5
  * @api GET https://premiumfeatures.roblox.com/v1/users/:userId/premium-upsell-precheck
@@ -9,20 +9,20 @@ import { endpoint } from "..";
9
9
  * @param placeId
10
10
  */
11
11
  export const getUsersUseridPremiumUpsellPrecheck = endpoint({
12
- method: "GET",
13
- path: "/v1/users/:userId/premium-upsell-precheck",
14
- baseUrl: "https://premiumfeatures.roblox.com",
15
- requestFormat: "json",
12
+ method: 'GET',
13
+ path: '/v1/users/:userId/premium-upsell-precheck',
14
+ baseUrl: 'https://premiumfeatures.roblox.com',
15
+ requestFormat: 'json',
16
16
  serializationMethod: {
17
17
  userId: {
18
- style: "simple",
18
+ style: 'simple',
19
19
  },
20
20
  universeId: {
21
- style: "form",
21
+ style: 'form',
22
22
  explode: true,
23
23
  },
24
24
  placeId: {
25
- style: "form",
25
+ style: 'form',
26
26
  explode: true,
27
27
  },
28
28
  },
@@ -45,13 +45,13 @@ export const getUsersUseridPremiumUpsellPrecheck = endpoint({
45
45
  * @param userId User ID
46
46
  */
47
47
  export const getUsersUseridValidateMembership = endpoint({
48
- method: "GET",
49
- path: "/v1/users/:userId/validate-membership",
50
- baseUrl: "https://premiumfeatures.roblox.com",
51
- requestFormat: "json",
48
+ method: 'GET',
49
+ path: '/v1/users/:userId/validate-membership',
50
+ baseUrl: 'https://premiumfeatures.roblox.com',
51
+ requestFormat: 'json',
52
52
  serializationMethod: {
53
53
  userId: {
54
- style: "simple",
54
+ style: 'simple',
55
55
  },
56
56
  },
57
57
  parameters: {
@@ -1,16 +1,11 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const UserPresenceRequest = z.object({
5
5
  userIds: z.array(z.number()).nullable(),
6
6
  });
7
7
  const presence_users_body = UserPresenceRequest;
8
- const PresenceType = z.union([
9
- z.literal(0),
10
- z.literal(1),
11
- z.literal(2),
12
- z.literal(3),
13
- ]);
8
+ const PresenceType = z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]);
14
9
  const UserPresence = z.object({
15
10
  userPresenceType: PresenceType,
16
11
  lastLocation: z.string().nullable(),
@@ -34,10 +29,10 @@ const ErrorResponse = z.object({ errors: z.array(Error).nullable() });
34
29
  * @param body
35
30
  */
36
31
  export const postPresenceUsers = endpoint({
37
- method: "POST",
38
- path: "/v1/presence/users",
39
- baseUrl: "https://presence.roblox.com",
40
- requestFormat: "json",
32
+ method: 'POST',
33
+ path: '/v1/presence/users',
34
+ baseUrl: 'https://presence.roblox.com',
35
+ requestFormat: 'json',
41
36
  serializationMethod: {
42
37
  body: {},
43
38
  },