@avallon-labs/sdk 23.21.0 → 23.22.0-staging.598

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.d.ts CHANGED
@@ -3411,6 +3411,12 @@ type ListCallsParams = {
3411
3411
  * @minLength 1
3412
3412
  */
3413
3413
  phone_number?: string;
3414
+ /**
3415
+ * Filter by metadata keys using bracket notation (e.g. metadata[case_id]=abc-123, metadata[source]=worker). Multiple filters are combined with AND logic.
3416
+ */
3417
+ metadata?: {
3418
+ [key: string]: string;
3419
+ };
3414
3420
  };
3415
3421
 
3416
3422
  /**
@@ -6480,6 +6486,14 @@ type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1]
6480
6486
  **Filtering:**
6481
6487
 
6482
6488
  Filter by agent, direction, status, time range, phone number, and more. Phone number filter supports both exact E.164 matches and partial search.
6489
+
6490
+ **Metadata Filtering:**
6491
+
6492
+ Use bracket notation to filter by metadata keys:
6493
+ - `metadata[case_id]=abc-123`
6494
+ - `metadata[source]=worker`
6495
+
6496
+ Multiple metadata filters can be combined (AND logic).
6483
6497
  * @summary List calls
6484
6498
  */
6485
6499
  declare const getListCallsUrl: (params?: ListCallsParams) => string;