@blorp-labs/piefed-api-client 0.0.0-7e59b13 → 0.0.0-90bfbe5

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 (777) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +61 -10
  3. package/dist/client/admin/admin.d.ts +3 -41
  4. package/dist/client/admin/admin.d.ts.map +1 -1
  5. package/dist/client/admin/admin.js +20 -7
  6. package/dist/client/admin/admin.js.map +1 -1
  7. package/dist/client/comment/comment.d.ts +15 -285
  8. package/dist/client/comment/comment.d.ts.map +1 -1
  9. package/dist/client/comment/comment.js +116 -43
  10. package/dist/client/comment/comment.js.map +1 -1
  11. package/dist/client/community/community.d.ts +18 -341
  12. package/dist/client/community/community.d.ts.map +1 -1
  13. package/dist/client/community/community.js +140 -52
  14. package/dist/client/community/community.js.map +1 -1
  15. package/dist/client/feed/feed.d.ts +7 -125
  16. package/dist/client/feed/feed.d.ts.map +1 -1
  17. package/dist/client/feed/feed.js +52 -19
  18. package/dist/client/feed/feed.js.map +1 -1
  19. package/dist/client/misc/misc.d.ts +6 -101
  20. package/dist/client/misc/misc.d.ts.map +1 -1
  21. package/dist/client/misc/misc.js +44 -16
  22. package/dist/client/misc/misc.js.map +1 -1
  23. package/dist/client/post/post.d.ts +21 -405
  24. package/dist/client/post/post.d.ts.map +1 -1
  25. package/dist/client/post/post.js +164 -61
  26. package/dist/client/post/post.js.map +1 -1
  27. package/dist/client/private-message/private-message.d.ts +9 -165
  28. package/dist/client/private-message/private-message.d.ts.map +1 -1
  29. package/dist/client/private-message/private-message.js +68 -25
  30. package/dist/client/private-message/private-message.js.map +1 -1
  31. package/dist/client/site/site.d.ts +6 -89
  32. package/dist/client/site/site.d.ts.map +1 -1
  33. package/dist/client/site/site.js +44 -16
  34. package/dist/client/site/site.js.map +1 -1
  35. package/dist/client/topic/topic.d.ts +2 -21
  36. package/dist/client/topic/topic.d.ts.map +1 -1
  37. package/dist/client/topic/topic.js +12 -4
  38. package/dist/client/topic/topic.js.map +1 -1
  39. package/dist/client/upload/upload.d.ts +5 -97
  40. package/dist/client/upload/upload.d.ts.map +1 -1
  41. package/dist/client/upload/upload.js +36 -13
  42. package/dist/client/upload/upload.js.map +1 -1
  43. package/dist/client/user/user.d.ts +22 -405
  44. package/dist/client/user/user.d.ts.map +1 -1
  45. package/dist/client/user/user.js +172 -64
  46. package/dist/client/user/user.js.map +1 -1
  47. package/dist/create-client.d.ts +15 -214
  48. package/dist/create-client.d.ts.map +1 -1
  49. package/dist/create-client.js +69 -30
  50. package/dist/create-client.js.map +1 -1
  51. package/dist/index.d.ts +1 -12
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +22 -15
  54. package/dist/index.js.map +1 -1
  55. package/dist/mutator/custom-fetch.d.ts +5 -3
  56. package/dist/mutator/custom-fetch.d.ts.map +1 -1
  57. package/dist/mutator/custom-fetch.js +31 -7
  58. package/dist/mutator/custom-fetch.js.map +1 -1
  59. package/dist/schemas/adminPurgeComment.js +2 -1
  60. package/dist/schemas/adminPurgeCommentReason.js +2 -1
  61. package/dist/schemas/adminPurgeCommentReason.js.map +1 -1
  62. package/dist/schemas/adminPurgeCommentView.js +2 -1
  63. package/dist/schemas/adminPurgeCommunity.js +2 -1
  64. package/dist/schemas/adminPurgeCommunityReason.js +2 -1
  65. package/dist/schemas/adminPurgeCommunityReason.js.map +1 -1
  66. package/dist/schemas/adminPurgeCommunityView.js +2 -1
  67. package/dist/schemas/adminPurgePerson.js +2 -1
  68. package/dist/schemas/adminPurgePersonReason.js +2 -1
  69. package/dist/schemas/adminPurgePersonReason.js.map +1 -1
  70. package/dist/schemas/adminPurgePersonView.js +2 -1
  71. package/dist/schemas/adminPurgePost.js +2 -1
  72. package/dist/schemas/adminPurgePostCommunityId.js +2 -1
  73. package/dist/schemas/adminPurgePostCommunityId.js.map +1 -1
  74. package/dist/schemas/adminPurgePostReason.js +2 -1
  75. package/dist/schemas/adminPurgePostReason.js.map +1 -1
  76. package/dist/schemas/adminPurgePostView.js +2 -1
  77. package/dist/schemas/blockCommunityRequest.js +2 -1
  78. package/dist/schemas/blockCommunityRequest.js.map +1 -1
  79. package/dist/schemas/blockCommunityResponse.js +2 -1
  80. package/dist/schemas/blockInstanceRequest.js +2 -1
  81. package/dist/schemas/blockInstanceRequest.js.map +1 -1
  82. package/dist/schemas/blockInstanceResponse.js +2 -1
  83. package/dist/schemas/blockInstanceResponse.js.map +1 -1
  84. package/dist/schemas/comment.js +2 -1
  85. package/dist/schemas/commentAggregates.js +2 -1
  86. package/dist/schemas/commentAggregates.js.map +1 -1
  87. package/dist/schemas/commentEmojiReactions.js +2 -1
  88. package/dist/schemas/commentLikeView.js +2 -1
  89. package/dist/schemas/commentReply.js +2 -1
  90. package/dist/schemas/commentReply.js.map +1 -1
  91. package/dist/schemas/commentReplyView.js +2 -1
  92. package/dist/schemas/commentReplyViewSubscribed.js +4 -1
  93. package/dist/schemas/commentReplyViewSubscribed.js.map +1 -1
  94. package/dist/schemas/commentReport.js +2 -1
  95. package/dist/schemas/commentReport.js.map +1 -1
  96. package/dist/schemas/commentReportView.js +2 -1
  97. package/dist/schemas/commentReportViewSubscribed.js +4 -1
  98. package/dist/schemas/commentReportViewSubscribed.js.map +1 -1
  99. package/dist/schemas/commentView.js +2 -1
  100. package/dist/schemas/commentViewSubscribed.js +4 -1
  101. package/dist/schemas/commentViewSubscribed.js.map +1 -1
  102. package/dist/schemas/community.js +2 -1
  103. package/dist/schemas/communityAggregates.js +2 -1
  104. package/dist/schemas/communityAggregates.js.map +1 -1
  105. package/dist/schemas/communityBanner.js +2 -1
  106. package/dist/schemas/communityBanner.js.map +1 -1
  107. package/dist/schemas/communityBlockView.js +2 -1
  108. package/dist/schemas/communityFlair.js +2 -1
  109. package/dist/schemas/communityFlairApId.js +2 -1
  110. package/dist/schemas/communityFlairApId.js.map +1 -1
  111. package/dist/schemas/communityFlairCreateRequest.js +2 -1
  112. package/dist/schemas/communityFlairCreateRequest.js.map +1 -1
  113. package/dist/schemas/communityFlairCreateResponse.js +2 -1
  114. package/dist/schemas/communityFlairCreateResponseApId.js +2 -1
  115. package/dist/schemas/communityFlairCreateResponseApId.js.map +1 -1
  116. package/dist/schemas/communityFlairDeleteRequest.js +2 -1
  117. package/dist/schemas/communityFlairDeleteRequest.js.map +1 -1
  118. package/dist/schemas/communityFlairDeleteResponse.js +2 -1
  119. package/dist/schemas/communityFlairEditRequest.js +2 -1
  120. package/dist/schemas/communityFlairEditRequest.js.map +1 -1
  121. package/dist/schemas/communityFlairEditResponse.js +2 -1
  122. package/dist/schemas/communityFlairEditResponseApId.js +2 -1
  123. package/dist/schemas/communityFlairEditResponseApId.js.map +1 -1
  124. package/dist/schemas/communityFollowerView.js +2 -1
  125. package/dist/schemas/communityIcon.js +2 -1
  126. package/dist/schemas/communityIcon.js.map +1 -1
  127. package/dist/schemas/communityModerationBanItem.js +2 -1
  128. package/dist/schemas/communityModerationBanItemExpiredAt.js +2 -1
  129. package/dist/schemas/communityModerationBanItemExpiredAt.js.map +1 -1
  130. package/dist/schemas/communityModerationBanItemExpiresAt.js +2 -1
  131. package/dist/schemas/communityModerationBanItemExpiresAt.js.map +1 -1
  132. package/dist/schemas/communityModerationBanRequest.js +2 -1
  133. package/dist/schemas/communityModerationBanRequest.js.map +1 -1
  134. package/dist/schemas/communityModerationBansListResponse.js +2 -1
  135. package/dist/schemas/communityModerationBansListResponseNextPage.js +2 -1
  136. package/dist/schemas/communityModerationBansListResponseNextPage.js.map +1 -1
  137. package/dist/schemas/communityModerationNsfwRequest.js +2 -1
  138. package/dist/schemas/communityModerationNsfwRequest.js.map +1 -1
  139. package/dist/schemas/communityModerationUnbanRequest.js +2 -1
  140. package/dist/schemas/communityModerationUnbanRequest.js.map +1 -1
  141. package/dist/schemas/communityModeratorView.js +2 -1
  142. package/dist/schemas/communityPostingWarning.js +2 -1
  143. package/dist/schemas/communityPostingWarning.js.map +1 -1
  144. package/dist/schemas/communityResponse.js +2 -1
  145. package/dist/schemas/communityView.js +2 -1
  146. package/dist/schemas/communityViewSubscribed.js +4 -1
  147. package/dist/schemas/communityViewSubscribed.js.map +1 -1
  148. package/dist/schemas/createCommentRequest.js +2 -1
  149. package/dist/schemas/createCommentRequest.js.map +1 -1
  150. package/dist/schemas/createCommunityRequest.js +2 -1
  151. package/dist/schemas/createCommunityRequestBannerUrl.js +2 -1
  152. package/dist/schemas/createCommunityRequestBannerUrl.js.map +1 -1
  153. package/dist/schemas/createCommunityRequestIconUrl.js +2 -1
  154. package/dist/schemas/createCommunityRequestIconUrl.js.map +1 -1
  155. package/dist/schemas/createFeedRequest.js +2 -1
  156. package/dist/schemas/createFeedRequestBannerUrl.js +2 -1
  157. package/dist/schemas/createFeedRequestBannerUrl.js.map +1 -1
  158. package/dist/schemas/createFeedRequestIconUrl.js +2 -1
  159. package/dist/schemas/createFeedRequestIconUrl.js.map +1 -1
  160. package/dist/schemas/createFeedRequestParentFeedId.js +2 -1
  161. package/dist/schemas/createFeedRequestParentFeedId.js.map +1 -1
  162. package/dist/schemas/createPostRequest.js +2 -1
  163. package/dist/schemas/createPostRequestEvent.js +2 -1
  164. package/dist/schemas/createPostRequestPoll.js +2 -1
  165. package/dist/schemas/createPrivateMessageRequest.js +2 -1
  166. package/dist/schemas/createPrivateMessageRequest.js.map +1 -1
  167. package/dist/schemas/defaultError.js +2 -1
  168. package/dist/schemas/defaultError.js.map +1 -1
  169. package/dist/schemas/deleteCommentRequest.js +2 -1
  170. package/dist/schemas/deleteCommentRequest.js.map +1 -1
  171. package/dist/schemas/deleteCommunityRequest.js +2 -1
  172. package/dist/schemas/deleteCommunityRequest.js.map +1 -1
  173. package/dist/schemas/deleteFeedRequest.js +2 -1
  174. package/dist/schemas/deleteFeedRequest.js.map +1 -1
  175. package/dist/schemas/deletePostRequest.js +2 -1
  176. package/dist/schemas/deletePostRequest.js.map +1 -1
  177. package/dist/schemas/deletePrivateMessageRequest.js +2 -1
  178. package/dist/schemas/deletePrivateMessageRequest.js.map +1 -1
  179. package/dist/schemas/domainBlockRequest.js +2 -1
  180. package/dist/schemas/domainBlockRequest.js.map +1 -1
  181. package/dist/schemas/domainBlockResponse.js +2 -1
  182. package/dist/schemas/domainBlockResponse.js.map +1 -1
  183. package/dist/schemas/editCommentRequest.js +2 -1
  184. package/dist/schemas/editCommentRequest.js.map +1 -1
  185. package/dist/schemas/editCommunityRequest.js +2 -1
  186. package/dist/schemas/editCommunityRequestBannerUrl.js +2 -1
  187. package/dist/schemas/editCommunityRequestBannerUrl.js.map +1 -1
  188. package/dist/schemas/editCommunityRequestIconUrl.js +2 -1
  189. package/dist/schemas/editCommunityRequestIconUrl.js.map +1 -1
  190. package/dist/schemas/editFeedRequest.js +2 -1
  191. package/dist/schemas/editFeedRequestBannerUrl.js +2 -1
  192. package/dist/schemas/editFeedRequestBannerUrl.js.map +1 -1
  193. package/dist/schemas/editFeedRequestIconUrl.js +2 -1
  194. package/dist/schemas/editFeedRequestIconUrl.js.map +1 -1
  195. package/dist/schemas/editFeedRequestParentFeedId.js +2 -1
  196. package/dist/schemas/editFeedRequestParentFeedId.js.map +1 -1
  197. package/dist/schemas/editPostRequest.js +2 -1
  198. package/dist/schemas/editPostRequestAltText.js +2 -1
  199. package/dist/schemas/editPostRequestAltText.js.map +1 -1
  200. package/dist/schemas/editPostRequestEvent.js +2 -1
  201. package/dist/schemas/editPostRequestFlair.js +2 -1
  202. package/dist/schemas/editPostRequestFlair.js.map +1 -1
  203. package/dist/schemas/editPostRequestPoll.js +2 -1
  204. package/dist/schemas/editPostRequestTags.js +2 -1
  205. package/dist/schemas/editPostRequestTags.js.map +1 -1
  206. package/dist/schemas/editPostRequestUrl.js +2 -1
  207. package/dist/schemas/editPostRequestUrl.js.map +1 -1
  208. package/dist/schemas/editPrivateMessageRequest.js +2 -1
  209. package/dist/schemas/editPrivateMessageRequest.js.map +1 -1
  210. package/dist/schemas/error.js +2 -1
  211. package/dist/schemas/errorErrors.js +2 -1
  212. package/dist/schemas/errorErrors.js.map +1 -1
  213. package/dist/schemas/featurePostRequest.js +2 -1
  214. package/dist/schemas/featurePostRequestFeatureType.js +4 -1
  215. package/dist/schemas/featurePostRequestFeatureType.js.map +1 -1
  216. package/dist/schemas/federatedInstancesView.js +2 -1
  217. package/dist/schemas/feedListResponse.js +2 -1
  218. package/dist/schemas/feedView.js +2 -1
  219. package/dist/schemas/feedViewBanner.js +2 -1
  220. package/dist/schemas/feedViewBanner.js.map +1 -1
  221. package/dist/schemas/feedViewDescription.js +2 -1
  222. package/dist/schemas/feedViewDescription.js.map +1 -1
  223. package/dist/schemas/feedViewDescriptionHtml.js +2 -1
  224. package/dist/schemas/feedViewDescriptionHtml.js.map +1 -1
  225. package/dist/schemas/feedViewIcon.js +2 -1
  226. package/dist/schemas/feedViewIcon.js.map +1 -1
  227. package/dist/schemas/feedViewParentFeedId.js +2 -1
  228. package/dist/schemas/feedViewParentFeedId.js.map +1 -1
  229. package/dist/schemas/followCommunityRequest.js +2 -1
  230. package/dist/schemas/followCommunityRequest.js.map +1 -1
  231. package/dist/schemas/followFeedRequest.js +2 -1
  232. package/dist/schemas/followFeedRequest.js.map +1 -1
  233. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListParams.js +2 -1
  234. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js +4 -1
  235. package/dist/schemas/getApiAlphaAdminRegistrationApplicationListSort.js.map +1 -1
  236. package/dist/schemas/getApiAlphaCommentLikeListParams.js +2 -1
  237. package/dist/schemas/getApiAlphaCommentLikeListParams.js.map +1 -1
  238. package/dist/schemas/getApiAlphaCommentListParams.js +2 -1
  239. package/dist/schemas/getApiAlphaCommentListSort.js +4 -1
  240. package/dist/schemas/getApiAlphaCommentListSort.js.map +1 -1
  241. package/dist/schemas/getApiAlphaCommentParams.js +2 -1
  242. package/dist/schemas/getApiAlphaCommentParams.js.map +1 -1
  243. package/dist/schemas/getApiAlphaCommunityListParams.js +2 -1
  244. package/dist/schemas/getApiAlphaCommunityListSort.js +4 -1
  245. package/dist/schemas/getApiAlphaCommunityListSort.js.map +1 -1
  246. package/dist/schemas/getApiAlphaCommunityListType.js +4 -1
  247. package/dist/schemas/getApiAlphaCommunityListType.js.map +1 -1
  248. package/dist/schemas/getApiAlphaCommunityModerateBansParams.js +2 -1
  249. package/dist/schemas/getApiAlphaCommunityModerateBansParams.js.map +1 -1
  250. package/dist/schemas/getApiAlphaCommunityParams.js +2 -1
  251. package/dist/schemas/getApiAlphaCommunityParams.js.map +1 -1
  252. package/dist/schemas/getApiAlphaFeedListParams.js +2 -1
  253. package/dist/schemas/getApiAlphaFeedListParams.js.map +1 -1
  254. package/dist/schemas/getApiAlphaFeedParams.js +2 -1
  255. package/dist/schemas/getApiAlphaFeedParams.js.map +1 -1
  256. package/dist/schemas/getApiAlphaModlogParams.js +2 -1
  257. package/dist/schemas/getApiAlphaModlogType.js +4 -1
  258. package/dist/schemas/getApiAlphaModlogType.js.map +1 -1
  259. package/dist/schemas/getApiAlphaPostLikeListParams.js +2 -1
  260. package/dist/schemas/getApiAlphaPostLikeListParams.js.map +1 -1
  261. package/dist/schemas/getApiAlphaPostList2Params.js +2 -1
  262. package/dist/schemas/getApiAlphaPostList2Sort.js +4 -1
  263. package/dist/schemas/getApiAlphaPostList2Sort.js.map +1 -1
  264. package/dist/schemas/getApiAlphaPostList2Type.js +4 -1
  265. package/dist/schemas/getApiAlphaPostList2Type.js.map +1 -1
  266. package/dist/schemas/getApiAlphaPostListParams.js +2 -1
  267. package/dist/schemas/getApiAlphaPostListSort.js +4 -1
  268. package/dist/schemas/getApiAlphaPostListSort.js.map +1 -1
  269. package/dist/schemas/getApiAlphaPostListType.js +4 -1
  270. package/dist/schemas/getApiAlphaPostListType.js.map +1 -1
  271. package/dist/schemas/getApiAlphaPostParams.js +2 -1
  272. package/dist/schemas/getApiAlphaPostParams.js.map +1 -1
  273. package/dist/schemas/getApiAlphaPostRepliesParams.js +2 -1
  274. package/dist/schemas/getApiAlphaPostRepliesSort.js +4 -1
  275. package/dist/schemas/getApiAlphaPostRepliesSort.js.map +1 -1
  276. package/dist/schemas/getApiAlphaPostSiteMetadataParams.js +2 -1
  277. package/dist/schemas/getApiAlphaPostSiteMetadataParams.js.map +1 -1
  278. package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js +2 -1
  279. package/dist/schemas/getApiAlphaPrivateMessageConversationParams.js.map +1 -1
  280. package/dist/schemas/getApiAlphaPrivateMessageListParams.js +2 -1
  281. package/dist/schemas/getApiAlphaPrivateMessageListParams.js.map +1 -1
  282. package/dist/schemas/getApiAlphaResolveObjectParams.js +2 -1
  283. package/dist/schemas/getApiAlphaResolveObjectParams.js.map +1 -1
  284. package/dist/schemas/getApiAlphaSearchListingType.js +4 -1
  285. package/dist/schemas/getApiAlphaSearchListingType.js.map +1 -1
  286. package/dist/schemas/getApiAlphaSearchNsfw.js +4 -1
  287. package/dist/schemas/getApiAlphaSearchNsfw.js.map +1 -1
  288. package/dist/schemas/getApiAlphaSearchParams.js +2 -1
  289. package/dist/schemas/getApiAlphaSearchSort.js +4 -1
  290. package/dist/schemas/getApiAlphaSearchSort.js.map +1 -1
  291. package/dist/schemas/getApiAlphaSearchType.js +4 -1
  292. package/dist/schemas/getApiAlphaSearchType.js.map +1 -1
  293. package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js +2 -1
  294. package/dist/schemas/getApiAlphaSiteInstanceChooserSearchParams.js.map +1 -1
  295. package/dist/schemas/getApiAlphaSuggestCompletionParams.js +2 -1
  296. package/dist/schemas/getApiAlphaSuggestCompletionParams.js.map +1 -1
  297. package/dist/schemas/getApiAlphaTopicListParams.js +2 -1
  298. package/dist/schemas/getApiAlphaTopicListParams.js.map +1 -1
  299. package/dist/schemas/getApiAlphaUserMediaParams.js +2 -1
  300. package/dist/schemas/getApiAlphaUserMediaSort.js +4 -1
  301. package/dist/schemas/getApiAlphaUserMediaSort.js.map +1 -1
  302. package/dist/schemas/getApiAlphaUserMentionsParams.js +2 -1
  303. package/dist/schemas/getApiAlphaUserMentionsSort.js +4 -1
  304. package/dist/schemas/getApiAlphaUserMentionsSort.js.map +1 -1
  305. package/dist/schemas/getApiAlphaUserNotificationsParams.js +2 -1
  306. package/dist/schemas/getApiAlphaUserNotificationsStatus.js +4 -1
  307. package/dist/schemas/getApiAlphaUserNotificationsStatus.js.map +1 -1
  308. package/dist/schemas/getApiAlphaUserParams.js +2 -1
  309. package/dist/schemas/getApiAlphaUserRepliesParams.js +2 -1
  310. package/dist/schemas/getApiAlphaUserRepliesSort.js +4 -1
  311. package/dist/schemas/getApiAlphaUserRepliesSort.js.map +1 -1
  312. package/dist/schemas/getApiAlphaUserSort.js +4 -1
  313. package/dist/schemas/getApiAlphaUserSort.js.map +1 -1
  314. package/dist/schemas/getCommentReplyResponse.js +2 -1
  315. package/dist/schemas/getCommentReportResponse.js +2 -1
  316. package/dist/schemas/getCommentResponse.js +2 -1
  317. package/dist/schemas/getCommunityResponse.js +2 -1
  318. package/dist/schemas/getFederatedInstancesResponse.js +2 -1
  319. package/dist/schemas/getModLogResponse.js +2 -1
  320. package/dist/schemas/getPostRepliesResponse.js +2 -1
  321. package/dist/schemas/getPostRepliesResponseNextPage.js +2 -1
  322. package/dist/schemas/getPostRepliesResponseNextPage.js.map +1 -1
  323. package/dist/schemas/getPostResponse.js +2 -1
  324. package/dist/schemas/getPrivateMessageConversationResponse.js +2 -1
  325. package/dist/schemas/getRegistrationListResponse.js +2 -1
  326. package/dist/schemas/getSiteInstanceChooserResponse.js +2 -1
  327. package/dist/schemas/getSiteInstanceChooserSearchResponse.js +2 -1
  328. package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js +2 -1
  329. package/dist/schemas/getSiteInstanceChooserSearchResponseItem.js.map +1 -1
  330. package/dist/schemas/getSiteMetadataResponse.js +2 -1
  331. package/dist/schemas/getSiteResponse.js +2 -1
  332. package/dist/schemas/getSiteVersionResponse.js +2 -1
  333. package/dist/schemas/getSiteVersionResponse.js.map +1 -1
  334. package/dist/schemas/getSuggestCompletionResponse.js +2 -1
  335. package/dist/schemas/getSuggestCompletionResponse.js.map +1 -1
  336. package/dist/schemas/getUserResponse.js +2 -1
  337. package/dist/schemas/hidePostRequest.js +2 -1
  338. package/dist/schemas/hidePostRequest.js.map +1 -1
  339. package/dist/schemas/imageDeleteRequest.js +2 -1
  340. package/dist/schemas/imageDeleteRequest.js.map +1 -1
  341. package/dist/schemas/imageDeleteResponse.js +2 -1
  342. package/dist/schemas/imageDeleteResponse.js.map +1 -1
  343. package/dist/schemas/imageUploadRequest.js +2 -1
  344. package/dist/schemas/imageUploadRequest.js.map +1 -1
  345. package/dist/schemas/imageUploadResponse.js +2 -1
  346. package/dist/schemas/imageUploadResponse.js.map +1 -1
  347. package/dist/schemas/index.js +442 -426
  348. package/dist/schemas/index.js.map +1 -1
  349. package/dist/schemas/instance.js +2 -1
  350. package/dist/schemas/instance.js.map +1 -1
  351. package/dist/schemas/instanceBlockView.js +2 -1
  352. package/dist/schemas/instanceWithoutFederationState.js +2 -1
  353. package/dist/schemas/instanceWithoutFederationState.js.map +1 -1
  354. package/dist/schemas/languageView.js +2 -1
  355. package/dist/schemas/languageView.js.map +1 -1
  356. package/dist/schemas/leaveConversationRequest.js +2 -1
  357. package/dist/schemas/leaveConversationRequest.js.map +1 -1
  358. package/dist/schemas/likeCommentRequest.js +2 -1
  359. package/dist/schemas/likeCommentRequest.js.map +1 -1
  360. package/dist/schemas/likePostRequest.js +2 -1
  361. package/dist/schemas/likePostRequest.js.map +1 -1
  362. package/dist/schemas/listCommentLikesResponse.js +2 -1
  363. package/dist/schemas/listCommentLikesResponseNextPage.js +2 -1
  364. package/dist/schemas/listCommentLikesResponseNextPage.js.map +1 -1
  365. package/dist/schemas/listCommentsResponse.js +2 -1
  366. package/dist/schemas/listCommentsResponseNextPage.js +2 -1
  367. package/dist/schemas/listCommentsResponseNextPage.js.map +1 -1
  368. package/dist/schemas/listCommunitiesResponse.js +2 -1
  369. package/dist/schemas/listCommunitiesResponseNextPage.js +2 -1
  370. package/dist/schemas/listCommunitiesResponseNextPage.js.map +1 -1
  371. package/dist/schemas/listPostLikesResponse.js +2 -1
  372. package/dist/schemas/listPostLikesResponseNextPage.js +2 -1
  373. package/dist/schemas/listPostLikesResponseNextPage.js.map +1 -1
  374. package/dist/schemas/listPostsResponse.js +2 -1
  375. package/dist/schemas/listPostsResponseNextPage.js +2 -1
  376. package/dist/schemas/listPostsResponseNextPage.js.map +1 -1
  377. package/dist/schemas/listPrivateMessagesResponse.js +2 -1
  378. package/dist/schemas/localUser.js +2 -1
  379. package/dist/schemas/localUserAcceptPrivateMessages.js +4 -1
  380. package/dist/schemas/localUserAcceptPrivateMessages.js.map +1 -1
  381. package/dist/schemas/localUserAiVisibility.js +4 -1
  382. package/dist/schemas/localUserAiVisibility.js.map +1 -1
  383. package/dist/schemas/localUserBotVisibility.js +4 -1
  384. package/dist/schemas/localUserBotVisibility.js.map +1 -1
  385. package/dist/schemas/localUserDefaultCommentSortType.js +4 -1
  386. package/dist/schemas/localUserDefaultCommentSortType.js.map +1 -1
  387. package/dist/schemas/localUserDefaultListingType.js +4 -1
  388. package/dist/schemas/localUserDefaultListingType.js.map +1 -1
  389. package/dist/schemas/localUserDefaultSortType.js +4 -1
  390. package/dist/schemas/localUserDefaultSortType.js.map +1 -1
  391. package/dist/schemas/localUserNsflVisibility.js +4 -1
  392. package/dist/schemas/localUserNsflVisibility.js.map +1 -1
  393. package/dist/schemas/localUserNsfwVisibility.js +4 -1
  394. package/dist/schemas/localUserNsfwVisibility.js.map +1 -1
  395. package/dist/schemas/localUserView.js +2 -1
  396. package/dist/schemas/lockCommentRequest.js +2 -1
  397. package/dist/schemas/lockCommentRequest.js.map +1 -1
  398. package/dist/schemas/lockPostRequest.js +2 -1
  399. package/dist/schemas/lockPostRequest.js.map +1 -1
  400. package/dist/schemas/markCommentAsAnswerRequest.js +2 -1
  401. package/dist/schemas/markCommentAsAnswerRequest.js.map +1 -1
  402. package/dist/schemas/markCommentAsReadRequest.js +2 -1
  403. package/dist/schemas/markCommentAsReadRequest.js.map +1 -1
  404. package/dist/schemas/markPostAsReadRequest.js +2 -1
  405. package/dist/schemas/markPostAsReadRequest.js.map +1 -1
  406. package/dist/schemas/markPrivateMessageAsReadRequest.js +2 -1
  407. package/dist/schemas/markPrivateMessageAsReadRequest.js.map +1 -1
  408. package/dist/schemas/mediaView.js +2 -1
  409. package/dist/schemas/mediaView.js.map +1 -1
  410. package/dist/schemas/miniCrossPosts.js +2 -1
  411. package/dist/schemas/miniCrossPosts.js.map +1 -1
  412. package/dist/schemas/modAdd.js +2 -1
  413. package/dist/schemas/modAddCommunity.js +2 -1
  414. package/dist/schemas/modAddCommunityCommunityId.js +2 -1
  415. package/dist/schemas/modAddCommunityCommunityId.js.map +1 -1
  416. package/dist/schemas/modAddCommunityModPersonId.js +2 -1
  417. package/dist/schemas/modAddCommunityModPersonId.js.map +1 -1
  418. package/dist/schemas/modAddCommunityOtherPersonId.js +2 -1
  419. package/dist/schemas/modAddCommunityOtherPersonId.js.map +1 -1
  420. package/dist/schemas/modAddCommunityView.js +2 -1
  421. package/dist/schemas/modAddCommunityViewCommunity.js +2 -1
  422. package/dist/schemas/modAddCommunityViewModdedPerson.js +2 -1
  423. package/dist/schemas/modAddCommunityViewModerator.js +2 -1
  424. package/dist/schemas/modAddModPersonId.js +2 -1
  425. package/dist/schemas/modAddModPersonId.js.map +1 -1
  426. package/dist/schemas/modAddOtherPersonId.js +2 -1
  427. package/dist/schemas/modAddOtherPersonId.js.map +1 -1
  428. package/dist/schemas/modAddView.js +2 -1
  429. package/dist/schemas/modAddViewModdedPerson.js +2 -1
  430. package/dist/schemas/modAddViewModerator.js +2 -1
  431. package/dist/schemas/modBan.js +2 -1
  432. package/dist/schemas/modBanExpires.js +2 -1
  433. package/dist/schemas/modBanExpires.js.map +1 -1
  434. package/dist/schemas/modBanFromCommunity.js +2 -1
  435. package/dist/schemas/modBanFromCommunityCommunityId.js +2 -1
  436. package/dist/schemas/modBanFromCommunityCommunityId.js.map +1 -1
  437. package/dist/schemas/modBanFromCommunityExpires.js +2 -1
  438. package/dist/schemas/modBanFromCommunityExpires.js.map +1 -1
  439. package/dist/schemas/modBanFromCommunityModPersonId.js +2 -1
  440. package/dist/schemas/modBanFromCommunityModPersonId.js.map +1 -1
  441. package/dist/schemas/modBanFromCommunityOtherPersonId.js +2 -1
  442. package/dist/schemas/modBanFromCommunityOtherPersonId.js.map +1 -1
  443. package/dist/schemas/modBanFromCommunityReason.js +2 -1
  444. package/dist/schemas/modBanFromCommunityReason.js.map +1 -1
  445. package/dist/schemas/modBanFromCommunityView.js +2 -1
  446. package/dist/schemas/modBanFromCommunityViewBannedPerson.js +2 -1
  447. package/dist/schemas/modBanFromCommunityViewCommunity.js +2 -1
  448. package/dist/schemas/modBanFromCommunityViewModerator.js +2 -1
  449. package/dist/schemas/modBanModPersonId.js +2 -1
  450. package/dist/schemas/modBanModPersonId.js.map +1 -1
  451. package/dist/schemas/modBanOtherPersonId.js +2 -1
  452. package/dist/schemas/modBanOtherPersonId.js.map +1 -1
  453. package/dist/schemas/modBanReason.js +2 -1
  454. package/dist/schemas/modBanReason.js.map +1 -1
  455. package/dist/schemas/modBanView.js +2 -1
  456. package/dist/schemas/modBanViewBannedPerson.js +2 -1
  457. package/dist/schemas/modBanViewModerator.js +2 -1
  458. package/dist/schemas/modCommunityRequest.js +2 -1
  459. package/dist/schemas/modCommunityRequest.js.map +1 -1
  460. package/dist/schemas/modCommunityResponse.js +2 -1
  461. package/dist/schemas/modFeaturePost.js +2 -1
  462. package/dist/schemas/modFeaturePostModPersonId.js +2 -1
  463. package/dist/schemas/modFeaturePostModPersonId.js.map +1 -1
  464. package/dist/schemas/modFeaturePostPostId.js +2 -1
  465. package/dist/schemas/modFeaturePostPostId.js.map +1 -1
  466. package/dist/schemas/modFeaturePostView.js +2 -1
  467. package/dist/schemas/modFeaturePostViewCommunity.js +2 -1
  468. package/dist/schemas/modFeaturePostViewModerator.js +2 -1
  469. package/dist/schemas/modFeaturePostViewPost.js +2 -1
  470. package/dist/schemas/modHideCommunity.js +2 -1
  471. package/dist/schemas/modHideCommunityCommunityId.js +2 -1
  472. package/dist/schemas/modHideCommunityCommunityId.js.map +1 -1
  473. package/dist/schemas/modHideCommunityModPersonId.js +2 -1
  474. package/dist/schemas/modHideCommunityModPersonId.js.map +1 -1
  475. package/dist/schemas/modHideCommunityReason.js +2 -1
  476. package/dist/schemas/modHideCommunityReason.js.map +1 -1
  477. package/dist/schemas/modHideCommunityView.js +2 -1
  478. package/dist/schemas/modLockPost.js +2 -1
  479. package/dist/schemas/modLockPostModPersonId.js +2 -1
  480. package/dist/schemas/modLockPostModPersonId.js.map +1 -1
  481. package/dist/schemas/modLockPostPostId.js +2 -1
  482. package/dist/schemas/modLockPostPostId.js.map +1 -1
  483. package/dist/schemas/modLockPostView.js +2 -1
  484. package/dist/schemas/modLockPostViewCommunity.js +2 -1
  485. package/dist/schemas/modLockPostViewModerator.js +2 -1
  486. package/dist/schemas/modLockPostViewPost.js +2 -1
  487. package/dist/schemas/modRemoveComment.js +2 -1
  488. package/dist/schemas/modRemoveCommentCommentId.js +2 -1
  489. package/dist/schemas/modRemoveCommentCommentId.js.map +1 -1
  490. package/dist/schemas/modRemoveCommentModPersonId.js +2 -1
  491. package/dist/schemas/modRemoveCommentModPersonId.js.map +1 -1
  492. package/dist/schemas/modRemoveCommentReason.js +2 -1
  493. package/dist/schemas/modRemoveCommentReason.js.map +1 -1
  494. package/dist/schemas/modRemoveCommentView.js +2 -1
  495. package/dist/schemas/modRemoveCommentViewComment.js +2 -1
  496. package/dist/schemas/modRemoveCommentViewCommenter.js +2 -1
  497. package/dist/schemas/modRemoveCommentViewCommunity.js +2 -1
  498. package/dist/schemas/modRemoveCommentViewModerator.js +2 -1
  499. package/dist/schemas/modRemoveCommentViewPost.js +2 -1
  500. package/dist/schemas/modRemoveCommunity.js +2 -1
  501. package/dist/schemas/modRemoveCommunityCommunityId.js +2 -1
  502. package/dist/schemas/modRemoveCommunityCommunityId.js.map +1 -1
  503. package/dist/schemas/modRemoveCommunityModPersonId.js +2 -1
  504. package/dist/schemas/modRemoveCommunityModPersonId.js.map +1 -1
  505. package/dist/schemas/modRemoveCommunityReason.js +2 -1
  506. package/dist/schemas/modRemoveCommunityReason.js.map +1 -1
  507. package/dist/schemas/modRemoveCommunityView.js +2 -1
  508. package/dist/schemas/modRemoveCommunityViewCommunity.js +2 -1
  509. package/dist/schemas/modRemoveCommunityViewModerator.js +2 -1
  510. package/dist/schemas/modRemovePost.js +2 -1
  511. package/dist/schemas/modRemovePostModPersonId.js +2 -1
  512. package/dist/schemas/modRemovePostModPersonId.js.map +1 -1
  513. package/dist/schemas/modRemovePostPostId.js +2 -1
  514. package/dist/schemas/modRemovePostPostId.js.map +1 -1
  515. package/dist/schemas/modRemovePostReason.js +2 -1
  516. package/dist/schemas/modRemovePostReason.js.map +1 -1
  517. package/dist/schemas/modRemovePostView.js +2 -1
  518. package/dist/schemas/modRemovePostViewCommunity.js +2 -1
  519. package/dist/schemas/modRemovePostViewModerator.js +2 -1
  520. package/dist/schemas/modRemovePostViewPost.js +2 -1
  521. package/dist/schemas/modTransferCommunity.js +2 -1
  522. package/dist/schemas/modTransferCommunityCommunityId.js +2 -1
  523. package/dist/schemas/modTransferCommunityCommunityId.js.map +1 -1
  524. package/dist/schemas/modTransferCommunityModPersonId.js +2 -1
  525. package/dist/schemas/modTransferCommunityModPersonId.js.map +1 -1
  526. package/dist/schemas/modTransferCommunityOtherPersonId.js +2 -1
  527. package/dist/schemas/modTransferCommunityOtherPersonId.js.map +1 -1
  528. package/dist/schemas/modTransferCommunityView.js +2 -1
  529. package/dist/schemas/modTransferCommunityViewModdedPerson.js +2 -1
  530. package/dist/schemas/modTransferCommunityViewModerator.js +2 -1
  531. package/dist/schemas/myUserInfo.js +2 -1
  532. package/dist/schemas/newUserExtraField.js +2 -1
  533. package/dist/schemas/newUserExtraFieldId.js +2 -1
  534. package/dist/schemas/newUserExtraFieldId.js.map +1 -1
  535. package/dist/schemas/newUserExtraFieldLabel.js +2 -1
  536. package/dist/schemas/newUserExtraFieldLabel.js.map +1 -1
  537. package/dist/schemas/newUserExtraFieldText.js +2 -1
  538. package/dist/schemas/newUserExtraFieldText.js.map +1 -1
  539. package/dist/schemas/paginationMetadata.js +2 -1
  540. package/dist/schemas/paginationMetadata.js.map +1 -1
  541. package/dist/schemas/person.js +2 -1
  542. package/dist/schemas/personAggregates.js +2 -1
  543. package/dist/schemas/personAggregates.js.map +1 -1
  544. package/dist/schemas/personAvatar.js +2 -1
  545. package/dist/schemas/personAvatar.js.map +1 -1
  546. package/dist/schemas/personBanner.js +2 -1
  547. package/dist/schemas/personBanner.js.map +1 -1
  548. package/dist/schemas/personBlockView.js +2 -1
  549. package/dist/schemas/personTitle.js +2 -1
  550. package/dist/schemas/personTitle.js.map +1 -1
  551. package/dist/schemas/personView.js +2 -1
  552. package/dist/schemas/pollChoice.js +2 -1
  553. package/dist/schemas/pollChoice.js.map +1 -1
  554. package/dist/schemas/pollVoteRequest.js +2 -1
  555. package/dist/schemas/pollVoteRequest.js.map +1 -1
  556. package/dist/schemas/pollVoteResponse.js +2 -1
  557. package/dist/schemas/post.js +2 -1
  558. package/dist/schemas/postAggregates.js +2 -1
  559. package/dist/schemas/postAggregates.js.map +1 -1
  560. package/dist/schemas/postEmojiReactions.js +2 -1
  561. package/dist/schemas/postEvent.js +2 -1
  562. package/dist/schemas/postEventBuyTicketsLink.js +2 -1
  563. package/dist/schemas/postEventBuyTicketsLink.js.map +1 -1
  564. package/dist/schemas/postEventExternalParticipationUrl.js +2 -1
  565. package/dist/schemas/postEventExternalParticipationUrl.js.map +1 -1
  566. package/dist/schemas/postEventLocation.js +2 -1
  567. package/dist/schemas/postEventLocationAnyOf.js +2 -1
  568. package/dist/schemas/postEventLocationAnyOf.js.map +1 -1
  569. package/dist/schemas/postEventOnlineLink.js +2 -1
  570. package/dist/schemas/postEventOnlineLink.js.map +1 -1
  571. package/dist/schemas/postFlair.js +2 -1
  572. package/dist/schemas/postFlair.js.map +1 -1
  573. package/dist/schemas/postLikeView.js +2 -1
  574. package/dist/schemas/postPoll.js +2 -1
  575. package/dist/schemas/postPollMode.js +4 -1
  576. package/dist/schemas/postPollMode.js.map +1 -1
  577. package/dist/schemas/postPostType.js +4 -1
  578. package/dist/schemas/postPostType.js.map +1 -1
  579. package/dist/schemas/postReplyView.js +2 -1
  580. package/dist/schemas/postReplyViewSubscribed.js +4 -1
  581. package/dist/schemas/postReplyViewSubscribed.js.map +1 -1
  582. package/dist/schemas/postReport.js +2 -1
  583. package/dist/schemas/postReport.js.map +1 -1
  584. package/dist/schemas/postReportResponse.js +2 -1
  585. package/dist/schemas/postReportView.js +2 -1
  586. package/dist/schemas/postReportViewSubscribed.js +4 -1
  587. package/dist/schemas/postReportViewSubscribed.js.map +1 -1
  588. package/dist/schemas/postSetFlairRequest.js +2 -1
  589. package/dist/schemas/postSetFlairRequestFlairIdList.js +2 -1
  590. package/dist/schemas/postSetFlairRequestFlairIdList.js.map +1 -1
  591. package/dist/schemas/postSetFlairResponse.js +2 -1
  592. package/dist/schemas/postSetFlairResponseSubscribed.js +4 -1
  593. package/dist/schemas/postSetFlairResponseSubscribed.js.map +1 -1
  594. package/dist/schemas/postTags.js +2 -1
  595. package/dist/schemas/postTags.js.map +1 -1
  596. package/dist/schemas/postView.js +2 -1
  597. package/dist/schemas/postViewSubscribed.js +4 -1
  598. package/dist/schemas/postViewSubscribed.js.map +1 -1
  599. package/dist/schemas/privateMessage.js +2 -1
  600. package/dist/schemas/privateMessage.js.map +1 -1
  601. package/dist/schemas/privateMessageResponse.js +2 -1
  602. package/dist/schemas/privateMessageView.js +2 -1
  603. package/dist/schemas/reactions.js +2 -1
  604. package/dist/schemas/reactionsUrl.js +2 -1
  605. package/dist/schemas/reactionsUrl.js.map +1 -1
  606. package/dist/schemas/registrationApproveRequest.js +2 -1
  607. package/dist/schemas/registrationApproveRequest.js.map +1 -1
  608. package/dist/schemas/removeCommentRequest.js +2 -1
  609. package/dist/schemas/removeCommentRequest.js.map +1 -1
  610. package/dist/schemas/removePostRequest.js +2 -1
  611. package/dist/schemas/removePostRequest.js.map +1 -1
  612. package/dist/schemas/reportCommentRequest.js +2 -1
  613. package/dist/schemas/reportCommentRequest.js.map +1 -1
  614. package/dist/schemas/reportPostRequest.js +2 -1
  615. package/dist/schemas/reportPostRequest.js.map +1 -1
  616. package/dist/schemas/reportPrivateMessageRequest.js +2 -1
  617. package/dist/schemas/reportPrivateMessageRequest.js.map +1 -1
  618. package/dist/schemas/resolveObjectResponse.js +2 -1
  619. package/dist/schemas/saveCommentRequest.js +2 -1
  620. package/dist/schemas/saveCommentRequest.js.map +1 -1
  621. package/dist/schemas/savePostRequest.js +2 -1
  622. package/dist/schemas/savePostRequest.js.map +1 -1
  623. package/dist/schemas/searchResponse.js +2 -1
  624. package/dist/schemas/searchResponseType.js +4 -1
  625. package/dist/schemas/searchResponseType.js.map +1 -1
  626. package/dist/schemas/site.js +2 -1
  627. package/dist/schemas/siteIcon.js +2 -1
  628. package/dist/schemas/siteIcon.js.map +1 -1
  629. package/dist/schemas/siteMetadataView.js +2 -1
  630. package/dist/schemas/siteMetadataView.js.map +1 -1
  631. package/dist/schemas/siteRegistrationMode.js +4 -1
  632. package/dist/schemas/siteRegistrationMode.js.map +1 -1
  633. package/dist/schemas/subscribeCommentRequest.js +2 -1
  634. package/dist/schemas/subscribeCommentRequest.js.map +1 -1
  635. package/dist/schemas/subscribeCommunityRequest.js +2 -1
  636. package/dist/schemas/subscribeCommunityRequest.js.map +1 -1
  637. package/dist/schemas/subscribePostRequest.js +2 -1
  638. package/dist/schemas/subscribePostRequest.js.map +1 -1
  639. package/dist/schemas/successResponse.js +2 -1
  640. package/dist/schemas/successResponse.js.map +1 -1
  641. package/dist/schemas/topicListResponse.js +2 -1
  642. package/dist/schemas/topicView.js +2 -1
  643. package/dist/schemas/topicViewParentTopicId.js +2 -1
  644. package/dist/schemas/topicViewParentTopicId.js.map +1 -1
  645. package/dist/schemas/unprocessableEntityResponse.js +2 -1
  646. package/dist/schemas/userBanRequest.js +2 -1
  647. package/dist/schemas/userBanRequestBanIpAddress.js +2 -1
  648. package/dist/schemas/userBanRequestBanIpAddress.js.map +1 -1
  649. package/dist/schemas/userBanRequestPurgeContent.js +2 -1
  650. package/dist/schemas/userBanRequestPurgeContent.js.map +1 -1
  651. package/dist/schemas/userBanRequestReason.js +2 -1
  652. package/dist/schemas/userBanRequestReason.js.map +1 -1
  653. package/dist/schemas/userBanResponse.js +2 -1
  654. package/dist/schemas/userBlockRequest.js +2 -1
  655. package/dist/schemas/userBlockRequest.js.map +1 -1
  656. package/dist/schemas/userBlockResponse.js +2 -1
  657. package/dist/schemas/userExtraField.js +2 -1
  658. package/dist/schemas/userExtraField.js.map +1 -1
  659. package/dist/schemas/userLoginRequest.js +2 -1
  660. package/dist/schemas/userLoginRequest.js.map +1 -1
  661. package/dist/schemas/userLoginResponse.js +2 -1
  662. package/dist/schemas/userLoginResponse.js.map +1 -1
  663. package/dist/schemas/userMarkAllNotifsReadResponse.js +2 -1
  664. package/dist/schemas/userMarkAllNotifsReadResponse.js.map +1 -1
  665. package/dist/schemas/userMarkAllReadResponse.js +2 -1
  666. package/dist/schemas/userMeResponse.js +2 -1
  667. package/dist/schemas/userMediaResponse.js +2 -1
  668. package/dist/schemas/userMediaResponseNextPage.js +2 -1
  669. package/dist/schemas/userMediaResponseNextPage.js.map +1 -1
  670. package/dist/schemas/userMentionsResponse.js +2 -1
  671. package/dist/schemas/userMentionsResponseNextPage.js +2 -1
  672. package/dist/schemas/userMentionsResponseNextPage.js.map +1 -1
  673. package/dist/schemas/userNotificationItemView.js +2 -1
  674. package/dist/schemas/userNotificationItemViewStatus.js +4 -1
  675. package/dist/schemas/userNotificationItemViewStatus.js.map +1 -1
  676. package/dist/schemas/userNotificationStateRequest.js +2 -1
  677. package/dist/schemas/userNotificationStateRequest.js.map +1 -1
  678. package/dist/schemas/userNotificationsCountResponse.js +2 -1
  679. package/dist/schemas/userNotificationsCountResponse.js.map +1 -1
  680. package/dist/schemas/userNotificationsCounts.js +2 -1
  681. package/dist/schemas/userNotificationsCounts.js.map +1 -1
  682. package/dist/schemas/userNotificationsResponse.js +2 -1
  683. package/dist/schemas/userNotificationsResponseNextPage.js +2 -1
  684. package/dist/schemas/userNotificationsResponseNextPage.js.map +1 -1
  685. package/dist/schemas/userNotificationsResponseStatus.js +4 -1
  686. package/dist/schemas/userNotificationsResponseStatus.js.map +1 -1
  687. package/dist/schemas/userRegistration.js +2 -1
  688. package/dist/schemas/userRegistrationAnswer.js +2 -1
  689. package/dist/schemas/userRegistrationAnswer.js.map +1 -1
  690. package/dist/schemas/userRegistrationEmail.js +2 -1
  691. package/dist/schemas/userRegistrationEmail.js.map +1 -1
  692. package/dist/schemas/userRegistrationIpAddress.js +2 -1
  693. package/dist/schemas/userRegistrationIpAddress.js.map +1 -1
  694. package/dist/schemas/userRegistrationStatus.js +4 -1
  695. package/dist/schemas/userRegistrationStatus.js.map +1 -1
  696. package/dist/schemas/userRepliesResponse.js +2 -1
  697. package/dist/schemas/userRepliesResponseNextPage.js +2 -1
  698. package/dist/schemas/userRepliesResponseNextPage.js.map +1 -1
  699. package/dist/schemas/userSaveSettingsRequest.js +2 -1
  700. package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js +4 -1
  701. package/dist/schemas/userSaveSettingsRequestAcceptPrivateMessages.js.map +1 -1
  702. package/dist/schemas/userSaveSettingsRequestAvatar.js +2 -1
  703. package/dist/schemas/userSaveSettingsRequestAvatar.js.map +1 -1
  704. package/dist/schemas/userSaveSettingsRequestBotVisibility.js +4 -1
  705. package/dist/schemas/userSaveSettingsRequestBotVisibility.js.map +1 -1
  706. package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js +2 -1
  707. package/dist/schemas/userSaveSettingsRequestCommunityKeywordFilter.js.map +1 -1
  708. package/dist/schemas/userSaveSettingsRequestCover.js +2 -1
  709. package/dist/schemas/userSaveSettingsRequestCover.js.map +1 -1
  710. package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js +4 -1
  711. package/dist/schemas/userSaveSettingsRequestDefaultCommentSortType.js.map +1 -1
  712. package/dist/schemas/userSaveSettingsRequestDefaultSortType.js +4 -1
  713. package/dist/schemas/userSaveSettingsRequestDefaultSortType.js.map +1 -1
  714. package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js +4 -1
  715. package/dist/schemas/userSaveSettingsRequestGenaiVisibility.js.map +1 -1
  716. package/dist/schemas/userSaveSettingsRequestNsflVisibility.js +4 -1
  717. package/dist/schemas/userSaveSettingsRequestNsflVisibility.js.map +1 -1
  718. package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js +4 -1
  719. package/dist/schemas/userSaveSettingsRequestNsfwVisibility.js.map +1 -1
  720. package/dist/schemas/userSaveSettingsResponse.js +2 -1
  721. package/dist/schemas/userSetFlairRequest.js +2 -1
  722. package/dist/schemas/userSetFlairRequestFlairText.js +2 -1
  723. package/dist/schemas/userSetFlairRequestFlairText.js.map +1 -1
  724. package/dist/schemas/userSetFlairResponse.js +2 -1
  725. package/dist/schemas/userSetNoteRequest.js +2 -1
  726. package/dist/schemas/userSetNoteRequestNote.js +2 -1
  727. package/dist/schemas/userSetNoteRequestNote.js.map +1 -1
  728. package/dist/schemas/userSetNoteResponse.js +2 -1
  729. package/dist/schemas/userSubscribeRequest.js +2 -1
  730. package/dist/schemas/userSubscribeRequest.js.map +1 -1
  731. package/dist/schemas/userSubscribeResponse.js +2 -1
  732. package/dist/schemas/userUnbanRequest.js +2 -1
  733. package/dist/schemas/userUnbanRequest.js.map +1 -1
  734. package/dist/schemas/userUnreadCountsResponse.js +2 -1
  735. package/dist/schemas/userUnreadCountsResponse.js.map +1 -1
  736. package/dist/schemas/widthHeight.js +2 -1
  737. package/dist/schemas/widthHeight.js.map +1 -1
  738. package/dist/zod/admin/admin.js +52 -16
  739. package/dist/zod/admin/admin.js.map +1 -1
  740. package/dist/zod/comment/comment.js +280 -241
  741. package/dist/zod/comment/comment.js.map +1 -1
  742. package/dist/zod/community/community.js +158 -121
  743. package/dist/zod/community/community.js.map +1 -1
  744. package/dist/zod/feed/feed.js +54 -18
  745. package/dist/zod/feed/feed.js.map +1 -1
  746. package/dist/zod/misc/misc.js +246 -208
  747. package/dist/zod/misc/misc.js.map +1 -1
  748. package/dist/zod/post/post.js +578 -534
  749. package/dist/zod/post/post.js.map +1 -1
  750. package/dist/zod/private-message/private-message.js +112 -76
  751. package/dist/zod/private-message/private-message.js.map +1 -1
  752. package/dist/zod/site/site.js +76 -40
  753. package/dist/zod/site/site.js.map +1 -1
  754. package/dist/zod/topic/topic.js +41 -5
  755. package/dist/zod/topic/topic.js.map +1 -1
  756. package/dist/zod/upload/upload.js +45 -9
  757. package/dist/zod/upload/upload.js.map +1 -1
  758. package/dist/zod/user/user.js +351 -311
  759. package/dist/zod/user/user.js.map +1 -1
  760. package/dist/zod-index.js +27 -11
  761. package/dist/zod-index.js.map +1 -1
  762. package/package.json +7 -4
  763. package/src/__tests__/create-client.test.ts +317 -0
  764. package/src/client/admin/admin.ts +5 -55
  765. package/src/client/comment/comment.ts +29 -372
  766. package/src/client/community/community.ts +34 -444
  767. package/src/client/feed/feed.ts +13 -164
  768. package/src/client/misc/misc.ts +11 -133
  769. package/src/client/post/post.ts +41 -528
  770. package/src/client/private-message/private-message.ts +17 -216
  771. package/src/client/site/site.ts +11 -118
  772. package/src/client/topic/topic.ts +3 -29
  773. package/src/client/upload/upload.ts +9 -127
  774. package/src/client/user/user.ts +42 -528
  775. package/src/create-client.ts +35 -19
  776. package/src/index.ts +1 -14
  777. package/src/mutator/custom-fetch.ts +20 -6
@@ -1,20 +1,59 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentSubscribeBody = exports.putApiAlphaCommentSaveResponse = exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentSaveBody = exports.postApiAlphaCommentLikeResponse = exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentLikeBody = exports.postApiAlphaCommentLikeBodyPrivateDefault = exports.getApiAlphaCommentListResponse = exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = exports.getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = exports.getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = exports.getApiAlphaCommentListQueryParams = exports.getApiAlphaCommentListQuerySortDefault = exports.getApiAlphaCommentListQueryPageDefault = exports.getApiAlphaCommentListQueryLimitDefault = void 0;
37
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentDeleteBody = exports.getApiAlphaCommentResponse = exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.getApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.getApiAlphaCommentQueryParams = exports.putApiAlphaCommentResponse = exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.putApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.putApiAlphaCommentBody = exports.putApiAlphaCommentBodyDistinguishedDefault = exports.postApiAlphaCommentResponse = exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentBody = exports.putApiAlphaCommentSubscribeResponse = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = void 0;
38
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = exports.postApiAlphaCommentMarkAsReadBody = exports.postApiAlphaCommentRemoveResponse = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentRemoveBody = exports.postApiAlphaCommentReportResponse = exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = exports.postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = exports.postApiAlphaCommentReportBody = exports.postApiAlphaCommentReportBodyReportRemoteDefault = exports.postApiAlphaCommentDeleteResponse = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = void 0;
39
+ exports.getApiAlphaCommentLikeListResponse = exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = exports.getApiAlphaCommentLikeListQueryParams = exports.getApiAlphaCommentLikeListQueryLimitDefault = exports.getApiAlphaCommentLikeListQueryPageDefault = exports.postApiAlphaCommentLockResponse = exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = exports.postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = exports.postApiAlphaCommentLockBody = exports.postApiAlphaCommentMarkAsAnswerResponse = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = exports.postApiAlphaCommentMarkAsAnswerBody = exports.postApiAlphaCommentMarkAsReadResponse = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = void 0;
1
40
  /**
2
41
  * Generated by orval v7.21.0 🍺
3
42
  * Do not edit manually.
4
43
  * PieFed 1.6 Alpha API
5
44
  * OpenAPI spec version: alpha 1.6
6
45
  */
7
- import * as zod from 'zod';
46
+ const zod = __importStar(require("zod"));
8
47
  /**
9
48
  * @summary List comments, with various filters.
10
49
  */
11
- export const getApiAlphaCommentListQueryLimitDefault = 10;
12
- export const getApiAlphaCommentListQueryPageDefault = 1;
13
- export const getApiAlphaCommentListQuerySortDefault = "New";
14
- export const getApiAlphaCommentListQueryParams = zod.object({
15
- "limit": zod.number().default(getApiAlphaCommentListQueryLimitDefault),
16
- "page": zod.number().default(getApiAlphaCommentListQueryPageDefault),
17
- "sort": zod.enum(['Hot', 'Top', 'TopAll', 'New', 'Old', 'Controversial']).default(getApiAlphaCommentListQuerySortDefault),
50
+ exports.getApiAlphaCommentListQueryLimitDefault = 10;
51
+ exports.getApiAlphaCommentListQueryPageDefault = 1;
52
+ exports.getApiAlphaCommentListQuerySortDefault = "New";
53
+ exports.getApiAlphaCommentListQueryParams = zod.object({
54
+ "limit": zod.number().default(exports.getApiAlphaCommentListQueryLimitDefault),
55
+ "page": zod.number().default(exports.getApiAlphaCommentListQueryPageDefault),
56
+ "sort": zod.enum(['Hot', 'Top', 'TopAll', 'New', 'Old', 'Controversial']).default(exports.getApiAlphaCommentListQuerySortDefault),
18
57
  "liked_only": zod.boolean().optional(),
19
58
  "saved_only": zod.boolean().optional(),
20
59
  "person_id": zod.number().optional(),
@@ -24,18 +63,18 @@ export const getApiAlphaCommentListQueryParams = zod.object({
24
63
  "max_depth": zod.number().optional(),
25
64
  "depth_first": zod.boolean().optional().describe('guarantee parent comments are on the same page as any fetched comments')
26
65
  });
27
- export const getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = 4;
28
- export const getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = 50;
29
- export const getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = 0;
30
- export const getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = 0;
31
- export const getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = false;
32
- export const getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = false;
33
- export const getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = false;
34
- export const getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = 0;
35
- export const getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = false;
36
- export const getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = 0;
37
- export const getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = 10;
38
- export const getApiAlphaCommentListResponse = zod.object({
66
+ exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax = 4;
67
+ exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax = 50;
68
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventMaxAttendeesDefault = 0;
69
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventParticipantCountDefault = 0;
70
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventFullDefault = false;
71
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventAnonymousParticipationDefault = false;
72
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventOnlineDefault = false;
73
+ exports.getApiAlphaCommentListResponseCommentsItemPostEventEventFeeAmountDefault = 0;
74
+ exports.getApiAlphaCommentListResponseCommentsItemPostPollLocalOnlyDefault = false;
75
+ exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesItemNumVotesDefault = 0;
76
+ exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax = 10;
77
+ exports.getApiAlphaCommentListResponse = zod.object({
39
78
  "comments": zod.array(zod.object({
40
79
  "activity_alert": zod.boolean(),
41
80
  "banned_from_community": zod.boolean(),
@@ -110,8 +149,8 @@ export const getApiAlphaCommentListResponse = zod.object({
110
149
  "id": zod.number(),
111
150
  "label": zod.string(),
112
151
  "text": zod.string()
113
- })).max(getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax).optional(),
114
- "note": zod.string().max(getApiAlphaCommentListResponseCommentsItemCreatorNoteMax).optional(),
152
+ })).max(exports.getApiAlphaCommentListResponseCommentsItemCreatorExtraFieldsMax).optional(),
153
+ "note": zod.string().max(exports.getApiAlphaCommentListResponseCommentsItemCreatorNoteMax).optional(),
115
154
  "flair": zod.string().optional(),
116
155
  "published": zod.string().optional(),
117
156
  "title": zod.string().nullish()
@@ -187,7 +226,7 @@ export const getApiAlphaCommentListResponse = zod.object({
187
226
  "choice_text": zod.string(),
188
227
  "sort_order": zod.number(),
189
228
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
190
- })).max(getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax),
229
+ })).max(exports.getApiAlphaCommentListResponseCommentsItemPostPollChoicesMax),
191
230
  "my_votes": zod.array(zod.number()).optional()
192
231
  }).optional()
193
232
  }),
@@ -201,25 +240,25 @@ export const getApiAlphaCommentListResponse = zod.object({
201
240
  /**
202
241
  * @summary Like / vote on a comment.
203
242
  */
204
- export const postApiAlphaCommentLikeBodyPrivateDefault = false;
205
- export const postApiAlphaCommentLikeBody = zod.object({
243
+ exports.postApiAlphaCommentLikeBodyPrivateDefault = false;
244
+ exports.postApiAlphaCommentLikeBody = zod.object({
206
245
  "comment_id": zod.number(),
207
246
  "score": zod.number().describe('-1 to downvote, 1 to upvote, 0 to revert previous vote'),
208
247
  "private": zod.boolean().optional().describe('private votes are not federated to other instances'),
209
248
  "emoji": zod.string().optional()
210
249
  });
211
- export const postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = 4;
212
- export const postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = 50;
213
- export const postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = 0;
214
- export const postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = 0;
215
- export const postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = false;
216
- export const postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = false;
217
- export const postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = false;
218
- export const postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = 0;
219
- export const postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = false;
220
- export const postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
221
- export const postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = 10;
222
- export const postApiAlphaCommentLikeResponse = zod.object({
250
+ exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax = 4;
251
+ exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax = 50;
252
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventMaxAttendeesDefault = 0;
253
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventParticipantCountDefault = 0;
254
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventFullDefault = false;
255
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventAnonymousParticipationDefault = false;
256
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventOnlineDefault = false;
257
+ exports.postApiAlphaCommentLikeResponseCommentViewPostEventEventFeeAmountDefault = 0;
258
+ exports.postApiAlphaCommentLikeResponseCommentViewPostPollLocalOnlyDefault = false;
259
+ exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
260
+ exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax = 10;
261
+ exports.postApiAlphaCommentLikeResponse = zod.object({
223
262
  "comment_view": zod.object({
224
263
  "activity_alert": zod.boolean(),
225
264
  "banned_from_community": zod.boolean(),
@@ -294,8 +333,8 @@ export const postApiAlphaCommentLikeResponse = zod.object({
294
333
  "id": zod.number(),
295
334
  "label": zod.string(),
296
335
  "text": zod.string()
297
- })).max(postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax).optional(),
298
- "note": zod.string().max(postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax).optional(),
336
+ })).max(exports.postApiAlphaCommentLikeResponseCommentViewCreatorExtraFieldsMax).optional(),
337
+ "note": zod.string().max(exports.postApiAlphaCommentLikeResponseCommentViewCreatorNoteMax).optional(),
299
338
  "flair": zod.string().optional(),
300
339
  "published": zod.string().optional(),
301
340
  "title": zod.string().nullish()
@@ -371,7 +410,7 @@ export const postApiAlphaCommentLikeResponse = zod.object({
371
410
  "choice_text": zod.string(),
372
411
  "sort_order": zod.number(),
373
412
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
374
- })).max(postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax),
413
+ })).max(exports.postApiAlphaCommentLikeResponseCommentViewPostPollChoicesMax),
375
414
  "my_votes": zod.array(zod.number()).optional()
376
415
  }).optional()
377
416
  }),
@@ -384,22 +423,22 @@ export const postApiAlphaCommentLikeResponse = zod.object({
384
423
  /**
385
424
  * @summary Save a comment.
386
425
  */
387
- export const putApiAlphaCommentSaveBody = zod.object({
426
+ exports.putApiAlphaCommentSaveBody = zod.object({
388
427
  "comment_id": zod.number(),
389
428
  "save": zod.boolean()
390
429
  });
391
- export const putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = 4;
392
- export const putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = 50;
393
- export const putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = 0;
394
- export const putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = 0;
395
- export const putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = false;
396
- export const putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = false;
397
- export const putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = false;
398
- export const putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = 0;
399
- export const putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = false;
400
- export const putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
401
- export const putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = 10;
402
- export const putApiAlphaCommentSaveResponse = zod.object({
430
+ exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax = 4;
431
+ exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax = 50;
432
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventMaxAttendeesDefault = 0;
433
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventParticipantCountDefault = 0;
434
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventFullDefault = false;
435
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventAnonymousParticipationDefault = false;
436
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventOnlineDefault = false;
437
+ exports.putApiAlphaCommentSaveResponseCommentViewPostEventEventFeeAmountDefault = 0;
438
+ exports.putApiAlphaCommentSaveResponseCommentViewPostPollLocalOnlyDefault = false;
439
+ exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
440
+ exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax = 10;
441
+ exports.putApiAlphaCommentSaveResponse = zod.object({
403
442
  "comment_view": zod.object({
404
443
  "activity_alert": zod.boolean(),
405
444
  "banned_from_community": zod.boolean(),
@@ -474,8 +513,8 @@ export const putApiAlphaCommentSaveResponse = zod.object({
474
513
  "id": zod.number(),
475
514
  "label": zod.string(),
476
515
  "text": zod.string()
477
- })).max(putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax).optional(),
478
- "note": zod.string().max(putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax).optional(),
516
+ })).max(exports.putApiAlphaCommentSaveResponseCommentViewCreatorExtraFieldsMax).optional(),
517
+ "note": zod.string().max(exports.putApiAlphaCommentSaveResponseCommentViewCreatorNoteMax).optional(),
479
518
  "flair": zod.string().optional(),
480
519
  "published": zod.string().optional(),
481
520
  "title": zod.string().nullish()
@@ -551,7 +590,7 @@ export const putApiAlphaCommentSaveResponse = zod.object({
551
590
  "choice_text": zod.string(),
552
591
  "sort_order": zod.number(),
553
592
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
554
- })).max(putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax),
593
+ })).max(exports.putApiAlphaCommentSaveResponseCommentViewPostPollChoicesMax),
555
594
  "my_votes": zod.array(zod.number()).optional()
556
595
  }).optional()
557
596
  }),
@@ -564,22 +603,22 @@ export const putApiAlphaCommentSaveResponse = zod.object({
564
603
  /**
565
604
  * @summary Subscribe to a comment.
566
605
  */
567
- export const putApiAlphaCommentSubscribeBody = zod.object({
606
+ exports.putApiAlphaCommentSubscribeBody = zod.object({
568
607
  "comment_id": zod.number(),
569
608
  "subscribe": zod.boolean()
570
609
  });
571
- export const putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = 4;
572
- export const putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = 50;
573
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = 0;
574
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = 0;
575
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = false;
576
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = false;
577
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = false;
578
- export const putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = 0;
579
- export const putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = false;
580
- export const putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
581
- export const putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = 10;
582
- export const putApiAlphaCommentSubscribeResponse = zod.object({
610
+ exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax = 4;
611
+ exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax = 50;
612
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventMaxAttendeesDefault = 0;
613
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventParticipantCountDefault = 0;
614
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventFullDefault = false;
615
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventAnonymousParticipationDefault = false;
616
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventOnlineDefault = false;
617
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostEventEventFeeAmountDefault = 0;
618
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollLocalOnlyDefault = false;
619
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
620
+ exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax = 10;
621
+ exports.putApiAlphaCommentSubscribeResponse = zod.object({
583
622
  "comment_view": zod.object({
584
623
  "activity_alert": zod.boolean(),
585
624
  "banned_from_community": zod.boolean(),
@@ -654,8 +693,8 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
654
693
  "id": zod.number(),
655
694
  "label": zod.string(),
656
695
  "text": zod.string()
657
- })).max(putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax).optional(),
658
- "note": zod.string().max(putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax).optional(),
696
+ })).max(exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorExtraFieldsMax).optional(),
697
+ "note": zod.string().max(exports.putApiAlphaCommentSubscribeResponseCommentViewCreatorNoteMax).optional(),
659
698
  "flair": zod.string().optional(),
660
699
  "published": zod.string().optional(),
661
700
  "title": zod.string().nullish()
@@ -731,7 +770,7 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
731
770
  "choice_text": zod.string(),
732
771
  "sort_order": zod.number(),
733
772
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
734
- })).max(putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax),
773
+ })).max(exports.putApiAlphaCommentSubscribeResponseCommentViewPostPollChoicesMax),
735
774
  "my_votes": zod.array(zod.number()).optional()
736
775
  }).optional()
737
776
  }),
@@ -744,24 +783,24 @@ export const putApiAlphaCommentSubscribeResponse = zod.object({
744
783
  /**
745
784
  * @summary Create a comment.
746
785
  */
747
- export const postApiAlphaCommentBody = zod.object({
786
+ exports.postApiAlphaCommentBody = zod.object({
748
787
  "body": zod.string(),
749
788
  "post_id": zod.number(),
750
789
  "parent_id": zod.number().optional(),
751
790
  "language_id": zod.number().optional()
752
791
  });
753
- export const postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
754
- export const postApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
755
- export const postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
756
- export const postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
757
- export const postApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
758
- export const postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
759
- export const postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
760
- export const postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
761
- export const postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
762
- export const postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
763
- export const postApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
764
- export const postApiAlphaCommentResponse = zod.object({
792
+ exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
793
+ exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
794
+ exports.postApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
795
+ exports.postApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
796
+ exports.postApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
797
+ exports.postApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
798
+ exports.postApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
799
+ exports.postApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
800
+ exports.postApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
801
+ exports.postApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
802
+ exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
803
+ exports.postApiAlphaCommentResponse = zod.object({
765
804
  "comment_view": zod.object({
766
805
  "activity_alert": zod.boolean(),
767
806
  "banned_from_community": zod.boolean(),
@@ -836,8 +875,8 @@ export const postApiAlphaCommentResponse = zod.object({
836
875
  "id": zod.number(),
837
876
  "label": zod.string(),
838
877
  "text": zod.string()
839
- })).max(postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
840
- "note": zod.string().max(postApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
878
+ })).max(exports.postApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
879
+ "note": zod.string().max(exports.postApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
841
880
  "flair": zod.string().optional(),
842
881
  "published": zod.string().optional(),
843
882
  "title": zod.string().nullish()
@@ -913,7 +952,7 @@ export const postApiAlphaCommentResponse = zod.object({
913
952
  "choice_text": zod.string(),
914
953
  "sort_order": zod.number(),
915
954
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
916
- })).max(postApiAlphaCommentResponseCommentViewPostPollChoicesMax),
955
+ })).max(exports.postApiAlphaCommentResponseCommentViewPostPollChoicesMax),
917
956
  "my_votes": zod.array(zod.number()).optional()
918
957
  }).optional()
919
958
  }),
@@ -926,25 +965,25 @@ export const postApiAlphaCommentResponse = zod.object({
926
965
  /**
927
966
  * @summary Edit a comment.
928
967
  */
929
- export const putApiAlphaCommentBodyDistinguishedDefault = false;
930
- export const putApiAlphaCommentBody = zod.object({
968
+ exports.putApiAlphaCommentBodyDistinguishedDefault = false;
969
+ exports.putApiAlphaCommentBody = zod.object({
931
970
  "body": zod.string(),
932
971
  "comment_id": zod.number(),
933
972
  "language_id": zod.number().optional(),
934
973
  "distinguished": zod.boolean().optional().describe('Visibly mark reply as from a moderator in the web UI')
935
974
  });
936
- export const putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
937
- export const putApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
938
- export const putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
939
- export const putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
940
- export const putApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
941
- export const putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
942
- export const putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
943
- export const putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
944
- export const putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
945
- export const putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
946
- export const putApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
947
- export const putApiAlphaCommentResponse = zod.object({
975
+ exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
976
+ exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
977
+ exports.putApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
978
+ exports.putApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
979
+ exports.putApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
980
+ exports.putApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
981
+ exports.putApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
982
+ exports.putApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
983
+ exports.putApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
984
+ exports.putApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
985
+ exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
986
+ exports.putApiAlphaCommentResponse = zod.object({
948
987
  "comment_view": zod.object({
949
988
  "activity_alert": zod.boolean(),
950
989
  "banned_from_community": zod.boolean(),
@@ -1019,8 +1058,8 @@ export const putApiAlphaCommentResponse = zod.object({
1019
1058
  "id": zod.number(),
1020
1059
  "label": zod.string(),
1021
1060
  "text": zod.string()
1022
- })).max(putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
1023
- "note": zod.string().max(putApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
1061
+ })).max(exports.putApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
1062
+ "note": zod.string().max(exports.putApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
1024
1063
  "flair": zod.string().optional(),
1025
1064
  "published": zod.string().optional(),
1026
1065
  "title": zod.string().nullish()
@@ -1096,7 +1135,7 @@ export const putApiAlphaCommentResponse = zod.object({
1096
1135
  "choice_text": zod.string(),
1097
1136
  "sort_order": zod.number(),
1098
1137
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
1099
- })).max(putApiAlphaCommentResponseCommentViewPostPollChoicesMax),
1138
+ })).max(exports.putApiAlphaCommentResponseCommentViewPostPollChoicesMax),
1100
1139
  "my_votes": zod.array(zod.number()).optional()
1101
1140
  }).optional()
1102
1141
  }),
@@ -1109,21 +1148,21 @@ export const putApiAlphaCommentResponse = zod.object({
1109
1148
  /**
1110
1149
  * @summary Get / fetch a comment.
1111
1150
  */
1112
- export const getApiAlphaCommentQueryParams = zod.object({
1151
+ exports.getApiAlphaCommentQueryParams = zod.object({
1113
1152
  "id": zod.number()
1114
1153
  });
1115
- export const getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
1116
- export const getApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
1117
- export const getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
1118
- export const getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
1119
- export const getApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
1120
- export const getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
1121
- export const getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
1122
- export const getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
1123
- export const getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
1124
- export const getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1125
- export const getApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
1126
- export const getApiAlphaCommentResponse = zod.object({
1154
+ exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax = 4;
1155
+ exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax = 50;
1156
+ exports.getApiAlphaCommentResponseCommentViewPostEventMaxAttendeesDefault = 0;
1157
+ exports.getApiAlphaCommentResponseCommentViewPostEventParticipantCountDefault = 0;
1158
+ exports.getApiAlphaCommentResponseCommentViewPostEventFullDefault = false;
1159
+ exports.getApiAlphaCommentResponseCommentViewPostEventAnonymousParticipationDefault = false;
1160
+ exports.getApiAlphaCommentResponseCommentViewPostEventOnlineDefault = false;
1161
+ exports.getApiAlphaCommentResponseCommentViewPostEventEventFeeAmountDefault = 0;
1162
+ exports.getApiAlphaCommentResponseCommentViewPostPollLocalOnlyDefault = false;
1163
+ exports.getApiAlphaCommentResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1164
+ exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax = 10;
1165
+ exports.getApiAlphaCommentResponse = zod.object({
1127
1166
  "comment_view": zod.object({
1128
1167
  "activity_alert": zod.boolean(),
1129
1168
  "banned_from_community": zod.boolean(),
@@ -1198,8 +1237,8 @@ export const getApiAlphaCommentResponse = zod.object({
1198
1237
  "id": zod.number(),
1199
1238
  "label": zod.string(),
1200
1239
  "text": zod.string()
1201
- })).max(getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
1202
- "note": zod.string().max(getApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
1240
+ })).max(exports.getApiAlphaCommentResponseCommentViewCreatorExtraFieldsMax).optional(),
1241
+ "note": zod.string().max(exports.getApiAlphaCommentResponseCommentViewCreatorNoteMax).optional(),
1203
1242
  "flair": zod.string().optional(),
1204
1243
  "published": zod.string().optional(),
1205
1244
  "title": zod.string().nullish()
@@ -1275,7 +1314,7 @@ export const getApiAlphaCommentResponse = zod.object({
1275
1314
  "choice_text": zod.string(),
1276
1315
  "sort_order": zod.number(),
1277
1316
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
1278
- })).max(getApiAlphaCommentResponseCommentViewPostPollChoicesMax),
1317
+ })).max(exports.getApiAlphaCommentResponseCommentViewPostPollChoicesMax),
1279
1318
  "my_votes": zod.array(zod.number()).optional()
1280
1319
  }).optional()
1281
1320
  }),
@@ -1288,22 +1327,22 @@ export const getApiAlphaCommentResponse = zod.object({
1288
1327
  /**
1289
1328
  * @summary Delete a comment.
1290
1329
  */
1291
- export const postApiAlphaCommentDeleteBody = zod.object({
1330
+ exports.postApiAlphaCommentDeleteBody = zod.object({
1292
1331
  "comment_id": zod.number(),
1293
1332
  "deleted": zod.boolean()
1294
1333
  });
1295
- export const postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = 4;
1296
- export const postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = 50;
1297
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = 0;
1298
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = 0;
1299
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = false;
1300
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = false;
1301
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = false;
1302
- export const postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = 0;
1303
- export const postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = false;
1304
- export const postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1305
- export const postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = 10;
1306
- export const postApiAlphaCommentDeleteResponse = zod.object({
1334
+ exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax = 4;
1335
+ exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax = 50;
1336
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventMaxAttendeesDefault = 0;
1337
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventParticipantCountDefault = 0;
1338
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventFullDefault = false;
1339
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventAnonymousParticipationDefault = false;
1340
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventOnlineDefault = false;
1341
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostEventEventFeeAmountDefault = 0;
1342
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostPollLocalOnlyDefault = false;
1343
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1344
+ exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax = 10;
1345
+ exports.postApiAlphaCommentDeleteResponse = zod.object({
1307
1346
  "comment_view": zod.object({
1308
1347
  "activity_alert": zod.boolean(),
1309
1348
  "banned_from_community": zod.boolean(),
@@ -1378,8 +1417,8 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
1378
1417
  "id": zod.number(),
1379
1418
  "label": zod.string(),
1380
1419
  "text": zod.string()
1381
- })).max(postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax).optional(),
1382
- "note": zod.string().max(postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax).optional(),
1420
+ })).max(exports.postApiAlphaCommentDeleteResponseCommentViewCreatorExtraFieldsMax).optional(),
1421
+ "note": zod.string().max(exports.postApiAlphaCommentDeleteResponseCommentViewCreatorNoteMax).optional(),
1383
1422
  "flair": zod.string().optional(),
1384
1423
  "published": zod.string().optional(),
1385
1424
  "title": zod.string().nullish()
@@ -1455,7 +1494,7 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
1455
1494
  "choice_text": zod.string(),
1456
1495
  "sort_order": zod.number(),
1457
1496
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
1458
- })).max(postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax),
1497
+ })).max(exports.postApiAlphaCommentDeleteResponseCommentViewPostPollChoicesMax),
1459
1498
  "my_votes": zod.array(zod.number()).optional()
1460
1499
  }).optional()
1461
1500
  }),
@@ -1468,27 +1507,27 @@ export const postApiAlphaCommentDeleteResponse = zod.object({
1468
1507
  /**
1469
1508
  * @summary Report a comment.
1470
1509
  */
1471
- export const postApiAlphaCommentReportBodyReportRemoteDefault = true;
1472
- export const postApiAlphaCommentReportBody = zod.object({
1510
+ exports.postApiAlphaCommentReportBodyReportRemoteDefault = true;
1511
+ exports.postApiAlphaCommentReportBody = zod.object({
1473
1512
  "comment_id": zod.number(),
1474
1513
  "reason": zod.string(),
1475
1514
  "description": zod.string().optional(),
1476
- "report_remote": zod.boolean().default(postApiAlphaCommentReportBodyReportRemoteDefault).describe('Also send report to originating instance')
1515
+ "report_remote": zod.boolean().default(exports.postApiAlphaCommentReportBodyReportRemoteDefault).describe('Also send report to originating instance')
1477
1516
  });
1478
- export const postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = 4;
1479
- export const postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = 50;
1480
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = 0;
1481
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = 0;
1482
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = false;
1483
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = false;
1484
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = false;
1485
- export const postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = 0;
1486
- export const postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = false;
1487
- export const postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = 0;
1488
- export const postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = 10;
1489
- export const postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = 4;
1490
- export const postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = 50;
1491
- export const postApiAlphaCommentReportResponse = zod.object({
1517
+ exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax = 4;
1518
+ exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax = 50;
1519
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventMaxAttendeesDefault = 0;
1520
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventParticipantCountDefault = 0;
1521
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventFullDefault = false;
1522
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventAnonymousParticipationDefault = false;
1523
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventOnlineDefault = false;
1524
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostEventEventFeeAmountDefault = 0;
1525
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostPollLocalOnlyDefault = false;
1526
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesItemNumVotesDefault = 0;
1527
+ exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax = 10;
1528
+ exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax = 4;
1529
+ exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax = 50;
1530
+ exports.postApiAlphaCommentReportResponse = zod.object({
1492
1531
  "comment_report_view": zod.object({
1493
1532
  "activity_alert": zod.boolean(),
1494
1533
  "banned_from_community": zod.boolean(),
@@ -1563,8 +1602,8 @@ export const postApiAlphaCommentReportResponse = zod.object({
1563
1602
  "id": zod.number(),
1564
1603
  "label": zod.string(),
1565
1604
  "text": zod.string()
1566
- })).max(postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax).optional(),
1567
- "note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax).optional(),
1605
+ })).max(exports.postApiAlphaCommentReportResponseCommentReportViewCreatorExtraFieldsMax).optional(),
1606
+ "note": zod.string().max(exports.postApiAlphaCommentReportResponseCommentReportViewCreatorNoteMax).optional(),
1568
1607
  "flair": zod.string().optional(),
1569
1608
  "published": zod.string().optional(),
1570
1609
  "title": zod.string().nullish()
@@ -1640,7 +1679,7 @@ export const postApiAlphaCommentReportResponse = zod.object({
1640
1679
  "choice_text": zod.string(),
1641
1680
  "sort_order": zod.number(),
1642
1681
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
1643
- })).max(postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax),
1682
+ })).max(exports.postApiAlphaCommentReportResponseCommentReportViewPostPollChoicesMax),
1644
1683
  "my_votes": zod.array(zod.number()).optional()
1645
1684
  }).optional()
1646
1685
  }),
@@ -1675,8 +1714,8 @@ export const postApiAlphaCommentReportResponse = zod.object({
1675
1714
  "id": zod.number(),
1676
1715
  "label": zod.string(),
1677
1716
  "text": zod.string()
1678
- })).max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax).optional(),
1679
- "note": zod.string().max(postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax).optional(),
1717
+ })).max(exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorExtraFieldsMax).optional(),
1718
+ "note": zod.string().max(exports.postApiAlphaCommentReportResponseCommentReportViewCommentCreatorNoteMax).optional(),
1680
1719
  "flair": zod.string().optional(),
1681
1720
  "published": zod.string().optional(),
1682
1721
  "title": zod.string().nullish()
@@ -1686,23 +1725,23 @@ export const postApiAlphaCommentReportResponse = zod.object({
1686
1725
  /**
1687
1726
  * @summary Remove a comment as a moderator.
1688
1727
  */
1689
- export const postApiAlphaCommentRemoveBody = zod.object({
1728
+ exports.postApiAlphaCommentRemoveBody = zod.object({
1690
1729
  "comment_id": zod.number(),
1691
1730
  "removed": zod.boolean(),
1692
1731
  "reason": zod.string().optional()
1693
1732
  });
1694
- export const postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = 4;
1695
- export const postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = 50;
1696
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = 0;
1697
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = 0;
1698
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = false;
1699
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = false;
1700
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = false;
1701
- export const postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = 0;
1702
- export const postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = false;
1703
- export const postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1704
- export const postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = 10;
1705
- export const postApiAlphaCommentRemoveResponse = zod.object({
1733
+ exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax = 4;
1734
+ exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax = 50;
1735
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventMaxAttendeesDefault = 0;
1736
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventParticipantCountDefault = 0;
1737
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventFullDefault = false;
1738
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventAnonymousParticipationDefault = false;
1739
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventOnlineDefault = false;
1740
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostEventEventFeeAmountDefault = 0;
1741
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostPollLocalOnlyDefault = false;
1742
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
1743
+ exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax = 10;
1744
+ exports.postApiAlphaCommentRemoveResponse = zod.object({
1706
1745
  "comment_view": zod.object({
1707
1746
  "activity_alert": zod.boolean(),
1708
1747
  "banned_from_community": zod.boolean(),
@@ -1777,8 +1816,8 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
1777
1816
  "id": zod.number(),
1778
1817
  "label": zod.string(),
1779
1818
  "text": zod.string()
1780
- })).max(postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax).optional(),
1781
- "note": zod.string().max(postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax).optional(),
1819
+ })).max(exports.postApiAlphaCommentRemoveResponseCommentViewCreatorExtraFieldsMax).optional(),
1820
+ "note": zod.string().max(exports.postApiAlphaCommentRemoveResponseCommentViewCreatorNoteMax).optional(),
1782
1821
  "flair": zod.string().optional(),
1783
1822
  "published": zod.string().optional(),
1784
1823
  "title": zod.string().nullish()
@@ -1854,7 +1893,7 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
1854
1893
  "choice_text": zod.string(),
1855
1894
  "sort_order": zod.number(),
1856
1895
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
1857
- })).max(postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax),
1896
+ })).max(exports.postApiAlphaCommentRemoveResponseCommentViewPostPollChoicesMax),
1858
1897
  "my_votes": zod.array(zod.number()).optional()
1859
1898
  }).optional()
1860
1899
  }),
@@ -1867,24 +1906,24 @@ export const postApiAlphaCommentRemoveResponse = zod.object({
1867
1906
  /**
1868
1907
  * @summary Mark a comment reply as read.
1869
1908
  */
1870
- export const postApiAlphaCommentMarkAsReadBody = zod.object({
1909
+ exports.postApiAlphaCommentMarkAsReadBody = zod.object({
1871
1910
  "comment_reply_id": zod.number(),
1872
1911
  "read": zod.boolean()
1873
1912
  });
1874
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = 4;
1875
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = 50;
1876
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
1877
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = 0;
1878
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = false;
1879
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
1880
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = false;
1881
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
1882
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = false;
1883
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
1884
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = 10;
1885
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = 4;
1886
- export const postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = 50;
1887
- export const postApiAlphaCommentMarkAsReadResponse = zod.object({
1913
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax = 4;
1914
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax = 50;
1915
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
1916
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventParticipantCountDefault = 0;
1917
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventFullDefault = false;
1918
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
1919
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventOnlineDefault = false;
1920
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
1921
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollLocalOnlyDefault = false;
1922
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
1923
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax = 10;
1924
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax = 4;
1925
+ exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax = 50;
1926
+ exports.postApiAlphaCommentMarkAsReadResponse = zod.object({
1888
1927
  "comment_reply_view": zod.object({
1889
1928
  "activity_alert": zod.boolean(),
1890
1929
  "comment": zod.object({
@@ -1965,8 +2004,8 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
1965
2004
  "id": zod.number(),
1966
2005
  "label": zod.string(),
1967
2006
  "text": zod.string()
1968
- })).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
1969
- "note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax).optional(),
2007
+ })).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
2008
+ "note": zod.string().max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewCreatorNoteMax).optional(),
1970
2009
  "flair": zod.string().optional(),
1971
2010
  "published": zod.string().optional(),
1972
2011
  "title": zod.string().nullish()
@@ -2043,7 +2082,7 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
2043
2082
  "choice_text": zod.string(),
2044
2083
  "sort_order": zod.number(),
2045
2084
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
2046
- })).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax),
2085
+ })).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewPostPollChoicesMax),
2047
2086
  "my_votes": zod.array(zod.number()).optional()
2048
2087
  }).optional()
2049
2088
  }),
@@ -2064,8 +2103,8 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
2064
2103
  "id": zod.number(),
2065
2104
  "label": zod.string(),
2066
2105
  "text": zod.string()
2067
- })).max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
2068
- "note": zod.string().max(postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax).optional(),
2106
+ })).max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
2107
+ "note": zod.string().max(exports.postApiAlphaCommentMarkAsReadResponseCommentReplyViewRecipientNoteMax).optional(),
2069
2108
  "flair": zod.string().optional(),
2070
2109
  "published": zod.string().optional(),
2071
2110
  "title": zod.string().nullish()
@@ -2077,24 +2116,24 @@ export const postApiAlphaCommentMarkAsReadResponse = zod.object({
2077
2116
  /**
2078
2117
  * @summary Mark a comment as the preferred answer to a question.
2079
2118
  */
2080
- export const postApiAlphaCommentMarkAsAnswerBody = zod.object({
2119
+ exports.postApiAlphaCommentMarkAsAnswerBody = zod.object({
2081
2120
  "comment_reply_id": zod.number(),
2082
2121
  "answer": zod.boolean()
2083
2122
  });
2084
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = 4;
2085
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = 50;
2086
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
2087
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = 0;
2088
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = false;
2089
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
2090
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = false;
2091
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
2092
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = false;
2093
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
2094
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = 10;
2095
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = 4;
2096
- export const postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = 50;
2097
- export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2123
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax = 4;
2124
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax = 50;
2125
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventMaxAttendeesDefault = 0;
2126
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventParticipantCountDefault = 0;
2127
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventFullDefault = false;
2128
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventAnonymousParticipationDefault = false;
2129
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventOnlineDefault = false;
2130
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostEventEventFeeAmountDefault = 0;
2131
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollLocalOnlyDefault = false;
2132
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesItemNumVotesDefault = 0;
2133
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax = 10;
2134
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax = 4;
2135
+ exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax = 50;
2136
+ exports.postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2098
2137
  "comment_reply_view": zod.object({
2099
2138
  "activity_alert": zod.boolean(),
2100
2139
  "comment": zod.object({
@@ -2175,8 +2214,8 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2175
2214
  "id": zod.number(),
2176
2215
  "label": zod.string(),
2177
2216
  "text": zod.string()
2178
- })).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
2179
- "note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax).optional(),
2217
+ })).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorExtraFieldsMax).optional(),
2218
+ "note": zod.string().max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewCreatorNoteMax).optional(),
2180
2219
  "flair": zod.string().optional(),
2181
2220
  "published": zod.string().optional(),
2182
2221
  "title": zod.string().nullish()
@@ -2253,7 +2292,7 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2253
2292
  "choice_text": zod.string(),
2254
2293
  "sort_order": zod.number(),
2255
2294
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
2256
- })).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax),
2295
+ })).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewPostPollChoicesMax),
2257
2296
  "my_votes": zod.array(zod.number()).optional()
2258
2297
  }).optional()
2259
2298
  }),
@@ -2274,8 +2313,8 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2274
2313
  "id": zod.number(),
2275
2314
  "label": zod.string(),
2276
2315
  "text": zod.string()
2277
- })).max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
2278
- "note": zod.string().max(postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax).optional(),
2316
+ })).max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientExtraFieldsMax).optional(),
2317
+ "note": zod.string().max(exports.postApiAlphaCommentMarkAsAnswerResponseCommentReplyViewRecipientNoteMax).optional(),
2279
2318
  "flair": zod.string().optional(),
2280
2319
  "published": zod.string().optional(),
2281
2320
  "title": zod.string().nullish()
@@ -2287,22 +2326,22 @@ export const postApiAlphaCommentMarkAsAnswerResponse = zod.object({
2287
2326
  /**
2288
2327
  * @summary Lock a comment chain as a moderator.
2289
2328
  */
2290
- export const postApiAlphaCommentLockBody = zod.object({
2329
+ exports.postApiAlphaCommentLockBody = zod.object({
2291
2330
  "comment_id": zod.number(),
2292
2331
  "locked": zod.boolean()
2293
2332
  });
2294
- export const postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = 4;
2295
- export const postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = 50;
2296
- export const postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = 0;
2297
- export const postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = 0;
2298
- export const postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = false;
2299
- export const postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = false;
2300
- export const postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = false;
2301
- export const postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = 0;
2302
- export const postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = false;
2303
- export const postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
2304
- export const postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = 10;
2305
- export const postApiAlphaCommentLockResponse = zod.object({
2333
+ exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax = 4;
2334
+ exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax = 50;
2335
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventMaxAttendeesDefault = 0;
2336
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventParticipantCountDefault = 0;
2337
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventFullDefault = false;
2338
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventAnonymousParticipationDefault = false;
2339
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventOnlineDefault = false;
2340
+ exports.postApiAlphaCommentLockResponseCommentViewPostEventEventFeeAmountDefault = 0;
2341
+ exports.postApiAlphaCommentLockResponseCommentViewPostPollLocalOnlyDefault = false;
2342
+ exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesItemNumVotesDefault = 0;
2343
+ exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax = 10;
2344
+ exports.postApiAlphaCommentLockResponse = zod.object({
2306
2345
  "comment_view": zod.object({
2307
2346
  "activity_alert": zod.boolean(),
2308
2347
  "banned_from_community": zod.boolean(),
@@ -2377,8 +2416,8 @@ export const postApiAlphaCommentLockResponse = zod.object({
2377
2416
  "id": zod.number(),
2378
2417
  "label": zod.string(),
2379
2418
  "text": zod.string()
2380
- })).max(postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax).optional(),
2381
- "note": zod.string().max(postApiAlphaCommentLockResponseCommentViewCreatorNoteMax).optional(),
2419
+ })).max(exports.postApiAlphaCommentLockResponseCommentViewCreatorExtraFieldsMax).optional(),
2420
+ "note": zod.string().max(exports.postApiAlphaCommentLockResponseCommentViewCreatorNoteMax).optional(),
2382
2421
  "flair": zod.string().optional(),
2383
2422
  "published": zod.string().optional(),
2384
2423
  "title": zod.string().nullish()
@@ -2454,7 +2493,7 @@ export const postApiAlphaCommentLockResponse = zod.object({
2454
2493
  "choice_text": zod.string(),
2455
2494
  "sort_order": zod.number(),
2456
2495
  "num_votes": zod.number().optional().describe('Value is ignored when creating\/editing a poll')
2457
- })).max(postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax),
2496
+ })).max(exports.postApiAlphaCommentLockResponseCommentViewPostPollChoicesMax),
2458
2497
  "my_votes": zod.array(zod.number()).optional()
2459
2498
  }).optional()
2460
2499
  }),
@@ -2467,16 +2506,16 @@ export const postApiAlphaCommentLockResponse = zod.object({
2467
2506
  /**
2468
2507
  * @summary View comment votes as a moderator.
2469
2508
  */
2470
- export const getApiAlphaCommentLikeListQueryPageDefault = 1;
2471
- export const getApiAlphaCommentLikeListQueryLimitDefault = 50;
2472
- export const getApiAlphaCommentLikeListQueryParams = zod.object({
2509
+ exports.getApiAlphaCommentLikeListQueryPageDefault = 1;
2510
+ exports.getApiAlphaCommentLikeListQueryLimitDefault = 50;
2511
+ exports.getApiAlphaCommentLikeListQueryParams = zod.object({
2473
2512
  "comment_id": zod.number(),
2474
- "page": zod.number().default(getApiAlphaCommentLikeListQueryPageDefault),
2475
- "limit": zod.number().default(getApiAlphaCommentLikeListQueryLimitDefault)
2513
+ "page": zod.number().default(exports.getApiAlphaCommentLikeListQueryPageDefault),
2514
+ "limit": zod.number().default(exports.getApiAlphaCommentLikeListQueryLimitDefault)
2476
2515
  });
2477
- export const getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = 4;
2478
- export const getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = 50;
2479
- export const getApiAlphaCommentLikeListResponse = zod.object({
2516
+ exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax = 4;
2517
+ exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax = 50;
2518
+ exports.getApiAlphaCommentLikeListResponse = zod.object({
2480
2519
  "comment_likes": zod.array(zod.object({
2481
2520
  "score": zod.number(),
2482
2521
  "creator_banned_from_community": zod.boolean(),
@@ -2498,8 +2537,8 @@ export const getApiAlphaCommentLikeListResponse = zod.object({
2498
2537
  "id": zod.number(),
2499
2538
  "label": zod.string(),
2500
2539
  "text": zod.string()
2501
- })).max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax).optional(),
2502
- "note": zod.string().max(getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax).optional(),
2540
+ })).max(exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorExtraFieldsMax).optional(),
2541
+ "note": zod.string().max(exports.getApiAlphaCommentLikeListResponseCommentLikesItemCreatorNoteMax).optional(),
2503
2542
  "flair": zod.string().optional(),
2504
2543
  "published": zod.string().optional(),
2505
2544
  "title": zod.string().nullish()