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.
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
- package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
- package/lib/endpoints/authv1.d.ts +479 -521
- package/lib/endpoints/authv2.d.ts +209 -221
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +92 -99
- package/lib/endpoints/catalogv1.d.ts +207 -233
- package/lib/endpoints/catalogv2.d.ts +81 -119
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +230 -293
- package/lib/endpoints/developv2.d.ts +84 -137
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +200 -237
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamesv1.d.ts +181 -143
- package/lib/endpoints/gamesv2.d.ts +161 -169
- package/lib/endpoints/groupsv1.d.ts +938 -988
- package/lib/endpoints/groupsv2.d.ts +259 -278
- package/lib/endpoints/inventoryv1.d.ts +91 -122
- package/lib/endpoints/inventoryv2.d.ts +163 -180
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +325 -326
- package/lib/endpoints/thumbnailsv1.js +24 -24
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +56 -1
- package/lib/index.js +159 -3
- package/package.json +2 -2
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
|
-
const Roblox_ClientSettings_Api_Models_Response_AndroidBinaryLibraryNames =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
z.
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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:
|
|
64
|
-
path:
|
|
65
|
-
baseUrl:
|
|
66
|
-
requestFormat:
|
|
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:
|
|
65
|
+
style: 'simple',
|
|
70
66
|
},
|
|
71
67
|
channelName: {
|
|
72
|
-
style:
|
|
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:
|
|
89
|
-
path:
|
|
90
|
-
baseUrl:
|
|
91
|
-
requestFormat:
|
|
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:
|
|
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:
|
|
111
|
-
path:
|
|
112
|
-
baseUrl:
|
|
113
|
-
requestFormat:
|
|
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:
|
|
112
|
+
style: 'simple',
|
|
117
113
|
},
|
|
118
114
|
channelName: {
|
|
119
|
-
style:
|
|
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:
|
|
141
|
-
path:
|
|
142
|
-
baseUrl:
|
|
143
|
-
requestFormat:
|
|
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:
|
|
154
|
-
path:
|
|
155
|
-
baseUrl:
|
|
156
|
-
requestFormat:
|
|
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:
|
|
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:
|
|
180
|
-
path:
|
|
181
|
-
baseUrl:
|
|
182
|
-
requestFormat:
|
|
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:
|
|
181
|
+
style: 'simple',
|
|
186
182
|
},
|
|
187
183
|
channel: {
|
|
188
|
-
style:
|
|
184
|
+
style: 'form',
|
|
189
185
|
explode: true,
|
|
190
186
|
},
|
|
191
187
|
version: {
|
|
192
|
-
style:
|
|
188
|
+
style: 'form',
|
|
193
189
|
explode: true,
|
|
194
190
|
},
|
|
195
191
|
tag: {
|
|
196
|
-
style:
|
|
192
|
+
style: 'form',
|
|
197
193
|
explode: true,
|
|
198
194
|
},
|
|
199
195
|
name: {
|
|
200
|
-
style:
|
|
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:
|
|
235
|
-
path:
|
|
236
|
-
baseUrl:
|
|
237
|
-
requestFormat:
|
|
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:
|
|
234
|
+
style: 'form',
|
|
241
235
|
explode: true,
|
|
242
236
|
},
|
|
243
237
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { z } from
|
|
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([
|
|
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([
|
|
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:
|
|
29
|
-
path:
|
|
30
|
-
baseUrl:
|
|
31
|
-
requestFormat:
|
|
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:
|
|
61
|
-
path:
|
|
62
|
-
baseUrl:
|
|
63
|
-
requestFormat:
|
|
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:
|
|
99
|
-
path:
|
|
100
|
-
baseUrl:
|
|
101
|
-
requestFormat:
|
|
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:
|
|
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
|
});
|