rozod 4.8.2 → 4.9.1

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 (56) hide show
  1. package/README.md +1 -0
  2. package/lib/endpoints/accountinformationv1.d.ts +135 -119
  3. package/lib/endpoints/accountinformationv1.js +18 -0
  4. package/lib/endpoints/accountsettingsv1.d.ts +144 -197
  5. package/lib/endpoints/accountsettingsv1.js +2 -0
  6. package/lib/endpoints/assetdeliveryv1.d.ts +206 -293
  7. package/lib/endpoints/assetdeliveryv1.js +15 -101
  8. package/lib/endpoints/assetdeliveryv2.d.ts +207 -304
  9. package/lib/endpoints/assetdeliveryv2.js +16 -111
  10. package/lib/endpoints/authv1.d.ts +396 -412
  11. package/lib/endpoints/authv1.js +76 -11
  12. package/lib/endpoints/authv2.d.ts +196 -231
  13. package/lib/endpoints/authv2.js +8 -7
  14. package/lib/endpoints/authv3.d.ts +18 -21
  15. package/lib/endpoints/avatarv1.d.ts +201 -257
  16. package/lib/endpoints/avatarv1.js +8 -49
  17. package/lib/endpoints/avatarv2.d.ts +55 -57
  18. package/lib/endpoints/avatarv2.js +7 -7
  19. package/lib/endpoints/avatarv3.d.ts +23 -23
  20. package/lib/endpoints/avatarv3.js +7 -7
  21. package/lib/endpoints/badgesv1.d.ts +120 -93
  22. package/lib/endpoints/badgesv1.js +34 -5
  23. package/lib/endpoints/catalogv1.d.ts +160 -200
  24. package/lib/endpoints/catalogv1.js +0 -19
  25. package/lib/endpoints/chatv2.d.ts +122 -152
  26. package/lib/endpoints/developv1.d.ts +189 -393
  27. package/lib/endpoints/developv1.js +2 -178
  28. package/lib/endpoints/developv2.d.ts +61 -87
  29. package/lib/endpoints/developv2.js +2 -0
  30. package/lib/endpoints/economyv1.d.ts +6 -6
  31. package/lib/endpoints/friendsv1.d.ts +234 -322
  32. package/lib/endpoints/friendsv1.js +43 -80
  33. package/lib/endpoints/gamejoinv1.d.ts +52 -40
  34. package/lib/endpoints/gamejoinv1.js +16 -0
  35. package/lib/endpoints/gamesv1.d.ts +264 -430
  36. package/lib/endpoints/gamesv1.js +63 -215
  37. package/lib/endpoints/gamesv2.d.ts +148 -159
  38. package/lib/endpoints/groupsv1.d.ts +817 -740
  39. package/lib/endpoints/groupsv1.js +106 -5
  40. package/lib/endpoints/groupsv2.d.ts +49 -55
  41. package/lib/endpoints/inventoryv1.d.ts +82 -90
  42. package/lib/endpoints/inventoryv1.js +2 -0
  43. package/lib/endpoints/inventoryv2.d.ts +109 -72
  44. package/lib/endpoints/inventoryv2.js +53 -2
  45. package/lib/endpoints/itemconfigurationv1.d.ts +73 -81
  46. package/lib/endpoints/presencev1.d.ts +11 -50
  47. package/lib/endpoints/presencev1.js +1 -34
  48. package/lib/endpoints/privatemessagesv1.d.ts +66 -75
  49. package/lib/endpoints/thumbnailsv1.d.ts +285 -337
  50. package/lib/endpoints/thumbnailsv1.js +14 -3
  51. package/lib/endpoints/tradesv1.d.ts +62 -80
  52. package/lib/endpoints/translationsv1.d.ts +25 -25
  53. package/lib/endpoints/usersv1.d.ts +109 -113
  54. package/lib/index.d.ts +3 -3
  55. package/lib/index.js +12 -12
  56. package/package.json +30 -23
package/README.md CHANGED
@@ -18,6 +18,7 @@
18
18
  <a href="#usage">Usage</a> •
19
19
  <a href="#credits">Credits</a> •
20
20
  <a href="#disclaimer">Disclaimer</a>
21
+ <a href="http://rozod.alrovi.com">Documentation</a>
21
22
  </p>
22
23
 
23
24
  ---
@@ -1,5 +1,5 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
4
  const Roblox_AccountInformation_Api_Models_BirthdateResponse = z.object({
5
5
  birthMonth: z.number().int(),
@@ -51,18 +51,18 @@ const Roblox_AccountInformation_Api_Models_PhoneRequest = z.object({
51
51
  password: z.string(),
52
52
  verificationChannel: z.string(),
53
53
  });
54
- const Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse =
55
- z.object({ verificationChannel: z.string(), data: z.string() });
56
- const Roblox_AccountInformation_Api_Models_PromotionChannelsResponse = z.object(
57
- {
58
- promotionChannelsVisibilityPrivacy: z.string(),
59
- facebook: z.string(),
60
- twitter: z.string(),
61
- youtube: z.string(),
62
- twitch: z.string(),
63
- guilded: z.string(),
64
- }
65
- );
54
+ const Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse = z.object({
55
+ verificationChannel: z.string(),
56
+ data: z.string(),
57
+ });
58
+ const Roblox_AccountInformation_Api_Models_PromotionChannelsResponse = z.object({
59
+ promotionChannelsVisibilityPrivacy: z.string(),
60
+ facebook: z.string(),
61
+ twitter: z.string(),
62
+ youtube: z.string(),
63
+ twitch: z.string(),
64
+ guilded: z.string(),
65
+ });
66
66
  const Roblox_AccountInformation_Api_Models_PromotionChannelsRequest = z.object({
67
67
  facebook: z.string(),
68
68
  twitter: z.string(),
@@ -71,28 +71,28 @@ const Roblox_AccountInformation_Api_Models_PromotionChannelsRequest = z.object({
71
71
  guilded: z.string(),
72
72
  promotionChannelsVisibilityPrivacy: z.string(),
73
73
  });
74
- const Roblox_AccountInformation_Api_Models_StarCodeAffiliateResponse = z.object(
75
- { userId: z.number().int(), name: z.string(), code: z.string() }
76
- );
74
+ const Roblox_AccountInformation_Api_Models_StarCodeAffiliateResponse = z.object({
75
+ userId: z.number().int(),
76
+ name: z.string(),
77
+ code: z.string(),
78
+ });
77
79
  const Roblox_AccountInformation_Api_Models_StarCodeAffiliateRequest = z.object({
78
80
  code: z.string(),
79
81
  });
80
- const Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse =
81
- z.object({
82
- facebook: z.string(),
83
- twitter: z.string(),
84
- youtube: z.string(),
85
- twitch: z.string(),
86
- guilded: z.string(),
87
- });
82
+ const Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse = z.object({
83
+ facebook: z.string(),
84
+ twitter: z.string(),
85
+ youtube: z.string(),
86
+ twitch: z.string(),
87
+ guilded: z.string(),
88
+ });
88
89
  const Roblox_AccountInformation_Api_RobloxBadgeResponse = z.object({
89
90
  id: z.number().int(),
90
91
  name: z.string(),
91
92
  description: z.string(),
92
93
  imageUrl: z.string(),
93
94
  });
94
- const Roblox_AccountInformation_Api_Models_ConsecutiveLoginDaysResponse =
95
- z.object({ count: z.number().int() });
95
+ const Roblox_AccountInformation_Api_Models_ConsecutiveLoginDaysResponse = z.object({ count: z.number().int() });
96
96
  const Roblox_AccountInformation_Api_Models_VerifyEmailRequest = z.object({
97
97
  ticket: z.string(),
98
98
  });
@@ -109,10 +109,10 @@ const Roblox_AccountInformation_Api_Models_VerifyPhoneRequest = z.object({
109
109
  * @summary Get the user's birthdate
110
110
  */
111
111
  export const getBirthdate = endpoint({
112
- method: "get" as const,
113
- path: "/v1/birthdate",
114
- baseUrl: "https://accountinformation.roblox.com",
115
- requestFormat: "json" as const,
112
+ method: 'get',
113
+ path: '/v1/birthdate',
114
+ baseUrl: 'https://accountinformation.roblox.com',
115
+ requestFormat: 'json',
116
116
  response: Roblox_AccountInformation_Api_Models_BirthdateResponse,
117
117
  errors: [
118
118
  {
@@ -131,10 +131,10 @@ export const getBirthdate = endpoint({
131
131
  * @param body The Roblox.AccountInformation.Api.Models.BirthdateRequest
132
132
  */
133
133
  export const postBirthdate = endpoint({
134
- method: "post" as const,
135
- path: "/v1/birthdate",
136
- baseUrl: "https://accountinformation.roblox.com",
137
- requestFormat: "json" as const,
134
+ method: 'post',
135
+ path: '/v1/birthdate',
136
+ baseUrl: 'https://accountinformation.roblox.com',
137
+ requestFormat: 'json',
138
138
  serializationMethod: {
139
139
  body: {},
140
140
  },
@@ -170,10 +170,10 @@ export const postBirthdate = endpoint({
170
170
  * @summary Get the user's description
171
171
  */
172
172
  export const getDescription = endpoint({
173
- method: "get" as const,
174
- path: "/v1/description",
175
- baseUrl: "https://accountinformation.roblox.com",
176
- requestFormat: "json" as const,
173
+ method: 'get',
174
+ path: '/v1/description',
175
+ baseUrl: 'https://accountinformation.roblox.com',
176
+ requestFormat: 'json',
177
177
  response: z.object({ description: z.string() }),
178
178
  errors: [
179
179
  {
@@ -192,10 +192,10 @@ export const getDescription = endpoint({
192
192
  * @param body The Roblox.AccountInformation.Api.Models.DescriptionRequest
193
193
  */
194
194
  export const postDescription = endpoint({
195
- method: "post" as const,
196
- path: "/v1/description",
197
- baseUrl: "https://accountinformation.roblox.com",
198
- requestFormat: "json" as const,
195
+ method: 'post',
196
+ path: '/v1/description',
197
+ baseUrl: 'https://accountinformation.roblox.com',
198
+ requestFormat: 'json',
199
199
  serializationMethod: {
200
200
  body: {},
201
201
  },
@@ -232,10 +232,10 @@ export const postDescription = endpoint({
232
232
  * @param body Roblox.AccountInformation.Api.Models.VerifyEmailRequest
233
233
  */
234
234
  export const postEmailVerify = endpoint({
235
- method: "post" as const,
236
- path: "/v1/email/verify",
237
- baseUrl: "https://accountinformation.roblox.com",
238
- requestFormat: "json" as const,
235
+ method: 'post',
236
+ path: '/v1/email/verify',
237
+ baseUrl: 'https://accountinformation.roblox.com',
238
+ requestFormat: 'json',
239
239
  serializationMethod: {
240
240
  body: {},
241
241
  },
@@ -254,10 +254,10 @@ export const postEmailVerify = endpoint({
254
254
  * @summary Get the user's gender
255
255
  */
256
256
  export const getGender = endpoint({
257
- method: "get" as const,
258
- path: "/v1/gender",
259
- baseUrl: "https://accountinformation.roblox.com",
260
- requestFormat: "json" as const,
257
+ method: 'get',
258
+ path: '/v1/gender',
259
+ baseUrl: 'https://accountinformation.roblox.com',
260
+ requestFormat: 'json',
261
261
  response: z.object({ gender: z.number().int() }),
262
262
  errors: [
263
263
  {
@@ -276,10 +276,10 @@ export const getGender = endpoint({
276
276
  * @param body The Roblox.AccountInformation.Api.Models.GenderRequest
277
277
  */
278
278
  export const postGender = endpoint({
279
- method: "post" as const,
280
- path: "/v1/gender",
281
- baseUrl: "https://accountinformation.roblox.com",
282
- requestFormat: "json" as const,
279
+ method: 'post',
280
+ path: '/v1/gender',
281
+ baseUrl: 'https://accountinformation.roblox.com',
282
+ requestFormat: 'json',
283
283
  serializationMethod: {
284
284
  body: {},
285
285
  },
@@ -312,10 +312,10 @@ export const postGender = endpoint({
312
312
  * @summary Get the metadata
313
313
  */
314
314
  export const getMetadata = endpoint({
315
- method: "get" as const,
316
- path: "/v1/metadata",
317
- baseUrl: "https://accountinformation.roblox.com",
318
- requestFormat: "json" as const,
315
+ method: 'get',
316
+ path: '/v1/metadata',
317
+ baseUrl: 'https://accountinformation.roblox.com',
318
+ requestFormat: 'json',
319
319
  response: Roblox_AccountInformation_Api_Models_MetadataResponse,
320
320
  errors: [],
321
321
  });
@@ -324,10 +324,10 @@ export const getMetadata = endpoint({
324
324
  * @summary Get Verified Phone Number
325
325
  */
326
326
  export const getPhone = endpoint({
327
- method: "get" as const,
328
- path: "/v1/phone",
329
- baseUrl: "https://accountinformation.roblox.com",
330
- requestFormat: "json" as const,
327
+ method: 'get',
328
+ path: '/v1/phone',
329
+ baseUrl: 'https://accountinformation.roblox.com',
330
+ requestFormat: 'json',
331
331
  response: Roblox_AccountInformation_Api_Models_PhoneResponse,
332
332
  errors: [
333
333
  {
@@ -346,17 +346,16 @@ export const getPhone = endpoint({
346
346
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
347
347
  */
348
348
  export const postPhone = endpoint({
349
- method: "post" as const,
350
- path: "/v1/phone",
351
- baseUrl: "https://accountinformation.roblox.com",
352
- requestFormat: "json" as const,
349
+ method: 'post',
350
+ path: '/v1/phone',
351
+ baseUrl: 'https://accountinformation.roblox.com',
352
+ requestFormat: 'json',
353
353
  serializationMethod: {
354
354
  body: {},
355
355
  },
356
356
  parameters: {},
357
357
  body: Roblox_AccountInformation_Api_Models_PhoneRequest,
358
- response:
359
- Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse,
358
+ response: Roblox_Platform_UserPhoneNumberVerification_Models_PendingVerificationResponse,
360
359
  errors: [
361
360
  {
362
361
  status: 400,
@@ -395,10 +394,10 @@ export const postPhone = endpoint({
395
394
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
396
395
  */
397
396
  export const postPhoneDelete = endpoint({
398
- method: "post" as const,
399
- path: "/v1/phone/delete",
400
- baseUrl: "https://accountinformation.roblox.com",
401
- requestFormat: "json" as const,
397
+ method: 'post',
398
+ path: '/v1/phone/delete',
399
+ baseUrl: 'https://accountinformation.roblox.com',
400
+ requestFormat: 'json',
402
401
  serializationMethod: {
403
402
  body: {},
404
403
  },
@@ -436,10 +435,10 @@ export const postPhoneDelete = endpoint({
436
435
  * @param body Roblox.AccountInformation.Api.Models.PhoneRequest
437
436
  */
438
437
  export const postPhoneResend = endpoint({
439
- method: "post" as const,
440
- path: "/v1/phone/resend",
441
- baseUrl: "https://accountinformation.roblox.com",
442
- requestFormat: "json" as const,
438
+ method: 'post',
439
+ path: '/v1/phone/resend',
440
+ baseUrl: 'https://accountinformation.roblox.com',
441
+ requestFormat: 'json',
443
442
  serializationMethod: {
444
443
  body: {},
445
444
  },
@@ -475,10 +474,10 @@ export const postPhoneResend = endpoint({
475
474
  * @param body Roblox.AccountInformation.Api.Models.VerifyPhoneRequest
476
475
  */
477
476
  export const postPhoneVerify = endpoint({
478
- method: "post" as const,
479
- path: "/v1/phone/verify",
480
- baseUrl: "https://accountinformation.roblox.com",
481
- requestFormat: "json" as const,
477
+ method: 'post',
478
+ path: '/v1/phone/verify',
479
+ baseUrl: 'https://accountinformation.roblox.com',
480
+ requestFormat: 'json',
482
481
  serializationMethod: {
483
482
  body: {},
484
483
  },
@@ -518,20 +517,32 @@ export const postPhoneVerify = endpoint({
518
517
  * @api GET https://accountinformation.roblox.com/v1/promotion-channels
519
518
  * @summary Get the user's promotion channels
520
519
  * @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
520
+ * @param filterLink Whether all promotion channel links should be filtered.
521
+ * @param onlyShortenTwitter Whether all promotion channels links except for Twitter should be returned as full URLs. If false, all promotion channels will be shortened.
521
522
  */
522
523
  export const getPromotionChannels = endpoint({
523
- method: "get" as const,
524
- path: "/v1/promotion-channels",
525
- baseUrl: "https://accountinformation.roblox.com",
526
- requestFormat: "json" as const,
524
+ method: 'get',
525
+ path: '/v1/promotion-channels',
526
+ baseUrl: 'https://accountinformation.roblox.com',
527
+ requestFormat: 'json',
527
528
  serializationMethod: {
528
529
  alwaysReturnUrls: {
529
- style: "form",
530
+ style: 'form',
531
+ explode: true,
532
+ },
533
+ filterLink: {
534
+ style: 'form',
535
+ explode: true,
536
+ },
537
+ onlyShortenTwitter: {
538
+ style: 'form',
530
539
  explode: true,
531
540
  },
532
541
  },
533
542
  parameters: {
534
543
  alwaysReturnUrls: z.boolean().optional(),
544
+ filterLink: z.boolean().optional(),
545
+ onlyShortenTwitter: z.boolean().optional().default(true),
535
546
  },
536
547
  response: Roblox_AccountInformation_Api_Models_PromotionChannelsResponse,
537
548
  errors: [
@@ -551,10 +562,10 @@ export const getPromotionChannels = endpoint({
551
562
  * @param body The Roblox.AccountInformation.Api.Models.PromotionChannelsRequest
552
563
  */
553
564
  export const postPromotionChannels = endpoint({
554
- method: "post" as const,
555
- path: "/v1/promotion-channels",
556
- baseUrl: "https://accountinformation.roblox.com",
557
- requestFormat: "json" as const,
565
+ method: 'post',
566
+ path: '/v1/promotion-channels',
567
+ baseUrl: 'https://accountinformation.roblox.com',
568
+ requestFormat: 'json',
558
569
  serializationMethod: {
559
570
  body: {},
560
571
  },
@@ -588,10 +599,10 @@ export const postPromotionChannels = endpoint({
588
599
  * @summary Gets a star code affiliate supporter for the authenticated user
589
600
  */
590
601
  export const getStarCodeAffiliates = endpoint({
591
- method: "get" as const,
592
- path: "/v1/star-code-affiliates",
593
- baseUrl: "https://accountinformation.roblox.com",
594
- requestFormat: "json" as const,
602
+ method: 'get',
603
+ path: '/v1/star-code-affiliates',
604
+ baseUrl: 'https://accountinformation.roblox.com',
605
+ requestFormat: 'json',
595
606
  response: Roblox_AccountInformation_Api_Models_StarCodeAffiliateResponse,
596
607
  errors: [
597
608
  {
@@ -610,10 +621,10 @@ export const getStarCodeAffiliates = endpoint({
610
621
  * @param body Roblox.AccountInformation.Api.Models.StarCodeAffiliateRequest
611
622
  */
612
623
  export const postStarCodeAffiliates = endpoint({
613
- method: "post" as const,
614
- path: "/v1/star-code-affiliates",
615
- baseUrl: "https://accountinformation.roblox.com",
616
- requestFormat: "json" as const,
624
+ method: 'post',
625
+ path: '/v1/star-code-affiliates',
626
+ baseUrl: 'https://accountinformation.roblox.com',
627
+ requestFormat: 'json',
617
628
  serializationMethod: {
618
629
  body: {},
619
630
  },
@@ -644,10 +655,10 @@ export const postStarCodeAffiliates = endpoint({
644
655
  * @summary Removes the star code affiliate supporter for the authenticated user
645
656
  */
646
657
  export const deleteStarCodeAffiliates = endpoint({
647
- method: "delete" as const,
648
- path: "/v1/star-code-affiliates",
649
- baseUrl: "https://accountinformation.roblox.com",
650
- requestFormat: "json" as const,
658
+ method: 'delete',
659
+ path: '/v1/star-code-affiliates',
660
+ baseUrl: 'https://accountinformation.roblox.com',
661
+ requestFormat: 'json',
651
662
  response: z.object({}),
652
663
  errors: [
653
664
  {
@@ -669,27 +680,32 @@ export const deleteStarCodeAffiliates = endpoint({
669
680
  * @summary Get promotion channels for a given user ID
670
681
  * @param userId The ID of the user to fetch the promotion channels for.
671
682
  * @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
683
+ * @param filterLink Whether all promotion channel links should be filtered.
672
684
  */
673
685
  export const getUsersUseridPromotionChannels = endpoint({
674
- method: "get" as const,
675
- path: "/v1/users/:userId/promotion-channels",
676
- baseUrl: "https://accountinformation.roblox.com",
677
- requestFormat: "json" as const,
686
+ method: 'get',
687
+ path: '/v1/users/:userId/promotion-channels',
688
+ baseUrl: 'https://accountinformation.roblox.com',
689
+ requestFormat: 'json',
678
690
  serializationMethod: {
679
691
  userId: {
680
- style: "simple",
692
+ style: 'simple',
681
693
  },
682
694
  alwaysReturnUrls: {
683
- style: "form",
695
+ style: 'form',
696
+ explode: true,
697
+ },
698
+ filterLink: {
699
+ style: 'form',
684
700
  explode: true,
685
701
  },
686
702
  },
687
703
  parameters: {
688
704
  userId: z.number().int(),
689
705
  alwaysReturnUrls: z.boolean().optional(),
706
+ filterLink: z.boolean().optional(),
690
707
  },
691
- response:
692
- Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
708
+ response: Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
693
709
  errors: [
694
710
  {
695
711
  status: 400,
@@ -703,13 +719,13 @@ export const getUsersUseridPromotionChannels = endpoint({
703
719
  * @param userId
704
720
  */
705
721
  export const getUsersUseridRobloxBadges = endpoint({
706
- method: "get" as const,
707
- path: "/v1/users/:userId/roblox-badges",
708
- baseUrl: "https://accountinformation.roblox.com",
709
- requestFormat: "json" as const,
722
+ method: 'get',
723
+ path: '/v1/users/:userId/roblox-badges',
724
+ baseUrl: 'https://accountinformation.roblox.com',
725
+ requestFormat: 'json',
710
726
  serializationMethod: {
711
727
  userId: {
712
- style: "simple",
728
+ style: 'simple',
713
729
  },
714
730
  },
715
731
  parameters: {
@@ -723,10 +739,10 @@ export const getUsersUseridRobloxBadges = endpoint({
723
739
  * @summary Returns number of consecutive login days for xbox users
724
740
  */
725
741
  export const getXboxLiveConsecutiveLoginDays = endpoint({
726
- method: "get" as const,
727
- path: "/v1/xbox-live/consecutive-login-days",
728
- baseUrl: "https://accountinformation.roblox.com",
729
- requestFormat: "json" as const,
742
+ method: 'get',
743
+ path: '/v1/xbox-live/consecutive-login-days',
744
+ baseUrl: 'https://accountinformation.roblox.com',
745
+ requestFormat: 'json',
730
746
  response: z.object({ count: z.number().int() }),
731
747
  errors: [
732
748
  {
@@ -518,6 +518,8 @@ exports.postPhoneVerify = (0, __1.endpoint)({
518
518
  * @api GET https://accountinformation.roblox.com/v1/promotion-channels
519
519
  * @summary Get the user's promotion channels
520
520
  * @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
521
+ * @param filterLink Whether all promotion channel links should be filtered.
522
+ * @param onlyShortenTwitter Whether all promotion channels links except for Twitter should be returned as full URLs. If false, all promotion channels will be shortened.
521
523
  */
522
524
  exports.getPromotionChannels = (0, __1.endpoint)({
523
525
  method: 'get',
@@ -529,9 +531,19 @@ exports.getPromotionChannels = (0, __1.endpoint)({
529
531
  style: 'form',
530
532
  explode: true,
531
533
  },
534
+ filterLink: {
535
+ style: 'form',
536
+ explode: true,
537
+ },
538
+ onlyShortenTwitter: {
539
+ style: 'form',
540
+ explode: true,
541
+ },
532
542
  },
533
543
  parameters: {
534
544
  alwaysReturnUrls: zod_1.z.boolean().optional(),
545
+ filterLink: zod_1.z.boolean().optional(),
546
+ onlyShortenTwitter: zod_1.z.boolean().optional().default(true),
535
547
  },
536
548
  response: Roblox_AccountInformation_Api_Models_PromotionChannelsResponse,
537
549
  errors: [
@@ -669,6 +681,7 @@ exports.deleteStarCodeAffiliates = (0, __1.endpoint)({
669
681
  * @summary Get promotion channels for a given user ID
670
682
  * @param userId The ID of the user to fetch the promotion channels for.
671
683
  * @param alwaysReturnUrls Whether all promotion channel links should be returned as full URLs.
684
+ * @param filterLink Whether all promotion channel links should be filtered.
672
685
  */
673
686
  exports.getUsersUseridPromotionChannels = (0, __1.endpoint)({
674
687
  method: 'get',
@@ -683,10 +696,15 @@ exports.getUsersUseridPromotionChannels = (0, __1.endpoint)({
683
696
  style: 'form',
684
697
  explode: true,
685
698
  },
699
+ filterLink: {
700
+ style: 'form',
701
+ explode: true,
702
+ },
686
703
  },
687
704
  parameters: {
688
705
  userId: zod_1.z.number().int(),
689
706
  alwaysReturnUrls: zod_1.z.boolean().optional(),
707
+ filterLink: zod_1.z.boolean().optional(),
690
708
  },
691
709
  response: Roblox_AccountInformation_Api_Models_PromotionChannelsByUserIdResponse,
692
710
  errors: [