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,23 +1,19 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
- const Roblox_ClientSettings_Api_Models_Response_AndroidBinaryLibraryNames =
5
- z.object({ engine: z.string() });
6
- const Roblox_ClientSettings_Api_Models_Response_AndroidBinaryResponse =
7
- z.object({
8
- moduleName: z.string(),
9
- libraryNames:
10
- Roblox_ClientSettings_Api_Models_Response_AndroidBinaryLibraryNames,
11
- supportsAndroidBinaries: z.boolean(),
12
- });
13
- const Roblox_ClientSettings_Api_Models_Response_ClientVersionResponse =
14
- z.object({
15
- version: z.string(),
16
- clientVersionUpload: z.string(),
17
- bootstrapperVersion: z.string(),
18
- nextClientVersionUpload: z.string(),
19
- nextClientVersion: z.string(),
20
- });
4
+ const Roblox_ClientSettings_Api_Models_Response_AndroidBinaryLibraryNames = z.object({ engine: z.string() });
5
+ const Roblox_ClientSettings_Api_Models_Response_AndroidBinaryResponse = z.object({
6
+ moduleName: z.string(),
7
+ libraryNames: Roblox_ClientSettings_Api_Models_Response_AndroidBinaryLibraryNames,
8
+ supportsAndroidBinaries: z.boolean(),
9
+ });
10
+ const Roblox_ClientSettings_Api_Models_Response_ClientVersionResponse = z.object({
11
+ version: z.string(),
12
+ clientVersionUpload: z.string(),
13
+ bootstrapperVersion: z.string(),
14
+ nextClientVersionUpload: z.string(),
15
+ nextClientVersion: z.string(),
16
+ });
21
17
  const Roblox_ClientSettings_Api_Models_Response_OtaVersionResponse = z.object({
22
18
  name: z.string(),
23
19
  version: z.string(),
@@ -41,12 +37,12 @@ const Roblox_ClientSettings_Api_Models_Response_BetaProgramInfo = z.object({
41
37
  const Roblox_ClientSettings_Api_Models_Response_UserChannelResponse = z.object({
42
38
  channelName: z.string(),
43
39
  channelAssignmentType: z.enum([
44
- "None",
45
- "PerMille",
46
- "BoundToPrivateChannel",
47
- "BoundToPublicChannel",
48
- "OptedInToBetaProgramWithPrivateChannel",
49
- "OptedInToBetaProgramWithPublicChannel",
40
+ 'None',
41
+ 'PerMille',
42
+ 'BoundToPrivateChannel',
43
+ 'BoundToPublicChannel',
44
+ 'OptedInToBetaProgramWithPrivateChannel',
45
+ 'OptedInToBetaProgramWithPublicChannel',
50
46
  ]),
51
47
  token: z.string(),
52
48
  program: Roblox_ClientSettings_Api_Models_Response_BetaProgramInfo,
@@ -60,16 +56,16 @@ const Roblox_ClientSettings_Api_Models_Response_UserChannelResponse = z.object({
60
56
  * @param channelName The name of the channel. E.g. ZFlag, ZIntegration
61
57
  */
62
58
  export const getAndroidBinariesVersionChannelsChannelname = endpoint({
63
- method: "GET",
64
- path: "/v2/android-binaries/:version/channels/:channelName",
65
- baseUrl: "https://clientsettings.roblox.com",
66
- requestFormat: "json",
59
+ method: 'GET',
60
+ path: '/v2/android-binaries/:version/channels/:channelName',
61
+ baseUrl: 'https://clientsettings.roblox.com',
62
+ requestFormat: 'json',
67
63
  serializationMethod: {
68
64
  version: {
69
- style: "simple",
65
+ style: 'simple',
70
66
  },
71
67
  channelName: {
72
- style: "simple",
68
+ style: 'simple',
73
69
  },
74
70
  },
75
71
  parameters: {
@@ -85,13 +81,13 @@ export const getAndroidBinariesVersionChannelsChannelname = endpoint({
85
81
  * @param binaryType Platform(WindowsPlayer, WindowsStudio, MacPlayer or MacStudio) for which we want the latest version
86
82
  */
87
83
  export const getClientVersionBinarytype = endpoint({
88
- method: "GET",
89
- path: "/v2/client-version/:binaryType",
90
- baseUrl: "https://clientsettings.roblox.com",
91
- requestFormat: "json",
84
+ method: 'GET',
85
+ path: '/v2/client-version/:binaryType',
86
+ baseUrl: 'https://clientsettings.roblox.com',
87
+ requestFormat: 'json',
92
88
  serializationMethod: {
93
89
  binaryType: {
94
- style: "simple",
90
+ style: 'simple',
95
91
  },
96
92
  },
97
93
  parameters: {
@@ -107,16 +103,16 @@ export const getClientVersionBinarytype = endpoint({
107
103
  * @param channelName Channel Name
108
104
  */
109
105
  export const getClientVersionBinarytypeChannelChannelname = endpoint({
110
- method: "GET",
111
- path: "/v2/client-version/:binaryType/channel/:channelName",
112
- baseUrl: "https://clientsettings.roblox.com",
113
- requestFormat: "json",
106
+ method: 'GET',
107
+ path: '/v2/client-version/:binaryType/channel/:channelName',
108
+ baseUrl: 'https://clientsettings.roblox.com',
109
+ requestFormat: 'json',
114
110
  serializationMethod: {
115
111
  binaryType: {
116
- style: "simple",
112
+ style: 'simple',
117
113
  },
118
114
  channelName: {
119
- style: "simple",
115
+ style: 'simple',
120
116
  },
121
117
  },
122
118
  parameters: {
@@ -137,10 +133,10 @@ export const getClientVersionBinarytypeChannelChannelname = endpoint({
137
133
  This will be sorted by creation date, with the most recent dictionaries first.
138
134
  */
139
135
  export const getCompressionDictionaries = endpoint({
140
- method: "GET",
141
- path: "/v2/compression-dictionaries",
142
- baseUrl: "https://clientsettings.roblox.com",
143
- requestFormat: "json",
136
+ method: 'GET',
137
+ path: '/v2/compression-dictionaries',
138
+ baseUrl: 'https://clientsettings.roblox.com',
139
+ requestFormat: 'json',
144
140
  response: z.void(),
145
141
  errors: [],
146
142
  });
@@ -150,13 +146,13 @@ export const getCompressionDictionaries = endpoint({
150
146
  * @param dictionarySha256 The SHA256 of the dictionary we wish to download.
151
147
  */
152
148
  export const getCompressionDictionariesDictionarysha256 = endpoint({
153
- method: "GET",
154
- path: "/v2/compression-dictionaries/:dictionarySha256",
155
- baseUrl: "https://clientsettings.roblox.com",
156
- requestFormat: "json",
149
+ method: 'GET',
150
+ path: '/v2/compression-dictionaries/:dictionarySha256',
151
+ baseUrl: 'https://clientsettings.roblox.com',
152
+ requestFormat: 'json',
157
153
  serializationMethod: {
158
154
  dictionarySha256: {
159
- style: "simple",
155
+ style: 'simple',
160
156
  },
161
157
  },
162
158
  parameters: {
@@ -176,28 +172,28 @@ Returns empty list if no updates are found or channel/application with the given
176
172
  * @param name Name to filter results by. Only applicable to non-studio application types.
177
173
  */
178
174
  export const getOtaVersionBinarytype = endpoint({
179
- method: "GET",
180
- path: "/v2/ota-version/:binaryType",
181
- baseUrl: "https://clientsettings.roblox.com",
182
- requestFormat: "json",
175
+ method: 'GET',
176
+ path: '/v2/ota-version/:binaryType',
177
+ baseUrl: 'https://clientsettings.roblox.com',
178
+ requestFormat: 'json',
183
179
  serializationMethod: {
184
180
  binaryType: {
185
- style: "simple",
181
+ style: 'simple',
186
182
  },
187
183
  channel: {
188
- style: "form",
184
+ style: 'form',
189
185
  explode: true,
190
186
  },
191
187
  version: {
192
- style: "form",
188
+ style: 'form',
193
189
  explode: true,
194
190
  },
195
191
  tag: {
196
- style: "form",
192
+ style: 'form',
197
193
  explode: true,
198
194
  },
199
195
  name: {
200
- style: "form",
196
+ style: 'form',
201
197
  explode: true,
202
198
  },
203
199
  },
@@ -208,9 +204,7 @@ export const getOtaVersionBinarytype = endpoint({
208
204
  tag: z.string().optional(),
209
205
  name: z.string().optional(),
210
206
  },
211
- response: z.array(
212
- Roblox_ClientSettings_Api_Models_Response_OtaVersionResponse
213
- ),
207
+ response: z.array(Roblox_ClientSettings_Api_Models_Response_OtaVersionResponse),
214
208
  errors: [
215
209
  {
216
210
  status: 400,
@@ -231,13 +225,13 @@ export const getOtaVersionBinarytype = endpoint({
231
225
  * @param binaryType
232
226
  */
233
227
  export const getUserChannel = endpoint({
234
- method: "GET",
235
- path: "/v2/user-channel",
236
- baseUrl: "https://clientsettings.roblox.com",
237
- requestFormat: "json",
228
+ method: 'GET',
229
+ path: '/v2/user-channel',
230
+ baseUrl: 'https://clientsettings.roblox.com',
231
+ requestFormat: 'json',
238
232
  serializationMethod: {
239
233
  binaryType: {
240
- style: "form",
234
+ style: 'form',
241
235
  explode: true,
242
236
  },
243
237
  },
@@ -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_Contacts_Api_Response_ValidateUserTagResponseModel = z.object({
5
- status: z.enum(["Success", "Moderated", "TooLong"]),
5
+ status: z.enum(['Success', 'Moderated', 'TooLong']),
6
6
  });
7
7
  const Roblox_Contacts_Api_Request_GetUserTagsRequestModel = z.object({
8
8
  targetUserIds: z.array(z.number()),
@@ -16,7 +16,7 @@ const Roblox_Contacts_Api_Request_SetUserTagRequestModel = z.object({
16
16
  userTag: z.string(),
17
17
  });
18
18
  const Roblox_Contacts_Api_Response_SetUserTagResponseModel = z.object({
19
- status: z.enum(["Success", "Moderated"]),
19
+ status: z.enum(['Success', 'Moderated']),
20
20
  });
21
21
 
22
22
  /**
@@ -25,10 +25,10 @@ const Roblox_Contacts_Api_Response_SetUserTagResponseModel = z.object({
25
25
  * @param body
26
26
  */
27
27
  export const postUserGetTags = endpoint({
28
- method: "POST",
29
- path: "/v1/user/get-tags",
30
- baseUrl: "https://contacts.roblox.com",
31
- requestFormat: "json",
28
+ method: 'POST',
29
+ path: '/v1/user/get-tags',
30
+ baseUrl: 'https://contacts.roblox.com',
31
+ requestFormat: 'json',
32
32
  serializationMethod: {
33
33
  body: {},
34
34
  },
@@ -57,10 +57,10 @@ export const postUserGetTags = endpoint({
57
57
  * @param body The tag receiving userId and the tag itself
58
58
  */
59
59
  export const postUserTag = endpoint({
60
- method: "POST",
61
- path: "/v1/user/tag",
62
- baseUrl: "https://contacts.roblox.com",
63
- requestFormat: "json",
60
+ method: 'POST',
61
+ path: '/v1/user/tag',
62
+ baseUrl: 'https://contacts.roblox.com',
63
+ requestFormat: 'json',
64
64
  serializationMethod: {
65
65
  body: {},
66
66
  },
@@ -95,13 +95,13 @@ export const postUserTag = endpoint({
95
95
  * @param alias The tag to validate
96
96
  */
97
97
  export const getUserTagValidate = endpoint({
98
- method: "GET",
99
- path: "/v1/user/tag/validate",
100
- baseUrl: "https://contacts.roblox.com",
101
- requestFormat: "json",
98
+ method: 'GET',
99
+ path: '/v1/user/tag/validate',
100
+ baseUrl: 'https://contacts.roblox.com',
101
+ requestFormat: 'json',
102
102
  serializationMethod: {
103
103
  alias: {
104
- style: "form",
104
+ style: 'form',
105
105
  explode: true,
106
106
  },
107
107
  },
@@ -138,7 +138,5 @@ export const getContactsMetadata = endpoint({
138
138
  baseUrl: 'https://contacts.roblox.com',
139
139
  requestFormat: 'json',
140
140
  response: Patch_ContactsMetadataResponseModel,
141
- errors: [
142
- { status: 401, description: `0: Authorization has been denied for this request.` },
143
- ],
141
+ errors: [{ status: 401, description: `0: Authorization has been denied for this request.` }],
144
142
  });