@memori.ai/memori-api-client 0.4.5 → 0.5.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.
@@ -134,5 +134,12 @@ declare const _default: (apiUrl: string) => {
134
134
  ownerTenantName: string;
135
135
  ownerUserName: string;
136
136
  }) => Promise<ResponseSpec>;
137
+ /**
138
+ * Signals that the content of a Memori object has been updated.
139
+ * Consequently, a run of the Content Quality Job will be scheduled as soon as possible.
140
+ * @param {string} authToken - The login token
141
+ * @param {string} memoriID - The ID of the Memori object
142
+ */
143
+ memoriContentUpdated: (authToken: string, memoriID: string) => Promise<ResponseSpec>;
137
144
  };
138
145
  export default _default;
@@ -608,6 +608,19 @@ var memori = (function (apiUrl) {
608
608
  body: memori,
609
609
  method: 'POST'
610
610
  });
611
+ },
612
+
613
+ /**
614
+ * Signals that the content of a Memori object has been updated.
615
+ * Consequently, a run of the Content Quality Job will be scheduled as soon as possible.
616
+ * @param {string} authToken - The login token
617
+ * @param {string} memoriID - The ID of the Memori object
618
+ */
619
+ memoriContentUpdated: function memoriContentUpdated(authToken, memoriID) {
620
+ return apiFetcher("/MemoriContentUpdated/" + authToken + "/" + memoriID, {
621
+ apiUrl: apiUrl,
622
+ method: 'POST'
623
+ });
611
624
  }
612
625
  };
613
626
  });