@proteos/sdk 0.39.0 → 0.40.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
@@ -1382,10 +1382,11 @@ var ConnectionServiceImpl = class {
1382
1382
  request
1383
1383
  );
1384
1384
  }
1385
- async delete(id) {
1386
- await this.client.request(
1385
+ async delete(id, query = {}) {
1386
+ await this.client.requestWithQuery(
1387
1387
  "DELETE",
1388
- `${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}`
1388
+ `${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}`,
1389
+ query
1389
1390
  );
1390
1391
  }
1391
1392
  install(id) {
@@ -1537,6 +1538,12 @@ var ConversationServiceImpl = class {
1537
1538
  `${CONVERSATION_BASE_PATH}/conversations/${encodeURIComponent(id)}/end`
1538
1539
  );
1539
1540
  }
1541
+ delete(id) {
1542
+ return this.client.request(
1543
+ "DELETE",
1544
+ `${CONVERSATION_BASE_PATH}/conversations/${encodeURIComponent(id)}`
1545
+ );
1546
+ }
1540
1547
  markRead(id) {
1541
1548
  return this.client.request(
1542
1549
  "POST",