@amityco/ts-sdk 7.11.1-80963acf.0 → 7.11.1-85f4ab7b.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 (125) hide show
  1. package/dist/@types/core/events.d.ts +5 -0
  2. package/dist/@types/core/events.d.ts.map +1 -1
  3. package/dist/@types/core/linkPreviewMetadata.d.ts +12 -0
  4. package/dist/@types/core/linkPreviewMetadata.d.ts.map +1 -0
  5. package/dist/@types/core/model.d.ts +3 -2
  6. package/dist/@types/core/model.d.ts.map +1 -1
  7. package/dist/@types/core/payload.d.ts +14 -0
  8. package/dist/@types/core/payload.d.ts.map +1 -1
  9. package/dist/@types/domains/client.d.ts +1 -0
  10. package/dist/@types/domains/client.d.ts.map +1 -1
  11. package/dist/@types/domains/community.d.ts +7 -0
  12. package/dist/@types/domains/community.d.ts.map +1 -1
  13. package/dist/@types/domains/event.d.ts +30 -1
  14. package/dist/@types/domains/event.d.ts.map +1 -1
  15. package/dist/@types/domains/notification.d.ts +11 -4
  16. package/dist/@types/domains/notification.d.ts.map +1 -1
  17. package/dist/@types/domains/post.d.ts +22 -0
  18. package/dist/@types/domains/post.d.ts.map +1 -1
  19. package/dist/@types/domains/room.d.ts +9 -5
  20. package/dist/@types/domains/room.d.ts.map +1 -1
  21. package/dist/client/api/fetchLinkPreview.d.ts +3 -0
  22. package/dist/client/api/fetchLinkPreview.d.ts.map +1 -1
  23. package/dist/client/api/getCurrentUser.d.ts +1 -1
  24. package/dist/client/api/getCurrentUser.d.ts.map +1 -1
  25. package/dist/client/api/getLinkPreviewMetadata.d.ts +14 -0
  26. package/dist/client/api/getLinkPreviewMetadata.d.ts.map +1 -0
  27. package/dist/client/api/index.d.ts +1 -0
  28. package/dist/client/api/index.d.ts.map +1 -1
  29. package/dist/client/utils/setBotClientToken.d.ts.map +1 -1
  30. package/dist/client/utils/setClientToken.d.ts.map +1 -1
  31. package/dist/client/utils/setCurrentUser.d.ts.map +1 -1
  32. package/dist/client/utils/setVisitorClientToken.d.ts.map +1 -1
  33. package/dist/core/events.d.ts +3 -3
  34. package/dist/core/events.d.ts.map +1 -1
  35. package/dist/core/model/idResolvers.d.ts.map +1 -1
  36. package/dist/core/model/index.d.ts.map +1 -1
  37. package/dist/eventRepository/events/enums.d.ts +3 -1
  38. package/dist/eventRepository/events/enums.d.ts.map +1 -1
  39. package/dist/eventRepository/events/index.d.ts +4 -0
  40. package/dist/eventRepository/events/index.d.ts.map +1 -1
  41. package/dist/eventRepository/events/onEventCreated.d.ts +1 -1
  42. package/dist/eventRepository/events/onLocalRSVPCreated.d.ts +17 -0
  43. package/dist/eventRepository/events/onLocalRSVPCreated.d.ts.map +1 -0
  44. package/dist/eventRepository/events/onLocalRSVPUpdated.d.ts +17 -0
  45. package/dist/eventRepository/events/onLocalRSVPUpdated.d.ts.map +1 -0
  46. package/dist/eventRepository/events/onRSVPCreated.d.ts +17 -0
  47. package/dist/eventRepository/events/onRSVPCreated.d.ts.map +1 -0
  48. package/dist/eventRepository/events/onRSVPUpdated.d.ts +17 -0
  49. package/dist/eventRepository/events/onRSVPUpdated.d.ts.map +1 -0
  50. package/dist/eventRepository/internalApi/createRSVP.d.ts +17 -0
  51. package/dist/eventRepository/internalApi/createRSVP.d.ts.map +1 -0
  52. package/dist/eventRepository/internalApi/getEvent.d.ts.map +1 -1
  53. package/dist/eventRepository/internalApi/getMyRSVP.d.ts +32 -0
  54. package/dist/eventRepository/internalApi/getMyRSVP.d.ts.map +1 -0
  55. package/dist/eventRepository/internalApi/index.d.ts +3 -0
  56. package/dist/eventRepository/internalApi/index.d.ts.map +1 -1
  57. package/dist/eventRepository/internalApi/updateRSVP.d.ts +17 -0
  58. package/dist/eventRepository/internalApi/updateRSVP.d.ts.map +1 -0
  59. package/dist/eventRepository/observers/getMyEvents/LiveCollectionController.d.ts +13 -0
  60. package/dist/eventRepository/observers/getMyEvents/LiveCollectionController.d.ts.map +1 -0
  61. package/dist/eventRepository/observers/getMyEvents/PaginationController.d.ts +5 -0
  62. package/dist/eventRepository/observers/getMyEvents/PaginationController.d.ts.map +1 -0
  63. package/dist/eventRepository/observers/getMyEvents/QueryStreamController.d.ts +15 -0
  64. package/dist/eventRepository/observers/getMyEvents/QueryStreamController.d.ts.map +1 -0
  65. package/dist/eventRepository/observers/getMyEvents.d.ts +12 -0
  66. package/dist/eventRepository/observers/getMyEvents.d.ts.map +1 -0
  67. package/dist/eventRepository/observers/getRSVPs/LiveCollectionController.d.ts +13 -0
  68. package/dist/eventRepository/observers/getRSVPs/LiveCollectionController.d.ts.map +1 -0
  69. package/dist/eventRepository/observers/getRSVPs/PaginationController.d.ts +5 -0
  70. package/dist/eventRepository/observers/getRSVPs/PaginationController.d.ts.map +1 -0
  71. package/dist/eventRepository/observers/getRSVPs/QueryStreamController.d.ts +15 -0
  72. package/dist/eventRepository/observers/getRSVPs/QueryStreamController.d.ts.map +1 -0
  73. package/dist/eventRepository/observers/getRSVPs.d.ts +12 -0
  74. package/dist/eventRepository/observers/getRSVPs.d.ts.map +1 -0
  75. package/dist/eventRepository/observers/index.d.ts +2 -0
  76. package/dist/eventRepository/observers/index.d.ts.map +1 -1
  77. package/dist/eventRepository/utils/createEventResponseSubscriber.d.ts +2 -0
  78. package/dist/eventRepository/utils/createEventResponseSubscriber.d.ts.map +1 -0
  79. package/dist/eventRepository/utils/index.d.ts +2 -0
  80. package/dist/eventRepository/utils/index.d.ts.map +1 -1
  81. package/dist/eventRepository/utils/prepareEventResponsePayload.d.ts +2 -0
  82. package/dist/eventRepository/utils/prepareEventResponsePayload.d.ts.map +1 -0
  83. package/dist/index.cjs.js +3213 -2248
  84. package/dist/index.esm.js +2870 -1905
  85. package/dist/index.umd.js +3 -3
  86. package/dist/postRepository/api/createPost.d.ts +1 -0
  87. package/dist/postRepository/api/createPost.d.ts.map +1 -1
  88. package/dist/postRepository/api/editPost.d.ts +1 -0
  89. package/dist/postRepository/api/editPost.d.ts.map +1 -1
  90. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostLiveCollectionController.d.ts +14 -0
  91. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostLiveCollectionController.d.ts.map +1 -0
  92. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostPaginationController.d.ts +5 -0
  93. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostPaginationController.d.ts.map +1 -0
  94. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostQueryStreamController.d.ts +15 -0
  95. package/dist/postRepository/observers/getCommunityLiveRoomPosts/CommunityLiveRoomPostQueryStreamController.d.ts.map +1 -0
  96. package/dist/postRepository/observers/getCommunityLiveRoomPosts.d.ts +22 -0
  97. package/dist/postRepository/observers/getCommunityLiveRoomPosts.d.ts.map +1 -0
  98. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostLiveCollectionController.d.ts +14 -0
  99. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostLiveCollectionController.d.ts.map +1 -0
  100. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostPaginationController.d.ts +5 -0
  101. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostPaginationController.d.ts.map +1 -0
  102. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostQueryStreamController.d.ts +15 -0
  103. package/dist/postRepository/observers/getLiveRoomPosts/LiveRoomPostQueryStreamController.d.ts.map +1 -0
  104. package/dist/postRepository/observers/getLiveRoomPosts.d.ts +23 -0
  105. package/dist/postRepository/observers/getLiveRoomPosts.d.ts.map +1 -0
  106. package/dist/postRepository/observers/index.d.ts +2 -0
  107. package/dist/postRepository/observers/index.d.ts.map +1 -1
  108. package/dist/postRepository/observers/utils.d.ts +1 -0
  109. package/dist/postRepository/observers/utils.d.ts.map +1 -1
  110. package/dist/roomPresenceRepository/api/getRoomUserCount.d.ts.map +1 -1
  111. package/dist/roomRepository/events/index.d.ts +1 -0
  112. package/dist/roomRepository/events/index.d.ts.map +1 -1
  113. package/dist/roomRepository/events/onRoomTerminated.d.ts +17 -0
  114. package/dist/roomRepository/events/onRoomTerminated.d.ts.map +1 -0
  115. package/dist/roomRepository/observers/getRoom.d.ts.map +1 -1
  116. package/dist/utils/linkedObject/communityLinkedObject.d.ts.map +1 -1
  117. package/dist/utils/linkedObject/eventLinkObject.d.ts.map +1 -1
  118. package/dist/utils/linkedObject/eventResponseLinkObject.d.ts +2 -0
  119. package/dist/utils/linkedObject/eventResponseLinkObject.d.ts.map +1 -0
  120. package/dist/utils/linkedObject/index.d.ts +1 -0
  121. package/dist/utils/linkedObject/index.d.ts.map +1 -1
  122. package/dist/utils/linkedObject/notificationTrayLinkedObject.d.ts.map +1 -1
  123. package/dist/utils/linkedObject/postLinkedObject.d.ts.map +1 -1
  124. package/dist/utils/linkedObject/roomLinkedObject.d.ts.map +1 -1
  125. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"room.d.ts","sourceRoot":"","sources":["../../../src/@types/domains/room.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC;AAEV,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,KAAK,CAAC;QACd,KAAK,QAAQ,GAAG,iBAAiB,GAAG,SAAS,CAAC;QAE9C,KAAK,cAAc,GAAG,WAAW,GAAG,MAAM,CAAC;QAE3C,KAAK,oBAAoB,GAAG,QAAQ,GAAG,SAAS,CAAC;QAEjD,KAAK,iBAAiB,GAAG,MAAM,GAAG,OAAO,CAAC;QAE1C,KAAK,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,mBAAmB,GAAG,OAAO,GAAG,UAAU,CAAC;QAE/E,KAAK,kBAAkB,GAAG;YACxB,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;YACxB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QAEF,KAAK,OAAO,GAAG;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,MAAM,EAAE,MAAM,CAAC;YACf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,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,eAAe,CAAC,EAAE,MAAM,CAAC;SAC1B,CAAC;QAEF,KAAK,iBAAiB,GAAG;YACvB,KAAK,EAAE,MAAM,CAAC;YACd,kBAAkB,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;SACvC,CAAC;QAEF,KAAK,aAAa,GAAG;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC;SAC5B,CAAC;QAEF,KAAK,gBAAgB,GAAG,aAAa,GAAG;YAAE,IAAI,CAAC,EAAE,KAAK,CAAC,IAAI,CAAA;SAAE,CAAC;KAC/D;CACF"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @deprecated This function will to be deprecated and use the new getLinkPreviewMetadata
3
+ */
1
4
  /**
2
5
  * ```js
3
6
  * import { fetchLinkPreview } from '@amityco/ts-sdk'
@@ -1 +1 @@
1
- {"version":3,"file":"fetchLinkPreview.d.ts","sourceRoot":"","sources":["../../../src/client/api/fetchLinkPreview.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;KAWK;AAEL,eAAO,MAAM,gBAAgB,QAAe,MAAM,KAAG,QAAQ,MAAM,WAAW,CAc7E,CAAC"}
1
+ {"version":3,"file":"fetchLinkPreview.d.ts","sourceRoot":"","sources":["../../../src/client/api/fetchLinkPreview.ts"],"names":[],"mappings":"AAEA;;GAEG;AAEH;;;;;;;;;;;KAWK;AAEL,eAAO,MAAM,gBAAgB,QAAe,MAAM,KAAG,QAAQ,MAAM,WAAW,CAc7E,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const getCurrentUser: () => Amity.User;
1
+ export declare const getCurrentUser: () => Amity.User | null;
2
2
  //# sourceMappingURL=getCurrentUser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../../src/client/api/getCurrentUser.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,QAAO,MAAM,IAsBvC,CAAC"}
1
+ {"version":3,"file":"getCurrentUser.d.ts","sourceRoot":"","sources":["../../../src/client/api/getCurrentUser.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,cAAc,QAAO,MAAM,IAAI,GAAG,IAc9C,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * ```js
3
+ * import { getLinkPreviewMetadata } from '@amityco/ts-sdk'
4
+ * const { title, description, imageUrl } = getLinkPreviewMetadata('https://www.example.com/')
5
+ * ```
6
+ *
7
+ *
8
+ * @param url the url to fetch link preview
9
+ * @returns A {@link Amity.LinkPreviewMetadata} instance
10
+ *
11
+ * @category Client API
12
+ * */
13
+ export declare const getLinkPreviewMetadata: (url: string) => Promise<Amity.LinkPreviewMetadata>;
14
+ //# sourceMappingURL=getLinkPreviewMetadata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getLinkPreviewMetadata.d.ts","sourceRoot":"","sources":["../../../src/client/api/getLinkPreviewMetadata.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;KAWK;AAEL,eAAO,MAAM,sBAAsB,QAAe,MAAM,KAAG,QAAQ,MAAM,mBAAmB,CAQ3F,CAAC"}
@@ -12,6 +12,7 @@ export * from './markerSync';
12
12
  export * from './enableUnreadCount';
13
13
  export * from './setUploadedFileAccessType';
14
14
  export * from './fetchLinkPreview';
15
+ export * from './getLinkPreviewMetadata';
15
16
  export * from './getSocialSettings';
16
17
  export * from './getShareableLinkConfiguration';
17
18
  export * from './loginAsVisitor';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,cAAc,cAAc,CAAC;AAE7B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,eAAe,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAE7B,cAAc,qBAAqB,CAAC;AAEpC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,oBAAoB,CAAC;AAEnC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,iCAAiC,CAAC;AAEhD,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAE7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/api/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,cAAc,cAAc,CAAC;AAE7B,cAAc,gBAAgB,CAAC;AAE/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAEhC,cAAc,eAAe,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAElC,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAE7B,cAAc,qBAAqB,CAAC;AAEpC,cAAc,6BAA6B,CAAC;AAE5C,cAAc,oBAAoB,CAAC;AAEnC,cAAc,0BAA0B,CAAC;AAEzC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,iCAAiC,CAAC;AAEhD,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAE7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setBotClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setBotClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,WAAkB,WAAW,kBAAkB,CAAC,CAAC,CAAC,CAAC;;;;EAqBhF,CAAC"}
1
+ {"version":3,"file":"setBotClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setBotClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAIjD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,WAAkB,WAAW,kBAAkB,CAAC,CAAC,CAAC,CAAC;;;;EA4BhF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,WAAkB,WAAW,eAAe,CAAC,CAAC,CAAC,CAAC;;;;EA6B1E,CAAC"}
1
+ {"version":3,"file":"setClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAI3C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,WAAkB,WAAW,eAAe,CAAC,CAAC,CAAC,CAAC;;;;EAoC1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setCurrentUser.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setCurrentUser.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;UAInB,MAAM,OAAO;cACT,MAAM,QAAQ;UAKzB,CAAC"}
1
+ {"version":3,"file":"setCurrentUser.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setCurrentUser.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,cAAc;UAInB,MAAM,OAAO;cACT,MAAM,QAAQ;UAIzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"setVisitorClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setVisitorClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,WAAkB,WAAW,sBAAsB,CAAC,CAAC,CAAC,CAAC;;;;EAqBxF,CAAC"}
1
+ {"version":3,"file":"setVisitorClientToken.d.ts","sourceRoot":"","sources":["../../../src/client/utils/setVisitorClientToken.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAIzD;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,WAAkB,WAAW,sBAAsB,CAAC,CAAC,CAAC,CAAC;;;;EA8BxF,CAAC"}
@@ -13,12 +13,12 @@ export declare const proxyMqttEvents: (mqttClient: Amity.Client['mqtt'], emitter
13
13
  * @category Transport
14
14
  * @hidden
15
15
  */
16
- export declare const createEventSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: Amity.Listener<Amity.Events[T]>) => Amity.Unsubscriber;
17
- export declare const createMqttMessageSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: (params: Record<string, unknown>) => void) => Amity.Unsubscriber;
16
+ export declare const createEventSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: Amity.Listener<Amity.Events[T]>) => Amity.Unsubscriber;
17
+ export declare const createMqttMessageSubscriber: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(client: Amity.Client, namespace: string, event: T, fn: (params: Record<string, unknown>) => void) => Amity.Unsubscriber;
18
18
  /**
19
19
  * Wrapper around dispatch event
20
20
  *
21
21
  * @hidden
22
22
  */
23
- export declare const fireEvent: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.event.reminder" | "local.event.invitation">(event: T, payload: Amity.Events[T]) => void;
23
+ export declare const fireEvent: <T extends "message" | "error" | "disconnected" | "connect_error" | "reconnect_error" | "reconnect_failed" | "connect" | "disconnect" | "close" | "end" | "reconnect" | "video-streaming.didStart" | "video-streaming.didRecord" | "video-streaming.didStop" | "video-streaming.didFlag" | "video-streaming.didTerminate" | "video-streaming.viewerDidBan" | "video-streaming.viewerDidUnban" | "user.didGlobalBan" | "liveReaction.created" | "channel.created" | "channel.updated" | "channel.deleted" | "channel.setMuted" | "channel.setMutedUsers" | "channel.joined" | "channel.left" | "channel.membersAdded" | "channel.membersRemoved" | "channel.banned" | "channel.unbanned" | "message-feed.created" | "message-feed.updated" | "message-feed.deleted" | "message.created" | "message.updated" | "message.deleted" | "message.flagged" | "message.unflagged" | "message.flagCleared" | "message.reactionAdded" | "message.reactionRemoved" | "community.created" | "community.updated" | "community.deleted" | "community.joined" | "community.left" | "community.userAdded" | "community.userRemoved" | "community.userChanged" | "community.userBanned" | "community.userUnbanned" | "community.roleAdded" | "community.roleRemoved" | "post.created" | "post.updated" | "post.deleted" | "post.approved" | "post.declined" | "post.flagged" | "post.unflagged" | "post.addReaction" | "post.removeReaction" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.flagged" | "comment.unflagged" | "comment.addReaction" | "comment.removeReaction" | "user.fetched" | "user.updated" | "user.deleted" | "user.flagged" | "user.unflagged" | "user.flagCleared" | "follow.created" | "follow.requested" | "follow.accepted" | "follow.unfollowed" | "follow.requestCanceled" | "follow.requestDeclined" | "follow.followerDeleted" | "marker.marked-message" | "marker.feed-updated" | "marker.user-sync" | "marker.userFeed-updated" | "story.created" | "story.updated" | "story.deleted" | "story.flagged" | "story.unflagged" | "story.reactionAdded" | "story.reactionRemoved" | "room.startBroadcasting" | "room.waitingReconnect" | "room.endBroadcasting" | "room.recordedAvailable" | "room.participantInviting" | "room.participantJoined" | "room.participantLeft" | "room.participantRemoved" | "room.didCohostInvite" | "room.didCohostInviteAccept" | "room.didCohostInviteReject" | "room.didCohostInviteCancel" | "room.terminated" | "event.created" | "event.updated" | "event.deleted" | "event.started" | "event.ended" | "event.cancelled" | "event.rsvp.created" | "event.rsvp.updated" | "event.rsvp.changed" | "event.reminder" | "event.invitation" | "local.channel.updated" | "local.channel.fetched" | "local.channel-moderator.role-added" | "local.channel-moderator.role-removed" | "local.message.created" | "local.message.updated" | "local.message.deleted" | "local.message.fetched" | "local.message-feed.updated" | "local.message-feed.fetched" | "local.message-feed.deleted" | "poll.updated" | "poll.deleted" | "local.feedMarker.fetched" | "local.channelMarker.fetched" | "local.channelMarker.updated" | "local.subChannelMarker.fetched" | "local.subChannelMarker.updated" | "local.messageMarker.fetched" | "local.userMarker.fetched" | "local.userMessageFeedMarker.fetched" | "local.channel.resolved" | "local.userMessageFeedMarkers.resolved" | "local.subChannelUnread.updated" | "local.channelUnreadInfo.updated" | "local.channelUnread.updated" | "local.story.created" | "local.story.updated" | "local.story.deleted" | "local.story.flagged" | "local.story.unflagged" | "local.story.reactionAdded" | "local.story.reactionRemoved" | "local.story.error" | "local.story.reload" | "local.notificationTraySeen.updated" | "local.notificationTrayItem.updated" | "local.invitation.created" | "local.invitation.updated" | "local.invitation.canceled" | "v4.local.community.joined" | "local.joinRequest.created" | "local.joinRequest.updated" | "local.joinRequest.deleted" | "local.liveReaction.created" | "local.room.created" | "local.room.updated" | "local.room.deleted" | "local.room.stopped" | "local.room.participantRemoved" | "local.room.left" | "sessionStateChange" | "tokenExpired" | "tokenTerminated" | "unreadCountEnabled" | "local.post.updated" | "local.post.deleted" | "local.post.addReaction" | "local.post.removeReaction" | "local.comment.created" | "local.comment.deleted" | "local.comment.addReaction" | "local.comment.removeReaction" | "local.community.joined" | "local.community.left" | "local.community.roleAdded" | "local.community.roleRemoved" | "local.community.userAdded" | "local.community.userRemoved" | "local.follow.created" | "local.follow.requested" | "local.follow.accepted" | "local.follow.unfollowed" | "local.follow.requestDeclined" | "local.event.created" | "local.event.updated" | "local.event.deleted" | "local.event.started" | "local.event.ended" | "local.event.cancelled" | "local.event.rsvp.changed" | "local.rsvp.created" | "local.rsvp.updated" | "local.event.reminder" | "local.event.invitation">(event: T, payload: Amity.Events[T]) => void;
24
24
  //# sourceMappingURL=events.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/core/events.ts"],"names":[],"mappings":"AAwCA,cAAc;AACd,eAAO,MAAM,kBAAkB,4CAE9B,CAAC;AAEF,eAAO,MAAM,eAAe,eACd,MAAM,MAAM,CAAC,MAAM,CAAC,WACvB,MAAM,MAAM,CAAC,SAAS,CAAC,SAajC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,kxJACxB,MAAM,MAAM,aACT,MAAM,oDAGhB,MAAM,YAsBR,CAAC;AAEF,eAAO,MAAM,2BAA2B,kxJAC9B,MAAM,MAAM,aACT,MAAM,yBAEJ,OAAO,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,KAC5C,MAAM,YAQR,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,qzJAKrB,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/core/events.ts"],"names":[],"mappings":"AAwCA,cAAc;AACd,eAAO,MAAM,kBAAkB,4CAE9B,CAAC;AAEF,eAAO,MAAM,eAAe,eACd,MAAM,MAAM,CAAC,MAAM,CAAC,WACvB,MAAM,MAAM,CAAC,SAAS,CAAC,SAajC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,k4JACxB,MAAM,MAAM,aACT,MAAM,oDAGhB,MAAM,YAsBR,CAAC;AAEF,eAAO,MAAM,2BAA2B,k4JAC9B,MAAM,MAAM,aACT,MAAM,yBAEJ,OAAO,MAAM,EAAE,OAAO,CAAC,KAAK,IAAI,KAC5C,MAAM,YAQR,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,SAAS,q6JAKrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"idResolvers.d.ts","sourceRoot":"","sources":["../../../src/core/model/idResolvers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,aAAK,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;AAqE5E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,wDAAsE,CAAC"}
1
+ {"version":3,"file":"idResolvers.d.ts","sourceRoot":"","sources":["../../../src/core/model/idResolvers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,aAAK,QAAQ,CAAC,CAAC,SAAS,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC;AAyE5E;;;;;GAKG;AACH,eAAO,MAAM,WAAW,wDAAsE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAEhC;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CA2DtD,CAAC;AAEF,aAAa;AACb,eAAO,MAAM,UAAU,2DAA0D,OAOhF,CAAC;AAEF,aAAa;AACb,wBAAgB,aAAa,CAAC,IAAI,GAAE,MAAM,GAAG,SAAoC,GAAG,MAAM,CAEzF;AAED,aAAa;AACb,wBAAgB,WAAW,CAAC,IAAI,GAAE,MAAM,GAAG,SAAoC,GAAG,MAAM,CAEvF"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAEhC;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,MAAM,CA4DtD,CAAC;AAEF,aAAa;AACb,eAAO,MAAM,UAAU,2DAA0D,OAOhF,CAAC;AAEF,aAAa;AACb,wBAAgB,aAAa,CAAC,IAAI,GAAE,MAAM,GAAG,SAAoC,GAAG,MAAM,CAEzF;AAED,aAAa;AACb,wBAAgB,WAAW,CAAC,IAAI,GAAE,MAAM,GAAG,SAAoC,GAAG,MAAM,CAEvF"}
@@ -1,6 +1,8 @@
1
1
  export declare enum EventActionsEnum {
2
2
  OnEventCreated = "onEventCreated",
3
3
  OnEventUpdated = "onEventUpdated",
4
- OnEventDeleted = "onEventDeleted"
4
+ OnEventDeleted = "onEventDeleted",
5
+ OnRSVPCreated = "onRSVPCreated",
6
+ OnRSVPUpdated = "onRSVPUpdated"
5
7
  }
6
8
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;CAClC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC"}
@@ -4,4 +4,8 @@ export * from './onEventDeleted';
4
4
  export * from './onLocalEventCreated';
5
5
  export * from './onLocalEventUpdated';
6
6
  export * from './onLocalEventDeleted';
7
+ export * from './onRSVPCreated';
8
+ export * from './onRSVPUpdated';
9
+ export * from './onLocalRSVPCreated';
10
+ export * from './onLocalRSVPUpdated';
7
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC"}
@@ -6,7 +6,7 @@
6
6
  * })
7
7
  * ```
8
8
  *
9
- * Fired when a {@link Amity.Event} has been created
9
+ * Fired when an RSVP response for a {@link Amity.Event} has been created
10
10
  *
11
11
  * @param callback The function to call when the event was fired
12
12
  * @returns an {@link Amity.Unsubscriber} function to stop listening
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { EventRepository } from '@amityco/ts-sdk'
4
+ * const dispose = EventRepository.onLocalRSVPCreated(event => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when an RSVP response for a {@link Amity.EventResponse} has been created
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Event Events
15
+ */
16
+ export declare const onLocalRSVPCreated: (callback: Amity.Listener<Amity.InternalEventResponse>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onLocalRSVPCreated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onLocalRSVPCreated.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/onLocalRSVPCreated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,qBAAqB,CAAC,uBACzB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { EventRepository } from '@amityco/ts-sdk'
4
+ * const dispose = EventRepository.onLocalEventUpdated(event => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when an RSVP response for a {@link Amity.EventResponse} has been updated
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Event Events
15
+ */
16
+ export declare const onLocalRSVPUpdated: (callback: Amity.Listener<Amity.InternalEventResponse>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onLocalRSVPUpdated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onLocalRSVPUpdated.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/onLocalRSVPUpdated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB,aAAc,MAAM,QAAQ,CAAC,MAAM,qBAAqB,CAAC,uBACzB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { EventRepository } from '@amityco/ts-sdk'
4
+ * const dispose = EventRepository.onRSVPCreated(event => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when a {@link Amity.Event} has been created
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Event Events
15
+ */
16
+ export declare const onRSVPCreated: (callback: Amity.Listener<Amity.InternalEventResponse>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onRSVPCreated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onRSVPCreated.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/onRSVPCreated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,aAAc,MAAM,QAAQ,CAAC,MAAM,qBAAqB,CAAC,uBACpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { EventRepository } from '@amityco/ts-sdk'
4
+ * const dispose = EventRepository.onRSVPUpdated(event => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when a {@link Amity.InternalEventResponse} has been updated
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Event Events
15
+ */
16
+ export declare const onRSVPUpdated: (callback: Amity.Listener<Amity.InternalEventResponse>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onRSVPUpdated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onRSVPUpdated.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/events/onRSVPUpdated.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,aAAa,aAAc,MAAM,QAAQ,CAAC,MAAM,qBAAqB,CAAC,uBACpB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { event } from '@amityco/ts-sdk'
4
+ * const response = await event.createRSVP(eventId, status)
5
+ * ```
6
+ *
7
+ * Creates an {@link Amity.EventResponse} for the active user for a specific event.
8
+ *
9
+ * @param eventId The ID of the {@link Amity.EventResponse} to create an RSVP for
10
+ * @param status The RSVP status to set for the event
11
+ * @returns The {@link Amity.EventResponse} with updated RSVP information
12
+ *
13
+ * @category Event API
14
+ * @async
15
+ */
16
+ export declare const createRSVP: (eventId: string, status: Amity.EventResponseStatus) => Promise<Amity.Cached<Amity.EventResponse>>;
17
+ //# sourceMappingURL=createRSVP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRSVP.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/createRSVP.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,YACZ,MAAM,UACP,MAAM,mBAAmB,KAChC,QAAQ,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,CAqB3C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getEvent.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/getEvent.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ;cACV,MAAM,aAAa,CAAC,SAAS,CAAC,GACtC,QAAQ,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,CAAC;IAmB7C;;;;;;;;;;;;OAYG;qBAEQ,WAAW,CAAC,SAAS,CAAC,GAC9B,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,GAAG,SAAS;CAlB/C,CAAC"}
1
+ {"version":3,"file":"getEvent.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/getEvent.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ;cACV,MAAM,aAAa,CAAC,SAAS,CAAC,GACtC,QAAQ,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,CAAC;IAyC7C;;;;;;;;;;;;OAYG;qBAEQ,WAAW,CAAC,SAAS,CAAC,GAC9B,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,GAAG,SAAS;CAlB/C,CAAC"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * ```js
3
+ * import { event } from '@amityco/ts-sdk'
4
+ * const myRSVP = await event.getMyRSVP()
5
+ * ```
6
+ *
7
+ * Joins a {@link Amity.EventResponse} object
8
+ *
9
+ * @param eventId the {@link Amity.EventResponse} to get RSVP for
10
+ * @returns A success boolean if the {@link Amity.EventResponse} RSVP was retrieved
11
+ *
12
+ * @category Event API
13
+ * @async
14
+ */
15
+ export declare const getMyRSVP: {
16
+ (eventId: Amity.InternalEvent['eventId']): Promise<Amity.Cached<Amity.EventResponse | undefined>>;
17
+ /**
18
+ * ```js
19
+ * import { event } from '@amityco/ts-sdk'
20
+ * const event = event.getMyRSVP.locally(eventId)
21
+ * ```
22
+ *
23
+ * Fetches a {@link Amity.EventResponse} object in cache
24
+ *
25
+ * @param eventId the ID of the {@link Amity.EventResponse} to fetch
26
+ * @returns the associated {@link Amity.EventResponse} object
27
+ *
28
+ * @category Event API
29
+ */
30
+ locally(eventId: Amity.InternalEvent['eventId']): Amity.Cached<Amity.EventResponse> | undefined;
31
+ };
32
+ //# sourceMappingURL=getMyRSVP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMyRSVP.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/getMyRSVP.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,SAAS;cACX,MAAM,aAAa,CAAC,SAAS,CAAC,GACtC,QAAQ,MAAM,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC,CAAC;IAqBzD;;;;;;;;;;;;OAYG;qBAEQ,MAAM,aAAa,CAAC,SAAS,CAAC,GACtC,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,GAAG,SAAS;CAlB/C,CAAC"}
@@ -1,2 +1,5 @@
1
1
  export * from './getEvent';
2
+ export * from './createRSVP';
3
+ export * from './updateRSVP';
4
+ export * from './getMyRSVP';
2
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { event } from '@amityco/ts-sdk'
4
+ * const response = await event.updateRSVP(eventId, status)
5
+ * ```
6
+ *
7
+ * Updates an {@link Amity.EventResponse}
8
+ *
9
+ * @param eventId The ID of the {@link Amity.EventResponse} to edit
10
+ * @param bundle The data necessary to update an existing {@link Amity.EventResponse}
11
+ * @returns the updated {@link Amity.EventResponse}
12
+ *
13
+ * @category Event API
14
+ * @async
15
+ */
16
+ export declare const updateRSVP: (eventId: string, status: Amity.EventResponseStatus) => Promise<Amity.Cached<Amity.EventResponse>>;
17
+ //# sourceMappingURL=updateRSVP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateRSVP.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/internalApi/updateRSVP.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU,YACZ,MAAM,UACP,MAAM,mBAAmB,KAChC,QAAQ,MAAM,MAAM,CAAC,MAAM,aAAa,CAAC,CAqB3C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { MyEventPaginationController } from './PaginationController';
2
+ import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
3
+ export declare class MyEventLiveCollectionController extends LiveCollectionController<'event', Amity.MyEventLiveCollection, Amity.Event, MyEventPaginationController> {
4
+ private queryStreamController;
5
+ private query;
6
+ constructor(query: Amity.MyEventLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Event>);
7
+ protected setup(): void;
8
+ protected persistModel(queryPayload: Amity.EventPayload & Amity.Pagination): Promise<void>;
9
+ protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'event'>): void;
10
+ startSubscription(): Amity.Unsubscriber[];
11
+ notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void;
12
+ }
13
+ //# sourceMappingURL=LiveCollectionController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getMyEvents/LiveCollectionController.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAU1F,qBAAa,+BAAgC,SAAQ,wBAAwB,CAC3E,OAAO,EACP,KAAK,CAAC,qBAAqB,EAC3B,KAAK,CAAC,KAAK,EACX,2BAA2B,CAC5B;IACC,OAAO,CAAC,qBAAqB,CAA+B;IAE5D,OAAO,CAAC,KAAK,CAA8B;gBAGzC,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,KAAK,CAAC;IAoBrD,SAAS,CAAC,KAAK;cAKC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU;IAIhF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,OAAO,CAAC;IAIxD,iBAAiB;IAWjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;CAqB1E"}
@@ -0,0 +1,5 @@
1
+ import { PaginationController } from '~/core/liveCollection/PaginationController';
2
+ export declare class MyEventPaginationController extends PaginationController<'event', Amity.MyEventLiveCollection> {
3
+ getRequest(queryParams: Amity.MyEventLiveCollection, token: string | undefined): Promise<Amity.EventPayload & Amity.Pagination>;
4
+ }
5
+ //# sourceMappingURL=PaginationController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getMyEvents/PaginationController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,qBAAa,2BAA4B,SAAQ,oBAAoB,CACnE,OAAO,EACP,KAAK,CAAC,qBAAqB,CAC5B;IACO,UAAU,CAAC,WAAW,EAAE,KAAK,CAAC,qBAAqB,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS;CAWrF"}
@@ -0,0 +1,15 @@
1
+ import { EventActionsEnum } from '~/eventRepository/events/enums';
2
+ import { QueryStreamController } from '~/core/liveCollection/QueryStreamController';
3
+ export declare class MyEventQueryStreamController extends QueryStreamController<Amity.EventPayload, Amity.MyEventLiveCollection> {
4
+ private notifyChange;
5
+ private preparePayload;
6
+ constructor(query: Amity.MyEventLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.EventPayload) => Amity.ProcessedEventPayload);
7
+ saveToMainDB(response: Amity.EventPayload): Promise<void>;
8
+ appendToQueryStream(response: Amity.EventPayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
9
+ reactor(action: EventActionsEnum): (event: Amity.InternalEvent) => void;
10
+ subscribeRTE(createSubscriber: {
11
+ fn: (reactor: (event: Amity.InternalEvent) => void) => Amity.Unsubscriber;
12
+ action: EventActionsEnum;
13
+ }[]): Amity.Unsubscriber[];
14
+ }
15
+ //# sourceMappingURL=QueryStreamController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryStreamController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getMyEvents/QueryStreamController.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEpF,qBAAa,4BAA6B,SAAQ,qBAAqB,CACrE,KAAK,CAAC,YAAY,EAClB,KAAK,CAAC,qBAAqB,CAC5B;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAAgE;gBAGpF,KAAK,EAAE,KAAK,CAAC,qBAAqB,EAClC,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,YAAY,KAAK,KAAK,CAAC,qBAAqB;IAOzE,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,YAAY;IAS/C,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,YAAY,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EACxD,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IAgBjB,OAAO,CAAC,MAAM,EAAE,gBAAgB,WACf,MAAM,aAAa;IAsBpC,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,KAAK,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;QAC1E,MAAM,EAAE,gBAAgB,CAAC;KAC1B,EAAE;CAIN"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Get my events
3
+ *
4
+ * @param params the query parameters
5
+ * @param callback the callback to be called when the events are updated
6
+ * @returns events
7
+ *
8
+ * @category Event Live Collection
9
+ *
10
+ */
11
+ export declare const getMyEvents: (params: Amity.MyEventLiveCollection, callback: Amity.LiveCollectionCallback<Amity.Event>, config?: Amity.LiveCollectionConfig) => () => void;
12
+ //# sourceMappingURL=getMyEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMyEvents.d.ts","sourceRoot":"","sources":["../../../src/eventRepository/observers/getMyEvents.ts"],"names":[],"mappings":"AAKA;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,WACd,MAAM,qBAAqB,YACzB,MAAM,sBAAsB,CAAC,WAAW,CAAC,WAC1C,MAAM,oBAAoB,eAqBpC,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { RSVPPaginationController } from './PaginationController';
2
+ import { LiveCollectionController } from '~/core/liveCollection/LiveCollectionController';
3
+ export declare class RSVPLiveCollectionController extends LiveCollectionController<'eventResponse', Amity.RSVPLiveCollection, Amity.EventResponse, RSVPPaginationController> {
4
+ private queryStreamController;
5
+ private query;
6
+ constructor(query: Amity.RSVPLiveCollection, callback: Amity.LiveCollectionCallback<Amity.EventResponse>);
7
+ protected setup(): void;
8
+ protected persistModel(queryPayload: Amity.EventResponsePayload & Amity.Pagination): Promise<void>;
9
+ protected persistQueryStream({ response, direction, refresh, }: Amity.LiveCollectionPersistQueryStreamParams<'eventResponse'>): void;
10
+ startSubscription(): Amity.Unsubscriber[];
11
+ notifyChange({ origin, loading, error }: Amity.LiveCollectionNotifyParams): void;
12
+ }
13
+ //# sourceMappingURL=LiveCollectionController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getRSVPs/LiveCollectionController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAElE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAS1F,qBAAa,4BAA6B,SAAQ,wBAAwB,CACxE,eAAe,EACf,KAAK,CAAC,kBAAkB,EACxB,KAAK,CAAC,aAAa,EACnB,wBAAwB,CACzB;IACC,OAAO,CAAC,qBAAqB,CAA4B;IAEzD,OAAO,CAAC,KAAK,CAA2B;gBAGtC,KAAK,EAAE,KAAK,CAAC,kBAAkB,EAC/B,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,aAAa,CAAC;IAoB7D,SAAS,CAAC,KAAK;cAKC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,oBAAoB,GAAG,KAAK,CAAC,UAAU;IAIxF,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,eAAe,CAAC;IAIhE,iBAAiB;IASjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;CAmB1E"}
@@ -0,0 +1,5 @@
1
+ import { PaginationController } from '~/core/liveCollection/PaginationController';
2
+ export declare class RSVPPaginationController extends PaginationController<'eventResponse', Amity.RSVPLiveCollection> {
3
+ getRequest(queryParams: Amity.RSVPLiveCollection, token: string | undefined): Promise<Amity.EventResponsePayload & Amity.Pagination>;
4
+ }
5
+ //# sourceMappingURL=PaginationController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaginationController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getRSVPs/PaginationController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAElF,qBAAa,wBAAyB,SAAQ,oBAAoB,CAChE,eAAe,EACf,KAAK,CAAC,kBAAkB,CACzB;IACO,UAAU,CAAC,WAAW,EAAE,KAAK,CAAC,kBAAkB,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS;CAWlF"}
@@ -0,0 +1,15 @@
1
+ import { EventActionsEnum } from '~/eventRepository/events/enums';
2
+ import { QueryStreamController } from '~/core/liveCollection/QueryStreamController';
3
+ export declare class RSVPQueryStreamController extends QueryStreamController<Amity.EventResponsePayload, Amity.RSVPLiveCollection> {
4
+ private notifyChange;
5
+ private preparePayload;
6
+ constructor(query: Amity.RSVPLiveCollection, cacheKey: string[], notifyChange: (params: Amity.LiveCollectionNotifyParams) => void, preparePayload: (response: Amity.EventResponsePayload) => Amity.ProcessedEventResponsePayload);
7
+ saveToMainDB(response: Amity.EventResponsePayload): Promise<void>;
8
+ appendToQueryStream(response: Amity.EventResponsePayload & Partial<Amity.Pagination>, direction: Amity.LiveCollectionPageDirection, refresh?: boolean): void;
9
+ reactor(action: EventActionsEnum): (event: Amity.InternalEventResponse) => void;
10
+ subscribeRTE(createSubscriber: {
11
+ fn: (reactor: (event: Amity.InternalEventResponse) => void) => Amity.Unsubscriber;
12
+ action: EventActionsEnum;
13
+ }[]): Amity.Unsubscriber[];
14
+ }
15
+ //# sourceMappingURL=QueryStreamController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QueryStreamController.d.ts","sourceRoot":"","sources":["../../../../src/eventRepository/observers/getRSVPs/QueryStreamController.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEpF,qBAAa,yBAA0B,SAAQ,qBAAqB,CAClE,KAAK,CAAC,oBAAoB,EAC1B,KAAK,CAAC,kBAAkB,CACzB;IACC,OAAO,CAAC,YAAY,CAAqD;IAEzE,OAAO,CAAC,cAAc,CAEmB;gBAGvC,KAAK,EAAE,KAAK,CAAC,kBAAkB,EAC/B,QAAQ,EAAE,MAAM,EAAE,EAClB,YAAY,EAAE,CAAC,MAAM,EAAE,KAAK,CAAC,0BAA0B,KAAK,IAAI,EAChE,cAAc,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,oBAAoB,KAAK,KAAK,CAAC,6BAA6B;IAOzF,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC,oBAAoB;IASvD,mBAAmB,CACjB,QAAQ,EAAE,KAAK,CAAC,oBAAoB,GAAG,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,EAChE,SAAS,EAAE,KAAK,CAAC,2BAA2B,EAC5C,OAAO,UAAQ;IAoBjB,OAAO,CAAC,MAAM,EAAE,gBAAgB,WACf,MAAM,qBAAqB;IAkB5C,YAAY,CACV,gBAAgB,EAAE;QAChB,EAAE,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,qBAAqB,KAAK,IAAI,KAAK,KAAK,CAAC,YAAY,CAAC;QAClF,MAAM,EAAE,gBAAgB,CAAC;KAC1B,EAAE;CAIN"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Get events
3
+ *
4
+ * @param params the query parameters
5
+ * @param callback the callback to be called when the events are updated
6
+ * @returns events
7
+ *
8
+ * @category RSVP Live Collection
9
+ *
10
+ */
11
+ export declare const getRSVPs: (params: Amity.RSVPLiveCollection, callback: Amity.LiveCollectionCallback<Amity.EventResponse>, config?: Amity.LiveCollectionConfig) => () => void;
12
+ //# sourceMappingURL=getRSVPs.d.ts.map