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.
Files changed (87) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +75 -451
  3. package/lib/endpoints/accountinformationv1.d.ts +92 -95
  4. package/lib/endpoints/accountsettingsv1.d.ts +88 -110
  5. package/lib/endpoints/adconfigurationv2.d.ts +108 -215
  6. package/lib/endpoints/assetdeliveryv1.d.ts +267 -230
  7. package/lib/endpoints/assetdeliveryv1.js +38 -0
  8. package/lib/endpoints/assetdeliveryv2.d.ts +201 -176
  9. package/lib/endpoints/assetdeliveryv2.js +26 -0
  10. package/lib/endpoints/authv1.d.ts +480 -517
  11. package/lib/endpoints/authv1.js +3 -1
  12. package/lib/endpoints/authv2.d.ts +210 -222
  13. package/lib/endpoints/authv2.js +1 -1
  14. package/lib/endpoints/authv3.d.ts +32 -35
  15. package/lib/endpoints/avatarv1.d.ts +112 -117
  16. package/lib/endpoints/avatarv2.d.ts +71 -76
  17. package/lib/endpoints/avatarv3.d.ts +27 -33
  18. package/lib/endpoints/badgesv1.d.ts +96 -99
  19. package/lib/endpoints/badgesv1.js +4 -0
  20. package/lib/endpoints/catalogv1.d.ts +209 -234
  21. package/lib/endpoints/catalogv1.js +2 -1
  22. package/lib/endpoints/catalogv2.d.ts +106 -136
  23. package/lib/endpoints/catalogv2.js +21 -17
  24. package/lib/endpoints/chatv2.d.ts +778 -778
  25. package/lib/endpoints/clientsettingsv1.d.ts +33 -35
  26. package/lib/endpoints/clientsettingsv2.d.ts +62 -68
  27. package/lib/endpoints/contactsv1.d.ts +18 -20
  28. package/lib/endpoints/developv1.d.ts +233 -293
  29. package/lib/endpoints/developv1.js +3 -0
  30. package/lib/endpoints/developv2.d.ts +87 -138
  31. package/lib/endpoints/developv2.js +3 -1
  32. package/lib/endpoints/economycreatorstatsv1.d.ts +12 -12
  33. package/lib/endpoints/economyv1.d.ts +6 -6
  34. package/lib/endpoints/engagementpayoutsv1.d.ts +9 -9
  35. package/lib/endpoints/followingsv1.d.ts +33 -34
  36. package/lib/endpoints/followingsv2.d.ts +9 -9
  37. package/lib/endpoints/friendsv1.d.ts +416 -545
  38. package/lib/endpoints/friendsv1.js +213 -313
  39. package/lib/endpoints/gameinternationalizationv1.d.ts +1509 -1642
  40. package/lib/endpoints/gameinternationalizationv2.d.ts +62 -64
  41. package/lib/endpoints/gamejoinv1.d.ts +458 -458
  42. package/lib/endpoints/gamesv1.d.ts +183 -143
  43. package/lib/endpoints/gamesv1.js +2 -0
  44. package/lib/endpoints/gamesv2.d.ts +161 -158
  45. package/lib/endpoints/gamesv2.js +9 -0
  46. package/lib/endpoints/groupsv1.d.ts +967 -976
  47. package/lib/endpoints/groupsv1.js +48 -4
  48. package/lib/endpoints/groupsv2.d.ts +259 -277
  49. package/lib/endpoints/groupsv2.js +1 -0
  50. package/lib/endpoints/inventoryv1.d.ts +93 -122
  51. package/lib/endpoints/inventoryv1.js +3 -1
  52. package/lib/endpoints/inventoryv2.d.ts +163 -178
  53. package/lib/endpoints/inventoryv2.js +2 -0
  54. package/lib/endpoints/itemconfigurationv1.d.ts +33 -40
  55. package/lib/endpoints/localev1.d.ts +47 -48
  56. package/lib/endpoints/localizationtablesv1.d.ts +315 -353
  57. package/lib/endpoints/matchmakingv1.d.ts +184 -190
  58. package/lib/endpoints/metricsv1.d.ts +88 -88
  59. package/lib/endpoints/notificationsv2.d.ts +144 -158
  60. package/lib/endpoints/premiumfeaturesv1.d.ts +14 -14
  61. package/lib/endpoints/presencev1.d.ts +7 -12
  62. package/lib/endpoints/privatemessagesv1.d.ts +56 -64
  63. package/lib/endpoints/publishv1.d.ts +32 -32
  64. package/lib/endpoints/thumbnailsresizerv1.d.ts +52 -53
  65. package/lib/endpoints/thumbnailsv1.d.ts +317 -361
  66. package/lib/endpoints/thumbnailsv1.js +25 -0
  67. package/lib/endpoints/tradesv1.d.ts +92 -104
  68. package/lib/endpoints/tradesv2.d.ts +81 -84
  69. package/lib/endpoints/translationrolesv1.d.ts +46 -51
  70. package/lib/endpoints/twostepverificationv1.d.ts +233 -237
  71. package/lib/endpoints/usersv1.d.ts +110 -114
  72. package/lib/index.d.ts +152 -4
  73. package/lib/index.js +273 -4
  74. package/lib/opencloud/v1/asset-permissions.d.ts +1 -1
  75. package/lib/opencloud/v1/assets.d.ts +9 -9
  76. package/lib/opencloud/v1/datastores-ordered.d.ts +6 -6
  77. package/lib/opencloud/v1/datastores.d.ts +8 -8
  78. package/lib/opencloud/v1/developer-products.d.ts +4 -4
  79. package/lib/opencloud/v1/game-passes.d.ts +4 -4
  80. package/lib/opencloud/v1/messaging.d.ts +1 -1
  81. package/lib/opencloud/v1/open-eval.d.ts +2 -2
  82. package/lib/opencloud/v1/secrets-store.d.ts +5 -5
  83. package/lib/opencloud/v1/toolbox.d.ts +2 -2
  84. package/lib/opencloud/v1/universes.d.ts +1 -1
  85. package/lib/opencloud/v2/cloud.d.ts +172 -84
  86. package/lib/opencloud/v2/cloud.js +25 -9
  87. package/package.json +2 -2
@@ -278,7 +278,6 @@ const ListMemoryStoreSortedMapItemsResponse = zod_1.z.object({
278
278
  memoryStoreSortedMapItems: zod_1.z.array(MemoryStoreSortedMapItem),
279
279
  nextPageToken: zod_1.z.string(),
280
280
  });
281
- const FlushMemoryStoreRequest = zod_1.z.object({});
282
281
  const GoogleProtobufAny = zod_1.z.object({ '@type': zod_1.z.string() });
283
282
  const Status = zod_1.z.object({
284
283
  code: zod_1.z.number().int(),
@@ -702,6 +701,10 @@ const UserNotification = zod_1.z.object({
702
701
  source: UserNotification_Source,
703
702
  payload: UserNotification_Payload,
704
703
  });
704
+ const FlushMemoryStoreResponse = zod_1.z.object({});
705
+ const ListInstanceChildrenResponse = zod_1.z.object({ instances: zod_1.z.array(Instance), nextPageToken: zod_1.z.string() });
706
+ const GenerateSpeechAssetResponse = zod_1.z.object({ assetId: zod_1.z.string(), remainingQuota: zod_1.z.number().int() });
707
+ const GenerateUserThumbnailResponse = zod_1.z.object({ imageUri: zod_1.z.string() });
705
708
  /**
706
709
  * `BETA`
707
710
  *
@@ -814,7 +817,7 @@ exports.getCloudV2GroupsGroupId = (0, __1.endpoint)({
814
817
  /**
815
818
  * `BETA`
816
819
  *
817
- * Lists forum categories in the group.
820
+ * Lists forum categories in the group. Supports filtering.
818
821
  *
819
822
  * **Scopes:** `group-forum:read`
820
823
  * **Engine:** Usable with HttpService
@@ -859,7 +862,7 @@ exports.getCloudV2GroupsGroupIdForumCategories = (0, __1.endpoint)({
859
862
  /**
860
863
  * `BETA`
861
864
  *
862
- * Lists forum posts in the group's forum category.
865
+ * Lists forum posts in the group's forum category. Supports filtering.
863
866
  *
864
867
  * **Scopes:** `group-forum:read`
865
868
  * **Engine:** Usable with HttpService
@@ -920,7 +923,7 @@ exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPosts = (0, __1.end
920
923
  /**
921
924
  * `BETA`
922
925
  *
923
- * Lists forum comments on a group's forum post.
926
+ * Lists forum comments on a group's forum post. Supports filtering.
924
927
  *
925
928
  * **Scopes:** `group-forum:read`
926
929
  * **Engine:** Usable with HttpService
@@ -974,7 +977,7 @@ exports.getCloudV2GroupsGroupIdForumCategoriesForumCategoryIdPostsPostIdComments
974
977
  /**
975
978
  * `BETA`
976
979
  *
977
- * List join requests under a group.
980
+ * List join requests under a group. Supports filtering.
978
981
  *
979
982
  * **Scopes:** `group:read`
980
983
  * **Engine:** Usable with HttpService
@@ -1082,7 +1085,7 @@ exports.postCloudV2GroupsGroupIdJoinRequestsJoinRequestIdDecline = (0, __1.endpo
1082
1085
  /**
1083
1086
  * `BETA`
1084
1087
  *
1085
- * List group members in a group.
1088
+ * List group members in a group. Supports filtering.
1086
1089
  *
1087
1090
  * **Engine:** Usable with HttpService
1088
1091
  *
@@ -1385,6 +1388,7 @@ exports.postCloudV2UniversesUniverseIdGenerateSpeechAsset = (0, __1.endpoint)({
1385
1388
  },
1386
1389
  body: GenerateSpeechAssetRequest,
1387
1390
  response: Operation,
1391
+ resultResponse: GenerateSpeechAssetResponse,
1388
1392
  errors: [],
1389
1393
  });
1390
1394
  /**
@@ -2422,8 +2426,15 @@ exports.postCloudV2UniversesUniverseIdLuauExecutionSessionTaskBinaryInputs = (0,
2422
2426
  * **Scopes:** `memory-store:flush`
2423
2427
  * **Engine:** Not available in-engine
2424
2428
  *
2425
- * @param body
2426
2429
  * @param universe_id The universe ID.
2430
+ * @param scope The scope of the memory store to flush.
2431
+
2432
+ Possible values:
2433
+
2434
+ | Value | Description |
2435
+ | --- | --- |
2436
+ | LIVE | Flush the live memory store scope. This is the default. |
2437
+ | TEST | Flush the test memory store scope. |
2427
2438
  */
2428
2439
  exports.postCloudV2UniversesUniverseIdMemoryStoreFlush = (0, __1.endpoint)({
2429
2440
  method: 'POST',
@@ -2432,14 +2443,15 @@ exports.postCloudV2UniversesUniverseIdMemoryStoreFlush = (0, __1.endpoint)({
2432
2443
  scopes: ['memory-store:flush'],
2433
2444
  requestFormat: 'json',
2434
2445
  serializationMethod: {
2435
- body: {},
2436
2446
  universe_id: {},
2447
+ scope: {},
2437
2448
  },
2438
2449
  parameters: {
2439
2450
  universe_id: zod_1.z.string(),
2451
+ scope: zod_1.z.enum(['LIVE', 'TEST']).optional(),
2440
2452
  },
2441
- body: zod_1.z.object({}),
2442
2453
  response: Operation,
2454
+ resultResponse: FlushMemoryStoreResponse,
2443
2455
  errors: [],
2444
2456
  });
2445
2457
  /**
@@ -3127,6 +3139,7 @@ exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = (0, __1.
3127
3139
  instance_id: zod_1.z.string(),
3128
3140
  },
3129
3141
  response: Operation,
3142
+ resultResponse: Instance,
3130
3143
  errors: [],
3131
3144
  });
3132
3145
  /**
@@ -3167,6 +3180,7 @@ exports.patchCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceId = (0, __
3167
3180
  },
3168
3181
  body: Instance.partial(),
3169
3182
  response: Operation,
3183
+ resultResponse: Instance,
3170
3184
  errors: [],
3171
3185
  });
3172
3186
  /**
@@ -3218,6 +3232,7 @@ exports.getCloudV2UniversesUniverseIdPlacesPlaceIdInstancesInstanceIdListChildre
3218
3232
  pageToken: zod_1.z.string().optional(),
3219
3233
  },
3220
3234
  response: Operation,
3235
+ resultResponse: ListInstanceChildrenResponse,
3221
3236
  errors: [],
3222
3237
  });
3223
3238
  /**
@@ -3849,6 +3864,7 @@ exports.getCloudV2UsersUserIdGenerateThumbnail = (0, __1.endpoint)({
3849
3864
  shape: zod_1.z.enum(['SHAPE_UNSPECIFIED', 'ROUND', 'SQUARE']).optional(),
3850
3865
  },
3851
3866
  response: Operation,
3867
+ resultResponse: GenerateUserThumbnailResponse,
3852
3868
  errors: [],
3853
3869
  });
3854
3870
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rozod",
3
- "version": "6.7.1",
3
+ "version": "6.9.0",
4
4
  "description": "A TypeScript wrapper for the Roblox API",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -50,7 +50,7 @@
50
50
  "scripts": {
51
51
  "test": "jest --config jestconfig.json",
52
52
  "test:exports": "npm run build && node scripts/smoke-test-exports.mjs",
53
- "build": "tsc && tsc --project tsconfig.declarations.json",
53
+ "build": "tsc && tsc --project tsconfig.declarations.json && node scripts/copy-endpoint-declarations.mjs",
54
54
  "format": "prettier --write \"src/**/*.ts\"",
55
55
  "prepare": "npm run build",
56
56
  "prepublishOnly": "npm test && npm run test:exports",