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.
Files changed (60) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +300 -225
  2. package/lib/endpoints/accountinformationv1.js +166 -95
  3. package/lib/endpoints/accountsettingsv1.d.ts +259 -171
  4. package/lib/endpoints/accountsettingsv1.js +192 -115
  5. package/lib/endpoints/assetdeliveryv1.d.ts +497 -351
  6. package/lib/endpoints/assetdeliveryv1.js +162 -22
  7. package/lib/endpoints/assetdeliveryv2.d.ts +661 -515
  8. package/lib/endpoints/assetdeliveryv2.js +165 -27
  9. package/lib/endpoints/authv1.d.ts +818 -671
  10. package/lib/endpoints/authv1.js +324 -201
  11. package/lib/endpoints/authv2.d.ts +834 -719
  12. package/lib/endpoints/authv2.js +252 -178
  13. package/lib/endpoints/authv3.d.ts +18 -13
  14. package/lib/endpoints/authv3.js +13 -10
  15. package/lib/endpoints/avatarv1.d.ts +1480 -1394
  16. package/lib/endpoints/avatarv1.js +179 -120
  17. package/lib/endpoints/avatarv2.d.ts +915 -886
  18. package/lib/endpoints/avatarv2.js +78 -64
  19. package/lib/endpoints/avatarv3.d.ts +563 -545
  20. package/lib/endpoints/avatarv3.js +51 -44
  21. package/lib/endpoints/badgesv1.d.ts +500 -451
  22. package/lib/endpoints/badgesv1.js +100 -62
  23. package/lib/endpoints/catalogv1.d.ts +1415 -1311
  24. package/lib/endpoints/catalogv1.js +180 -108
  25. package/lib/endpoints/chatv2.d.ts +1752 -1657
  26. package/lib/endpoints/chatv2.js +229 -151
  27. package/lib/endpoints/developv1.d.ts +1512 -1291
  28. package/lib/endpoints/developv1.js +394 -215
  29. package/lib/endpoints/developv2.d.ts +534 -507
  30. package/lib/endpoints/developv2.js +57 -47
  31. package/lib/endpoints/economyv1.d.ts +7 -4
  32. package/lib/endpoints/economyv1.js +9 -4
  33. package/lib/endpoints/friendsv1.d.ts +763 -654
  34. package/lib/endpoints/friendsv1.js +207 -121
  35. package/lib/endpoints/gamesv1.d.ts +2255 -2089
  36. package/lib/endpoints/gamesv1.js +334 -212
  37. package/lib/endpoints/gamesv2.d.ts +498 -462
  38. package/lib/endpoints/gamesv2.js +54 -30
  39. package/lib/endpoints/groupsv1.d.ts +4495 -4163
  40. package/lib/endpoints/groupsv1.js +620 -364
  41. package/lib/endpoints/groupsv2.d.ts +449 -429
  42. package/lib/endpoints/groupsv2.js +59 -53
  43. package/lib/endpoints/inventoryv1.d.ts +314 -260
  44. package/lib/endpoints/inventoryv1.js +91 -49
  45. package/lib/endpoints/inventoryv2.d.ts +205 -181
  46. package/lib/endpoints/inventoryv2.js +44 -36
  47. package/lib/endpoints/presencev1.d.ts +92 -80
  48. package/lib/endpoints/presencev1.js +36 -27
  49. package/lib/endpoints/privatemessagesv1.d.ts +445 -402
  50. package/lib/endpoints/privatemessagesv1.js +88 -58
  51. package/lib/endpoints/thumbnailsv1.d.ts +619 -476
  52. package/lib/endpoints/thumbnailsv1.js +187 -58
  53. package/lib/endpoints/tradesv1.d.ts +333 -291
  54. package/lib/endpoints/tradesv1.js +88 -56
  55. package/lib/endpoints/translationsv1.d.ts +41 -25
  56. package/lib/endpoints/translationsv1.js +27 -8
  57. package/lib/endpoints/usersv1.d.ts +232 -180
  58. package/lib/endpoints/usersv1.js +116 -64
  59. package/package.json +1 -1
  60. package/readme.md +5 -5
@@ -1,21 +1,24 @@
1
1
  import { z } from 'zod';
2
- export declare const getV1birthdate: {
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.ZodOptional<z.ZodNumber>;
9
- birthDay: z.ZodOptional<z.ZodNumber>;
10
- birthYear: z.ZodOptional<z.ZodNumber>;
11
+ birthMonth: z.ZodNumber;
12
+ birthDay: z.ZodNumber;
13
+ birthYear: z.ZodNumber;
11
14
  }, "strip", z.ZodTypeAny, {
12
- birthMonth?: number | undefined;
13
- birthDay?: number | undefined;
14
- birthYear?: number | undefined;
15
+ birthMonth: number;
16
+ birthDay: number;
17
+ birthYear: number;
15
18
  }, {
16
- birthMonth?: number | undefined;
17
- birthDay?: number | undefined;
18
- birthYear?: number | undefined;
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
- export declare const postV1birthdate: {
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.ZodOptional<z.ZodNumber>;
34
- birthDay: z.ZodOptional<z.ZodNumber>;
35
- birthYear: z.ZodOptional<z.ZodNumber>;
36
- password: z.ZodOptional<z.ZodString>;
40
+ birthMonth: z.ZodNumber;
41
+ birthDay: z.ZodNumber;
42
+ birthYear: z.ZodNumber;
43
+ password: z.ZodString;
37
44
  }, "strip", z.ZodTypeAny, {
38
- birthMonth?: number | undefined;
39
- birthDay?: number | undefined;
40
- birthYear?: number | undefined;
41
- password?: string | undefined;
45
+ birthMonth: number;
46
+ birthDay: number;
47
+ birthYear: number;
48
+ password: string;
42
49
  }, {
43
- birthMonth?: number | undefined;
44
- birthDay?: number | undefined;
45
- birthYear?: number | undefined;
46
- password?: string | undefined;
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
- export declare const getV1description: {
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.ZodOptional<z.ZodString>;
72
+ description: z.ZodString;
63
73
  }, "strip", z.ZodTypeAny, {
64
- description?: string | undefined;
74
+ description: string;
65
75
  }, {
66
- description?: string | undefined;
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
- export declare const postV1description: {
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.ZodOptional<z.ZodString>;
95
+ description: z.ZodString;
82
96
  }, "strip", z.ZodTypeAny, {
83
- description?: string | undefined;
97
+ description: string;
84
98
  }, {
85
- description?: string | undefined;
99
+ description: string;
86
100
  }>;
87
101
  };
88
102
  response: z.ZodObject<{
89
- description: z.ZodOptional<z.ZodString>;
103
+ description: z.ZodString;
90
104
  }, "strip", z.ZodTypeAny, {
91
- description?: string | undefined;
105
+ description: string;
92
106
  }, {
93
- description?: string | undefined;
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
- export declare const postV1emailverify: {
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.ZodOptional<z.ZodString>;
126
+ ticket: z.ZodString;
109
127
  }, "strip", z.ZodTypeAny, {
110
- ticket?: string | undefined;
128
+ ticket: string;
111
129
  }, {
112
- ticket?: string | undefined;
130
+ ticket: string;
113
131
  }>;
114
132
  };
115
133
  response: z.ZodObject<{
116
- verifiedUserHatAssetId: z.ZodOptional<z.ZodNumber>;
134
+ verifiedUserHatAssetId: z.ZodNumber;
117
135
  }, "strip", z.ZodTypeAny, {
118
- verifiedUserHatAssetId?: number | undefined;
136
+ verifiedUserHatAssetId: number;
119
137
  }, {
120
- verifiedUserHatAssetId?: number | undefined;
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
- export declare const getV1gender: {
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.ZodOptional<z.ZodNumber>;
155
+ gender: z.ZodNumber;
135
156
  }, "strip", z.ZodTypeAny, {
136
- gender?: number | undefined;
157
+ gender: number;
137
158
  }, {
138
- gender?: number | undefined;
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
- export declare const postV1gender: {
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.ZodOptional<z.ZodString>;
178
+ gender: z.ZodString;
154
179
  }, "strip", z.ZodTypeAny, {
155
- gender?: string | undefined;
180
+ gender: string;
156
181
  }, {
157
- gender?: string | undefined;
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
- export declare const getV1metadata: {
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.ZodOptional<z.ZodBoolean>;
174
- isAccountSettingsPolicyEnabled: z.ZodOptional<z.ZodBoolean>;
175
- isPhoneNumberEnabled: z.ZodOptional<z.ZodBoolean>;
176
- MaxUserDescriptionLength: z.ZodOptional<z.ZodNumber>;
177
- isUserDescriptionEnabled: z.ZodOptional<z.ZodBoolean>;
178
- isUserBlockEndpointsUpdated: z.ZodOptional<z.ZodBoolean>;
179
- isPasswordRequiredForAgingDown: z.ZodOptional<z.ZodBoolean>;
180
- shouldUsePersonaForIdVerification: z.ZodOptional<z.ZodBoolean>;
181
- shouldDisplaySessionManagement: z.ZodOptional<z.ZodBoolean>;
182
- shouldUseSecurityReactUI: z.ZodOptional<z.ZodBoolean>;
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?: boolean | undefined;
185
- isAccountSettingsPolicyEnabled?: boolean | undefined;
186
- isPhoneNumberEnabled?: boolean | undefined;
187
- MaxUserDescriptionLength?: number | undefined;
188
- isUserDescriptionEnabled?: boolean | undefined;
189
- isUserBlockEndpointsUpdated?: boolean | undefined;
190
- isPasswordRequiredForAgingDown?: boolean | undefined;
191
- shouldUsePersonaForIdVerification?: boolean | undefined;
192
- shouldDisplaySessionManagement?: boolean | undefined;
193
- shouldUseSecurityReactUI?: boolean | undefined;
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?: boolean | undefined;
196
- isAccountSettingsPolicyEnabled?: boolean | undefined;
197
- isPhoneNumberEnabled?: boolean | undefined;
198
- MaxUserDescriptionLength?: number | undefined;
199
- isUserDescriptionEnabled?: boolean | undefined;
200
- isUserBlockEndpointsUpdated?: boolean | undefined;
201
- isPasswordRequiredForAgingDown?: boolean | undefined;
202
- shouldUsePersonaForIdVerification?: boolean | undefined;
203
- shouldDisplaySessionManagement?: boolean | undefined;
204
- shouldUseSecurityReactUI?: boolean | undefined;
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
- export declare const getV1phone: {
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.ZodOptional<z.ZodString>;
215
- prefix: z.ZodOptional<z.ZodString>;
216
- phone: z.ZodOptional<z.ZodString>;
217
- isVerified: z.ZodOptional<z.ZodBoolean>;
218
- verificationCodeLength: z.ZodOptional<z.ZodNumber>;
219
- canBypassPasswordForPhoneUpdate: z.ZodOptional<z.ZodBoolean>;
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
- countryCode?: string | undefined;
222
- prefix?: string | undefined;
223
- phone?: string | undefined;
224
- isVerified?: boolean | undefined;
225
- verificationCodeLength?: number | undefined;
226
- canBypassPasswordForPhoneUpdate?: boolean | undefined;
252
+ prefix: string;
253
+ countryCode: string;
254
+ phone: string;
255
+ isVerified: boolean;
256
+ verificationCodeLength: number;
257
+ canBypassPasswordForPhoneUpdate: boolean;
227
258
  }, {
228
- countryCode?: string | undefined;
229
- prefix?: string | undefined;
230
- phone?: string | undefined;
231
- isVerified?: boolean | undefined;
232
- verificationCodeLength?: number | undefined;
233
- canBypassPasswordForPhoneUpdate?: boolean | undefined;
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
- export declare const postV1phone: {
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.ZodOptional<z.ZodString>;
249
- prefix: z.ZodOptional<z.ZodString>;
250
- phone: z.ZodOptional<z.ZodString>;
251
- password: z.ZodOptional<z.ZodString>;
283
+ countryCode: z.ZodString;
284
+ prefix: z.ZodString;
285
+ phone: z.ZodString;
286
+ password: z.ZodString;
252
287
  }, "strip", z.ZodTypeAny, {
253
- countryCode?: string | undefined;
254
- prefix?: string | undefined;
255
- phone?: string | undefined;
256
- password?: string | undefined;
288
+ prefix: string;
289
+ password: string;
290
+ countryCode: string;
291
+ phone: string;
257
292
  }, {
258
- countryCode?: string | undefined;
259
- prefix?: string | undefined;
260
- phone?: string | undefined;
261
- password?: string | undefined;
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
- export declare const postV1phonedelete: {
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.ZodOptional<z.ZodString>;
279
- prefix: z.ZodOptional<z.ZodString>;
280
- phone: z.ZodOptional<z.ZodString>;
281
- password: z.ZodOptional<z.ZodString>;
317
+ countryCode: z.ZodString;
318
+ prefix: z.ZodString;
319
+ phone: z.ZodString;
320
+ password: z.ZodString;
282
321
  }, "strip", z.ZodTypeAny, {
283
- countryCode?: string | undefined;
284
- prefix?: string | undefined;
285
- phone?: string | undefined;
286
- password?: string | undefined;
322
+ prefix: string;
323
+ password: string;
324
+ countryCode: string;
325
+ phone: string;
287
326
  }, {
288
- countryCode?: string | undefined;
289
- prefix?: string | undefined;
290
- phone?: string | undefined;
291
- password?: string | undefined;
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
- export declare const postV1phoneresend: {
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
- export declare const postV1phoneverify: {
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.ZodOptional<z.ZodString>;
370
+ code: z.ZodString;
324
371
  }, "strip", z.ZodTypeAny, {
325
- code?: string | undefined;
372
+ code: string;
326
373
  }, {
327
- code?: string | undefined;
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
- export declare const getV1promotionChannels: {
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.ZodOptional<z.ZodString>;
344
- facebook: z.ZodOptional<z.ZodString>;
345
- twitter: z.ZodOptional<z.ZodString>;
346
- youtube: z.ZodOptional<z.ZodString>;
347
- twitch: z.ZodOptional<z.ZodString>;
348
- guilded: z.ZodOptional<z.ZodString>;
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?: string | undefined;
351
- facebook?: string | undefined;
352
- twitter?: string | undefined;
353
- youtube?: string | undefined;
354
- twitch?: string | undefined;
355
- guilded?: string | undefined;
400
+ promotionChannelsVisibilityPrivacy: string;
401
+ facebook: string;
402
+ twitter: string;
403
+ youtube: string;
404
+ twitch: string;
405
+ guilded: string;
356
406
  }, {
357
- promotionChannelsVisibilityPrivacy?: string | undefined;
358
- facebook?: string | undefined;
359
- twitter?: string | undefined;
360
- youtube?: string | undefined;
361
- twitch?: string | undefined;
362
- guilded?: string | undefined;
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
- export declare const postV1promotionChannels: {
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.ZodOptional<z.ZodString>;
378
- twitter: z.ZodOptional<z.ZodString>;
379
- youtube: z.ZodOptional<z.ZodString>;
380
- twitch: z.ZodOptional<z.ZodString>;
381
- guilded: z.ZodOptional<z.ZodString>;
382
- promotionChannelsVisibilityPrivacy: z.ZodOptional<z.ZodString>;
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
- facebook?: string | undefined;
385
- twitter?: string | undefined;
386
- youtube?: string | undefined;
387
- twitch?: string | undefined;
388
- guilded?: string | undefined;
389
- promotionChannelsVisibilityPrivacy?: string | undefined;
438
+ promotionChannelsVisibilityPrivacy: string;
439
+ facebook: string;
440
+ twitter: string;
441
+ youtube: string;
442
+ twitch: string;
443
+ guilded: string;
390
444
  }, {
391
- facebook?: string | undefined;
392
- twitter?: string | undefined;
393
- youtube?: string | undefined;
394
- twitch?: string | undefined;
395
- guilded?: string | undefined;
396
- promotionChannelsVisibilityPrivacy?: string | undefined;
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
- export declare const deleteV1starCodeAffiliates: {
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
- export declare const getV1starCodeAffiliates: {
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.ZodOptional<z.ZodNumber>;
425
- name: z.ZodOptional<z.ZodString>;
426
- code: z.ZodOptional<z.ZodString>;
484
+ userId: z.ZodNumber;
485
+ name: z.ZodString;
486
+ code: z.ZodString;
427
487
  }, "strip", z.ZodTypeAny, {
428
- userId?: number | undefined;
429
- name?: string | undefined;
430
- code?: string | undefined;
488
+ code: string;
489
+ name: string;
490
+ userId: number;
431
491
  }, {
432
- userId?: number | undefined;
433
- name?: string | undefined;
434
- code?: string | undefined;
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
- export declare const postV1starCodeAffiliates: {
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.ZodOptional<z.ZodString>;
513
+ code: z.ZodString;
450
514
  }, "strip", z.ZodTypeAny, {
451
- code?: string | undefined;
515
+ code: string;
452
516
  }, {
453
- code?: string | undefined;
517
+ code: string;
454
518
  }>;
455
519
  };
456
520
  response: z.ZodObject<{
457
- userId: z.ZodOptional<z.ZodNumber>;
458
- name: z.ZodOptional<z.ZodString>;
459
- code: z.ZodOptional<z.ZodString>;
521
+ userId: z.ZodNumber;
522
+ name: z.ZodString;
523
+ code: z.ZodString;
460
524
  }, "strip", z.ZodTypeAny, {
461
- userId?: number | undefined;
462
- name?: string | undefined;
463
- code?: string | undefined;
525
+ code: string;
526
+ name: string;
527
+ userId: number;
464
528
  }, {
465
- userId?: number | undefined;
466
- name?: string | undefined;
467
- code?: string | undefined;
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
- export declare const getV1usersUserIdpromotionChannels: {
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.ZodOptional<z.ZodString>;
485
- twitter: z.ZodOptional<z.ZodString>;
486
- youtube: z.ZodOptional<z.ZodString>;
487
- twitch: z.ZodOptional<z.ZodString>;
488
- guilded: z.ZodOptional<z.ZodString>;
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?: string | undefined;
491
- twitter?: string | undefined;
492
- youtube?: string | undefined;
493
- twitch?: string | undefined;
494
- guilded?: string | undefined;
558
+ facebook: string;
559
+ twitter: string;
560
+ youtube: string;
561
+ twitch: string;
562
+ guilded: string;
495
563
  }, {
496
- facebook?: string | undefined;
497
- twitter?: string | undefined;
498
- youtube?: string | undefined;
499
- twitch?: string | undefined;
500
- guilded?: string | undefined;
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
- export declare const getV1usersUserIdrobloxBadges: {
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.ZodOptional<z.ZodNumber>;
518
- name: z.ZodOptional<z.ZodString>;
519
- description: z.ZodOptional<z.ZodString>;
520
- imageUrl: z.ZodOptional<z.ZodString>;
589
+ id: z.ZodNumber;
590
+ name: z.ZodString;
591
+ description: z.ZodString;
592
+ imageUrl: z.ZodString;
521
593
  }, "strip", z.ZodTypeAny, {
522
- id?: number | undefined;
523
- name?: string | undefined;
524
- description?: string | undefined;
525
- imageUrl?: string | undefined;
594
+ id: number;
595
+ name: string;
596
+ description: string;
597
+ imageUrl: string;
526
598
  }, {
527
- id?: number | undefined;
528
- name?: string | undefined;
529
- description?: string | undefined;
530
- imageUrl?: string | undefined;
599
+ id: number;
600
+ name: string;
601
+ description: string;
602
+ imageUrl: string;
531
603
  }>, "many">;
532
604
  errors: never[];
533
605
  };
534
- export declare const getV1xboxLiveconsecutiveLoginDays: {
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.ZodOptional<z.ZodNumber>;
615
+ count: z.ZodNumber;
541
616
  }, "strip", z.ZodTypeAny, {
542
- count?: number | undefined;
617
+ count: number;
543
618
  }, {
544
- count?: number | undefined;
619
+ count: number;
545
620
  }>;
546
621
  errors: {
547
622
  status: number;