@memori.ai/memori-api-client 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1008,6 +1008,18 @@ var invitation = (function (apiUrl) {
1008
1008
  });
1009
1009
  },
1010
1010
 
1011
+ /**
1012
+ * Gets a list of invitations sent for the specified Memori object
1013
+ * @param {string} authToken - The login token
1014
+ * @param {string} memoriId - The ID of the Memori object
1015
+ * @returns The list of Invitation objects.
1016
+ */
1017
+ getMemoriInvitations: function getMemoriInvitations(authToken, memoriId) {
1018
+ return apiFetcher("/MemoriInvitations/" + authToken + "/" + memoriId, {
1019
+ apiUrl: apiUrl
1020
+ });
1021
+ },
1022
+
1011
1023
  /**
1012
1024
  * Gets a list of invitations received by the currently logged in User.
1013
1025
  * @param {string} authToken - The login token