@talqing/sdk 0.13.0 → 0.13.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.
@@ -1742,6 +1742,25 @@ class Conversations extends HeyApiClient {
1742
1742
  ...params
1743
1743
  });
1744
1744
  }
1745
+ /**
1746
+ * Delete Conversation
1747
+ *
1748
+ * Erase a conversation: every session's content, its items, and the contact once it has no other conversations. Cannot be undone.
1749
+ */
1750
+ delete(parameters, options) {
1751
+ const params = (0, index_js_1.buildClientParams)([parameters], [{ args: [{ in: 'path', key: 'conversation_id' }] }]);
1752
+ return (options?.client ?? this.client).delete({
1753
+ responseStyle: 'data',
1754
+ security: [{ scheme: 'bearer', type: 'http' }, {
1755
+ in: 'cookie',
1756
+ name: 'talqing_sid',
1757
+ type: 'apiKey'
1758
+ }],
1759
+ url: '/v1/conversations/{conversation_id}',
1760
+ ...options,
1761
+ ...params
1762
+ });
1763
+ }
1745
1764
  /**
1746
1765
  * Get Conversation
1747
1766
  *