@groundcover/api-client 0.12.0 → 0.14.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.
@@ -1453,7 +1453,10 @@ export type ConnectorListResponse = {
1453
1453
  * ConnectorMCPCapability describes an MCP source exposed by a first-class connector.
1454
1454
  */
1455
1455
  export type ConnectorMcpCapability = {
1456
- authState?: string;
1456
+ /**
1457
+ * Whether MCP requests can be authenticated. Omitted when not applicable.
1458
+ */
1459
+ authState?: 'ready' | 'awaiting_auth';
1457
1460
  /**
1458
1461
  * Display name shown for the MCP source.
1459
1462
  */
@@ -1462,9 +1465,9 @@ export type ConnectorMcpCapability = {
1462
1465
  orgDiscoveryPath?: string;
1463
1466
  /**
1464
1467
  * Whether the connected credential holds all grantable user scopes ("full")
1465
- * or a re-consent could grant more ("partial"). Empty when not applicable.
1468
+ * or a re-consent could grant more ("partial"). Omitted when not applicable.
1466
1469
  */
1467
- scopeStatus?: string;
1470
+ scopeStatus?: 'full' | 'partial';
1468
1471
  /**
1469
1472
  * Stable identifier for the connector-provided MCP server.
1470
1473
  */
@@ -1484,7 +1487,7 @@ export type ConnectorMcpSetup = {
1484
1487
  /**
1485
1488
  * Provider setup state.
1486
1489
  */
1487
- state?: 'ready' | 'update_required';
1490
+ state: 'ready' | 'update_required';
1488
1491
  };
1489
1492
  /**
1490
1493
  * ConnectorManifestResponse contains a provider app manifest and creation URL.
@@ -5078,8 +5081,8 @@ export type OrderedReasons = Array<ReasonEntry>;
5078
5081
  * OrgConnectorUpdateRequest wraps mutable org connector fields.
5079
5082
  *
5080
5083
  * For Slack, `name` may be set at the top level and `data` may include
5081
- * `client_secret` and/or `app_token`. For MCP, `data` may include
5082
- * `admin_token`. Omitted `data` is treated as an empty object.
5084
+ * `client_secret` and/or `app_token`. For MCP, `data` carries OAuth client
5085
+ * fields only. Omitted `data` is treated as an empty object.
5083
5086
  */
5084
5087
  export type OrgConnectorUpdateRequest = {
5085
5088
  /**
@@ -5631,7 +5634,7 @@ export type SearchDiscoveryRequest = {
5631
5634
  /**
5632
5635
  * Type specifies the type of discovery to perform.
5633
5636
  */
5634
- type: 'logs' | 'traces' | 'events' | 'issues' | 'entities' | 'apm' | 'monitors';
5637
+ type: 'logs' | 'traces' | 'events' | 'issues' | 'entities' | 'apm' | 'monitors' | 'dashboards';
5635
5638
  };
5636
5639
  export type SearchKeysRequest = {
5637
5640
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1538,7 +1538,10 @@ export type ConnectorListResponse = {
1538
1538
  * ConnectorMCPCapability describes an MCP source exposed by a first-class connector.
1539
1539
  */
1540
1540
  export type ConnectorMcpCapability = {
1541
- authState?: string;
1541
+ /**
1542
+ * Whether MCP requests can be authenticated. Omitted when not applicable.
1543
+ */
1544
+ authState?: 'ready' | 'awaiting_auth';
1542
1545
  /**
1543
1546
  * Display name shown for the MCP source.
1544
1547
  */
@@ -1547,9 +1550,9 @@ export type ConnectorMcpCapability = {
1547
1550
  orgDiscoveryPath?: string;
1548
1551
  /**
1549
1552
  * Whether the connected credential holds all grantable user scopes ("full")
1550
- * or a re-consent could grant more ("partial"). Empty when not applicable.
1553
+ * or a re-consent could grant more ("partial"). Omitted when not applicable.
1551
1554
  */
1552
- scopeStatus?: string;
1555
+ scopeStatus?: 'full' | 'partial';
1553
1556
  /**
1554
1557
  * Stable identifier for the connector-provided MCP server.
1555
1558
  */
@@ -1570,7 +1573,7 @@ export type ConnectorMcpSetup = {
1570
1573
  /**
1571
1574
  * Provider setup state.
1572
1575
  */
1573
- state?: 'ready' | 'update_required';
1576
+ state: 'ready' | 'update_required';
1574
1577
  };
1575
1578
 
1576
1579
  /**
@@ -5478,8 +5481,8 @@ export type OrderedReasons = Array<ReasonEntry>;
5478
5481
  * OrgConnectorUpdateRequest wraps mutable org connector fields.
5479
5482
  *
5480
5483
  * For Slack, `name` may be set at the top level and `data` may include
5481
- * `client_secret` and/or `app_token`. For MCP, `data` may include
5482
- * `admin_token`. Omitted `data` is treated as an empty object.
5484
+ * `client_secret` and/or `app_token`. For MCP, `data` carries OAuth client
5485
+ * fields only. Omitted `data` is treated as an empty object.
5483
5486
  */
5484
5487
  export type OrgConnectorUpdateRequest = {
5485
5488
  /**
@@ -6075,7 +6078,7 @@ export type SearchDiscoveryRequest = {
6075
6078
  /**
6076
6079
  * Type specifies the type of discovery to perform.
6077
6080
  */
6078
- type: 'logs' | 'traces' | 'events' | 'issues' | 'entities' | 'apm' | 'monitors';
6081
+ type: 'logs' | 'traces' | 'events' | 'issues' | 'entities' | 'apm' | 'monitors' | 'dashboards';
6079
6082
  };
6080
6083
 
6081
6084
  export type SearchKeysRequest = {