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