rozod 6.7.1 → 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.
- package/LICENSE +1 -1
- package/README.md +75 -451
- package/lib/endpoints/accountinformationv1.d.ts +92 -95
- package/lib/endpoints/accountsettingsv1.d.ts +88 -110
- package/lib/endpoints/adconfigurationv2.d.ts +108 -215
- package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
- package/lib/endpoints/assetdeliveryv1.js +38 -0
- package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
- package/lib/endpoints/assetdeliveryv2.js +26 -0
- package/lib/endpoints/authv1.d.ts +480 -517
- package/lib/endpoints/authv1.js +3 -1
- package/lib/endpoints/authv2.d.ts +210 -222
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/authv3.d.ts +32 -35
- package/lib/endpoints/avatarv1.d.ts +112 -117
- package/lib/endpoints/avatarv2.d.ts +71 -76
- package/lib/endpoints/avatarv3.d.ts +27 -33
- package/lib/endpoints/badgesv1.d.ts +96 -99
- package/lib/endpoints/badgesv1.js +4 -0
- package/lib/endpoints/catalogv1.d.ts +209 -234
- package/lib/endpoints/catalogv1.js +2 -1
- package/lib/endpoints/catalogv2.d.ts +106 -136
- package/lib/endpoints/catalogv2.js +21 -17
- package/lib/endpoints/chatv2.d.ts +778 -778
- package/lib/endpoints/clientsettingsv1.d.ts +33 -35
- package/lib/endpoints/clientsettingsv2.d.ts +62 -68
- package/lib/endpoints/contactsv1.d.ts +18 -20
- package/lib/endpoints/developv1.d.ts +233 -293
- package/lib/endpoints/developv1.js +3 -0
- package/lib/endpoints/developv2.d.ts +87 -138
- package/lib/endpoints/developv2.js +3 -1
- package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
- package/lib/endpoints/economyv1.d.ts +6 -6
- package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
- package/lib/endpoints/followingsv1.d.ts +33 -34
- package/lib/endpoints/followingsv2.d.ts +9 -9
- package/lib/endpoints/friendsv1.d.ts +416 -545
- package/lib/endpoints/friendsv1.js +213 -313
- package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
- package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
- package/lib/endpoints/gamejoinv1.d.ts +458 -458
- package/lib/endpoints/gamesv1.d.ts +183 -143
- package/lib/endpoints/gamesv1.js +2 -0
- package/lib/endpoints/gamesv2.d.ts +161 -158
- package/lib/endpoints/gamesv2.js +9 -0
- package/lib/endpoints/groupsv1.d.ts +967 -976
- package/lib/endpoints/groupsv1.js +48 -4
- package/lib/endpoints/groupsv2.d.ts +259 -277
- package/lib/endpoints/groupsv2.js +1 -0
- package/lib/endpoints/inventoryv1.d.ts +93 -122
- package/lib/endpoints/inventoryv1.js +3 -1
- package/lib/endpoints/inventoryv2.d.ts +163 -178
- package/lib/endpoints/inventoryv2.js +2 -0
- package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
- package/lib/endpoints/localev1.d.ts +47 -48
- package/lib/endpoints/localizationtablesv1.d.ts +315 -353
- package/lib/endpoints/matchmakingv1.d.ts +184 -190
- package/lib/endpoints/metricsv1.d.ts +88 -88
- package/lib/endpoints/notificationsv2.d.ts +144 -158
- package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
- package/lib/endpoints/presencev1.d.ts +7 -12
- package/lib/endpoints/privatemessagesv1.d.ts +56 -64
- package/lib/endpoints/publishv1.d.ts +32 -32
- package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
- package/lib/endpoints/thumbnailsv1.d.ts +317 -361
- package/lib/endpoints/thumbnailsv1.js +25 -0
- package/lib/endpoints/tradesv1.d.ts +92 -104
- package/lib/endpoints/tradesv2.d.ts +81 -84
- package/lib/endpoints/translationrolesv1.d.ts +46 -51
- package/lib/endpoints/twostepverificationv1.d.ts +233 -237
- package/lib/endpoints/usersv1.d.ts +110 -114
- package/lib/index.d.ts +152 -4
- package/lib/index.js +273 -4
- package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
- package/lib/opencloud/v1/assets.d.ts +9 -9
- package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
- package/lib/opencloud/v1/datastores.d.ts +8 -8
- package/lib/opencloud/v1/developer-products.d.ts +4 -4
- package/lib/opencloud/v1/game-passes.d.ts +4 -4
- package/lib/opencloud/v1/messaging.d.ts +1 -1
- package/lib/opencloud/v1/open-eval.d.ts +2 -2
- package/lib/opencloud/v1/secrets-store.d.ts +5 -5
- package/lib/opencloud/v1/toolbox.d.ts +2 -2
- package/lib/opencloud/v1/universes.d.ts +1 -1
- package/lib/opencloud/v2/cloud.d.ts +172 -84
- package/lib/opencloud/v2/cloud.js +25 -9
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
import { endpoint } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { endpoint } from '..';
|
|
3
3
|
|
|
4
4
|
const Roblox_GameInternationalization_Api_Language = z.object({
|
|
5
5
|
name: z.string(),
|
|
@@ -16,57 +16,57 @@ const Roblox_Localization_Client_LanguageFamily = z.object({
|
|
|
16
16
|
const Roblox_Localization_Client_SupportedLocale = z.object({
|
|
17
17
|
id: z.number().int(),
|
|
18
18
|
locale: z.enum([
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
19
|
+
'en_us',
|
|
20
|
+
'es_es',
|
|
21
|
+
'fr_fr',
|
|
22
|
+
'id_id',
|
|
23
|
+
'it_it',
|
|
24
|
+
'ja_jp',
|
|
25
|
+
'ko_kr',
|
|
26
|
+
'ru_ru',
|
|
27
|
+
'th_th',
|
|
28
|
+
'tr_tr',
|
|
29
|
+
'vi_vn',
|
|
30
|
+
'pt_br',
|
|
31
|
+
'de_de',
|
|
32
|
+
'zh_cn',
|
|
33
|
+
'zh_tw',
|
|
34
|
+
'bg_bg',
|
|
35
|
+
'bn_bd',
|
|
36
|
+
'cs_cz',
|
|
37
|
+
'da_dk',
|
|
38
|
+
'el_gr',
|
|
39
|
+
'et_ee',
|
|
40
|
+
'fi_fi',
|
|
41
|
+
'hi_in',
|
|
42
|
+
'hr_hr',
|
|
43
|
+
'hu_hu',
|
|
44
|
+
'ka_ge',
|
|
45
|
+
'kk_kz',
|
|
46
|
+
'km_kh',
|
|
47
|
+
'lt_lt',
|
|
48
|
+
'lv_lv',
|
|
49
|
+
'ms_my',
|
|
50
|
+
'my_mm',
|
|
51
|
+
'nb_no',
|
|
52
|
+
'nl_nl',
|
|
53
|
+
'fil_ph',
|
|
54
|
+
'pl_pl',
|
|
55
|
+
'ro_ro',
|
|
56
|
+
'uk_ua',
|
|
57
|
+
'si_lk',
|
|
58
|
+
'sk_sk',
|
|
59
|
+
'sl_sl',
|
|
60
|
+
'sq_al',
|
|
61
|
+
'bs_ba',
|
|
62
|
+
'sr_rs',
|
|
63
|
+
'sv_se',
|
|
64
|
+
'zh_cjv',
|
|
65
|
+
'ar_001',
|
|
66
|
+
'en_gb',
|
|
67
|
+
'pt_pt',
|
|
68
|
+
'es_mx',
|
|
69
|
+
'fr_ca',
|
|
70
70
|
]),
|
|
71
71
|
localeCode: z.string(),
|
|
72
72
|
name: z.string(),
|
|
@@ -77,10 +77,9 @@ const Roblox_GameInternationalization_Api_LanguageWithLocales = z.object({
|
|
|
77
77
|
languageFamily: Roblox_GameInternationalization_Api_Language,
|
|
78
78
|
childLocales: z.array(Roblox_Localization_Client_SupportedLocale),
|
|
79
79
|
});
|
|
80
|
-
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageWithLocales_ =
|
|
81
|
-
z.
|
|
82
|
-
|
|
83
|
-
});
|
|
80
|
+
const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageWithLocales_ = z.object({
|
|
81
|
+
data: z.array(Roblox_GameInternationalization_Api_LanguageWithLocales),
|
|
82
|
+
});
|
|
84
83
|
|
|
85
84
|
/**
|
|
86
85
|
* @api GET https://gameinternationalization.roblox.com/v2/supported-languages/games/:gameId
|
|
@@ -88,20 +87,19 @@ const Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_
|
|
|
88
87
|
* @param gameId The id of the game.
|
|
89
88
|
*/
|
|
90
89
|
export const getSupportedLanguagesGamesGameid = endpoint({
|
|
91
|
-
method:
|
|
92
|
-
path:
|
|
93
|
-
baseUrl:
|
|
94
|
-
requestFormat:
|
|
90
|
+
method: 'GET',
|
|
91
|
+
path: '/v2/supported-languages/games/:gameId',
|
|
92
|
+
baseUrl: 'https://gameinternationalization.roblox.com',
|
|
93
|
+
requestFormat: 'json',
|
|
95
94
|
serializationMethod: {
|
|
96
95
|
gameId: {
|
|
97
|
-
style:
|
|
96
|
+
style: 'simple',
|
|
98
97
|
},
|
|
99
98
|
},
|
|
100
99
|
parameters: {
|
|
101
100
|
gameId: z.number().int(),
|
|
102
101
|
},
|
|
103
|
-
response:
|
|
104
|
-
Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageWithLocales_,
|
|
102
|
+
response: Roblox_Web_WebAPI_Models_ApiArrayResponse_Roblox_GameInternationalization_Api_LanguageWithLocales_,
|
|
105
103
|
errors: [
|
|
106
104
|
{
|
|
107
105
|
status: 400,
|