rozod 1.0.6 → 2.0.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 +300 -225
- package/lib/endpoints/accountinformationv1.js +166 -95
- package/lib/endpoints/accountsettingsv1.d.ts +259 -171
- package/lib/endpoints/accountsettingsv1.js +192 -115
- package/lib/endpoints/assetdeliveryv1.d.ts +497 -351
- package/lib/endpoints/assetdeliveryv1.js +162 -22
- package/lib/endpoints/assetdeliveryv2.d.ts +661 -515
- package/lib/endpoints/assetdeliveryv2.js +165 -27
- package/lib/endpoints/authv1.d.ts +818 -671
- package/lib/endpoints/authv1.js +324 -201
- package/lib/endpoints/authv2.d.ts +834 -719
- package/lib/endpoints/authv2.js +252 -178
- package/lib/endpoints/authv3.d.ts +18 -13
- package/lib/endpoints/authv3.js +13 -10
- package/lib/endpoints/avatarv1.d.ts +1480 -1394
- package/lib/endpoints/avatarv1.js +179 -120
- package/lib/endpoints/avatarv2.d.ts +915 -886
- package/lib/endpoints/avatarv2.js +78 -64
- package/lib/endpoints/avatarv3.d.ts +563 -545
- package/lib/endpoints/avatarv3.js +51 -44
- package/lib/endpoints/badgesv1.d.ts +500 -451
- package/lib/endpoints/badgesv1.js +100 -62
- package/lib/endpoints/catalogv1.d.ts +1415 -1311
- package/lib/endpoints/catalogv1.js +180 -108
- package/lib/endpoints/chatv2.d.ts +1752 -1657
- package/lib/endpoints/chatv2.js +229 -151
- package/lib/endpoints/developv1.d.ts +1512 -1291
- package/lib/endpoints/developv1.js +394 -215
- package/lib/endpoints/developv2.d.ts +534 -507
- package/lib/endpoints/developv2.js +57 -47
- package/lib/endpoints/economyv1.d.ts +7 -4
- package/lib/endpoints/economyv1.js +9 -4
- package/lib/endpoints/friendsv1.d.ts +763 -654
- package/lib/endpoints/friendsv1.js +207 -121
- package/lib/endpoints/gamesv1.d.ts +2255 -2089
- package/lib/endpoints/gamesv1.js +334 -212
- package/lib/endpoints/gamesv2.d.ts +498 -462
- package/lib/endpoints/gamesv2.js +54 -30
- package/lib/endpoints/groupsv1.d.ts +4495 -4163
- package/lib/endpoints/groupsv1.js +620 -364
- package/lib/endpoints/groupsv2.d.ts +449 -429
- package/lib/endpoints/groupsv2.js +59 -53
- package/lib/endpoints/inventoryv1.d.ts +314 -260
- package/lib/endpoints/inventoryv1.js +91 -49
- package/lib/endpoints/inventoryv2.d.ts +205 -181
- package/lib/endpoints/inventoryv2.js +44 -36
- package/lib/endpoints/presencev1.d.ts +92 -80
- package/lib/endpoints/presencev1.js +36 -27
- package/lib/endpoints/privatemessagesv1.d.ts +445 -402
- package/lib/endpoints/privatemessagesv1.js +88 -58
- package/lib/endpoints/thumbnailsv1.d.ts +619 -476
- package/lib/endpoints/thumbnailsv1.js +187 -58
- package/lib/endpoints/tradesv1.d.ts +333 -291
- package/lib/endpoints/tradesv1.js +88 -56
- package/lib/endpoints/translationsv1.d.ts +41 -25
- package/lib/endpoints/translationsv1.js +27 -8
- package/lib/endpoints/usersv1.d.ts +232 -180
- package/lib/endpoints/usersv1.js +116 -64
- package/package.json +1 -1
- package/readme.md +5 -5
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* @api get https://accountinformation.roblox.com/v1/birthdate
|
|
4
|
+
*/
|
|
5
|
+
export declare const getBirthdate: {
|
|
3
6
|
method: "get";
|
|
4
7
|
path: string;
|
|
5
8
|
baseUrl: string;
|
|
6
9
|
requestFormat: "json";
|
|
7
10
|
response: z.ZodObject<{
|
|
8
|
-
birthMonth: z.
|
|
9
|
-
birthDay: z.
|
|
10
|
-
birthYear: z.
|
|
11
|
+
birthMonth: z.ZodNumber;
|
|
12
|
+
birthDay: z.ZodNumber;
|
|
13
|
+
birthYear: z.ZodNumber;
|
|
11
14
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
birthMonth
|
|
13
|
-
birthDay
|
|
14
|
-
birthYear
|
|
15
|
+
birthMonth: number;
|
|
16
|
+
birthDay: number;
|
|
17
|
+
birthYear: number;
|
|
15
18
|
}, {
|
|
16
|
-
birthMonth
|
|
17
|
-
birthDay
|
|
18
|
-
birthYear
|
|
19
|
+
birthMonth: number;
|
|
20
|
+
birthDay: number;
|
|
21
|
+
birthYear: number;
|
|
19
22
|
}>;
|
|
20
23
|
errors: {
|
|
21
24
|
status: number;
|
|
@@ -23,27 +26,31 @@ export declare const getV1birthdate: {
|
|
|
23
26
|
schema: z.ZodVoid;
|
|
24
27
|
}[];
|
|
25
28
|
};
|
|
26
|
-
|
|
29
|
+
/**
|
|
30
|
+
* @api post https://accountinformation.roblox.com/v1/birthdate
|
|
31
|
+
* @param body The Roblox.AccountInformation.Api.Models.BirthdateRequest
|
|
32
|
+
*/
|
|
33
|
+
export declare const postBirthdate: {
|
|
27
34
|
method: "post";
|
|
28
35
|
path: string;
|
|
29
36
|
baseUrl: string;
|
|
30
37
|
requestFormat: "json";
|
|
31
38
|
parameters: {
|
|
32
39
|
body: z.ZodObject<{
|
|
33
|
-
birthMonth: z.
|
|
34
|
-
birthDay: z.
|
|
35
|
-
birthYear: z.
|
|
36
|
-
password: z.
|
|
40
|
+
birthMonth: z.ZodNumber;
|
|
41
|
+
birthDay: z.ZodNumber;
|
|
42
|
+
birthYear: z.ZodNumber;
|
|
43
|
+
password: z.ZodString;
|
|
37
44
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
birthMonth
|
|
39
|
-
birthDay
|
|
40
|
-
birthYear
|
|
41
|
-
password
|
|
45
|
+
birthMonth: number;
|
|
46
|
+
birthDay: number;
|
|
47
|
+
birthYear: number;
|
|
48
|
+
password: string;
|
|
42
49
|
}, {
|
|
43
|
-
birthMonth
|
|
44
|
-
birthDay
|
|
45
|
-
birthYear
|
|
46
|
-
password
|
|
50
|
+
birthMonth: number;
|
|
51
|
+
birthDay: number;
|
|
52
|
+
birthYear: number;
|
|
53
|
+
password: string;
|
|
47
54
|
}>;
|
|
48
55
|
};
|
|
49
56
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -53,17 +60,20 @@ export declare const postV1birthdate: {
|
|
|
53
60
|
schema: z.ZodVoid;
|
|
54
61
|
}[];
|
|
55
62
|
};
|
|
56
|
-
|
|
63
|
+
/**
|
|
64
|
+
* @api get https://accountinformation.roblox.com/v1/description
|
|
65
|
+
*/
|
|
66
|
+
export declare const getDescription: {
|
|
57
67
|
method: "get";
|
|
58
68
|
path: string;
|
|
59
69
|
baseUrl: string;
|
|
60
70
|
requestFormat: "json";
|
|
61
71
|
response: z.ZodObject<{
|
|
62
|
-
description: z.
|
|
72
|
+
description: z.ZodString;
|
|
63
73
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
description
|
|
74
|
+
description: string;
|
|
65
75
|
}, {
|
|
66
|
-
description
|
|
76
|
+
description: string;
|
|
67
77
|
}>;
|
|
68
78
|
errors: {
|
|
69
79
|
status: number;
|
|
@@ -71,26 +81,30 @@ export declare const getV1description: {
|
|
|
71
81
|
schema: z.ZodVoid;
|
|
72
82
|
}[];
|
|
73
83
|
};
|
|
74
|
-
|
|
84
|
+
/**
|
|
85
|
+
* @api post https://accountinformation.roblox.com/v1/description
|
|
86
|
+
* @param body The Roblox.AccountInformation.Api.Models.DescriptionRequest
|
|
87
|
+
*/
|
|
88
|
+
export declare const postDescription: {
|
|
75
89
|
method: "post";
|
|
76
90
|
path: string;
|
|
77
91
|
baseUrl: string;
|
|
78
92
|
requestFormat: "json";
|
|
79
93
|
parameters: {
|
|
80
94
|
body: z.ZodObject<{
|
|
81
|
-
description: z.
|
|
95
|
+
description: z.ZodString;
|
|
82
96
|
}, "strip", z.ZodTypeAny, {
|
|
83
|
-
description
|
|
97
|
+
description: string;
|
|
84
98
|
}, {
|
|
85
|
-
description
|
|
99
|
+
description: string;
|
|
86
100
|
}>;
|
|
87
101
|
};
|
|
88
102
|
response: z.ZodObject<{
|
|
89
|
-
description: z.
|
|
103
|
+
description: z.ZodString;
|
|
90
104
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
description
|
|
105
|
+
description: string;
|
|
92
106
|
}, {
|
|
93
|
-
description
|
|
107
|
+
description: string;
|
|
94
108
|
}>;
|
|
95
109
|
errors: {
|
|
96
110
|
status: number;
|
|
@@ -98,26 +112,30 @@ export declare const postV1description: {
|
|
|
98
112
|
schema: z.ZodVoid;
|
|
99
113
|
}[];
|
|
100
114
|
};
|
|
101
|
-
|
|
115
|
+
/**
|
|
116
|
+
* @api post https://accountinformation.roblox.com/v1/email/verify
|
|
117
|
+
* @param body Roblox.AccountInformation.Api.Models.VerifyEmailRequest
|
|
118
|
+
*/
|
|
119
|
+
export declare const postEmailVerify: {
|
|
102
120
|
method: "post";
|
|
103
121
|
path: string;
|
|
104
122
|
baseUrl: string;
|
|
105
123
|
requestFormat: "json";
|
|
106
124
|
parameters: {
|
|
107
125
|
body: z.ZodObject<{
|
|
108
|
-
ticket: z.
|
|
126
|
+
ticket: z.ZodString;
|
|
109
127
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
ticket
|
|
128
|
+
ticket: string;
|
|
111
129
|
}, {
|
|
112
|
-
ticket
|
|
130
|
+
ticket: string;
|
|
113
131
|
}>;
|
|
114
132
|
};
|
|
115
133
|
response: z.ZodObject<{
|
|
116
|
-
verifiedUserHatAssetId: z.
|
|
134
|
+
verifiedUserHatAssetId: z.ZodNumber;
|
|
117
135
|
}, "strip", z.ZodTypeAny, {
|
|
118
|
-
verifiedUserHatAssetId
|
|
136
|
+
verifiedUserHatAssetId: number;
|
|
119
137
|
}, {
|
|
120
|
-
verifiedUserHatAssetId
|
|
138
|
+
verifiedUserHatAssetId: number;
|
|
121
139
|
}>;
|
|
122
140
|
errors: {
|
|
123
141
|
status: number;
|
|
@@ -125,17 +143,20 @@ export declare const postV1emailverify: {
|
|
|
125
143
|
schema: z.ZodVoid;
|
|
126
144
|
}[];
|
|
127
145
|
};
|
|
128
|
-
|
|
146
|
+
/**
|
|
147
|
+
* @api get https://accountinformation.roblox.com/v1/gender
|
|
148
|
+
*/
|
|
149
|
+
export declare const getGender: {
|
|
129
150
|
method: "get";
|
|
130
151
|
path: string;
|
|
131
152
|
baseUrl: string;
|
|
132
153
|
requestFormat: "json";
|
|
133
154
|
response: z.ZodObject<{
|
|
134
|
-
gender: z.
|
|
155
|
+
gender: z.ZodNumber;
|
|
135
156
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
gender
|
|
157
|
+
gender: number;
|
|
137
158
|
}, {
|
|
138
|
-
gender
|
|
159
|
+
gender: number;
|
|
139
160
|
}>;
|
|
140
161
|
errors: {
|
|
141
162
|
status: number;
|
|
@@ -143,18 +164,22 @@ export declare const getV1gender: {
|
|
|
143
164
|
schema: z.ZodVoid;
|
|
144
165
|
}[];
|
|
145
166
|
};
|
|
146
|
-
|
|
167
|
+
/**
|
|
168
|
+
* @api post https://accountinformation.roblox.com/v1/gender
|
|
169
|
+
* @param body The Roblox.AccountInformation.Api.Models.GenderRequest
|
|
170
|
+
*/
|
|
171
|
+
export declare const postGender: {
|
|
147
172
|
method: "post";
|
|
148
173
|
path: string;
|
|
149
174
|
baseUrl: string;
|
|
150
175
|
requestFormat: "json";
|
|
151
176
|
parameters: {
|
|
152
177
|
body: z.ZodObject<{
|
|
153
|
-
gender: z.
|
|
178
|
+
gender: z.ZodString;
|
|
154
179
|
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
gender
|
|
180
|
+
gender: string;
|
|
156
181
|
}, {
|
|
157
|
-
gender
|
|
182
|
+
gender: string;
|
|
158
183
|
}>;
|
|
159
184
|
};
|
|
160
185
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -164,73 +189,79 @@ export declare const postV1gender: {
|
|
|
164
189
|
schema: z.ZodVoid;
|
|
165
190
|
}[];
|
|
166
191
|
};
|
|
167
|
-
|
|
192
|
+
/**
|
|
193
|
+
* @api get https://accountinformation.roblox.com/v1/metadata
|
|
194
|
+
*/
|
|
195
|
+
export declare const getMetadata: {
|
|
168
196
|
method: "get";
|
|
169
197
|
path: string;
|
|
170
198
|
baseUrl: string;
|
|
171
199
|
requestFormat: "json";
|
|
172
200
|
response: z.ZodObject<{
|
|
173
|
-
isAllowedNotificationsEndpointDisabled: z.
|
|
174
|
-
isAccountSettingsPolicyEnabled: z.
|
|
175
|
-
isPhoneNumberEnabled: z.
|
|
176
|
-
MaxUserDescriptionLength: z.
|
|
177
|
-
isUserDescriptionEnabled: z.
|
|
178
|
-
isUserBlockEndpointsUpdated: z.
|
|
179
|
-
isPasswordRequiredForAgingDown: z.
|
|
180
|
-
shouldUsePersonaForIdVerification: z.
|
|
181
|
-
shouldDisplaySessionManagement: z.
|
|
182
|
-
shouldUseSecurityReactUI: z.
|
|
201
|
+
isAllowedNotificationsEndpointDisabled: z.ZodBoolean;
|
|
202
|
+
isAccountSettingsPolicyEnabled: z.ZodBoolean;
|
|
203
|
+
isPhoneNumberEnabled: z.ZodBoolean;
|
|
204
|
+
MaxUserDescriptionLength: z.ZodNumber;
|
|
205
|
+
isUserDescriptionEnabled: z.ZodBoolean;
|
|
206
|
+
isUserBlockEndpointsUpdated: z.ZodBoolean;
|
|
207
|
+
isPasswordRequiredForAgingDown: z.ZodBoolean;
|
|
208
|
+
shouldUsePersonaForIdVerification: z.ZodBoolean;
|
|
209
|
+
shouldDisplaySessionManagement: z.ZodBoolean;
|
|
210
|
+
shouldUseSecurityReactUI: z.ZodBoolean;
|
|
183
211
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
isAllowedNotificationsEndpointDisabled
|
|
185
|
-
isAccountSettingsPolicyEnabled
|
|
186
|
-
isPhoneNumberEnabled
|
|
187
|
-
MaxUserDescriptionLength
|
|
188
|
-
isUserDescriptionEnabled
|
|
189
|
-
isUserBlockEndpointsUpdated
|
|
190
|
-
isPasswordRequiredForAgingDown
|
|
191
|
-
shouldUsePersonaForIdVerification
|
|
192
|
-
shouldDisplaySessionManagement
|
|
193
|
-
shouldUseSecurityReactUI
|
|
212
|
+
isAllowedNotificationsEndpointDisabled: boolean;
|
|
213
|
+
isAccountSettingsPolicyEnabled: boolean;
|
|
214
|
+
isPhoneNumberEnabled: boolean;
|
|
215
|
+
MaxUserDescriptionLength: number;
|
|
216
|
+
isUserDescriptionEnabled: boolean;
|
|
217
|
+
isUserBlockEndpointsUpdated: boolean;
|
|
218
|
+
isPasswordRequiredForAgingDown: boolean;
|
|
219
|
+
shouldUsePersonaForIdVerification: boolean;
|
|
220
|
+
shouldDisplaySessionManagement: boolean;
|
|
221
|
+
shouldUseSecurityReactUI: boolean;
|
|
194
222
|
}, {
|
|
195
|
-
isAllowedNotificationsEndpointDisabled
|
|
196
|
-
isAccountSettingsPolicyEnabled
|
|
197
|
-
isPhoneNumberEnabled
|
|
198
|
-
MaxUserDescriptionLength
|
|
199
|
-
isUserDescriptionEnabled
|
|
200
|
-
isUserBlockEndpointsUpdated
|
|
201
|
-
isPasswordRequiredForAgingDown
|
|
202
|
-
shouldUsePersonaForIdVerification
|
|
203
|
-
shouldDisplaySessionManagement
|
|
204
|
-
shouldUseSecurityReactUI
|
|
223
|
+
isAllowedNotificationsEndpointDisabled: boolean;
|
|
224
|
+
isAccountSettingsPolicyEnabled: boolean;
|
|
225
|
+
isPhoneNumberEnabled: boolean;
|
|
226
|
+
MaxUserDescriptionLength: number;
|
|
227
|
+
isUserDescriptionEnabled: boolean;
|
|
228
|
+
isUserBlockEndpointsUpdated: boolean;
|
|
229
|
+
isPasswordRequiredForAgingDown: boolean;
|
|
230
|
+
shouldUsePersonaForIdVerification: boolean;
|
|
231
|
+
shouldDisplaySessionManagement: boolean;
|
|
232
|
+
shouldUseSecurityReactUI: boolean;
|
|
205
233
|
}>;
|
|
206
234
|
errors: never[];
|
|
207
235
|
};
|
|
208
|
-
|
|
236
|
+
/**
|
|
237
|
+
* @api get https://accountinformation.roblox.com/v1/phone
|
|
238
|
+
*/
|
|
239
|
+
export declare const getPhone: {
|
|
209
240
|
method: "get";
|
|
210
241
|
path: string;
|
|
211
242
|
baseUrl: string;
|
|
212
243
|
requestFormat: "json";
|
|
213
244
|
response: z.ZodObject<{
|
|
214
|
-
countryCode: z.
|
|
215
|
-
prefix: z.
|
|
216
|
-
phone: z.
|
|
217
|
-
isVerified: z.
|
|
218
|
-
verificationCodeLength: z.
|
|
219
|
-
canBypassPasswordForPhoneUpdate: z.
|
|
245
|
+
countryCode: z.ZodString;
|
|
246
|
+
prefix: z.ZodString;
|
|
247
|
+
phone: z.ZodString;
|
|
248
|
+
isVerified: z.ZodBoolean;
|
|
249
|
+
verificationCodeLength: z.ZodNumber;
|
|
250
|
+
canBypassPasswordForPhoneUpdate: z.ZodBoolean;
|
|
220
251
|
}, "strip", z.ZodTypeAny, {
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
phone
|
|
224
|
-
isVerified
|
|
225
|
-
verificationCodeLength
|
|
226
|
-
canBypassPasswordForPhoneUpdate
|
|
252
|
+
prefix: string;
|
|
253
|
+
countryCode: string;
|
|
254
|
+
phone: string;
|
|
255
|
+
isVerified: boolean;
|
|
256
|
+
verificationCodeLength: number;
|
|
257
|
+
canBypassPasswordForPhoneUpdate: boolean;
|
|
227
258
|
}, {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
phone
|
|
231
|
-
isVerified
|
|
232
|
-
verificationCodeLength
|
|
233
|
-
canBypassPasswordForPhoneUpdate
|
|
259
|
+
prefix: string;
|
|
260
|
+
countryCode: string;
|
|
261
|
+
phone: string;
|
|
262
|
+
isVerified: boolean;
|
|
263
|
+
verificationCodeLength: number;
|
|
264
|
+
canBypassPasswordForPhoneUpdate: boolean;
|
|
234
265
|
}>;
|
|
235
266
|
errors: {
|
|
236
267
|
status: number;
|
|
@@ -238,27 +269,31 @@ export declare const getV1phone: {
|
|
|
238
269
|
schema: z.ZodVoid;
|
|
239
270
|
}[];
|
|
240
271
|
};
|
|
241
|
-
|
|
272
|
+
/**
|
|
273
|
+
* @api post https://accountinformation.roblox.com/v1/phone
|
|
274
|
+
* @param body Roblox.AccountInformation.Api.Models.PhoneRequest
|
|
275
|
+
*/
|
|
276
|
+
export declare const postPhone: {
|
|
242
277
|
method: "post";
|
|
243
278
|
path: string;
|
|
244
279
|
baseUrl: string;
|
|
245
280
|
requestFormat: "json";
|
|
246
281
|
parameters: {
|
|
247
282
|
body: z.ZodObject<{
|
|
248
|
-
countryCode: z.
|
|
249
|
-
prefix: z.
|
|
250
|
-
phone: z.
|
|
251
|
-
password: z.
|
|
283
|
+
countryCode: z.ZodString;
|
|
284
|
+
prefix: z.ZodString;
|
|
285
|
+
phone: z.ZodString;
|
|
286
|
+
password: z.ZodString;
|
|
252
287
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
288
|
+
prefix: string;
|
|
289
|
+
password: string;
|
|
290
|
+
countryCode: string;
|
|
291
|
+
phone: string;
|
|
257
292
|
}, {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
293
|
+
prefix: string;
|
|
294
|
+
password: string;
|
|
295
|
+
countryCode: string;
|
|
296
|
+
phone: string;
|
|
262
297
|
}>;
|
|
263
298
|
};
|
|
264
299
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -268,27 +303,31 @@ export declare const postV1phone: {
|
|
|
268
303
|
schema: z.ZodVoid;
|
|
269
304
|
}[];
|
|
270
305
|
};
|
|
271
|
-
|
|
306
|
+
/**
|
|
307
|
+
* @api post https://accountinformation.roblox.com/v1/phone/delete
|
|
308
|
+
* @param body Roblox.AccountInformation.Api.Models.PhoneRequest
|
|
309
|
+
*/
|
|
310
|
+
export declare const postPhoneDelete: {
|
|
272
311
|
method: "post";
|
|
273
312
|
path: string;
|
|
274
313
|
baseUrl: string;
|
|
275
314
|
requestFormat: "json";
|
|
276
315
|
parameters: {
|
|
277
316
|
body: z.ZodObject<{
|
|
278
|
-
countryCode: z.
|
|
279
|
-
prefix: z.
|
|
280
|
-
phone: z.
|
|
281
|
-
password: z.
|
|
317
|
+
countryCode: z.ZodString;
|
|
318
|
+
prefix: z.ZodString;
|
|
319
|
+
phone: z.ZodString;
|
|
320
|
+
password: z.ZodString;
|
|
282
321
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
322
|
+
prefix: string;
|
|
323
|
+
password: string;
|
|
324
|
+
countryCode: string;
|
|
325
|
+
phone: string;
|
|
287
326
|
}, {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
327
|
+
prefix: string;
|
|
328
|
+
password: string;
|
|
329
|
+
countryCode: string;
|
|
330
|
+
phone: string;
|
|
292
331
|
}>;
|
|
293
332
|
};
|
|
294
333
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -298,7 +337,11 @@ export declare const postV1phonedelete: {
|
|
|
298
337
|
schema: z.ZodVoid;
|
|
299
338
|
}[];
|
|
300
339
|
};
|
|
301
|
-
|
|
340
|
+
/**
|
|
341
|
+
* @api post https://accountinformation.roblox.com/v1/phone/resend
|
|
342
|
+
* @param body Roblox.AccountInformation.Api.Models.PhoneRequest
|
|
343
|
+
*/
|
|
344
|
+
export declare const postPhoneResend: {
|
|
302
345
|
method: "post";
|
|
303
346
|
path: string;
|
|
304
347
|
baseUrl: string;
|
|
@@ -313,18 +356,22 @@ export declare const postV1phoneresend: {
|
|
|
313
356
|
schema: z.ZodVoid;
|
|
314
357
|
}[];
|
|
315
358
|
};
|
|
316
|
-
|
|
359
|
+
/**
|
|
360
|
+
* @api post https://accountinformation.roblox.com/v1/phone/verify
|
|
361
|
+
* @param body Roblox.AccountInformation.Api.Models.VerifyPhoneRequest
|
|
362
|
+
*/
|
|
363
|
+
export declare const postPhoneVerify: {
|
|
317
364
|
method: "post";
|
|
318
365
|
path: string;
|
|
319
366
|
baseUrl: string;
|
|
320
367
|
requestFormat: "json";
|
|
321
368
|
parameters: {
|
|
322
369
|
body: z.ZodObject<{
|
|
323
|
-
code: z.
|
|
370
|
+
code: z.ZodString;
|
|
324
371
|
}, "strip", z.ZodTypeAny, {
|
|
325
|
-
code
|
|
372
|
+
code: string;
|
|
326
373
|
}, {
|
|
327
|
-
code
|
|
374
|
+
code: string;
|
|
328
375
|
}>;
|
|
329
376
|
};
|
|
330
377
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -334,32 +381,35 @@ export declare const postV1phoneverify: {
|
|
|
334
381
|
schema: z.ZodVoid;
|
|
335
382
|
}[];
|
|
336
383
|
};
|
|
337
|
-
|
|
384
|
+
/**
|
|
385
|
+
* @api get https://accountinformation.roblox.com/v1/promotion-channels
|
|
386
|
+
*/
|
|
387
|
+
export declare const getPromotionChannels: {
|
|
338
388
|
method: "get";
|
|
339
389
|
path: string;
|
|
340
390
|
baseUrl: string;
|
|
341
391
|
requestFormat: "json";
|
|
342
392
|
response: z.ZodObject<{
|
|
343
|
-
promotionChannelsVisibilityPrivacy: z.
|
|
344
|
-
facebook: z.
|
|
345
|
-
twitter: z.
|
|
346
|
-
youtube: z.
|
|
347
|
-
twitch: z.
|
|
348
|
-
guilded: z.
|
|
393
|
+
promotionChannelsVisibilityPrivacy: z.ZodString;
|
|
394
|
+
facebook: z.ZodString;
|
|
395
|
+
twitter: z.ZodString;
|
|
396
|
+
youtube: z.ZodString;
|
|
397
|
+
twitch: z.ZodString;
|
|
398
|
+
guilded: z.ZodString;
|
|
349
399
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
promotionChannelsVisibilityPrivacy
|
|
351
|
-
facebook
|
|
352
|
-
twitter
|
|
353
|
-
youtube
|
|
354
|
-
twitch
|
|
355
|
-
guilded
|
|
400
|
+
promotionChannelsVisibilityPrivacy: string;
|
|
401
|
+
facebook: string;
|
|
402
|
+
twitter: string;
|
|
403
|
+
youtube: string;
|
|
404
|
+
twitch: string;
|
|
405
|
+
guilded: string;
|
|
356
406
|
}, {
|
|
357
|
-
promotionChannelsVisibilityPrivacy
|
|
358
|
-
facebook
|
|
359
|
-
twitter
|
|
360
|
-
youtube
|
|
361
|
-
twitch
|
|
362
|
-
guilded
|
|
407
|
+
promotionChannelsVisibilityPrivacy: string;
|
|
408
|
+
facebook: string;
|
|
409
|
+
twitter: string;
|
|
410
|
+
youtube: string;
|
|
411
|
+
twitch: string;
|
|
412
|
+
guilded: string;
|
|
363
413
|
}>;
|
|
364
414
|
errors: {
|
|
365
415
|
status: number;
|
|
@@ -367,33 +417,37 @@ export declare const getV1promotionChannels: {
|
|
|
367
417
|
schema: z.ZodVoid;
|
|
368
418
|
}[];
|
|
369
419
|
};
|
|
370
|
-
|
|
420
|
+
/**
|
|
421
|
+
* @api post https://accountinformation.roblox.com/v1/promotion-channels
|
|
422
|
+
* @param body The Roblox.AccountInformation.Api.Models.PromotionChannelsRequest
|
|
423
|
+
*/
|
|
424
|
+
export declare const postPromotionChannels: {
|
|
371
425
|
method: "post";
|
|
372
426
|
path: string;
|
|
373
427
|
baseUrl: string;
|
|
374
428
|
requestFormat: "json";
|
|
375
429
|
parameters: {
|
|
376
430
|
body: z.ZodObject<{
|
|
377
|
-
facebook: z.
|
|
378
|
-
twitter: z.
|
|
379
|
-
youtube: z.
|
|
380
|
-
twitch: z.
|
|
381
|
-
guilded: z.
|
|
382
|
-
promotionChannelsVisibilityPrivacy: z.
|
|
431
|
+
facebook: z.ZodString;
|
|
432
|
+
twitter: z.ZodString;
|
|
433
|
+
youtube: z.ZodString;
|
|
434
|
+
twitch: z.ZodString;
|
|
435
|
+
guilded: z.ZodString;
|
|
436
|
+
promotionChannelsVisibilityPrivacy: z.ZodString;
|
|
383
437
|
}, "strip", z.ZodTypeAny, {
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
438
|
+
promotionChannelsVisibilityPrivacy: string;
|
|
439
|
+
facebook: string;
|
|
440
|
+
twitter: string;
|
|
441
|
+
youtube: string;
|
|
442
|
+
twitch: string;
|
|
443
|
+
guilded: string;
|
|
390
444
|
}, {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
445
|
+
promotionChannelsVisibilityPrivacy: string;
|
|
446
|
+
facebook: string;
|
|
447
|
+
twitter: string;
|
|
448
|
+
youtube: string;
|
|
449
|
+
twitch: string;
|
|
450
|
+
guilded: string;
|
|
397
451
|
}>;
|
|
398
452
|
};
|
|
399
453
|
response: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
@@ -403,7 +457,10 @@ export declare const postV1promotionChannels: {
|
|
|
403
457
|
schema: z.ZodVoid;
|
|
404
458
|
}[];
|
|
405
459
|
};
|
|
406
|
-
|
|
460
|
+
/**
|
|
461
|
+
* @api delete https://accountinformation.roblox.com/v1/star-code-affiliates
|
|
462
|
+
*/
|
|
463
|
+
export declare const deleteStarCodeAffiliates: {
|
|
407
464
|
method: "delete";
|
|
408
465
|
path: string;
|
|
409
466
|
baseUrl: string;
|
|
@@ -415,23 +472,26 @@ export declare const deleteV1starCodeAffiliates: {
|
|
|
415
472
|
schema: z.ZodVoid;
|
|
416
473
|
}[];
|
|
417
474
|
};
|
|
418
|
-
|
|
475
|
+
/**
|
|
476
|
+
* @api get https://accountinformation.roblox.com/v1/star-code-affiliates
|
|
477
|
+
*/
|
|
478
|
+
export declare const getStarCodeAffiliates: {
|
|
419
479
|
method: "get";
|
|
420
480
|
path: string;
|
|
421
481
|
baseUrl: string;
|
|
422
482
|
requestFormat: "json";
|
|
423
483
|
response: z.ZodObject<{
|
|
424
|
-
userId: z.
|
|
425
|
-
name: z.
|
|
426
|
-
code: z.
|
|
484
|
+
userId: z.ZodNumber;
|
|
485
|
+
name: z.ZodString;
|
|
486
|
+
code: z.ZodString;
|
|
427
487
|
}, "strip", z.ZodTypeAny, {
|
|
428
|
-
|
|
429
|
-
name
|
|
430
|
-
|
|
488
|
+
code: string;
|
|
489
|
+
name: string;
|
|
490
|
+
userId: number;
|
|
431
491
|
}, {
|
|
432
|
-
|
|
433
|
-
name
|
|
434
|
-
|
|
492
|
+
code: string;
|
|
493
|
+
name: string;
|
|
494
|
+
userId: number;
|
|
435
495
|
}>;
|
|
436
496
|
errors: {
|
|
437
497
|
status: number;
|
|
@@ -439,32 +499,36 @@ export declare const getV1starCodeAffiliates: {
|
|
|
439
499
|
schema: z.ZodVoid;
|
|
440
500
|
}[];
|
|
441
501
|
};
|
|
442
|
-
|
|
502
|
+
/**
|
|
503
|
+
* @api post https://accountinformation.roblox.com/v1/star-code-affiliates
|
|
504
|
+
* @param body Roblox.AccountInformation.Api.Models.StarCodeAffiliateRequest
|
|
505
|
+
*/
|
|
506
|
+
export declare const postStarCodeAffiliates: {
|
|
443
507
|
method: "post";
|
|
444
508
|
path: string;
|
|
445
509
|
baseUrl: string;
|
|
446
510
|
requestFormat: "json";
|
|
447
511
|
parameters: {
|
|
448
512
|
body: z.ZodObject<{
|
|
449
|
-
code: z.
|
|
513
|
+
code: z.ZodString;
|
|
450
514
|
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
code
|
|
515
|
+
code: string;
|
|
452
516
|
}, {
|
|
453
|
-
code
|
|
517
|
+
code: string;
|
|
454
518
|
}>;
|
|
455
519
|
};
|
|
456
520
|
response: z.ZodObject<{
|
|
457
|
-
userId: z.
|
|
458
|
-
name: z.
|
|
459
|
-
code: z.
|
|
521
|
+
userId: z.ZodNumber;
|
|
522
|
+
name: z.ZodString;
|
|
523
|
+
code: z.ZodString;
|
|
460
524
|
}, "strip", z.ZodTypeAny, {
|
|
461
|
-
|
|
462
|
-
name
|
|
463
|
-
|
|
525
|
+
code: string;
|
|
526
|
+
name: string;
|
|
527
|
+
userId: number;
|
|
464
528
|
}, {
|
|
465
|
-
|
|
466
|
-
name
|
|
467
|
-
|
|
529
|
+
code: string;
|
|
530
|
+
name: string;
|
|
531
|
+
userId: number;
|
|
468
532
|
}>;
|
|
469
533
|
errors: {
|
|
470
534
|
status: number;
|
|
@@ -472,7 +536,11 @@ export declare const postV1starCodeAffiliates: {
|
|
|
472
536
|
schema: z.ZodVoid;
|
|
473
537
|
}[];
|
|
474
538
|
};
|
|
475
|
-
|
|
539
|
+
/**
|
|
540
|
+
* @api get https://accountinformation.roblox.com/v1/users/:userId/promotion-channels
|
|
541
|
+
* @param userId
|
|
542
|
+
*/
|
|
543
|
+
export declare const getUsersUseridPromotionChannels: {
|
|
476
544
|
method: "get";
|
|
477
545
|
path: string;
|
|
478
546
|
baseUrl: string;
|
|
@@ -481,23 +549,23 @@ export declare const getV1usersUserIdpromotionChannels: {
|
|
|
481
549
|
userId: z.ZodNumber;
|
|
482
550
|
};
|
|
483
551
|
response: z.ZodObject<{
|
|
484
|
-
facebook: z.
|
|
485
|
-
twitter: z.
|
|
486
|
-
youtube: z.
|
|
487
|
-
twitch: z.
|
|
488
|
-
guilded: z.
|
|
552
|
+
facebook: z.ZodString;
|
|
553
|
+
twitter: z.ZodString;
|
|
554
|
+
youtube: z.ZodString;
|
|
555
|
+
twitch: z.ZodString;
|
|
556
|
+
guilded: z.ZodString;
|
|
489
557
|
}, "strip", z.ZodTypeAny, {
|
|
490
|
-
facebook
|
|
491
|
-
twitter
|
|
492
|
-
youtube
|
|
493
|
-
twitch
|
|
494
|
-
guilded
|
|
558
|
+
facebook: string;
|
|
559
|
+
twitter: string;
|
|
560
|
+
youtube: string;
|
|
561
|
+
twitch: string;
|
|
562
|
+
guilded: string;
|
|
495
563
|
}, {
|
|
496
|
-
facebook
|
|
497
|
-
twitter
|
|
498
|
-
youtube
|
|
499
|
-
twitch
|
|
500
|
-
guilded
|
|
564
|
+
facebook: string;
|
|
565
|
+
twitter: string;
|
|
566
|
+
youtube: string;
|
|
567
|
+
twitch: string;
|
|
568
|
+
guilded: string;
|
|
501
569
|
}>;
|
|
502
570
|
errors: {
|
|
503
571
|
status: number;
|
|
@@ -505,7 +573,11 @@ export declare const getV1usersUserIdpromotionChannels: {
|
|
|
505
573
|
schema: z.ZodVoid;
|
|
506
574
|
}[];
|
|
507
575
|
};
|
|
508
|
-
|
|
576
|
+
/**
|
|
577
|
+
* @api get https://accountinformation.roblox.com/v1/users/:userId/roblox-badges
|
|
578
|
+
* @param userId
|
|
579
|
+
*/
|
|
580
|
+
export declare const getUsersUseridRobloxBadges: {
|
|
509
581
|
method: "get";
|
|
510
582
|
path: string;
|
|
511
583
|
baseUrl: string;
|
|
@@ -514,34 +586,37 @@ export declare const getV1usersUserIdrobloxBadges: {
|
|
|
514
586
|
userId: z.ZodNumber;
|
|
515
587
|
};
|
|
516
588
|
response: z.ZodArray<z.ZodObject<{
|
|
517
|
-
id: z.
|
|
518
|
-
name: z.
|
|
519
|
-
description: z.
|
|
520
|
-
imageUrl: z.
|
|
589
|
+
id: z.ZodNumber;
|
|
590
|
+
name: z.ZodString;
|
|
591
|
+
description: z.ZodString;
|
|
592
|
+
imageUrl: z.ZodString;
|
|
521
593
|
}, "strip", z.ZodTypeAny, {
|
|
522
|
-
id
|
|
523
|
-
name
|
|
524
|
-
description
|
|
525
|
-
imageUrl
|
|
594
|
+
id: number;
|
|
595
|
+
name: string;
|
|
596
|
+
description: string;
|
|
597
|
+
imageUrl: string;
|
|
526
598
|
}, {
|
|
527
|
-
id
|
|
528
|
-
name
|
|
529
|
-
description
|
|
530
|
-
imageUrl
|
|
599
|
+
id: number;
|
|
600
|
+
name: string;
|
|
601
|
+
description: string;
|
|
602
|
+
imageUrl: string;
|
|
531
603
|
}>, "many">;
|
|
532
604
|
errors: never[];
|
|
533
605
|
};
|
|
534
|
-
|
|
606
|
+
/**
|
|
607
|
+
* @api get https://accountinformation.roblox.com/v1/xbox-live/consecutive-login-days
|
|
608
|
+
*/
|
|
609
|
+
export declare const getXboxLiveConsecutiveLoginDays: {
|
|
535
610
|
method: "get";
|
|
536
611
|
path: string;
|
|
537
612
|
baseUrl: string;
|
|
538
613
|
requestFormat: "json";
|
|
539
614
|
response: z.ZodObject<{
|
|
540
|
-
count: z.
|
|
615
|
+
count: z.ZodNumber;
|
|
541
616
|
}, "strip", z.ZodTypeAny, {
|
|
542
|
-
count
|
|
617
|
+
count: number;
|
|
543
618
|
}, {
|
|
544
|
-
count
|
|
619
|
+
count: number;
|
|
545
620
|
}>;
|
|
546
621
|
errors: {
|
|
547
622
|
status: number;
|