@vibexp/api-client 0.47.0 → 0.49.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.
@@ -111,21 +111,21 @@ export declare const createApiKey: <ThrowOnError extends boolean = false>(option
111
111
  */
112
112
  export declare const deleteApiKey: <ThrowOnError extends boolean = false>(options: Options<DeleteApiKeyData, ThrowOnError>) => RequestResult<DeleteApiKeyResponses, DeleteApiKeyErrors, ThrowOnError>;
113
113
  /**
114
- * List API keys (Settings)
114
+ * List API keys
115
115
  *
116
- * Retrieves all API keys for the authenticated user (settings route)
116
+ * Retrieves all API keys for the authenticated user
117
117
  */
118
118
  export declare const listApiKeysSettings: <ThrowOnError extends boolean = false>(options?: Options<ListApiKeysSettingsData, ThrowOnError>) => RequestResult<ListApiKeysSettingsResponses, ListApiKeysSettingsErrors, ThrowOnError>;
119
119
  /**
120
- * Create new API key (Settings)
120
+ * Create new API key
121
121
  *
122
- * Creates a new API key for the authenticated user (settings route)
122
+ * Creates a new API key for the authenticated user
123
123
  */
124
124
  export declare const createApiKeySettings: <ThrowOnError extends boolean = false>(options: Options<CreateApiKeySettingsData, ThrowOnError>) => RequestResult<CreateApiKeySettingsResponses, CreateApiKeySettingsErrors, ThrowOnError>;
125
125
  /**
126
- * Delete API key (Settings)
126
+ * Delete API key
127
127
  *
128
- * Deletes an API key by ID (settings route)
128
+ * Deletes an API key by ID
129
129
  */
130
130
  export declare const deleteApiKeySettings: <ThrowOnError extends boolean = false>(options: Options<DeleteApiKeySettingsData, ThrowOnError>) => RequestResult<DeleteApiKeySettingsResponses, DeleteApiKeySettingsErrors, ThrowOnError>;
131
131
  /**
@@ -1460,18 +1460,18 @@ export declare const getTeamSearchSettings: <ThrowOnError extends boolean = fals
1460
1460
  */
1461
1461
  export declare const updateTeamSearchSettings: <ThrowOnError extends boolean = false>(options: Options<UpdateTeamSearchSettingsData, ThrowOnError>) => RequestResult<UpdateTeamSearchSettingsResponses, UpdateTeamSearchSettingsErrors, ThrowOnError>;
1462
1462
  /**
1463
- * List embedding providers (Settings)
1463
+ * List embedding providers
1464
1464
  *
1465
- * Retrieves all embedding providers belonging to the authenticated user (settings route).
1465
+ * Retrieves all embedding providers belonging to the authenticated user.
1466
1466
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
1467
1467
  * are never included; each item carries a `has_api_key` boolean instead.
1468
1468
  *
1469
1469
  */
1470
1470
  export declare const listEmbeddingProvidersSettings: <ThrowOnError extends boolean = false>(options: Options<ListEmbeddingProvidersSettingsData, ThrowOnError>) => RequestResult<ListEmbeddingProvidersSettingsResponses, ListEmbeddingProvidersSettingsErrors, ThrowOnError>;
1471
1471
  /**
1472
- * Create embedding provider (Settings)
1472
+ * Create embedding provider
1473
1473
  *
1474
- * Creates a new embedding provider configuration for the authenticated user (settings route).
1474
+ * Creates a new embedding provider configuration for the authenticated user.
1475
1475
  * The `api_key` supplied in the request is encrypted at rest and is never
1476
1476
  * returned by the API — responses expose only a `has_api_key` boolean.
1477
1477
  * Returns 200 (not 201) on success.
@@ -1479,63 +1479,69 @@ export declare const listEmbeddingProvidersSettings: <ThrowOnError extends boole
1479
1479
  */
1480
1480
  export declare const createEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<CreateEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<CreateEmbeddingProviderSettingsResponses, CreateEmbeddingProviderSettingsErrors, ThrowOnError>;
1481
1481
  /**
1482
- * Get embedding coverage (Settings)
1482
+ * Get embedding coverage
1483
1483
  *
1484
1484
  * Returns derived, team-scoped embedding coverage per entity type under the
1485
- * team's active provider model (settings route). See `getEmbeddingCoverage`
1486
- * for the payload semantics.
1485
+ * team's active provider model: how many entities exist (`total`), how many
1486
+ * have an embedding (`embedded`), how many are still pending, and the
1487
+ * embedded percentage. Counts are computed from existing rows — there is no
1488
+ * per-entity state. When the team has no active provider, the response
1489
+ * reports every type as all-pending (0%) rather than an error.
1487
1490
  *
1488
1491
  */
1489
1492
  export declare const getEmbeddingCoverageSettings: <ThrowOnError extends boolean = false>(options: Options<GetEmbeddingCoverageSettingsData, ThrowOnError>) => RequestResult<GetEmbeddingCoverageSettingsResponses, GetEmbeddingCoverageSettingsErrors, ThrowOnError>;
1490
1493
  /**
1491
- * Delete embedding provider (Settings)
1494
+ * Delete embedding provider
1492
1495
  *
1493
- * Deletes an embedding provider owned by the authenticated user (settings route).
1494
- * Deleting the user's last remaining provider is blocked with a 400
1496
+ * Deletes an embedding provider owned by the authenticated user. Deleting
1497
+ * the user's last remaining provider is blocked with a 400
1495
1498
  * `PROVIDER_LAST_DELETE_BLOCKED` error.
1496
1499
  *
1497
1500
  */
1498
1501
  export declare const deleteEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<DeleteEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<DeleteEmbeddingProviderSettingsResponses, DeleteEmbeddingProviderSettingsErrors, ThrowOnError>;
1499
1502
  /**
1500
- * Get embedding provider (Settings)
1503
+ * Get embedding provider
1501
1504
  *
1502
- * Retrieves a single embedding provider owned by the authenticated user (settings route).
1505
+ * Retrieves a single embedding provider owned by the authenticated user.
1503
1506
  * The encrypted API key is never returned; `has_api_key` indicates whether
1504
1507
  * one is stored.
1505
1508
  *
1506
1509
  */
1507
1510
  export declare const getEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<GetEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<GetEmbeddingProviderSettingsResponses, GetEmbeddingProviderSettingsErrors, ThrowOnError>;
1508
1511
  /**
1509
- * Update embedding provider (Settings)
1512
+ * Update embedding provider
1510
1513
  *
1511
- * Updates an existing embedding provider (settings route). All fields are
1512
- * optional; only provided fields are changed. A supplied `api_key`
1513
- * replaces the stored (encrypted) key and is never echoed back in the
1514
- * response.
1514
+ * Updates an existing embedding provider. All fields are optional; only
1515
+ * provided fields are changed. A supplied `api_key` replaces the stored
1516
+ * (encrypted) key and is never echoed back in the response.
1515
1517
  *
1516
1518
  */
1517
1519
  export declare const updateEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<UpdateEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<UpdateEmbeddingProviderSettingsResponses, UpdateEmbeddingProviderSettingsErrors, ThrowOnError>;
1518
1520
  /**
1519
- * Reprocess missing embeddings (Settings)
1521
+ * Reprocess missing embeddings
1520
1522
  *
1521
1523
  * Re-drives embedding generation for the team's entities that are still
1522
- * missing an embedding, through the concurrency-bounded embedding path
1523
- * (settings route). The provider `{id}` is validated and authorized, but the
1524
- * work is team-scoped: an embedding provider is per-team, so reprocess
1525
- * enqueues the team's entity set. It returns 202 immediately and runs in the
1526
- * background; generation is idempotent and a per-team in-flight guard makes
1527
- * repeat calls safe.
1524
+ * missing an embedding, through the concurrency-bounded embedding path so a
1525
+ * large run never fans out beyond the provider's configured concurrency. It
1526
+ * is the sanctioned replacement for the removed back-office backfill
1527
+ * endpoint.
1528
+ *
1529
+ * The provider `{id}` is validated and authorized, but the work is
1530
+ * team-scoped: an embedding provider is per-team, so reprocess enqueues the
1531
+ * team's entity set (generated via the team's active provider). It returns
1532
+ * 202 immediately and runs in the background; generation is idempotent
1533
+ * (delete-then-insert per entity) and a per-team in-flight guard makes
1534
+ * repeat calls safe (no double fan-out).
1528
1535
  *
1529
1536
  */
1530
1537
  export declare const reprocessEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<ReprocessEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<ReprocessEmbeddingProviderSettingsResponses, ReprocessEmbeddingProviderSettingsErrors, ThrowOnError>;
1531
1538
  /**
1532
- * Validate embedding provider configuration (Settings)
1539
+ * Validate embedding provider configuration
1533
1540
  *
1534
1541
  * Validates an embedding provider configuration (connectivity/credentials)
1535
- * without persisting anything (settings route). Validation outcome —
1536
- * including an invalid configuration — is reported in the 200 response
1537
- * body (`is_valid`, `message`, `details`); 500 is returned only for
1538
- * internal service errors.
1542
+ * without persisting anything. Validation outcome — including an invalid
1543
+ * configuration — is reported in the 200 response body (`is_valid`,
1544
+ * `message`, `details`); 500 is returned only for internal service errors.
1539
1545
  *
1540
1546
  */
1541
1547
  export declare const validateEmbeddingProviderSettings: <ThrowOnError extends boolean = false>(options: Options<ValidateEmbeddingProviderSettingsData, ThrowOnError>) => RequestResult<ValidateEmbeddingProviderSettingsResponses, ValidateEmbeddingProviderSettingsErrors, ThrowOnError>;
@@ -1885,18 +1891,18 @@ export declare const updateModelProvider: <ThrowOnError extends boolean = false>
1885
1891
  */
1886
1892
  export declare const validateModelProvider: <ThrowOnError extends boolean = false>(options: Options<ValidateModelProviderData, ThrowOnError>) => RequestResult<ValidateModelProviderResponses, ValidateModelProviderErrors, ThrowOnError>;
1887
1893
  /**
1888
- * List model providers (Settings)
1894
+ * List model providers
1889
1895
  *
1890
- * Retrieves all model providers belonging to the authenticated user (settings route).
1896
+ * Retrieves all model providers belonging to the authenticated user.
1891
1897
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
1892
1898
  * are never included; each item carries a `has_api_key` boolean instead.
1893
1899
  *
1894
1900
  */
1895
1901
  export declare const listModelProvidersSettings: <ThrowOnError extends boolean = false>(options: Options<ListModelProvidersSettingsData, ThrowOnError>) => RequestResult<ListModelProvidersSettingsResponses, ListModelProvidersSettingsErrors, ThrowOnError>;
1896
1902
  /**
1897
- * Create model provider (Settings)
1903
+ * Create model provider
1898
1904
  *
1899
- * Creates a new model provider configuration for the authenticated user (settings route).
1905
+ * Creates a new model provider configuration for the authenticated user.
1900
1906
  * The `api_key` supplied in the request is encrypted at rest and is never
1901
1907
  * returned by the API — responses expose only a `has_api_key` boolean.
1902
1908
  * Returns 200 (not 201) on success.
@@ -1904,41 +1910,40 @@ export declare const listModelProvidersSettings: <ThrowOnError extends boolean =
1904
1910
  */
1905
1911
  export declare const createModelProviderSettings: <ThrowOnError extends boolean = false>(options: Options<CreateModelProviderSettingsData, ThrowOnError>) => RequestResult<CreateModelProviderSettingsResponses, CreateModelProviderSettingsErrors, ThrowOnError>;
1906
1912
  /**
1907
- * Delete model provider (Settings)
1913
+ * Delete model provider
1908
1914
  *
1909
- * Deletes a model provider owned by the authenticated user (settings route).
1910
- * Deleting the team's last remaining provider is blocked with a 400
1915
+ * Deletes a model provider owned by the authenticated user. Deleting the
1916
+ * team's last remaining provider is blocked with a 400
1911
1917
  * `MODEL_PROVIDER_LAST_DELETE_BLOCKED` error.
1912
1918
  *
1913
1919
  */
1914
1920
  export declare const deleteModelProviderSettings: <ThrowOnError extends boolean = false>(options: Options<DeleteModelProviderSettingsData, ThrowOnError>) => RequestResult<DeleteModelProviderSettingsResponses, DeleteModelProviderSettingsErrors, ThrowOnError>;
1915
1921
  /**
1916
- * Get model provider (Settings)
1922
+ * Get model provider
1917
1923
  *
1918
- * Retrieves a single model provider owned by the authenticated user (settings route).
1924
+ * Retrieves a single model provider owned by the authenticated user.
1919
1925
  * The encrypted API key is never returned; `has_api_key` indicates whether
1920
1926
  * one is stored.
1921
1927
  *
1922
1928
  */
1923
1929
  export declare const getModelProviderSettings: <ThrowOnError extends boolean = false>(options: Options<GetModelProviderSettingsData, ThrowOnError>) => RequestResult<GetModelProviderSettingsResponses, GetModelProviderSettingsErrors, ThrowOnError>;
1924
1930
  /**
1925
- * Update model provider (Settings)
1931
+ * Update model provider
1926
1932
  *
1927
- * Updates an existing model provider (settings route). All fields are
1928
- * optional; only provided fields are changed. A supplied `api_key`
1929
- * replaces the stored (encrypted) key and is never echoed back in the
1930
- * response. A blank/omitted `api_key` preserves the stored key.
1933
+ * Updates an existing model provider. All fields are optional; only
1934
+ * provided fields are changed. A supplied `api_key` replaces the stored
1935
+ * (encrypted) key and is never echoed back in the response. A blank/omitted
1936
+ * `api_key` preserves the stored key.
1931
1937
  *
1932
1938
  */
1933
1939
  export declare const updateModelProviderSettings: <ThrowOnError extends boolean = false>(options: Options<UpdateModelProviderSettingsData, ThrowOnError>) => RequestResult<UpdateModelProviderSettingsResponses, UpdateModelProviderSettingsErrors, ThrowOnError>;
1934
1940
  /**
1935
- * Validate model provider configuration (Settings)
1941
+ * Validate model provider configuration
1936
1942
  *
1937
1943
  * Validates a model provider configuration (connectivity/credentials)
1938
- * without persisting anything (settings route). The probe attempts
1939
- * `GET {base_url}/models` and falls back to
1940
- * `POST {base_url}/chat/completions`. Validation outcomeincluding an
1941
- * invalid configuration — is reported in the 200 response body
1944
+ * without persisting anything. The probe attempts `GET {base_url}/models`
1945
+ * and falls back to `POST {base_url}/chat/completions`. Validation outcome
1946
+ * including an invalid configurationis reported in the 200 response body
1942
1947
  * (`is_valid`, `message`, `details`); 500 is returned only for internal
1943
1948
  * service errors.
1944
1949
  *
@@ -167,9 +167,9 @@ export const deleteApiKey = (options) => (options.client ?? client).delete({
167
167
  ...options
168
168
  });
169
169
  /**
170
- * List API keys (Settings)
170
+ * List API keys
171
171
  *
172
- * Retrieves all API keys for the authenticated user (settings route)
172
+ * Retrieves all API keys for the authenticated user
173
173
  */
174
174
  export const listApiKeysSettings = (options) => (options?.client ?? client).get({
175
175
  responseType: 'json',
@@ -182,9 +182,9 @@ export const listApiKeysSettings = (options) => (options?.client ?? client).get(
182
182
  ...options
183
183
  });
184
184
  /**
185
- * Create new API key (Settings)
185
+ * Create new API key
186
186
  *
187
- * Creates a new API key for the authenticated user (settings route)
187
+ * Creates a new API key for the authenticated user
188
188
  */
189
189
  export const createApiKeySettings = (options) => (options.client ?? client).post({
190
190
  responseType: 'json',
@@ -201,9 +201,9 @@ export const createApiKeySettings = (options) => (options.client ?? client).post
201
201
  }
202
202
  });
203
203
  /**
204
- * Delete API key (Settings)
204
+ * Delete API key
205
205
  *
206
- * Deletes an API key by ID (settings route)
206
+ * Deletes an API key by ID
207
207
  */
208
208
  export const deleteApiKeySettings = (options) => (options.client ?? client).delete({
209
209
  responseType: 'json',
@@ -3561,9 +3561,9 @@ export const updateTeamSearchSettings = (options) => (options.client ?? client).
3561
3561
  }
3562
3562
  });
3563
3563
  /**
3564
- * List embedding providers (Settings)
3564
+ * List embedding providers
3565
3565
  *
3566
- * Retrieves all embedding providers belonging to the authenticated user (settings route).
3566
+ * Retrieves all embedding providers belonging to the authenticated user.
3567
3567
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
3568
3568
  * are never included; each item carries a `has_api_key` boolean instead.
3569
3569
  *
@@ -3583,9 +3583,9 @@ export const listEmbeddingProvidersSettings = (options) => (options.client ?? cl
3583
3583
  ...options
3584
3584
  });
3585
3585
  /**
3586
- * Create embedding provider (Settings)
3586
+ * Create embedding provider
3587
3587
  *
3588
- * Creates a new embedding provider configuration for the authenticated user (settings route).
3588
+ * Creates a new embedding provider configuration for the authenticated user.
3589
3589
  * The `api_key` supplied in the request is encrypted at rest and is never
3590
3590
  * returned by the API — responses expose only a `has_api_key` boolean.
3591
3591
  * Returns 200 (not 201) on success.
@@ -3610,11 +3610,14 @@ export const createEmbeddingProviderSettings = (options) => (options.client ?? c
3610
3610
  }
3611
3611
  });
3612
3612
  /**
3613
- * Get embedding coverage (Settings)
3613
+ * Get embedding coverage
3614
3614
  *
3615
3615
  * Returns derived, team-scoped embedding coverage per entity type under the
3616
- * team's active provider model (settings route). See `getEmbeddingCoverage`
3617
- * for the payload semantics.
3616
+ * team's active provider model: how many entities exist (`total`), how many
3617
+ * have an embedding (`embedded`), how many are still pending, and the
3618
+ * embedded percentage. Counts are computed from existing rows — there is no
3619
+ * per-entity state. When the team has no active provider, the response
3620
+ * reports every type as all-pending (0%) rather than an error.
3618
3621
  *
3619
3622
  */
3620
3623
  export const getEmbeddingCoverageSettings = (options) => (options.client ?? client).get({
@@ -3632,10 +3635,10 @@ export const getEmbeddingCoverageSettings = (options) => (options.client ?? clie
3632
3635
  ...options
3633
3636
  });
3634
3637
  /**
3635
- * Delete embedding provider (Settings)
3638
+ * Delete embedding provider
3636
3639
  *
3637
- * Deletes an embedding provider owned by the authenticated user (settings route).
3638
- * Deleting the user's last remaining provider is blocked with a 400
3640
+ * Deletes an embedding provider owned by the authenticated user. Deleting
3641
+ * the user's last remaining provider is blocked with a 400
3639
3642
  * `PROVIDER_LAST_DELETE_BLOCKED` error.
3640
3643
  *
3641
3644
  */
@@ -3653,9 +3656,9 @@ export const deleteEmbeddingProviderSettings = (options) => (options.client ?? c
3653
3656
  ...options
3654
3657
  });
3655
3658
  /**
3656
- * Get embedding provider (Settings)
3659
+ * Get embedding provider
3657
3660
  *
3658
- * Retrieves a single embedding provider owned by the authenticated user (settings route).
3661
+ * Retrieves a single embedding provider owned by the authenticated user.
3659
3662
  * The encrypted API key is never returned; `has_api_key` indicates whether
3660
3663
  * one is stored.
3661
3664
  *
@@ -3675,12 +3678,11 @@ export const getEmbeddingProviderSettings = (options) => (options.client ?? clie
3675
3678
  ...options
3676
3679
  });
3677
3680
  /**
3678
- * Update embedding provider (Settings)
3681
+ * Update embedding provider
3679
3682
  *
3680
- * Updates an existing embedding provider (settings route). All fields are
3681
- * optional; only provided fields are changed. A supplied `api_key`
3682
- * replaces the stored (encrypted) key and is never echoed back in the
3683
- * response.
3683
+ * Updates an existing embedding provider. All fields are optional; only
3684
+ * provided fields are changed. A supplied `api_key` replaces the stored
3685
+ * (encrypted) key and is never echoed back in the response.
3684
3686
  *
3685
3687
  */
3686
3688
  export const updateEmbeddingProviderSettings = (options) => (options.client ?? client).put({
@@ -3702,15 +3704,20 @@ export const updateEmbeddingProviderSettings = (options) => (options.client ?? c
3702
3704
  }
3703
3705
  });
3704
3706
  /**
3705
- * Reprocess missing embeddings (Settings)
3707
+ * Reprocess missing embeddings
3706
3708
  *
3707
3709
  * Re-drives embedding generation for the team's entities that are still
3708
- * missing an embedding, through the concurrency-bounded embedding path
3709
- * (settings route). The provider `{id}` is validated and authorized, but the
3710
- * work is team-scoped: an embedding provider is per-team, so reprocess
3711
- * enqueues the team's entity set. It returns 202 immediately and runs in the
3712
- * background; generation is idempotent and a per-team in-flight guard makes
3713
- * repeat calls safe.
3710
+ * missing an embedding, through the concurrency-bounded embedding path so a
3711
+ * large run never fans out beyond the provider's configured concurrency. It
3712
+ * is the sanctioned replacement for the removed back-office backfill
3713
+ * endpoint.
3714
+ *
3715
+ * The provider `{id}` is validated and authorized, but the work is
3716
+ * team-scoped: an embedding provider is per-team, so reprocess enqueues the
3717
+ * team's entity set (generated via the team's active provider). It returns
3718
+ * 202 immediately and runs in the background; generation is idempotent
3719
+ * (delete-then-insert per entity) and a per-team in-flight guard makes
3720
+ * repeat calls safe (no double fan-out).
3714
3721
  *
3715
3722
  */
3716
3723
  export const reprocessEmbeddingProviderSettings = (options) => (options.client ?? client).post({
@@ -3728,13 +3735,12 @@ export const reprocessEmbeddingProviderSettings = (options) => (options.client ?
3728
3735
  ...options
3729
3736
  });
3730
3737
  /**
3731
- * Validate embedding provider configuration (Settings)
3738
+ * Validate embedding provider configuration
3732
3739
  *
3733
3740
  * Validates an embedding provider configuration (connectivity/credentials)
3734
- * without persisting anything (settings route). Validation outcome —
3735
- * including an invalid configuration — is reported in the 200 response
3736
- * body (`is_valid`, `message`, `details`); 500 is returned only for
3737
- * internal service errors.
3741
+ * without persisting anything. Validation outcome — including an invalid
3742
+ * configuration — is reported in the 200 response body (`is_valid`,
3743
+ * `message`, `details`); 500 is returned only for internal service errors.
3738
3744
  *
3739
3745
  */
3740
3746
  export const validateEmbeddingProviderSettings = (options) => (options.client ?? client).post({
@@ -4491,9 +4497,9 @@ export const validateModelProvider = (options) => (options.client ?? client).pos
4491
4497
  }
4492
4498
  });
4493
4499
  /**
4494
- * List model providers (Settings)
4500
+ * List model providers
4495
4501
  *
4496
- * Retrieves all model providers belonging to the authenticated user (settings route).
4502
+ * Retrieves all model providers belonging to the authenticated user.
4497
4503
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
4498
4504
  * are never included; each item carries a `has_api_key` boolean instead.
4499
4505
  *
@@ -4513,9 +4519,9 @@ export const listModelProvidersSettings = (options) => (options.client ?? client
4513
4519
  ...options
4514
4520
  });
4515
4521
  /**
4516
- * Create model provider (Settings)
4522
+ * Create model provider
4517
4523
  *
4518
- * Creates a new model provider configuration for the authenticated user (settings route).
4524
+ * Creates a new model provider configuration for the authenticated user.
4519
4525
  * The `api_key` supplied in the request is encrypted at rest and is never
4520
4526
  * returned by the API — responses expose only a `has_api_key` boolean.
4521
4527
  * Returns 200 (not 201) on success.
@@ -4540,10 +4546,10 @@ export const createModelProviderSettings = (options) => (options.client ?? clien
4540
4546
  }
4541
4547
  });
4542
4548
  /**
4543
- * Delete model provider (Settings)
4549
+ * Delete model provider
4544
4550
  *
4545
- * Deletes a model provider owned by the authenticated user (settings route).
4546
- * Deleting the team's last remaining provider is blocked with a 400
4551
+ * Deletes a model provider owned by the authenticated user. Deleting the
4552
+ * team's last remaining provider is blocked with a 400
4547
4553
  * `MODEL_PROVIDER_LAST_DELETE_BLOCKED` error.
4548
4554
  *
4549
4555
  */
@@ -4561,9 +4567,9 @@ export const deleteModelProviderSettings = (options) => (options.client ?? clien
4561
4567
  ...options
4562
4568
  });
4563
4569
  /**
4564
- * Get model provider (Settings)
4570
+ * Get model provider
4565
4571
  *
4566
- * Retrieves a single model provider owned by the authenticated user (settings route).
4572
+ * Retrieves a single model provider owned by the authenticated user.
4567
4573
  * The encrypted API key is never returned; `has_api_key` indicates whether
4568
4574
  * one is stored.
4569
4575
  *
@@ -4583,12 +4589,12 @@ export const getModelProviderSettings = (options) => (options.client ?? client).
4583
4589
  ...options
4584
4590
  });
4585
4591
  /**
4586
- * Update model provider (Settings)
4592
+ * Update model provider
4587
4593
  *
4588
- * Updates an existing model provider (settings route). All fields are
4589
- * optional; only provided fields are changed. A supplied `api_key`
4590
- * replaces the stored (encrypted) key and is never echoed back in the
4591
- * response. A blank/omitted `api_key` preserves the stored key.
4594
+ * Updates an existing model provider. All fields are optional; only
4595
+ * provided fields are changed. A supplied `api_key` replaces the stored
4596
+ * (encrypted) key and is never echoed back in the response. A blank/omitted
4597
+ * `api_key` preserves the stored key.
4592
4598
  *
4593
4599
  */
4594
4600
  export const updateModelProviderSettings = (options) => (options.client ?? client).put({
@@ -4610,13 +4616,12 @@ export const updateModelProviderSettings = (options) => (options.client ?? clien
4610
4616
  }
4611
4617
  });
4612
4618
  /**
4613
- * Validate model provider configuration (Settings)
4619
+ * Validate model provider configuration
4614
4620
  *
4615
4621
  * Validates a model provider configuration (connectivity/credentials)
4616
- * without persisting anything (settings route). The probe attempts
4617
- * `GET {base_url}/models` and falls back to
4618
- * `POST {base_url}/chat/completions`. Validation outcomeincluding an
4619
- * invalid configuration — is reported in the 200 response body
4622
+ * without persisting anything. The probe attempts `GET {base_url}/models`
4623
+ * and falls back to `POST {base_url}/chat/completions`. Validation outcome
4624
+ * including an invalid configurationis reported in the 200 response body
4620
4625
  * (`is_valid`, `message`, `details`); 500 is returned only for internal
4621
4626
  * service errors.
4622
4627
  *
@@ -209,7 +209,7 @@ export type ApiKey = {
209
209
  /**
210
210
  * Array of integration codes this API key can access
211
211
  */
212
- integrations: Array<'ai_tools' | 'cli' | 'mcp_server'>;
212
+ integrations: Array<'cli' | 'mcp_server'>;
213
213
  /**
214
214
  * Whether this is a legacy API key (pre-multi-integration)
215
215
  */
@@ -223,7 +223,7 @@ export type ApiKey = {
223
223
  *
224
224
  * @deprecated
225
225
  */
226
- usage_type?: 'ai_tools' | 'cli' | 'mcp' | 'everything';
226
+ usage_type?: 'cli' | 'mcp' | 'everything';
227
227
  last_used_at?: string | null;
228
228
  /**
229
229
  * When the key expires. Null means the key never expires.
@@ -240,7 +240,7 @@ export type CreateApiKeyRequest = {
240
240
  /**
241
241
  * Array of integration codes to grant access to
242
242
  */
243
- integration_codes: Array<'ai_tools' | 'cli' | 'mcp_server'>;
243
+ integration_codes: Array<'cli' | 'mcp_server'>;
244
244
  };
245
245
  export type CreateApiKeyResponse = {
246
246
  api_key: ApiKey;
package/dist/schema.d.ts CHANGED
@@ -240,14 +240,14 @@ export interface paths {
240
240
  cookie?: never;
241
241
  };
242
242
  /**
243
- * List API keys (Settings)
244
- * @description Retrieves all API keys for the authenticated user (settings route)
243
+ * List API keys
244
+ * @description Retrieves all API keys for the authenticated user
245
245
  */
246
246
  get: operations["listAPIKeysSettings"];
247
247
  put?: never;
248
248
  /**
249
- * Create new API key (Settings)
250
- * @description Creates a new API key for the authenticated user (settings route)
249
+ * Create new API key
250
+ * @description Creates a new API key for the authenticated user
251
251
  */
252
252
  post: operations["createAPIKeySettings"];
253
253
  delete?: never;
@@ -267,8 +267,8 @@ export interface paths {
267
267
  put?: never;
268
268
  post?: never;
269
269
  /**
270
- * Delete API key (Settings)
271
- * @description Deletes an API key by ID (settings route)
270
+ * Delete API key
271
+ * @description Deletes an API key by ID
272
272
  */
273
273
  delete: operations["deleteAPIKeySettings"];
274
274
  options?: never;
@@ -3187,16 +3187,16 @@ export interface paths {
3187
3187
  cookie?: never;
3188
3188
  };
3189
3189
  /**
3190
- * List embedding providers (Settings)
3191
- * @description Retrieves all embedding providers belonging to the authenticated user (settings route).
3190
+ * List embedding providers
3191
+ * @description Retrieves all embedding providers belonging to the authenticated user.
3192
3192
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
3193
3193
  * are never included; each item carries a `has_api_key` boolean instead.
3194
3194
  */
3195
3195
  get: operations["listEmbeddingProvidersSettings"];
3196
3196
  put?: never;
3197
3197
  /**
3198
- * Create embedding provider (Settings)
3199
- * @description Creates a new embedding provider configuration for the authenticated user (settings route).
3198
+ * Create embedding provider
3199
+ * @description Creates a new embedding provider configuration for the authenticated user.
3200
3200
  * The `api_key` supplied in the request is encrypted at rest and is never
3201
3201
  * returned by the API — responses expose only a `has_api_key` boolean.
3202
3202
  * Returns 200 (not 201) on success.
@@ -3219,10 +3219,13 @@ export interface paths {
3219
3219
  cookie?: never;
3220
3220
  };
3221
3221
  /**
3222
- * Get embedding coverage (Settings)
3222
+ * Get embedding coverage
3223
3223
  * @description Returns derived, team-scoped embedding coverage per entity type under the
3224
- * team's active provider model (settings route). See `getEmbeddingCoverage`
3225
- * for the payload semantics.
3224
+ * team's active provider model: how many entities exist (`total`), how many
3225
+ * have an embedding (`embedded`), how many are still pending, and the
3226
+ * embedded percentage. Counts are computed from existing rows — there is no
3227
+ * per-entity state. When the team has no active provider, the response
3228
+ * reports every type as all-pending (0%) rather than an error.
3226
3229
  */
3227
3230
  get: operations["getEmbeddingCoverageSettings"];
3228
3231
  put?: never;
@@ -3244,25 +3247,24 @@ export interface paths {
3244
3247
  cookie?: never;
3245
3248
  };
3246
3249
  /**
3247
- * Get embedding provider (Settings)
3248
- * @description Retrieves a single embedding provider owned by the authenticated user (settings route).
3250
+ * Get embedding provider
3251
+ * @description Retrieves a single embedding provider owned by the authenticated user.
3249
3252
  * The encrypted API key is never returned; `has_api_key` indicates whether
3250
3253
  * one is stored.
3251
3254
  */
3252
3255
  get: operations["getEmbeddingProviderSettings"];
3253
3256
  /**
3254
- * Update embedding provider (Settings)
3255
- * @description Updates an existing embedding provider (settings route). All fields are
3256
- * optional; only provided fields are changed. A supplied `api_key`
3257
- * replaces the stored (encrypted) key and is never echoed back in the
3258
- * response.
3257
+ * Update embedding provider
3258
+ * @description Updates an existing embedding provider. All fields are optional; only
3259
+ * provided fields are changed. A supplied `api_key` replaces the stored
3260
+ * (encrypted) key and is never echoed back in the response.
3259
3261
  */
3260
3262
  put: operations["updateEmbeddingProviderSettings"];
3261
3263
  post?: never;
3262
3264
  /**
3263
- * Delete embedding provider (Settings)
3264
- * @description Deletes an embedding provider owned by the authenticated user (settings route).
3265
- * Deleting the user's last remaining provider is blocked with a 400
3265
+ * Delete embedding provider
3266
+ * @description Deletes an embedding provider owned by the authenticated user. Deleting
3267
+ * the user's last remaining provider is blocked with a 400
3266
3268
  * `PROVIDER_LAST_DELETE_BLOCKED` error.
3267
3269
  */
3268
3270
  delete: operations["deleteEmbeddingProviderSettings"];
@@ -3284,14 +3286,19 @@ export interface paths {
3284
3286
  get?: never;
3285
3287
  put?: never;
3286
3288
  /**
3287
- * Reprocess missing embeddings (Settings)
3289
+ * Reprocess missing embeddings
3288
3290
  * @description Re-drives embedding generation for the team's entities that are still
3289
- * missing an embedding, through the concurrency-bounded embedding path
3290
- * (settings route). The provider `{id}` is validated and authorized, but the
3291
- * work is team-scoped: an embedding provider is per-team, so reprocess
3292
- * enqueues the team's entity set. It returns 202 immediately and runs in the
3293
- * background; generation is idempotent and a per-team in-flight guard makes
3294
- * repeat calls safe.
3291
+ * missing an embedding, through the concurrency-bounded embedding path so a
3292
+ * large run never fans out beyond the provider's configured concurrency. It
3293
+ * is the sanctioned replacement for the removed back-office backfill
3294
+ * endpoint.
3295
+ *
3296
+ * The provider `{id}` is validated and authorized, but the work is
3297
+ * team-scoped: an embedding provider is per-team, so reprocess enqueues the
3298
+ * team's entity set (generated via the team's active provider). It returns
3299
+ * 202 immediately and runs in the background; generation is idempotent
3300
+ * (delete-then-insert per entity) and a per-team in-flight guard makes
3301
+ * repeat calls safe (no double fan-out).
3295
3302
  */
3296
3303
  post: operations["reprocessEmbeddingProviderSettings"];
3297
3304
  delete?: never;
@@ -3313,12 +3320,11 @@ export interface paths {
3313
3320
  get?: never;
3314
3321
  put?: never;
3315
3322
  /**
3316
- * Validate embedding provider configuration (Settings)
3323
+ * Validate embedding provider configuration
3317
3324
  * @description Validates an embedding provider configuration (connectivity/credentials)
3318
- * without persisting anything (settings route). Validation outcome —
3319
- * including an invalid configuration — is reported in the 200 response
3320
- * body (`is_valid`, `message`, `details`); 500 is returned only for
3321
- * internal service errors.
3325
+ * without persisting anything. Validation outcome — including an invalid
3326
+ * configuration — is reported in the 200 response body (`is_valid`,
3327
+ * `message`, `details`); 500 is returned only for internal service errors.
3322
3328
  */
3323
3329
  post: operations["validateEmbeddingProviderSettings"];
3324
3330
  delete?: never;
@@ -3868,16 +3874,16 @@ export interface paths {
3868
3874
  cookie?: never;
3869
3875
  };
3870
3876
  /**
3871
- * List model providers (Settings)
3872
- * @description Retrieves all model providers belonging to the authenticated user (settings route).
3877
+ * List model providers
3878
+ * @description Retrieves all model providers belonging to the authenticated user.
3873
3879
  * Returns a bare JSON array (no pagination envelope). Encrypted API keys
3874
3880
  * are never included; each item carries a `has_api_key` boolean instead.
3875
3881
  */
3876
3882
  get: operations["listModelProvidersSettings"];
3877
3883
  put?: never;
3878
3884
  /**
3879
- * Create model provider (Settings)
3880
- * @description Creates a new model provider configuration for the authenticated user (settings route).
3885
+ * Create model provider
3886
+ * @description Creates a new model provider configuration for the authenticated user.
3881
3887
  * The `api_key` supplied in the request is encrypted at rest and is never
3882
3888
  * returned by the API — responses expose only a `has_api_key` boolean.
3883
3889
  * Returns 200 (not 201) on success.
@@ -3900,25 +3906,25 @@ export interface paths {
3900
3906
  cookie?: never;
3901
3907
  };
3902
3908
  /**
3903
- * Get model provider (Settings)
3904
- * @description Retrieves a single model provider owned by the authenticated user (settings route).
3909
+ * Get model provider
3910
+ * @description Retrieves a single model provider owned by the authenticated user.
3905
3911
  * The encrypted API key is never returned; `has_api_key` indicates whether
3906
3912
  * one is stored.
3907
3913
  */
3908
3914
  get: operations["getModelProviderSettings"];
3909
3915
  /**
3910
- * Update model provider (Settings)
3911
- * @description Updates an existing model provider (settings route). All fields are
3912
- * optional; only provided fields are changed. A supplied `api_key`
3913
- * replaces the stored (encrypted) key and is never echoed back in the
3914
- * response. A blank/omitted `api_key` preserves the stored key.
3916
+ * Update model provider
3917
+ * @description Updates an existing model provider. All fields are optional; only
3918
+ * provided fields are changed. A supplied `api_key` replaces the stored
3919
+ * (encrypted) key and is never echoed back in the response. A blank/omitted
3920
+ * `api_key` preserves the stored key.
3915
3921
  */
3916
3922
  put: operations["updateModelProviderSettings"];
3917
3923
  post?: never;
3918
3924
  /**
3919
- * Delete model provider (Settings)
3920
- * @description Deletes a model provider owned by the authenticated user (settings route).
3921
- * Deleting the team's last remaining provider is blocked with a 400
3925
+ * Delete model provider
3926
+ * @description Deletes a model provider owned by the authenticated user. Deleting the
3927
+ * team's last remaining provider is blocked with a 400
3922
3928
  * `MODEL_PROVIDER_LAST_DELETE_BLOCKED` error.
3923
3929
  */
3924
3930
  delete: operations["deleteModelProviderSettings"];
@@ -3940,12 +3946,11 @@ export interface paths {
3940
3946
  get?: never;
3941
3947
  put?: never;
3942
3948
  /**
3943
- * Validate model provider configuration (Settings)
3949
+ * Validate model provider configuration
3944
3950
  * @description Validates a model provider configuration (connectivity/credentials)
3945
- * without persisting anything (settings route). The probe attempts
3946
- * `GET {base_url}/models` and falls back to
3947
- * `POST {base_url}/chat/completions`. Validation outcomeincluding an
3948
- * invalid configuration — is reported in the 200 response body
3951
+ * without persisting anything. The probe attempts `GET {base_url}/models`
3952
+ * and falls back to `POST {base_url}/chat/completions`. Validation outcome
3953
+ * including an invalid configurationis reported in the 200 response body
3949
3954
  * (`is_valid`, `message`, `details`); 500 is returned only for internal
3950
3955
  * service errors.
3951
3956
  */
@@ -4539,11 +4544,11 @@ export interface components {
4539
4544
  /**
4540
4545
  * @description Array of integration codes this API key can access
4541
4546
  * @example [
4542
- * "ai_tools",
4543
- * "cli"
4547
+ * "cli",
4548
+ * "mcp_server"
4544
4549
  * ]
4545
4550
  */
4546
- integrations: ("ai_tools" | "cli" | "mcp_server")[];
4551
+ integrations: ("cli" | "mcp_server")[];
4547
4552
  /**
4548
4553
  * @description Whether this is a legacy API key (pre-multi-integration)
4549
4554
  * @example false
@@ -4551,16 +4556,16 @@ export interface components {
4551
4556
  is_legacy: boolean;
4552
4557
  /**
4553
4558
  * @description Notes about the migration from legacy system
4554
- * @example Migrated from usage_type: ai_tools
4559
+ * @example Migrated from usage_type: cli
4555
4560
  */
4556
4561
  migration_notes?: string | null;
4557
4562
  /**
4558
4563
  * @deprecated
4559
4564
  * @description DEPRECATED: Legacy field for backward compatibility. Use 'integrations' instead.
4560
- * @example ai_tools
4565
+ * @example cli
4561
4566
  * @enum {string}
4562
4567
  */
4563
- usage_type?: "ai_tools" | "cli" | "mcp" | "everything";
4568
+ usage_type?: "cli" | "mcp" | "everything";
4564
4569
  /** Format: date-time */
4565
4570
  last_used_at?: string | null;
4566
4571
  /**
@@ -4582,11 +4587,11 @@ export interface components {
4582
4587
  /**
4583
4588
  * @description Array of integration codes to grant access to
4584
4589
  * @example [
4585
- * "ai_tools",
4586
- * "cli"
4590
+ * "cli",
4591
+ * "mcp_server"
4587
4592
  * ]
4588
4593
  */
4589
- integration_codes: ("ai_tools" | "cli" | "mcp_server")[];
4594
+ integration_codes: ("cli" | "mcp_server")[];
4590
4595
  };
4591
4596
  CreateAPIKeyResponse: {
4592
4597
  api_key: components["schemas"]["APIKey"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibexp/api-client",
3
- "version": "0.47.0",
3
+ "version": "0.49.0",
4
4
  "description": "Typed VibeXP API client generated from the OpenAPI spec (openapi-fetch main entrypoint, axios SDK at ./axios)",
5
5
  "license": "MIT",
6
6
  "repository": {