vesant-sdk 1.8.0-dev.394d6eb → 1.8.0-dev.3cda5c8

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.
@@ -1316,9 +1316,8 @@ declare class KycClient extends BaseClient {
1316
1316
  * console.log(`Found ${alerts.total} alerts`);
1317
1317
  * ```
1318
1318
  *
1319
- * @remarks Console session only. This endpoint accepts a Vesant console
1320
- * (dashboard login) token, not a tenant API key; called with an API key it
1321
- * fails with `AuthenticationError` or a permission error.
1319
+ * @remarks Works with a tenant API key and returns the alerts raised for
1320
+ * your tenant's customers.
1322
1321
  */
1323
1322
  listAlerts(filters?: KycAlertFilters, pagination?: PaginationParams): Promise<KycAlertListResponse>;
1324
1323
  /**
@@ -1316,9 +1316,8 @@ declare class KycClient extends BaseClient {
1316
1316
  * console.log(`Found ${alerts.total} alerts`);
1317
1317
  * ```
1318
1318
  *
1319
- * @remarks Console session only. This endpoint accepts a Vesant console
1320
- * (dashboard login) token, not a tenant API key; called with an API key it
1321
- * fails with `AuthenticationError` or a permission error.
1319
+ * @remarks Works with a tenant API key and returns the alerts raised for
1320
+ * your tenant's customers.
1322
1321
  */
1323
1322
  listAlerts(filters?: KycAlertFilters, pagination?: PaginationParams): Promise<KycAlertListResponse>;
1324
1323
  /**
package/dist/kyc/index.js CHANGED
@@ -984,9 +984,8 @@ var KycClient = class extends BaseClient {
984
984
  * console.log(`Found ${alerts.total} alerts`);
985
985
  * ```
986
986
  *
987
- * @remarks Console session only. This endpoint accepts a Vesant console
988
- * (dashboard login) token, not a tenant API key; called with an API key it
989
- * fails with `AuthenticationError` or a permission error.
987
+ * @remarks Works with a tenant API key and returns the alerts raised for
988
+ * your tenant's customers.
990
989
  */
991
990
  async listAlerts(filters, pagination) {
992
991
  const params = {};