rozod 6.5.1 → 6.7.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/README.md +11 -11
- package/lib/endpoints/authv1.d.ts +1 -1
- package/lib/endpoints/authv1.js +1 -1
- package/lib/endpoints/authv2.d.ts +1 -1
- package/lib/endpoints/authv2.js +1 -1
- package/lib/endpoints/catalogv1.d.ts +2 -0
- package/lib/endpoints/catalogv1.js +2 -0
- package/lib/endpoints/catalogv2.d.ts +1 -0
- package/lib/endpoints/catalogv2.js +1 -0
- package/lib/endpoints/friendsv1.d.ts +45 -0
- package/lib/endpoints/friendsv1.js +46 -1
- package/lib/endpoints/gameinternationalizationv1.d.ts +1 -0
- package/lib/endpoints/gameinternationalizationv1.js +1 -0
- package/lib/endpoints/gamesv1.d.ts +0 -98
- package/lib/endpoints/gamesv2.d.ts +1 -0
- package/lib/endpoints/gamesv2.js +1 -0
- package/lib/endpoints/groupsv1.d.ts +174 -0
- package/lib/endpoints/groupsv1.js +171 -2
- package/lib/endpoints/groupsv2.d.ts +20 -0
- package/lib/endpoints/groupsv2.js +20 -0
- package/lib/index.js +26 -3
- package/lib/opencloud/v2/cloud.d.ts +58 -27
- package/lib/opencloud/v2/cloud.js +72 -42
- package/package.json +108 -64
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.postCloudV2UsersUserIdNotifications = exports.getCloudV2UsersUserIdInventoryItems = exports.getCloudV2UsersUserIdAssetQuotas = exports.getCloudV2UsersUserIdGenerateThumbnail = exports.getCloudV2UsersUserId = exports.patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsListLogs = exports.getCloudV2UniversesUniverseIdUserRestrictions = exports.getCloudV2UniversesUniverseIdSubscriptionProductsSubscriptionProductIdSubscriptionsSubscriptionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskIdLogs = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskId = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionTasks = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictions = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdLuauExecutionSessionTasks = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceIdListChildren = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.patchCloudV2UniversesUniverseIdPlacesPlaceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = void 0;
|
|
3
|
+
exports.patchCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.deleteCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItemsItemId = exports.postCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreSortedMapsSortedMapIdItems = exports.getCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsRead = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItemsDiscard = exports.postCloudV2UniversesUniverseIdMemoryStoreQueuesQueueIdItems = exports.postCloudV2UniversesUniverseIdMemoryStoreFlush = exports.postCloudV2UniversesUniverseIdLuauExecutionSessionTaskBinaryInputs = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdListRevisions = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.getCloudV2UniversesUniverseIdDataStoresDataStoreIdEntries = exports.postCloudV2UniversesUniverseIdDataStoresDataStoreIdUndelete = exports.deleteCloudV2UniversesUniverseIdDataStoresDataStoreId = exports.postCloudV2UniversesUniverseIdDataStoresSnapshot = exports.getCloudV2UniversesUniverseIdDataStores = exports.postCloudV2UniversesUniverseIdTranslateText = exports.postCloudV2UniversesUniverseIdRestartServers = exports.postCloudV2UniversesUniverseIdPublishMessage = exports.postCloudV2UniversesUniverseIdGenerateSpeechAsset = exports.patchCloudV2UniversesUniverseId = exports.getCloudV2UniversesUniverseId = exports.getCloudV2GroupsGroupIdRolesRoleId = exports.getCloudV2GroupsGroupIdRoles = exports.postCloudV2GroupsGroupIdMembershipsMembershipIdUnassignRole = exports.postCloudV2GroupsGroupIdMembershipsMembershipIdAssignRole = exports.patchCloudV2GroupsGroupIdMembershipsMembershipId = exports.getCloudV2GroupsGroupIdMemberships = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdDecline = exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdAccept = exports.getCloudV2GroupsGroupIdJoinRequests = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPostsPostIdComments = exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPosts = exports.getCloudV2GroupsGroupIdForumCategories = exports.getCloudV2GroupsGroupId = exports.patchCloudV2CreatorStoreProductsCreatorStoreProductId = exports.getCloudV2CreatorStoreProductsCreatorStoreProductId = exports.postCloudV2CreatorStoreProducts = void 0;
|
|
4
|
+
exports.postCloudV2UsersUserIdNotifications = exports.getCloudV2UsersUserIdInventoryItems = exports.getCloudV2UsersUserIdAssetQuotas = exports.getCloudV2UsersUserIdGenerateThumbnail = exports.getCloudV2UsersUserId = exports.patchCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdUserRestrictionsListLogs = exports.getCloudV2UniversesUniverseIdUserRestrictions = exports.getCloudV2UniversesUniverseIdSubscriptionProductsSubscriptionProductIdSubscriptionsSubscriptionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskIdLogs = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionsLuauExecutionSessionIdTasksTaskId = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdVersionsVersionIdLuauExecutionSessionTasks = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictionsUserRestrictionId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdUserRestrictions = exports.postCloudV2UniversesUniverseIdPlacesPlaceIdLuauExecutionSessionTasks = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceIdListChildren = exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = exports.patchCloudV2UniversesUniverseIdPlacesPlaceId = exports.getCloudV2UniversesUniverseIdPlacesPlaceId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryIdIncrement = exports.patchCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.deleteCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntriesEntryId = exports.postCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = exports.getCloudV2UniversesUniverseIdOrderedDataStoresOrderedDataStoreIdScopesScopeIdEntries = void 0;
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
const __1 = require("../..");
|
|
7
7
|
const Decimal = zod_1.z.object({
|
|
@@ -114,11 +114,14 @@ const GroupMembership = zod_1.z.object({
|
|
|
114
114
|
updateTime: zod_1.z.string().datetime({ offset: true }),
|
|
115
115
|
user: zod_1.z.string(),
|
|
116
116
|
role: zod_1.z.string(),
|
|
117
|
+
roles: zod_1.z.array(zod_1.z.string()),
|
|
117
118
|
});
|
|
118
119
|
const ListGroupMembershipsResponse = zod_1.z.object({
|
|
119
120
|
groupMemberships: zod_1.z.array(GroupMembership),
|
|
120
121
|
nextPageToken: zod_1.z.string(),
|
|
121
122
|
});
|
|
123
|
+
const AssignRoleGroupMembershipRequest = zod_1.z.object({ role: zod_1.z.string() });
|
|
124
|
+
const UnassignRoleGroupMembershipRequest = zod_1.z.object({ role: zod_1.z.string() });
|
|
122
125
|
const GroupRole_RolePermissions = zod_1.z.object({
|
|
123
126
|
viewWallPosts: zod_1.z.boolean(),
|
|
124
127
|
createWallPosts: zod_1.z.boolean(),
|
|
@@ -166,13 +169,6 @@ const ListGroupRolesResponse = zod_1.z.object({
|
|
|
166
169
|
groupRoles: zod_1.z.array(GroupRole),
|
|
167
170
|
nextPageToken: zod_1.z.string(),
|
|
168
171
|
});
|
|
169
|
-
const GroupShout = zod_1.z.object({
|
|
170
|
-
path: zod_1.z.string(),
|
|
171
|
-
createTime: zod_1.z.string().datetime({ offset: true }),
|
|
172
|
-
updateTime: zod_1.z.string().datetime({ offset: true }),
|
|
173
|
-
content: zod_1.z.string(),
|
|
174
|
-
poster: zod_1.z.string(),
|
|
175
|
-
});
|
|
176
172
|
const Universe_SocialLink = zod_1.z.object({ title: zod_1.z.string(), uri: zod_1.z.string() });
|
|
177
173
|
const Universe = zod_1.z.object({
|
|
178
174
|
path: zod_1.z.string().optional(),
|
|
@@ -434,7 +430,7 @@ const Subscription = zod_1.z.object({
|
|
|
434
430
|
]),
|
|
435
431
|
expirationDetails: Subscription_ExpirationDetails,
|
|
436
432
|
purchasePlatform: zod_1.z.enum(['PURCHASE_PLATFORM_UNSPECIFIED', 'DESKTOP', 'MOBILE']),
|
|
437
|
-
paymentProvider: zod_1.z.enum(['PAYMENT_PROVIDER_UNSPECIFIED', 'STRIPE', 'APPLE', 'GOOGLE', 'ROBLOX_CREDIT']),
|
|
433
|
+
paymentProvider: zod_1.z.enum(['PAYMENT_PROVIDER_UNSPECIFIED', 'STRIPE', 'APPLE', 'GOOGLE', 'ROBLOX_CREDIT', 'ROBUX']),
|
|
438
434
|
user: zod_1.z.string(),
|
|
439
435
|
});
|
|
440
436
|
const UserRestrictionLog_Moderator_GameServerScript = zod_1.z.object({});
|
|
@@ -1127,7 +1123,8 @@ exports.getCloudV2GroupsGroupIdMemberships = (0, __1.endpoint)({
|
|
|
1127
1123
|
/**
|
|
1128
1124
|
* `BETA`
|
|
1129
1125
|
*
|
|
1130
|
-
*
|
|
1126
|
+
* **Deprecated.** Use AssignGroupRole and UnassignGroupRole instead.
|
|
1127
|
+
Updates the group membership for a particular group member. This action
|
|
1131
1128
|
requires the requester to be able to manage lower ranked members. Guest or
|
|
1132
1129
|
Owner ranks cannot be assigned, and a requester cannot change their own
|
|
1133
1130
|
rank.
|
|
@@ -1158,6 +1155,70 @@ exports.patchCloudV2GroupsGroupIdMembershipsMembershipId = (0, __1.endpoint)({
|
|
|
1158
1155
|
response: GroupMembership,
|
|
1159
1156
|
errors: [],
|
|
1160
1157
|
});
|
|
1158
|
+
/**
|
|
1159
|
+
* `BETA`
|
|
1160
|
+
*
|
|
1161
|
+
* Assigns a specific role to a user within a group. If the user already
|
|
1162
|
+
holds the specified role, no action is taken.
|
|
1163
|
+
*
|
|
1164
|
+
* **Scopes:** `group:write`
|
|
1165
|
+
* **Engine:** Usable with HttpService
|
|
1166
|
+
*
|
|
1167
|
+
* @param body
|
|
1168
|
+
* @param group_id The group ID.
|
|
1169
|
+
* @param membership_id The membership ID.
|
|
1170
|
+
*/
|
|
1171
|
+
exports.postCloudV2GroupsGroupIdMembershipsMembershipIdAssignRole = (0, __1.endpoint)({
|
|
1172
|
+
method: 'POST',
|
|
1173
|
+
path: '/cloud/v2/groups/:group_id/memberships/:membership_id:assignRole',
|
|
1174
|
+
baseUrl: 'https://apis.roblox.com',
|
|
1175
|
+
scopes: ['group:write'],
|
|
1176
|
+
requestFormat: 'json',
|
|
1177
|
+
serializationMethod: {
|
|
1178
|
+
body: {},
|
|
1179
|
+
group_id: {},
|
|
1180
|
+
membership_id: {},
|
|
1181
|
+
},
|
|
1182
|
+
parameters: {
|
|
1183
|
+
group_id: zod_1.z.string(),
|
|
1184
|
+
membership_id: zod_1.z.string(),
|
|
1185
|
+
},
|
|
1186
|
+
body: zod_1.z.object({ role: zod_1.z.string() }),
|
|
1187
|
+
response: GroupMembership,
|
|
1188
|
+
errors: [],
|
|
1189
|
+
});
|
|
1190
|
+
/**
|
|
1191
|
+
* `BETA`
|
|
1192
|
+
*
|
|
1193
|
+
* Unassigns a specific role from a user within a group. If the user does
|
|
1194
|
+
not hold the specified role, no action is taken.
|
|
1195
|
+
*
|
|
1196
|
+
* **Scopes:** `group:write`
|
|
1197
|
+
* **Engine:** Usable with HttpService
|
|
1198
|
+
*
|
|
1199
|
+
* @param body
|
|
1200
|
+
* @param group_id The group ID.
|
|
1201
|
+
* @param membership_id The membership ID.
|
|
1202
|
+
*/
|
|
1203
|
+
exports.postCloudV2GroupsGroupIdMembershipsMembershipIdUnassignRole = (0, __1.endpoint)({
|
|
1204
|
+
method: 'POST',
|
|
1205
|
+
path: '/cloud/v2/groups/:group_id/memberships/:membership_id:unassignRole',
|
|
1206
|
+
baseUrl: 'https://apis.roblox.com',
|
|
1207
|
+
scopes: ['group:write'],
|
|
1208
|
+
requestFormat: 'json',
|
|
1209
|
+
serializationMethod: {
|
|
1210
|
+
body: {},
|
|
1211
|
+
group_id: {},
|
|
1212
|
+
membership_id: {},
|
|
1213
|
+
},
|
|
1214
|
+
parameters: {
|
|
1215
|
+
group_id: zod_1.z.string(),
|
|
1216
|
+
membership_id: zod_1.z.string(),
|
|
1217
|
+
},
|
|
1218
|
+
body: zod_1.z.object({ role: zod_1.z.string() }),
|
|
1219
|
+
response: GroupMembership,
|
|
1220
|
+
errors: [],
|
|
1221
|
+
});
|
|
1161
1222
|
/**
|
|
1162
1223
|
* `BETA`
|
|
1163
1224
|
*
|
|
@@ -1233,37 +1294,6 @@ exports.getCloudV2GroupsGroupIdRolesRoleId = (0, __1.endpoint)({
|
|
|
1233
1294
|
response: GroupRole,
|
|
1234
1295
|
errors: [],
|
|
1235
1296
|
});
|
|
1236
|
-
/**
|
|
1237
|
-
* `BETA`
|
|
1238
|
-
*
|
|
1239
|
-
* Gets the group shout.
|
|
1240
|
-
|
|
1241
|
-
If a guest can view the group shout, this is always retrievable.
|
|
1242
|
-
|
|
1243
|
-
If a guest cannot, a member who has the permissions to view the group
|
|
1244
|
-
shout, along with the `group:read` scope, will be able to read the group
|
|
1245
|
-
shout.
|
|
1246
|
-
*
|
|
1247
|
-
* **Scopes:** `group:read`
|
|
1248
|
-
* **Engine:** Usable with HttpService
|
|
1249
|
-
*
|
|
1250
|
-
* @param group_id The group ID.
|
|
1251
|
-
*/
|
|
1252
|
-
exports.getCloudV2GroupsGroupIdShout = (0, __1.endpoint)({
|
|
1253
|
-
method: 'GET',
|
|
1254
|
-
path: '/cloud/v2/groups/:group_id/shout',
|
|
1255
|
-
baseUrl: 'https://apis.roblox.com',
|
|
1256
|
-
scopes: ['group:read'],
|
|
1257
|
-
requestFormat: 'json',
|
|
1258
|
-
serializationMethod: {
|
|
1259
|
-
group_id: {},
|
|
1260
|
-
},
|
|
1261
|
-
parameters: {
|
|
1262
|
-
group_id: zod_1.z.string(),
|
|
1263
|
-
},
|
|
1264
|
-
response: GroupShout,
|
|
1265
|
-
errors: [],
|
|
1266
|
-
});
|
|
1267
1297
|
/**
|
|
1268
1298
|
* `STABLE`
|
|
1269
1299
|
*
|
package/package.json
CHANGED
|
@@ -1,64 +1,108 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "rozod",
|
|
3
|
-
"version": "6.
|
|
4
|
-
"description": "A TypeScript wrapper for the Roblox API",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"types": "lib/index.d.ts",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "rozod",
|
|
3
|
+
"version": "6.7.0",
|
|
4
|
+
"description": "A TypeScript wrapper for the Roblox API",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"types": "lib/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./lib/index.d.ts",
|
|
10
|
+
"default": "./lib/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./endpoints/*": {
|
|
13
|
+
"types": "./lib/endpoints/*.d.ts",
|
|
14
|
+
"default": "./lib/endpoints/*.js"
|
|
15
|
+
},
|
|
16
|
+
"./endpoints/*.js": {
|
|
17
|
+
"types": "./lib/endpoints/*.d.ts",
|
|
18
|
+
"default": "./lib/endpoints/*.js"
|
|
19
|
+
},
|
|
20
|
+
"./opencloud": {
|
|
21
|
+
"types": "./lib/opencloud/index.d.ts",
|
|
22
|
+
"default": "./lib/opencloud/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./opencloud/*": {
|
|
25
|
+
"types": "./lib/opencloud/*.d.ts",
|
|
26
|
+
"default": "./lib/opencloud/*.js"
|
|
27
|
+
},
|
|
28
|
+
"./opencloud/*.js": {
|
|
29
|
+
"types": "./lib/opencloud/*.d.ts",
|
|
30
|
+
"default": "./lib/opencloud/*.js"
|
|
31
|
+
},
|
|
32
|
+
"./cache": {
|
|
33
|
+
"types": "./lib/cache.d.ts",
|
|
34
|
+
"default": "./lib/cache.js"
|
|
35
|
+
},
|
|
36
|
+
"./lib/opencloud": {
|
|
37
|
+
"types": "./lib/opencloud/index.d.ts",
|
|
38
|
+
"default": "./lib/opencloud/index.js"
|
|
39
|
+
},
|
|
40
|
+
"./lib/*": {
|
|
41
|
+
"types": "./lib/*.d.ts",
|
|
42
|
+
"default": "./lib/*.js"
|
|
43
|
+
},
|
|
44
|
+
"./lib/*.js": {
|
|
45
|
+
"types": "./lib/*.d.ts",
|
|
46
|
+
"default": "./lib/*.js"
|
|
47
|
+
},
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"test": "jest --config jestconfig.json",
|
|
52
|
+
"test:exports": "npm run build && node scripts/smoke-test-exports.mjs",
|
|
53
|
+
"build": "tsc && tsc --project tsconfig.declarations.json",
|
|
54
|
+
"format": "prettier --write \"src/**/*.ts\"",
|
|
55
|
+
"prepare": "npm run build",
|
|
56
|
+
"prepublishOnly": "npm test && npm run test:exports",
|
|
57
|
+
"version": "npm run format && git add -A src",
|
|
58
|
+
"generate": "node ./zodios_endpoints.js",
|
|
59
|
+
"docs": "cd docs && node scripts/generate-reference.mjs && bunx astro build",
|
|
60
|
+
"docs:dev": "cd docs && node scripts/generate-reference.mjs && bunx astro dev",
|
|
61
|
+
"docs:preview": "cd docs && bunx astro preview"
|
|
62
|
+
},
|
|
63
|
+
"author": "AlroviOfficial",
|
|
64
|
+
"license": "ISC",
|
|
65
|
+
"dependencies": {
|
|
66
|
+
"parse-roblox-errors": "^1.2.2",
|
|
67
|
+
"roblox-bat": "^0.6.5",
|
|
68
|
+
"zod": "^4.3.6"
|
|
69
|
+
},
|
|
70
|
+
"repository": {
|
|
71
|
+
"url": "https://github.com/AlroviOfficial/RoZod"
|
|
72
|
+
},
|
|
73
|
+
"bugs": {
|
|
74
|
+
"url": "https://github.com/AlroviOfficial/RoZod/issues"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@alexop/openapi-zod-client": "^1.11.2",
|
|
78
|
+
"@apidevtools/swagger-parser": "^10.1.1",
|
|
79
|
+
"@types/jest": "^29.5.14",
|
|
80
|
+
"@types/node": "^20.19.39",
|
|
81
|
+
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
82
|
+
"@typescript-eslint/parser": "^8.58.0",
|
|
83
|
+
"@zodios/plugins": "^10.6.0",
|
|
84
|
+
"eslint": "^9.39.4",
|
|
85
|
+
"eslint-config-prettier": "^9.1.2",
|
|
86
|
+
"eslint-plugin-jsdoc": "^50.8.0",
|
|
87
|
+
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
88
|
+
"eslint-plugin-react": "^7.37.5",
|
|
89
|
+
"handlebars": "^4.7.9",
|
|
90
|
+
"jest": "^29.7.0",
|
|
91
|
+
"p-limit": "^6.2.0",
|
|
92
|
+
"prettier": "^3.8.1",
|
|
93
|
+
"swagger2openapi": "^7.0.8",
|
|
94
|
+
"ts-jest": "^29.4.9",
|
|
95
|
+
"typescript": "^5.9.3"
|
|
96
|
+
},
|
|
97
|
+
"keywords": [
|
|
98
|
+
"roblox",
|
|
99
|
+
"bot",
|
|
100
|
+
"api",
|
|
101
|
+
"roblox-api",
|
|
102
|
+
"zod",
|
|
103
|
+
"typescript"
|
|
104
|
+
],
|
|
105
|
+
"files": [
|
|
106
|
+
"lib/**/*"
|
|
107
|
+
]
|
|
108
|
+
}
|