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_Locale_Api_CountryRegion = z.object({
5
5
  code: z.string(),
@@ -29,8 +29,9 @@ const Roblox_Locale_Api_SupportedLocaleLocus = z.object({
29
29
  isEnabledForSignupAndLogin: z.boolean(),
30
30
  isEnabledForInGameUgc: z.boolean(),
31
31
  });
32
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_ =
33
- z.object({ data: z.array(Roblox_Locale_Api_SupportedLocaleLocus) });
32
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_ = z.object({
33
+ data: z.array(Roblox_Locale_Api_SupportedLocaleLocus),
34
+ });
34
35
  const Roblox_Locale_Api_SupportedLocalesResponse = z.object({
35
36
  supportedLocales: z.array(Roblox_Locale_Api_SupportedLocale),
36
37
  });
@@ -58,13 +59,13 @@ const Roblox_Locale_Api_SetSupportedLocaleForUserRequest = z.object({
58
59
  * @param locale
59
60
  */
60
61
  export const getCountryRegions = endpoint({
61
- method: "GET",
62
- path: "/v1/country-regions",
63
- baseUrl: "https://locale.roblox.com",
64
- requestFormat: "json",
62
+ method: 'GET',
63
+ path: '/v1/country-regions',
64
+ baseUrl: 'https://locale.roblox.com',
65
+ requestFormat: 'json',
65
66
  serializationMethod: {
66
67
  locale: {
67
- style: "form",
68
+ style: 'form',
68
69
  explode: true,
69
70
  },
70
71
  },
@@ -89,21 +90,20 @@ export const getCountryRegions = endpoint({
89
90
  * @param displayValueLocale
90
91
  */
91
92
  export const getLocales = endpoint({
92
- method: "GET",
93
- path: "/v1/locales",
94
- baseUrl: "https://locale.roblox.com",
95
- requestFormat: "json",
93
+ method: 'GET',
94
+ path: '/v1/locales',
95
+ baseUrl: 'https://locale.roblox.com',
96
+ requestFormat: 'json',
96
97
  serializationMethod: {
97
98
  displayValueLocale: {
98
- style: "form",
99
+ style: 'form',
99
100
  explode: true,
100
101
  },
101
102
  },
102
103
  parameters: {
103
104
  displayValueLocale: z.string().optional(),
104
105
  },
105
- response:
106
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
106
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
107
107
  errors: [
108
108
  {
109
109
  status: 403,
@@ -121,10 +121,10 @@ export const getLocales = endpoint({
121
121
  * @param body Whether to show Roblox-suggested translations
122
122
  */
123
123
  export const postLocalesSetShowRobloxTranslations = endpoint({
124
- method: "POST",
125
- path: "/v1/locales/set-show-roblox-translations",
126
- baseUrl: "https://locale.roblox.com",
127
- requestFormat: "json",
124
+ method: 'POST',
125
+ path: '/v1/locales/set-show-roblox-translations',
126
+ baseUrl: 'https://locale.roblox.com',
127
+ requestFormat: 'json',
128
128
  serializationMethod: {
129
129
  body: {},
130
130
  },
@@ -159,10 +159,10 @@ Null supported locale will clear out user's supported locale (set users' support
159
159
  * @param body Supported locale code that needs to be set for user
160
160
  */
161
161
  export const postLocalesSetUserSupportedLocale = endpoint({
162
- method: "POST",
163
- path: "/v1/locales/set-user-supported-locale",
164
- baseUrl: "https://locale.roblox.com",
165
- requestFormat: "json",
162
+ method: 'POST',
163
+ path: '/v1/locales/set-user-supported-locale',
164
+ baseUrl: 'https://locale.roblox.com',
165
+ requestFormat: 'json',
166
166
  serializationMethod: {
167
167
  body: {},
168
168
  },
@@ -195,10 +195,10 @@ export const postLocalesSetUserSupportedLocale = endpoint({
195
195
  * @summary Get list of supported locales sorted by the Native Name property.
196
196
  */
197
197
  export const getLocalesSupportedLocales = endpoint({
198
- method: "GET",
199
- path: "/v1/locales/supported-locales",
200
- baseUrl: "https://locale.roblox.com",
201
- requestFormat: "json",
198
+ method: 'GET',
199
+ path: '/v1/locales/supported-locales',
200
+ baseUrl: 'https://locale.roblox.com',
201
+ requestFormat: 'json',
202
202
  response: Roblox_Locale_Api_SupportedLocalesResponse,
203
203
  errors: [
204
204
  {
@@ -216,21 +216,20 @@ export const getLocalesSupportedLocales = endpoint({
216
216
  * @param displayValueLocale
217
217
  */
218
218
  export const getLocalesSupportedLocalesForCreators = endpoint({
219
- method: "GET",
220
- path: "/v1/locales/supported-locales-for-creators",
221
- baseUrl: "https://locale.roblox.com",
222
- requestFormat: "json",
219
+ method: 'GET',
220
+ path: '/v1/locales/supported-locales-for-creators',
221
+ baseUrl: 'https://locale.roblox.com',
222
+ requestFormat: 'json',
223
223
  serializationMethod: {
224
224
  displayValueLocale: {
225
- style: "form",
225
+ style: 'form',
226
226
  explode: true,
227
227
  },
228
228
  },
229
229
  parameters: {
230
230
  displayValueLocale: z.string().optional(),
231
231
  },
232
- response:
233
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
232
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Locale_Api_SupportedLocaleLocus_,
234
233
  errors: [],
235
234
  });
236
235
  /**
@@ -239,13 +238,13 @@ export const getLocalesSupportedLocalesForCreators = endpoint({
239
238
  * @param featureName
240
239
  */
241
240
  export const getLocalesSupportedLocalesForFeature = endpoint({
242
- method: "GET",
243
- path: "/v1/locales/supported-locales-for-feature",
244
- baseUrl: "https://locale.roblox.com",
245
- requestFormat: "json",
241
+ method: 'GET',
242
+ path: '/v1/locales/supported-locales-for-feature',
243
+ baseUrl: 'https://locale.roblox.com',
244
+ requestFormat: 'json',
246
245
  serializationMethod: {
247
246
  featureName: {
248
- style: "form",
247
+ style: 'form',
249
248
  explode: true,
250
249
  },
251
250
  },
@@ -265,10 +264,10 @@ export const getLocalesSupportedLocalesForFeature = endpoint({
265
264
  * @summary Gets user locale. If user is absent returns, locale from http request object.
266
265
  */
267
266
  export const getLocalesUserLocale = endpoint({
268
- method: "GET",
269
- path: "/v1/locales/user-locale",
270
- baseUrl: "https://locale.roblox.com",
271
- requestFormat: "json",
267
+ method: 'GET',
268
+ path: '/v1/locales/user-locale',
269
+ baseUrl: 'https://locale.roblox.com',
270
+ requestFormat: 'json',
272
271
  response: Roblox_Locale_Api_UserLocaleResponse,
273
272
  errors: [
274
273
  {
@@ -284,10 +283,10 @@ have been defined by the International team which need independent locale suppor
284
283
  If the user is null we will attempt to return the locales appropriate for the user's device language.
285
284
  */
286
285
  export const getLocalesUserLocalizationLocusSupportedLocales = endpoint({
287
- method: "GET",
288
- path: "/v1/locales/user-localization-locus-supported-locales",
289
- baseUrl: "https://locale.roblox.com",
290
- requestFormat: "json",
286
+ method: 'GET',
287
+ path: '/v1/locales/user-localization-locus-supported-locales',
288
+ baseUrl: 'https://locale.roblox.com',
289
+ requestFormat: 'json',
291
290
  response: Roblox_Locale_Api_UserLocalizationLocusLocalesResponse,
292
291
  errors: [
293
292
  {