@amityco/ts-sdk-react-native 7.18.1-bb0e7abc.0 → 7.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (497) hide show
  1. package/dist/@types/index.d.ts +0 -1
  2. package/dist/@types/index.d.ts.map +1 -1
  3. package/dist/__mocks__/marker/api/getMessageMarkers.d.ts +3 -0
  4. package/dist/__mocks__/marker/api/getMessageMarkers.d.ts.map +1 -0
  5. package/dist/__mocks__/marker/api/getSubChannelMarkers.d.ts +3 -0
  6. package/dist/__mocks__/marker/api/getSubChannelMarkers.d.ts.map +1 -0
  7. package/dist/__mocks__/marker/api/index.d.ts +6 -0
  8. package/dist/__mocks__/marker/api/index.d.ts.map +1 -0
  9. package/dist/adRepository/api/tests/integration/getNetworkAds.integration.test.d.ts +2 -0
  10. package/dist/adRepository/api/tests/integration/getNetworkAds.integration.test.d.ts.map +1 -0
  11. package/dist/categoryRepository/api/tests/integration/getCategory.integration.test.d.ts +2 -0
  12. package/dist/categoryRepository/api/tests/integration/getCategory.integration.test.d.ts.map +1 -0
  13. package/dist/categoryRepository/internalApi/tests/integration/getCategory.integration.test.d.ts +2 -0
  14. package/dist/categoryRepository/internalApi/tests/integration/getCategory.integration.test.d.ts.map +1 -0
  15. package/dist/categoryRepository/internalApi/tests/integration/queryCategories.integration.test.d.ts +2 -0
  16. package/dist/categoryRepository/internalApi/tests/integration/queryCategories.integration.test.d.ts.map +1 -0
  17. package/dist/categoryRepository/observers/getCategories.d.ts.map +1 -1
  18. package/dist/categoryRepository/observers/tests/integration/getCategories.integration.test.d.ts +2 -0
  19. package/dist/categoryRepository/observers/tests/integration/getCategories.integration.test.d.ts.map +1 -0
  20. package/dist/categoryRepository/observers/tests/integration/setup.d.ts +10 -0
  21. package/dist/categoryRepository/observers/tests/integration/setup.d.ts.map +1 -0
  22. package/dist/channelRepository/api/createChannel.d.ts.map +1 -1
  23. package/dist/channelRepository/api/tests/integration/createChannel.integration.test.d.ts +2 -0
  24. package/dist/channelRepository/api/tests/integration/createChannel.integration.test.d.ts.map +1 -0
  25. package/dist/channelRepository/api/tests/integration/deleteChannel.integration.test.d.ts +2 -0
  26. package/dist/channelRepository/api/tests/integration/deleteChannel.integration.test.d.ts.map +1 -0
  27. package/dist/channelRepository/api/tests/integration/getChannelByIds.integration.test.d.ts +2 -0
  28. package/dist/channelRepository/api/tests/integration/getChannelByIds.integration.test.d.ts.map +1 -0
  29. package/dist/channelRepository/api/tests/integration/joinChannel.integration.test.d.ts +2 -0
  30. package/dist/channelRepository/api/tests/integration/joinChannel.integration.test.d.ts.map +1 -0
  31. package/dist/channelRepository/api/tests/integration/leaveChannel.integration.test.d.ts +2 -0
  32. package/dist/channelRepository/api/tests/integration/leaveChannel.integration.test.d.ts.map +1 -0
  33. package/dist/channelRepository/api/tests/integration/markChannelsAsReadBySegment.integration.test.d.ts +2 -0
  34. package/dist/channelRepository/api/tests/integration/markChannelsAsReadBySegment.integration.test.d.ts.map +1 -0
  35. package/dist/channelRepository/api/tests/integration/muteChannel.integration.test.d.ts +2 -0
  36. package/dist/channelRepository/api/tests/integration/muteChannel.integration.test.d.ts.map +1 -0
  37. package/dist/channelRepository/api/tests/integration/queryChannels.integration.test.d.ts +2 -0
  38. package/dist/channelRepository/api/tests/integration/queryChannels.integration.test.d.ts.map +1 -0
  39. package/dist/channelRepository/api/tests/integration/unmuteChannel.integration.test.d.ts +2 -0
  40. package/dist/channelRepository/api/tests/integration/unmuteChannel.integration.test.d.ts.map +1 -0
  41. package/dist/channelRepository/api/tests/integration/updateChannel.integration.test.d.ts +2 -0
  42. package/dist/channelRepository/api/tests/integration/updateChannel.integration.test.d.ts.map +1 -0
  43. package/dist/channelRepository/observers/getChannel.d.ts.map +1 -1
  44. package/dist/channelRepository/observers/tests/integrations/getChannel.integration.test.d.ts +2 -0
  45. package/dist/channelRepository/observers/tests/integrations/getChannel.integration.test.d.ts.map +1 -0
  46. package/dist/channelRepository/observers/tests/integrations/getChannels.integration.test.d.ts +2 -0
  47. package/dist/channelRepository/observers/tests/integrations/getChannels.integration.test.d.ts.map +1 -0
  48. package/dist/channelRepository/observers/tests/integrations/getMyMembership.integration.test.d.ts +2 -0
  49. package/dist/channelRepository/observers/tests/integrations/getMyMembership.integration.test.d.ts.map +1 -0
  50. package/dist/channelRepository/observers/tests/integrations/getMyMembership.noUser.integration.test.d.ts +2 -0
  51. package/dist/channelRepository/observers/tests/integrations/getMyMembership.noUser.integration.test.d.ts.map +1 -0
  52. package/dist/channelRepository/observers/tests/integrations/getTotalChannelsUnread.integration.test.d.ts +2 -0
  53. package/dist/channelRepository/observers/tests/integrations/getTotalChannelsUnread.integration.test.d.ts.map +1 -0
  54. package/dist/channelRepository/observers/tests/integrations/getTotalChannelsUnread.noUser.integration.test.d.ts +2 -0
  55. package/dist/channelRepository/observers/tests/integrations/getTotalChannelsUnread.noUser.integration.test.d.ts.map +1 -0
  56. package/dist/channelRepository/utils/prepareChannelPayload.d.ts.map +1 -1
  57. package/dist/client/api/index.d.ts +0 -1
  58. package/dist/client/api/index.d.ts.map +1 -1
  59. package/dist/client/api/tests/integration/accessTokenExpiryWatcher.integration.test.d.ts +2 -0
  60. package/dist/client/api/tests/integration/accessTokenExpiryWatcher.integration.test.d.ts.map +1 -0
  61. package/dist/client/api/tests/integration/accessTokenFunctions.integration.test.d.ts +2 -0
  62. package/dist/client/api/tests/integration/accessTokenFunctions.integration.test.d.ts.map +1 -0
  63. package/dist/client/api/tests/integration/activeUser.branches.integration.test.d.ts +2 -0
  64. package/dist/client/api/tests/integration/activeUser.branches.integration.test.d.ts.map +1 -0
  65. package/dist/client/api/tests/integration/activeUser.noUser.integration.test.d.ts +2 -0
  66. package/dist/client/api/tests/integration/activeUser.noUser.integration.test.d.ts.map +1 -0
  67. package/dist/client/api/tests/integration/createClient.branches.integration.test.d.ts +2 -0
  68. package/dist/client/api/tests/integration/createClient.branches.integration.test.d.ts.map +1 -0
  69. package/dist/client/api/tests/integration/createClient.integration.test.d.ts +2 -0
  70. package/dist/client/api/tests/integration/createClient.integration.test.d.ts.map +1 -0
  71. package/dist/client/api/tests/integration/getSettings.integration.test.d.ts +2 -0
  72. package/dist/client/api/tests/integration/getSettings.integration.test.d.ts.map +1 -0
  73. package/dist/client/api/tests/integration/login.branches.integration.test.d.ts +2 -0
  74. package/dist/client/api/tests/integration/login.branches.integration.test.d.ts.map +1 -0
  75. package/dist/client/api/tests/integration/login.integration.test.d.ts +2 -0
  76. package/dist/client/api/tests/integration/login.integration.test.d.ts.map +1 -0
  77. package/dist/client/api/tests/integration/loginAlternate.integration.test.d.ts +2 -0
  78. package/dist/client/api/tests/integration/loginAlternate.integration.test.d.ts.map +1 -0
  79. package/dist/client/api/tests/integration/loginAsBot.catch.integration.test.d.ts +2 -0
  80. package/dist/client/api/tests/integration/loginAsBot.catch.integration.test.d.ts.map +1 -0
  81. package/dist/client/api/tests/integration/loginAsBot.integration.test.d.ts +2 -0
  82. package/dist/client/api/tests/integration/loginAsBot.integration.test.d.ts.map +1 -0
  83. package/dist/client/api/tests/integration/loginAsBotTerminated.integration.test.d.ts +2 -0
  84. package/dist/client/api/tests/integration/loginAsBotTerminated.integration.test.d.ts.map +1 -0
  85. package/dist/client/api/tests/integration/loginAsVisitor.integration.test.d.ts +2 -0
  86. package/dist/client/api/tests/integration/loginAsVisitor.integration.test.d.ts.map +1 -0
  87. package/dist/client/api/tests/integration/loginAsVisitorTerminated.integration.test.d.ts +2 -0
  88. package/dist/client/api/tests/integration/loginAsVisitorTerminated.integration.test.d.ts.map +1 -0
  89. package/dist/client/api/tests/integration/logout.branches.integration.test.d.ts +2 -0
  90. package/dist/client/api/tests/integration/logout.branches.integration.test.d.ts.map +1 -0
  91. package/dist/client/api/tests/integration/resumeSession.integration.test.d.ts +2 -0
  92. package/dist/client/api/tests/integration/resumeSession.integration.test.d.ts.map +1 -0
  93. package/dist/client/api/tests/integration/resumeSessionLegacy.integration.test.d.ts +2 -0
  94. package/dist/client/api/tests/integration/resumeSessionLegacy.integration.test.d.ts.map +1 -0
  95. package/dist/client/api/tests/integration/sessionState.integration.test.d.ts +2 -0
  96. package/dist/client/api/tests/integration/sessionState.integration.test.d.ts.map +1 -0
  97. package/dist/client/api/tests/integration/setupLoginSubscriptions.branches.integration.test.d.ts +2 -0
  98. package/dist/client/api/tests/integration/setupLoginSubscriptions.branches.integration.test.d.ts.map +1 -0
  99. package/dist/client/api/tests/integration/setupLoginSubscriptions.legacyUnread.integration.test.d.ts +2 -0
  100. package/dist/client/api/tests/integration/setupLoginSubscriptions.legacyUnread.integration.test.d.ts.map +1 -0
  101. package/dist/client/api/tests/integration/utilities.integration.test.d.ts +2 -0
  102. package/dist/client/api/tests/integration/utilities.integration.test.d.ts.map +1 -0
  103. package/dist/client/api/tests/integration/validateAndTerminate.integration.test.d.ts +2 -0
  104. package/dist/client/api/tests/integration/validateAndTerminate.integration.test.d.ts.map +1 -0
  105. package/dist/client/observers/tests/integrations/getUserUnread.integration.test.d.ts +2 -0
  106. package/dist/client/observers/tests/integrations/getUserUnread.integration.test.d.ts.map +1 -0
  107. package/dist/client/observers/tests/integrations/getUserUnreadEdgeCases.integration.test.d.ts +2 -0
  108. package/dist/client/observers/tests/integrations/getUserUnreadEdgeCases.integration.test.d.ts.map +1 -0
  109. package/dist/commentRepository/api/tests/getComment.test.d.ts +2 -0
  110. package/dist/commentRepository/api/tests/getComment.test.d.ts.map +1 -0
  111. package/dist/commentRepository/events/utils.d.ts.map +1 -1
  112. package/dist/commentRepository/observers/tests/integrations/getComment.integration.test.d.ts +2 -0
  113. package/dist/commentRepository/observers/tests/integrations/getComment.integration.test.d.ts.map +1 -0
  114. package/dist/commentRepository/observers/tests/integrations/getComments.integration.test.d.ts +2 -0
  115. package/dist/commentRepository/observers/tests/integrations/getComments.integration.test.d.ts.map +1 -0
  116. package/dist/communityRepository/api/queryCommunities.d.ts.map +1 -1
  117. package/dist/communityRepository/api/test/integration/createCommunity.integration.test.d.ts +2 -0
  118. package/dist/communityRepository/api/test/integration/createCommunity.integration.test.d.ts.map +1 -0
  119. package/dist/communityRepository/api/test/integration/deleteCommunity.integration.test.d.ts +2 -0
  120. package/dist/communityRepository/api/test/integration/deleteCommunity.integration.test.d.ts.map +1 -0
  121. package/dist/communityRepository/api/test/integration/getCommunities.integration.test.d.ts +2 -0
  122. package/dist/communityRepository/api/test/integration/getCommunities.integration.test.d.ts.map +1 -0
  123. package/dist/communityRepository/api/test/integration/getCommunity.integration.test.d.ts +2 -0
  124. package/dist/communityRepository/api/test/integration/getCommunity.integration.test.d.ts.map +1 -0
  125. package/dist/communityRepository/api/test/integration/getRecommendedCommunities.integration.test.d.ts +2 -0
  126. package/dist/communityRepository/api/test/integration/getRecommendedCommunities.integration.test.d.ts.map +1 -0
  127. package/dist/communityRepository/api/test/integration/getTrendingCommunities.integration.test.d.ts +2 -0
  128. package/dist/communityRepository/api/test/integration/getTrendingCommunities.integration.test.d.ts.map +1 -0
  129. package/dist/communityRepository/api/test/integration/joinCommunity.integration.test.d.ts +2 -0
  130. package/dist/communityRepository/api/test/integration/joinCommunity.integration.test.d.ts.map +1 -0
  131. package/dist/communityRepository/api/test/integration/leaveCommunity.integration.test.d.ts +2 -0
  132. package/dist/communityRepository/api/test/integration/leaveCommunity.integration.test.d.ts.map +1 -0
  133. package/dist/communityRepository/api/test/integration/queryCommunities.integration.test.d.ts +2 -0
  134. package/dist/communityRepository/api/test/integration/queryCommunities.integration.test.d.ts.map +1 -0
  135. package/dist/communityRepository/api/test/integration/setup.d.ts +17 -0
  136. package/dist/communityRepository/api/test/integration/setup.d.ts.map +1 -0
  137. package/dist/communityRepository/api/test/integration/updateCommunity.integration.test.d.ts +2 -0
  138. package/dist/communityRepository/api/test/integration/updateCommunity.integration.test.d.ts.map +1 -0
  139. package/dist/communityRepository/communityMembership/api/tests/integration/addMembers.integration.test.d.ts +2 -0
  140. package/dist/communityRepository/communityMembership/api/tests/integration/addMembers.integration.test.d.ts.map +1 -0
  141. package/dist/communityRepository/communityMembership/api/tests/integration/queryCommunityMembers.integration.test.d.ts +2 -0
  142. package/dist/communityRepository/communityMembership/api/tests/integration/queryCommunityMembers.integration.test.d.ts.map +1 -0
  143. package/dist/communityRepository/communityMembership/api/tests/integration/removeMembers.integration.test.d.ts +2 -0
  144. package/dist/communityRepository/communityMembership/api/tests/integration/removeMembers.integration.test.d.ts.map +1 -0
  145. package/dist/communityRepository/communityMembership/api/tests/integration/setup.d.ts +10 -0
  146. package/dist/communityRepository/communityMembership/api/tests/integration/setup.d.ts.map +1 -0
  147. package/dist/communityRepository/communityMembership/observers/tests/integration/getMembers.integration.test.d.ts +2 -0
  148. package/dist/communityRepository/communityMembership/observers/tests/integration/getMembers.integration.test.d.ts.map +1 -0
  149. package/dist/communityRepository/communityMembership/observers/tests/integration/searchMembers.integration.test.d.ts +2 -0
  150. package/dist/communityRepository/communityMembership/observers/tests/integration/searchMembers.integration.test.d.ts.map +1 -0
  151. package/dist/communityRepository/communityMembership/observers/tests/integration/setup.d.ts +8 -0
  152. package/dist/communityRepository/communityMembership/observers/tests/integration/setup.d.ts.map +1 -0
  153. package/dist/communityRepository/communityModeration/api/test/integration/addRoles.integration.test.d.ts +2 -0
  154. package/dist/communityRepository/communityModeration/api/test/integration/addRoles.integration.test.d.ts.map +1 -0
  155. package/dist/communityRepository/communityModeration/api/test/integration/banMembers.integration.test.d.ts +2 -0
  156. package/dist/communityRepository/communityModeration/api/test/integration/banMembers.integration.test.d.ts.map +1 -0
  157. package/dist/communityRepository/communityModeration/api/test/integration/removeRoles.integration.test.d.ts +2 -0
  158. package/dist/communityRepository/communityModeration/api/test/integration/removeRoles.integration.test.d.ts.map +1 -0
  159. package/dist/communityRepository/communityModeration/api/test/integration/setup.d.ts +14 -0
  160. package/dist/communityRepository/communityModeration/api/test/integration/setup.d.ts.map +1 -0
  161. package/dist/communityRepository/communityModeration/api/test/integration/unbanMembers.integration.test.d.ts +2 -0
  162. package/dist/communityRepository/communityModeration/api/test/integration/unbanMembers.integration.test.d.ts.map +1 -0
  163. package/dist/communityRepository/observers/tests/integration/getCommunities.integration.test.d.ts +2 -0
  164. package/dist/communityRepository/observers/tests/integration/getCommunities.integration.test.d.ts.map +1 -0
  165. package/dist/communityRepository/observers/tests/integration/getCommunity.integration.test.d.ts +2 -0
  166. package/dist/communityRepository/observers/tests/integration/getCommunity.integration.test.d.ts.map +1 -0
  167. package/dist/communityRepository/observers/tests/integration/getJoinRequestList.integration.test.d.ts +2 -0
  168. package/dist/communityRepository/observers/tests/integration/getJoinRequestList.integration.test.d.ts.map +1 -0
  169. package/dist/communityRepository/observers/tests/integration/getJoinRequests.integration.test.d.ts +2 -0
  170. package/dist/communityRepository/observers/tests/integration/getJoinRequests.integration.test.d.ts.map +1 -0
  171. package/dist/communityRepository/observers/tests/integration/getRecommendedCommunities.integration.test.d.ts +2 -0
  172. package/dist/communityRepository/observers/tests/integration/getRecommendedCommunities.integration.test.d.ts.map +1 -0
  173. package/dist/communityRepository/observers/tests/integration/getTrendingCommunities.integration.test.d.ts +2 -0
  174. package/dist/communityRepository/observers/tests/integration/getTrendingCommunities.integration.test.d.ts.map +1 -0
  175. package/dist/communityRepository/observers/tests/integration/searchCommunities.integration.test.d.ts +2 -0
  176. package/dist/communityRepository/observers/tests/integration/searchCommunities.integration.test.d.ts.map +1 -0
  177. package/dist/communityRepository/observers/tests/integration/semanticSearchCommunities.integration.test.d.ts +2 -0
  178. package/dist/communityRepository/observers/tests/integration/semanticSearchCommunities.integration.test.d.ts.map +1 -0
  179. package/dist/communityRepository/observers/tests/integration/setup.d.ts +21 -0
  180. package/dist/communityRepository/observers/tests/integration/setup.d.ts.map +1 -0
  181. package/dist/core/transports/mqtt.d.ts.map +1 -1
  182. package/dist/eventRepository/api/tests/integration/createEvent.integration.test.d.ts +2 -0
  183. package/dist/eventRepository/api/tests/integration/createEvent.integration.test.d.ts.map +1 -0
  184. package/dist/eventRepository/api/tests/integration/deleteEvent.integration.test.d.ts +2 -0
  185. package/dist/eventRepository/api/tests/integration/deleteEvent.integration.test.d.ts.map +1 -0
  186. package/dist/eventRepository/api/tests/integration/updateEvent.integration.test.d.ts +2 -0
  187. package/dist/eventRepository/api/tests/integration/updateEvent.integration.test.d.ts.map +1 -0
  188. package/dist/eventRepository/internalApi/tests/integration/createRSVP.integration.test.d.ts +2 -0
  189. package/dist/eventRepository/internalApi/tests/integration/createRSVP.integration.test.d.ts.map +1 -0
  190. package/dist/eventRepository/internalApi/tests/integration/getEvent.integration.test.d.ts +2 -0
  191. package/dist/eventRepository/internalApi/tests/integration/getEvent.integration.test.d.ts.map +1 -0
  192. package/dist/eventRepository/internalApi/tests/integration/getMyRSVP.integration.test.d.ts +2 -0
  193. package/dist/eventRepository/internalApi/tests/integration/getMyRSVP.integration.test.d.ts.map +1 -0
  194. package/dist/eventRepository/internalApi/tests/integration/updateRSVP.integration.test.d.ts +2 -0
  195. package/dist/eventRepository/internalApi/tests/integration/updateRSVP.integration.test.d.ts.map +1 -0
  196. package/dist/eventRepository/observers/tests/integrations/getEvent.integration.test.d.ts +2 -0
  197. package/dist/eventRepository/observers/tests/integrations/getEvent.integration.test.d.ts.map +1 -0
  198. package/dist/eventRepository/observers/tests/integrations/getEvents.integration.test.d.ts +2 -0
  199. package/dist/eventRepository/observers/tests/integrations/getEvents.integration.test.d.ts.map +1 -0
  200. package/dist/eventRepository/observers/tests/integrations/getMyEvents.integration.test.d.ts +2 -0
  201. package/dist/eventRepository/observers/tests/integrations/getMyEvents.integration.test.d.ts.map +1 -0
  202. package/dist/eventRepository/observers/tests/integrations/getRSVPs.integration.test.d.ts +2 -0
  203. package/dist/eventRepository/observers/tests/integrations/getRSVPs.integration.test.d.ts.map +1 -0
  204. package/dist/eventRepository/utils/createEventResponseSubscriber.d.ts +7 -1
  205. package/dist/eventRepository/utils/createEventResponseSubscriber.d.ts.map +1 -1
  206. package/dist/external/api/tests/integration/createUserToken.integration.test.d.ts +2 -0
  207. package/dist/external/api/tests/integration/createUserToken.integration.test.d.ts.map +1 -0
  208. package/dist/feedRepository/api/tests/integration/queryGlobalFeed.integration.test.d.ts +2 -0
  209. package/dist/feedRepository/api/tests/integration/queryGlobalFeed.integration.test.d.ts.map +1 -0
  210. package/dist/feedRepository/observers/tests/integration/getCommunityFeed.integration.test.d.ts +2 -0
  211. package/dist/feedRepository/observers/tests/integration/getCommunityFeed.integration.test.d.ts.map +1 -0
  212. package/dist/feedRepository/observers/tests/integration/getCustomRankingGlobalFeed.integration.test.d.ts +2 -0
  213. package/dist/feedRepository/observers/tests/integration/getCustomRankingGlobalFeed.integration.test.d.ts.map +1 -0
  214. package/dist/feedRepository/observers/tests/integration/getGlobalFeed.integration.test.d.ts +2 -0
  215. package/dist/feedRepository/observers/tests/integration/getGlobalFeed.integration.test.d.ts.map +1 -0
  216. package/dist/feedRepository/observers/tests/integration/getUserFeed.integration.test.d.ts +2 -0
  217. package/dist/feedRepository/observers/tests/integration/getUserFeed.integration.test.d.ts.map +1 -0
  218. package/dist/feedRepository/observers/utils.d.ts.map +1 -1
  219. package/dist/fileRepository/api/tests/integration/deleteFile.integration.test.d.ts +2 -0
  220. package/dist/fileRepository/api/tests/integration/deleteFile.integration.test.d.ts.map +1 -0
  221. package/dist/fileRepository/api/tests/integration/fileUrlWithSize.integration.test.d.ts +2 -0
  222. package/dist/fileRepository/api/tests/integration/fileUrlWithSize.integration.test.d.ts.map +1 -0
  223. package/dist/fileRepository/api/tests/integration/getFile.integration.test.d.ts +2 -0
  224. package/dist/fileRepository/api/tests/integration/getFile.integration.test.d.ts.map +1 -0
  225. package/dist/fileRepository/api/tests/integration/updateAltText.integration.test.d.ts +2 -0
  226. package/dist/fileRepository/api/tests/integration/updateAltText.integration.test.d.ts.map +1 -0
  227. package/dist/fileRepository/api/tests/integration/uploadAudio.integration.test.d.ts +2 -0
  228. package/dist/fileRepository/api/tests/integration/uploadAudio.integration.test.d.ts.map +1 -0
  229. package/dist/fileRepository/api/tests/integration/uploadClip.integration.test.d.ts +2 -0
  230. package/dist/fileRepository/api/tests/integration/uploadClip.integration.test.d.ts.map +1 -0
  231. package/dist/fileRepository/api/tests/integration/uploadFile.integration.test.d.ts +2 -0
  232. package/dist/fileRepository/api/tests/integration/uploadFile.integration.test.d.ts.map +1 -0
  233. package/dist/fileRepository/api/tests/integration/uploadImage.integration.test.d.ts +2 -0
  234. package/dist/fileRepository/api/tests/integration/uploadImage.integration.test.d.ts.map +1 -0
  235. package/dist/fileRepository/api/tests/integration/uploadVideo.integration.test.d.ts +2 -0
  236. package/dist/fileRepository/api/tests/integration/uploadVideo.integration.test.d.ts.map +1 -0
  237. package/dist/index.cjs.js +289 -414
  238. package/dist/index.esm.js +290 -415
  239. package/dist/index.umd.js +3 -3
  240. package/dist/invitationRepository/api/tests/integration/cancelInvitation.integration.test.d.ts +2 -0
  241. package/dist/invitationRepository/api/tests/integration/cancelInvitation.integration.test.d.ts.map +1 -0
  242. package/dist/invitationRepository/observers/tests/integrations/getInvitations.integration.test.d.ts +2 -0
  243. package/dist/invitationRepository/observers/tests/integrations/getInvitations.integration.test.d.ts.map +1 -0
  244. package/dist/invitationRepository/observers/tests/integrations/getInvitations.noUser.integration.test.d.ts +2 -0
  245. package/dist/invitationRepository/observers/tests/integrations/getInvitations.noUser.integration.test.d.ts.map +1 -0
  246. package/dist/invitationRepository/observers/tests/integrations/getMyCommunityInvitations.integration.test.d.ts +2 -0
  247. package/dist/invitationRepository/observers/tests/integrations/getMyCommunityInvitations.integration.test.d.ts.map +1 -0
  248. package/dist/liveReactionRepository/api/tests/integration/createReaction.integration.test.d.ts +2 -0
  249. package/dist/liveReactionRepository/api/tests/integration/createReaction.integration.test.d.ts.map +1 -0
  250. package/dist/liveReactionRepository/events/tests/integration/onLiveReactionCreated.integration.test.d.ts +2 -0
  251. package/dist/liveReactionRepository/events/tests/integration/onLiveReactionCreated.integration.test.d.ts.map +1 -0
  252. package/dist/liveReactionRepository/observers/tests/integrations/getReactions.integration.test.d.ts +2 -0
  253. package/dist/liveReactionRepository/observers/tests/integrations/getReactions.integration.test.d.ts.map +1 -0
  254. package/dist/liveReactionRepository/observers/tests/integrations/getReactions.noUser.integration.test.d.ts +2 -0
  255. package/dist/liveReactionRepository/observers/tests/integrations/getReactions.noUser.integration.test.d.ts.map +1 -0
  256. package/dist/messageRepository/api/tests/integration/createMessage.integration.test.d.ts +2 -0
  257. package/dist/messageRepository/api/tests/integration/createMessage.integration.test.d.ts.map +1 -0
  258. package/dist/messageRepository/api/tests/integration/deleteMessage.integration.test.d.ts +2 -0
  259. package/dist/messageRepository/api/tests/integration/deleteMessage.integration.test.d.ts.map +1 -0
  260. package/dist/messageRepository/api/tests/integration/editMessage.integration.test.d.ts +2 -0
  261. package/dist/messageRepository/api/tests/integration/editMessage.integration.test.d.ts.map +1 -0
  262. package/dist/messageRepository/api/tests/integration/flagMessage.integration.test.d.ts +2 -0
  263. package/dist/messageRepository/api/tests/integration/flagMessage.integration.test.d.ts.map +1 -0
  264. package/dist/messageRepository/api/tests/integration/getDeliveredUsers.integration.test.d.ts +2 -0
  265. package/dist/messageRepository/api/tests/integration/getDeliveredUsers.integration.test.d.ts.map +1 -0
  266. package/dist/messageRepository/api/tests/integration/getReadUsers.integration.test.d.ts +2 -0
  267. package/dist/messageRepository/api/tests/integration/getReadUsers.integration.test.d.ts.map +1 -0
  268. package/dist/messageRepository/api/tests/integration/isMessageFlaggedByMe.integration.test.d.ts +2 -0
  269. package/dist/messageRepository/api/tests/integration/isMessageFlaggedByMe.integration.test.d.ts.map +1 -0
  270. package/dist/messageRepository/api/tests/integration/markAsDelivered.integration.test.d.ts +2 -0
  271. package/dist/messageRepository/api/tests/integration/markAsDelivered.integration.test.d.ts.map +1 -0
  272. package/dist/messageRepository/api/tests/integration/queryMessages.integration.test.d.ts +2 -0
  273. package/dist/messageRepository/api/tests/integration/queryMessages.integration.test.d.ts.map +1 -0
  274. package/dist/messageRepository/api/tests/integration/softDeleteMessage.integration.test.d.ts +2 -0
  275. package/dist/messageRepository/api/tests/integration/softDeleteMessage.integration.test.d.ts.map +1 -0
  276. package/dist/messageRepository/api/tests/integration/unflagMessage.integration.test.d.ts +2 -0
  277. package/dist/messageRepository/api/tests/integration/unflagMessage.integration.test.d.ts.map +1 -0
  278. package/dist/messageRepository/api/tests/integration/updateMessage.integration.test.d.ts +2 -0
  279. package/dist/messageRepository/api/tests/integration/updateMessage.integration.test.d.ts.map +1 -0
  280. package/dist/messageRepository/observers/tests/integration/getMessage.integration.test.d.ts +2 -0
  281. package/dist/messageRepository/observers/tests/integration/getMessage.integration.test.d.ts.map +1 -0
  282. package/dist/messageRepository/observers/tests/integration/getMessages.integration.test.d.ts +2 -0
  283. package/dist/messageRepository/observers/tests/integration/getMessages.integration.test.d.ts.map +1 -0
  284. package/dist/notificationTray/api/tests/integration/markItemsSeen.integration.test.d.ts +2 -0
  285. package/dist/notificationTray/api/tests/integration/markItemsSeen.integration.test.d.ts.map +1 -0
  286. package/dist/notificationTray/api/tests/integration/markTraySeen.integration.test.d.ts +2 -0
  287. package/dist/notificationTray/api/tests/integration/markTraySeen.integration.test.d.ts.map +1 -0
  288. package/dist/notificationTray/events/tests/integrations/onNotificationTraySeenUpdated.integration.test.d.ts +2 -0
  289. package/dist/notificationTray/events/tests/integrations/onNotificationTraySeenUpdated.integration.test.d.ts.map +1 -0
  290. package/dist/notificationTray/internalApi/tests/integration/getNotificationTraySeen.integration.test.d.ts +2 -0
  291. package/dist/notificationTray/internalApi/tests/integration/getNotificationTraySeen.integration.test.d.ts.map +1 -0
  292. package/dist/notificationTray/observers/tests/integrations/getNotificationTrayItems.integration.test.d.ts +2 -0
  293. package/dist/notificationTray/observers/tests/integrations/getNotificationTrayItems.integration.test.d.ts.map +1 -0
  294. package/dist/notificationTray/observers/tests/integrations/getNotificationTraySeen.integration.test.d.ts +2 -0
  295. package/dist/notificationTray/observers/tests/integrations/getNotificationTraySeen.integration.test.d.ts.map +1 -0
  296. package/dist/pollRepository/api/tests/integration/closePoll.integration.test.d.ts +2 -0
  297. package/dist/pollRepository/api/tests/integration/closePoll.integration.test.d.ts.map +1 -0
  298. package/dist/pollRepository/api/tests/integration/createPoll.integration.test.d.ts +2 -0
  299. package/dist/pollRepository/api/tests/integration/createPoll.integration.test.d.ts.map +1 -0
  300. package/dist/pollRepository/api/tests/integration/deletePoll.integration.test.d.ts +2 -0
  301. package/dist/pollRepository/api/tests/integration/deletePoll.integration.test.d.ts.map +1 -0
  302. package/dist/pollRepository/api/tests/integration/getPoll.integration.test.d.ts +2 -0
  303. package/dist/pollRepository/api/tests/integration/getPoll.integration.test.d.ts.map +1 -0
  304. package/dist/pollRepository/api/tests/integration/unvotePoll.integration.test.d.ts +2 -0
  305. package/dist/pollRepository/api/tests/integration/unvotePoll.integration.test.d.ts.map +1 -0
  306. package/dist/pollRepository/api/tests/integration/votePoll.integration.test.d.ts +2 -0
  307. package/dist/pollRepository/api/tests/integration/votePoll.integration.test.d.ts.map +1 -0
  308. package/dist/pollRepository/observers/tests/integrations/getPoll.integration.test.d.ts +2 -0
  309. package/dist/pollRepository/observers/tests/integrations/getPoll.integration.test.d.ts.map +1 -0
  310. package/dist/postRepository/api/createAudioPost.d.ts.map +1 -1
  311. package/dist/postRepository/api/createClipPost.d.ts.map +1 -1
  312. package/dist/postRepository/api/createMixedMediaPost.d.ts.map +1 -1
  313. package/dist/postRepository/api/createPost.d.ts.map +1 -1
  314. package/dist/postRepository/api/deletePost.d.ts.map +1 -1
  315. package/dist/postRepository/api/editPost.d.ts.map +1 -1
  316. package/dist/postRepository/api/getPost.d.ts.map +1 -1
  317. package/dist/postRepository/api/pinProduct.d.ts.map +1 -1
  318. package/dist/postRepository/api/tests/integration/approvePost.integration.test.d.ts +2 -0
  319. package/dist/postRepository/api/tests/integration/approvePost.integration.test.d.ts.map +1 -0
  320. package/dist/postRepository/api/tests/integration/createOtherPosts.integration.test.d.ts +2 -0
  321. package/dist/postRepository/api/tests/integration/createOtherPosts.integration.test.d.ts.map +1 -0
  322. package/dist/postRepository/api/tests/integration/declinePost.integration.test.d.ts +2 -0
  323. package/dist/postRepository/api/tests/integration/declinePost.integration.test.d.ts.map +1 -0
  324. package/dist/postRepository/api/tests/integration/deletePost.integration.test.d.ts +2 -0
  325. package/dist/postRepository/api/tests/integration/deletePost.integration.test.d.ts.map +1 -0
  326. package/dist/postRepository/api/tests/integration/editPost.integration.test.d.ts +2 -0
  327. package/dist/postRepository/api/tests/integration/editPost.integration.test.d.ts.map +1 -0
  328. package/dist/postRepository/api/tests/integration/flagPost.integration.test.d.ts +2 -0
  329. package/dist/postRepository/api/tests/integration/flagPost.integration.test.d.ts.map +1 -0
  330. package/dist/postRepository/api/tests/integration/getPostByIds.integration.test.d.ts +2 -0
  331. package/dist/postRepository/api/tests/integration/getPostByIds.integration.test.d.ts.map +1 -0
  332. package/dist/postRepository/api/tests/integration/observerCollections.integration.test.d.ts +2 -0
  333. package/dist/postRepository/api/tests/integration/observerCollections.integration.test.d.ts.map +1 -0
  334. package/dist/postRepository/api/unpinProduct.d.ts.map +1 -1
  335. package/dist/postRepository/api/updateProductTags.d.ts.map +1 -1
  336. package/dist/postRepository/observers/utils.d.ts.map +1 -1
  337. package/dist/reactionRepository/api/tests/integration/addReaction.integration.test.d.ts +2 -0
  338. package/dist/reactionRepository/api/tests/integration/addReaction.integration.test.d.ts.map +1 -0
  339. package/dist/reactionRepository/api/tests/integration/queryReactions.integration.test.d.ts +2 -0
  340. package/dist/reactionRepository/api/tests/integration/queryReactions.integration.test.d.ts.map +1 -0
  341. package/dist/reactionRepository/api/tests/integration/queryReactor.integration.test.d.ts +2 -0
  342. package/dist/reactionRepository/api/tests/integration/queryReactor.integration.test.d.ts.map +1 -0
  343. package/dist/reactionRepository/api/tests/integration/removeReaction.integration.test.d.ts +2 -0
  344. package/dist/reactionRepository/api/tests/integration/removeReaction.integration.test.d.ts.map +1 -0
  345. package/dist/reactionRepository/observers/tests/integrations/getReactions.integration.test.d.ts +2 -0
  346. package/dist/reactionRepository/observers/tests/integrations/getReactions.integration.test.d.ts.map +1 -0
  347. package/dist/report/api/tests/integration/createReport.integration.test.d.ts +2 -0
  348. package/dist/report/api/tests/integration/createReport.integration.test.d.ts.map +1 -0
  349. package/dist/report/api/tests/integration/deleteReport.integration.test.d.ts +2 -0
  350. package/dist/report/api/tests/integration/deleteReport.integration.test.d.ts.map +1 -0
  351. package/dist/report/api/tests/integration/isReportedByMe.integration.test.d.ts +2 -0
  352. package/dist/report/api/tests/integration/isReportedByMe.integration.test.d.ts.map +1 -0
  353. package/dist/role/api/tests/integration/getRole.integration.test.d.ts +2 -0
  354. package/dist/role/api/tests/integration/getRole.integration.test.d.ts.map +1 -0
  355. package/dist/role/api/tests/integration/queryRoles.integration.test.d.ts +2 -0
  356. package/dist/role/api/tests/integration/queryRoles.integration.test.d.ts.map +1 -0
  357. package/dist/roomPresenceRepository/api/tests/integration/getRoomOnlineUsers.integration.test.d.ts +2 -0
  358. package/dist/roomPresenceRepository/api/tests/integration/getRoomOnlineUsers.integration.test.d.ts.map +1 -0
  359. package/dist/roomPresenceRepository/api/tests/integration/getRoomUserCount.integration.test.d.ts +2 -0
  360. package/dist/roomPresenceRepository/api/tests/integration/getRoomUserCount.integration.test.d.ts.map +1 -0
  361. package/dist/roomPresenceRepository/api/tests/integration/startHeartbeat.integration.test.d.ts +2 -0
  362. package/dist/roomPresenceRepository/api/tests/integration/startHeartbeat.integration.test.d.ts.map +1 -0
  363. package/dist/roomPresenceRepository/api/tests/integration/stopHeartbeat.integration.test.d.ts +2 -0
  364. package/dist/roomPresenceRepository/api/tests/integration/stopHeartbeat.integration.test.d.ts.map +1 -0
  365. package/dist/roomRepository/api/analytics/WatchSessionStorage.d.ts +1 -1
  366. package/dist/roomRepository/api/analytics/WatchSessionStorage.d.ts.map +1 -1
  367. package/dist/roomRepository/api/tests/integration/createRoom.integration.test.d.ts +2 -0
  368. package/dist/roomRepository/api/tests/integration/createRoom.integration.test.d.ts.map +1 -0
  369. package/dist/roomRepository/api/tests/integration/deleteRoom.integration.test.d.ts +2 -0
  370. package/dist/roomRepository/api/tests/integration/deleteRoom.integration.test.d.ts.map +1 -0
  371. package/dist/roomRepository/api/tests/integration/getBroadcasterData.integration.test.d.ts +2 -0
  372. package/dist/roomRepository/api/tests/integration/getBroadcasterData.integration.test.d.ts.map +1 -0
  373. package/dist/roomRepository/api/tests/integration/getRecordedUrl.integration.test.d.ts +2 -0
  374. package/dist/roomRepository/api/tests/integration/getRecordedUrl.integration.test.d.ts.map +1 -0
  375. package/dist/roomRepository/api/tests/integration/leaveRoom.integration.test.d.ts +2 -0
  376. package/dist/roomRepository/api/tests/integration/leaveRoom.integration.test.d.ts.map +1 -0
  377. package/dist/roomRepository/api/tests/integration/removeParticipant.integration.test.d.ts +2 -0
  378. package/dist/roomRepository/api/tests/integration/removeParticipant.integration.test.d.ts.map +1 -0
  379. package/dist/roomRepository/api/tests/integration/roomAnalytics.integration.test.d.ts +2 -0
  380. package/dist/roomRepository/api/tests/integration/roomAnalytics.integration.test.d.ts.map +1 -0
  381. package/dist/roomRepository/api/tests/integration/setup.d.ts +12 -0
  382. package/dist/roomRepository/api/tests/integration/setup.d.ts.map +1 -1
  383. package/dist/roomRepository/api/tests/integration/stopRoom.integration.test.d.ts +2 -0
  384. package/dist/roomRepository/api/tests/integration/stopRoom.integration.test.d.ts.map +1 -0
  385. package/dist/roomRepository/api/tests/integration/updateRoom.integration.test.d.ts +2 -0
  386. package/dist/roomRepository/api/tests/integration/updateRoom.integration.test.d.ts.map +1 -0
  387. package/dist/roomRepository/observers/tests/integration/getRoom.integration.test.d.ts +2 -0
  388. package/dist/roomRepository/observers/tests/integration/getRoom.integration.test.d.ts.map +1 -0
  389. package/dist/roomRepository/observers/tests/integration/getRooms.integration.test.d.ts +2 -0
  390. package/dist/roomRepository/observers/tests/integration/getRooms.integration.test.d.ts.map +1 -0
  391. package/dist/roomRepository/observers/tests/integration/observerUtils.integration.test.d.ts +2 -0
  392. package/dist/roomRepository/observers/tests/integration/observerUtils.integration.test.d.ts.map +1 -0
  393. package/dist/roomRepository/observers/tests/integration/setup.d.ts +2 -0
  394. package/dist/roomRepository/observers/tests/integration/setup.d.ts.map +1 -0
  395. package/dist/storyRepository/api/tests/integration/createImageStory.integration.test.d.ts +2 -0
  396. package/dist/storyRepository/api/tests/integration/createImageStory.integration.test.d.ts.map +1 -0
  397. package/dist/storyRepository/api/tests/integration/createVideoStory.integration.test.d.ts +2 -0
  398. package/dist/storyRepository/api/tests/integration/createVideoStory.integration.test.d.ts.map +1 -0
  399. package/dist/storyRepository/api/tests/integration/hardDeleteStory.integration.test.d.ts +2 -0
  400. package/dist/storyRepository/api/tests/integration/hardDeleteStory.integration.test.d.ts.map +1 -0
  401. package/dist/storyRepository/api/tests/integration/softDeleteStory.integration.test.d.ts +2 -0
  402. package/dist/storyRepository/api/tests/integration/softDeleteStory.integration.test.d.ts.map +1 -0
  403. package/dist/storyRepository/internalApi/tests/integration/getStoryByStoryId.integration.test.d.ts +2 -0
  404. package/dist/storyRepository/internalApi/tests/integration/getStoryByStoryId.integration.test.d.ts.map +1 -0
  405. package/dist/storyRepository/observers/tests/integration/getActiveStoriesByTarget.integration.test.d.ts +2 -0
  406. package/dist/storyRepository/observers/tests/integration/getActiveStoriesByTarget.integration.test.d.ts.map +1 -0
  407. package/dist/storyRepository/observers/tests/integration/getGlobalStoryTargets.integration.test.d.ts +2 -0
  408. package/dist/storyRepository/observers/tests/integration/getGlobalStoryTargets.integration.test.d.ts.map +1 -0
  409. package/dist/storyRepository/observers/tests/integration/getStoriesByTargetIds.integration.test.d.ts +2 -0
  410. package/dist/storyRepository/observers/tests/integration/getStoriesByTargetIds.integration.test.d.ts.map +1 -0
  411. package/dist/storyRepository/observers/tests/integration/getStoryByStoryId.integration.test.d.ts +2 -0
  412. package/dist/storyRepository/observers/tests/integration/getStoryByStoryId.integration.test.d.ts.map +1 -0
  413. package/dist/storyRepository/observers/tests/integration/getTargetById.integration.test.d.ts +2 -0
  414. package/dist/storyRepository/observers/tests/integration/getTargetById.integration.test.d.ts.map +1 -0
  415. package/dist/storyRepository/observers/tests/integration/getTargetsByTargetIds.integration.test.d.ts +2 -0
  416. package/dist/storyRepository/observers/tests/integration/getTargetsByTargetIds.integration.test.d.ts.map +1 -0
  417. package/dist/streamRepository/api/tests/integration/createStream.integration.test.d.ts +2 -0
  418. package/dist/streamRepository/api/tests/integration/createStream.integration.test.d.ts.map +1 -0
  419. package/dist/streamRepository/api/tests/integration/deleteStream.integration.test.d.ts +2 -0
  420. package/dist/streamRepository/api/tests/integration/deleteStream.integration.test.d.ts.map +1 -0
  421. package/dist/streamRepository/api/tests/integration/disposeStream.integration.test.d.ts +2 -0
  422. package/dist/streamRepository/api/tests/integration/disposeStream.integration.test.d.ts.map +1 -0
  423. package/dist/streamRepository/api/tests/integration/editStream.integration.test.d.ts +2 -0
  424. package/dist/streamRepository/api/tests/integration/editStream.integration.test.d.ts.map +1 -0
  425. package/dist/streamRepository/api/tests/integration/updateStream.integration.test.d.ts +2 -0
  426. package/dist/streamRepository/api/tests/integration/updateStream.integration.test.d.ts.map +1 -0
  427. package/dist/streamRepository/observers/tests/integration/getStreamById.integration.test.d.ts +2 -0
  428. package/dist/streamRepository/observers/tests/integration/getStreamById.integration.test.d.ts.map +1 -0
  429. package/dist/subChannelRepository/api/deleteSubChannel.d.ts.map +1 -1
  430. package/dist/subChannelRepository/api/getSubChannel.d.ts.map +1 -1
  431. package/dist/subChannelRepository/api/tests/integration/createSubChannel.integration.test.d.ts +2 -0
  432. package/dist/subChannelRepository/api/tests/integration/createSubChannel.integration.test.d.ts.map +1 -0
  433. package/dist/subChannelRepository/api/tests/integration/deleteSubChannel.integration.test.d.ts +2 -0
  434. package/dist/subChannelRepository/api/tests/integration/deleteSubChannel.integration.test.d.ts.map +1 -0
  435. package/dist/subChannelRepository/api/tests/integration/getSubChannel.integration.test.d.ts +2 -0
  436. package/dist/subChannelRepository/api/tests/integration/getSubChannel.integration.test.d.ts.map +1 -0
  437. package/dist/subChannelRepository/api/tests/integration/getSubChannels.integration.test.d.ts +2 -0
  438. package/dist/subChannelRepository/api/tests/integration/getSubChannels.integration.test.d.ts.map +1 -0
  439. package/dist/subChannelRepository/api/tests/integration/hardDeleteSubChannel.integration.test.d.ts +2 -0
  440. package/dist/subChannelRepository/api/tests/integration/hardDeleteSubChannel.integration.test.d.ts.map +1 -0
  441. package/dist/subChannelRepository/api/tests/integration/markAsReadBySegment.integration.test.d.ts +2 -0
  442. package/dist/subChannelRepository/api/tests/integration/markAsReadBySegment.integration.test.d.ts.map +1 -0
  443. package/dist/subChannelRepository/api/tests/integration/querySubChannels.integration.test.d.ts +2 -0
  444. package/dist/subChannelRepository/api/tests/integration/querySubChannels.integration.test.d.ts.map +1 -0
  445. package/dist/subChannelRepository/api/tests/integration/readingAPI.integration.test.d.ts +2 -0
  446. package/dist/subChannelRepository/api/tests/integration/readingAPI.integration.test.d.ts.map +1 -0
  447. package/dist/subChannelRepository/api/tests/integration/softDeleteSubChannel.integration.test.d.ts +2 -0
  448. package/dist/subChannelRepository/api/tests/integration/softDeleteSubChannel.integration.test.d.ts.map +1 -0
  449. package/dist/subChannelRepository/api/tests/integration/startReadingAPI.integration.test.d.ts +2 -0
  450. package/dist/subChannelRepository/api/tests/integration/startReadingAPI.integration.test.d.ts.map +1 -0
  451. package/dist/subChannelRepository/api/tests/integration/stopReadingAPI.integration.test.d.ts +2 -0
  452. package/dist/subChannelRepository/api/tests/integration/stopReadingAPI.integration.test.d.ts.map +1 -0
  453. package/dist/subChannelRepository/api/tests/integration/updateSubChannel.integration.test.d.ts +2 -0
  454. package/dist/subChannelRepository/api/tests/integration/updateSubChannel.integration.test.d.ts.map +1 -0
  455. package/dist/subChannelRepository/observers/getSubChannel.d.ts.map +1 -1
  456. package/dist/subChannelRepository/observers/tests/integrations/getSubChannel.integration.test.d.ts +2 -0
  457. package/dist/subChannelRepository/observers/tests/integrations/getSubChannel.integration.test.d.ts.map +1 -0
  458. package/dist/subChannelRepository/observers/tests/integrations/getSubChannels.integration.test.d.ts +2 -0
  459. package/dist/subChannelRepository/observers/tests/integrations/getSubChannels.integration.test.d.ts.map +1 -0
  460. package/dist/userRepository/api/queryBlockedUsers.d.ts.map +1 -1
  461. package/dist/userRepository/api/tests/integration/flagUser.integration.test.d.ts +2 -0
  462. package/dist/userRepository/api/tests/integration/flagUser.integration.test.d.ts.map +1 -0
  463. package/dist/userRepository/api/tests/integration/getAllBlockedUsers.integration.test.d.ts +2 -0
  464. package/dist/userRepository/api/tests/integration/getAllBlockedUsers.integration.test.d.ts.map +1 -0
  465. package/dist/userRepository/api/tests/integration/getUser.integration.test.d.ts +2 -0
  466. package/dist/userRepository/api/tests/integration/getUser.integration.test.d.ts.map +1 -0
  467. package/dist/userRepository/api/tests/integration/getUserByIds.integration.test.d.ts +2 -0
  468. package/dist/userRepository/api/tests/integration/getUserByIds.integration.test.d.ts.map +1 -0
  469. package/dist/userRepository/api/tests/integration/isUserFlaggedByMe.integration.test.d.ts +2 -0
  470. package/dist/userRepository/api/tests/integration/isUserFlaggedByMe.integration.test.d.ts.map +1 -0
  471. package/dist/userRepository/api/tests/integration/queryBlockedUsers.integration.test.d.ts +2 -0
  472. package/dist/userRepository/api/tests/integration/queryBlockedUsers.integration.test.d.ts.map +1 -0
  473. package/dist/userRepository/api/tests/integration/queryUsers.integration.test.d.ts +2 -0
  474. package/dist/userRepository/api/tests/integration/queryUsers.integration.test.d.ts.map +1 -0
  475. package/dist/userRepository/api/tests/integration/unflagUser.integration.test.d.ts +2 -0
  476. package/dist/userRepository/api/tests/integration/unflagUser.integration.test.d.ts.map +1 -0
  477. package/dist/userRepository/api/tests/integration/updateUser.integration.test.d.ts +2 -0
  478. package/dist/userRepository/api/tests/integration/updateUser.integration.test.d.ts.map +1 -0
  479. package/dist/userRepository/observers/tests/integrations/enums.integration.test.d.ts +2 -0
  480. package/dist/userRepository/observers/tests/integrations/enums.integration.test.d.ts.map +1 -0
  481. package/dist/userRepository/observers/tests/integrations/getBlockedUsers.integration.test.d.ts +2 -0
  482. package/dist/userRepository/observers/tests/integrations/getBlockedUsers.integration.test.d.ts.map +1 -0
  483. package/dist/userRepository/observers/tests/integrations/getReachedUsers.integration.test.d.ts +2 -0
  484. package/dist/userRepository/observers/tests/integrations/getReachedUsers.integration.test.d.ts.map +1 -0
  485. package/dist/userRepository/observers/tests/integrations/getUser.integration.test.d.ts +2 -0
  486. package/dist/userRepository/observers/tests/integrations/getUser.integration.test.d.ts.map +1 -0
  487. package/dist/userRepository/observers/tests/integrations/getUsers.integration.test.d.ts +2 -0
  488. package/dist/userRepository/observers/tests/integrations/getUsers.integration.test.d.ts.map +1 -0
  489. package/dist/userRepository/observers/tests/integrations/searchUserByDisplayName.integration.test.d.ts +2 -0
  490. package/dist/userRepository/observers/tests/integrations/searchUserByDisplayName.integration.test.d.ts.map +1 -0
  491. package/dist/utils/tests/dummy/stream.d.ts +4 -11
  492. package/dist/utils/tests/dummy/stream.d.ts.map +1 -1
  493. package/package.json +3 -3
  494. package/dist/@types/domains/notificationSettings.d.ts +0 -101
  495. package/dist/@types/domains/notificationSettings.d.ts.map +0 -1
  496. package/dist/client/api/notifications.d.ts +0 -27
  497. package/dist/client/api/notifications.d.ts.map +0 -1
package/dist/index.esm.js CHANGED
@@ -242,43 +242,10 @@ var AnalyticsSourceTypeEnum;
242
242
  AnalyticsSourceTypeEnum["ROOM"] = "room";
243
243
  })(AnalyticsSourceTypeEnum || (AnalyticsSourceTypeEnum = {}));
244
244
 
245
- var UserNotificationModuleNameEnum;
246
- (function (UserNotificationModuleNameEnum) {
247
- UserNotificationModuleNameEnum["CHAT"] = "chat";
248
- UserNotificationModuleNameEnum["SOCIAL"] = "social";
249
- UserNotificationModuleNameEnum["VIDEO_STREAMING"] = "video-streaming";
250
- })(UserNotificationModuleNameEnum || (UserNotificationModuleNameEnum = {}));
251
- var CommunityNotificationEventNameEnum;
252
- (function (CommunityNotificationEventNameEnum) {
253
- CommunityNotificationEventNameEnum["POST_CREATED"] = "post.created";
254
- CommunityNotificationEventNameEnum["POST_REACTED"] = "post.reacted";
255
- CommunityNotificationEventNameEnum["COMMENT_CREATED"] = "comment.created";
256
- CommunityNotificationEventNameEnum["COMMENT_REPLIED"] = "comment.replied";
257
- CommunityNotificationEventNameEnum["COMMENT_REACTED"] = "comment.reacted";
258
- CommunityNotificationEventNameEnum["STORY_CREATED"] = "story.created";
259
- CommunityNotificationEventNameEnum["STORY_REACTED"] = "story.reacted";
260
- CommunityNotificationEventNameEnum["STORY_COMMENT_CREATED"] = "story-comment.created";
261
- CommunityNotificationEventNameEnum["LIVESTREAM_START"] = "video-streaming.didStart";
262
- })(CommunityNotificationEventNameEnum || (CommunityNotificationEventNameEnum = {}));
263
- var NotificationSettingsLevelEnum;
264
- (function (NotificationSettingsLevelEnum) {
265
- NotificationSettingsLevelEnum["USER"] = "user";
266
- NotificationSettingsLevelEnum["COMMUNITY"] = "community";
267
- NotificationSettingsLevelEnum["CHANNEL"] = "channel";
268
- })(NotificationSettingsLevelEnum || (NotificationSettingsLevelEnum = {}));
269
- /**
270
- * `NOT` variant is intentionally excluded from public API (internal server-side use only).
271
- */
272
- var NotificationRolesFilterTypeEnum;
273
- (function (NotificationRolesFilterTypeEnum) {
274
- NotificationRolesFilterTypeEnum["ALL"] = "all";
275
- NotificationRolesFilterTypeEnum["ONLY"] = "only";
276
- })(NotificationRolesFilterTypeEnum || (NotificationRolesFilterTypeEnum = {}));
277
-
278
245
  function getVersion() {
279
246
  try {
280
- // the string ''v7.18.0-esm'' should be replaced by actual value by @rollup/plugin-replace
281
- return 'v7.18.0-esm';
247
+ // the string ''v7.19.0-esm'' should be replaced by actual value by @rollup/plugin-replace
248
+ return 'v7.19.0-esm';
282
249
  }
283
250
  catch (error) {
284
251
  return '__dev__';
@@ -20865,12 +20832,7 @@ var MqttError;
20865
20832
  MqttError[MqttError["NOT_AUTHORIZED"] = 135] = "NOT_AUTHORIZED";
20866
20833
  })(MqttError || (MqttError = {}));
20867
20834
  function getMqttOptions(params) {
20868
- return Object.assign({ clean: false, clientId: `mqttjs_ + ${Math.random().toString(16).substring(2, 10)}`, protocolId: 'MQTT', protocolVersion: 4, reconnectPeriod: RETRY_BASE_TIMEOUT, will: {
20869
- topic: 'WillMsg',
20870
- payload: 'Connection Closed abnormally..!',
20871
- qos: 0,
20872
- retain: false,
20873
- }, resubscribe: true }, params);
20835
+ return Object.assign({ clean: false, clientId: `mqttjs_ + ${Math.random().toString(16).substring(2, 10)}`, protocolId: 'MQTT', protocolVersion: 4, reconnectPeriod: RETRY_BASE_TIMEOUT, resubscribe: true }, params);
20874
20836
  }
20875
20837
  /**
20876
20838
  * Creates a pre-configured socket.io instance
@@ -21894,6 +21856,7 @@ const getSubChannel$1 = async (subChannelId) => {
21894
21856
  };
21895
21857
  }
21896
21858
  catch (error) {
21859
+ /* c8 ignore next */
21897
21860
  if (checkIfShouldGoesToTombstone(error === null || error === void 0 ? void 0 : error.code)) {
21898
21861
  pushToTombstone('subChannel', subChannelId);
21899
21862
  }
@@ -22140,31 +22103,33 @@ const preUpdateChannelCache = (rawPayload, options = { isMessagePreviewUpdated:
22140
22103
  const updateChannelUnread = ({ currentUserId, channels, channelUsers, }) => {
22141
22104
  const channelsUnread = [];
22142
22105
  for (let i = 0; i < channels.length; i += 1) {
22143
- const cacheKey = ['channelUnread', 'get', channels[i].channelId];
22144
- const channelUser = channelUsers.find(channelUser => channelUser.channelId === channels[i].channelId && channelUser.userId === currentUserId);
22145
- let unreadCount = 0;
22146
- let readToSegment = null;
22147
- let lastMentionedSegment = null;
22148
- let isMentioned = false;
22149
- if (channelUser) {
22150
- readToSegment = channelUser.readToSegment;
22151
- lastMentionedSegment = channelUser.lastMentionedSegment;
22152
- unreadCount = Math.max(channels[i].messageCount - readToSegment, 0);
22153
- isMentioned = lastMentionedSegment > readToSegment;
22154
- }
22155
- const cacheChannelUnread = {
22156
- channelId: channels[i].channelId,
22157
- lastSegment: channels[i].messageCount,
22158
- readToSegment,
22159
- lastMentionedSegment,
22160
- unreadCount,
22161
- isMentioned,
22162
- isDeleted: channels[i].isDeleted || false,
22163
- };
22164
- pushToCache(cacheKey, cacheChannelUnread);
22165
- channelsUnread.push(cacheChannelUnread);
22106
+ if (isUnreadCountSupport(channels[i])) {
22107
+ const cacheKey = ['channelUnread', 'get', channels[i].channelId];
22108
+ const channelUser = channelUsers.find(channelUser => channelUser.channelId === channels[i].channelId && channelUser.userId === currentUserId);
22109
+ let unreadCount = 0;
22110
+ let readToSegment = null;
22111
+ let lastMentionedSegment = null;
22112
+ let isMentioned = false;
22113
+ if (channelUser) {
22114
+ readToSegment = channelUser.readToSegment;
22115
+ lastMentionedSegment = channelUser.lastMentionedSegment;
22116
+ unreadCount = Math.max(channels[i].messageCount - readToSegment, 0);
22117
+ isMentioned = lastMentionedSegment > readToSegment;
22118
+ }
22119
+ const cacheChannelUnread = {
22120
+ channelId: channels[i].channelId,
22121
+ lastSegment: channels[i].messageCount,
22122
+ readToSegment,
22123
+ lastMentionedSegment,
22124
+ unreadCount,
22125
+ isMentioned,
22126
+ isDeleted: channels[i].isDeleted || false,
22127
+ };
22128
+ pushToCache(cacheKey, cacheChannelUnread);
22129
+ channelsUnread.push(cacheChannelUnread);
22130
+ }
22131
+ fireEvent('local.channelUnread.updated', channelsUnread);
22166
22132
  }
22167
- fireEvent('local.channelUnread.updated', channelsUnread);
22168
22133
  };
22169
22134
  const prepareChannelPayload = async (rawPayload, options = { isMessagePreviewUpdated: true }) => {
22170
22135
  const client = getActiveClient();
@@ -23063,12 +23028,17 @@ getChannelByIds$1.locally = (channelIds) => {
23063
23028
  client.log('channel/getChannelByIds.locally', channelIds);
23064
23029
  if (!client.cache)
23065
23030
  return;
23031
+ // queryCache returns undefined only when !cache, but line 92 already guards that case.
23032
+ // The ?. optional chains below are defensive and structurally unreachable after the guard.
23033
+ /* c8 ignore next */
23066
23034
  const cached = (_a = queryCache(['channel', 'get'])) === null || _a === void 0 ? void 0 : _a.filter(({ data }) => {
23067
23035
  return channelIds.includes(data.channelPublicId);
23068
23036
  });
23037
+ /* c8 ignore next */
23069
23038
  if (!cached || (cached === null || cached === void 0 ? void 0 : cached.length) < channelIds.length)
23070
23039
  return;
23071
23040
  const channels = cached.map(({ data }) => data);
23041
+ /* c8 ignore next */
23072
23042
  const oldest = (_b = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))) === null || _b === void 0 ? void 0 : _b[0];
23073
23043
  return {
23074
23044
  data: channels.map(channel => constructChannelObject(channel)),
@@ -23264,9 +23234,11 @@ getSubChannels$1.locally = (subChannelIds) => {
23264
23234
  const cached = subChannelIds
23265
23235
  .map(channelId => pullFromCache(['subChannel', 'get', channelId]))
23266
23236
  .filter(Boolean);
23237
+ /* c8 ignore next */
23267
23238
  if ((cached === null || cached === void 0 ? void 0 : cached.length) < subChannelIds.length)
23268
23239
  return;
23269
23240
  const subChannels = cached.map(({ data }) => data);
23241
+ /* c8 ignore next */
23270
23242
  const oldest = (_a = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))) === null || _a === void 0 ? void 0 : _a[0];
23271
23243
  return {
23272
23244
  data: subChannels,
@@ -27053,140 +27025,6 @@ const setAccessTokenHandler = (accessTokenHandler) => {
27053
27025
  client.accessTokenHandler = accessTokenHandler;
27054
27026
  };
27055
27027
 
27056
- function parseRolesFilter(listenFromRoleIds, ignoreFromRoleIds) {
27057
- if (ignoreFromRoleIds && ignoreFromRoleIds.length > 0) {
27058
- return { type: 'not', roleIds: ignoreFromRoleIds };
27059
- }
27060
- if (listenFromRoleIds && listenFromRoleIds.length > 0) {
27061
- return { type: NotificationRolesFilterTypeEnum.ONLY, roleIds: listenFromRoleIds };
27062
- }
27063
- return { type: NotificationRolesFilterTypeEnum.ALL };
27064
- }
27065
- function serializeRolesFilter(rolesFilter) {
27066
- if ((rolesFilter === null || rolesFilter === void 0 ? void 0 : rolesFilter.type) === NotificationRolesFilterTypeEnum.ONLY) {
27067
- return { listenFromRoleIds: rolesFilter.roleIds };
27068
- }
27069
- return { listenFromRoleIds: [] };
27070
- }
27071
- class ChannelNotifications {
27072
- constructor(channelId) {
27073
- this.channelId = channelId;
27074
- }
27075
- async enable() {
27076
- const client = getActiveClient();
27077
- const body = {
27078
- level: NotificationSettingsLevelEnum.CHANNEL,
27079
- channelId: this.channelId,
27080
- isPushNotifiable: true,
27081
- };
27082
- await client.http.post('/api/v3/notification/setting', body);
27083
- }
27084
- async disable() {
27085
- const client = getActiveClient();
27086
- const body = {
27087
- level: NotificationSettingsLevelEnum.CHANNEL,
27088
- channelId: this.channelId,
27089
- isPushNotifiable: false,
27090
- };
27091
- await client.http.post('/api/v3/notification/setting', body);
27092
- }
27093
- async getSettings() {
27094
- const client = getActiveClient();
27095
- const { data } = await client.http.get(`/api/v3/notification/setting?level=channel&channelId=${encodeURIComponent(this.channelId)}`);
27096
- return { isEnabled: data.isPushNotifiable };
27097
- }
27098
- }
27099
- class UserNotifications {
27100
- async enable(modules) {
27101
- var _a;
27102
- const client = getActiveClient();
27103
- const notifiableEvents = (_a = modules === null || modules === void 0 ? void 0 : modules.map(module => (Object.assign({ moduleName: module.moduleName, isPushNotifiable: module.isEnabled }, serializeRolesFilter(module.rolesFilter))))) !== null && _a !== void 0 ? _a : [];
27104
- const body = {
27105
- level: NotificationSettingsLevelEnum.USER,
27106
- isPushNotifiable: true,
27107
- notifiableEvents,
27108
- };
27109
- await client.http.post('/api/v3/notification/setting', body);
27110
- }
27111
- async disableAllNotifications() {
27112
- const client = getActiveClient();
27113
- const body = {
27114
- level: NotificationSettingsLevelEnum.USER,
27115
- isPushNotifiable: false,
27116
- notifiableEvents: [],
27117
- };
27118
- await client.http.post('/api/v3/notification/setting', body);
27119
- }
27120
- async getSettings() {
27121
- var _a;
27122
- const client = getActiveClient();
27123
- const { data } = await client.http.get(`/api/v3/notification/setting?level=${NotificationSettingsLevelEnum.USER}`);
27124
- const validModuleNames = Object.values(UserNotificationModuleNameEnum);
27125
- const modules = ((_a = data.notifiableEvents) !== null && _a !== void 0 ? _a : [])
27126
- .filter(e => e.moduleName != null && validModuleNames.includes(e.moduleName))
27127
- .map(e => ({
27128
- moduleName: e.moduleName,
27129
- isEnabled: e.isPushNotifiable,
27130
- rolesFilter: parseRolesFilter(e.listenFromRoleIds, e.ignoreFromRoleIds),
27131
- }));
27132
- return { isEnabled: data.isPushNotifiable, modules };
27133
- }
27134
- }
27135
- class CommunityNotifications {
27136
- constructor(communityId) {
27137
- this.communityId = communityId;
27138
- }
27139
- async enable(events) {
27140
- var _a;
27141
- const client = getActiveClient();
27142
- const notifiableEvents = (_a = events === null || events === void 0 ? void 0 : events.map(event => (Object.assign({ moduleName: UserNotificationModuleNameEnum.SOCIAL, name: event.eventName, isPushNotifiable: event.isEnabled }, serializeRolesFilter(event.rolesFilter))))) !== null && _a !== void 0 ? _a : [];
27143
- const body = {
27144
- level: NotificationSettingsLevelEnum.COMMUNITY,
27145
- communityId: this.communityId,
27146
- isPushNotifiable: true,
27147
- notifiableEvents,
27148
- };
27149
- await client.http.post('/api/v3/notification/setting', body);
27150
- }
27151
- async disable() {
27152
- const client = getActiveClient();
27153
- const body = {
27154
- level: NotificationSettingsLevelEnum.COMMUNITY,
27155
- communityId: this.communityId,
27156
- isPushNotifiable: false,
27157
- notifiableEvents: [],
27158
- };
27159
- await client.http.post('/api/v3/notification/setting', body);
27160
- }
27161
- async getSettings() {
27162
- var _a;
27163
- const client = getActiveClient();
27164
- const { data } = await client.http.get(`/api/v3/notification/setting?level=${NotificationSettingsLevelEnum.COMMUNITY}&communityId=${encodeURIComponent(this.communityId)}`);
27165
- const validEventNames = Object.values(CommunityNotificationEventNameEnum);
27166
- const events = ((_a = data.notifiableEvents) !== null && _a !== void 0 ? _a : [])
27167
- .filter(e => e.name != null && validEventNames.includes(e.name))
27168
- .map(e => ({
27169
- eventName: e.name,
27170
- isEnabled: e.isPushNotifiable,
27171
- isNetworkEnabled: e.isNetworkEnabled,
27172
- rolesFilter: parseRolesFilter(e.listenFromRoleIds, e.ignoreFromRoleIds),
27173
- }));
27174
- return { isEnabled: data.isPushNotifiable, events };
27175
- }
27176
- }
27177
- class Notifications {
27178
- user() {
27179
- return new UserNotifications();
27180
- }
27181
- community(communityId) {
27182
- return new CommunityNotifications(communityId);
27183
- }
27184
- channel(channelId) {
27185
- return new ChannelNotifications(channelId);
27186
- }
27187
- }
27188
- const notifications = () => new Notifications();
27189
-
27190
27028
  /**
27191
27029
  * ```js
27192
27030
  * import { onChannelMarkerFetched } from '@amityco/ts-sdk-react-native'
@@ -27570,7 +27408,6 @@ var index$s = /*#__PURE__*/Object.freeze({
27570
27408
  getCurrentUserType: getCurrentUserType,
27571
27409
  setCurrentUserType: setCurrentUserType,
27572
27410
  setAccessTokenHandler: setAccessTokenHandler,
27573
- notifications: notifications,
27574
27411
  onConnectionError: onConnectionError,
27575
27412
  onClientDisconnected: onClientDisconnected,
27576
27413
  onClientBanned: onClientBanned,
@@ -29020,12 +28857,15 @@ const createChannel = async (bundle) => {
29020
28857
  const client = getActiveClient();
29021
28858
  client.log('user/createChannel', bundle);
29022
28859
  let payload;
28860
+ /* c8 ignore next */
29023
28861
  if ((bundle === null || bundle === void 0 ? void 0 : bundle.type) === 'conversation') {
29024
28862
  payload = await client.http.post('/api/v3/channels/conversation', Object.assign(Object.assign({}, bundle), { isDistinct: true }));
29025
28863
  }
29026
28864
  else {
29027
28865
  const { isPublic } = bundle, restParams = __rest(bundle, ["isPublic"]);
29028
- payload = await client.http.post('/api/v3/channels', Object.assign(Object.assign({}, restParams), { isPublic: (bundle === null || bundle === void 0 ? void 0 : bundle.type) === 'community' ? isPublic : undefined }));
28866
+ payload = await client.http.post('/api/v3/channels', Object.assign(Object.assign({}, restParams), {
28867
+ /* c8 ignore next */
28868
+ isPublic: (bundle === null || bundle === void 0 ? void 0 : bundle.type) === 'community' ? isPublic : undefined }));
29029
28869
  }
29030
28870
  const data = await prepareChannelPayload(payload.data);
29031
28871
  const cachedAt = client.cache && Date.now();
@@ -29603,7 +29443,7 @@ const getWatchSessionStorage = () => {
29603
29443
  return storageInstance;
29604
29444
  };
29605
29445
 
29606
- const privateKey = "-----BEGIN PRIVATE KEY-----\nMIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDAARz+hmBgi8pJ\nQb8LeY41gtHhk+ACMwRfhsn7GqpqRQNG2qU0755mzZuVDUqjQMGSo8THJB7O+OJs\nflbZRkFXlFoFOVNw1UpNOgwEQZ6wB9oRwzepTJAfF1sVhm/o/ixvXh1zDFNDy6yZ\npXyiiJHUVxqyjllZhxnwdvjoVtDs6hW6awG09bB9nh/TTejlUKXoAgzqVwu/1QMu\nUVViET495elEe19aUarEy+oL2iKeXCEvqda/pWNBdbieFyJvvZ08HN8dPuT88wq2\njZLEAth1vrwQ2IAa4ktaLcBQdLJgIkrbDvAiVZ8lQAjS/bq5vXQikTGvoPlC5bbn\nvuOM/3eLAgMBAAECggEAVZ+peHAghq2QVj71nX5lxsNCKaCyYwixSJBpfouTt7Rz\nE6PpzMOXFi1W1o+I22jDakuSM2SOQKqI/u0QefB0r0O/KVk5NrZHXk0mkrdYtxOp\nUgaGyf8UvmjB+8VqHrNKyZdk9qtmbnNj01kTTcAtmE4H39zPR7eR/8Rul94vaZbs\nwCnKJS3mLT3JxyGug6lxanveKkjG+CKC1nJQYWaxCJxaFSzbwXQPvDhB+TvrIbee\npd5v4EAyEJohpr+T9oDGGJkb/KARBZCtwLyB976PKJwwBA8MRVL1i5QwawuMiMq5\nUtnOnbGKtCeFzaLbNU0Qi8bqyims84EQxC6DOu1fkQKBgQDdvsoBsEhsOXV7hlIJ\naEd0eSJZVkdqimxH8uGoMM2FeNaOrcB6yBXqTSP0R3OIyf8eaY6yjRvP30ZNXcll\n/gD3O1Mu6YmWQdt1W2WA6pKOsUuPXasf0pdOF7IiFZKlSabz5YHXFqwVuqm8loaj\nsXel3YWqPVdHiankE7tz+3ssnQKBgQDdqi4TNdD1MdEpihx19jr0QjUiXW3939FK\nqp30HESPEGDGQzXdmJgif9HhZb+cJSuWaHEbjgBrYahvgCF+y6LbEpOD+D/dmT+s\nDEAQaR84sah6dokwPjV8fjBSrcVFjCS+doxv0d3p/9OUEeyUhFrY03nxtIEYkLIE\n/Zvn37b4RwKBgQCLENVFe9XfsaVhQ5r9dV2iyTlmh7qgMZG5CbTFs12hQGhm8McO\n+Z7s41YSJCFr/yq1WwP4LJDtrBw99vyQr1zRsG35tNLp3gGRNzGQSQyC2uQFVHw2\np+7mNewsfhUK/gbrXNsyFnDz6635rPlhfbII3sWuP2wWXFqkxE9CbMwR7QKBgQC6\nawDMzxmo2/iYArrkyevSuEuPVxvFwpF1RgAI6C0QVCnPE38dmdN4UB7mfHekje4W\nVEercMURidPp0cxZolCYBQtilUjAyL0vqC3In1/Ogjq6oy3FEMxSop1pKxMY5j+Q\nnoqFD+6deLUrddeNH7J3X4LSr4dSbX4JjG+tlgt+yQKBgQCuwTL4hA6KqeInQ0Ta\n9VQX5Qr8hFlqJz1gpymi/k63tW/Ob8yedbg3WWNWyShwRMFYyY9S81ITFWM95uL6\nvF3x9rmRjwElJw9PMwVu6dmf/CO0Z1wzXSp2VVD12gbrUD/0/d7MUoJ9LgC8X8f/\nn0txLHYGHbx+nf95+JUg6lV3hg==\n-----END PRIVATE KEY-----";
29446
+ const privateKey = "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDHo80SecH7FuF2\nhFYnb+l26/VN8UMLXAQFLnxciNTEwkGVFMpdezlH8rU2HtUJL4RETogbAOLVY0XM\njs6sPn8G1nALmh9qeDpUtVqFOVtBHxEZ910TLOtQiunjqJKO5nWdqZ71EC3OFluR\niGQkO84BiIFbv37ub7xl3S8XarbtKoLcyVpkDHi+1wx1pgCAn6gtBUgckPL5NR8j\nLseabl3HAXQfhTCKo4tmOFM2Dxwl1IUMmIJrJg/aIU/U0tj/1Eoo7mG0JcNWX19l\nW3EecCbi0ncCJOrkUdwlBrcjaMayaX/ubEwyUeTGiLdyc4L3GRLHjyK8xgVNXRMH\nbZWJ2a5NAgMBAAECggEASxuE+35zTFO/XydKgmvIGcWL9FbgMlXb7Vcf0nBoG945\nbiz0NVc2paraIhJXc608xbYF3qLmtAE1MVBI0ORyRdBHNxY024l/6H6SH60Ed+uI\nM4ysp5ourY6Vj+DLwpdRiI9YDjqYAQDIUmhNxJP7XPhOMoZI6st+xZQBM34ic/bv\nAMSJm9OZphSp3+qXVkFZztr2mxD2EZSJJLYxi8BCdgM2qhazalbcJ6zDKHCZWVWm\n8RRxDGldyMb/237JxETzP40tAlzOZDmBAbUgEnurDJ93RVDIE3rbZUshwgeQd18a\nem096mWgvB1AIKYgsTAR3pw+V19YWAjq/glP6fz8wQKBgQD/oQq+ukKF0PRgBeM5\ngeTjSwsdGppQLmf5ndujvoiz/TpdjDEPu6R8kigQr1rG2t4K/yfdZoI8RdmJD1al\n3Q7N9hofooSy4rj6E3txzWZCHJjHad2cnCp/O26HiReGAl7wTcfTmNdiFHhZQzm5\nJBkvWAiwuvQMNfEbnXxw6/vIDwKBgQDH7fX8gsc77JLvAWgp1MaQN/sbqVb6JeT1\nFQfR8E/WFCSmzQBtNzd5KgYuCeelwr/8DyYytvN2BzCYZXp73gI1jF3YlW5jVn74\nOY6TwQ095digwo6Z0yuxopdIOApKgAkL9PRKgNrqAf3NAyMua6lOGifzjDojC3KU\nfylQmxMn4wKBgHp2B9O/H0dEBw5JQ8W0+JX6yWQz7mEjGiR2/1W+XXb8hQ1zr709\nw1r6Gb+EghRpnZ3fBpYGGbYOMFx8wKHM+N6qW3F0ReX8v2juFGE8aRSa5oYBrWzt\nU16Idjbv8hj84cZ1PJmdyvDtpYn9rpWHOZl4rxEbPvbqkIsOMyNVqdT5AoGAOSge\nmwIIU2le2FVeohbibXiToWTYKMuMmURZ5/r72AgKMmWJKbAPe+Q3wBG01/7FRBpQ\noU8Ma0HC8s6QJbliiEyIx9JwrJWd1vkdecBHONrtA4ibm/5zD2WcOllLF+FitLhi\n3qnX6+6F0IaFGFBPJrTzlv0P4dTz/OAdv52V7GECgYEA2TttOKBAqWllgOaZOkql\nLVMJVmgR7s6tLi1+cEP8ZcapV9aRbRzTAKXm4f8AEhtlG9F9kCOvHYCYGi6JaiWJ\nZkHjeex3T+eE6Di6y5Bm/Ift5jtVhJ4jCVwHOKTMej79NPUFTJfv8hCo29haBDv6\nRXFrv+T21KCcw8k3sJeJWWQ=\n-----END PRIVATE KEY-----";
29607
29447
  /*
29608
29448
  * The crypto algorithm used for importing key and signing string
29609
29449
  */
@@ -31467,10 +31307,10 @@ const createEventResponseSubscriber = (event, callback) => {
31467
31307
  const filter = (payload) => {
31468
31308
  const unpackedPayload = prepareEventResponsePayload(payload);
31469
31309
  if (!client.cache) {
31470
- callback(unpackedPayload);
31310
+ callback(unpackedPayload.eventResponses[0]);
31471
31311
  }
31472
31312
  else {
31473
- ingestInCache(unpackedPayload.event[0]);
31313
+ ingestInCache(unpackedPayload);
31474
31314
  const eventResponse = pullFromCache([
31475
31315
  'eventResponse',
31476
31316
  'get',
@@ -33542,6 +33382,195 @@ getMessage$1.locally = (messageId) => {
33542
33382
  };
33543
33383
  };
33544
33384
 
33385
+ class ResetTask {
33386
+ constructor(postId, latestCreatedAt, serverCommentCount) {
33387
+ this.postId = postId;
33388
+ this.latestCreatedAt = latestCreatedAt;
33389
+ this.serverCommentCount = serverCommentCount;
33390
+ }
33391
+ }
33392
+
33393
+ // Task to track comment creation
33394
+ class CreateTask {
33395
+ constructor(postId, commentId, createdAt) {
33396
+ this.postId = postId;
33397
+ this.commentId = commentId;
33398
+ this.createdAt = createdAt;
33399
+ }
33400
+ }
33401
+
33402
+ // Task to track comment deletion
33403
+ class DeleteTask {
33404
+ constructor(postId, commentId) {
33405
+ this.postId = postId;
33406
+ this.commentId = commentId;
33407
+ }
33408
+ }
33409
+
33410
+ class CommentChange {
33411
+ constructor(latestCreatedAt, serverCommentCount) {
33412
+ this.latestCommentCreatedAt = latestCreatedAt;
33413
+ this.serverCommentCount = serverCommentCount;
33414
+ this.createdCommentIds = new Set();
33415
+ this.deletedCommentIds = new Set();
33416
+ }
33417
+ }
33418
+
33419
+ class PostCommentCountEngine {
33420
+ constructor() {
33421
+ this.isProcessing = false;
33422
+ this.tasks = [];
33423
+ this.commentChangeTracker = new Map();
33424
+ }
33425
+ queueCommentChangeTask(task) {
33426
+ this.tasks.push(task);
33427
+ if (!this.isProcessing) {
33428
+ this.processCommentChangeTask();
33429
+ }
33430
+ }
33431
+ processCommentChangeTask() {
33432
+ if (this.isProcessing) {
33433
+ return;
33434
+ }
33435
+ this.isProcessing = true;
33436
+ if (this.tasks.length === 0) {
33437
+ this.isProcessing = false;
33438
+ return;
33439
+ }
33440
+ // Process in capped batches, coalescing updates
33441
+ const batch = this.tasks.splice(0, PostCommentCountEngine.BATCH_SIZE);
33442
+ const modifiedPostIds = new Set();
33443
+ batch.forEach(task => {
33444
+ let modified = false;
33445
+ if (task instanceof ResetTask) {
33446
+ modified = this.processResetTaskInternal(task);
33447
+ }
33448
+ else if (task instanceof CreateTask) {
33449
+ modified = this.processCreateTaskInternal(task);
33450
+ }
33451
+ else if (task instanceof DeleteTask) {
33452
+ modified = this.processDeleteTaskInternal(task);
33453
+ }
33454
+ if (modified) {
33455
+ modifiedPostIds.add(task.postId);
33456
+ }
33457
+ });
33458
+ // Publish one update per modified post
33459
+ modifiedPostIds.forEach(postId => {
33460
+ const count = this.computeCommentCount(postId);
33461
+ PostCommentCountEngine.publishUpdate(postId, count);
33462
+ });
33463
+ this.isProcessing = false;
33464
+ // Recurse if more tasks remain
33465
+ if (this.tasks.length > 0) {
33466
+ this.processCommentChangeTask();
33467
+ }
33468
+ }
33469
+ processResetTaskInternal(task) {
33470
+ // Always creates/overwrites tracker
33471
+ this.commentChangeTracker.set(task.postId, new CommentChange(task.latestCreatedAt, task.serverCommentCount));
33472
+ return true;
33473
+ }
33474
+ processCreateTaskInternal(task) {
33475
+ const tracker = this.commentChangeTracker.get(task.postId);
33476
+ if (!tracker)
33477
+ return false; // No tracker, skip
33478
+ if (tracker.createdCommentIds.has(task.commentId))
33479
+ return false; // Deduplication
33480
+ if (task.createdAt <= tracker.latestCommentCreatedAt)
33481
+ return false; // Timestamp filtering
33482
+ tracker.createdCommentIds.add(task.commentId);
33483
+ return true;
33484
+ }
33485
+ processDeleteTaskInternal(task) {
33486
+ const tracker = this.commentChangeTracker.get(task.postId);
33487
+ if (!tracker)
33488
+ return false; // No tracker, skip
33489
+ if (tracker.deletedCommentIds.has(task.commentId))
33490
+ return false; // Deduplication
33491
+ tracker.deletedCommentIds.add(task.commentId);
33492
+ return true;
33493
+ }
33494
+ computeCommentCount(postId) {
33495
+ const tracker = this.commentChangeTracker.get(postId);
33496
+ if (!tracker)
33497
+ return 0;
33498
+ const count = tracker.serverCommentCount + tracker.createdCommentIds.size - tracker.deletedCommentIds.size;
33499
+ return Math.max(0, count);
33500
+ }
33501
+ static publishUpdate(postId, newCount) {
33502
+ var _a;
33503
+ const queryKey = ['post', 'get', postId];
33504
+ mergeInCache(queryKey, {
33505
+ localCommentCount: newCount,
33506
+ });
33507
+ const postPayload = (_a = pullFromCache(queryKey)) === null || _a === void 0 ? void 0 : _a.data;
33508
+ if (!postPayload)
33509
+ return;
33510
+ fireEvent('local.post.updated', {
33511
+ posts: [postPayload],
33512
+ });
33513
+ }
33514
+ }
33515
+ PostCommentCountEngine.BATCH_SIZE = 50;
33516
+ let instance;
33517
+ var PostCommentCountEngine$1 = {
33518
+ getInstance: () => {
33519
+ if (!instance) {
33520
+ instance = new PostCommentCountEngine();
33521
+ }
33522
+ return instance;
33523
+ },
33524
+ };
33525
+
33526
+ const updateStreamReferences = (streams, streamId, postId) => {
33527
+ if (!streamId)
33528
+ return streams;
33529
+ return streams.map(stream => stream.streamId === streamId
33530
+ ? Object.assign(Object.assign({}, stream), { referenceType: 'post', referenceId: postId, postId }) : stream);
33531
+ };
33532
+ const preparePostPayload = (payload) => {
33533
+ const { posts: postsData, postChildren, videoStreamings } = payload, postPayload = __rest(payload, ["posts", "postChildren", "videoStreamings"]);
33534
+ // Unpack community payload by mapping payload field to postSetting value.
33535
+ const communitiesWithPostSetting = addPostSetting({ communities: postPayload.communities });
33536
+ // map users with community
33537
+ const mappedCommunityUsers = postPayload.communityUsers.map(communityUser => {
33538
+ const user = postPayload.users.find(user => user.userId === communityUser.userId);
33539
+ return Object.assign(Object.assign({}, communityUser), { user });
33540
+ });
33541
+ const communityWithMembershipStatus = updateMembershipStatus(communitiesWithPostSetting, mappedCommunityUsers);
33542
+ let mappedNewStream = [];
33543
+ // feed type
33544
+ const posts = postsData.map(post => {
33545
+ var _a, _b, _c, _d;
33546
+ const feedType = (_a = postPayload.feeds.find(feed => feed.feedId === post.feedId)) === null || _a === void 0 ? void 0 : _a.feedType;
33547
+ const childPosts = payload.postChildren.filter(children => children.parentPostId === post.postId);
33548
+ if (childPosts.length > 0 && isAmityLivestreamPost(childPosts[0])) {
33549
+ mappedNewStream = updateStreamReferences(videoStreamings, (_b = childPosts[0].data) === null || _b === void 0 ? void 0 : _b.streamId, post.postId);
33550
+ }
33551
+ // --- Computed Comment Count: ResetTask integration ---
33552
+ // Find all comments for this post (referenceType === 'post' && referenceId === postId)
33553
+ const allComments = (payload.comments || []).filter((c) => c.referenceType === 'post' && c.referenceId === post.postId);
33554
+ // Compute latestCreatedAt
33555
+ const latestCreatedAt = allComments.length === 0
33556
+ ? new Date().toISOString()
33557
+ : allComments
33558
+ .map(c => c.createdAt)
33559
+ .sort()
33560
+ .at(-1);
33561
+ // Queue ResetTask for this post
33562
+ PostCommentCountEngine$1.getInstance().queueCommentChangeTask(new ResetTask(post.postId, latestCreatedAt, (_c = post.commentsCount) !== null && _c !== void 0 ? _c : 0));
33563
+ return Object.assign(Object.assign({}, post), { childPosts,
33564
+ feedType, localCommentCount: (_d = post.localCommentCount) !== null && _d !== void 0 ? _d : post.commentsCount, pinnedProductId: post === null || post === void 0 ? void 0 : post.pinnedProductId });
33565
+ });
33566
+ return Object.assign(Object.assign({}, postPayload), { postChildren, videoStreamings: mappedNewStream, posts, communities: communityWithMembershipStatus, communityUsers: mappedCommunityUsers });
33567
+ };
33568
+ const prepareSemanticSearchPostPayload = (_a) => {
33569
+ var { searchResult, polls } = _a, postPayload = __rest(_a, ["searchResult", "polls"]);
33570
+ const processedPostPayload = preparePostPayload(postPayload);
33571
+ return Object.assign(Object.assign({}, processedPostPayload), { polls });
33572
+ };
33573
+
33545
33574
  /**
33546
33575
  * ```js
33547
33576
  * import { getPost } from '@amityco/ts-sdk-react-native'
@@ -33572,7 +33601,7 @@ const getPost$2 = async (postId) => {
33572
33601
  }
33573
33602
  throw error;
33574
33603
  }
33575
- const data = prepareMembershipPayload(payload, 'communityUsers');
33604
+ const data = preparePostPayload(payload);
33576
33605
  const cachedAt = client.cache && Date.now();
33577
33606
  if (client.cache)
33578
33607
  ingestInCache(data, { cachedAt });
@@ -33990,195 +34019,6 @@ removeReaction.optimistically = (referenceType, referenceId, reactionName) => {
33990
34019
  return !((_d = reaction === null || reaction === void 0 ? void 0 : reaction.myReactions) === null || _d === void 0 ? void 0 : _d.includes(reactionName));
33991
34020
  };
33992
34021
 
33993
- class ResetTask {
33994
- constructor(postId, latestCreatedAt, serverCommentCount) {
33995
- this.postId = postId;
33996
- this.latestCreatedAt = latestCreatedAt;
33997
- this.serverCommentCount = serverCommentCount;
33998
- }
33999
- }
34000
-
34001
- // Task to track comment creation
34002
- class CreateTask {
34003
- constructor(postId, commentId, createdAt) {
34004
- this.postId = postId;
34005
- this.commentId = commentId;
34006
- this.createdAt = createdAt;
34007
- }
34008
- }
34009
-
34010
- // Task to track comment deletion
34011
- class DeleteTask {
34012
- constructor(postId, commentId) {
34013
- this.postId = postId;
34014
- this.commentId = commentId;
34015
- }
34016
- }
34017
-
34018
- class CommentChange {
34019
- constructor(latestCreatedAt, serverCommentCount) {
34020
- this.latestCommentCreatedAt = latestCreatedAt;
34021
- this.serverCommentCount = serverCommentCount;
34022
- this.createdCommentIds = new Set();
34023
- this.deletedCommentIds = new Set();
34024
- }
34025
- }
34026
-
34027
- class PostCommentCountEngine {
34028
- constructor() {
34029
- this.isProcessing = false;
34030
- this.tasks = [];
34031
- this.commentChangeTracker = new Map();
34032
- }
34033
- queueCommentChangeTask(task) {
34034
- this.tasks.push(task);
34035
- if (!this.isProcessing) {
34036
- this.processCommentChangeTask();
34037
- }
34038
- }
34039
- processCommentChangeTask() {
34040
- if (this.isProcessing) {
34041
- return;
34042
- }
34043
- this.isProcessing = true;
34044
- if (this.tasks.length === 0) {
34045
- this.isProcessing = false;
34046
- return;
34047
- }
34048
- // Process in capped batches, coalescing updates
34049
- const batch = this.tasks.splice(0, PostCommentCountEngine.BATCH_SIZE);
34050
- const modifiedPostIds = new Set();
34051
- batch.forEach(task => {
34052
- let modified = false;
34053
- if (task instanceof ResetTask) {
34054
- modified = this.processResetTaskInternal(task);
34055
- }
34056
- else if (task instanceof CreateTask) {
34057
- modified = this.processCreateTaskInternal(task);
34058
- }
34059
- else if (task instanceof DeleteTask) {
34060
- modified = this.processDeleteTaskInternal(task);
34061
- }
34062
- if (modified) {
34063
- modifiedPostIds.add(task.postId);
34064
- }
34065
- });
34066
- // Publish one update per modified post
34067
- modifiedPostIds.forEach(postId => {
34068
- const count = this.computeCommentCount(postId);
34069
- PostCommentCountEngine.publishUpdate(postId, count);
34070
- });
34071
- this.isProcessing = false;
34072
- // Recurse if more tasks remain
34073
- if (this.tasks.length > 0) {
34074
- this.processCommentChangeTask();
34075
- }
34076
- }
34077
- processResetTaskInternal(task) {
34078
- // Always creates/overwrites tracker
34079
- this.commentChangeTracker.set(task.postId, new CommentChange(task.latestCreatedAt, task.serverCommentCount));
34080
- return true;
34081
- }
34082
- processCreateTaskInternal(task) {
34083
- const tracker = this.commentChangeTracker.get(task.postId);
34084
- if (!tracker)
34085
- return false; // No tracker, skip
34086
- if (tracker.createdCommentIds.has(task.commentId))
34087
- return false; // Deduplication
34088
- if (task.createdAt <= tracker.latestCommentCreatedAt)
34089
- return false; // Timestamp filtering
34090
- tracker.createdCommentIds.add(task.commentId);
34091
- return true;
34092
- }
34093
- processDeleteTaskInternal(task) {
34094
- const tracker = this.commentChangeTracker.get(task.postId);
34095
- if (!tracker)
34096
- return false; // No tracker, skip
34097
- if (tracker.deletedCommentIds.has(task.commentId))
34098
- return false; // Deduplication
34099
- tracker.deletedCommentIds.add(task.commentId);
34100
- return true;
34101
- }
34102
- computeCommentCount(postId) {
34103
- const tracker = this.commentChangeTracker.get(postId);
34104
- if (!tracker)
34105
- return 0;
34106
- const count = tracker.serverCommentCount + tracker.createdCommentIds.size - tracker.deletedCommentIds.size;
34107
- return Math.max(0, count);
34108
- }
34109
- static publishUpdate(postId, newCount) {
34110
- var _a;
34111
- const queryKey = ['post', 'get', postId];
34112
- mergeInCache(queryKey, {
34113
- localCommentCount: newCount,
34114
- });
34115
- const postPayload = (_a = pullFromCache(queryKey)) === null || _a === void 0 ? void 0 : _a.data;
34116
- if (!postPayload)
34117
- return;
34118
- fireEvent('local.post.updated', {
34119
- posts: [postPayload],
34120
- });
34121
- }
34122
- }
34123
- PostCommentCountEngine.BATCH_SIZE = 50;
34124
- let instance;
34125
- var PostCommentCountEngine$1 = {
34126
- getInstance: () => {
34127
- if (!instance) {
34128
- instance = new PostCommentCountEngine();
34129
- }
34130
- return instance;
34131
- },
34132
- };
34133
-
34134
- const updateStreamReferences = (streams, streamId, postId) => {
34135
- if (!streamId)
34136
- return streams;
34137
- return streams.map(stream => stream.streamId === streamId
34138
- ? Object.assign(Object.assign({}, stream), { referenceType: 'post', referenceId: postId, postId }) : stream);
34139
- };
34140
- const preparePostPayload = (payload) => {
34141
- const { posts: postsData, postChildren, videoStreamings } = payload, postPayload = __rest(payload, ["posts", "postChildren", "videoStreamings"]);
34142
- // Unpack community payload by mapping payload field to postSetting value.
34143
- const communitiesWithPostSetting = addPostSetting({ communities: postPayload.communities });
34144
- // map users with community
34145
- const mappedCommunityUsers = postPayload.communityUsers.map(communityUser => {
34146
- const user = postPayload.users.find(user => user.userId === communityUser.userId);
34147
- return Object.assign(Object.assign({}, communityUser), { user });
34148
- });
34149
- const communityWithMembershipStatus = updateMembershipStatus(communitiesWithPostSetting, mappedCommunityUsers);
34150
- let mappedNewStream = [];
34151
- // feed type
34152
- const posts = postsData.map(post => {
34153
- var _a, _b, _c, _d;
34154
- const feedType = (_a = postPayload.feeds.find(feed => feed.feedId === post.feedId)) === null || _a === void 0 ? void 0 : _a.feedType;
34155
- const childPosts = payload.postChildren.filter(children => children.parentPostId === post.postId);
34156
- if (childPosts.length > 0 && isAmityLivestreamPost(childPosts[0])) {
34157
- mappedNewStream = updateStreamReferences(videoStreamings, (_b = childPosts[0].data) === null || _b === void 0 ? void 0 : _b.streamId, post.postId);
34158
- }
34159
- // --- Computed Comment Count: ResetTask integration ---
34160
- // Find all comments for this post (referenceType === 'post' && referenceId === postId)
34161
- const allComments = (payload.comments || []).filter((c) => c.referenceType === 'post' && c.referenceId === post.postId);
34162
- // Compute latestCreatedAt
34163
- const latestCreatedAt = allComments.length === 0
34164
- ? new Date().toISOString()
34165
- : allComments
34166
- .map(c => c.createdAt)
34167
- .sort()
34168
- .at(-1);
34169
- // Queue ResetTask for this post
34170
- PostCommentCountEngine$1.getInstance().queueCommentChangeTask(new ResetTask(post.postId, latestCreatedAt, (_c = post.commentsCount) !== null && _c !== void 0 ? _c : 0));
34171
- return Object.assign(Object.assign({}, post), { childPosts,
34172
- feedType, localCommentCount: (_d = post.localCommentCount) !== null && _d !== void 0 ? _d : post.commentsCount, pinnedProductId: post === null || post === void 0 ? void 0 : post.pinnedProductId });
34173
- });
34174
- return Object.assign(Object.assign({}, postPayload), { postChildren, videoStreamings: mappedNewStream, posts, communities: communityWithMembershipStatus, communityUsers: mappedCommunityUsers });
34175
- };
34176
- const prepareSemanticSearchPostPayload = (_a) => {
34177
- var { searchResult, polls } = _a, postPayload = __rest(_a, ["searchResult", "polls"]);
34178
- const processedPostPayload = preparePostPayload(postPayload);
34179
- return Object.assign(Object.assign({}, processedPostPayload), { polls });
34180
- };
34181
-
34182
34022
  const processDeleteChildPost = (payload) => {
34183
34023
  var _a;
34184
34024
  const post = payload.posts[0];
@@ -34496,9 +34336,6 @@ const createCommentEventSubscriber = (event, callback) => {
34496
34336
  comments[0].commentId,
34497
34337
  ]);
34498
34338
  if (['comment.created'].includes(event)) {
34499
- // NOTE: skip adding comment to parent comment children if it's the same user since we use the local event to update instead.
34500
- if (event === 'comment.created' && comment.data.userId === client.userId)
34501
- return;
34502
34339
  if (comments[0].parentId) {
34503
34340
  const parentComment = pullFromCache([
34504
34341
  'comment',
@@ -34514,9 +34351,6 @@ const createCommentEventSubscriber = (event, callback) => {
34514
34351
  }
34515
34352
  }
34516
34353
  if (['comment.deleted'].includes(event)) {
34517
- // NOTE: skip deleting comment to parent comment children if it's the same user since we use the local event to update instead.
34518
- if (event === 'comment.deleted' && comment.data.userId === client.userId)
34519
- return;
34520
34354
  if (comments[0].parentId) {
34521
34355
  const parentComment = pullFromCache([
34522
34356
  'comment',
@@ -35927,7 +35761,9 @@ const deleteSubChannel = async (subChannelId, permanent = false) => {
35927
35761
  await client.http.delete(`/api/v5/message-feeds/${encodeURIComponent(subChannelId)}`, { params: { permanent } });
35928
35762
  const deleted = Object.assign(Object.assign({}, subChannel.data), { isDeleted: true, updatedAt: getFutureDate(subChannel.data.updatedAt) });
35929
35763
  if (permanent) {
35764
+ /* c8 ignore next */
35930
35765
  setTimeout(() => {
35766
+ /* c8 ignore next */
35931
35767
  pushToTombstone('subChannel', subChannelId);
35932
35768
  }, 0);
35933
35769
  }
@@ -37185,9 +37021,11 @@ const getSubChannel = (subChannelId, callback) => {
37185
37021
  callback => {
37186
37022
  const updateMessagePreview = async (subChannel) => {
37187
37023
  const messagePreviewSetting = await client.getMessagePreviewSetting(false);
37024
+ /* c8 ignore next */
37188
37025
  if (messagePreviewSetting === "no-message-preview" /* Amity.MessagePreviewSetting.NO_MESSAGE_PREVIEW */)
37189
37026
  return;
37190
37027
  handleSubChannelUpdated(subChannel);
37028
+ /* c8 ignore next */
37191
37029
  if (subChannel.subChannelId !== subChannelId)
37192
37030
  return;
37193
37031
  callback(subChannel);
@@ -37202,11 +37040,13 @@ const getSubChannel = (subChannelId, callback) => {
37202
37040
  const isTargetSubChannel = subChannelMarkers.find(({ feedId }) => feedId === subChannelId);
37203
37041
  if (!isTargetSubChannel)
37204
37042
  return;
37043
+ /* c8 ignore next 5 */
37205
37044
  const subChannel = (_a = pullFromCache([
37206
37045
  'subChannel',
37207
37046
  'get',
37208
37047
  subChannelId,
37209
37048
  ])) === null || _a === void 0 ? void 0 : _a.data;
37049
+ /* c8 ignore next */
37210
37050
  if (!subChannel)
37211
37051
  return;
37212
37052
  callback(subChannel);
@@ -37222,6 +37062,7 @@ const getSubChannel = (subChannelId, callback) => {
37222
37062
  }, 'subChannelId', 'subChannel'),
37223
37063
  convertEventPayload((callback) => {
37224
37064
  return onMessageCreatedLocal(async (message) => {
37065
+ /* c8 ignore next */
37225
37066
  if (message.subChannelId !== subChannelId)
37226
37067
  return;
37227
37068
  await handleMessageCreatedOnSubChannel(message);
@@ -37231,8 +37072,10 @@ const getSubChannel = (subChannelId, callback) => {
37231
37072
  convertEventPayload((callback) => {
37232
37073
  const updateMessagePreview = async (message) => {
37233
37074
  const messagePreviewSetting = await client.getMessagePreviewSetting(false);
37075
+ /* c8 ignore next */
37234
37076
  if (messagePreviewSetting === "no-message-preview" /* Amity.MessagePreviewSetting.NO_MESSAGE_PREVIEW */)
37235
37077
  return;
37078
+ /* c8 ignore next */
37236
37079
  if (message.subChannelId !== subChannelId)
37237
37080
  return;
37238
37081
  handleMessageUpdatedOnSubChannel(message);
@@ -37244,8 +37087,10 @@ const getSubChannel = (subChannelId, callback) => {
37244
37087
  convertEventPayload((callback) => {
37245
37088
  const updateMessagePreview = async (message) => {
37246
37089
  const messagePreviewSetting = await client.getMessagePreviewSetting(false);
37090
+ /* c8 ignore next */
37247
37091
  if (messagePreviewSetting === "no-message-preview" /* Amity.MessagePreviewSetting.NO_MESSAGE_PREVIEW */)
37248
37092
  return;
37093
+ /* c8 ignore next */
37249
37094
  if (message.subChannelId !== subChannelId)
37250
37095
  return;
37251
37096
  if (messagePreviewSetting === "message-preview-include-deleted" /* Amity.MessagePreviewSetting.MESSAGE_PREVIEW_INCLUDE_DELETED */)
@@ -37705,7 +37550,11 @@ const getChannel = (channelId, callback) => {
37705
37550
  * check equality of previous data and current data to avoid redundancy
37706
37551
  * if equal, do not call the callback function
37707
37552
  * If not equal, assign new snapshot and return callback function
37553
+ *
37554
+ * Note: constructChannelObject always creates new function references (markAsRead, myMembership),
37555
+ * so isEqual will always return false in practice. The early-return branch is structurally unreachable.
37708
37556
  */
37557
+ /* c8 ignore next */
37709
37558
  if (isEqual(snapshot, newSnapshot))
37710
37559
  return;
37711
37560
  snapshot = newSnapshot;
@@ -39250,7 +39099,6 @@ const getCommunities$1 = async (communityIds, includeDiscoverablePrivateCommunit
39250
39099
  * @category Community API
39251
39100
  */
39252
39101
  getCommunities$1.locally = (communityIds) => {
39253
- var _a;
39254
39102
  const client = getActiveClient();
39255
39103
  client.log('community/getCommunities.locally', communityIds);
39256
39104
  if (!client.cache)
@@ -39259,8 +39107,8 @@ getCommunities$1.locally = (communityIds) => {
39259
39107
  .map(communityId => pullFromCache(['community', 'get', communityId]))
39260
39108
  .filter(Boolean);
39261
39109
  const communities = cached.map(({ data }) => data);
39262
- const oldest = (_a = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))) === null || _a === void 0 ? void 0 : _a[0];
39263
- if ((cached === null || cached === void 0 ? void 0 : cached.length) < communityIds.length)
39110
+ const oldest = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))[0];
39111
+ if (cached.length < communityIds.length)
39264
39112
  return;
39265
39113
  return {
39266
39114
  data: communities,
@@ -42005,6 +41853,7 @@ queryCategories.locally = (query) => {
42005
41853
  const getCategories = (params, callback, config) => {
42006
41854
  const { log, cache } = getActiveClient();
42007
41855
  if (!cache) {
41856
+ // eslint-disable-next-line no-console
42008
41857
  console.log(ENABLE_CACHE_MESSAGE);
42009
41858
  }
42010
41859
  const timestamp = Date.now();
@@ -42019,7 +41868,7 @@ const getCategories = (params, callback, config) => {
42019
41868
  let categories = (_a = data.data
42020
41869
  .map(categoryId => pullFromCache(['category', 'get', categoryId]))
42021
41870
  .filter(Boolean)
42022
- .map(({ data }) => LinkedObject.category(data))) !== null && _a !== void 0 ? _a : [];
41871
+ .map(({ data }) => LinkedObject.category(data)) /* c8 ignore next */) !== null && _a !== void 0 ? _a : [];
42023
41872
  if (!params.includeDeleted) {
42024
41873
  categories = filterByPropEquality(categories, 'isDeleted', false);
42025
41874
  }
@@ -42036,6 +41885,7 @@ const getCategories = (params, callback, config) => {
42036
41885
  callback({
42037
41886
  onNextPage: onFetch,
42038
41887
  data: categories,
41888
+ /* c8 ignore next */
42039
41889
  hasNextPage: !!((_b = data.params) === null || _b === void 0 ? void 0 : _b.page),
42040
41890
  loading: data.loading,
42041
41891
  error: data.error,
@@ -42051,6 +41901,7 @@ const getCategories = (params, callback, config) => {
42051
41901
  var _a, _b;
42052
41902
  const collection = (_a = pullFromCache(cacheKey)) === null || _a === void 0 ? void 0 : _a.data;
42053
41903
  const categories = (_b = collection === null || collection === void 0 ? void 0 : collection.data) !== null && _b !== void 0 ? _b : [];
41904
+ /* c8 ignore next */
42054
41905
  if (!initial && categories.length > 0 && !(collection === null || collection === void 0 ? void 0 : collection.params.page))
42055
41906
  return;
42056
41907
  const query = createQuery(queryCategories, Object.assign(Object.assign({}, queryParams), { limit: initial ? limit : undefined, page: !initial ? collection === null || collection === void 0 ? void 0 : collection.params.page : undefined }));
@@ -42151,7 +42002,7 @@ const queryGlobalFeed = async (query) => {
42151
42002
  * @async
42152
42003
  * */
42153
42004
  queryGlobalFeed.locally = (query) => {
42154
- var _a, _b;
42005
+ var _a;
42155
42006
  const client = getActiveClient();
42156
42007
  client.log('post/queryGlobalFeed.locally', query);
42157
42008
  if (!client.cache)
@@ -42167,7 +42018,7 @@ queryGlobalFeed.locally = (query) => {
42167
42018
  .map(({ data }) => data)
42168
42019
  .map(LinkedObject.post);
42169
42020
  const { paging } = data;
42170
- return posts.length === ((_b = data === null || data === void 0 ? void 0 : data.posts) === null || _b === void 0 ? void 0 : _b.length)
42021
+ return posts.length === data.posts.length
42171
42022
  ? {
42172
42023
  data: posts,
42173
42024
  cachedAt,
@@ -42332,8 +42183,8 @@ getCommentByIds.locally = (commentIds) => {
42332
42183
  .map(commentId => pullFromCache(['comment', 'get', commentId]))
42333
42184
  .filter(Boolean);
42334
42185
  const comments = cached.map(({ data }) => data);
42335
- const oldest = (_a = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))) === null || _a === void 0 ? void 0 : _a[0];
42336
- if ((cached === null || cached === void 0 ? void 0 : cached.length) < commentIds.length)
42186
+ const oldest = (_a = cached.sort((a, b) => a.cachedAt < b.cachedAt ? -1 : 1) /* c8 ignore next */) === null || _a === void 0 ? void 0 : _a[0];
42187
+ if ((cached /* c8 ignore next */ === null || cached /* c8 ignore next */ === void 0 ? void 0 : cached /* c8 ignore next */.length) < commentIds.length)
42337
42188
  return;
42338
42189
  return {
42339
42190
  data: comments.map(comment => LinkedObject.comment(comment)),
@@ -42564,7 +42415,7 @@ const deleteComment = async (commentId, permanent = false) => {
42564
42415
  if (post) {
42565
42416
  const engine = PostCommentCountEngine$1.getInstance();
42566
42417
  engine.queueCommentChangeTask(new DeleteTask(post.postId, commentId));
42567
- if (!deleted.parentId && ((_b = deleted.children) === null || _b === void 0 ? void 0 : _b.length) > 0) {
42418
+ if (!deleted.parentId && ((_b = deleted.children /* c8 ignore next */) === null || _b === void 0 ? void 0 : _b.length) > 0) {
42568
42419
  // NOTE: delete the parent comment will also remove all children comments
42569
42420
  deleted.children.forEach((childCommentId) => {
42570
42421
  engine.queueCommentChangeTask(new DeleteTask(post.postId, childCommentId));
@@ -43233,7 +43084,7 @@ const onPostUpdatedLocal = (callback) => createLocalPostEventSubscriber('local.p
43233
43084
  const commentEventHandler$1 = (callback, eventHandler, cacheKey) => {
43234
43085
  return eventHandler(async (comment) => {
43235
43086
  var _a;
43236
- const currentCollection = (_a = pullFromCache(cacheKey)) === null || _a === void 0 ? void 0 : _a.data;
43087
+ const currentCollection = (_a = pullFromCache(cacheKey) /* c8 ignore next */) === null || _a === void 0 ? void 0 : _a.data;
43237
43088
  if (!currentCollection || !currentCollection.data.includes(comment.referenceId))
43238
43089
  return;
43239
43090
  callback(comment);
@@ -43958,7 +43809,7 @@ class CommunityFeedQueryStreamController extends QueryStreamController {
43958
43809
  const commentEventHandler = (callback, eventHandler, cacheKey, resolveId) => {
43959
43810
  return eventHandler(async (comment) => {
43960
43811
  var _a;
43961
- const currentCollection = (_a = pullFromCache(cacheKey)) === null || _a === void 0 ? void 0 : _a.data;
43812
+ const currentCollection = (_a = pullFromCache(cacheKey) /* c8 ignore next */) === null || _a === void 0 ? void 0 : _a.data;
43962
43813
  if (!currentCollection ||
43963
43814
  !currentCollection.data.includes(resolveId ? resolveId(comment.referenceId) : comment.referenceId))
43964
43815
  return;
@@ -44000,9 +43851,10 @@ const resolvePostIdsFromRooms = (rooms, posts) => {
44000
43851
  return ((_a = rooms
44001
43852
  .map(room => {
44002
43853
  const post = posts.find(post => post.postId === room.referenceId);
43854
+ /* c8 ignore next */
44003
43855
  return post ? getResolver('post')({ postId: post === null || post === void 0 ? void 0 : post.postId }) : undefined;
44004
43856
  })
44005
- .filter(isNonNullable)) !== null && _a !== void 0 ? _a : []);
43857
+ .filter(isNonNullable) /* c8 ignore next */) !== null && _a !== void 0 ? _a : []);
44006
43858
  };
44007
43859
 
44008
43860
  class CommunityFeedLiveCollectionController extends LiveCollectionController {
@@ -44225,7 +44077,9 @@ getPostByIds.locally = (postIds) => {
44225
44077
  .map(postId => pullFromCache(['post', 'get', postId]))
44226
44078
  .filter(Boolean);
44227
44079
  const posts = cached.map(({ data }) => data);
44080
+ /* c8 ignore next */
44228
44081
  const oldest = (_a = cached.sort((a, b) => (a.cachedAt < b.cachedAt ? -1 : 1))) === null || _a === void 0 ? void 0 : _a[0];
44082
+ /* c8 ignore next */
44229
44083
  if ((cached === null || cached === void 0 ? void 0 : cached.length) < postIds.length)
44230
44084
  return;
44231
44085
  return {
@@ -44266,9 +44120,11 @@ const createPost = async (bundle) => {
44266
44120
  const processedAttachments = attachments && attachments.length > 0 && bundle.attachmentProductTags
44267
44121
  ? attachments.map(attachment => {
44268
44122
  var _a;
44123
+ /* c8 ignore next */
44269
44124
  const productTags = (_a = bundle.attachmentProductTags) === null || _a === void 0 ? void 0 : _a.get(attachment.fileId);
44270
44125
  if (productTags)
44271
44126
  return Object.assign(Object.assign({}, attachment), { productTags });
44127
+ /* c8 ignore next */
44272
44128
  return attachment;
44273
44129
  })
44274
44130
  : attachments;
@@ -44313,9 +44169,11 @@ const editPost = async (postId, patch) => {
44313
44169
  const processedAttachments = attachments && attachments.length > 0 && patch.attachmentProductTags
44314
44170
  ? attachments.map(attachment => {
44315
44171
  var _a;
44172
+ /* c8 ignore next */
44316
44173
  const productTags = (_a = patch.attachmentProductTags) === null || _a === void 0 ? void 0 : _a.get(attachment.fileId);
44317
44174
  if (productTags)
44318
44175
  return Object.assign(Object.assign({}, attachment), { productTags });
44176
+ /* c8 ignore next */
44319
44177
  return attachment;
44320
44178
  })
44321
44179
  : attachments;
@@ -44363,9 +44221,12 @@ const deletePost = async (postId, permanent = false) => {
44363
44221
  // later when realtime events covers that for us.
44364
44222
  if (post.data.targetType === 'community') {
44365
44223
  const community = await getCommunity$1(post.data.targetId);
44366
- const communityUsersCache = (_a = queryCache(['communityUsers', 'get'])) !== null && _a !== void 0 ? _a : [];
44224
+ const communityUsersCache =
44225
+ /* c8 ignore next */
44226
+ (_a = queryCache(['communityUsers', 'get'])) !== null && _a !== void 0 ? _a : [];
44367
44227
  const communityUsers = communityUsersCache
44368
44228
  .filter(({ key }) => {
44229
+ /* c8 ignore start */
44369
44230
  // cache key is ['communityUsers', 'get', `${communityId}#`${userId}`}]
44370
44231
  if (key[0] !== 'communityUsers')
44371
44232
  return false;
@@ -44374,6 +44235,7 @@ const deletePost = async (postId, permanent = false) => {
44374
44235
  if (typeof key[2] === 'string')
44375
44236
  return key[2].includes(community.data.communityId);
44376
44237
  return false;
44238
+ /* c8 ignore end */
44377
44239
  })
44378
44240
  .map(({ data }) => data);
44379
44241
  fireEvent('community.updated', {
@@ -44388,7 +44250,9 @@ const deletePost = async (postId, permanent = false) => {
44388
44250
  // to support hard deletion
44389
44251
  const deleted = Object.assign(Object.assign({}, post.data), { isDeleted: true });
44390
44252
  if (permanent) {
44253
+ /* c8 ignore next */
44391
44254
  setTimeout(() => {
44255
+ /* c8 ignore next */
44392
44256
  pushToTombstone('post', postId);
44393
44257
  }, 0);
44394
44258
  }
@@ -44650,9 +44514,11 @@ const createClipPost = async (bundle) => {
44650
44514
  const processedAttachments = attachments && attachments.length > 0 && bundle.attachmentProductTags
44651
44515
  ? attachments.map(attachment => {
44652
44516
  var _a;
44517
+ /* c8 ignore next */
44653
44518
  const productTags = (_a = bundle.attachmentProductTags) === null || _a === void 0 ? void 0 : _a.get(attachment.fileId);
44654
44519
  if (productTags)
44655
44520
  return Object.assign(Object.assign({}, attachment), { productTags });
44521
+ /* c8 ignore next */
44656
44522
  return attachment;
44657
44523
  })
44658
44524
  : attachments;
@@ -44698,9 +44564,11 @@ const createAudioPost = async (bundle) => {
44698
44564
  const { attachments, attachmentProductTags } = bundle, rest = __rest(bundle, ["attachments", "attachmentProductTags"]);
44699
44565
  const processedAttachments = attachments && attachments.length > 0 && attachmentProductTags
44700
44566
  ? attachments.map(attachment => {
44567
+ /* c8 ignore next */
44701
44568
  const productTags = attachmentProductTags === null || attachmentProductTags === void 0 ? void 0 : attachmentProductTags.get(attachment.fileId);
44702
44569
  if (productTags)
44703
44570
  return Object.assign(Object.assign({}, attachment), { productTags });
44571
+ /* c8 ignore next */
44704
44572
  return attachment;
44705
44573
  })
44706
44574
  : attachments;
@@ -44711,6 +44579,7 @@ const createAudioPost = async (bundle) => {
44711
44579
  if (client.cache)
44712
44580
  ingestInCache(data, { cachedAt });
44713
44581
  return {
44582
+ /* c8 ignore next */
44714
44583
  data: postLinkedObject(data === null || data === void 0 ? void 0 : data.posts[0]),
44715
44584
  cachedAt,
44716
44585
  };
@@ -44752,12 +44621,14 @@ const createMixedMediaPost = async (bundle) => {
44752
44621
  const processedAttachments = attachments && attachments.length > 0 && bundle.attachmentProductTags
44753
44622
  ? attachments.map(attachment => {
44754
44623
  var _a;
44624
+ /* c8 ignore next */
44755
44625
  const productTags = (_a = bundle.attachmentProductTags) === null || _a === void 0 ? void 0 : _a.get(attachment.fileId);
44756
44626
  if (productTags)
44757
44627
  return Object.assign(Object.assign({}, attachment), { productTags });
44628
+ /* c8 ignore next */
44758
44629
  return attachment;
44759
44630
  })
44760
- : attachments;
44631
+ : /* c8 ignore next */ attachments;
44761
44632
  const { data: payload } = await client.http.post('/api/v4/posts', Object.assign(Object.assign({}, rest), { attachments: processedAttachments }));
44762
44633
  fireEvent('post.created', payload);
44763
44634
  const data = preparePostPayload(payload);
@@ -44765,6 +44636,7 @@ const createMixedMediaPost = async (bundle) => {
44765
44636
  if (client.cache)
44766
44637
  ingestInCache(data, { cachedAt });
44767
44638
  return {
44639
+ /* c8 ignore next */
44768
44640
  data: postLinkedObject((_a = data === null || data === void 0 ? void 0 : data.posts) === null || _a === void 0 ? void 0 : _a[0]),
44769
44641
  cachedAt,
44770
44642
  };
@@ -44837,6 +44709,7 @@ const pinProduct = async (postId, pinnedProductId) => {
44837
44709
  ingestInCache(payload, { cachedAt });
44838
44710
  fireEvent('local.post.updated', payload);
44839
44711
  return {
44712
+ /* c8 ignore next */
44840
44713
  data: postLinkedObject(data === null || data === void 0 ? void 0 : data.posts[0]),
44841
44714
  cachedAt,
44842
44715
  };
@@ -44868,6 +44741,7 @@ const unpinProduct = async (postId) => {
44868
44741
  ingestInCache(payload, { cachedAt });
44869
44742
  fireEvent('local.post.updated', payload);
44870
44743
  return {
44744
+ /* c8 ignore next */
44871
44745
  data: postLinkedObject(data === null || data === void 0 ? void 0 : data.posts[0]),
44872
44746
  cachedAt,
44873
44747
  };
@@ -44902,6 +44776,7 @@ const updateProductTags = async (postId, productTags) => {
44902
44776
  ingestInCache(payload, { cachedAt });
44903
44777
  fireEvent('local.post.updated', payload);
44904
44778
  return {
44779
+ /* c8 ignore next */
44905
44780
  data: postLinkedObject(data === null || data === void 0 ? void 0 : data.posts[0]),
44906
44781
  cachedAt,
44907
44782
  };
@@ -51845,4 +51720,4 @@ class AmityAttachmentProductTags {
51845
51720
  }
51846
51721
  }
51847
51722
 
51848
- export { API_REGIONS, index$5 as AdRepository, AmityAttachmentProductTags, AmityCommunityType, AmityEventOrderOption, AmityEventOriginType, AmityEventResponseStatus, AmityEventSortOption, AmityEventStatus, AmityEventType, AnalyticsSourceTypeEnum, index$f as CategoryRepository, index$j as ChannelRepository, index$s as Client, index$e as CommentRepository, CommunityNotificationEventNameEnum, CommunityPostSettingMaps, CommunityPostSettings, index$g as CommunityRepository, ContentFeedType, ContentFlagReasonEnum, DefaultCommunityPostSetting, index$1 as EventRepository, FeedDataTypeEnum, index$d as FeedRepository, FeedSortByEnum, FeedSourceEnum, FeedTypeEnum, FileAccessTypeEnum, index$p as FileRepository, FileType, GET_WATCHER_URLS, index$3 as InvitationRepository, InvitationSortByEnum, InvitationStatusEnum, InvitationTargetTypeEnum, InvitationTypeEnum, JoinRequestStatusEnum, JoinResultStatusEnum, index$2 as LiveReactionRepository, index$7 as LiveStreamPlayer, MembershipAcceptanceTypeEnum, MessageContentType, index$n as MessageRepository, NotificationRolesFilterTypeEnum, NotificationSettingsLevelEnum, index$8 as PollRepository, PostContentType, index$b as PostRepository, PostStructureType, index as ProductRepository, index$o as ReactionRepository, index$9 as RoomPresenceRepository, index$c as RoomRepository, SearchUsersByEnum, index$6 as StoryRepository, index$a as StreamRepository, index$m as SubChannelRepository, SubscriptionLevels, UserNotificationModuleNameEnum, index$q as UserRepository, UserTypeEnum, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, backupCache, createQuery, createReport, createUserToken, deleteReport, disableCache, dropFromCache, enableCache, exceedsUntilAtBoundary, filterByChannelMembership, filterByCommunityMembership, filterByFeedType, filterByPostDataTypes, filterByPropEquality, filterByPropInclusion, filterByPropIntersection, filterBySearchTerm, filterByStringComparePartially, filterByUntilAt, getChannelTopic, getCommentTopic, getCommunityStoriesTopic, getCommunityTopic, getLiveReactionTopic, getLiveStreamTopic, getMarkedMessageTopic, getMarkerUserFeedTopic, getMessageTopic, getMyFollowersTopic, getMyFollowingsTopic, getNetworkTopic, getPostTopic, getRole, getRoomStreamerTopic, getRoomWatcherTopic, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStoryTopic, getSubChannelTopic, getUserTopic, isAfterBefore, isAfterBeforeRaw, isCachable, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, mergeInCache, index$4 as notificationTray, onChannelMarkerFetched, onFeedMarkerFetched, onFeedMarkerUpdated, onMessageMarked, onMessageMarkerFetched, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onUserMarkerFetched, onUserMarkerFetchedLegacy, pullFromCache, pushToCache, queryCache, queryOptions, queryRoles, restoreCache, runQuery, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByFirstUpdated, sortByLastActivity, sortByLastCreated, sortByLastUpdated, sortByLocalSortingDate, sortByName, sortBySegmentNumber, subscribeTopic, toPage, toPageRaw, toToken, upsertInCache, validateUntilAt, wipeCache };
51723
+ export { API_REGIONS, index$5 as AdRepository, AmityAttachmentProductTags, AmityCommunityType, AmityEventOrderOption, AmityEventOriginType, AmityEventResponseStatus, AmityEventSortOption, AmityEventStatus, AmityEventType, AnalyticsSourceTypeEnum, index$f as CategoryRepository, index$j as ChannelRepository, index$s as Client, index$e as CommentRepository, CommunityPostSettingMaps, CommunityPostSettings, index$g as CommunityRepository, ContentFeedType, ContentFlagReasonEnum, DefaultCommunityPostSetting, index$1 as EventRepository, FeedDataTypeEnum, index$d as FeedRepository, FeedSortByEnum, FeedSourceEnum, FeedTypeEnum, FileAccessTypeEnum, index$p as FileRepository, FileType, GET_WATCHER_URLS, index$3 as InvitationRepository, InvitationSortByEnum, InvitationStatusEnum, InvitationTargetTypeEnum, InvitationTypeEnum, JoinRequestStatusEnum, JoinResultStatusEnum, index$2 as LiveReactionRepository, index$7 as LiveStreamPlayer, MembershipAcceptanceTypeEnum, MessageContentType, index$n as MessageRepository, index$8 as PollRepository, PostContentType, index$b as PostRepository, PostStructureType, index as ProductRepository, index$o as ReactionRepository, index$9 as RoomPresenceRepository, index$c as RoomRepository, SearchUsersByEnum, index$6 as StoryRepository, index$a as StreamRepository, index$m as SubChannelRepository, SubscriptionLevels, index$q as UserRepository, UserTypeEnum, VERSION, VideoResolution, VideoSize, VideoTranscodingStatus, backupCache, createQuery, createReport, createUserToken, deleteReport, disableCache, dropFromCache, enableCache, exceedsUntilAtBoundary, filterByChannelMembership, filterByCommunityMembership, filterByFeedType, filterByPostDataTypes, filterByPropEquality, filterByPropInclusion, filterByPropIntersection, filterBySearchTerm, filterByStringComparePartially, filterByUntilAt, getChannelTopic, getCommentTopic, getCommunityStoriesTopic, getCommunityTopic, getLiveReactionTopic, getLiveStreamTopic, getMarkedMessageTopic, getMarkerUserFeedTopic, getMessageTopic, getMyFollowersTopic, getMyFollowingsTopic, getNetworkTopic, getPostTopic, getRole, getRoomStreamerTopic, getRoomWatcherTopic, getSmartFeedChannelTopic, getSmartFeedMessageTopic, getSmartFeedSubChannelTopic, getStoryTopic, getSubChannelTopic, getUserTopic, isAfterBefore, isAfterBeforeRaw, isCachable, isFetcher, isFresh, isLocal, isMutator, isOffline, isPaged, isReportedByMe, isSkip, mergeInCache, index$4 as notificationTray, onChannelMarkerFetched, onFeedMarkerFetched, onFeedMarkerUpdated, onMessageMarked, onMessageMarkerFetched, onSubChannelMarkerFetched, onSubChannelMarkerUpdated, onUserMarkerFetched, onUserMarkerFetchedLegacy, pullFromCache, pushToCache, queryCache, queryOptions, queryRoles, restoreCache, runQuery, sortByChannelSegment, sortByDisplayName, sortByFirstCreated, sortByFirstUpdated, sortByLastActivity, sortByLastCreated, sortByLastUpdated, sortByLocalSortingDate, sortByName, sortBySegmentNumber, subscribeTopic, toPage, toPageRaw, toToken, upsertInCache, validateUntilAt, wipeCache };