rozod 6.8.0 → 6.9.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 (53) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  2. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  3. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  4. package/lib/endpoints/assetdeliveryv1.d.ts +236 -237
  5. package/lib/endpoints/assetdeliveryv2.d.ts +180 -181
  6. package/lib/endpoints/authv1.d.ts +479 -521
  7. package/lib/endpoints/authv2.d.ts +209 -221
  8. package/lib/endpoints/authv3.d.ts +32 -35
  9. package/lib/endpoints/avatarv1.d.ts +112 -117
  10. package/lib/endpoints/avatarv2.d.ts +71 -76
  11. package/lib/endpoints/avatarv3.d.ts +27 -33
  12. package/lib/endpoints/badgesv1.d.ts +92 -99
  13. package/lib/endpoints/catalogv1.d.ts +207 -233
  14. package/lib/endpoints/catalogv2.d.ts +81 -119
  15. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  16. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  17. package/lib/endpoints/contactsv1.d.ts +18 -20
  18. package/lib/endpoints/developv1.d.ts +230 -293
  19. package/lib/endpoints/developv2.d.ts +84 -137
  20. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  21. package/lib/endpoints/economyv1.d.ts +6 -6
  22. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  23. package/lib/endpoints/followingsv1.d.ts +33 -34
  24. package/lib/endpoints/followingsv2.d.ts +9 -9
  25. package/lib/endpoints/friendsv1.d.ts +200 -237
  26. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  27. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  28. package/lib/endpoints/gamesv1.d.ts +181 -143
  29. package/lib/endpoints/gamesv2.d.ts +161 -169
  30. package/lib/endpoints/groupsv1.d.ts +938 -988
  31. package/lib/endpoints/groupsv2.d.ts +259 -278
  32. package/lib/endpoints/inventoryv1.d.ts +91 -122
  33. package/lib/endpoints/inventoryv2.d.ts +163 -180
  34. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  35. package/lib/endpoints/localev1.d.ts +47 -48
  36. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  37. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  38. package/lib/endpoints/notificationsv2.d.ts +144 -158
  39. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  40. package/lib/endpoints/presencev1.d.ts +7 -12
  41. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  42. package/lib/endpoints/publishv1.d.ts +32 -32
  43. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  44. package/lib/endpoints/thumbnailsv1.d.ts +325 -326
  45. package/lib/endpoints/thumbnailsv1.js +24 -24
  46. package/lib/endpoints/tradesv1.d.ts +92 -104
  47. package/lib/endpoints/tradesv2.d.ts +81 -84
  48. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  49. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  50. package/lib/endpoints/usersv1.d.ts +110 -114
  51. package/lib/index.d.ts +56 -1
  52. package/lib/index.js +159 -3
  53. package/package.json +2 -2
@@ -1,19 +1,17 @@
1
- import { z } from "zod";
2
- import { endpoint } from "..";
1
+ import { z } from 'zod';
2
+ import { endpoint } from '..';
3
3
 
4
- const Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse =
5
- z.object({
6
- isReactVersionEnabledForAutoLocalizationSettings: z.boolean(),
7
- isTabbedUIEnabledForConfigureLocalizationPage: z.boolean(),
8
- isAutomaticTranslationToggleUIEnabled: z.boolean(),
9
- isAutomaticTranslationQuotaUIEnabled: z.boolean(),
10
- });
11
- const Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse =
12
- z.object({
13
- gameId: z.number().int(),
14
- isAutomaticTranslationAllowed: z.boolean(),
15
- isAutomaticTranslationSwitchesUIEnabled: z.boolean(),
16
- });
4
+ const Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse = z.object({
5
+ isReactVersionEnabledForAutoLocalizationSettings: z.boolean(),
6
+ isTabbedUIEnabledForConfigureLocalizationPage: z.boolean(),
7
+ isAutomaticTranslationToggleUIEnabled: z.boolean(),
8
+ isAutomaticTranslationQuotaUIEnabled: z.boolean(),
9
+ });
10
+ const Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse = z.object({
11
+ gameId: z.number().int(),
12
+ isAutomaticTranslationAllowed: z.boolean(),
13
+ isAutomaticTranslationSwitchesUIEnabled: z.boolean(),
14
+ });
17
15
  const Roblox_GameInternationalization_Api_MonthlyQuotaModel = z.object({
18
16
  previousRefreshDate: z.string().datetime({ offset: true }),
19
17
  nextRefreshDate: z.string().datetime({ offset: true }),
@@ -24,164 +22,109 @@ const Roblox_GameInternationalization_Api_QuotaModel = z.object({
24
22
  remaining: z.number().int(),
25
23
  capacity: z.number().int(),
26
24
  });
27
- const Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse =
28
- z.object({
29
- monthlyQuota: Roblox_GameInternationalization_Api_MonthlyQuotaModel,
30
- bankQuota: Roblox_GameInternationalization_Api_QuotaModel,
31
- });
32
- const Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage =
33
- z.object({
34
- languageCode: z.string(),
35
- isAutomaticTranslationAllowed: z.boolean(),
36
- });
37
- const Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse =
38
- z.object({
39
- sourceLanguage: z.string(),
40
- targetLanguages: z.array(
41
- Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage
42
- ),
43
- });
25
+ const Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse = z.object({
26
+ monthlyQuota: Roblox_GameInternationalization_Api_MonthlyQuotaModel,
27
+ bankQuota: Roblox_GameInternationalization_Api_QuotaModel,
28
+ });
29
+ const Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage = z.object({
30
+ languageCode: z.string(),
31
+ isAutomaticTranslationAllowed: z.boolean(),
32
+ });
33
+ const Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse = z.object({
34
+ sourceLanguage: z.string(),
35
+ targetLanguages: z.array(Roblox_GameInternationalization_Api_AutomaticTranslationStatusTargetLanguage),
36
+ });
44
37
  const Roblox_GameInternationalization_Api_GetBadgeIconResponse = z.object({
45
38
  imageId: z.string(),
46
39
  imageUrl: z.string(),
47
- state: z.enum([
48
- "Approved",
49
- "PendingReview",
50
- "UnAvailable",
51
- "Rejected",
52
- "Error",
53
- ]),
40
+ state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
54
41
  languageCode: z.string(),
55
42
  });
56
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_ =
57
- z.object({
58
- data: z.array(Roblox_GameInternationalization_Api_GetBadgeIconResponse),
59
- });
43
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_ = z.object({
44
+ data: z.array(Roblox_GameInternationalization_Api_GetBadgeIconResponse),
45
+ });
60
46
  const Roblox_GameInternationalization_Api_NameDescription = z.object({
61
47
  name: z.string(),
62
48
  description: z.string(),
63
- updateType: z.enum(["Invalid", "Name", "Description"]),
49
+ updateType: z.enum(['Invalid', 'Name', 'Description']),
50
+ languageCode: z.string(),
51
+ });
52
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_ = z.object({
53
+ data: z.array(Roblox_GameInternationalization_Api_NameDescription),
54
+ });
55
+ const Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse = z.object({
56
+ imageId: z.string(),
57
+ imageUrl: z.string(),
58
+ state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
64
59
  languageCode: z.string(),
65
60
  });
66
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_ =
67
- z.object({
68
- data: z.array(Roblox_GameInternationalization_Api_NameDescription),
69
- });
70
- const Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse =
71
- z.object({
72
- imageId: z.string(),
73
- imageUrl: z.string(),
74
- state: z.enum([
75
- "Approved",
76
- "PendingReview",
77
- "UnAvailable",
78
- "Rejected",
79
- "Error",
80
- ]),
81
- languageCode: z.string(),
82
- });
83
61
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse_ =
84
62
  z.object({
85
- data: z.array(
86
- Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse
87
- ),
63
+ data: z.array(Roblox_GameInternationalization_Api_GetDeveloperProductIconResponse),
88
64
  });
89
65
  const Roblox_GameInternationalization_Api_GetGameIconResponse = z.object({
90
66
  imageId: z.string(),
91
67
  imageUrl: z.string(),
92
- state: z.enum([
93
- "Approved",
94
- "PendingReview",
95
- "UnAvailable",
96
- "Rejected",
97
- "Error",
98
- ]),
68
+ state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
99
69
  languageCode: z.string(),
100
70
  });
101
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_ =
102
- z.object({
103
- data: z.array(Roblox_GameInternationalization_Api_GetGameIconResponse),
104
- });
71
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_ = z.object({
72
+ data: z.array(Roblox_GameInternationalization_Api_GetGameIconResponse),
73
+ });
105
74
  const Roblox_GameInternationalization_Api_TranslationCount = z.object({
106
75
  count: z.number().int(),
107
- translationStatus: z.literal("Approved"),
108
- translatorType: z.enum(["Automation", "User"]),
76
+ translationStatus: z.literal('Approved'),
77
+ translatorType: z.enum(['Automation', 'User']),
78
+ });
79
+ const Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse = z.object({
80
+ category: z.literal('InGameContent'),
81
+ translationCounts: z.array(Roblox_GameInternationalization_Api_TranslationCount),
82
+ totalTranslatableItemCount: z.number().int(),
83
+ });
84
+ const Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse = z.object({
85
+ status: z.enum(['Success', 'LanguageOrLocaleNotSupportedForGame']),
86
+ categories: z.array(Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse),
87
+ name: z.string(),
88
+ languageCodeType: z.enum(['Language', 'Locale']),
89
+ languageCode: z.string(),
90
+ });
91
+ const Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse = z.object({
92
+ gameId: z.number().int(),
93
+ languagesOrLocales: z.array(Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse),
94
+ });
95
+ const Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse = z.object({
96
+ gameId: z.number().int(),
97
+ status: z.enum([
98
+ 'LanguageOrLocaleSupportedForGame',
99
+ 'LanguageOrLocaleNotSupportedForGame',
100
+ 'LanguageOrLocaleIsSource',
101
+ 'InsufficientPermission',
102
+ 'GameDoesNotExist',
103
+ 'GameDoesNotHaveTable',
104
+ 'UnknownError',
105
+ ]),
106
+ categories: z.array(Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse),
107
+ });
108
+ const Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse = z.object({
109
+ languageOrLocaleCode: z.string(),
110
+ languageOrLocaleType: z.enum(['Language', 'Locale']),
111
+ games: z.array(Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse),
109
112
  });
110
- const Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse =
111
- z.object({
112
- category: z.literal("InGameContent"),
113
- translationCounts: z.array(
114
- Roblox_GameInternationalization_Api_TranslationCount
115
- ),
116
- totalTranslatableItemCount: z.number().int(),
117
- });
118
- const Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse =
119
- z.object({
120
- status: z.enum(["Success", "LanguageOrLocaleNotSupportedForGame"]),
121
- categories: z.array(
122
- Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse
123
- ),
124
- name: z.string(),
125
- languageCodeType: z.enum(["Language", "Locale"]),
126
- languageCode: z.string(),
127
- });
128
- const Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse =
129
- z.object({
130
- gameId: z.number().int(),
131
- languagesOrLocales: z.array(
132
- Roblox_GameInternationalization_Api_TranslationCountLanguageOrLocaleResponse
133
- ),
134
- });
135
- const Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse =
136
- z.object({
137
- gameId: z.number().int(),
138
- status: z.enum([
139
- "LanguageOrLocaleSupportedForGame",
140
- "LanguageOrLocaleNotSupportedForGame",
141
- "LanguageOrLocaleIsSource",
142
- "InsufficientPermission",
143
- "GameDoesNotExist",
144
- "GameDoesNotHaveTable",
145
- "UnknownError",
146
- ]),
147
- categories: z.array(
148
- Roblox_GameInternationalization_Api_TranslationCountCategoryInfoResponse
149
- ),
150
- });
151
- const Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse =
152
- z.object({
153
- languageOrLocaleCode: z.string(),
154
- languageOrLocaleType: z.enum(["Language", "Locale"]),
155
- games: z.array(
156
- Roblox_GameInternationalization_Api_TranslationCountGameInfoResponse
157
- ),
158
- });
159
113
  const Roblox_GameInternationalization_Api_GetGamePassIconResponse = z.object({
160
114
  imageId: z.string(),
161
115
  imageUrl: z.string(),
162
- state: z.enum([
163
- "Approved",
164
- "PendingReview",
165
- "UnAvailable",
166
- "Rejected",
167
- "Error",
168
- ]),
116
+ state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
169
117
  languageCode: z.string(),
170
118
  });
171
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_ =
172
- z.object({
119
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_ = z.object(
120
+ {
173
121
  data: z.array(Roblox_GameInternationalization_Api_GetGamePassIconResponse),
174
- });
122
+ },
123
+ );
175
124
  const Roblox_GameInternationalization_Api_MediaAssetResponse = z.object({
176
125
  mediaAssetId: z.string(),
177
126
  mediaAssetAltText: z.string(),
178
- state: z.enum([
179
- "Approved",
180
- "PendingReview",
181
- "UnAvailable",
182
- "Rejected",
183
- "Error",
184
- ]),
127
+ state: z.enum(['Approved', 'PendingReview', 'UnAvailable', 'Rejected', 'Error']),
185
128
  mediaAssetUrl: z.string(),
186
129
  });
187
130
  const Roblox_GameInternationalization_Api_GetGameThumbnailsResponse = z.object({
@@ -190,29 +133,22 @@ const Roblox_GameInternationalization_Api_GetGameThumbnailsResponse = z.object({
190
133
  });
191
134
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_ =
192
135
  z.object({
193
- data: z.array(
194
- Roblox_GameInternationalization_Api_GetGameThumbnailsResponse
195
- ),
196
- });
197
- const Roblox_GameInternationalization_Api_UpdateNameDescriptionsRequest =
198
- z.object({
199
- data: z.array(Roblox_GameInternationalization_Api_NameDescription),
136
+ data: z.array(Roblox_GameInternationalization_Api_GetGameThumbnailsResponse),
200
137
  });
138
+ const Roblox_GameInternationalization_Api_UpdateNameDescriptionsRequest = z.object({
139
+ data: z.array(Roblox_GameInternationalization_Api_NameDescription),
140
+ });
201
141
  const Roblox_GameInternationalization_Api_FailedNameDescription = z.object({
202
142
  languageCode: z.string(),
203
143
  errorCode: z.number().int(),
204
144
  });
205
- const Roblox_GameInternationalization_Api_UpdateNameDescriptionsResponse =
206
- z.object({
207
- successOperations: z.array(
208
- Roblox_GameInternationalization_Api_NameDescription
209
- ),
210
- failedOperations: z.array(
211
- Roblox_GameInternationalization_Api_FailedNameDescription
212
- ),
213
- });
214
- const Roblox_GameInternationalization_Api_Models_Response_GameNameDescriptionMetadataResponse =
215
- z.object({ isNameDescriptionMigrationEnabled: z.boolean() });
145
+ const Roblox_GameInternationalization_Api_UpdateNameDescriptionsResponse = z.object({
146
+ successOperations: z.array(Roblox_GameInternationalization_Api_NameDescription),
147
+ failedOperations: z.array(Roblox_GameInternationalization_Api_FailedNameDescription),
148
+ });
149
+ const Roblox_GameInternationalization_Api_Models_Response_GameNameDescriptionMetadataResponse = z.object({
150
+ isNameDescriptionMigrationEnabled: z.boolean(),
151
+ });
216
152
  const Roblox_GameInternationalization_Api_Language = z.object({
217
153
  name: z.string(),
218
154
  nativeName: z.string(),
@@ -229,57 +165,57 @@ const Roblox_Localization_Client_LanguageFamily = z.object({
229
165
  const Roblox_Localization_Client_SupportedLocale = z.object({
230
166
  id: z.number().int(),
231
167
  locale: z.enum([
232
- "en_us",
233
- "es_es",
234
- "fr_fr",
235
- "id_id",
236
- "it_it",
237
- "ja_jp",
238
- "ko_kr",
239
- "ru_ru",
240
- "th_th",
241
- "tr_tr",
242
- "vi_vn",
243
- "pt_br",
244
- "de_de",
245
- "zh_cn",
246
- "zh_tw",
247
- "bg_bg",
248
- "bn_bd",
249
- "cs_cz",
250
- "da_dk",
251
- "el_gr",
252
- "et_ee",
253
- "fi_fi",
254
- "hi_in",
255
- "hr_hr",
256
- "hu_hu",
257
- "ka_ge",
258
- "kk_kz",
259
- "km_kh",
260
- "lt_lt",
261
- "lv_lv",
262
- "ms_my",
263
- "my_mm",
264
- "nb_no",
265
- "nl_nl",
266
- "fil_ph",
267
- "pl_pl",
268
- "ro_ro",
269
- "uk_ua",
270
- "si_lk",
271
- "sk_sk",
272
- "sl_sl",
273
- "sq_al",
274
- "bs_ba",
275
- "sr_rs",
276
- "sv_se",
277
- "zh_cjv",
278
- "ar_001",
279
- "en_gb",
280
- "pt_pt",
281
- "es_mx",
282
- "fr_ca",
168
+ 'en_us',
169
+ 'es_es',
170
+ 'fr_fr',
171
+ 'id_id',
172
+ 'it_it',
173
+ 'ja_jp',
174
+ 'ko_kr',
175
+ 'ru_ru',
176
+ 'th_th',
177
+ 'tr_tr',
178
+ 'vi_vn',
179
+ 'pt_br',
180
+ 'de_de',
181
+ 'zh_cn',
182
+ 'zh_tw',
183
+ 'bg_bg',
184
+ 'bn_bd',
185
+ 'cs_cz',
186
+ 'da_dk',
187
+ 'el_gr',
188
+ 'et_ee',
189
+ 'fi_fi',
190
+ 'hi_in',
191
+ 'hr_hr',
192
+ 'hu_hu',
193
+ 'ka_ge',
194
+ 'kk_kz',
195
+ 'km_kh',
196
+ 'lt_lt',
197
+ 'lv_lv',
198
+ 'ms_my',
199
+ 'my_mm',
200
+ 'nb_no',
201
+ 'nl_nl',
202
+ 'fil_ph',
203
+ 'pl_pl',
204
+ 'ro_ro',
205
+ 'uk_ua',
206
+ 'si_lk',
207
+ 'sk_sk',
208
+ 'sl_sl',
209
+ 'sq_al',
210
+ 'bs_ba',
211
+ 'sr_rs',
212
+ 'sv_se',
213
+ 'zh_cjv',
214
+ 'ar_001',
215
+ 'en_gb',
216
+ 'pt_pt',
217
+ 'es_mx',
218
+ 'fr_ca',
283
219
  ]),
284
220
  localeCode: z.string(),
285
221
  name: z.string(),
@@ -293,20 +229,19 @@ const Roblox_GameInternationalization_Api_SourceLanguageWithLocales = z.object({
293
229
  });
294
230
  const Roblox_GameInternationalization_Api_LanguageOrLocale = z.object({
295
231
  name: z.string(),
296
- languageCodeType: z.enum(["Language", "Locale"]),
232
+ languageCodeType: z.enum(['Language', 'Locale']),
297
233
  languageCode: z.string(),
298
234
  });
299
- const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_ =
300
- z.object({
301
- data: z.array(Roblox_GameInternationalization_Api_LanguageOrLocale),
302
- });
235
+ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_ = z.object({
236
+ data: z.array(Roblox_GameInternationalization_Api_LanguageOrLocale),
237
+ });
303
238
  const Roblox_GameInternationalization_Api_PatchLanguage = z.object({
304
- languageCodeType: z.enum(["Language", "Locale"]),
239
+ languageCodeType: z.enum(['Language', 'Locale']),
305
240
  languageCode: z.string(),
306
241
  delete: z.boolean(),
307
242
  });
308
243
  const Roblox_GameInternationalization_Api_LanguageOrLocaleSettings = z.object({
309
- languageCodeType: z.enum(["Language", "Locale"]),
244
+ languageCodeType: z.enum(['Language', 'Locale']),
310
245
  languageCode: z.string(),
311
246
  isAutomaticTranslationEnabled: z.boolean(),
312
247
  isImageTranslationEnabled: z.boolean(),
@@ -315,72 +250,57 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_
315
250
  z.object({
316
251
  data: z.array(Roblox_GameInternationalization_Api_LanguageOrLocaleSettings),
317
252
  });
318
- const Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings =
319
- z.object({
320
- languageCode: z.string(),
321
- isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
322
- });
253
+ const Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings = z.object({
254
+ languageCode: z.string(),
255
+ isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
256
+ });
323
257
  const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings_ =
324
258
  z.object({
325
- data: z.array(
326
- Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings
327
- ),
328
- });
329
- const Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse =
330
- z.object({
331
- isFeatureEnabled: z.boolean(),
332
- areAllLanguagesEnabled: z.boolean(),
333
- minimumUniverseIdForFeature: z.number().int(),
334
- isHumanTranslationProgressUIEnabled: z.boolean(),
335
- isAutomaticTranslationProgressUIEnabled: z.boolean(),
336
- isSupportedLanguagesChildLocalesUIEnabled: z.boolean(),
337
- });
338
- const Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse =
339
- z.object({
340
- isFeatureEnabledOnUI: z.boolean(),
341
- reportRequestPollingIntervalSeconds: z.number().int(),
342
- minimumDateTimeForAnalyticsReport: z.string().datetime({ offset: true }),
343
- });
344
- const Roblox_GameInternationalization_Api_GetUiConfigurationsResponse =
345
- z.object({
346
- isGameProductsEnabled: z.boolean(),
347
- isBadgeIconEnabled: z.boolean(),
348
- isGamePassEnabled: z.boolean(),
349
- isDeveloperProductEnabled: z.boolean(),
350
- });
351
- const Roblox_GameInternationalization_Api_Models_Response_GetPlayerChoiceUniverseSettingsResponse =
352
- z.object({ IsPlayerChoiceEnabled: z.boolean() });
353
- const Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue =
354
- z.object({
355
- settingType: z.enum([
356
- "LanguageFamily",
357
- "SupportedLocale",
358
- "SourceOrTranslation",
359
- ]),
360
- settingTargetId: z.number().int(),
361
- settingTargetCode: z.string(),
362
- });
363
- const Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse =
364
- z.object({
365
- userUniverseLocalizationSettingValue:
366
- Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
367
- });
368
- const Roblox_GameInternationalization_Api_Models_Request_SetUserLocalizationSettingsRequest =
369
- z.object({
370
- settingValue:
371
- Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
372
- });
373
- const Roblox_GameInternationalization_Api_Models_Response_SetUserLocalizationSettingsResponse =
374
- z.object({});
375
- const Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse =
376
- z.object({
377
- isAutolocalizationEnabled: z.boolean(),
378
- shouldUseLocalizationTable: z.boolean(),
379
- autoLocalizationTableId: z.string().uuid(),
380
- assetId: z.number().int(),
381
- });
382
- const Roblox_GameInternationalization_Api_SetAutolocalizationTableForGameRequest =
383
- z.object({ tableId: z.string().uuid() });
259
+ data: z.array(Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings),
260
+ });
261
+ const Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse = z.object({
262
+ isFeatureEnabled: z.boolean(),
263
+ areAllLanguagesEnabled: z.boolean(),
264
+ minimumUniverseIdForFeature: z.number().int(),
265
+ isHumanTranslationProgressUIEnabled: z.boolean(),
266
+ isAutomaticTranslationProgressUIEnabled: z.boolean(),
267
+ isSupportedLanguagesChildLocalesUIEnabled: z.boolean(),
268
+ });
269
+ const Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse = z.object({
270
+ isFeatureEnabledOnUI: z.boolean(),
271
+ reportRequestPollingIntervalSeconds: z.number().int(),
272
+ minimumDateTimeForAnalyticsReport: z.string().datetime({ offset: true }),
273
+ });
274
+ const Roblox_GameInternationalization_Api_GetUiConfigurationsResponse = z.object({
275
+ isGameProductsEnabled: z.boolean(),
276
+ isBadgeIconEnabled: z.boolean(),
277
+ isGamePassEnabled: z.boolean(),
278
+ isDeveloperProductEnabled: z.boolean(),
279
+ });
280
+ const Roblox_GameInternationalization_Api_Models_Response_GetPlayerChoiceUniverseSettingsResponse = z.object({
281
+ IsPlayerChoiceEnabled: z.boolean(),
282
+ });
283
+ const Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue = z.object({
284
+ settingType: z.enum(['LanguageFamily', 'SupportedLocale', 'SourceOrTranslation']),
285
+ settingTargetId: z.number().int(),
286
+ settingTargetCode: z.string(),
287
+ });
288
+ const Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse = z.object({
289
+ userUniverseLocalizationSettingValue: Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
290
+ });
291
+ const Roblox_GameInternationalization_Api_Models_Request_SetUserLocalizationSettingsRequest = z.object({
292
+ settingValue: Roblox_GameLocalization_Client_UserUniverseLocalizationSettingValue,
293
+ });
294
+ const Roblox_GameInternationalization_Api_Models_Response_SetUserLocalizationSettingsResponse = z.object({});
295
+ const Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse = z.object({
296
+ isAutolocalizationEnabled: z.boolean(),
297
+ shouldUseLocalizationTable: z.boolean(),
298
+ autoLocalizationTableId: z.string().uuid(),
299
+ assetId: z.number().int(),
300
+ });
301
+ const Roblox_GameInternationalization_Api_SetAutolocalizationTableForGameRequest = z.object({
302
+ tableId: z.string().uuid(),
303
+ });
384
304
  const languagecodes_languageCode_body = z.object({ Files: z.instanceof(File) });
385
305
  const languagecodes_languageCode_body_1 = z.object({
386
306
  Files: z.instanceof(File),
@@ -391,155 +311,155 @@ const languagecodes_languageCode_body_2 = z.object({
391
311
  const languagecodes_languageCode_body_3 = z.object({
392
312
  Files: z.instanceof(File),
393
313
  });
394
- const Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest =
395
- z.object({ thumbnailId: z.number().int(), altText: z.string() });
314
+ const Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest = z.object({
315
+ thumbnailId: z.number().int(),
316
+ altText: z.string(),
317
+ });
396
318
  const languageCode_image_body = z.object({ Files: z.instanceof(File) });
397
- const Roblox_GameInternationalization_Api_Models_Response_UploadImageForGameThumbnailResponse =
398
- z.object({ mediaAssetId: z.string() });
319
+ const Roblox_GameInternationalization_Api_Models_Response_UploadImageForGameThumbnailResponse = z.object({
320
+ mediaAssetId: z.string(),
321
+ });
399
322
  const Roblox_GameInternationalization_Api_SortImageIdsRequest = z.object({
400
323
  mediaAssetIds: z.array(z.number()),
401
324
  });
402
- const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request =
403
- z.object({
404
- contentId: z.number().int(),
405
- contentType: z.enum([
406
- "UniverseDisplayNames",
407
- "UniverseDisplayDescriptions",
408
- "BadgeDisplayName",
409
- "BadgeDisplayDescription",
410
- "DeveloperProductDisplayName",
411
- "DeveloperProductDisplayDescription",
412
- "GamePassDisplayName",
413
- "GamePassDisplayDescription",
414
- ]),
415
- languageCode: z.string(),
416
- cursor: z.string(),
417
- count: z.number().int(),
418
- sortOrder: z.enum(["Asc", "Desc"]),
419
- });
325
+ const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request = z.object({
326
+ contentId: z.number().int(),
327
+ contentType: z.enum([
328
+ 'UniverseDisplayNames',
329
+ 'UniverseDisplayDescriptions',
330
+ 'BadgeDisplayName',
331
+ 'BadgeDisplayDescription',
332
+ 'DeveloperProductDisplayName',
333
+ 'DeveloperProductDisplayDescription',
334
+ 'GamePassDisplayName',
335
+ 'GamePassDisplayDescription',
336
+ ]),
337
+ languageCode: z.string(),
338
+ cursor: z.string(),
339
+ count: z.number().int(),
340
+ sortOrder: z.enum(['Asc', 'Desc']),
341
+ });
420
342
  const Roblox_GameInternationalization_Api_Translator = z.object({
421
343
  id: z.number().int(),
422
- agentType: z.enum(["User", "Automation"]),
344
+ agentType: z.enum(['User', 'Automation']),
423
345
  });
424
346
  const Roblox_GameInternationalization_Api_TranslationHistory = z.object({
425
347
  translationText: z.string(),
426
348
  translator: Roblox_GameInternationalization_Api_Translator,
427
349
  created: z.string().datetime({ offset: true }),
428
350
  });
429
- const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse =
430
- z.object({
431
- history: z.array(Roblox_GameInternationalization_Api_TranslationHistory),
432
- lastEvaluatedId: z.string(),
433
- });
434
- const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest =
435
- z.object({
436
- startDateTime: z.string().datetime({ offset: true }),
437
- endDateTime: z.string().datetime({ offset: true }),
438
- reportType: z.enum([
439
- "GameTranslationStatus",
440
- "GameTranslationStatusForTranslator",
441
- "GameTranslationStatusForTranslatorGroup",
442
- "Test",
443
- ]),
444
- reportSubjectTargetId: z.number().int(),
445
- });
446
- const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse =
447
- z.object({
448
- reportGenerationStatus: z.enum(["inProgress", "ready", "unavailable"]),
449
- });
450
- const Roblox_GameInternationalization_Api_SetAutolocalizationSettingsForGameRequest =
451
- z.object({
452
- isAutolocalizationEnabled: z.boolean(),
453
- shouldUseLocalizationTable: z.boolean(),
454
- });
455
- const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionRequest =
456
- z.object({ description: z.string() });
457
- const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionResponse =
458
- z.object({ description: z.string() });
459
- const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest =
460
- z.object({ name: z.string(), description: z.string() });
461
- const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse =
462
- z.object({ name: z.string(), description: z.string() });
351
+ const Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse = z.object({
352
+ history: z.array(Roblox_GameInternationalization_Api_TranslationHistory),
353
+ lastEvaluatedId: z.string(),
354
+ });
355
+ const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest = z.object({
356
+ startDateTime: z.string().datetime({ offset: true }),
357
+ endDateTime: z.string().datetime({ offset: true }),
358
+ reportType: z.enum([
359
+ 'GameTranslationStatus',
360
+ 'GameTranslationStatusForTranslator',
361
+ 'GameTranslationStatusForTranslatorGroup',
362
+ 'Test',
363
+ ]),
364
+ reportSubjectTargetId: z.number().int(),
365
+ });
366
+ const Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse = z.object({
367
+ reportGenerationStatus: z.enum(['inProgress', 'ready', 'unavailable']),
368
+ });
369
+ const Roblox_GameInternationalization_Api_SetAutolocalizationSettingsForGameRequest = z.object({
370
+ isAutolocalizationEnabled: z.boolean(),
371
+ shouldUseLocalizationTable: z.boolean(),
372
+ });
373
+ const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionRequest = z.object({ description: z.string() });
374
+ const Roblox_GameInternationalization_Api_UpdateBadgeDescriptionResponse = z.object({ description: z.string() });
375
+ const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest = z.object({
376
+ name: z.string(),
377
+ description: z.string(),
378
+ });
379
+ const Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse = z.object({
380
+ name: z.string(),
381
+ description: z.string(),
382
+ });
463
383
  const Roblox_GameInternationalization_Api_UpdateBadgeNameRequest = z.object({
464
384
  name: z.string(),
465
385
  });
466
386
  const Roblox_GameInternationalization_Api_UpdateBadgeNameResponse = z.object({
467
387
  name: z.string(),
468
388
  });
469
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionRequest =
470
- z.object({ description: z.string() });
471
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionResponse =
472
- z.object({ description: z.string() });
473
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest =
474
- z.object({ name: z.string(), description: z.string() });
475
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse =
476
- z.object({ name: z.string(), description: z.string() });
477
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameRequest =
478
- z.object({ name: z.string() });
479
- const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameResponse =
480
- z.object({ name: z.string() });
481
- const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionRequest =
482
- z.object({ description: z.string() });
483
- const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionResponse =
484
- z.object({ description: z.string() });
485
- const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest =
486
- z.object({ name: z.string(), description: z.string() });
487
- const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse =
488
- z.object({ name: z.string(), description: z.string() });
389
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionRequest = z.object({
390
+ description: z.string(),
391
+ });
392
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductDescriptionResponse = z.object({
393
+ description: z.string(),
394
+ });
395
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest = z.object({
396
+ name: z.string(),
397
+ description: z.string(),
398
+ });
399
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse = z.object({
400
+ name: z.string(),
401
+ description: z.string(),
402
+ });
403
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameRequest = z.object({ name: z.string() });
404
+ const Roblox_GameInternationalization_Api_UpdateDeveloperProductNameResponse = z.object({ name: z.string() });
405
+ const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionRequest = z.object({ description: z.string() });
406
+ const Roblox_GameInternationalization_Api_UpdateGamePassDescriptionResponse = z.object({ description: z.string() });
407
+ const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest = z.object({
408
+ name: z.string(),
409
+ description: z.string(),
410
+ });
411
+ const Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse = z.object({
412
+ name: z.string(),
413
+ description: z.string(),
414
+ });
489
415
  const Roblox_GameInternationalization_Api_UpdateGamePassNameRequest = z.object({
490
416
  name: z.string(),
491
417
  });
492
- const Roblox_GameInternationalization_Api_UpdateGamePassNameResponse = z.object(
493
- { name: z.string() }
494
- );
495
- const Roblox_GameInternationalization_Api_LocalizationTableGameAssociation =
496
- z.object({ id: z.string().uuid(), dissociate: z.boolean() });
497
- const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameRequest =
498
- z.object({
499
- tables: z.array(
500
- Roblox_GameInternationalization_Api_LocalizationTableGameAssociation
501
- ),
502
- });
503
- const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameResponse =
504
- z.object({ success: z.boolean() });
505
- const Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse =
506
- z.object({
507
- gameId: z.number().int(),
508
- languageCode: z.string(),
509
- isAutomaticTranslationEnabled: z.boolean(),
510
- });
511
- const Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse =
512
- z.object({
513
- gameId: z.number().int(),
514
- languageCode: z.string(),
515
- isImageTranslationEnabled: z.boolean(),
516
- });
517
- const Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse =
518
- z.object({
519
- gameId: z.number().int(),
520
- languageCode: z.string(),
521
- isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
522
- });
418
+ const Roblox_GameInternationalization_Api_UpdateGamePassNameResponse = z.object({ name: z.string() });
419
+ const Roblox_GameInternationalization_Api_LocalizationTableGameAssociation = z.object({
420
+ id: z.string().uuid(),
421
+ dissociate: z.boolean(),
422
+ });
423
+ const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameRequest = z.object({
424
+ tables: z.array(Roblox_GameInternationalization_Api_LocalizationTableGameAssociation),
425
+ });
426
+ const Roblox_GameInternationalization_Api_AssociateLocalizationTablesToGameResponse = z.object({
427
+ success: z.boolean(),
428
+ });
429
+ const Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse = z.object({
430
+ gameId: z.number().int(),
431
+ languageCode: z.string(),
432
+ isAutomaticTranslationEnabled: z.boolean(),
433
+ });
434
+ const Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse = z.object({
435
+ gameId: z.number().int(),
436
+ languageCode: z.string(),
437
+ isImageTranslationEnabled: z.boolean(),
438
+ });
439
+ const Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse = z.object({
440
+ gameId: z.number().int(),
441
+ languageCode: z.string(),
442
+ isUniverseDisplayInfoAutomaticTranslationEnabled: z.boolean(),
443
+ });
523
444
 
524
445
  /**
525
446
  * @api POST https://gameinternationalization.roblox.com/v1/autolocalization/games/:gameId/autolocalizationtable
526
447
  * @param gameId
527
448
  */
528
449
  export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
529
- method: "POST",
530
- path: "/v1/autolocalization/games/:gameId/autolocalizationtable",
531
- baseUrl: "https://gameinternationalization.roblox.com",
532
- requestFormat: "json",
450
+ method: 'POST',
451
+ path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
452
+ baseUrl: 'https://gameinternationalization.roblox.com',
453
+ requestFormat: 'json',
533
454
  serializationMethod: {
534
455
  gameId: {
535
- style: "simple",
456
+ style: 'simple',
536
457
  },
537
458
  },
538
459
  parameters: {
539
460
  gameId: z.number().int(),
540
461
  },
541
- response:
542
- Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse,
462
+ response: Roblox_GameInternationalization_Api_GameAutolocalizationInformationResponse,
543
463
  errors: [
544
464
  {
545
465
  status: 401,
@@ -557,14 +477,14 @@ export const postAutolocalizationGamesGameidAutolocalizationtable = endpoint({
557
477
  * @param gameId
558
478
  */
559
479
  export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
560
- method: "PATCH",
561
- path: "/v1/autolocalization/games/:gameId/autolocalizationtable",
562
- baseUrl: "https://gameinternationalization.roblox.com",
563
- requestFormat: "json",
480
+ method: 'PATCH',
481
+ path: '/v1/autolocalization/games/:gameId/autolocalizationtable',
482
+ baseUrl: 'https://gameinternationalization.roblox.com',
483
+ requestFormat: 'json',
564
484
  serializationMethod: {
565
485
  body: {},
566
486
  gameId: {
567
- style: "simple",
487
+ style: 'simple',
568
488
  },
569
489
  },
570
490
  parameters: {
@@ -590,14 +510,14 @@ export const patchAutolocalizationGamesGameidAutolocalizationtable = endpoint({
590
510
  * @param gameId The id of the game.
591
511
  */
592
512
  export const patchAutolocalizationGamesGameidSettings = endpoint({
593
- method: "PATCH",
594
- path: "/v1/autolocalization/games/:gameId/settings",
595
- baseUrl: "https://gameinternationalization.roblox.com",
596
- requestFormat: "json",
513
+ method: 'PATCH',
514
+ path: '/v1/autolocalization/games/:gameId/settings',
515
+ baseUrl: 'https://gameinternationalization.roblox.com',
516
+ requestFormat: 'json',
597
517
  serializationMethod: {
598
518
  body: {},
599
519
  gameId: {
600
- style: "simple",
520
+ style: 'simple',
601
521
  },
602
522
  },
603
523
  parameters: {
@@ -630,12 +550,11 @@ export const patchAutolocalizationGamesGameidSettings = endpoint({
630
550
  * @summary Metadata for AutoLocalization Configuration
631
551
  */
632
552
  export const getAutolocalizationMetadata = endpoint({
633
- method: "GET",
634
- path: "/v1/autolocalization/metadata",
635
- baseUrl: "https://gameinternationalization.roblox.com",
636
- requestFormat: "json",
637
- response:
638
- Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse,
553
+ method: 'GET',
554
+ path: '/v1/autolocalization/metadata',
555
+ baseUrl: 'https://gameinternationalization.roblox.com',
556
+ requestFormat: 'json',
557
+ response: Roblox_GameInternationalization_Api_AutoLocalizationMetadataResponse,
639
558
  errors: [
640
559
  {
641
560
  status: 401,
@@ -650,20 +569,19 @@ The user must still have proper permissions for the game to get this info.
650
569
  * @param gameId The game id.
651
570
  */
652
571
  export const getAutomaticTranslationGamesGameidFeatureStatus = endpoint({
653
- method: "GET",
654
- path: "/v1/automatic-translation/games/:gameId/feature-status",
655
- baseUrl: "https://gameinternationalization.roblox.com",
656
- requestFormat: "json",
572
+ method: 'GET',
573
+ path: '/v1/automatic-translation/games/:gameId/feature-status',
574
+ baseUrl: 'https://gameinternationalization.roblox.com',
575
+ requestFormat: 'json',
657
576
  serializationMethod: {
658
577
  gameId: {
659
- style: "simple",
578
+ style: 'simple',
660
579
  },
661
580
  },
662
581
  parameters: {
663
582
  gameId: z.number().int(),
664
583
  },
665
- response:
666
- Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse,
584
+ response: Roblox_GameInternationalization_Api_GetAutomaticTranslationFeatureStatusForGameResponse,
667
585
  errors: [
668
586
  {
669
587
  status: 401,
@@ -686,20 +604,19 @@ The user must still have proper permissions for the game to get this info.
686
604
  * @param gameId The game id.
687
605
  */
688
606
  export const getAutomaticTranslationGamesGameidQuota = endpoint({
689
- method: "GET",
690
- path: "/v1/automatic-translation/games/:gameId/quota",
691
- baseUrl: "https://gameinternationalization.roblox.com",
692
- requestFormat: "json",
607
+ method: 'GET',
608
+ path: '/v1/automatic-translation/games/:gameId/quota',
609
+ baseUrl: 'https://gameinternationalization.roblox.com',
610
+ requestFormat: 'json',
693
611
  serializationMethod: {
694
612
  gameId: {
695
- style: "simple",
613
+ style: 'simple',
696
614
  },
697
615
  },
698
616
  parameters: {
699
617
  gameId: z.number().int(),
700
618
  },
701
- response:
702
- Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse,
619
+ response: Roblox_GameInternationalization_Api_GetAutomaticTranslationQuotaForGameResponse,
703
620
  errors: [
704
621
  {
705
622
  status: 400,
@@ -727,44 +644,42 @@ If there are no requested target languages, then all allowed target languages fo
727
644
  * @param targetLanguages Optional target languages. If not passed in, all allowed target languages for the source language will be returned.
728
645
  * @param gameId Optional gameId. If not passed in, we'll return the default list of languages allowed.
729
646
  */
730
- export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages =
731
- endpoint({
732
- method: "GET",
733
- path: "/v1/automatic-translation/languages/:languageCode/target-languages",
734
- baseUrl: "https://gameinternationalization.roblox.com",
735
- requestFormat: "json",
736
- serializationMethod: {
737
- languageCode: {
738
- style: "simple",
739
- },
740
- targetLanguages: {
741
- style: "form",
742
- explode: true,
743
- },
744
- gameId: {
745
- style: "form",
746
- explode: true,
747
- },
647
+ export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages = endpoint({
648
+ method: 'GET',
649
+ path: '/v1/automatic-translation/languages/:languageCode/target-languages',
650
+ baseUrl: 'https://gameinternationalization.roblox.com',
651
+ requestFormat: 'json',
652
+ serializationMethod: {
653
+ languageCode: {
654
+ style: 'simple',
748
655
  },
749
- parameters: {
750
- languageCode: z.string(),
751
- targetLanguages: z.array(z.string()).optional(),
752
- gameId: z.number().int().optional(),
656
+ targetLanguages: {
657
+ style: 'form',
658
+ explode: true,
753
659
  },
754
- response:
755
- Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse,
756
- errors: [
757
- {
758
- status: 400,
759
- description: `73: Maximum languages exceeded. Please keep the number of languages per request below the maximum.
660
+ gameId: {
661
+ style: 'form',
662
+ explode: true,
663
+ },
664
+ },
665
+ parameters: {
666
+ languageCode: z.string(),
667
+ targetLanguages: z.array(z.string()).optional(),
668
+ gameId: z.number().int().optional(),
669
+ },
670
+ response: Roblox_GameInternationalization_Api_GetAllowedAutomaticTranslationStatusForLanguagesResponse,
671
+ errors: [
672
+ {
673
+ status: 400,
674
+ description: `73: Maximum languages exceeded. Please keep the number of languages per request below the maximum.
760
675
  74: A target language cannot be null or whitespace.`,
761
- },
762
- {
763
- status: 503,
764
- description: `17: Feature is disabled`,
765
- },
766
- ],
767
- });
676
+ },
677
+ {
678
+ status: 503,
679
+ description: `17: Feature is disabled`,
680
+ },
681
+ ],
682
+ });
768
683
  /**
769
684
  * @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/description/language-codes/:languageCode
770
685
  * @summary Update localized description of a badge
@@ -773,17 +688,17 @@ export const getAutomaticTranslationLanguagesLanguagecodeTargetLanguages =
773
688
  * @param languageCode The language code of the description to update
774
689
  */
775
690
  export const patchBadgesBadgeidDescriptionLanguageCodesLanguagecode = endpoint({
776
- method: "PATCH",
777
- path: "/v1/badges/:badgeId/description/language-codes/:languageCode",
778
- baseUrl: "https://gameinternationalization.roblox.com",
779
- requestFormat: "json",
691
+ method: 'PATCH',
692
+ path: '/v1/badges/:badgeId/description/language-codes/:languageCode',
693
+ baseUrl: 'https://gameinternationalization.roblox.com',
694
+ requestFormat: 'json',
780
695
  serializationMethod: {
781
696
  body: {},
782
697
  badgeId: {
783
- style: "simple",
698
+ style: 'simple',
784
699
  },
785
700
  languageCode: {
786
- style: "simple",
701
+ style: 'simple',
787
702
  },
788
703
  },
789
704
  parameters: {
@@ -830,20 +745,20 @@ export const patchBadgesBadgeidDescriptionLanguageCodesLanguagecode = endpoint({
830
745
  * @param height The height of the icon to request
831
746
  */
832
747
  export const getBadgesBadgeidIcons = endpoint({
833
- method: "GET",
834
- path: "/v1/badges/:badgeId/icons",
835
- baseUrl: "https://gameinternationalization.roblox.com",
836
- requestFormat: "json",
748
+ method: 'GET',
749
+ path: '/v1/badges/:badgeId/icons',
750
+ baseUrl: 'https://gameinternationalization.roblox.com',
751
+ requestFormat: 'json',
837
752
  serializationMethod: {
838
753
  badgeId: {
839
- style: "simple",
754
+ style: 'simple',
840
755
  },
841
756
  width: {
842
- style: "form",
757
+ style: 'form',
843
758
  explode: true,
844
759
  },
845
760
  height: {
846
- style: "form",
761
+ style: 'form',
847
762
  explode: true,
848
763
  },
849
764
  },
@@ -852,8 +767,7 @@ export const getBadgesBadgeidIcons = endpoint({
852
767
  width: z.number().int().optional().default(150),
853
768
  height: z.number().int().optional().default(150),
854
769
  },
855
- response:
856
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_,
770
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetBadgeIconResponse_,
857
771
  errors: [
858
772
  {
859
773
  status: 400,
@@ -882,17 +796,17 @@ export const getBadgesBadgeidIcons = endpoint({
882
796
  * @param languageCode The language code of this icon to update
883
797
  */
884
798
  export const postBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
885
- method: "POST",
886
- path: "/v1/badges/:badgeId/icons/language-codes/:languageCode",
887
- baseUrl: "https://gameinternationalization.roblox.com",
888
- requestFormat: "form-data",
799
+ method: 'POST',
800
+ path: '/v1/badges/:badgeId/icons/language-codes/:languageCode',
801
+ baseUrl: 'https://gameinternationalization.roblox.com',
802
+ requestFormat: 'form-data',
889
803
  serializationMethod: {
890
804
  body: {},
891
805
  badgeId: {
892
- style: "simple",
806
+ style: 'simple',
893
807
  },
894
808
  languageCode: {
895
- style: "simple",
809
+ style: 'simple',
896
810
  },
897
811
  },
898
812
  parameters: {
@@ -941,16 +855,16 @@ export const postBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
941
855
  * @param languageCode The language code of the localized icon to delete
942
856
  */
943
857
  export const deleteBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
944
- method: "DELETE",
945
- path: "/v1/badges/:badgeId/icons/language-codes/:languageCode",
946
- baseUrl: "https://gameinternationalization.roblox.com",
947
- requestFormat: "json",
858
+ method: 'DELETE',
859
+ path: '/v1/badges/:badgeId/icons/language-codes/:languageCode',
860
+ baseUrl: 'https://gameinternationalization.roblox.com',
861
+ requestFormat: 'json',
948
862
  serializationMethod: {
949
863
  badgeId: {
950
- style: "simple",
864
+ style: 'simple',
951
865
  },
952
866
  languageCode: {
953
- style: "simple",
867
+ style: 'simple',
954
868
  },
955
869
  },
956
870
  parameters: {
@@ -990,20 +904,19 @@ export const deleteBadgesBadgeidIconsLanguageCodesLanguagecode = endpoint({
990
904
  * @param badgeId
991
905
  */
992
906
  export const getBadgesBadgeidNameDescription = endpoint({
993
- method: "GET",
994
- path: "/v1/badges/:badgeId/name-description",
995
- baseUrl: "https://gameinternationalization.roblox.com",
996
- requestFormat: "json",
907
+ method: 'GET',
908
+ path: '/v1/badges/:badgeId/name-description',
909
+ baseUrl: 'https://gameinternationalization.roblox.com',
910
+ requestFormat: 'json',
997
911
  serializationMethod: {
998
912
  badgeId: {
999
- style: "simple",
913
+ style: 'simple',
1000
914
  },
1001
915
  },
1002
916
  parameters: {
1003
917
  badgeId: z.number().int(),
1004
918
  },
1005
- response:
1006
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
919
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
1007
920
  errors: [
1008
921
  {
1009
922
  status: 400,
@@ -1025,52 +938,51 @@ export const getBadgesBadgeidNameDescription = endpoint({
1025
938
  * @param badgeId The badge id
1026
939
  * @param languageCode The language code of the name and description to delete
1027
940
  */
1028
- export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
1029
- endpoint({
1030
- method: "DELETE",
1031
- path: "/v1/badges/:badgeId/name-description/language-codes/:languageCode",
1032
- baseUrl: "https://gameinternationalization.roblox.com",
1033
- requestFormat: "json",
1034
- serializationMethod: {
1035
- badgeId: {
1036
- style: "simple",
1037
- },
1038
- languageCode: {
1039
- style: "simple",
1040
- },
941
+ export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode = endpoint({
942
+ method: 'DELETE',
943
+ path: '/v1/badges/:badgeId/name-description/language-codes/:languageCode',
944
+ baseUrl: 'https://gameinternationalization.roblox.com',
945
+ requestFormat: 'json',
946
+ serializationMethod: {
947
+ badgeId: {
948
+ style: 'simple',
1041
949
  },
1042
- parameters: {
1043
- badgeId: z.number().int(),
1044
- languageCode: z.string(),
950
+ languageCode: {
951
+ style: 'simple',
1045
952
  },
1046
- response: z.object({}),
1047
- errors: [
1048
- {
1049
- status: 400,
1050
- description: `22: Invalid language code
953
+ },
954
+ parameters: {
955
+ badgeId: z.number().int(),
956
+ languageCode: z.string(),
957
+ },
958
+ response: z.object({}),
959
+ errors: [
960
+ {
961
+ status: 400,
962
+ description: `22: Invalid language code
1051
963
  23: You can't delete translations for source language
1052
964
  53: Language is not supported for the game.
1053
965
  62: Invalid game badge id`,
1054
- },
1055
- {
1056
- status: 401,
1057
- description: `0: Authorization has been denied for this request.`,
1058
- },
1059
- {
1060
- status: 403,
1061
- description: `0: Token Validation Failed
966
+ },
967
+ {
968
+ status: 401,
969
+ description: `0: Authorization has been denied for this request.`,
970
+ },
971
+ {
972
+ status: 403,
973
+ description: `0: Token Validation Failed
1062
974
  18: You do not have permission to manage this game`,
1063
- },
1064
- {
1065
- status: 500,
1066
- description: `0: An unknown error occurred.`,
1067
- },
1068
- {
1069
- status: 503,
1070
- description: `17: Feature is disabled`,
1071
- },
1072
- ],
1073
- });
975
+ },
976
+ {
977
+ status: 500,
978
+ description: `0: An unknown error occurred.`,
979
+ },
980
+ {
981
+ status: 503,
982
+ description: `17: Feature is disabled`,
983
+ },
984
+ ],
985
+ });
1074
986
  /**
1075
987
  * @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/name-description/language-codes/:languageCode
1076
988
  * @summary Update localized name and description of a badge
@@ -1078,58 +990,56 @@ export const deleteBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
1078
990
  * @param badgeId The badge id
1079
991
  * @param languageCode The language code of the name and description to Update
1080
992
  */
1081
- export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
1082
- endpoint({
1083
- method: "PATCH",
1084
- path: "/v1/badges/:badgeId/name-description/language-codes/:languageCode",
1085
- baseUrl: "https://gameinternationalization.roblox.com",
1086
- requestFormat: "json",
1087
- serializationMethod: {
1088
- body: {},
1089
- badgeId: {
1090
- style: "simple",
1091
- },
1092
- languageCode: {
1093
- style: "simple",
1094
- },
993
+ export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode = endpoint({
994
+ method: 'PATCH',
995
+ path: '/v1/badges/:badgeId/name-description/language-codes/:languageCode',
996
+ baseUrl: 'https://gameinternationalization.roblox.com',
997
+ requestFormat: 'json',
998
+ serializationMethod: {
999
+ body: {},
1000
+ badgeId: {
1001
+ style: 'simple',
1095
1002
  },
1096
- parameters: {
1097
- badgeId: z.number().int(),
1098
- languageCode: z.string(),
1003
+ languageCode: {
1004
+ style: 'simple',
1099
1005
  },
1100
- body: Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest,
1101
- response:
1102
- Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse,
1103
- errors: [
1104
- {
1105
- status: 400,
1106
- description: `13: Request body can't be null
1006
+ },
1007
+ parameters: {
1008
+ badgeId: z.number().int(),
1009
+ languageCode: z.string(),
1010
+ },
1011
+ body: Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionRequest,
1012
+ response: Roblox_GameInternationalization_Api_UpdateBadgeNameDescriptionResponse,
1013
+ errors: [
1014
+ {
1015
+ status: 400,
1016
+ description: `13: Request body can't be null
1107
1017
  19: New name is null or whitespaces or new name/description is too long
1108
1018
  20: New name or description is moderated
1109
1019
  22: Invalid language code
1110
1020
  26: You can't update translations for source language
1111
1021
  53: Language is not supported for the game.
1112
1022
  62: Invalid game badge id`,
1113
- },
1114
- {
1115
- status: 401,
1116
- description: `0: Authorization has been denied for this request.`,
1117
- },
1118
- {
1119
- status: 403,
1120
- description: `0: Token Validation Failed
1023
+ },
1024
+ {
1025
+ status: 401,
1026
+ description: `0: Authorization has been denied for this request.`,
1027
+ },
1028
+ {
1029
+ status: 403,
1030
+ description: `0: Token Validation Failed
1121
1031
  18: You do not have permission to manage this game`,
1122
- },
1123
- {
1124
- status: 500,
1125
- description: `0: An unknown error occurred.`,
1126
- },
1127
- {
1128
- status: 503,
1129
- description: `17: Feature is disabled`,
1130
- },
1131
- ],
1132
- });
1032
+ },
1033
+ {
1034
+ status: 500,
1035
+ description: `0: An unknown error occurred.`,
1036
+ },
1037
+ {
1038
+ status: 503,
1039
+ description: `17: Feature is disabled`,
1040
+ },
1041
+ ],
1042
+ });
1133
1043
  /**
1134
1044
  * @api PATCH https://gameinternationalization.roblox.com/v1/badges/:badgeId/name/language-codes/:languageCode
1135
1045
  * @summary Update localized name of a badge
@@ -1138,17 +1048,17 @@ export const patchBadgesBadgeidNameDescriptionLanguageCodesLanguagecode =
1138
1048
  * @param languageCode The language code of the name to update
1139
1049
  */
1140
1050
  export const patchBadgesBadgeidNameLanguageCodesLanguagecode = endpoint({
1141
- method: "PATCH",
1142
- path: "/v1/badges/:badgeId/name/language-codes/:languageCode",
1143
- baseUrl: "https://gameinternationalization.roblox.com",
1144
- requestFormat: "json",
1051
+ method: 'PATCH',
1052
+ path: '/v1/badges/:badgeId/name/language-codes/:languageCode',
1053
+ baseUrl: 'https://gameinternationalization.roblox.com',
1054
+ requestFormat: 'json',
1145
1055
  serializationMethod: {
1146
1056
  body: {},
1147
1057
  badgeId: {
1148
- style: "simple",
1058
+ style: 'simple',
1149
1059
  },
1150
1060
  languageCode: {
1151
- style: "simple",
1061
+ style: 'simple',
1152
1062
  },
1153
1063
  },
1154
1064
  parameters: {
@@ -1194,57 +1104,56 @@ export const patchBadgesBadgeidNameLanguageCodesLanguagecode = endpoint({
1194
1104
  * @param developerProductId The developer product id
1195
1105
  * @param languageCode The language code of the description to update
1196
1106
  */
1197
- export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLanguagecode =
1198
- endpoint({
1199
- method: "PATCH",
1200
- path: "/v1/developer-products/:developerProductId/description/language-codes/:languageCode",
1201
- baseUrl: "https://gameinternationalization.roblox.com",
1202
- requestFormat: "json",
1203
- serializationMethod: {
1204
- body: {},
1205
- developerProductId: {
1206
- style: "simple",
1207
- },
1208
- languageCode: {
1209
- style: "simple",
1210
- },
1107
+ export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLanguagecode = endpoint({
1108
+ method: 'PATCH',
1109
+ path: '/v1/developer-products/:developerProductId/description/language-codes/:languageCode',
1110
+ baseUrl: 'https://gameinternationalization.roblox.com',
1111
+ requestFormat: 'json',
1112
+ serializationMethod: {
1113
+ body: {},
1114
+ developerProductId: {
1115
+ style: 'simple',
1211
1116
  },
1212
- parameters: {
1213
- developerProductId: z.number().int(),
1214
- languageCode: z.string(),
1117
+ languageCode: {
1118
+ style: 'simple',
1215
1119
  },
1216
- body: z.object({ description: z.string() }),
1217
- response: z.object({ description: z.string() }),
1218
- errors: [
1219
- {
1220
- status: 400,
1221
- description: `13: Request body can't be null
1120
+ },
1121
+ parameters: {
1122
+ developerProductId: z.number().int(),
1123
+ languageCode: z.string(),
1124
+ },
1125
+ body: z.object({ description: z.string() }),
1126
+ response: z.object({ description: z.string() }),
1127
+ errors: [
1128
+ {
1129
+ status: 400,
1130
+ description: `13: Request body can't be null
1222
1131
  19: New name is null or whitespaces or new name/description is too long
1223
1132
  20: New name or description is moderated
1224
1133
  22: Invalid language code
1225
1134
  26: You can't update translations for source language
1226
1135
  53: Language is not supported for the game.
1227
1136
  70: Invalid developer product id`,
1228
- },
1229
- {
1230
- status: 401,
1231
- description: `0: Authorization has been denied for this request.`,
1232
- },
1233
- {
1234
- status: 403,
1235
- description: `0: Token Validation Failed
1137
+ },
1138
+ {
1139
+ status: 401,
1140
+ description: `0: Authorization has been denied for this request.`,
1141
+ },
1142
+ {
1143
+ status: 403,
1144
+ description: `0: Token Validation Failed
1236
1145
  18: You do not have permission to manage this game`,
1237
- },
1238
- {
1239
- status: 500,
1240
- description: `0: An unknown error occurred.`,
1241
- },
1242
- {
1243
- status: 503,
1244
- description: `17: Feature is disabled`,
1245
- },
1246
- ],
1247
- });
1146
+ },
1147
+ {
1148
+ status: 500,
1149
+ description: `0: An unknown error occurred.`,
1150
+ },
1151
+ {
1152
+ status: 503,
1153
+ description: `17: Feature is disabled`,
1154
+ },
1155
+ ],
1156
+ });
1248
1157
  /**
1249
1158
  * @api GET https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/icons
1250
1159
  * @summary Get all icons for a developer product
@@ -1253,20 +1162,20 @@ export const patchDeveloperProductsDeveloperproductidDescriptionLanguageCodesLan
1253
1162
  * @param height The height of the icon to request
1254
1163
  */
1255
1164
  export const getDeveloperProductsDeveloperproductidIcons = endpoint({
1256
- method: "GET",
1257
- path: "/v1/developer-products/:developerProductId/icons",
1258
- baseUrl: "https://gameinternationalization.roblox.com",
1259
- requestFormat: "json",
1165
+ method: 'GET',
1166
+ path: '/v1/developer-products/:developerProductId/icons',
1167
+ baseUrl: 'https://gameinternationalization.roblox.com',
1168
+ requestFormat: 'json',
1260
1169
  serializationMethod: {
1261
1170
  developerProductId: {
1262
- style: "simple",
1171
+ style: 'simple',
1263
1172
  },
1264
1173
  width: {
1265
- style: "form",
1174
+ style: 'form',
1266
1175
  explode: true,
1267
1176
  },
1268
1177
  height: {
1269
- style: "form",
1178
+ style: 'form',
1270
1179
  explode: true,
1271
1180
  },
1272
1181
  },
@@ -1304,199 +1213,195 @@ export const getDeveloperProductsDeveloperproductidIcons = endpoint({
1304
1213
  * @param developerProductId The id of the developer product
1305
1214
  * @param languageCode The language code of this icon to update
1306
1215
  */
1307
- export const postDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode =
1308
- endpoint({
1309
- method: "POST",
1310
- path: "/v1/developer-products/:developerProductId/icons/language-codes/:languageCode",
1311
- baseUrl: "https://gameinternationalization.roblox.com",
1312
- requestFormat: "form-data",
1313
- serializationMethod: {
1314
- body: {},
1315
- developerProductId: {
1316
- style: "simple",
1317
- },
1318
- languageCode: {
1319
- style: "simple",
1320
- },
1216
+ export const postDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode = endpoint({
1217
+ method: 'POST',
1218
+ path: '/v1/developer-products/:developerProductId/icons/language-codes/:languageCode',
1219
+ baseUrl: 'https://gameinternationalization.roblox.com',
1220
+ requestFormat: 'form-data',
1221
+ serializationMethod: {
1222
+ body: {},
1223
+ developerProductId: {
1224
+ style: 'simple',
1321
1225
  },
1322
- parameters: {
1323
- developerProductId: z.number().int(),
1324
- languageCode: z.string(),
1226
+ languageCode: {
1227
+ style: 'simple',
1325
1228
  },
1326
- body: z.object({ Files: z.instanceof(File) }),
1327
- response: z.object({}),
1328
- errors: [
1329
- {
1330
- status: 400,
1331
- description: `22: Invalid language code
1229
+ },
1230
+ parameters: {
1231
+ developerProductId: z.number().int(),
1232
+ languageCode: z.string(),
1233
+ },
1234
+ body: z.object({ Files: z.instanceof(File) }),
1235
+ response: z.object({}),
1236
+ errors: [
1237
+ {
1238
+ status: 400,
1239
+ description: `22: Invalid language code
1332
1240
  26: You can't update translations for source language
1333
1241
  45: File uploaded does not match known image format
1334
1242
  46: File not present in request
1335
1243
  53: Language is not supported for the game.
1336
1244
  70: Invalid developer product id`,
1337
- },
1338
- {
1339
- status: 401,
1340
- description: `0: Authorization has been denied for this request.`,
1341
- },
1342
- {
1343
- status: 403,
1344
- description: `0: Token Validation Failed
1245
+ },
1246
+ {
1247
+ status: 401,
1248
+ description: `0: Authorization has been denied for this request.`,
1249
+ },
1250
+ {
1251
+ status: 403,
1252
+ description: `0: Token Validation Failed
1345
1253
  18: You do not have permission to manage this game`,
1346
- },
1347
- {
1348
- status: 429,
1349
- description: `24: Too many attempts.Please try again later.`,
1350
- },
1351
- {
1352
- status: 500,
1353
- description: `0: An unknown error occurred.`,
1354
- },
1355
- {
1356
- status: 503,
1357
- description: `17: Feature is disabled`,
1358
- },
1359
- ],
1360
- });
1254
+ },
1255
+ {
1256
+ status: 429,
1257
+ description: `24: Too many attempts.Please try again later.`,
1258
+ },
1259
+ {
1260
+ status: 500,
1261
+ description: `0: An unknown error occurred.`,
1262
+ },
1263
+ {
1264
+ status: 503,
1265
+ description: `17: Feature is disabled`,
1266
+ },
1267
+ ],
1268
+ });
1361
1269
  /**
1362
1270
  * @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/icons/language-codes/:languageCode
1363
1271
  * @summary Delete a localized icon from a developer product
1364
1272
  * @param developerProductId The id of the developer product
1365
1273
  * @param languageCode The language code of the localized icon to delete
1366
1274
  */
1367
- export const deleteDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode =
1368
- endpoint({
1369
- method: "DELETE",
1370
- path: "/v1/developer-products/:developerProductId/icons/language-codes/:languageCode",
1371
- baseUrl: "https://gameinternationalization.roblox.com",
1372
- requestFormat: "json",
1373
- serializationMethod: {
1374
- developerProductId: {
1375
- style: "simple",
1376
- },
1377
- languageCode: {
1378
- style: "simple",
1379
- },
1275
+ export const deleteDeveloperProductsDeveloperproductidIconsLanguageCodesLanguagecode = endpoint({
1276
+ method: 'DELETE',
1277
+ path: '/v1/developer-products/:developerProductId/icons/language-codes/:languageCode',
1278
+ baseUrl: 'https://gameinternationalization.roblox.com',
1279
+ requestFormat: 'json',
1280
+ serializationMethod: {
1281
+ developerProductId: {
1282
+ style: 'simple',
1380
1283
  },
1381
- parameters: {
1382
- developerProductId: z.number().int(),
1383
- languageCode: z.string(),
1284
+ languageCode: {
1285
+ style: 'simple',
1384
1286
  },
1385
- response: z.object({}),
1386
- errors: [
1387
- {
1388
- status: 400,
1389
- description: `22: Invalid language code
1287
+ },
1288
+ parameters: {
1289
+ developerProductId: z.number().int(),
1290
+ languageCode: z.string(),
1291
+ },
1292
+ response: z.object({}),
1293
+ errors: [
1294
+ {
1295
+ status: 400,
1296
+ description: `22: Invalid language code
1390
1297
  23: You can't delete translations for source language
1391
1298
  53: Language is not supported for the game.
1392
1299
  70: Invalid developer product id`,
1393
- },
1394
- {
1395
- status: 401,
1396
- description: `0: Authorization has been denied for this request.`,
1397
- },
1398
- {
1399
- status: 403,
1400
- description: `0: Token Validation Failed
1300
+ },
1301
+ {
1302
+ status: 401,
1303
+ description: `0: Authorization has been denied for this request.`,
1304
+ },
1305
+ {
1306
+ status: 403,
1307
+ description: `0: Token Validation Failed
1401
1308
  18: You do not have permission to manage this game`,
1402
- },
1403
- {
1404
- status: 500,
1405
- description: `0: An unknown error occurred.`,
1406
- },
1407
- {
1408
- status: 503,
1409
- description: `17: Feature is disabled`,
1410
- },
1411
- ],
1412
- });
1309
+ },
1310
+ {
1311
+ status: 500,
1312
+ description: `0: An unknown error occurred.`,
1313
+ },
1314
+ {
1315
+ status: 503,
1316
+ description: `17: Feature is disabled`,
1317
+ },
1318
+ ],
1319
+ });
1413
1320
  /**
1414
1321
  * @api GET https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description
1415
1322
  * @summary Get all names and descriptions of a developer product
1416
1323
  * @param developerProductId The developer product Id
1417
1324
  */
1418
1325
  export const getDeveloperProductsDeveloperproductidNameDescription = endpoint({
1419
- method: "GET",
1420
- path: "/v1/developer-products/:developerProductId/name-description",
1421
- baseUrl: "https://gameinternationalization.roblox.com",
1422
- requestFormat: "json",
1326
+ method: 'GET',
1327
+ path: '/v1/developer-products/:developerProductId/name-description',
1328
+ baseUrl: 'https://gameinternationalization.roblox.com',
1329
+ requestFormat: 'json',
1330
+ serializationMethod: {
1331
+ developerProductId: {
1332
+ style: 'simple',
1333
+ },
1334
+ },
1335
+ parameters: {
1336
+ developerProductId: z.number().int(),
1337
+ },
1338
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
1339
+ errors: [
1340
+ {
1341
+ status: 400,
1342
+ description: `70: Invalid developer product id`,
1343
+ },
1344
+ {
1345
+ status: 401,
1346
+ description: `0: Authorization has been denied for this request.`,
1347
+ },
1348
+ {
1349
+ status: 503,
1350
+ description: `17: Feature is disabled`,
1351
+ },
1352
+ ],
1353
+ });
1354
+ /**
1355
+ * @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
1356
+ * @summary Delete localized name and description of a developer product
1357
+ * @param developerProductId The developer product id
1358
+ * @param languageCode The language code of the name and description to delete
1359
+ */
1360
+ export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode = endpoint({
1361
+ method: 'DELETE',
1362
+ path: '/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode',
1363
+ baseUrl: 'https://gameinternationalization.roblox.com',
1364
+ requestFormat: 'json',
1423
1365
  serializationMethod: {
1424
1366
  developerProductId: {
1425
- style: "simple",
1367
+ style: 'simple',
1368
+ },
1369
+ languageCode: {
1370
+ style: 'simple',
1426
1371
  },
1427
1372
  },
1428
1373
  parameters: {
1429
1374
  developerProductId: z.number().int(),
1375
+ languageCode: z.string(),
1430
1376
  },
1431
- response:
1432
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
1377
+ response: z.object({}),
1433
1378
  errors: [
1434
1379
  {
1435
1380
  status: 400,
1436
- description: `70: Invalid developer product id`,
1381
+ description: `22: Invalid language code
1382
+ 23: You can't delete translations for source language
1383
+ 53: Language is not supported for the game.
1384
+ 70: Invalid developer product id`,
1437
1385
  },
1438
1386
  {
1439
1387
  status: 401,
1440
1388
  description: `0: Authorization has been denied for this request.`,
1441
1389
  },
1390
+ {
1391
+ status: 403,
1392
+ description: `0: Token Validation Failed
1393
+ 18: You do not have permission to manage this game`,
1394
+ },
1395
+ {
1396
+ status: 500,
1397
+ description: `0: An unknown error occurred.`,
1398
+ },
1442
1399
  {
1443
1400
  status: 503,
1444
1401
  description: `17: Feature is disabled`,
1445
1402
  },
1446
1403
  ],
1447
1404
  });
1448
- /**
1449
- * @api DELETE https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
1450
- * @summary Delete localized name and description of a developer product
1451
- * @param developerProductId The developer product id
1452
- * @param languageCode The language code of the name and description to delete
1453
- */
1454
- export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode =
1455
- endpoint({
1456
- method: "DELETE",
1457
- path: "/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode",
1458
- baseUrl: "https://gameinternationalization.roblox.com",
1459
- requestFormat: "json",
1460
- serializationMethod: {
1461
- developerProductId: {
1462
- style: "simple",
1463
- },
1464
- languageCode: {
1465
- style: "simple",
1466
- },
1467
- },
1468
- parameters: {
1469
- developerProductId: z.number().int(),
1470
- languageCode: z.string(),
1471
- },
1472
- response: z.object({}),
1473
- errors: [
1474
- {
1475
- status: 400,
1476
- description: `22: Invalid language code
1477
- 23: You can't delete translations for source language
1478
- 53: Language is not supported for the game.
1479
- 70: Invalid developer product id`,
1480
- },
1481
- {
1482
- status: 401,
1483
- description: `0: Authorization has been denied for this request.`,
1484
- },
1485
- {
1486
- status: 403,
1487
- description: `0: Token Validation Failed
1488
- 18: You do not have permission to manage this game`,
1489
- },
1490
- {
1491
- status: 500,
1492
- description: `0: An unknown error occurred.`,
1493
- },
1494
- {
1495
- status: 503,
1496
- description: `17: Feature is disabled`,
1497
- },
1498
- ],
1499
- });
1500
1405
  /**
1501
1406
  * @api PATCH https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode
1502
1407
  * @summary Update localized name and description of a developer product
@@ -1504,58 +1409,56 @@ export const deleteDeveloperProductsDeveloperproductidNameDescriptionLanguageCod
1504
1409
  * @param developerProductId The developer product id
1505
1410
  * @param languageCode The language code of the name and description to Update
1506
1411
  */
1507
- export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode =
1508
- endpoint({
1509
- method: "PATCH",
1510
- path: "/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode",
1511
- baseUrl: "https://gameinternationalization.roblox.com",
1512
- requestFormat: "json",
1513
- serializationMethod: {
1514
- body: {},
1515
- developerProductId: {
1516
- style: "simple",
1517
- },
1518
- languageCode: {
1519
- style: "simple",
1520
- },
1412
+ export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCodesLanguagecode = endpoint({
1413
+ method: 'PATCH',
1414
+ path: '/v1/developer-products/:developerProductId/name-description/language-codes/:languageCode',
1415
+ baseUrl: 'https://gameinternationalization.roblox.com',
1416
+ requestFormat: 'json',
1417
+ serializationMethod: {
1418
+ body: {},
1419
+ developerProductId: {
1420
+ style: 'simple',
1521
1421
  },
1522
- parameters: {
1523
- developerProductId: z.number().int(),
1524
- languageCode: z.string(),
1422
+ languageCode: {
1423
+ style: 'simple',
1525
1424
  },
1526
- body: Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest,
1527
- response:
1528
- Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse,
1529
- errors: [
1530
- {
1531
- status: 400,
1532
- description: `13: Request body can't be null
1425
+ },
1426
+ parameters: {
1427
+ developerProductId: z.number().int(),
1428
+ languageCode: z.string(),
1429
+ },
1430
+ body: Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionRequest,
1431
+ response: Roblox_GameInternationalization_Api_UpdateDeveloperProductNameDescriptionResponse,
1432
+ errors: [
1433
+ {
1434
+ status: 400,
1435
+ description: `13: Request body can't be null
1533
1436
  19: New name is null or whitespaces or new name/description is too long
1534
1437
  20: New name or description is moderated
1535
1438
  22: Invalid language code
1536
1439
  26: You can't update translations for source language
1537
1440
  53: Language is not supported for the game.
1538
1441
  70: Invalid developer product id`,
1539
- },
1540
- {
1541
- status: 401,
1542
- description: `0: Authorization has been denied for this request.`,
1543
- },
1544
- {
1545
- status: 403,
1546
- description: `0: Token Validation Failed
1442
+ },
1443
+ {
1444
+ status: 401,
1445
+ description: `0: Authorization has been denied for this request.`,
1446
+ },
1447
+ {
1448
+ status: 403,
1449
+ description: `0: Token Validation Failed
1547
1450
  18: You do not have permission to manage this game`,
1548
- },
1549
- {
1550
- status: 500,
1551
- description: `0: An unknown error occurred.`,
1552
- },
1553
- {
1554
- status: 503,
1555
- description: `17: Feature is disabled`,
1556
- },
1557
- ],
1558
- });
1451
+ },
1452
+ {
1453
+ status: 500,
1454
+ description: `0: An unknown error occurred.`,
1455
+ },
1456
+ {
1457
+ status: 503,
1458
+ description: `17: Feature is disabled`,
1459
+ },
1460
+ ],
1461
+ });
1559
1462
  /**
1560
1463
  * @api PATCH https://gameinternationalization.roblox.com/v1/developer-products/:developerProductId/name/language-codes/:languageCode
1561
1464
  * @summary Update localized name of a developer product
@@ -1563,57 +1466,56 @@ export const patchDeveloperProductsDeveloperproductidNameDescriptionLanguageCode
1563
1466
  * @param developerProductId The developer product id
1564
1467
  * @param languageCode The language code of the name to update
1565
1468
  */
1566
- export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguagecode =
1567
- endpoint({
1568
- method: "PATCH",
1569
- path: "/v1/developer-products/:developerProductId/name/language-codes/:languageCode",
1570
- baseUrl: "https://gameinternationalization.roblox.com",
1571
- requestFormat: "json",
1572
- serializationMethod: {
1573
- body: {},
1574
- developerProductId: {
1575
- style: "simple",
1576
- },
1577
- languageCode: {
1578
- style: "simple",
1579
- },
1469
+ export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguagecode = endpoint({
1470
+ method: 'PATCH',
1471
+ path: '/v1/developer-products/:developerProductId/name/language-codes/:languageCode',
1472
+ baseUrl: 'https://gameinternationalization.roblox.com',
1473
+ requestFormat: 'json',
1474
+ serializationMethod: {
1475
+ body: {},
1476
+ developerProductId: {
1477
+ style: 'simple',
1580
1478
  },
1581
- parameters: {
1582
- developerProductId: z.number().int(),
1583
- languageCode: z.string(),
1479
+ languageCode: {
1480
+ style: 'simple',
1584
1481
  },
1585
- body: z.object({ name: z.string() }),
1586
- response: z.object({ name: z.string() }),
1587
- errors: [
1588
- {
1589
- status: 400,
1590
- description: `13: Request body can't be null
1482
+ },
1483
+ parameters: {
1484
+ developerProductId: z.number().int(),
1485
+ languageCode: z.string(),
1486
+ },
1487
+ body: z.object({ name: z.string() }),
1488
+ response: z.object({ name: z.string() }),
1489
+ errors: [
1490
+ {
1491
+ status: 400,
1492
+ description: `13: Request body can't be null
1591
1493
  19: New name is null or whitespaces or new name/description is too long
1592
1494
  20: New name or description is moderated
1593
1495
  22: Invalid language code
1594
1496
  26: You can't update translations for source language
1595
1497
  53: Language is not supported for the game.
1596
1498
  70: Invalid developer product id`,
1597
- },
1598
- {
1599
- status: 401,
1600
- description: `0: Authorization has been denied for this request.`,
1601
- },
1602
- {
1603
- status: 403,
1604
- description: `0: Token Validation Failed
1499
+ },
1500
+ {
1501
+ status: 401,
1502
+ description: `0: Authorization has been denied for this request.`,
1503
+ },
1504
+ {
1505
+ status: 403,
1506
+ description: `0: Token Validation Failed
1605
1507
  18: You do not have permission to manage this game`,
1606
- },
1607
- {
1608
- status: 500,
1609
- description: `0: An unknown error occurred.`,
1610
- },
1611
- {
1612
- status: 503,
1613
- description: `17: Feature is disabled`,
1614
- },
1615
- ],
1616
- });
1508
+ },
1509
+ {
1510
+ status: 500,
1511
+ description: `0: An unknown error occurred.`,
1512
+ },
1513
+ {
1514
+ status: 503,
1515
+ description: `17: Feature is disabled`,
1516
+ },
1517
+ ],
1518
+ });
1617
1519
  /**
1618
1520
  * @api GET https://gameinternationalization.roblox.com/v1/game-icon/games/:gameId
1619
1521
  * @summary Get all icons for a game
@@ -1622,20 +1524,20 @@ export const patchDeveloperProductsDeveloperproductidNameLanguageCodesLanguageco
1622
1524
  * @param height The height of the icon to request
1623
1525
  */
1624
1526
  export const getGameIconGamesGameid = endpoint({
1625
- method: "GET",
1626
- path: "/v1/game-icon/games/:gameId",
1627
- baseUrl: "https://gameinternationalization.roblox.com",
1628
- requestFormat: "json",
1527
+ method: 'GET',
1528
+ path: '/v1/game-icon/games/:gameId',
1529
+ baseUrl: 'https://gameinternationalization.roblox.com',
1530
+ requestFormat: 'json',
1629
1531
  serializationMethod: {
1630
1532
  gameId: {
1631
- style: "simple",
1533
+ style: 'simple',
1632
1534
  },
1633
1535
  width: {
1634
- style: "form",
1536
+ style: 'form',
1635
1537
  explode: true,
1636
1538
  },
1637
1539
  height: {
1638
- style: "form",
1540
+ style: 'form',
1639
1541
  explode: true,
1640
1542
  },
1641
1543
  },
@@ -1644,8 +1546,7 @@ export const getGameIconGamesGameid = endpoint({
1644
1546
  width: z.number().int().optional().default(512),
1645
1547
  height: z.number().int().optional().default(512),
1646
1548
  },
1647
- response:
1648
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_,
1549
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameIconResponse_,
1649
1550
  errors: [
1650
1551
  {
1651
1552
  status: 400,
@@ -1674,17 +1575,17 @@ export const getGameIconGamesGameid = endpoint({
1674
1575
  * @param languageCode The language code of this icon to update
1675
1576
  */
1676
1577
  export const postGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
1677
- method: "POST",
1678
- path: "/v1/game-icon/games/:gameId/language-codes/:languageCode",
1679
- baseUrl: "https://gameinternationalization.roblox.com",
1680
- requestFormat: "form-data",
1578
+ method: 'POST',
1579
+ path: '/v1/game-icon/games/:gameId/language-codes/:languageCode',
1580
+ baseUrl: 'https://gameinternationalization.roblox.com',
1581
+ requestFormat: 'form-data',
1681
1582
  serializationMethod: {
1682
1583
  body: {},
1683
1584
  gameId: {
1684
- style: "simple",
1585
+ style: 'simple',
1685
1586
  },
1686
1587
  languageCode: {
1687
- style: "simple",
1588
+ style: 'simple',
1688
1589
  },
1689
1590
  },
1690
1591
  parameters: {
@@ -1733,16 +1634,16 @@ export const postGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
1733
1634
  * @param languageCode The language code of the localized icon to delete
1734
1635
  */
1735
1636
  export const deleteGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
1736
- method: "DELETE",
1737
- path: "/v1/game-icon/games/:gameId/language-codes/:languageCode",
1738
- baseUrl: "https://gameinternationalization.roblox.com",
1739
- requestFormat: "json",
1637
+ method: 'DELETE',
1638
+ path: '/v1/game-icon/games/:gameId/language-codes/:languageCode',
1639
+ baseUrl: 'https://gameinternationalization.roblox.com',
1640
+ requestFormat: 'json',
1740
1641
  serializationMethod: {
1741
1642
  gameId: {
1742
- style: "simple",
1643
+ style: 'simple',
1743
1644
  },
1744
1645
  languageCode: {
1745
- style: "simple",
1646
+ style: 'simple',
1746
1647
  },
1747
1648
  },
1748
1649
  parameters: {
@@ -1783,20 +1684,19 @@ export const deleteGameIconGamesGameidLanguageCodesLanguagecode = endpoint({
1783
1684
  * @param gameId GameID of the game to get translation counts for
1784
1685
  */
1785
1686
  export const getGameLocalizationStatusGameidTranslationCounts = endpoint({
1786
- method: "GET",
1787
- path: "/v1/game-localization-status/:gameId/translation-counts",
1788
- baseUrl: "https://gameinternationalization.roblox.com",
1789
- requestFormat: "json",
1687
+ method: 'GET',
1688
+ path: '/v1/game-localization-status/:gameId/translation-counts',
1689
+ baseUrl: 'https://gameinternationalization.roblox.com',
1690
+ requestFormat: 'json',
1790
1691
  serializationMethod: {
1791
1692
  gameId: {
1792
- style: "simple",
1693
+ style: 'simple',
1793
1694
  },
1794
1695
  },
1795
1696
  parameters: {
1796
1697
  gameId: z.number().int(),
1797
1698
  },
1798
- response:
1799
- Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse,
1699
+ response: Roblox_GameInternationalization_Api_GetTranslationCountsForGameResponse,
1800
1700
  errors: [
1801
1701
  {
1802
1702
  status: 400,
@@ -1821,46 +1721,44 @@ The languages to retrieve must be provided.
1821
1721
  * @param languageOrLocaleCode The code for the language or locale.
1822
1722
  * @param languageOrLocaleType Indicates whether the languageOrLocaleCode represents a language or locale.
1823
1723
  */
1824
- export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale =
1825
- endpoint({
1826
- method: "GET",
1827
- path: "/v1/game-localization-status/translation-counts-for-language-or-locale",
1828
- baseUrl: "https://gameinternationalization.roblox.com",
1829
- requestFormat: "json",
1830
- serializationMethod: {
1831
- gameIds: {
1832
- style: "form",
1833
- explode: true,
1834
- },
1835
- languageOrLocaleCode: {
1836
- style: "form",
1837
- explode: true,
1838
- },
1839
- languageOrLocaleType: {
1840
- style: "form",
1841
- explode: true,
1842
- },
1724
+ export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale = endpoint({
1725
+ method: 'GET',
1726
+ path: '/v1/game-localization-status/translation-counts-for-language-or-locale',
1727
+ baseUrl: 'https://gameinternationalization.roblox.com',
1728
+ requestFormat: 'json',
1729
+ serializationMethod: {
1730
+ gameIds: {
1731
+ style: 'form',
1732
+ explode: true,
1843
1733
  },
1844
- parameters: {
1845
- gameIds: z.array(z.number()),
1846
- languageOrLocaleCode: z.string(),
1847
- languageOrLocaleType: z.enum(["Language", "Locale"]),
1734
+ languageOrLocaleCode: {
1735
+ style: 'form',
1736
+ explode: true,
1848
1737
  },
1849
- response:
1850
- Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse,
1851
- errors: [
1852
- {
1853
- status: 400,
1854
- description: `66: Games can't be null or empty
1738
+ languageOrLocaleType: {
1739
+ style: 'form',
1740
+ explode: true,
1741
+ },
1742
+ },
1743
+ parameters: {
1744
+ gameIds: z.array(z.number()),
1745
+ languageOrLocaleCode: z.string(),
1746
+ languageOrLocaleType: z.enum(['Language', 'Locale']),
1747
+ },
1748
+ response: Roblox_GameInternationalization_Api_GetTranslationCountsForLanguageOrLocaleResponse,
1749
+ errors: [
1750
+ {
1751
+ status: 400,
1752
+ description: `66: Games can't be null or empty
1855
1753
  67: Maximum games exceeded. Please keep the number of games per request below the maximum.
1856
1754
  68: LanguageOrLocaleCode is null or whitespace`,
1857
- },
1858
- {
1859
- status: 401,
1860
- description: `0: Authorization has been denied for this request.`,
1861
- },
1862
- ],
1863
- });
1755
+ },
1756
+ {
1757
+ status: 401,
1758
+ description: `0: Authorization has been denied for this request.`,
1759
+ },
1760
+ ],
1761
+ });
1864
1762
  /**
1865
1763
  * @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/description/language-codes/:languageCode
1866
1764
  * @summary Update localized description of a game pass
@@ -1868,53 +1766,52 @@ export const getGameLocalizationStatusTranslationCountsForLanguageOrLocale =
1868
1766
  * @param gamePassId The game pass id
1869
1767
  * @param languageCode The language code of description to update
1870
1768
  */
1871
- export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode =
1872
- endpoint({
1873
- method: "PATCH",
1874
- path: "/v1/game-passes/:gamePassId/description/language-codes/:languageCode",
1875
- baseUrl: "https://gameinternationalization.roblox.com",
1876
- requestFormat: "json",
1877
- serializationMethod: {
1878
- body: {},
1879
- gamePassId: {
1880
- style: "simple",
1881
- },
1882
- languageCode: {
1883
- style: "simple",
1884
- },
1769
+ export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode = endpoint({
1770
+ method: 'PATCH',
1771
+ path: '/v1/game-passes/:gamePassId/description/language-codes/:languageCode',
1772
+ baseUrl: 'https://gameinternationalization.roblox.com',
1773
+ requestFormat: 'json',
1774
+ serializationMethod: {
1775
+ body: {},
1776
+ gamePassId: {
1777
+ style: 'simple',
1885
1778
  },
1886
- parameters: {
1887
- gamePassId: z.number().int(),
1888
- languageCode: z.string(),
1779
+ languageCode: {
1780
+ style: 'simple',
1889
1781
  },
1890
- body: z.object({ description: z.string() }),
1891
- response: z.object({ description: z.string() }),
1892
- errors: [
1893
- {
1894
- status: 400,
1895
- description: `13: Request body can't be null
1782
+ },
1783
+ parameters: {
1784
+ gamePassId: z.number().int(),
1785
+ languageCode: z.string(),
1786
+ },
1787
+ body: z.object({ description: z.string() }),
1788
+ response: z.object({ description: z.string() }),
1789
+ errors: [
1790
+ {
1791
+ status: 400,
1792
+ description: `13: Request body can't be null
1896
1793
  19: New name is null or whitespaces or new name/description is too long
1897
1794
  20: New name or description is moderated
1898
1795
  22: Invalid language code
1899
1796
  26: You can't update translations for source language
1900
1797
  53: Language is not supported for the game.
1901
1798
  61: Invalid game pass id`,
1902
- },
1903
- {
1904
- status: 401,
1905
- description: `0: Authorization has been denied for this request.`,
1906
- },
1907
- {
1908
- status: 403,
1909
- description: `0: Token Validation Failed
1799
+ },
1800
+ {
1801
+ status: 401,
1802
+ description: `0: Authorization has been denied for this request.`,
1803
+ },
1804
+ {
1805
+ status: 403,
1806
+ description: `0: Token Validation Failed
1910
1807
  18: You do not have permission to manage this game`,
1911
- },
1912
- {
1913
- status: 503,
1914
- description: `17: Feature is disabled`,
1915
- },
1916
- ],
1917
- });
1808
+ },
1809
+ {
1810
+ status: 503,
1811
+ description: `17: Feature is disabled`,
1812
+ },
1813
+ ],
1814
+ });
1918
1815
  /**
1919
1816
  * @api GET https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/icons
1920
1817
  * @summary Get all icons for a game pass
@@ -1923,20 +1820,20 @@ export const patchGamePassesGamepassidDescriptionLanguageCodesLanguagecode =
1923
1820
  * @param height The height of the icon to request
1924
1821
  */
1925
1822
  export const getGamePassesGamepassidIcons = endpoint({
1926
- method: "GET",
1927
- path: "/v1/game-passes/:gamePassId/icons",
1928
- baseUrl: "https://gameinternationalization.roblox.com",
1929
- requestFormat: "json",
1823
+ method: 'GET',
1824
+ path: '/v1/game-passes/:gamePassId/icons',
1825
+ baseUrl: 'https://gameinternationalization.roblox.com',
1826
+ requestFormat: 'json',
1930
1827
  serializationMethod: {
1931
1828
  gamePassId: {
1932
- style: "simple",
1829
+ style: 'simple',
1933
1830
  },
1934
1831
  width: {
1935
- style: "form",
1832
+ style: 'form',
1936
1833
  explode: true,
1937
1834
  },
1938
1835
  height: {
1939
- style: "form",
1836
+ style: 'form',
1940
1837
  explode: true,
1941
1838
  },
1942
1839
  },
@@ -1945,8 +1842,7 @@ export const getGamePassesGamepassidIcons = endpoint({
1945
1842
  width: z.number().int().optional().default(150),
1946
1843
  height: z.number().int().optional().default(150),
1947
1844
  },
1948
- response:
1949
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_,
1845
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGamePassIconResponse_,
1950
1846
  errors: [
1951
1847
  {
1952
1848
  status: 400,
@@ -1975,17 +1871,17 @@ export const getGamePassesGamepassidIcons = endpoint({
1975
1871
  * @param languageCode The language code of this icon to update
1976
1872
  */
1977
1873
  export const postGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
1978
- method: "POST",
1979
- path: "/v1/game-passes/:gamePassId/icons/language-codes/:languageCode",
1980
- baseUrl: "https://gameinternationalization.roblox.com",
1981
- requestFormat: "form-data",
1874
+ method: 'POST',
1875
+ path: '/v1/game-passes/:gamePassId/icons/language-codes/:languageCode',
1876
+ baseUrl: 'https://gameinternationalization.roblox.com',
1877
+ requestFormat: 'form-data',
1982
1878
  serializationMethod: {
1983
1879
  body: {},
1984
1880
  gamePassId: {
1985
- style: "simple",
1881
+ style: 'simple',
1986
1882
  },
1987
1883
  languageCode: {
1988
- style: "simple",
1884
+ style: 'simple',
1989
1885
  },
1990
1886
  },
1991
1887
  parameters: {
@@ -2033,72 +1929,70 @@ export const postGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
2033
1929
  * @param gamePassId The game pass id
2034
1930
  * @param languageCode The language code of the localized icon to delete
2035
1931
  */
2036
- export const deleteGamePassesGamepassidIconsLanguageCodesLanguagecode =
2037
- endpoint({
2038
- method: "DELETE",
2039
- path: "/v1/game-passes/:gamePassId/icons/language-codes/:languageCode",
2040
- baseUrl: "https://gameinternationalization.roblox.com",
2041
- requestFormat: "json",
2042
- serializationMethod: {
2043
- gamePassId: {
2044
- style: "simple",
2045
- },
2046
- languageCode: {
2047
- style: "simple",
2048
- },
1932
+ export const deleteGamePassesGamepassidIconsLanguageCodesLanguagecode = endpoint({
1933
+ method: 'DELETE',
1934
+ path: '/v1/game-passes/:gamePassId/icons/language-codes/:languageCode',
1935
+ baseUrl: 'https://gameinternationalization.roblox.com',
1936
+ requestFormat: 'json',
1937
+ serializationMethod: {
1938
+ gamePassId: {
1939
+ style: 'simple',
2049
1940
  },
2050
- parameters: {
2051
- gamePassId: z.number().int(),
2052
- languageCode: z.string(),
1941
+ languageCode: {
1942
+ style: 'simple',
2053
1943
  },
2054
- response: z.object({}),
2055
- errors: [
2056
- {
2057
- status: 400,
2058
- description: `22: Invalid language code
1944
+ },
1945
+ parameters: {
1946
+ gamePassId: z.number().int(),
1947
+ languageCode: z.string(),
1948
+ },
1949
+ response: z.object({}),
1950
+ errors: [
1951
+ {
1952
+ status: 400,
1953
+ description: `22: Invalid language code
2059
1954
  23: You can't delete translations for source language
2060
1955
  53: Language is not supported for the game.
2061
1956
  61: Invalid game pass id`,
2062
- },
2063
- {
2064
- status: 401,
2065
- description: `0: Authorization has been denied for this request.`,
2066
- },
2067
- {
2068
- status: 403,
2069
- description: `0: Token Validation Failed
1957
+ },
1958
+ {
1959
+ status: 401,
1960
+ description: `0: Authorization has been denied for this request.`,
1961
+ },
1962
+ {
1963
+ status: 403,
1964
+ description: `0: Token Validation Failed
2070
1965
  18: You do not have permission to manage this game`,
2071
- },
2072
- {
2073
- status: 500,
2074
- description: `0: An unknown error occurred.`,
2075
- },
2076
- {
2077
- status: 503,
2078
- description: `17: Feature is disabled`,
2079
- },
2080
- ],
2081
- });
1966
+ },
1967
+ {
1968
+ status: 500,
1969
+ description: `0: An unknown error occurred.`,
1970
+ },
1971
+ {
1972
+ status: 503,
1973
+ description: `17: Feature is disabled`,
1974
+ },
1975
+ ],
1976
+ });
2082
1977
  /**
2083
1978
  * @api GET https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name-description
2084
1979
  * @summary Get all names and descriptions of a game pass
2085
1980
  * @param gamePassId The game pass Id
2086
1981
  */
2087
1982
  export const getGamePassesGamepassidNameDescription = endpoint({
2088
- method: "GET",
2089
- path: "/v1/game-passes/:gamePassId/name-description",
2090
- baseUrl: "https://gameinternationalization.roblox.com",
2091
- requestFormat: "json",
1983
+ method: 'GET',
1984
+ path: '/v1/game-passes/:gamePassId/name-description',
1985
+ baseUrl: 'https://gameinternationalization.roblox.com',
1986
+ requestFormat: 'json',
2092
1987
  serializationMethod: {
2093
1988
  gamePassId: {
2094
- style: "simple",
1989
+ style: 'simple',
2095
1990
  },
2096
1991
  },
2097
1992
  parameters: {
2098
1993
  gamePassId: z.number().int(),
2099
1994
  },
2100
- response:
2101
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
1995
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
2102
1996
  errors: [
2103
1997
  {
2104
1998
  status: 400,
@@ -2120,48 +2014,47 @@ export const getGamePassesGamepassidNameDescription = endpoint({
2120
2014
  * @param gamePassId The game pass id
2121
2015
  * @param languageCode The language code of the name and description to delete
2122
2016
  */
2123
- export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
2124
- endpoint({
2125
- method: "DELETE",
2126
- path: "/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode",
2127
- baseUrl: "https://gameinternationalization.roblox.com",
2128
- requestFormat: "json",
2129
- serializationMethod: {
2130
- gamePassId: {
2131
- style: "simple",
2132
- },
2133
- languageCode: {
2134
- style: "simple",
2135
- },
2017
+ export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode = endpoint({
2018
+ method: 'DELETE',
2019
+ path: '/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode',
2020
+ baseUrl: 'https://gameinternationalization.roblox.com',
2021
+ requestFormat: 'json',
2022
+ serializationMethod: {
2023
+ gamePassId: {
2024
+ style: 'simple',
2136
2025
  },
2137
- parameters: {
2138
- gamePassId: z.number().int(),
2139
- languageCode: z.string(),
2026
+ languageCode: {
2027
+ style: 'simple',
2140
2028
  },
2141
- response: z.object({}),
2142
- errors: [
2143
- {
2144
- status: 400,
2145
- description: `22: Invalid language code
2029
+ },
2030
+ parameters: {
2031
+ gamePassId: z.number().int(),
2032
+ languageCode: z.string(),
2033
+ },
2034
+ response: z.object({}),
2035
+ errors: [
2036
+ {
2037
+ status: 400,
2038
+ description: `22: Invalid language code
2146
2039
  23: You can't delete translations for source language
2147
2040
  53: Language is not supported for the game.
2148
2041
  61: Invalid game pass id`,
2149
- },
2150
- {
2151
- status: 401,
2152
- description: `0: Authorization has been denied for this request.`,
2153
- },
2154
- {
2155
- status: 403,
2156
- description: `0: Token Validation Failed
2042
+ },
2043
+ {
2044
+ status: 401,
2045
+ description: `0: Authorization has been denied for this request.`,
2046
+ },
2047
+ {
2048
+ status: 403,
2049
+ description: `0: Token Validation Failed
2157
2050
  18: You do not have permission to manage this game`,
2158
- },
2159
- {
2160
- status: 503,
2161
- description: `17: Feature is disabled`,
2162
- },
2163
- ],
2164
- });
2051
+ },
2052
+ {
2053
+ status: 503,
2054
+ description: `17: Feature is disabled`,
2055
+ },
2056
+ ],
2057
+ });
2165
2058
  /**
2166
2059
  * @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode
2167
2060
  * @summary Update localized name and description of a game pass
@@ -2169,54 +2062,52 @@ export const deleteGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode
2169
2062
  * @param gamePassId The game pass id
2170
2063
  * @param languageCode The language code of the name/description to update
2171
2064
  */
2172
- export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
2173
- endpoint({
2174
- method: "PATCH",
2175
- path: "/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode",
2176
- baseUrl: "https://gameinternationalization.roblox.com",
2177
- requestFormat: "json",
2178
- serializationMethod: {
2179
- body: {},
2180
- gamePassId: {
2181
- style: "simple",
2182
- },
2183
- languageCode: {
2184
- style: "simple",
2185
- },
2065
+ export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode = endpoint({
2066
+ method: 'PATCH',
2067
+ path: '/v1/game-passes/:gamePassId/name-description/language-codes/:languageCode',
2068
+ baseUrl: 'https://gameinternationalization.roblox.com',
2069
+ requestFormat: 'json',
2070
+ serializationMethod: {
2071
+ body: {},
2072
+ gamePassId: {
2073
+ style: 'simple',
2186
2074
  },
2187
- parameters: {
2188
- gamePassId: z.number().int(),
2189
- languageCode: z.string(),
2075
+ languageCode: {
2076
+ style: 'simple',
2190
2077
  },
2191
- body: Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest,
2192
- response:
2193
- Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse,
2194
- errors: [
2195
- {
2196
- status: 400,
2197
- description: `13: Request body can't be null
2078
+ },
2079
+ parameters: {
2080
+ gamePassId: z.number().int(),
2081
+ languageCode: z.string(),
2082
+ },
2083
+ body: Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionRequest,
2084
+ response: Roblox_GameInternationalization_Api_UpdateGamePassNameDescriptionResponse,
2085
+ errors: [
2086
+ {
2087
+ status: 400,
2088
+ description: `13: Request body can't be null
2198
2089
  19: New name is null or whitespaces or new name/description is too long
2199
2090
  20: New name or description is moderated
2200
2091
  22: Invalid language code
2201
2092
  26: You can't update translations for source language
2202
2093
  53: Language is not supported for the game.
2203
2094
  61: Invalid game pass id`,
2204
- },
2205
- {
2206
- status: 401,
2207
- description: `0: Authorization has been denied for this request.`,
2208
- },
2209
- {
2210
- status: 403,
2211
- description: `0: Token Validation Failed
2095
+ },
2096
+ {
2097
+ status: 401,
2098
+ description: `0: Authorization has been denied for this request.`,
2099
+ },
2100
+ {
2101
+ status: 403,
2102
+ description: `0: Token Validation Failed
2212
2103
  18: You do not have permission to manage this game`,
2213
- },
2214
- {
2215
- status: 503,
2216
- description: `17: Feature is disabled`,
2217
- },
2218
- ],
2219
- });
2104
+ },
2105
+ {
2106
+ status: 503,
2107
+ description: `17: Feature is disabled`,
2108
+ },
2109
+ ],
2110
+ });
2220
2111
  /**
2221
2112
  * @api PATCH https://gameinternationalization.roblox.com/v1/game-passes/:gamePassId/name/language-codes/:languageCode
2222
2113
  * @summary Update localized name of a game pass
@@ -2225,17 +2116,17 @@ export const patchGamePassesGamepassidNameDescriptionLanguageCodesLanguagecode =
2225
2116
  * @param languageCode The language code of the name to update
2226
2117
  */
2227
2118
  export const patchGamePassesGamepassidNameLanguageCodesLanguagecode = endpoint({
2228
- method: "PATCH",
2229
- path: "/v1/game-passes/:gamePassId/name/language-codes/:languageCode",
2230
- baseUrl: "https://gameinternationalization.roblox.com",
2231
- requestFormat: "json",
2119
+ method: 'PATCH',
2120
+ path: '/v1/game-passes/:gamePassId/name/language-codes/:languageCode',
2121
+ baseUrl: 'https://gameinternationalization.roblox.com',
2122
+ requestFormat: 'json',
2232
2123
  serializationMethod: {
2233
2124
  body: {},
2234
2125
  gamePassId: {
2235
- style: "simple",
2126
+ style: 'simple',
2236
2127
  },
2237
2128
  languageCode: {
2238
- style: "simple",
2129
+ style: 'simple',
2239
2130
  },
2240
2131
  },
2241
2132
  parameters: {
@@ -2278,20 +2169,20 @@ export const patchGamePassesGamepassidNameLanguageCodesLanguagecode = endpoint({
2278
2169
  * @param height The height.
2279
2170
  */
2280
2171
  export const getGameThumbnailsGamesGameidImages = endpoint({
2281
- method: "GET",
2282
- path: "/v1/game-thumbnails/games/:gameId/images",
2283
- baseUrl: "https://gameinternationalization.roblox.com",
2284
- requestFormat: "json",
2172
+ method: 'GET',
2173
+ path: '/v1/game-thumbnails/games/:gameId/images',
2174
+ baseUrl: 'https://gameinternationalization.roblox.com',
2175
+ requestFormat: 'json',
2285
2176
  serializationMethod: {
2286
2177
  gameId: {
2287
- style: "simple",
2178
+ style: 'simple',
2288
2179
  },
2289
2180
  width: {
2290
- style: "form",
2181
+ style: 'form',
2291
2182
  explode: true,
2292
2183
  },
2293
2184
  height: {
2294
- style: "form",
2185
+ style: 'form',
2295
2186
  explode: true,
2296
2187
  },
2297
2188
  },
@@ -2300,8 +2191,7 @@ export const getGameThumbnailsGamesGameidImages = endpoint({
2300
2191
  width: z.number().int().optional().default(768),
2301
2192
  height: z.number().int().optional().default(432),
2302
2193
  },
2303
- response:
2304
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_,
2194
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_GetGameThumbnailsResponse_,
2305
2195
  errors: [
2306
2196
  {
2307
2197
  status: 400,
@@ -2325,62 +2215,61 @@ export const getGameThumbnailsGamesGameidImages = endpoint({
2325
2215
  * @param gameId The game identifier.
2326
2216
  * @param languageCode The language code.
2327
2217
  */
2328
- export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText =
2329
- endpoint({
2330
- method: "POST",
2331
- path: "/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/alt-text",
2332
- baseUrl: "https://gameinternationalization.roblox.com",
2333
- requestFormat: "json",
2334
- serializationMethod: {
2335
- body: {},
2336
- gameId: {
2337
- style: "simple",
2338
- },
2339
- languageCode: {
2340
- style: "simple",
2341
- },
2218
+ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText = endpoint({
2219
+ method: 'POST',
2220
+ path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/alt-text',
2221
+ baseUrl: 'https://gameinternationalization.roblox.com',
2222
+ requestFormat: 'json',
2223
+ serializationMethod: {
2224
+ body: {},
2225
+ gameId: {
2226
+ style: 'simple',
2342
2227
  },
2343
- parameters: {
2344
- gameId: z.number().int(),
2345
- languageCode: z.string(),
2228
+ languageCode: {
2229
+ style: 'simple',
2346
2230
  },
2347
- body: Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest,
2348
- response: z.string(),
2349
- errors: [
2350
- {
2351
- status: 400,
2352
- description: `14: Invalid game id
2231
+ },
2232
+ parameters: {
2233
+ gameId: z.number().int(),
2234
+ languageCode: z.string(),
2235
+ },
2236
+ body: Roblox_GameInternationalization_Api_UpdateThumbnailAltTextRequest,
2237
+ response: z.string(),
2238
+ errors: [
2239
+ {
2240
+ status: 400,
2241
+ description: `14: Invalid game id
2353
2242
  19: New name is null or whitespaces or new name/description is too long
2354
2243
  20: New name or description is moderated
2355
2244
  22: Invalid language code
2356
2245
  26: You can't update translations for source language
2357
2246
  45: File uploaded does not match known image format
2358
2247
  53: Language is not supported for the game.`,
2359
- },
2360
- {
2361
- status: 401,
2362
- description: `0: Authorization has been denied for this request.`,
2363
- },
2364
- {
2365
- status: 403,
2366
- description: `0: Token Validation Failed
2248
+ },
2249
+ {
2250
+ status: 401,
2251
+ description: `0: Authorization has been denied for this request.`,
2252
+ },
2253
+ {
2254
+ status: 403,
2255
+ description: `0: Token Validation Failed
2367
2256
  18: You do not have permission to manage this game`,
2368
- },
2369
- {
2370
- status: 429,
2371
- description: `24: Too many attempts.Please try again later.`,
2372
- },
2373
- {
2374
- status: 500,
2375
- description: `0: An unknown error occurred.
2257
+ },
2258
+ {
2259
+ status: 429,
2260
+ description: `24: Too many attempts.Please try again later.`,
2261
+ },
2262
+ {
2263
+ status: 500,
2264
+ description: `0: An unknown error occurred.
2376
2265
  88: Failed to filter text`,
2377
- },
2378
- {
2379
- status: 503,
2380
- description: `17: Feature is disabled`,
2381
- },
2382
- ],
2383
- });
2266
+ },
2267
+ {
2268
+ status: 503,
2269
+ description: `17: Feature is disabled`,
2270
+ },
2271
+ ],
2272
+ });
2384
2273
  /**
2385
2274
  * @api POST https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/image
2386
2275
  * @summary Uploads the game thumbnail.
@@ -2388,58 +2277,57 @@ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeAltText =
2388
2277
  * @param gameId The game identifier.
2389
2278
  * @param languageCode The language code.
2390
2279
  */
2391
- export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage =
2392
- endpoint({
2393
- method: "POST",
2394
- path: "/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/image",
2395
- baseUrl: "https://gameinternationalization.roblox.com",
2396
- requestFormat: "form-data",
2397
- serializationMethod: {
2398
- body: {},
2399
- gameId: {
2400
- style: "simple",
2401
- },
2402
- languageCode: {
2403
- style: "simple",
2404
- },
2405
- },
2406
- parameters: {
2407
- gameId: z.number().int(),
2408
- languageCode: z.string(),
2280
+ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage = endpoint({
2281
+ method: 'POST',
2282
+ path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/image',
2283
+ baseUrl: 'https://gameinternationalization.roblox.com',
2284
+ requestFormat: 'form-data',
2285
+ serializationMethod: {
2286
+ body: {},
2287
+ gameId: {
2288
+ style: 'simple',
2409
2289
  },
2410
- body: z.object({ Files: z.instanceof(File) }),
2411
- response: z.object({ mediaAssetId: z.string() }),
2412
- errors: [
2413
- {
2414
- status: 400,
2415
- description: `14: Invalid game id
2290
+ languageCode: {
2291
+ style: 'simple',
2292
+ },
2293
+ },
2294
+ parameters: {
2295
+ gameId: z.number().int(),
2296
+ languageCode: z.string(),
2297
+ },
2298
+ body: z.object({ Files: z.instanceof(File) }),
2299
+ response: z.object({ mediaAssetId: z.string() }),
2300
+ errors: [
2301
+ {
2302
+ status: 400,
2303
+ description: `14: Invalid game id
2416
2304
  22: Invalid language code
2417
2305
  26: You can't update translations for source language
2418
2306
  53: Language is not supported for the game.`,
2419
- },
2420
- {
2421
- status: 401,
2422
- description: `0: Authorization has been denied for this request.`,
2423
- },
2424
- {
2425
- status: 403,
2426
- description: `0: Token Validation Failed
2307
+ },
2308
+ {
2309
+ status: 401,
2310
+ description: `0: Authorization has been denied for this request.`,
2311
+ },
2312
+ {
2313
+ status: 403,
2314
+ description: `0: Token Validation Failed
2427
2315
  18: You do not have permission to manage this game`,
2428
- },
2429
- {
2430
- status: 429,
2431
- description: `24: Too many attempts.Please try again later.`,
2432
- },
2433
- {
2434
- status: 500,
2435
- description: `0: An unknown error occurred.`,
2436
- },
2437
- {
2438
- status: 503,
2439
- description: `17: Feature is disabled`,
2440
- },
2441
- ],
2442
- });
2316
+ },
2317
+ {
2318
+ status: 429,
2319
+ description: `24: Too many attempts.Please try again later.`,
2320
+ },
2321
+ {
2322
+ status: 500,
2323
+ description: `0: An unknown error occurred.`,
2324
+ },
2325
+ {
2326
+ status: 503,
2327
+ description: `17: Feature is disabled`,
2328
+ },
2329
+ ],
2330
+ });
2443
2331
  /**
2444
2332
  * @api DELETE https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/:imageId
2445
2333
  * @summary Deletes the game thumbnail.
@@ -2447,52 +2335,51 @@ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImage =
2447
2335
  * @param languageCode The language code.
2448
2336
  * @param imageId The image identifier.
2449
2337
  */
2450
- export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImageid =
2451
- endpoint({
2452
- method: "DELETE",
2453
- path: "/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/:imageId",
2454
- baseUrl: "https://gameinternationalization.roblox.com",
2455
- requestFormat: "json",
2456
- serializationMethod: {
2457
- gameId: {
2458
- style: "simple",
2459
- },
2460
- languageCode: {
2461
- style: "simple",
2462
- },
2463
- imageId: {
2464
- style: "simple",
2465
- },
2338
+ export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImageid = endpoint({
2339
+ method: 'DELETE',
2340
+ path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/:imageId',
2341
+ baseUrl: 'https://gameinternationalization.roblox.com',
2342
+ requestFormat: 'json',
2343
+ serializationMethod: {
2344
+ gameId: {
2345
+ style: 'simple',
2466
2346
  },
2467
- parameters: {
2468
- gameId: z.number().int(),
2469
- languageCode: z.string(),
2470
- imageId: z.number().int(),
2347
+ languageCode: {
2348
+ style: 'simple',
2471
2349
  },
2472
- response: z.object({}),
2473
- errors: [
2474
- {
2475
- status: 400,
2476
- description: `14: Invalid game id
2350
+ imageId: {
2351
+ style: 'simple',
2352
+ },
2353
+ },
2354
+ parameters: {
2355
+ gameId: z.number().int(),
2356
+ languageCode: z.string(),
2357
+ imageId: z.number().int(),
2358
+ },
2359
+ response: z.object({}),
2360
+ errors: [
2361
+ {
2362
+ status: 400,
2363
+ description: `14: Invalid game id
2477
2364
  22: Invalid language code
2478
2365
  23: You can't delete translations for source language
2479
2366
  53: Language is not supported for the game.`,
2480
- },
2481
- {
2482
- status: 401,
2483
- description: `0: Authorization has been denied for this request.`,
2484
- },
2485
- {
2486
- status: 403,
2487
- description: `0: Token Validation Failed
2367
+ },
2368
+ {
2369
+ status: 401,
2370
+ description: `0: Authorization has been denied for this request.`,
2371
+ },
2372
+ {
2373
+ status: 403,
2374
+ description: `0: Token Validation Failed
2488
2375
  18: You do not have permission to manage this game`,
2489
- },
2490
- {
2491
- status: 503,
2492
- description: `17: Feature is disabled`,
2493
- },
2494
- ],
2495
- });
2376
+ },
2377
+ {
2378
+ status: 503,
2379
+ description: `17: Feature is disabled`,
2380
+ },
2381
+ ],
2382
+ });
2496
2383
  /**
2497
2384
  * @api POST https://gameinternationalization.roblox.com/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/order
2498
2385
  * @summary Orders the specified image Ids for the game thumbnails.
@@ -2500,64 +2387,63 @@ export const deleteGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesImage
2500
2387
  * @param gameId The game identifier.
2501
2388
  * @param languageCode The language code.
2502
2389
  */
2503
- export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesOrder =
2504
- endpoint({
2505
- method: "POST",
2506
- path: "/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/order",
2507
- baseUrl: "https://gameinternationalization.roblox.com",
2508
- requestFormat: "json",
2509
- serializationMethod: {
2510
- body: {},
2511
- gameId: {
2512
- style: "simple",
2513
- },
2514
- languageCode: {
2515
- style: "simple",
2516
- },
2390
+ export const postGameThumbnailsGamesGameidLanguageCodesLanguagecodeImagesOrder = endpoint({
2391
+ method: 'POST',
2392
+ path: '/v1/game-thumbnails/games/:gameId/language-codes/:languageCode/images/order',
2393
+ baseUrl: 'https://gameinternationalization.roblox.com',
2394
+ requestFormat: 'json',
2395
+ serializationMethod: {
2396
+ body: {},
2397
+ gameId: {
2398
+ style: 'simple',
2517
2399
  },
2518
- parameters: {
2519
- gameId: z.number().int(),
2520
- languageCode: z.string(),
2400
+ languageCode: {
2401
+ style: 'simple',
2521
2402
  },
2522
- body: Roblox_GameInternationalization_Api_SortImageIdsRequest,
2523
- response: z.object({}),
2524
- errors: [
2525
- {
2526
- status: 400,
2527
- description: `14: Invalid game id
2403
+ },
2404
+ parameters: {
2405
+ gameId: z.number().int(),
2406
+ languageCode: z.string(),
2407
+ },
2408
+ body: Roblox_GameInternationalization_Api_SortImageIdsRequest,
2409
+ response: z.object({}),
2410
+ errors: [
2411
+ {
2412
+ status: 400,
2413
+ description: `14: Invalid game id
2528
2414
  22: Invalid language code
2529
2415
  26: You can't update translations for source language
2530
2416
  53: Language is not supported for the game.`,
2531
- },
2532
- {
2533
- status: 401,
2534
- description: `0: Authorization has been denied for this request.`,
2535
- },
2536
- {
2537
- status: 403,
2538
- description: `0: Token Validation Failed
2417
+ },
2418
+ {
2419
+ status: 401,
2420
+ description: `0: Authorization has been denied for this request.`,
2421
+ },
2422
+ {
2423
+ status: 403,
2424
+ description: `0: Token Validation Failed
2539
2425
  18: You do not have permission to manage this game`,
2540
- },
2541
- {
2542
- status: 503,
2543
- description: `17: Feature is disabled`,
2544
- },
2545
- ],
2546
- });
2426
+ },
2427
+ {
2428
+ status: 503,
2429
+ description: `17: Feature is disabled`,
2430
+ },
2431
+ ],
2432
+ });
2547
2433
  /**
2548
2434
  * @api PATCH https://gameinternationalization.roblox.com/v1/localizationtable/gametables/:gameId
2549
2435
  * @param body
2550
2436
  * @param gameId
2551
2437
  */
2552
2438
  export const patchLocalizationtableGametablesGameid = endpoint({
2553
- method: "PATCH",
2554
- path: "/v1/localizationtable/gametables/:gameId",
2555
- baseUrl: "https://gameinternationalization.roblox.com",
2556
- requestFormat: "json",
2439
+ method: 'PATCH',
2440
+ path: '/v1/localizationtable/gametables/:gameId',
2441
+ baseUrl: 'https://gameinternationalization.roblox.com',
2442
+ requestFormat: 'json',
2557
2443
  serializationMethod: {
2558
2444
  body: {},
2559
2445
  gameId: {
2560
- style: "simple",
2446
+ style: 'simple',
2561
2447
  },
2562
2448
  },
2563
2449
  parameters: {
@@ -2582,20 +2468,19 @@ export const patchLocalizationtableGametablesGameid = endpoint({
2582
2468
  * @param gameId The id of the game
2583
2469
  */
2584
2470
  export const getNameDescriptionGamesGameid = endpoint({
2585
- method: "GET",
2586
- path: "/v1/name-description/games/:gameId",
2587
- baseUrl: "https://gameinternationalization.roblox.com",
2588
- requestFormat: "json",
2471
+ method: 'GET',
2472
+ path: '/v1/name-description/games/:gameId',
2473
+ baseUrl: 'https://gameinternationalization.roblox.com',
2474
+ requestFormat: 'json',
2589
2475
  serializationMethod: {
2590
2476
  gameId: {
2591
- style: "simple",
2477
+ style: 'simple',
2592
2478
  },
2593
2479
  },
2594
2480
  parameters: {
2595
2481
  gameId: z.number().int(),
2596
2482
  },
2597
- response:
2598
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
2483
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_NameDescription_,
2599
2484
  errors: [
2600
2485
  {
2601
2486
  status: 400,
@@ -2614,14 +2499,14 @@ export const getNameDescriptionGamesGameid = endpoint({
2614
2499
  * @param gameId The id of the game.
2615
2500
  */
2616
2501
  export const patchNameDescriptionGamesGameid = endpoint({
2617
- method: "PATCH",
2618
- path: "/v1/name-description/games/:gameId",
2619
- baseUrl: "https://gameinternationalization.roblox.com",
2620
- requestFormat: "json",
2502
+ method: 'PATCH',
2503
+ path: '/v1/name-description/games/:gameId',
2504
+ baseUrl: 'https://gameinternationalization.roblox.com',
2505
+ requestFormat: 'json',
2621
2506
  serializationMethod: {
2622
2507
  body: {},
2623
2508
  gameId: {
2624
- style: "simple",
2509
+ style: 'simple',
2625
2510
  },
2626
2511
  },
2627
2512
  parameters: {
@@ -2661,17 +2546,16 @@ export const patchNameDescriptionGamesGameid = endpoint({
2661
2546
  * @param body The request.
2662
2547
  */
2663
2548
  export const postNameDescriptionGamesTranslationHistory = endpoint({
2664
- method: "POST",
2665
- path: "/v1/name-description/games/translation-history",
2666
- baseUrl: "https://gameinternationalization.roblox.com",
2667
- requestFormat: "json",
2549
+ method: 'POST',
2550
+ path: '/v1/name-description/games/translation-history',
2551
+ baseUrl: 'https://gameinternationalization.roblox.com',
2552
+ requestFormat: 'json',
2668
2553
  serializationMethod: {
2669
2554
  body: {},
2670
2555
  },
2671
2556
  parameters: {},
2672
2557
  body: Roblox_GameInternationalization_Api_GetNameDescriptionHistoryV2Request,
2673
- response:
2674
- Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse,
2558
+ response: Roblox_GameInternationalization_Api_GetNameDescriptionHistoryResponse,
2675
2559
  errors: [
2676
2560
  {
2677
2561
  status: 400,
@@ -2707,10 +2591,10 @@ export const postNameDescriptionGamesTranslationHistory = endpoint({
2707
2591
  * @summary Rollout settings for name/description migration to new page
2708
2592
  */
2709
2593
  export const getNameDescriptionMetadata = endpoint({
2710
- method: "GET",
2711
- path: "/v1/name-description/metadata",
2712
- baseUrl: "https://gameinternationalization.roblox.com",
2713
- requestFormat: "json",
2594
+ method: 'GET',
2595
+ path: '/v1/name-description/metadata',
2596
+ baseUrl: 'https://gameinternationalization.roblox.com',
2597
+ requestFormat: 'json',
2714
2598
  response: z.object({ isNameDescriptionMigrationEnabled: z.boolean() }),
2715
2599
  errors: [
2716
2600
  {
@@ -2725,13 +2609,13 @@ export const getNameDescriptionMetadata = endpoint({
2725
2609
  * @param gameId
2726
2610
  */
2727
2611
  export const getSourceLanguageGamesGameid = endpoint({
2728
- method: "GET",
2729
- path: "/v1/source-language/games/:gameId",
2730
- baseUrl: "https://gameinternationalization.roblox.com",
2731
- requestFormat: "json",
2612
+ method: 'GET',
2613
+ path: '/v1/source-language/games/:gameId',
2614
+ baseUrl: 'https://gameinternationalization.roblox.com',
2615
+ requestFormat: 'json',
2732
2616
  serializationMethod: {
2733
2617
  gameId: {
2734
- style: "simple",
2618
+ style: 'simple',
2735
2619
  },
2736
2620
  },
2737
2621
  parameters: {
@@ -2756,16 +2640,16 @@ export const getSourceLanguageGamesGameid = endpoint({
2756
2640
  * @param languageCode
2757
2641
  */
2758
2642
  export const patchSourceLanguageGamesGameid = endpoint({
2759
- method: "PATCH",
2760
- path: "/v1/source-language/games/:gameId",
2761
- baseUrl: "https://gameinternationalization.roblox.com",
2762
- requestFormat: "json",
2643
+ method: 'PATCH',
2644
+ path: '/v1/source-language/games/:gameId',
2645
+ baseUrl: 'https://gameinternationalization.roblox.com',
2646
+ requestFormat: 'json',
2763
2647
  serializationMethod: {
2764
2648
  gameId: {
2765
- style: "simple",
2649
+ style: 'simple',
2766
2650
  },
2767
2651
  languageCode: {
2768
- style: "form",
2652
+ style: 'form',
2769
2653
  explode: true,
2770
2654
  },
2771
2655
  },
@@ -2805,13 +2689,13 @@ export const patchSourceLanguageGamesGameid = endpoint({
2805
2689
  * @param gameId
2806
2690
  */
2807
2691
  export const getSourceLanguageGamesGameidLanguageWithLocales = endpoint({
2808
- method: "GET",
2809
- path: "/v1/source-language/games/:gameId/language-with-locales",
2810
- baseUrl: "https://gameinternationalization.roblox.com",
2811
- requestFormat: "json",
2692
+ method: 'GET',
2693
+ path: '/v1/source-language/games/:gameId/language-with-locales',
2694
+ baseUrl: 'https://gameinternationalization.roblox.com',
2695
+ requestFormat: 'json',
2812
2696
  serializationMethod: {
2813
2697
  gameId: {
2814
- style: "simple",
2698
+ style: 'simple',
2815
2699
  },
2816
2700
  },
2817
2701
  parameters: {
@@ -2835,20 +2719,19 @@ export const getSourceLanguageGamesGameidLanguageWithLocales = endpoint({
2835
2719
  * @param gameId The id of the game.
2836
2720
  */
2837
2721
  export const getSupportedLanguagesGamesGameid = endpoint({
2838
- method: "GET",
2839
- path: "/v1/supported-languages/games/:gameId",
2840
- baseUrl: "https://gameinternationalization.roblox.com",
2841
- requestFormat: "json",
2722
+ method: 'GET',
2723
+ path: '/v1/supported-languages/games/:gameId',
2724
+ baseUrl: 'https://gameinternationalization.roblox.com',
2725
+ requestFormat: 'json',
2842
2726
  serializationMethod: {
2843
2727
  gameId: {
2844
- style: "simple",
2728
+ style: 'simple',
2845
2729
  },
2846
2730
  },
2847
2731
  parameters: {
2848
2732
  gameId: z.number().int(),
2849
2733
  },
2850
- response:
2851
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
2734
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
2852
2735
  errors: [
2853
2736
  {
2854
2737
  status: 400,
@@ -2867,14 +2750,14 @@ export const getSupportedLanguagesGamesGameid = endpoint({
2867
2750
  * @param gameId The id of the game.
2868
2751
  */
2869
2752
  export const patchSupportedLanguagesGamesGameid = endpoint({
2870
- method: "PATCH",
2871
- path: "/v1/supported-languages/games/:gameId",
2872
- baseUrl: "https://gameinternationalization.roblox.com",
2873
- requestFormat: "json",
2753
+ method: 'PATCH',
2754
+ path: '/v1/supported-languages/games/:gameId',
2755
+ baseUrl: 'https://gameinternationalization.roblox.com',
2756
+ requestFormat: 'json',
2874
2757
  serializationMethod: {
2875
2758
  body: {},
2876
2759
  gameId: {
2877
- style: "simple",
2760
+ style: 'simple',
2878
2761
  },
2879
2762
  },
2880
2763
  parameters: {
@@ -2909,73 +2792,69 @@ export const patchSupportedLanguagesGamesGameid = endpoint({
2909
2792
  * @summary Get the automatic translation status of supported languages for a game.
2910
2793
  * @param gameId The id of the game.
2911
2794
  */
2912
- export const getSupportedLanguagesGamesGameidAutomaticTranslationStatus =
2913
- endpoint({
2914
- method: "GET",
2915
- path: "/v1/supported-languages/games/:gameId/automatic-translation-status",
2916
- baseUrl: "https://gameinternationalization.roblox.com",
2917
- requestFormat: "json",
2918
- serializationMethod: {
2919
- gameId: {
2920
- style: "simple",
2921
- },
2795
+ export const getSupportedLanguagesGamesGameidAutomaticTranslationStatus = endpoint({
2796
+ method: 'GET',
2797
+ path: '/v1/supported-languages/games/:gameId/automatic-translation-status',
2798
+ baseUrl: 'https://gameinternationalization.roblox.com',
2799
+ requestFormat: 'json',
2800
+ serializationMethod: {
2801
+ gameId: {
2802
+ style: 'simple',
2922
2803
  },
2923
- parameters: {
2924
- gameId: z.number().int(),
2804
+ },
2805
+ parameters: {
2806
+ gameId: z.number().int(),
2807
+ },
2808
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocaleSettings_,
2809
+ errors: [
2810
+ {
2811
+ status: 400,
2812
+ description: `14: Invalid game id`,
2925
2813
  },
2926
- response:
2927
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocaleSettings_,
2928
- errors: [
2929
- {
2930
- status: 400,
2931
- description: `14: Invalid game id`,
2932
- },
2933
- {
2934
- status: 401,
2935
- description: `0: Authorization has been denied for this request.`,
2936
- },
2937
- {
2938
- status: 403,
2939
- description: `18: You do not have permission to manage this game`,
2940
- },
2941
- {
2942
- status: 503,
2943
- description: `17: Feature is disabled`,
2944
- },
2945
- ],
2946
- });
2814
+ {
2815
+ status: 401,
2816
+ description: `0: Authorization has been denied for this request.`,
2817
+ },
2818
+ {
2819
+ status: 403,
2820
+ description: `18: You do not have permission to manage this game`,
2821
+ },
2822
+ {
2823
+ status: 503,
2824
+ description: `17: Feature is disabled`,
2825
+ },
2826
+ ],
2827
+ });
2947
2828
  /**
2948
2829
  * @api GET https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/in-experience-language-selection
2949
2830
  * @summary Get the user's in-experience language selector languages for a game.
2950
2831
  * @param gameId The id of the game.
2951
2832
  */
2952
- export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection =
2953
- endpoint({
2954
- method: "GET",
2955
- path: "/v1/supported-languages/games/:gameId/in-experience-language-selection",
2956
- baseUrl: "https://gameinternationalization.roblox.com",
2957
- requestFormat: "json",
2958
- serializationMethod: {
2959
- gameId: {
2960
- style: "simple",
2961
- },
2833
+ export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection = endpoint({
2834
+ method: 'GET',
2835
+ path: '/v1/supported-languages/games/:gameId/in-experience-language-selection',
2836
+ baseUrl: 'https://gameinternationalization.roblox.com',
2837
+ requestFormat: 'json',
2838
+ serializationMethod: {
2839
+ gameId: {
2840
+ style: 'simple',
2962
2841
  },
2963
- parameters: {
2964
- gameId: z.number().int(),
2842
+ },
2843
+ parameters: {
2844
+ gameId: z.number().int(),
2845
+ },
2846
+ response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
2847
+ errors: [
2848
+ {
2849
+ status: 400,
2850
+ description: `14: Invalid game id`,
2965
2851
  },
2966
- response:
2967
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageOrLocale_,
2968
- errors: [
2969
- {
2970
- status: 400,
2971
- description: `14: Invalid game id`,
2972
- },
2973
- {
2974
- status: 503,
2975
- description: `17: Feature is disabled`,
2976
- },
2977
- ],
2978
- });
2852
+ {
2853
+ status: 503,
2854
+ description: `17: Feature is disabled`,
2855
+ },
2856
+ ],
2857
+ });
2979
2858
  /**
2980
2859
  * @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/automatic-translation-status
2981
2860
  * @summary Enable or disable automatic translation for a game and language.
@@ -2983,52 +2862,50 @@ export const getSupportedLanguagesGamesGameidInExperienceLanguageSelection =
2983
2862
  * @param gameId The id of the game.
2984
2863
  * @param languageCode The language to enable or disable for automatic translation.
2985
2864
  */
2986
- export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTranslationStatus =
2987
- endpoint({
2988
- method: "PATCH",
2989
- path: "/v1/supported-languages/games/:gameId/languages/:languageCode/automatic-translation-status",
2990
- baseUrl: "https://gameinternationalization.roblox.com",
2991
- requestFormat: "json",
2992
- serializationMethod: {
2993
- body: {},
2994
- gameId: {
2995
- style: "simple",
2996
- },
2997
- languageCode: {
2998
- style: "simple",
2999
- },
2865
+ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTranslationStatus = endpoint({
2866
+ method: 'PATCH',
2867
+ path: '/v1/supported-languages/games/:gameId/languages/:languageCode/automatic-translation-status',
2868
+ baseUrl: 'https://gameinternationalization.roblox.com',
2869
+ requestFormat: 'json',
2870
+ serializationMethod: {
2871
+ body: {},
2872
+ gameId: {
2873
+ style: 'simple',
3000
2874
  },
3001
- parameters: {
3002
- gameId: z.number().int(),
3003
- languageCode: z.string(),
2875
+ languageCode: {
2876
+ style: 'simple',
3004
2877
  },
3005
- body: z.boolean(),
3006
- response:
3007
- Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse,
3008
- errors: [
3009
- {
3010
- status: 400,
3011
- description: `14: Invalid game id
2878
+ },
2879
+ parameters: {
2880
+ gameId: z.number().int(),
2881
+ languageCode: z.string(),
2882
+ },
2883
+ body: z.boolean(),
2884
+ response: Roblox_GameInternationalization_Api_EditAutomaticTranslationStatusForGameAndLanguageResponse,
2885
+ errors: [
2886
+ {
2887
+ status: 400,
2888
+ description: `14: Invalid game id
3012
2889
  22: Invalid language code
3013
2890
  53: Language is not supported for the game.
3014
2891
  72: Automatic translation cannot be enabled for game.
3015
2892
  75: Automatic translation cannot be enabled for language.`,
3016
- },
3017
- {
3018
- status: 401,
3019
- description: `0: Authorization has been denied for this request.`,
3020
- },
3021
- {
3022
- status: 403,
3023
- description: `0: Token Validation Failed
2893
+ },
2894
+ {
2895
+ status: 401,
2896
+ description: `0: Authorization has been denied for this request.`,
2897
+ },
2898
+ {
2899
+ status: 403,
2900
+ description: `0: Token Validation Failed
3024
2901
  18: You do not have permission to manage this game`,
3025
- },
3026
- {
3027
- status: 503,
3028
- description: `17: Feature is disabled`,
3029
- },
3030
- ],
3031
- });
2902
+ },
2903
+ {
2904
+ status: 503,
2905
+ description: `17: Feature is disabled`,
2906
+ },
2907
+ ],
2908
+ });
3032
2909
  /**
3033
2910
  * @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/image-translation-status
3034
2911
  * @summary Enable or disable image translation for a game and language.
@@ -3036,51 +2913,49 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeAutomaticTra
3036
2913
  * @param gameId The id of the game.
3037
2914
  * @param languageCode The language to enable or disable for image translation.
3038
2915
  */
3039
- export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTranslationStatus =
3040
- endpoint({
3041
- method: "PATCH",
3042
- path: "/v1/supported-languages/games/:gameId/languages/:languageCode/image-translation-status",
3043
- baseUrl: "https://gameinternationalization.roblox.com",
3044
- requestFormat: "json",
3045
- serializationMethod: {
3046
- body: {},
3047
- gameId: {
3048
- style: "simple",
3049
- },
3050
- languageCode: {
3051
- style: "simple",
3052
- },
2916
+ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTranslationStatus = endpoint({
2917
+ method: 'PATCH',
2918
+ path: '/v1/supported-languages/games/:gameId/languages/:languageCode/image-translation-status',
2919
+ baseUrl: 'https://gameinternationalization.roblox.com',
2920
+ requestFormat: 'json',
2921
+ serializationMethod: {
2922
+ body: {},
2923
+ gameId: {
2924
+ style: 'simple',
3053
2925
  },
3054
- parameters: {
3055
- gameId: z.number().int(),
3056
- languageCode: z.string(),
2926
+ languageCode: {
2927
+ style: 'simple',
3057
2928
  },
3058
- body: z.boolean(),
3059
- response:
3060
- Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse,
3061
- errors: [
3062
- {
3063
- status: 400,
3064
- description: `14: Invalid game id
2929
+ },
2930
+ parameters: {
2931
+ gameId: z.number().int(),
2932
+ languageCode: z.string(),
2933
+ },
2934
+ body: z.boolean(),
2935
+ response: Roblox_GameInternationalization_Api_EditImageTranslationStatusForGameAndLanguageResponse,
2936
+ errors: [
2937
+ {
2938
+ status: 400,
2939
+ description: `14: Invalid game id
3065
2940
  22: Invalid language code
3066
2941
  53: Language is not supported for the game.
3067
2942
  93: Image translation cannot be enabled for language.`,
3068
- },
3069
- {
3070
- status: 401,
3071
- description: `0: Authorization has been denied for this request.`,
3072
- },
3073
- {
3074
- status: 403,
3075
- description: `0: Token Validation Failed
2943
+ },
2944
+ {
2945
+ status: 401,
2946
+ description: `0: Authorization has been denied for this request.`,
2947
+ },
2948
+ {
2949
+ status: 403,
2950
+ description: `0: Token Validation Failed
3076
2951
  18: You do not have permission to manage this game`,
3077
- },
3078
- {
3079
- status: 503,
3080
- description: `17: Feature is disabled`,
3081
- },
3082
- ],
3083
- });
2952
+ },
2953
+ {
2954
+ status: 503,
2955
+ description: `17: Feature is disabled`,
2956
+ },
2957
+ ],
2958
+ });
3084
2959
  /**
3085
2960
  * @api PATCH https://gameinternationalization.roblox.com/v1/supported-languages/games/:gameId/languages/:languageCode/universe-display-info-automatic-translation-settings
3086
2961
  * @summary Update the switch which controls if the UniverseDisplayInformation should be automatically translated.
@@ -3090,17 +2965,17 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeImageTransla
3090
2965
  */
3091
2966
  export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisplayInfoAutomaticTranslationSettings =
3092
2967
  endpoint({
3093
- method: "PATCH",
3094
- path: "/v1/supported-languages/games/:gameId/languages/:languageCode/universe-display-info-automatic-translation-settings",
3095
- baseUrl: "https://gameinternationalization.roblox.com",
3096
- requestFormat: "json",
2968
+ method: 'PATCH',
2969
+ path: '/v1/supported-languages/games/:gameId/languages/:languageCode/universe-display-info-automatic-translation-settings',
2970
+ baseUrl: 'https://gameinternationalization.roblox.com',
2971
+ requestFormat: 'json',
3097
2972
  serializationMethod: {
3098
2973
  body: {},
3099
2974
  gameId: {
3100
- style: "simple",
2975
+ style: 'simple',
3101
2976
  },
3102
2977
  languageCode: {
3103
- style: "simple",
2978
+ style: 'simple',
3104
2979
  },
3105
2980
  },
3106
2981
  parameters: {
@@ -3108,8 +2983,7 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisp
3108
2983
  languageCode: z.string(),
3109
2984
  },
3110
2985
  body: z.boolean(),
3111
- response:
3112
- Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse,
2986
+ response: Roblox_GameInternationalization_Api_UpdateUniverseDisplayInfoAutomaticTranslationSettingsResponse,
3113
2987
  errors: [
3114
2988
  {
3115
2989
  status: 400,
@@ -3140,55 +3014,53 @@ export const patchSupportedLanguagesGamesGameidLanguagesLanguagecodeUniverseDisp
3140
3014
  * @summary Get UniverseDisplayInfo automatic translation settings.
3141
3015
  * @param gameId The game id.
3142
3016
  */
3143
- export const getSupportedLanguagesGamesGameidUniverseDisplayInfoAutomaticTranslationSettings =
3144
- endpoint({
3145
- method: "GET",
3146
- path: "/v1/supported-languages/games/:gameId/universe-display-info-automatic-translation-settings",
3147
- baseUrl: "https://gameinternationalization.roblox.com",
3148
- requestFormat: "json",
3149
- serializationMethod: {
3150
- gameId: {
3151
- style: "simple",
3152
- },
3017
+ export const getSupportedLanguagesGamesGameidUniverseDisplayInfoAutomaticTranslationSettings = endpoint({
3018
+ method: 'GET',
3019
+ path: '/v1/supported-languages/games/:gameId/universe-display-info-automatic-translation-settings',
3020
+ baseUrl: 'https://gameinternationalization.roblox.com',
3021
+ requestFormat: 'json',
3022
+ serializationMethod: {
3023
+ gameId: {
3024
+ style: 'simple',
3153
3025
  },
3154
- parameters: {
3155
- gameId: z.number().int(),
3026
+ },
3027
+ parameters: {
3028
+ gameId: z.number().int(),
3029
+ },
3030
+ response:
3031
+ Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings_,
3032
+ errors: [
3033
+ {
3034
+ status: 400,
3035
+ description: `14: Invalid game id`,
3156
3036
  },
3157
- response:
3158
- Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_UniverseDisplayInfoAutomaticTranslationSettings_,
3159
- errors: [
3160
- {
3161
- status: 400,
3162
- description: `14: Invalid game id`,
3163
- },
3164
- {
3165
- status: 401,
3166
- description: `0: Authorization has been denied for this request.`,
3167
- },
3168
- {
3169
- status: 403,
3170
- description: `18: You do not have permission to manage this game`,
3171
- },
3172
- {
3173
- status: 500,
3174
- description: `0: An unknown error occurred.
3037
+ {
3038
+ status: 401,
3039
+ description: `0: Authorization has been denied for this request.`,
3040
+ },
3041
+ {
3042
+ status: 403,
3043
+ description: `18: You do not have permission to manage this game`,
3044
+ },
3045
+ {
3046
+ status: 500,
3047
+ description: `0: An unknown error occurred.
3175
3048
  22: Invalid language code
3176
3049
  83: Failed to get UniverseDisplayInformation content instance auto translation settings
3177
3050
  84: Count of language code is larger than max batch get size`,
3178
- },
3179
- ],
3180
- });
3051
+ },
3052
+ ],
3053
+ });
3181
3054
  /**
3182
3055
  * @api GET https://gameinternationalization.roblox.com/v1/supported-languages/metadata
3183
3056
  * @summary Rollout settings for supported languages of a game
3184
3057
  */
3185
3058
  export const getSupportedLanguagesMetadata = endpoint({
3186
- method: "GET",
3187
- path: "/v1/supported-languages/metadata",
3188
- baseUrl: "https://gameinternationalization.roblox.com",
3189
- requestFormat: "json",
3190
- response:
3191
- Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse,
3059
+ method: 'GET',
3060
+ path: '/v1/supported-languages/metadata',
3061
+ baseUrl: 'https://gameinternationalization.roblox.com',
3062
+ requestFormat: 'json',
3063
+ response: Roblox_GameInternationalization_Api_SupportedLanguagesMetadataResponse,
3192
3064
  errors: [
3193
3065
  {
3194
3066
  status: 401,
@@ -3205,118 +3077,114 @@ export const getSupportedLanguagesMetadata = endpoint({
3205
3077
  * @param reportType The report type
3206
3078
  * @param reportSubjectTargetId The translator group id
3207
3079
  */
3208
- export const getTranslationAnalyticsGamesGameidDownloadTranslationAnalyticsReport =
3209
- endpoint({
3210
- method: "GET",
3211
- path: "/v1/translation-analytics/games/:gameId/download-translation-analytics-report",
3212
- baseUrl: "https://gameinternationalization.roblox.com",
3213
- requestFormat: "json",
3214
- serializationMethod: {
3215
- gameId: {
3216
- style: "simple",
3217
- },
3218
- startDateTime: {
3219
- style: "form",
3220
- explode: true,
3221
- },
3222
- endDateTime: {
3223
- style: "form",
3224
- explode: true,
3225
- },
3226
- reportType: {
3227
- style: "form",
3228
- explode: true,
3229
- },
3230
- reportSubjectTargetId: {
3231
- style: "form",
3232
- explode: true,
3233
- },
3080
+ export const getTranslationAnalyticsGamesGameidDownloadTranslationAnalyticsReport = endpoint({
3081
+ method: 'GET',
3082
+ path: '/v1/translation-analytics/games/:gameId/download-translation-analytics-report',
3083
+ baseUrl: 'https://gameinternationalization.roblox.com',
3084
+ requestFormat: 'json',
3085
+ serializationMethod: {
3086
+ gameId: {
3087
+ style: 'simple',
3234
3088
  },
3235
- parameters: {
3236
- gameId: z.number().int(),
3237
- startDateTime: z.string().datetime({ offset: true }),
3238
- endDateTime: z.string().datetime({ offset: true }),
3239
- reportType: z.enum([
3240
- "GameTranslationStatus",
3241
- "GameTranslationStatusForTranslator",
3242
- "GameTranslationStatusForTranslatorGroup",
3243
- "Test",
3244
- ]),
3245
- reportSubjectTargetId: z.number().int(),
3246
- },
3247
- response: z.object({}),
3248
- errors: [
3249
- {
3250
- status: 400,
3251
- description: `14: Invalid game id
3089
+ startDateTime: {
3090
+ style: 'form',
3091
+ explode: true,
3092
+ },
3093
+ endDateTime: {
3094
+ style: 'form',
3095
+ explode: true,
3096
+ },
3097
+ reportType: {
3098
+ style: 'form',
3099
+ explode: true,
3100
+ },
3101
+ reportSubjectTargetId: {
3102
+ style: 'form',
3103
+ explode: true,
3104
+ },
3105
+ },
3106
+ parameters: {
3107
+ gameId: z.number().int(),
3108
+ startDateTime: z.string().datetime({ offset: true }),
3109
+ endDateTime: z.string().datetime({ offset: true }),
3110
+ reportType: z.enum([
3111
+ 'GameTranslationStatus',
3112
+ 'GameTranslationStatusForTranslator',
3113
+ 'GameTranslationStatusForTranslatorGroup',
3114
+ 'Test',
3115
+ ]),
3116
+ reportSubjectTargetId: z.number().int(),
3117
+ },
3118
+ response: z.object({}),
3119
+ errors: [
3120
+ {
3121
+ status: 400,
3122
+ description: `14: Invalid game id
3252
3123
  56: You need to provide a valid translator group id to get report.
3253
3124
  58: Start datetime or end datetime is invlaid.
3254
3125
  59: Report type is invalid`,
3255
- },
3256
- {
3257
- status: 401,
3258
- description: `0: Authorization has been denied for this request.`,
3259
- },
3260
- {
3261
- status: 403,
3262
- description: `57: You do not have permission to request translation analytics report.`,
3263
- },
3264
- ],
3265
- });
3126
+ },
3127
+ {
3128
+ status: 401,
3129
+ description: `0: Authorization has been denied for this request.`,
3130
+ },
3131
+ {
3132
+ status: 403,
3133
+ description: `57: You do not have permission to request translation analytics report.`,
3134
+ },
3135
+ ],
3136
+ });
3266
3137
  /**
3267
3138
  * @api POST https://gameinternationalization.roblox.com/v1/translation-analytics/games/:gameId/request-translation-analytics-report
3268
3139
  * @summary Request translation analytics report to be generated
3269
3140
  * @param body The request body
3270
3141
  * @param gameId The game's id
3271
3142
  */
3272
- export const postTranslationAnalyticsGamesGameidRequestTranslationAnalyticsReport =
3273
- endpoint({
3274
- method: "POST",
3275
- path: "/v1/translation-analytics/games/:gameId/request-translation-analytics-report",
3276
- baseUrl: "https://gameinternationalization.roblox.com",
3277
- requestFormat: "json",
3278
- serializationMethod: {
3279
- body: {},
3280
- gameId: {
3281
- style: "simple",
3282
- },
3283
- },
3284
- parameters: {
3285
- gameId: z.number().int(),
3143
+ export const postTranslationAnalyticsGamesGameidRequestTranslationAnalyticsReport = endpoint({
3144
+ method: 'POST',
3145
+ path: '/v1/translation-analytics/games/:gameId/request-translation-analytics-report',
3146
+ baseUrl: 'https://gameinternationalization.roblox.com',
3147
+ requestFormat: 'json',
3148
+ serializationMethod: {
3149
+ body: {},
3150
+ gameId: {
3151
+ style: 'simple',
3286
3152
  },
3287
- body: Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest,
3288
- response:
3289
- Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse,
3290
- errors: [
3291
- {
3292
- status: 400,
3293
- description: `14: Invalid game id
3153
+ },
3154
+ parameters: {
3155
+ gameId: z.number().int(),
3156
+ },
3157
+ body: Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportRequest,
3158
+ response: Roblox_GameInternationalization_Api_RequestTranslationAnalyticsReportResponse,
3159
+ errors: [
3160
+ {
3161
+ status: 400,
3162
+ description: `14: Invalid game id
3294
3163
  56: You need to provide a valid translator group id to get report.
3295
3164
  58: Start datetime or end datetime is invlaid.
3296
3165
  59: Report type is invalid`,
3297
- },
3298
- {
3299
- status: 401,
3300
- description: `0: Authorization has been denied for this request.`,
3301
- },
3302
- {
3303
- status: 403,
3304
- description: `0: Token Validation Failed
3166
+ },
3167
+ {
3168
+ status: 401,
3169
+ description: `0: Authorization has been denied for this request.`,
3170
+ },
3171
+ {
3172
+ status: 403,
3173
+ description: `0: Token Validation Failed
3305
3174
  57: You do not have permission to request translation analytics report.`,
3306
- },
3307
- ],
3308
- });
3175
+ },
3176
+ ],
3177
+ });
3309
3178
  /**
3310
3179
  * @api GET https://gameinternationalization.roblox.com/v1/translation-analytics/metadata
3311
3180
  * @summary Get metadata related to UI and rollout settings
3312
3181
  */
3313
3182
  export const getTranslationAnalyticsMetadata = endpoint({
3314
- method: "GET",
3315
- path: "/v1/translation-analytics/metadata",
3316
- baseUrl: "https://gameinternationalization.roblox.com",
3317
- requestFormat: "json",
3318
- response:
3319
- Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse,
3183
+ method: 'GET',
3184
+ path: '/v1/translation-analytics/metadata',
3185
+ baseUrl: 'https://gameinternationalization.roblox.com',
3186
+ requestFormat: 'json',
3187
+ response: Roblox_GameInternationalization_Api_TranslationAnalyticsMetadataResponse,
3320
3188
  errors: [
3321
3189
  {
3322
3190
  status: 401,
@@ -3329,10 +3197,10 @@ export const getTranslationAnalyticsMetadata = endpoint({
3329
3197
  * @summary Get ui configurations for frontend to use.
3330
3198
  */
3331
3199
  export const getUiConfigurations = endpoint({
3332
- method: "GET",
3333
- path: "/v1/ui-configurations",
3334
- baseUrl: "https://gameinternationalization.roblox.com",
3335
- requestFormat: "json",
3200
+ method: 'GET',
3201
+ path: '/v1/ui-configurations',
3202
+ baseUrl: 'https://gameinternationalization.roblox.com',
3203
+ requestFormat: 'json',
3336
3204
  response: Roblox_GameInternationalization_Api_GetUiConfigurationsResponse,
3337
3205
  errors: [
3338
3206
  {
@@ -3347,13 +3215,13 @@ export const getUiConfigurations = endpoint({
3347
3215
  * @param universeId The universe's ID.
3348
3216
  */
3349
3217
  export const getUserLocalizationSettingsPlayerChoiceUniverseid = endpoint({
3350
- method: "GET",
3351
- path: "/v1/user-localization-settings/player-choice/:universeId",
3352
- baseUrl: "https://gameinternationalization.roblox.com",
3353
- requestFormat: "json",
3218
+ method: 'GET',
3219
+ path: '/v1/user-localization-settings/player-choice/:universeId',
3220
+ baseUrl: 'https://gameinternationalization.roblox.com',
3221
+ requestFormat: 'json',
3354
3222
  serializationMethod: {
3355
3223
  universeId: {
3356
- style: "simple",
3224
+ style: 'simple',
3357
3225
  },
3358
3226
  },
3359
3227
  parameters: {
@@ -3385,20 +3253,19 @@ export const getUserLocalizationSettingsPlayerChoiceUniverseid = endpoint({
3385
3253
  * @param universeId The universe's ID.
3386
3254
  */
3387
3255
  export const getUserLocalizationSettingsUniverseUniverseid = endpoint({
3388
- method: "GET",
3389
- path: "/v1/user-localization-settings/universe/:universeId",
3390
- baseUrl: "https://gameinternationalization.roblox.com",
3391
- requestFormat: "json",
3256
+ method: 'GET',
3257
+ path: '/v1/user-localization-settings/universe/:universeId',
3258
+ baseUrl: 'https://gameinternationalization.roblox.com',
3259
+ requestFormat: 'json',
3392
3260
  serializationMethod: {
3393
3261
  universeId: {
3394
- style: "simple",
3262
+ style: 'simple',
3395
3263
  },
3396
3264
  },
3397
3265
  parameters: {
3398
3266
  universeId: z.number().int(),
3399
3267
  },
3400
- response:
3401
- Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse,
3268
+ response: Roblox_GameInternationalization_Api_Models_Response_GetUserLocalizationSettingsForUniverseResponse,
3402
3269
  errors: [
3403
3270
  {
3404
3271
  status: 400,
@@ -3423,14 +3290,14 @@ export const getUserLocalizationSettingsUniverseUniverseid = endpoint({
3423
3290
  * @param universeId The universe's ID.
3424
3291
  */
3425
3292
  export const postUserLocalizationSettingsUniverseUniverseid = endpoint({
3426
- method: "POST",
3427
- path: "/v1/user-localization-settings/universe/:universeId",
3428
- baseUrl: "https://gameinternationalization.roblox.com",
3429
- requestFormat: "json",
3293
+ method: 'POST',
3294
+ path: '/v1/user-localization-settings/universe/:universeId',
3295
+ baseUrl: 'https://gameinternationalization.roblox.com',
3296
+ requestFormat: 'json',
3430
3297
  serializationMethod: {
3431
3298
  body: {},
3432
3299
  universeId: {
3433
- style: "simple",
3300
+ style: 'simple',
3434
3301
  },
3435
3302
  },
3436
3303
  parameters: {