rozod 2.0.0 → 2.0.2

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 (62) hide show
  1. package/lib/endpoints/accountinformationv1.d.ts +55 -15
  2. package/lib/endpoints/accountinformationv1.js +193 -128
  3. package/lib/endpoints/accountsettingsv1.d.ts +60 -6
  4. package/lib/endpoints/accountsettingsv1.js +204 -118
  5. package/lib/endpoints/assetdeliveryv1.d.ts +431 -0
  6. package/lib/endpoints/assetdeliveryv1.js +442 -10
  7. package/lib/endpoints/assetdeliveryv2.d.ts +431 -0
  8. package/lib/endpoints/assetdeliveryv2.js +443 -12
  9. package/lib/endpoints/authv1.d.ts +162 -36
  10. package/lib/endpoints/authv1.js +399 -201
  11. package/lib/endpoints/authv2.d.ts +108 -0
  12. package/lib/endpoints/authv2.js +353 -160
  13. package/lib/endpoints/authv3.d.ts +6 -0
  14. package/lib/endpoints/authv3.js +16 -8
  15. package/lib/endpoints/avatarv1.d.ts +94 -0
  16. package/lib/endpoints/avatarv1.js +239 -111
  17. package/lib/endpoints/avatarv2.d.ts +26 -0
  18. package/lib/endpoints/avatarv2.js +109 -59
  19. package/lib/endpoints/avatarv3.d.ts +20 -0
  20. package/lib/endpoints/avatarv3.js +83 -41
  21. package/lib/endpoints/badgesv1.d.ts +80 -3
  22. package/lib/endpoints/badgesv1.js +137 -51
  23. package/lib/endpoints/catalogv1.d.ts +183 -25
  24. package/lib/endpoints/catalogv1.js +307 -131
  25. package/lib/endpoints/chatv2.d.ts +105 -0
  26. package/lib/endpoints/chatv2.js +219 -114
  27. package/lib/endpoints/developv1.d.ts +411 -36
  28. package/lib/endpoints/developv1.js +707 -254
  29. package/lib/endpoints/developv2.d.ts +46 -0
  30. package/lib/endpoints/developv2.js +108 -36
  31. package/lib/endpoints/economyv1.js +7 -7
  32. package/lib/endpoints/friendsv1.d.ts +147 -0
  33. package/lib/endpoints/friendsv1.js +309 -114
  34. package/lib/endpoints/gamejoinv1.d.ts +2321 -0
  35. package/lib/endpoints/gamejoinv1.js +416 -0
  36. package/lib/endpoints/gamesv1.d.ts +319 -14
  37. package/lib/endpoints/gamesv1.js +531 -188
  38. package/lib/endpoints/gamesv2.d.ts +89 -0
  39. package/lib/endpoints/gamesv2.js +108 -19
  40. package/lib/endpoints/groupsv1.d.ts +602 -94
  41. package/lib/endpoints/groupsv1.js +1131 -456
  42. package/lib/endpoints/groupsv2.d.ts +33 -0
  43. package/lib/endpoints/groupsv2.js +74 -37
  44. package/lib/endpoints/inventoryv1.d.ts +108 -9
  45. package/lib/endpoints/inventoryv1.js +166 -45
  46. package/lib/endpoints/inventoryv2.d.ts +62 -1
  47. package/lib/endpoints/inventoryv2.js +91 -26
  48. package/lib/endpoints/presencev1.d.ts +14 -5
  49. package/lib/endpoints/presencev1.js +30 -21
  50. package/lib/endpoints/privatemessagesv1.d.ts +39 -0
  51. package/lib/endpoints/privatemessagesv1.js +90 -51
  52. package/lib/endpoints/thumbnailsv1.d.ts +309 -21
  53. package/lib/endpoints/thumbnailsv1.js +410 -63
  54. package/lib/endpoints/tradesv1.d.ts +51 -0
  55. package/lib/endpoints/tradesv1.js +148 -59
  56. package/lib/endpoints/translationsv1.d.ts +33 -0
  57. package/lib/endpoints/translationsv1.js +49 -14
  58. package/lib/endpoints/usersv1.d.ts +67 -0
  59. package/lib/endpoints/usersv1.js +138 -58
  60. package/lib/index.d.ts +4 -0
  61. package/lib/index.js +151 -240
  62. package/package.json +6 -3
@@ -1,28 +1,28 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.postUpdateUserTypingStatus = exports.postStartOneToOneConversation = exports.postStartGroupConversation = exports.postStartCloudEditConversation = exports.postSetConversationUniverse = exports.postSendMessage = exports.postSendGameLinkMessage = exports.postResetConversationUniverse = exports.postRenameGroupConversation = exports.postRemoveFromConversation = exports.getMultiGetLatestMessages = exports.getMetadata = exports.postMarkAsSeen = exports.postMarkAsRead = exports.getGetUserConversations = exports.getGetUnreadMessages = exports.getGetUnreadConversations = exports.getGetUnreadConversationCount = exports.getGetRolloutSettings = exports.getGetMessages = exports.getGetConversations = exports.getChatSettings = exports.postAddToConversation = void 0;
4
- var zod_1 = require("zod");
5
- var Roblox_Chat_Api_Models_ChatSettingsResponse = zod_1.z.object({
4
+ const zod_1 = require("zod");
5
+ const Roblox_Chat_Api_Models_ChatSettingsResponse = zod_1.z.object({
6
6
  chatEnabled: zod_1.z.boolean(),
7
7
  isActiveChatUser: zod_1.z.boolean(),
8
8
  isConnectTabEnabled: zod_1.z.boolean(),
9
9
  });
10
- var Roblox_Chat_Api_Models_ChatParticipant = zod_1.z.object({
10
+ const Roblox_Chat_Api_Models_ChatParticipant = zod_1.z.object({
11
11
  type: zod_1.z.enum(['User', 'System']),
12
12
  targetId: zod_1.z.number().int(),
13
13
  name: zod_1.z.string(),
14
14
  displayName: zod_1.z.string(),
15
15
  hasVerifiedBadge: zod_1.z.boolean(),
16
16
  });
17
- var Roblox_Chat_Api_Models_ConversationTitle = zod_1.z.object({
17
+ const Roblox_Chat_Api_Models_ConversationTitle = zod_1.z.object({
18
18
  titleForViewer: zod_1.z.string(),
19
19
  isDefaultTitle: zod_1.z.boolean(),
20
20
  });
21
- var Roblox_Chat_Api_Models_ConversationUniverse = zod_1.z.object({
21
+ const Roblox_Chat_Api_Models_ConversationUniverse = zod_1.z.object({
22
22
  universeId: zod_1.z.number().int(),
23
23
  rootPlaceId: zod_1.z.number().int(),
24
24
  });
25
- var Roblox_Chat_Api_Models_Conversation = zod_1.z.object({
25
+ const Roblox_Chat_Api_Models_Conversation = zod_1.z.object({
26
26
  id: zod_1.z.number().int(),
27
27
  title: zod_1.z.string(),
28
28
  initiator: Roblox_Chat_Api_Models_ChatParticipant,
@@ -33,22 +33,22 @@ var Roblox_Chat_Api_Models_Conversation = zod_1.z.object({
33
33
  lastUpdated: zod_1.z.string().datetime(),
34
34
  conversationUniverse: Roblox_Chat_Api_Models_ConversationUniverse,
35
35
  });
36
- var Roblox_Chat_Api_Models_GameLink = zod_1.z.object({
36
+ const Roblox_Chat_Api_Models_GameLink = zod_1.z.object({
37
37
  universeId: zod_1.z.number().int(),
38
38
  });
39
- var Roblox_Chat_Api_Models_Link = zod_1.z.object({
39
+ const Roblox_Chat_Api_Models_Link = zod_1.z.object({
40
40
  type: zod_1.z.literal('Game'),
41
41
  game: Roblox_Chat_Api_Models_GameLink,
42
42
  });
43
- var Roblox_Chat_Api_Models_SetConversationUniverseEventBased = zod_1.z.object({
43
+ const Roblox_Chat_Api_Models_SetConversationUniverseEventBased = zod_1.z.object({
44
44
  actorUserId: zod_1.z.number().int(),
45
45
  universeId: zod_1.z.number().int(),
46
46
  });
47
- var Roblox_Chat_Api_Models_EventBased = zod_1.z.object({
47
+ const Roblox_Chat_Api_Models_EventBased = zod_1.z.object({
48
48
  type: zod_1.z.literal('SetConversationUniverse'),
49
49
  setConversationUniverse: Roblox_Chat_Api_Models_SetConversationUniverseEventBased,
50
50
  });
51
- var Roblox_Chat_Api_Models_ChatMessage = zod_1.z.object({
51
+ const Roblox_Chat_Api_Models_ChatMessage = zod_1.z.object({
52
52
  id: zod_1.z.string().uuid(),
53
53
  senderType: zod_1.z.enum(['User', 'System']),
54
54
  sent: zod_1.z.string().datetime(),
@@ -60,21 +60,21 @@ var Roblox_Chat_Api_Models_ChatMessage = zod_1.z.object({
60
60
  link: Roblox_Chat_Api_Models_Link,
61
61
  eventBased: Roblox_Chat_Api_Models_EventBased,
62
62
  });
63
- var Roblox_Chat_Api_Models_RolloutSettingModel = zod_1.z.object({
63
+ const Roblox_Chat_Api_Models_RolloutSettingModel = zod_1.z.object({
64
64
  featureName: zod_1.z.enum(['LuaChat', 'ConversationUniverse', 'PlayTogether', 'Party', 'GameLink', 'OldPlayTogether']),
65
65
  isRolloutEnabled: zod_1.z.boolean(),
66
66
  });
67
- var Roblox_Chat_Api_Models_RolloutSettingsResponse = zod_1.z.object({
67
+ const Roblox_Chat_Api_Models_RolloutSettingsResponse = zod_1.z.object({
68
68
  rolloutFeatures: zod_1.z.array(Roblox_Chat_Api_Models_RolloutSettingModel),
69
69
  });
70
- var Roblox_Chat_Api_Models_UnreadConversationCountResponse = zod_1.z.object({
70
+ const Roblox_Chat_Api_Models_UnreadConversationCountResponse = zod_1.z.object({
71
71
  count: zod_1.z.number().int(),
72
72
  });
73
- var Roblox_Chat_Api_Models_MultigetConversationMessagesResponse = zod_1.z.object({
73
+ const Roblox_Chat_Api_Models_MultigetConversationMessagesResponse = zod_1.z.object({
74
74
  conversationId: zod_1.z.number().int(),
75
75
  chatMessages: zod_1.z.array(Roblox_Chat_Api_Models_ChatMessage),
76
76
  });
77
- var Roblox_Chat_Api_Models_ChatMetadataResponse = zod_1.z.object({
77
+ const Roblox_Chat_Api_Models_ChatMetadataResponse = zod_1.z.object({
78
78
  isChatEnabledByPrivacySetting: zod_1.z.union([zod_1.z.literal(0), zod_1.z.literal(1), zod_1.z.literal(2)]),
79
79
  languageForPrivacySettingUnavailable: zod_1.z.string(),
80
80
  maxConversationTitleLength: zod_1.z.number().int(),
@@ -97,11 +97,11 @@ var Roblox_Chat_Api_Models_ChatMetadataResponse = zod_1.z.object({
97
97
  isPlayTogetherForGameCardsEnabled: zod_1.z.boolean(),
98
98
  isRoactChatEnabled: zod_1.z.boolean(),
99
99
  });
100
- var Roblox_Chat_Api_Models_AddUsersToConversationRequest = zod_1.z.object({
100
+ const Roblox_Chat_Api_Models_AddUsersToConversationRequest = zod_1.z.object({
101
101
  participantUserIds: zod_1.z.array(zod_1.z.number()),
102
102
  conversationId: zod_1.z.number().int(),
103
103
  });
104
- var Roblox_Chat_Api_Models_RejectedChatParticipant = zod_1.z.object({
104
+ const Roblox_Chat_Api_Models_RejectedChatParticipant = zod_1.z.object({
105
105
  rejectedReason: zod_1.z.string(),
106
106
  type: zod_1.z.enum(['User', 'System']),
107
107
  targetId: zod_1.z.number().int(),
@@ -109,51 +109,51 @@ var Roblox_Chat_Api_Models_RejectedChatParticipant = zod_1.z.object({
109
109
  displayName: zod_1.z.string(),
110
110
  hasVerifiedBadge: zod_1.z.boolean(),
111
111
  });
112
- var Roblox_Chat_Api_Models_AddUserToConversationResponse = zod_1.z.object({
112
+ const Roblox_Chat_Api_Models_AddUserToConversationResponse = zod_1.z.object({
113
113
  conversationId: zod_1.z.number().int(),
114
114
  rejectedParticipants: zod_1.z.array(Roblox_Chat_Api_Models_RejectedChatParticipant),
115
115
  resultType: zod_1.z.literal('Success'),
116
116
  statusMessage: zod_1.z.string(),
117
117
  });
118
- var Roblox_Chat_Api_Models_MarkAsReadRequest = zod_1.z.object({
118
+ const Roblox_Chat_Api_Models_MarkAsReadRequest = zod_1.z.object({
119
119
  conversationId: zod_1.z.number().int(),
120
120
  endMessageId: zod_1.z.string(),
121
121
  });
122
- var Roblox_Chat_Api_Models_MarkAsReadResponse = zod_1.z.object({
122
+ const Roblox_Chat_Api_Models_MarkAsReadResponse = zod_1.z.object({
123
123
  resultType: zod_1.z.literal('Success'),
124
124
  });
125
- var Roblox_Chat_Api_Models_MarkAsSeenRequest = zod_1.z.object({
125
+ const Roblox_Chat_Api_Models_MarkAsSeenRequest = zod_1.z.object({
126
126
  conversationsToMarkSeen: zod_1.z.array(zod_1.z.number()),
127
127
  });
128
- var Roblox_Chat_Api_Models_MarkAsSeenResponse = zod_1.z.object({
128
+ const Roblox_Chat_Api_Models_MarkAsSeenResponse = zod_1.z.object({
129
129
  resultType: zod_1.z.literal('Success'),
130
130
  });
131
- var Roblox_Chat_Api_Models_RemoveUserFromConversationRequest = zod_1.z.object({
131
+ const Roblox_Chat_Api_Models_RemoveUserFromConversationRequest = zod_1.z.object({
132
132
  participantUserId: zod_1.z.number().int(),
133
133
  conversationId: zod_1.z.number().int(),
134
134
  });
135
- var Roblox_Chat_Api_Models_RemoveUserFromConversationResponse = zod_1.z.object({
135
+ const Roblox_Chat_Api_Models_RemoveUserFromConversationResponse = zod_1.z.object({
136
136
  conversationId: zod_1.z.number().int(),
137
137
  resultType: zod_1.z.literal('Success'),
138
138
  statusMessage: zod_1.z.string(),
139
139
  });
140
- var Roblox_Chat_Api_Models_RenameGroupConversationRequest = zod_1.z.object({
140
+ const Roblox_Chat_Api_Models_RenameGroupConversationRequest = zod_1.z.object({
141
141
  conversationId: zod_1.z.number().int(),
142
142
  newTitle: zod_1.z.string(),
143
143
  });
144
- var Roblox_Chat_Api_Models_RenameConversationResponse = zod_1.z.object({
144
+ const Roblox_Chat_Api_Models_RenameConversationResponse = zod_1.z.object({
145
145
  conversationTitle: zod_1.z.string(),
146
146
  resultType: zod_1.z.enum(['Success', 'Moderated', 'TextTooLong']),
147
147
  title: Roblox_Chat_Api_Models_ConversationTitle,
148
148
  statusMessage: zod_1.z.string(),
149
149
  });
150
- var Roblox_Chat_Api_Models_ResetConversationUniverseRequest = zod_1.z.object({
150
+ const Roblox_Chat_Api_Models_ResetConversationUniverseRequest = zod_1.z.object({
151
151
  conversationId: zod_1.z.number().int(),
152
152
  });
153
- var Roblox_Chat_Api_Models_UserVisibleStatusResponse = zod_1.z.object({
153
+ const Roblox_Chat_Api_Models_UserVisibleStatusResponse = zod_1.z.object({
154
154
  statusMessage: zod_1.z.string(),
155
155
  });
156
- var Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest = zod_1.z.object({
156
+ const Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest = zod_1.z.object({
157
157
  universeId: zod_1.z.number().int(),
158
158
  isExperienceInvite: zod_1.z.boolean(),
159
159
  userId: zod_1.z.number().int(),
@@ -161,7 +161,7 @@ var Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest = zod_1.z.object({
161
161
  conversationId: zod_1.z.number().int(),
162
162
  decorators: zod_1.z.array(zod_1.z.string()),
163
163
  });
164
- var Roblox_Chat_Api_Models_SendLinkChatResponse = zod_1.z.object({
164
+ const Roblox_Chat_Api_Models_SendLinkChatResponse = zod_1.z.object({
165
165
  chatMessageLinkType: zod_1.z.literal('Game'),
166
166
  messageId: zod_1.z.string(),
167
167
  sent: zod_1.z.string().datetime(),
@@ -169,14 +169,14 @@ var Roblox_Chat_Api_Models_SendLinkChatResponse = zod_1.z.object({
169
169
  resultType: zod_1.z.enum(['Success', 'Moderated', 'TextTooLong', 'NoRealtimeConnection']),
170
170
  statusMessage: zod_1.z.string(),
171
171
  });
172
- var Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest = zod_1.z.object({
172
+ const Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest = zod_1.z.object({
173
173
  message: zod_1.z.string(),
174
174
  isExperienceInvite: zod_1.z.boolean(),
175
175
  userId: zod_1.z.number().int(),
176
176
  conversationId: zod_1.z.number().int(),
177
177
  decorators: zod_1.z.array(zod_1.z.string()),
178
178
  });
179
- var Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse = zod_1.z.object({
179
+ const Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse = zod_1.z.object({
180
180
  content: zod_1.z.string(),
181
181
  filteredForReceivers: zod_1.z.boolean(),
182
182
  messageId: zod_1.z.string(),
@@ -185,69 +185,69 @@ var Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse = zod_1.z.object({
185
185
  resultType: zod_1.z.enum(['Success', 'Moderated', 'TextTooLong', 'NoRealtimeConnection']),
186
186
  statusMessage: zod_1.z.string(),
187
187
  });
188
- var Roblox_Chat_Api_Models_SetConversationUniverseRequest = zod_1.z.object({
188
+ const Roblox_Chat_Api_Models_SetConversationUniverseRequest = zod_1.z.object({
189
189
  conversationId: zod_1.z.number().int(),
190
190
  universeId: zod_1.z.number().int(),
191
191
  });
192
- var Roblox_Chat_Api_Models_CreateCloudEditConversationRequest = zod_1.z.object({
192
+ const Roblox_Chat_Api_Models_CreateCloudEditConversationRequest = zod_1.z.object({
193
193
  placeId: zod_1.z.number().int(),
194
194
  });
195
- var Roblox_Chat_Api_Models_StartNewConversationResponse = zod_1.z.object({
195
+ const Roblox_Chat_Api_Models_StartNewConversationResponse = zod_1.z.object({
196
196
  conversation: Roblox_Chat_Api_Models_Conversation,
197
197
  rejectedParticipants: zod_1.z.array(Roblox_Chat_Api_Models_RejectedChatParticipant),
198
198
  resultType: zod_1.z.literal('Success'),
199
199
  statusMessage: zod_1.z.string(),
200
200
  });
201
- var Roblox_Chat_Api_Models_CreateGroupConversationRequest = zod_1.z.object({
201
+ const Roblox_Chat_Api_Models_CreateGroupConversationRequest = zod_1.z.object({
202
202
  participantUserIds: zod_1.z.array(zod_1.z.number()),
203
203
  title: zod_1.z.string(),
204
204
  });
205
- var Roblox_Chat_Api_Models_CreateOneToOneConversationRequest = zod_1.z.object({
205
+ const Roblox_Chat_Api_Models_CreateOneToOneConversationRequest = zod_1.z.object({
206
206
  participantUserId: zod_1.z.number().int(),
207
207
  });
208
- var Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest = zod_1.z.object({
208
+ const Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest = zod_1.z.object({
209
209
  conversationId: zod_1.z.number().int(),
210
210
  isTyping: zod_1.z.boolean(),
211
211
  });
212
- var schemas = {
213
- Roblox_Chat_Api_Models_ChatSettingsResponse: Roblox_Chat_Api_Models_ChatSettingsResponse,
214
- Roblox_Chat_Api_Models_ChatParticipant: Roblox_Chat_Api_Models_ChatParticipant,
215
- Roblox_Chat_Api_Models_ConversationTitle: Roblox_Chat_Api_Models_ConversationTitle,
216
- Roblox_Chat_Api_Models_ConversationUniverse: Roblox_Chat_Api_Models_ConversationUniverse,
217
- Roblox_Chat_Api_Models_Conversation: Roblox_Chat_Api_Models_Conversation,
218
- Roblox_Chat_Api_Models_GameLink: Roblox_Chat_Api_Models_GameLink,
219
- Roblox_Chat_Api_Models_Link: Roblox_Chat_Api_Models_Link,
220
- Roblox_Chat_Api_Models_SetConversationUniverseEventBased: Roblox_Chat_Api_Models_SetConversationUniverseEventBased,
221
- Roblox_Chat_Api_Models_EventBased: Roblox_Chat_Api_Models_EventBased,
222
- Roblox_Chat_Api_Models_ChatMessage: Roblox_Chat_Api_Models_ChatMessage,
223
- Roblox_Chat_Api_Models_RolloutSettingModel: Roblox_Chat_Api_Models_RolloutSettingModel,
224
- Roblox_Chat_Api_Models_RolloutSettingsResponse: Roblox_Chat_Api_Models_RolloutSettingsResponse,
225
- Roblox_Chat_Api_Models_UnreadConversationCountResponse: Roblox_Chat_Api_Models_UnreadConversationCountResponse,
226
- Roblox_Chat_Api_Models_MultigetConversationMessagesResponse: Roblox_Chat_Api_Models_MultigetConversationMessagesResponse,
227
- Roblox_Chat_Api_Models_ChatMetadataResponse: Roblox_Chat_Api_Models_ChatMetadataResponse,
228
- Roblox_Chat_Api_Models_AddUsersToConversationRequest: Roblox_Chat_Api_Models_AddUsersToConversationRequest,
229
- Roblox_Chat_Api_Models_RejectedChatParticipant: Roblox_Chat_Api_Models_RejectedChatParticipant,
230
- Roblox_Chat_Api_Models_AddUserToConversationResponse: Roblox_Chat_Api_Models_AddUserToConversationResponse,
231
- Roblox_Chat_Api_Models_MarkAsReadRequest: Roblox_Chat_Api_Models_MarkAsReadRequest,
232
- Roblox_Chat_Api_Models_MarkAsReadResponse: Roblox_Chat_Api_Models_MarkAsReadResponse,
233
- Roblox_Chat_Api_Models_MarkAsSeenRequest: Roblox_Chat_Api_Models_MarkAsSeenRequest,
234
- Roblox_Chat_Api_Models_MarkAsSeenResponse: Roblox_Chat_Api_Models_MarkAsSeenResponse,
235
- Roblox_Chat_Api_Models_RemoveUserFromConversationRequest: Roblox_Chat_Api_Models_RemoveUserFromConversationRequest,
236
- Roblox_Chat_Api_Models_RemoveUserFromConversationResponse: Roblox_Chat_Api_Models_RemoveUserFromConversationResponse,
237
- Roblox_Chat_Api_Models_RenameGroupConversationRequest: Roblox_Chat_Api_Models_RenameGroupConversationRequest,
238
- Roblox_Chat_Api_Models_RenameConversationResponse: Roblox_Chat_Api_Models_RenameConversationResponse,
239
- Roblox_Chat_Api_Models_ResetConversationUniverseRequest: Roblox_Chat_Api_Models_ResetConversationUniverseRequest,
240
- Roblox_Chat_Api_Models_UserVisibleStatusResponse: Roblox_Chat_Api_Models_UserVisibleStatusResponse,
241
- Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest: Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest,
242
- Roblox_Chat_Api_Models_SendLinkChatResponse: Roblox_Chat_Api_Models_SendLinkChatResponse,
243
- Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest: Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest,
244
- Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse: Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse,
245
- Roblox_Chat_Api_Models_SetConversationUniverseRequest: Roblox_Chat_Api_Models_SetConversationUniverseRequest,
246
- Roblox_Chat_Api_Models_CreateCloudEditConversationRequest: Roblox_Chat_Api_Models_CreateCloudEditConversationRequest,
247
- Roblox_Chat_Api_Models_StartNewConversationResponse: Roblox_Chat_Api_Models_StartNewConversationResponse,
248
- Roblox_Chat_Api_Models_CreateGroupConversationRequest: Roblox_Chat_Api_Models_CreateGroupConversationRequest,
249
- Roblox_Chat_Api_Models_CreateOneToOneConversationRequest: Roblox_Chat_Api_Models_CreateOneToOneConversationRequest,
250
- Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest: Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest,
212
+ const schemas = {
213
+ Roblox_Chat_Api_Models_ChatSettingsResponse,
214
+ Roblox_Chat_Api_Models_ChatParticipant,
215
+ Roblox_Chat_Api_Models_ConversationTitle,
216
+ Roblox_Chat_Api_Models_ConversationUniverse,
217
+ Roblox_Chat_Api_Models_Conversation,
218
+ Roblox_Chat_Api_Models_GameLink,
219
+ Roblox_Chat_Api_Models_Link,
220
+ Roblox_Chat_Api_Models_SetConversationUniverseEventBased,
221
+ Roblox_Chat_Api_Models_EventBased,
222
+ Roblox_Chat_Api_Models_ChatMessage,
223
+ Roblox_Chat_Api_Models_RolloutSettingModel,
224
+ Roblox_Chat_Api_Models_RolloutSettingsResponse,
225
+ Roblox_Chat_Api_Models_UnreadConversationCountResponse,
226
+ Roblox_Chat_Api_Models_MultigetConversationMessagesResponse,
227
+ Roblox_Chat_Api_Models_ChatMetadataResponse,
228
+ Roblox_Chat_Api_Models_AddUsersToConversationRequest,
229
+ Roblox_Chat_Api_Models_RejectedChatParticipant,
230
+ Roblox_Chat_Api_Models_AddUserToConversationResponse,
231
+ Roblox_Chat_Api_Models_MarkAsReadRequest,
232
+ Roblox_Chat_Api_Models_MarkAsReadResponse,
233
+ Roblox_Chat_Api_Models_MarkAsSeenRequest,
234
+ Roblox_Chat_Api_Models_MarkAsSeenResponse,
235
+ Roblox_Chat_Api_Models_RemoveUserFromConversationRequest,
236
+ Roblox_Chat_Api_Models_RemoveUserFromConversationResponse,
237
+ Roblox_Chat_Api_Models_RenameGroupConversationRequest,
238
+ Roblox_Chat_Api_Models_RenameConversationResponse,
239
+ Roblox_Chat_Api_Models_ResetConversationUniverseRequest,
240
+ Roblox_Chat_Api_Models_UserVisibleStatusResponse,
241
+ Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest,
242
+ Roblox_Chat_Api_Models_SendLinkChatResponse,
243
+ Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest,
244
+ Roblox_Chat_Api_Models_SendPlainTextChatMessageResponse,
245
+ Roblox_Chat_Api_Models_SetConversationUniverseRequest,
246
+ Roblox_Chat_Api_Models_CreateCloudEditConversationRequest,
247
+ Roblox_Chat_Api_Models_StartNewConversationResponse,
248
+ Roblox_Chat_Api_Models_CreateGroupConversationRequest,
249
+ Roblox_Chat_Api_Models_CreateOneToOneConversationRequest,
250
+ Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest,
251
251
  };
252
252
  /**
253
253
  * @api post https://chat.roblox.com/v2/add-to-conversation
@@ -258,6 +258,9 @@ exports.postAddToConversation = {
258
258
  path: '/v2/add-to-conversation',
259
259
  baseUrl: 'https://chat.roblox.com',
260
260
  requestFormat: 'json',
261
+ serializationMethod: {
262
+ body: {},
263
+ },
261
264
  parameters: {
262
265
  body: Roblox_Chat_Api_Models_AddUsersToConversationRequest,
263
266
  },
@@ -265,12 +268,12 @@ exports.postAddToConversation = {
265
268
  errors: [
266
269
  {
267
270
  status: 401,
268
- description: "0: Authorization has been denied for this request.",
271
+ description: `0: Authorization has been denied for this request.`,
269
272
  schema: zod_1.z.void(),
270
273
  },
271
274
  {
272
275
  status: 403,
273
- description: "0: Token Validation Failed",
276
+ description: `0: Token Validation Failed`,
274
277
  schema: zod_1.z.void(),
275
278
  },
276
279
  ],
@@ -287,7 +290,7 @@ exports.getChatSettings = {
287
290
  errors: [
288
291
  {
289
292
  status: 401,
290
- description: "0: Authorization has been denied for this request.",
293
+ description: `0: Authorization has been denied for this request.`,
291
294
  schema: zod_1.z.void(),
292
295
  },
293
296
  ],
@@ -301,6 +304,12 @@ exports.getGetConversations = {
301
304
  path: '/v2/get-conversations',
302
305
  baseUrl: 'https://chat.roblox.com',
303
306
  requestFormat: 'json',
307
+ serializationMethod: {
308
+ conversationIds: {
309
+ style: 'form',
310
+ explode: true,
311
+ },
312
+ },
304
313
  parameters: {
305
314
  conversationIds: zod_1.z.array(zod_1.z.number()),
306
315
  },
@@ -308,7 +317,7 @@ exports.getGetConversations = {
308
317
  errors: [
309
318
  {
310
319
  status: 401,
311
- description: "0: Authorization has been denied for this request.",
320
+ description: `0: Authorization has been denied for this request.`,
312
321
  schema: zod_1.z.void(),
313
322
  },
314
323
  ],
@@ -324,6 +333,20 @@ exports.getGetMessages = {
324
333
  path: '/v2/get-messages',
325
334
  baseUrl: 'https://chat.roblox.com',
326
335
  requestFormat: 'json',
336
+ serializationMethod: {
337
+ conversationId: {
338
+ style: 'form',
339
+ explode: true,
340
+ },
341
+ pageSize: {
342
+ style: 'form',
343
+ explode: true,
344
+ },
345
+ exclusiveStartMessageId: {
346
+ style: 'form',
347
+ explode: true,
348
+ },
349
+ },
327
350
  parameters: {
328
351
  conversationId: zod_1.z.number().int(),
329
352
  pageSize: zod_1.z.number().int(),
@@ -333,7 +356,7 @@ exports.getGetMessages = {
333
356
  errors: [
334
357
  {
335
358
  status: 401,
336
- description: "0: Authorization has been denied for this request.",
359
+ description: `0: Authorization has been denied for this request.`,
337
360
  schema: zod_1.z.void(),
338
361
  },
339
362
  ],
@@ -347,6 +370,12 @@ exports.getGetRolloutSettings = {
347
370
  path: '/v2/get-rollout-settings',
348
371
  baseUrl: 'https://chat.roblox.com',
349
372
  requestFormat: 'json',
373
+ serializationMethod: {
374
+ featureNames: {
375
+ style: 'form',
376
+ explode: true,
377
+ },
378
+ },
350
379
  parameters: {
351
380
  featureNames: zod_1.z.array(zod_1.z.string()),
352
381
  },
@@ -354,7 +383,7 @@ exports.getGetRolloutSettings = {
354
383
  errors: [
355
384
  {
356
385
  status: 401,
357
- description: "0: Authorization has been denied for this request.",
386
+ description: `0: Authorization has been denied for this request.`,
358
387
  schema: zod_1.z.void(),
359
388
  },
360
389
  ],
@@ -371,7 +400,7 @@ exports.getGetUnreadConversationCount = {
371
400
  errors: [
372
401
  {
373
402
  status: 401,
374
- description: "0: Authorization has been denied for this request.",
403
+ description: `0: Authorization has been denied for this request.`,
375
404
  schema: zod_1.z.void(),
376
405
  },
377
406
  ],
@@ -386,6 +415,16 @@ exports.getGetUnreadConversations = {
386
415
  path: '/v2/get-unread-conversations',
387
416
  baseUrl: 'https://chat.roblox.com',
388
417
  requestFormat: 'json',
418
+ serializationMethod: {
419
+ pageNumber: {
420
+ style: 'form',
421
+ explode: true,
422
+ },
423
+ pageSize: {
424
+ style: 'form',
425
+ explode: true,
426
+ },
427
+ },
389
428
  parameters: {
390
429
  pageNumber: zod_1.z.number().int(),
391
430
  pageSize: zod_1.z.number().int(),
@@ -394,7 +433,7 @@ exports.getGetUnreadConversations = {
394
433
  errors: [
395
434
  {
396
435
  status: 401,
397
- description: "0: Authorization has been denied for this request.",
436
+ description: `0: Authorization has been denied for this request.`,
398
437
  schema: zod_1.z.void(),
399
438
  },
400
439
  ],
@@ -409,6 +448,16 @@ exports.getGetUnreadMessages = {
409
448
  path: '/v2/get-unread-messages',
410
449
  baseUrl: 'https://chat.roblox.com',
411
450
  requestFormat: 'json',
451
+ serializationMethod: {
452
+ conversationIds: {
453
+ style: 'form',
454
+ explode: true,
455
+ },
456
+ pageSize: {
457
+ style: 'form',
458
+ explode: true,
459
+ },
460
+ },
412
461
  parameters: {
413
462
  conversationIds: zod_1.z.array(zod_1.z.number()),
414
463
  pageSize: zod_1.z.number().int(),
@@ -417,7 +466,7 @@ exports.getGetUnreadMessages = {
417
466
  errors: [
418
467
  {
419
468
  status: 401,
420
- description: "0: Authorization has been denied for this request.",
469
+ description: `0: Authorization has been denied for this request.`,
421
470
  schema: zod_1.z.void(),
422
471
  },
423
472
  ],
@@ -432,6 +481,16 @@ exports.getGetUserConversations = {
432
481
  path: '/v2/get-user-conversations',
433
482
  baseUrl: 'https://chat.roblox.com',
434
483
  requestFormat: 'json',
484
+ serializationMethod: {
485
+ pageNumber: {
486
+ style: 'form',
487
+ explode: true,
488
+ },
489
+ pageSize: {
490
+ style: 'form',
491
+ explode: true,
492
+ },
493
+ },
435
494
  parameters: {
436
495
  pageNumber: zod_1.z.number().int(),
437
496
  pageSize: zod_1.z.number().int(),
@@ -440,7 +499,7 @@ exports.getGetUserConversations = {
440
499
  errors: [
441
500
  {
442
501
  status: 401,
443
- description: "0: Authorization has been denied for this request.",
502
+ description: `0: Authorization has been denied for this request.`,
444
503
  schema: zod_1.z.void(),
445
504
  },
446
505
  ],
@@ -454,6 +513,9 @@ exports.postMarkAsRead = {
454
513
  path: '/v2/mark-as-read',
455
514
  baseUrl: 'https://chat.roblox.com',
456
515
  requestFormat: 'json',
516
+ serializationMethod: {
517
+ body: {},
518
+ },
457
519
  parameters: {
458
520
  body: Roblox_Chat_Api_Models_MarkAsReadRequest,
459
521
  },
@@ -461,12 +523,12 @@ exports.postMarkAsRead = {
461
523
  errors: [
462
524
  {
463
525
  status: 401,
464
- description: "0: Authorization has been denied for this request.",
526
+ description: `0: Authorization has been denied for this request.`,
465
527
  schema: zod_1.z.void(),
466
528
  },
467
529
  {
468
530
  status: 403,
469
- description: "0: Token Validation Failed",
531
+ description: `0: Token Validation Failed`,
470
532
  schema: zod_1.z.void(),
471
533
  },
472
534
  ],
@@ -480,6 +542,9 @@ exports.postMarkAsSeen = {
480
542
  path: '/v2/mark-as-seen',
481
543
  baseUrl: 'https://chat.roblox.com',
482
544
  requestFormat: 'json',
545
+ serializationMethod: {
546
+ body: {},
547
+ },
483
548
  parameters: {
484
549
  body: Roblox_Chat_Api_Models_MarkAsSeenRequest,
485
550
  },
@@ -487,12 +552,12 @@ exports.postMarkAsSeen = {
487
552
  errors: [
488
553
  {
489
554
  status: 401,
490
- description: "0: Authorization has been denied for this request.",
555
+ description: `0: Authorization has been denied for this request.`,
491
556
  schema: zod_1.z.void(),
492
557
  },
493
558
  {
494
559
  status: 403,
495
- description: "0: Token Validation Failed",
560
+ description: `0: Token Validation Failed`,
496
561
  schema: zod_1.z.void(),
497
562
  },
498
563
  ],
@@ -509,7 +574,7 @@ exports.getMetadata = {
509
574
  errors: [
510
575
  {
511
576
  status: 401,
512
- description: "0: Authorization has been denied for this request.",
577
+ description: `0: Authorization has been denied for this request.`,
513
578
  schema: zod_1.z.void(),
514
579
  },
515
580
  ],
@@ -524,6 +589,16 @@ exports.getMultiGetLatestMessages = {
524
589
  path: '/v2/multi-get-latest-messages',
525
590
  baseUrl: 'https://chat.roblox.com',
526
591
  requestFormat: 'json',
592
+ serializationMethod: {
593
+ conversationIds: {
594
+ style: 'form',
595
+ explode: true,
596
+ },
597
+ pageSize: {
598
+ style: 'form',
599
+ explode: true,
600
+ },
601
+ },
527
602
  parameters: {
528
603
  conversationIds: zod_1.z.array(zod_1.z.number()),
529
604
  pageSize: zod_1.z.number().int(),
@@ -532,7 +607,7 @@ exports.getMultiGetLatestMessages = {
532
607
  errors: [
533
608
  {
534
609
  status: 401,
535
- description: "0: Authorization has been denied for this request.",
610
+ description: `0: Authorization has been denied for this request.`,
536
611
  schema: zod_1.z.void(),
537
612
  },
538
613
  ],
@@ -546,6 +621,9 @@ exports.postRemoveFromConversation = {
546
621
  path: '/v2/remove-from-conversation',
547
622
  baseUrl: 'https://chat.roblox.com',
548
623
  requestFormat: 'json',
624
+ serializationMethod: {
625
+ body: {},
626
+ },
549
627
  parameters: {
550
628
  body: Roblox_Chat_Api_Models_RemoveUserFromConversationRequest,
551
629
  },
@@ -553,12 +631,12 @@ exports.postRemoveFromConversation = {
553
631
  errors: [
554
632
  {
555
633
  status: 401,
556
- description: "0: Authorization has been denied for this request.",
634
+ description: `0: Authorization has been denied for this request.`,
557
635
  schema: zod_1.z.void(),
558
636
  },
559
637
  {
560
638
  status: 403,
561
- description: "0: Token Validation Failed",
639
+ description: `0: Token Validation Failed`,
562
640
  schema: zod_1.z.void(),
563
641
  },
564
642
  ],
@@ -572,6 +650,9 @@ exports.postRenameGroupConversation = {
572
650
  path: '/v2/rename-group-conversation',
573
651
  baseUrl: 'https://chat.roblox.com',
574
652
  requestFormat: 'json',
653
+ serializationMethod: {
654
+ body: {},
655
+ },
575
656
  parameters: {
576
657
  body: Roblox_Chat_Api_Models_RenameGroupConversationRequest,
577
658
  },
@@ -579,12 +660,12 @@ exports.postRenameGroupConversation = {
579
660
  errors: [
580
661
  {
581
662
  status: 401,
582
- description: "0: Authorization has been denied for this request.",
663
+ description: `0: Authorization has been denied for this request.`,
583
664
  schema: zod_1.z.void(),
584
665
  },
585
666
  {
586
667
  status: 403,
587
- description: "0: Token Validation Failed",
668
+ description: `0: Token Validation Failed`,
588
669
  schema: zod_1.z.void(),
589
670
  },
590
671
  ],
@@ -598,6 +679,9 @@ exports.postResetConversationUniverse = {
598
679
  path: '/v2/reset-conversation-universe',
599
680
  baseUrl: 'https://chat.roblox.com',
600
681
  requestFormat: 'json',
682
+ serializationMethod: {
683
+ body: {},
684
+ },
601
685
  parameters: {
602
686
  body: zod_1.z.object({ conversationId: zod_1.z.number().int() }),
603
687
  },
@@ -605,12 +689,12 @@ exports.postResetConversationUniverse = {
605
689
  errors: [
606
690
  {
607
691
  status: 401,
608
- description: "0: Authorization has been denied for this request.",
692
+ description: `0: Authorization has been denied for this request.`,
609
693
  schema: zod_1.z.void(),
610
694
  },
611
695
  {
612
696
  status: 403,
613
- description: "0: Token Validation Failed",
697
+ description: `0: Token Validation Failed`,
614
698
  schema: zod_1.z.void(),
615
699
  },
616
700
  ],
@@ -624,6 +708,9 @@ exports.postSendGameLinkMessage = {
624
708
  path: '/v2/send-game-link-message',
625
709
  baseUrl: 'https://chat.roblox.com',
626
710
  requestFormat: 'json',
711
+ serializationMethod: {
712
+ body: {},
713
+ },
627
714
  parameters: {
628
715
  body: Roblox_Chat_Api_Models_SendGameLinkChatMessageRequest,
629
716
  },
@@ -631,12 +718,12 @@ exports.postSendGameLinkMessage = {
631
718
  errors: [
632
719
  {
633
720
  status: 401,
634
- description: "0: Authorization has been denied for this request.",
721
+ description: `0: Authorization has been denied for this request.`,
635
722
  schema: zod_1.z.void(),
636
723
  },
637
724
  {
638
725
  status: 403,
639
- description: "0: Token Validation Failed",
726
+ description: `0: Token Validation Failed`,
640
727
  schema: zod_1.z.void(),
641
728
  },
642
729
  ],
@@ -650,6 +737,9 @@ exports.postSendMessage = {
650
737
  path: '/v2/send-message',
651
738
  baseUrl: 'https://chat.roblox.com',
652
739
  requestFormat: 'json',
740
+ serializationMethod: {
741
+ body: {},
742
+ },
653
743
  parameters: {
654
744
  body: Roblox_Chat_Api_Models_SendPlainTextChatMessageRequest,
655
745
  },
@@ -657,12 +747,12 @@ exports.postSendMessage = {
657
747
  errors: [
658
748
  {
659
749
  status: 401,
660
- description: "0: Authorization has been denied for this request.",
750
+ description: `0: Authorization has been denied for this request.`,
661
751
  schema: zod_1.z.void(),
662
752
  },
663
753
  {
664
754
  status: 403,
665
- description: "0: Token Validation Failed",
755
+ description: `0: Token Validation Failed`,
666
756
  schema: zod_1.z.void(),
667
757
  },
668
758
  ],
@@ -676,6 +766,9 @@ exports.postSetConversationUniverse = {
676
766
  path: '/v2/set-conversation-universe',
677
767
  baseUrl: 'https://chat.roblox.com',
678
768
  requestFormat: 'json',
769
+ serializationMethod: {
770
+ body: {},
771
+ },
679
772
  parameters: {
680
773
  body: Roblox_Chat_Api_Models_SetConversationUniverseRequest,
681
774
  },
@@ -683,12 +776,12 @@ exports.postSetConversationUniverse = {
683
776
  errors: [
684
777
  {
685
778
  status: 401,
686
- description: "0: Authorization has been denied for this request.",
779
+ description: `0: Authorization has been denied for this request.`,
687
780
  schema: zod_1.z.void(),
688
781
  },
689
782
  {
690
783
  status: 403,
691
- description: "0: Token Validation Failed",
784
+ description: `0: Token Validation Failed`,
692
785
  schema: zod_1.z.void(),
693
786
  },
694
787
  ],
@@ -702,6 +795,9 @@ exports.postStartCloudEditConversation = {
702
795
  path: '/v2/start-cloud-edit-conversation',
703
796
  baseUrl: 'https://chat.roblox.com',
704
797
  requestFormat: 'json',
798
+ serializationMethod: {
799
+ body: {},
800
+ },
705
801
  parameters: {
706
802
  body: zod_1.z.object({ placeId: zod_1.z.number().int() }),
707
803
  },
@@ -709,12 +805,12 @@ exports.postStartCloudEditConversation = {
709
805
  errors: [
710
806
  {
711
807
  status: 401,
712
- description: "0: Authorization has been denied for this request.",
808
+ description: `0: Authorization has been denied for this request.`,
713
809
  schema: zod_1.z.void(),
714
810
  },
715
811
  {
716
812
  status: 403,
717
- description: "0: Token Validation Failed",
813
+ description: `0: Token Validation Failed`,
718
814
  schema: zod_1.z.void(),
719
815
  },
720
816
  ],
@@ -728,6 +824,9 @@ exports.postStartGroupConversation = {
728
824
  path: '/v2/start-group-conversation',
729
825
  baseUrl: 'https://chat.roblox.com',
730
826
  requestFormat: 'json',
827
+ serializationMethod: {
828
+ body: {},
829
+ },
731
830
  parameters: {
732
831
  body: Roblox_Chat_Api_Models_CreateGroupConversationRequest,
733
832
  },
@@ -735,12 +834,12 @@ exports.postStartGroupConversation = {
735
834
  errors: [
736
835
  {
737
836
  status: 401,
738
- description: "0: Authorization has been denied for this request.",
837
+ description: `0: Authorization has been denied for this request.`,
739
838
  schema: zod_1.z.void(),
740
839
  },
741
840
  {
742
841
  status: 403,
743
- description: "0: Token Validation Failed",
842
+ description: `0: Token Validation Failed`,
744
843
  schema: zod_1.z.void(),
745
844
  },
746
845
  ],
@@ -754,6 +853,9 @@ exports.postStartOneToOneConversation = {
754
853
  path: '/v2/start-one-to-one-conversation',
755
854
  baseUrl: 'https://chat.roblox.com',
756
855
  requestFormat: 'json',
856
+ serializationMethod: {
857
+ body: {},
858
+ },
757
859
  parameters: {
758
860
  body: zod_1.z.object({ participantUserId: zod_1.z.number().int() }),
759
861
  },
@@ -761,12 +863,12 @@ exports.postStartOneToOneConversation = {
761
863
  errors: [
762
864
  {
763
865
  status: 401,
764
- description: "0: Authorization has been denied for this request.",
866
+ description: `0: Authorization has been denied for this request.`,
765
867
  schema: zod_1.z.void(),
766
868
  },
767
869
  {
768
870
  status: 403,
769
- description: "0: Token Validation Failed",
871
+ description: `0: Token Validation Failed`,
770
872
  schema: zod_1.z.void(),
771
873
  },
772
874
  ],
@@ -780,6 +882,9 @@ exports.postUpdateUserTypingStatus = {
780
882
  path: '/v2/update-user-typing-status',
781
883
  baseUrl: 'https://chat.roblox.com',
782
884
  requestFormat: 'json',
885
+ serializationMethod: {
886
+ body: {},
887
+ },
783
888
  parameters: {
784
889
  body: Roblox_Chat_Api_Models_UpdateUserTypingStatusRequest,
785
890
  },
@@ -787,12 +892,12 @@ exports.postUpdateUserTypingStatus = {
787
892
  errors: [
788
893
  {
789
894
  status: 401,
790
- description: "0: Authorization has been denied for this request.",
895
+ description: `0: Authorization has been denied for this request.`,
791
896
  schema: zod_1.z.void(),
792
897
  },
793
898
  {
794
899
  status: 403,
795
- description: "0: Token Validation Failed",
900
+ description: `0: Token Validation Failed`,
796
901
  schema: zod_1.z.void(),
797
902
  },
798
903
  ],