@vibexp/api-client 0.47.0 → 0.48.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.
- package/dist/axios/types.gen.d.ts +3 -3
- package/dist/schema.d.ts +9 -9
- package/package.json +1 -1
|
@@ -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<'
|
|
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?: '
|
|
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<'
|
|
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
|
@@ -4539,11 +4539,11 @@ export interface components {
|
|
|
4539
4539
|
/**
|
|
4540
4540
|
* @description Array of integration codes this API key can access
|
|
4541
4541
|
* @example [
|
|
4542
|
-
* "
|
|
4543
|
-
* "
|
|
4542
|
+
* "cli",
|
|
4543
|
+
* "mcp_server"
|
|
4544
4544
|
* ]
|
|
4545
4545
|
*/
|
|
4546
|
-
integrations: ("
|
|
4546
|
+
integrations: ("cli" | "mcp_server")[];
|
|
4547
4547
|
/**
|
|
4548
4548
|
* @description Whether this is a legacy API key (pre-multi-integration)
|
|
4549
4549
|
* @example false
|
|
@@ -4551,16 +4551,16 @@ export interface components {
|
|
|
4551
4551
|
is_legacy: boolean;
|
|
4552
4552
|
/**
|
|
4553
4553
|
* @description Notes about the migration from legacy system
|
|
4554
|
-
* @example Migrated from usage_type:
|
|
4554
|
+
* @example Migrated from usage_type: cli
|
|
4555
4555
|
*/
|
|
4556
4556
|
migration_notes?: string | null;
|
|
4557
4557
|
/**
|
|
4558
4558
|
* @deprecated
|
|
4559
4559
|
* @description DEPRECATED: Legacy field for backward compatibility. Use 'integrations' instead.
|
|
4560
|
-
* @example
|
|
4560
|
+
* @example cli
|
|
4561
4561
|
* @enum {string}
|
|
4562
4562
|
*/
|
|
4563
|
-
usage_type?: "
|
|
4563
|
+
usage_type?: "cli" | "mcp" | "everything";
|
|
4564
4564
|
/** Format: date-time */
|
|
4565
4565
|
last_used_at?: string | null;
|
|
4566
4566
|
/**
|
|
@@ -4582,11 +4582,11 @@ export interface components {
|
|
|
4582
4582
|
/**
|
|
4583
4583
|
* @description Array of integration codes to grant access to
|
|
4584
4584
|
* @example [
|
|
4585
|
-
* "
|
|
4586
|
-
* "
|
|
4585
|
+
* "cli",
|
|
4586
|
+
* "mcp_server"
|
|
4587
4587
|
* ]
|
|
4588
4588
|
*/
|
|
4589
|
-
integration_codes: ("
|
|
4589
|
+
integration_codes: ("cli" | "mcp_server")[];
|
|
4590
4590
|
};
|
|
4591
4591
|
CreateAPIKeyResponse: {
|
|
4592
4592
|
api_key: components["schemas"]["APIKey"];
|
package/package.json
CHANGED