rozod 6.3.0 → 6.4.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/accountsettingsv1.d.ts +27 -33
- package/lib/endpoints/accountsettingsv1.js +11 -22
- package/lib/endpoints/adconfigurationv2.d.ts +104 -119
- package/lib/endpoints/adconfigurationv2.js +32 -48
- package/lib/endpoints/assetdeliveryv1.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv1.js +25 -24
- package/lib/endpoints/assetdeliveryv2.d.ts +25 -24
- package/lib/endpoints/assetdeliveryv2.js +25 -24
- package/lib/endpoints/authv1.d.ts +84 -84
- package/lib/endpoints/authv1.js +69 -62
- package/lib/endpoints/authv2.d.ts +56 -56
- package/lib/endpoints/authv2.js +57 -50
- package/lib/endpoints/authv3.d.ts +11 -11
- package/lib/endpoints/authv3.js +11 -11
- package/lib/endpoints/badgesv1.d.ts +6 -2
- package/lib/endpoints/badgesv1.js +2 -2
- package/lib/endpoints/catalogv1.d.ts +37 -43
- package/lib/endpoints/catalogv1.js +37 -37
- package/lib/endpoints/catalogv2.d.ts +11 -11
- package/lib/endpoints/catalogv2.js +11 -11
- package/lib/endpoints/clientsettingsv2.d.ts +7 -7
- package/lib/endpoints/clientsettingsv2.js +8 -1
- package/lib/endpoints/developv1.d.ts +31 -31
- package/lib/endpoints/developv1.js +26 -26
- package/lib/endpoints/developv2.d.ts +27 -27
- package/lib/endpoints/developv2.js +22 -22
- package/lib/endpoints/economycreatorstatsv1.d.ts +1 -1
- package/lib/endpoints/economycreatorstatsv1.js +1 -1
- package/lib/endpoints/followingsv2.d.ts +2 -2
- package/lib/endpoints/followingsv2.js +2 -2
- package/lib/endpoints/friendsv1.d.ts +24 -23
- package/lib/endpoints/friendsv1.js +24 -23
- package/lib/endpoints/gamesv1.d.ts +27 -615
- package/lib/endpoints/gamesv1.js +28 -608
- package/lib/endpoints/gamesv2.d.ts +187 -260
- package/lib/endpoints/gamesv2.js +130 -190
- package/lib/endpoints/groupsv1.d.ts +26 -26
- package/lib/endpoints/groupsv1.js +28 -16
- package/lib/endpoints/groupsv2.d.ts +92 -92
- package/lib/endpoints/groupsv2.js +93 -87
- package/lib/endpoints/inventoryv1.d.ts +9 -21
- package/lib/endpoints/inventoryv1.js +4 -4
- package/lib/endpoints/inventoryv2.d.ts +91 -91
- package/lib/endpoints/inventoryv2.js +86 -86
- package/lib/endpoints/itemconfigurationv1.d.ts +1 -1
- package/lib/endpoints/itemconfigurationv1.js +1 -1
- package/lib/endpoints/tradesv1.d.ts +10 -16
- package/lib/endpoints/tradesv1.js +10 -10
- package/lib/endpoints/twostepverificationv1.d.ts +59 -60
- package/lib/endpoints/twostepverificationv1.js +59 -60
- package/lib/endpoints/usersv1.d.ts +1 -1
- package/lib/endpoints/usersv1.js +1 -1
- package/lib/index.js +29 -3
- package/package.json +1 -1
|
@@ -140,7 +140,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = z.object({
|
|
|
140
140
|
]),
|
|
141
141
|
});
|
|
142
142
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = z.object({
|
|
143
|
-
region: z.
|
|
143
|
+
region: z.enum(["Unknown", "China"]),
|
|
144
144
|
status: z.string(),
|
|
145
145
|
});
|
|
146
146
|
const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
@@ -154,29 +154,29 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
|
154
154
|
id: z.number().int(),
|
|
155
155
|
name: z.string(),
|
|
156
156
|
description: z.string(),
|
|
157
|
-
universeAvatarType: z.
|
|
158
|
-
universeAnimationType: z.
|
|
159
|
-
universeCollisionType: z.
|
|
160
|
-
universeJointPositioningType: z.
|
|
157
|
+
universeAvatarType: z.enum(["MorphToR6", "PlayerChoice", "MorphToR15"]),
|
|
158
|
+
universeAnimationType: z.enum(["Standard", "PlayerChoice"]),
|
|
159
|
+
universeCollisionType: z.enum(["InnerBox", "OuterBox"]),
|
|
160
|
+
universeJointPositioningType: z.enum(["Standard", "ArtistIntent"]),
|
|
161
161
|
engineAvatarSettings: z.string(),
|
|
162
162
|
isArchived: z.boolean(),
|
|
163
163
|
isFriendsOnly: z.boolean(),
|
|
164
|
-
genre: z.
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
164
|
+
genre: z.enum([
|
|
165
|
+
"All",
|
|
166
|
+
"Tutorial",
|
|
167
|
+
"Scary",
|
|
168
|
+
"TownAndCity",
|
|
169
|
+
"War",
|
|
170
|
+
"Funny",
|
|
171
|
+
"Fantasy",
|
|
172
|
+
"Adventure",
|
|
173
|
+
"SciFi",
|
|
174
|
+
"Pirate",
|
|
175
|
+
"FPS",
|
|
176
|
+
"RPG",
|
|
177
|
+
"Sports",
|
|
178
|
+
"Ninja",
|
|
179
|
+
"WildWest",
|
|
180
180
|
]),
|
|
181
181
|
playableDevices: z.array(
|
|
182
182
|
z.union([
|
|
@@ -199,12 +199,12 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = z.object({
|
|
|
199
199
|
Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
200
200
|
isForSaleInFiat: z.boolean(),
|
|
201
201
|
fiatBasePriceId: z.string(),
|
|
202
|
-
fiatModerationStatus: z.
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
fiatModerationStatus: z.enum([
|
|
203
|
+
"Invalid",
|
|
204
|
+
"NotModerated",
|
|
205
|
+
"Pending",
|
|
206
|
+
"Approved",
|
|
207
|
+
"Rejected",
|
|
208
208
|
]),
|
|
209
209
|
eligibleForTextChatMigration: z.boolean(),
|
|
210
210
|
});
|
|
@@ -121,7 +121,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsRequestV2 = zod_1.z.object({
|
|
|
121
121
|
fiatProductChangeType: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3)]),
|
|
122
122
|
});
|
|
123
123
|
const Roblox_Api_Develop_Models_UniverseModerationPolicyStatus = zod_1.z.object({
|
|
124
|
-
region: zod_1.z.
|
|
124
|
+
region: zod_1.z.enum(['Unknown', 'China']),
|
|
125
125
|
status: zod_1.z.string(),
|
|
126
126
|
});
|
|
127
127
|
const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
@@ -133,29 +133,29 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
|
133
133
|
id: zod_1.z.number().int(),
|
|
134
134
|
name: zod_1.z.string(),
|
|
135
135
|
description: zod_1.z.string(),
|
|
136
|
-
universeAvatarType: zod_1.z.
|
|
137
|
-
universeAnimationType: zod_1.z.
|
|
138
|
-
universeCollisionType: zod_1.z.
|
|
139
|
-
universeJointPositioningType: zod_1.z.
|
|
136
|
+
universeAvatarType: zod_1.z.enum(['MorphToR6', 'PlayerChoice', 'MorphToR15']),
|
|
137
|
+
universeAnimationType: zod_1.z.enum(['Standard', 'PlayerChoice']),
|
|
138
|
+
universeCollisionType: zod_1.z.enum(['InnerBox', 'OuterBox']),
|
|
139
|
+
universeJointPositioningType: zod_1.z.enum(['Standard', 'ArtistIntent']),
|
|
140
140
|
engineAvatarSettings: zod_1.z.string(),
|
|
141
141
|
isArchived: zod_1.z.boolean(),
|
|
142
142
|
isFriendsOnly: zod_1.z.boolean(),
|
|
143
|
-
genre: zod_1.z.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
143
|
+
genre: zod_1.z.enum([
|
|
144
|
+
'All',
|
|
145
|
+
'Tutorial',
|
|
146
|
+
'Scary',
|
|
147
|
+
'TownAndCity',
|
|
148
|
+
'War',
|
|
149
|
+
'Funny',
|
|
150
|
+
'Fantasy',
|
|
151
|
+
'Adventure',
|
|
152
|
+
'SciFi',
|
|
153
|
+
'Pirate',
|
|
154
|
+
'FPS',
|
|
155
|
+
'RPG',
|
|
156
|
+
'Sports',
|
|
157
|
+
'Ninja',
|
|
158
|
+
'WildWest',
|
|
159
159
|
]),
|
|
160
160
|
playableDevices: zod_1.z.array(zod_1.z.union([zod_1.z.literal(1), zod_1.z.literal(2), zod_1.z.literal(3), zod_1.z.literal(4), zod_1.z.literal(5)])),
|
|
161
161
|
isForSale: zod_1.z.boolean(),
|
|
@@ -167,7 +167,7 @@ const Roblox_Api_Develop_Models_UniverseSettingsResponseV2 = zod_1.z.object({
|
|
|
167
167
|
permissions: Roblox_UniversePluginPermissionAuthority_Models_UniversePluginPermissions,
|
|
168
168
|
isForSaleInFiat: zod_1.z.boolean(),
|
|
169
169
|
fiatBasePriceId: zod_1.z.string(),
|
|
170
|
-
fiatModerationStatus: zod_1.z.
|
|
170
|
+
fiatModerationStatus: zod_1.z.enum(['Invalid', 'NotModerated', 'Pending', 'Approved', 'Rejected']),
|
|
171
171
|
eligibleForTextChatMigration: zod_1.z.boolean(),
|
|
172
172
|
});
|
|
173
173
|
const Roblox_Web_WebAPI_ApiEmptyResponseModel = zod_1.z.object({});
|
|
@@ -2,7 +2,7 @@ import { z } from "zod";
|
|
|
2
2
|
import { endpoint } from "..";
|
|
3
3
|
|
|
4
4
|
const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = z.object({
|
|
5
|
-
dataGranularity: z.
|
|
5
|
+
dataGranularity: z.enum(["Hourly", "Daily", "Monthly"]),
|
|
6
6
|
data: z.array(z.array(z.number())),
|
|
7
7
|
});
|
|
8
8
|
|
|
@@ -4,7 +4,7 @@ exports.getUniversesUniverseidStats = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_EconomyCreatorStats_Api_Models_StatisticsResponse = zod_1.z.object({
|
|
7
|
-
dataGranularity: zod_1.z.
|
|
7
|
+
dataGranularity: zod_1.z.enum(['Hourly', 'Daily', 'Monthly']),
|
|
8
8
|
data: zod_1.z.array(zod_1.z.array(zod_1.z.number())),
|
|
9
9
|
});
|
|
10
10
|
/**
|
|
@@ -2,9 +2,9 @@ import { z } from "zod";
|
|
|
2
2
|
import { endpoint } from "..";
|
|
3
3
|
|
|
4
4
|
const Roblox_Followings_Api_Models_FollowsByTypeResponse = z.object({
|
|
5
|
-
followerType: z.
|
|
5
|
+
followerType: z.enum(["Invalid", "User"]),
|
|
6
6
|
followerId: z.number().int(),
|
|
7
|
-
sourceType: z.
|
|
7
|
+
sourceType: z.enum(["Invalid", "Universe"]),
|
|
8
8
|
followedSources: z.string().datetime({ offset: true }),
|
|
9
9
|
});
|
|
10
10
|
|
|
@@ -4,9 +4,9 @@ exports.getUsersUseridUniverses = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const __1 = require("..");
|
|
6
6
|
const Roblox_Followings_Api_Models_FollowsByTypeResponse = zod_1.z.object({
|
|
7
|
-
followerType: zod_1.z.
|
|
7
|
+
followerType: zod_1.z.enum(['Invalid', 'User']),
|
|
8
8
|
followerId: zod_1.z.number().int(),
|
|
9
|
-
sourceType: zod_1.z.
|
|
9
|
+
sourceType: zod_1.z.enum(['Invalid', 'Universe']),
|
|
10
10
|
followedSources: zod_1.z.string().datetime({ offset: true }),
|
|
11
11
|
});
|
|
12
12
|
/**
|
|
@@ -18,17 +18,17 @@ const Roblox_Friends_Api_FriendRequest = z.object({
|
|
|
18
18
|
sentAt: z.string().datetime({ offset: true }),
|
|
19
19
|
senderId: z.number().int(),
|
|
20
20
|
sourceUniverseId: z.number().int(),
|
|
21
|
-
originSourceType: z.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
originSourceType: z.enum([
|
|
22
|
+
"Unknown",
|
|
23
|
+
"PlayerSearch",
|
|
24
|
+
"QrCode",
|
|
25
|
+
"InGame",
|
|
26
|
+
"UserProfile",
|
|
27
|
+
"QqContactImporter",
|
|
28
|
+
"WeChatContactImporter",
|
|
29
|
+
"ProfileShare",
|
|
30
|
+
"PhoneContactImporter",
|
|
31
|
+
"FriendRecommendations",
|
|
32
32
|
]),
|
|
33
33
|
contactName: z.string(),
|
|
34
34
|
senderNickname: z.string(),
|
|
@@ -112,6 +112,7 @@ const Roblox_Friends_Api_Models_Response_UserPresenceResponseModel = z.object({
|
|
|
112
112
|
const Roblox_Friends_Api_Models_Response_UserPresenceResponse = z.object({
|
|
113
113
|
userPresence: Roblox_Friends_Api_Models_Response_UserPresenceResponseModel,
|
|
114
114
|
sortScore: z.number(),
|
|
115
|
+
loggingJoinKey: z.string(),
|
|
115
116
|
id: z.number().int(),
|
|
116
117
|
name: z.string(),
|
|
117
118
|
displayName: z.string(),
|
|
@@ -122,7 +123,7 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Friends_Api_Models_Respon
|
|
|
122
123
|
});
|
|
123
124
|
const Roblox_Friends_Api_FriendStatusResponse = z.object({
|
|
124
125
|
id: z.number().int(),
|
|
125
|
-
status: z.
|
|
126
|
+
status: z.enum(["NotFriends", "Friends", "RequestSent", "RequestReceived"]),
|
|
126
127
|
});
|
|
127
128
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Friends_Api_FriendStatusResponse_ =
|
|
128
129
|
z.object({ data: z.array(Roblox_Friends_Api_FriendStatusResponse) });
|
|
@@ -166,17 +167,17 @@ const Roblox_Web_Captcha_Models_Request_CaptchaTokenRequest = z.object({
|
|
|
166
167
|
challengeId: z.string(),
|
|
167
168
|
});
|
|
168
169
|
const Roblox_Friends_Api_FriendshipRequestModel = z.object({
|
|
169
|
-
friendshipOriginSourceType: z.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
170
|
+
friendshipOriginSourceType: z.enum([
|
|
171
|
+
"Unknown",
|
|
172
|
+
"PlayerSearch",
|
|
173
|
+
"QrCode",
|
|
174
|
+
"InGame",
|
|
175
|
+
"UserProfile",
|
|
176
|
+
"QqContactImporter",
|
|
177
|
+
"WeChatContactImporter",
|
|
178
|
+
"ProfileShare",
|
|
179
|
+
"PhoneContactImporter",
|
|
180
|
+
"FriendRecommendations",
|
|
180
181
|
]),
|
|
181
182
|
senderNickname: z.string(),
|
|
182
183
|
});
|
|
@@ -18,17 +18,17 @@ const Roblox_Friends_Api_FriendRequest = zod_1.z.object({
|
|
|
18
18
|
sentAt: zod_1.z.string().datetime({ offset: true }),
|
|
19
19
|
senderId: zod_1.z.number().int(),
|
|
20
20
|
sourceUniverseId: zod_1.z.number().int(),
|
|
21
|
-
originSourceType: zod_1.z.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
originSourceType: zod_1.z.enum([
|
|
22
|
+
'Unknown',
|
|
23
|
+
'PlayerSearch',
|
|
24
|
+
'QrCode',
|
|
25
|
+
'InGame',
|
|
26
|
+
'UserProfile',
|
|
27
|
+
'QqContactImporter',
|
|
28
|
+
'WeChatContactImporter',
|
|
29
|
+
'ProfileShare',
|
|
30
|
+
'PhoneContactImporter',
|
|
31
|
+
'FriendRecommendations',
|
|
32
32
|
]),
|
|
33
33
|
contactName: zod_1.z.string(),
|
|
34
34
|
senderNickname: zod_1.z.string(),
|
|
@@ -103,6 +103,7 @@ const Roblox_Friends_Api_Models_Response_UserPresenceResponseModel = zod_1.z.obj
|
|
|
103
103
|
const Roblox_Friends_Api_Models_Response_UserPresenceResponse = zod_1.z.object({
|
|
104
104
|
userPresence: Roblox_Friends_Api_Models_Response_UserPresenceResponseModel,
|
|
105
105
|
sortScore: zod_1.z.number(),
|
|
106
|
+
loggingJoinKey: zod_1.z.string(),
|
|
106
107
|
id: zod_1.z.number().int(),
|
|
107
108
|
name: zod_1.z.string(),
|
|
108
109
|
displayName: zod_1.z.string(),
|
|
@@ -112,7 +113,7 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Friends_Api_Models_Respon
|
|
|
112
113
|
});
|
|
113
114
|
const Roblox_Friends_Api_FriendStatusResponse = zod_1.z.object({
|
|
114
115
|
id: zod_1.z.number().int(),
|
|
115
|
-
status: zod_1.z.
|
|
116
|
+
status: zod_1.z.enum(['NotFriends', 'Friends', 'RequestSent', 'RequestReceived']),
|
|
116
117
|
});
|
|
117
118
|
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_Friends_Api_FriendStatusResponse_ = zod_1.z.object({
|
|
118
119
|
data: zod_1.z.array(Roblox_Friends_Api_FriendStatusResponse),
|
|
@@ -153,17 +154,17 @@ const Roblox_Web_Captcha_Models_Request_CaptchaTokenRequest = zod_1.z.object({
|
|
|
153
154
|
challengeId: zod_1.z.string(),
|
|
154
155
|
});
|
|
155
156
|
const Roblox_Friends_Api_FriendshipRequestModel = zod_1.z.object({
|
|
156
|
-
friendshipOriginSourceType: zod_1.z.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
157
|
+
friendshipOriginSourceType: zod_1.z.enum([
|
|
158
|
+
'Unknown',
|
|
159
|
+
'PlayerSearch',
|
|
160
|
+
'QrCode',
|
|
161
|
+
'InGame',
|
|
162
|
+
'UserProfile',
|
|
163
|
+
'QqContactImporter',
|
|
164
|
+
'WeChatContactImporter',
|
|
165
|
+
'ProfileShare',
|
|
166
|
+
'PhoneContactImporter',
|
|
167
|
+
'FriendRecommendations',
|
|
167
168
|
]),
|
|
168
169
|
senderNickname: zod_1.z.string(),
|
|
169
170
|
});
|