@proteos/sdk 0.92.0 → 0.93.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.
package/dist/index.cjs CHANGED
@@ -2170,6 +2170,12 @@ var ContactServiceImpl = class {
2170
2170
  request
2171
2171
  );
2172
2172
  }
2173
+ listPermissionEvents(contactId) {
2174
+ return this.client.request(
2175
+ "GET",
2176
+ `${CONVERSATION_BASE_PATH}/contacts/${encodeURIComponent(contactId)}/permission-events`
2177
+ );
2178
+ }
2173
2179
  recordPermissionEvent(contactId, request) {
2174
2180
  return this.client.request(
2175
2181
  "POST",
@@ -2177,6 +2183,12 @@ var ContactServiceImpl = class {
2177
2183
  request
2178
2184
  );
2179
2185
  }
2186
+ resendConsentRequest(requestId) {
2187
+ return this.client.request(
2188
+ "POST",
2189
+ `${CONVERSATION_BASE_PATH}/consent-requests/${encodeURIComponent(requestId)}/resend`
2190
+ );
2191
+ }
2180
2192
  block(contactId, request = {}) {
2181
2193
  return this.client.request(
2182
2194
  "POST",