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
@@ -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_AccountInformation_Api_Models_BirthdateResponse = z.object({
5
5
  birthMonth: z.number().int(),
@@ -45,17 +45,17 @@ const Roblox_AccountInformation_Api_Models_PhoneRequest = z.object({
45
45
  password: z.string(),
46
46
  verificationChannel: z.string(),
47
47
  });
48
- const Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse =
49
- z.object({ verificationChannel: z.string(), data: z.string() });
50
- const Roblox_AccountInformation_Api_Models_PromotionChannelsResponse = z.object(
51
- {
52
- promotionChannelsVisibilityPrivacy: z.string(),
53
- facebook: z.string(),
54
- twitter: z.string(),
55
- youtube: z.string(),
56
- twitch: z.string(),
57
- }
58
- );
48
+ const Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse = z.object({
49
+ verificationChannel: z.string(),
50
+ data: z.string(),
51
+ });
52
+ const Roblox_AccountInformation_Api_Models_PromotionChannelsResponse = z.object({
53
+ promotionChannelsVisibilityPrivacy: z.string(),
54
+ facebook: z.string(),
55
+ twitter: z.string(),
56
+ youtube: z.string(),
57
+ twitch: z.string(),
58
+ });
59
59
  const Roblox_AccountInformation_Api_Models_PromotionChannelsRequest = z.object({
60
60
  facebook: z.string(),
61
61
  twitter: z.string(),
@@ -63,13 +63,12 @@ const Roblox_AccountInformation_Api_Models_PromotionChannelsRequest = z.object({
63
63
  twitch: z.string(),
64
64
  promotionChannelsVisibilityPrivacy: z.string(),
65
65
  });
66
- const Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse =
67
- z.object({
68
- facebook: z.string(),
69
- twitter: z.string(),
70
- youtube: z.string(),
71
- twitch: z.string(),
72
- });
66
+ const Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse = z.object({
67
+ facebook: z.string(),
68
+ twitter: z.string(),
69
+ youtube: z.string(),
70
+ twitch: z.string(),
71
+ });
73
72
  const Roblox_AccountInformation_Api_RobloxBadgeResponse = z.object({
74
73
  id: z.number().int(),
75
74
  name: z.string(),
@@ -92,10 +91,10 @@ const Roblox_AccountInformation_Api_Models_VerifyPhoneRequest = z.object({
92
91
  * @summary Get the user's birthdate
93
92
  */
94
93
  export const getBirthdate = endpoint({
95
- method: "GET",
96
- path: "/v1/birthdate",
97
- baseUrl: "https://accountinformation.roblox.com",
98
- requestFormat: "json",
94
+ method: 'GET',
95
+ path: '/v1/birthdate',
96
+ baseUrl: 'https://accountinformation.roblox.com',
97
+ requestFormat: 'json',
99
98
  response: Roblox_AccountInformation_Api_Models_BirthdateResponse,
100
99
  errors: [
101
100
  {
@@ -113,10 +112,10 @@ export const getBirthdate = endpoint({
113
112
  * @summary Get the user's description
114
113
  */
115
114
  export const getDescription = endpoint({
116
- method: "GET",
117
- path: "/v1/description",
118
- baseUrl: "https://accountinformation.roblox.com",
119
- requestFormat: "json",
115
+ method: 'GET',
116
+ path: '/v1/description',
117
+ baseUrl: 'https://accountinformation.roblox.com',
118
+ requestFormat: 'json',
120
119
  response: z.object({ description: z.string() }),
121
120
  errors: [
122
121
  {
@@ -135,10 +134,10 @@ export const getDescription = endpoint({
135
134
  * @param body The Roblox.AccountInformation.Api.Models.DescriptionRequest
136
135
  */
137
136
  export const postDescription = endpoint({
138
- method: "POST",
139
- path: "/v1/description",
140
- baseUrl: "https://accountinformation.roblox.com",
141
- requestFormat: "json",
137
+ method: 'POST',
138
+ path: '/v1/description',
139
+ baseUrl: 'https://accountinformation.roblox.com',
140
+ requestFormat: 'json',
142
141
  serializationMethod: {
143
142
  body: {},
144
143
  },
@@ -174,10 +173,10 @@ export const postDescription = endpoint({
174
173
  * @param body Roblox.AccountInformation.Api.Models.VerifyEmailRequest
175
174
  */
176
175
  export const postEmailVerify = endpoint({
177
- method: "POST",
178
- path: "/v1/email/verify",
179
- baseUrl: "https://accountinformation.roblox.com",
180
- requestFormat: "json",
176
+ method: 'POST',
177
+ path: '/v1/email/verify',
178
+ baseUrl: 'https://accountinformation.roblox.com',
179
+ requestFormat: 'json',
181
180
  serializationMethod: {
182
181
  body: {},
183
182
  },
@@ -196,10 +195,10 @@ export const postEmailVerify = endpoint({
196
195
  * @summary Get the user's gender
197
196
  */
198
197
  export const getGender = endpoint({
199
- method: "GET",
200
- path: "/v1/gender",
201
- baseUrl: "https://accountinformation.roblox.com",
202
- requestFormat: "json",
198
+ method: 'GET',
199
+ path: '/v1/gender',
200
+ baseUrl: 'https://accountinformation.roblox.com',
201
+ requestFormat: 'json',
203
202
  response: z.object({ gender: z.number().int() }),
204
203
  errors: [
205
204
  {
@@ -218,10 +217,10 @@ export const getGender = endpoint({
218
217
  * @param body The Roblox.AccountInformation.Api.Models.GenderRequest
219
218
  */
220
219
  export const postGender = endpoint({
221
- method: "POST",
222
- path: "/v1/gender",
223
- baseUrl: "https://accountinformation.roblox.com",
224
- requestFormat: "json",
220
+ method: 'POST',
221
+ path: '/v1/gender',
222
+ baseUrl: 'https://accountinformation.roblox.com',
223
+ requestFormat: 'json',
225
224
  serializationMethod: {
226
225
  body: {},
227
226
  },
@@ -253,10 +252,10 @@ export const postGender = endpoint({
253
252
  * @summary Get the metadata
254
253
  */
255
254
  export const getMetadata = endpoint({
256
- method: "GET",
257
- path: "/v1/metadata",
258
- baseUrl: "https://accountinformation.roblox.com",
259
- requestFormat: "json",
255
+ method: 'GET',
256
+ path: '/v1/metadata',
257
+ baseUrl: 'https://accountinformation.roblox.com',
258
+ requestFormat: 'json',
260
259
  response: Roblox_AccountInformation_Api_Models_MetadataResponse,
261
260
  errors: [],
262
261
  });
@@ -265,10 +264,10 @@ export const getMetadata = endpoint({
265
264
  * @summary Get Verified Phone Number
266
265
  */
267
266
  export const getPhone = endpoint({
268
- method: "GET",
269
- path: "/v1/phone",
270
- baseUrl: "https://accountinformation.roblox.com",
271
- requestFormat: "json",
267
+ method: 'GET',
268
+ path: '/v1/phone',
269
+ baseUrl: 'https://accountinformation.roblox.com',
270
+ requestFormat: 'json',
272
271
  response: Roblox_AccountInformation_Api_Models_PhoneResponse,
273
272
  errors: [
274
273
  {
@@ -287,17 +286,16 @@ export const getPhone = endpoint({
287
286
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
288
287
  */
289
288
  export const postPhone = endpoint({
290
- method: "POST",
291
- path: "/v1/phone",
292
- baseUrl: "https://accountinformation.roblox.com",
293
- requestFormat: "json",
289
+ method: 'POST',
290
+ path: '/v1/phone',
291
+ baseUrl: 'https://accountinformation.roblox.com',
292
+ requestFormat: 'json',
294
293
  serializationMethod: {
295
294
  body: {},
296
295
  },
297
296
  parameters: {},
298
297
  body: Roblox_AccountInformation_Api_Models_PhoneRequest,
299
- response:
300
- Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse,
298
+ response: Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse,
301
299
  errors: [
302
300
  {
303
301
  status: 400,
@@ -335,10 +333,10 @@ export const postPhone = endpoint({
335
333
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
336
334
  */
337
335
  export const postPhoneDelete = endpoint({
338
- method: "POST",
339
- path: "/v1/phone/delete",
340
- baseUrl: "https://accountinformation.roblox.com",
341
- requestFormat: "json",
336
+ method: 'POST',
337
+ path: '/v1/phone/delete',
338
+ baseUrl: 'https://accountinformation.roblox.com',
339
+ requestFormat: 'json',
342
340
  serializationMethod: {
343
341
  body: {},
344
342
  },
@@ -375,10 +373,10 @@ export const postPhoneDelete = endpoint({
375
373
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
376
374
  */
377
375
  export const postPhoneResend = endpoint({
378
- method: "POST",
379
- path: "/v1/phone/resend",
380
- baseUrl: "https://accountinformation.roblox.com",
381
- requestFormat: "json",
376
+ method: 'POST',
377
+ path: '/v1/phone/resend',
378
+ baseUrl: 'https://accountinformation.roblox.com',
379
+ requestFormat: 'json',
382
380
  serializationMethod: {
383
381
  body: {},
384
382
  },
@@ -414,10 +412,10 @@ export const postPhoneResend = endpoint({
414
412
  * @param body Roblox.AccountInformation.Api.Models.VerifyPhoneRequest
415
413
  */
416
414
  export const postPhoneVerify = endpoint({
417
- method: "POST",
418
- path: "/v1/phone/verify",
419
- baseUrl: "https://accountinformation.roblox.com",
420
- requestFormat: "json",
415
+ method: 'POST',
416
+ path: '/v1/phone/verify',
417
+ baseUrl: 'https://accountinformation.roblox.com',
418
+ requestFormat: 'json',
421
419
  serializationMethod: {
422
420
  body: {},
423
421
  },
@@ -461,21 +459,21 @@ export const postPhoneVerify = endpoint({
461
459
  * @param onlyShortenTwitter Whether all promotion channels links except for Twitter should be returned as full URLs. If false, all promotion channels will be shortened.
462
460
  */
463
461
  export const getPromotionChannels = endpoint({
464
- method: "GET",
465
- path: "/v1/promotion-channels",
466
- baseUrl: "https://accountinformation.roblox.com",
467
- requestFormat: "json",
462
+ method: 'GET',
463
+ path: '/v1/promotion-channels',
464
+ baseUrl: 'https://accountinformation.roblox.com',
465
+ requestFormat: 'json',
468
466
  serializationMethod: {
469
467
  alwaysReturnUrls: {
470
- style: "form",
468
+ style: 'form',
471
469
  explode: true,
472
470
  },
473
471
  filterLink: {
474
- style: "form",
472
+ style: 'form',
475
473
  explode: true,
476
474
  },
477
475
  onlyShortenTwitter: {
478
- style: "form",
476
+ style: 'form',
479
477
  explode: true,
480
478
  },
481
479
  },
@@ -502,10 +500,10 @@ export const getPromotionChannels = endpoint({
502
500
  * @param body The Roblox.AccountInformation.Api.Models.PromotionChannelsRequest
503
501
  */
504
502
  export const postPromotionChannels = endpoint({
505
- method: "POST",
506
- path: "/v1/promotion-channels",
507
- baseUrl: "https://accountinformation.roblox.com",
508
- requestFormat: "json",
503
+ method: 'POST',
504
+ path: '/v1/promotion-channels',
505
+ baseUrl: 'https://accountinformation.roblox.com',
506
+ requestFormat: 'json',
509
507
  serializationMethod: {
510
508
  body: {},
511
509
  },
@@ -540,20 +538,20 @@ export const postPromotionChannels = endpoint({
540
538
  * @param filterLink Whether all promotion channel links should be filtered.
541
539
  */
542
540
  export const getUsersUseridPromotionChannels = endpoint({
543
- method: "GET",
544
- path: "/v1/users/:userId/promotion-channels",
545
- baseUrl: "https://accountinformation.roblox.com",
546
- requestFormat: "json",
541
+ method: 'GET',
542
+ path: '/v1/users/:userId/promotion-channels',
543
+ baseUrl: 'https://accountinformation.roblox.com',
544
+ requestFormat: 'json',
547
545
  serializationMethod: {
548
546
  userId: {
549
- style: "simple",
547
+ style: 'simple',
550
548
  },
551
549
  alwaysReturnUrls: {
552
- style: "form",
550
+ style: 'form',
553
551
  explode: true,
554
552
  },
555
553
  filterLink: {
556
- style: "form",
554
+ style: 'form',
557
555
  explode: true,
558
556
  },
559
557
  },
@@ -562,8 +560,7 @@ export const getUsersUseridPromotionChannels = endpoint({
562
560
  alwaysReturnUrls: z.boolean().optional(),
563
561
  filterLink: z.boolean().optional(),
564
562
  },
565
- response:
566
- Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
563
+ response: Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
567
564
  errors: [
568
565
  {
569
566
  status: 400,
@@ -577,13 +574,13 @@ export const getUsersUseridPromotionChannels = endpoint({
577
574
  * @param userId
578
575
  */
579
576
  export const getUsersUseridRobloxBadges = endpoint({
580
- method: "GET",
581
- path: "/v1/users/:userId/roblox-badges",
582
- baseUrl: "https://accountinformation.roblox.com",
583
- requestFormat: "json",
577
+ method: 'GET',
578
+ path: '/v1/users/:userId/roblox-badges',
579
+ baseUrl: 'https://accountinformation.roblox.com',
580
+ requestFormat: 'json',
584
581
  serializationMethod: {
585
582
  userId: {
586
- style: "simple",
583
+ style: 'simple',
587
584
  },
588
585
  },
589
586
  parameters: {