@proteos/sdk 0.28.0 → 0.29.1

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
@@ -1210,6 +1210,8 @@ var ConversationClient = class {
1210
1210
  contacts;
1211
1211
  messages;
1212
1212
  agentListeners;
1213
+ /** Ingest-time filter rules (drop-with-audit) + their event trail. */
1214
+ conversationFilters;
1213
1215
  /** Per-org glossary: custom vocabulary that boosts transcription accuracy. */
1214
1216
  glossaryTerms;
1215
1217
  transcriptions;
@@ -1223,6 +1225,7 @@ var ConversationClient = class {
1223
1225
  this.contacts = new ContactServiceImpl(client);
1224
1226
  this.messages = new MessageServiceImpl(client);
1225
1227
  this.agentListeners = new AgentListenerServiceImpl(client);
1228
+ this.conversationFilters = new ConversationFilterServiceImpl(client);
1226
1229
  this.glossaryTerms = new GlossaryTermServiceImpl(client);
1227
1230
  this.transcriptions = new TranscriptionServiceImpl(client);
1228
1231
  this.meetings = new MeetingServiceImpl(client);
@@ -1451,6 +1454,34 @@ var AgentListenerServiceImpl = class {
1451
1454
  await this.client.request("DELETE", `${CONVERSATION_BASE_PATH}/agent-listeners/${encodeURIComponent(id)}`);
1452
1455
  }
1453
1456
  };
1457
+ var ConversationFilterServiceImpl = class {
1458
+ constructor(client) {
1459
+ this.client = client;
1460
+ }
1461
+ client;
1462
+ list(query = {}) {
1463
+ return this.client.requestWithQuery("GET", `${CONVERSATION_BASE_PATH}/conversation-filters`, query);
1464
+ }
1465
+ get(id) {
1466
+ return this.client.request("GET", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`);
1467
+ }
1468
+ create(request) {
1469
+ return this.client.request("POST", `${CONVERSATION_BASE_PATH}/conversation-filters`, request);
1470
+ }
1471
+ update(id, request) {
1472
+ return this.client.request("PATCH", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`, request);
1473
+ }
1474
+ async delete(id) {
1475
+ await this.client.request("DELETE", `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}`);
1476
+ }
1477
+ listEvents(id, query = {}) {
1478
+ return this.client.requestWithQuery(
1479
+ "GET",
1480
+ `${CONVERSATION_BASE_PATH}/conversation-filters/${encodeURIComponent(id)}/events`,
1481
+ query
1482
+ );
1483
+ }
1484
+ };
1454
1485
  var GlossaryTermServiceImpl = class {
1455
1486
  constructor(client) {
1456
1487
  this.client = client;