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_AccountSettings_Api_Models_Response_UserAccountCountry = z.object({
5
5
  countryName: z.string(),
@@ -8,23 +8,20 @@ const Roblox_AccountSettings_Api_Models_Response_UserAccountCountry = z.object({
8
8
  localizedName: z.string(),
9
9
  countryId: z.number().int(),
10
10
  });
11
- const Roblox_AccountSettings_Api_Models_Response_AccountCountrySettingsResponse =
12
- z.object({
13
- value: Roblox_AccountSettings_Api_Models_Response_UserAccountCountry,
14
- });
11
+ const Roblox_AccountSettings_Api_Models_Response_AccountCountrySettingsResponse = z.object({
12
+ value: Roblox_AccountSettings_Api_Models_Response_UserAccountCountry,
13
+ });
15
14
  const Roblox_AccountSettings_Api_UpdateAccountCountryRequest = z.object({
16
15
  targetCountryId: z.number().int(),
17
16
  });
18
- const Roblox_AccountSettings_Api_Models_Response_UpdateAccountCountryResponse =
19
- z.object({});
20
- const Roblox_AccountSettings_Api_Models_AccountsSettingsMetadataModel =
21
- z.object({
22
- IsAccountsRestrictionsSpamBugFixEnabled: z.boolean(),
23
- MaximumParentalControlsMonthlySpendLimitInUSD: z.number().int(),
24
- IsParentalMonthlyLimitInUIEnabled: z.boolean(),
25
- IsParentalNotificationSettingsInUIEnabled: z.boolean(),
26
- IsContentControlsEnabled: z.boolean(),
27
- });
17
+ const Roblox_AccountSettings_Api_Models_Response_UpdateAccountCountryResponse = z.object({});
18
+ const Roblox_AccountSettings_Api_Models_AccountsSettingsMetadataModel = z.object({
19
+ IsAccountsRestrictionsSpamBugFixEnabled: z.boolean(),
20
+ MaximumParentalControlsMonthlySpendLimitInUSD: z.number().int(),
21
+ IsParentalMonthlyLimitInUIEnabled: z.boolean(),
22
+ IsParentalNotificationSettingsInUIEnabled: z.boolean(),
23
+ IsContentControlsEnabled: z.boolean(),
24
+ });
28
25
  const Roblox_AccountSettings_Api_EmailResponse = z.object({
29
26
  emailAddress: z.string(),
30
27
  verified: z.boolean(),
@@ -54,43 +51,25 @@ const Roblox_AccountSettings_Api_TradePrivacyResponse = z.object({
54
51
  tradePrivacy: z.string(),
55
52
  });
56
53
  const Roblox_AccountSettings_Api_UpdateTradePrivacyRequest = z.object({
57
- tradePrivacy: z.enum([
58
- "Undefined",
59
- "Disabled",
60
- "NoOne",
61
- "Friends",
62
- "TopFriends",
63
- "Following",
64
- "Followers",
65
- "All",
66
- ]),
54
+ tradePrivacy: z.enum(['Undefined', 'Disabled', 'NoOne', 'Friends', 'TopFriends', 'Following', 'Followers', 'All']),
67
55
  });
68
56
  const Roblox_AccountSettings_Api_TradePrivacyUpdateResponse = z.object({
69
- tradePrivacy: z.enum([
70
- "Undefined",
71
- "Disabled",
72
- "NoOne",
73
- "Friends",
74
- "TopFriends",
75
- "Following",
76
- "Followers",
77
- "All",
78
- ]),
57
+ tradePrivacy: z.enum(['Undefined', 'Disabled', 'NoOne', 'Friends', 'TopFriends', 'Following', 'Followers', 'All']),
79
58
  inventoryPrivacy: z.enum([
80
- "NoOne",
81
- "Friends",
82
- "FriendsAndFollowing",
83
- "FriendsFollowingAndFollowers",
84
- "AllAuthenticatedUsers",
85
- "AllUsers",
59
+ 'NoOne',
60
+ 'Friends',
61
+ 'FriendsAndFollowing',
62
+ 'FriendsFollowingAndFollowers',
63
+ 'AllAuthenticatedUsers',
64
+ 'AllUsers',
86
65
  ]),
87
- privacySettingResponse: z.enum(["Success", "Conflict"]),
66
+ privacySettingResponse: z.enum(['Success', 'Conflict']),
88
67
  });
89
68
  const Roblox_AccountSettings_Api_TradeValueResponse = z.object({
90
69
  tradeValue: z.string(),
91
70
  });
92
71
  const Roblox_AccountSettings_Api_TradeValueRequest = z.object({
93
- tradeValue: z.enum(["Undefined", "None", "Low", "Medium", "High"]),
72
+ tradeValue: z.enum(['Undefined', 'None', 'Low', 'Medium', 'High']),
94
73
  });
95
74
  const Roblox_AccountSettings_Api_SendVerifyEmailRequest = z.object({
96
75
  freeItem: z.boolean(),
@@ -102,12 +81,11 @@ const Roblox_AccountSettings_Api_SendVerifyEmailRequest = z.object({
102
81
  * @summary Get a user's current account country setting.
103
82
  */
104
83
  export const getAccountSettingsAccountCountry = endpoint({
105
- method: "GET",
106
- path: "/v1/account/settings/account-country",
107
- baseUrl: "https://accountsettings.roblox.com",
108
- requestFormat: "json",
109
- response:
110
- Roblox_AccountSettings_Api_Models_Response_AccountCountrySettingsResponse,
84
+ method: 'GET',
85
+ path: '/v1/account/settings/account-country',
86
+ baseUrl: 'https://accountsettings.roblox.com',
87
+ requestFormat: 'json',
88
+ response: Roblox_AccountSettings_Api_Models_Response_AccountCountrySettingsResponse,
111
89
  errors: [
112
90
  {
113
91
  status: 401,
@@ -121,10 +99,10 @@ export const getAccountSettingsAccountCountry = endpoint({
121
99
  * @param body
122
100
  */
123
101
  export const postAccountSettingsAccountCountry = endpoint({
124
- method: "POST",
125
- path: "/v1/account/settings/account-country",
126
- baseUrl: "https://accountsettings.roblox.com",
127
- requestFormat: "json",
102
+ method: 'POST',
103
+ path: '/v1/account/settings/account-country',
104
+ baseUrl: 'https://accountsettings.roblox.com',
105
+ requestFormat: 'json',
128
106
  serializationMethod: {
129
107
  body: {},
130
108
  },
@@ -160,10 +138,10 @@ export const postAccountSettingsAccountCountry = endpoint({
160
138
  * @summary Returns metadata used by the account settings page
161
139
  */
162
140
  export const getAccountSettingsMetadata = endpoint({
163
- method: "GET",
164
- path: "/v1/account/settings/metadata",
165
- baseUrl: "https://accountsettings.roblox.com",
166
- requestFormat: "json",
141
+ method: 'GET',
142
+ path: '/v1/account/settings/metadata',
143
+ baseUrl: 'https://accountsettings.roblox.com',
144
+ requestFormat: 'json',
167
145
  response: Roblox_AccountSettings_Api_Models_AccountsSettingsMetadataModel,
168
146
  errors: [
169
147
  {
@@ -177,10 +155,10 @@ export const getAccountSettingsMetadata = endpoint({
177
155
  * @summary Gets the authenticated user's email address and verified status
178
156
  */
179
157
  export const getEmail = endpoint({
180
- method: "GET",
181
- path: "/v1/email",
182
- baseUrl: "https://accountsettings.roblox.com",
183
- requestFormat: "json",
158
+ method: 'GET',
159
+ path: '/v1/email',
160
+ baseUrl: 'https://accountsettings.roblox.com',
161
+ requestFormat: 'json',
184
162
  response: Roblox_AccountSettings_Api_EmailResponse,
185
163
  errors: [
186
164
  {
@@ -195,10 +173,10 @@ export const getEmail = endpoint({
195
173
  * @param body The request body.
196
174
  */
197
175
  export const postEmail = endpoint({
198
- method: "POST",
199
- path: "/v1/email",
200
- baseUrl: "https://accountsettings.roblox.com",
201
- requestFormat: "json",
176
+ method: 'POST',
177
+ path: '/v1/email',
178
+ baseUrl: 'https://accountsettings.roblox.com',
179
+ requestFormat: 'json',
202
180
  serializationMethod: {
203
181
  body: {},
204
182
  },
@@ -243,10 +221,10 @@ export const postEmail = endpoint({
243
221
  * @param body The request body.
244
222
  */
245
223
  export const patchEmail = endpoint({
246
- method: "PATCH",
247
- path: "/v1/email",
248
- baseUrl: "https://accountsettings.roblox.com",
249
- requestFormat: "json",
224
+ method: 'PATCH',
225
+ path: '/v1/email',
226
+ baseUrl: 'https://accountsettings.roblox.com',
227
+ requestFormat: 'json',
250
228
  serializationMethod: {
251
229
  body: {},
252
230
  },
@@ -291,10 +269,10 @@ export const patchEmail = endpoint({
291
269
  * @param body The request body.
292
270
  */
293
271
  export const postEmailVerify = endpoint({
294
- method: "POST",
295
- path: "/v1/email/verify",
296
- baseUrl: "https://accountsettings.roblox.com",
297
- requestFormat: "json",
272
+ method: 'POST',
273
+ path: '/v1/email/verify',
274
+ baseUrl: 'https://accountsettings.roblox.com',
275
+ requestFormat: 'json',
298
276
  serializationMethod: {
299
277
  body: {},
300
278
  },
@@ -335,10 +313,10 @@ export const postEmailVerify = endpoint({
335
313
  * @summary Gets the authenticated user's verified email and pending (unverified) email if one exists
336
314
  */
337
315
  export const getEmails = endpoint({
338
- method: "GET",
339
- path: "/v1/emails",
340
- baseUrl: "https://accountsettings.roblox.com",
341
- requestFormat: "json",
316
+ method: 'GET',
317
+ path: '/v1/emails',
318
+ baseUrl: 'https://accountsettings.roblox.com',
319
+ requestFormat: 'json',
342
320
  response: Roblox_AccountSettings_Api_CurrentEmailsResponse,
343
321
  errors: [
344
322
  {
@@ -354,16 +332,16 @@ export const getEmails = endpoint({
354
332
  * @param consumerId The consumer's theme configuration to get. If the consumerType is User always return the AuthenticatedUser's theme type.
355
333
  */
356
334
  export const getThemesConsumertypeConsumerid = endpoint({
357
- method: "GET",
358
- path: "/v1/themes/:consumerType/:consumerId",
359
- baseUrl: "https://accountsettings.roblox.com",
360
- requestFormat: "json",
335
+ method: 'GET',
336
+ path: '/v1/themes/:consumerType/:consumerId',
337
+ baseUrl: 'https://accountsettings.roblox.com',
338
+ requestFormat: 'json',
361
339
  serializationMethod: {
362
340
  consumerType: {
363
- style: "simple",
341
+ style: 'simple',
364
342
  },
365
343
  consumerId: {
366
- style: "simple",
344
+ style: 'simple',
367
345
  },
368
346
  },
369
347
  parameters: {
@@ -390,17 +368,17 @@ export const getThemesConsumertypeConsumerid = endpoint({
390
368
  * @param consumerId The consumer's theme configuration to modify. If the consumerType is User always modify the AuthenticatedUser's theme type.
391
369
  */
392
370
  export const patchThemesConsumertypeConsumerid = endpoint({
393
- method: "PATCH",
394
- path: "/v1/themes/:consumerType/:consumerId",
395
- baseUrl: "https://accountsettings.roblox.com",
396
- requestFormat: "json",
371
+ method: 'PATCH',
372
+ path: '/v1/themes/:consumerType/:consumerId',
373
+ baseUrl: 'https://accountsettings.roblox.com',
374
+ requestFormat: 'json',
397
375
  serializationMethod: {
398
376
  body: {},
399
377
  consumerType: {
400
- style: "simple",
378
+ style: 'simple',
401
379
  },
402
380
  consumerId: {
403
- style: "simple",
381
+ style: 'simple',
404
382
  },
405
383
  },
406
384
  parameters: {
@@ -429,10 +407,10 @@ export const patchThemesConsumertypeConsumerid = endpoint({
429
407
  * @summary returns all the enabled theme types.
430
408
  */
431
409
  export const getThemesTypes = endpoint({
432
- method: "GET",
433
- path: "/v1/themes/types",
434
- baseUrl: "https://accountsettings.roblox.com",
435
- requestFormat: "json",
410
+ method: 'GET',
411
+ path: '/v1/themes/types',
412
+ baseUrl: 'https://accountsettings.roblox.com',
413
+ requestFormat: 'json',
436
414
  response: Roblox_Web_WebAPI_Models_ApiArrayResponse_System_String_,
437
415
  errors: [],
438
416
  });
@@ -441,10 +419,10 @@ export const getThemesTypes = endpoint({
441
419
  * @summary Get a user's trade privacy setting
442
420
  */
443
421
  export const getTradePrivacy = endpoint({
444
- method: "GET",
445
- path: "/v1/trade-privacy",
446
- baseUrl: "https://accountsettings.roblox.com",
447
- requestFormat: "json",
422
+ method: 'GET',
423
+ path: '/v1/trade-privacy',
424
+ baseUrl: 'https://accountsettings.roblox.com',
425
+ requestFormat: 'json',
448
426
  response: z.object({ tradePrivacy: z.string() }),
449
427
  errors: [
450
428
  {
@@ -459,10 +437,10 @@ export const getTradePrivacy = endpoint({
459
437
  * @param body
460
438
  */
461
439
  export const postTradePrivacy = endpoint({
462
- method: "POST",
463
- path: "/v1/trade-privacy",
464
- baseUrl: "https://accountsettings.roblox.com",
465
- requestFormat: "json",
440
+ method: 'POST',
441
+ path: '/v1/trade-privacy',
442
+ baseUrl: 'https://accountsettings.roblox.com',
443
+ requestFormat: 'json',
466
444
  serializationMethod: {
467
445
  body: {},
468
446
  },
@@ -492,10 +470,10 @@ export const postTradePrivacy = endpoint({
492
470
  * @summary Get a user's trade quality filter setting
493
471
  */
494
472
  export const getTradeValue = endpoint({
495
- method: "GET",
496
- path: "/v1/trade-value",
497
- baseUrl: "https://accountsettings.roblox.com",
498
- requestFormat: "json",
473
+ method: 'GET',
474
+ path: '/v1/trade-value',
475
+ baseUrl: 'https://accountsettings.roblox.com',
476
+ requestFormat: 'json',
499
477
  response: z.object({ tradeValue: z.string() }),
500
478
  errors: [
501
479
  {
@@ -510,10 +488,10 @@ export const getTradeValue = endpoint({
510
488
  * @param body
511
489
  */
512
490
  export const postTradeValue = endpoint({
513
- method: "POST",
514
- path: "/v1/trade-value",
515
- baseUrl: "https://accountsettings.roblox.com",
516
- requestFormat: "json",
491
+ method: 'POST',
492
+ path: '/v1/trade-value',
493
+ baseUrl: 'https://accountsettings.roblox.com',
494
+ requestFormat: 'json',
517
495
  serializationMethod: {
518
496
  body: {},
519
497
  },