@miradorlabs/web-grpc 3.43.0 → 3.44.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miradorlabs/web-grpc",
3
- "version": "3.43.0",
3
+ "version": "3.44.0",
4
4
  "description": "Generated gRPC (grpc-js) client stubs for the Mirador web gateway.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -21,6 +21,12 @@ export enum ClaudeEnterpriseCapability {
21
21
  CLAUDE_ENTERPRISE_CAPABILITY_USAGE_REPORTS = 1,
22
22
  /** CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY - The member directory. Anthropic: read:members or read:org_audit. */
23
23
  CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY = 2,
24
+ /** CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED - The compliance activity feed. Anthropic: read:compliance_activities. */
25
+ CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED = 3,
26
+ /** CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA - Organizations, roles, groups and settings. Anthropic: read:compliance_org_data. */
27
+ CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA = 4,
28
+ /** CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT - Chats, files, projects, session transcripts and organization users. Anthropic: read:compliance_user_data. */
29
+ CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT = 5,
24
30
  UNRECOGNIZED = -1,
25
31
  }
26
32
 
@@ -35,6 +41,15 @@ export function claudeEnterpriseCapabilityFromJSON(object: any): ClaudeEnterpris
35
41
  case 2:
36
42
  case "CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY":
37
43
  return ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY;
44
+ case 3:
45
+ case "CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED":
46
+ return ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED;
47
+ case 4:
48
+ case "CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA":
49
+ return ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA;
50
+ case 5:
51
+ case "CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT":
52
+ return ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT;
38
53
  case -1:
39
54
  case "UNRECOGNIZED":
40
55
  default:
@@ -50,6 +65,12 @@ export function claudeEnterpriseCapabilityToJSON(object: ClaudeEnterpriseCapabil
50
65
  return "CLAUDE_ENTERPRISE_CAPABILITY_USAGE_REPORTS";
51
66
  case ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY:
52
67
  return "CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY";
68
+ case ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED:
69
+ return "CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED";
70
+ case ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA:
71
+ return "CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA";
72
+ case ClaudeEnterpriseCapability.CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT:
73
+ return "CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT";
53
74
  case ClaudeEnterpriseCapability.UNRECOGNIZED:
54
75
  default:
55
76
  return "UNRECOGNIZED";
@@ -402,7 +423,10 @@ export interface ClaudeEnterpriseSync {
402
423
 
403
424
  export interface CreateClaudeEnterpriseKeyRequest {
404
425
  organizationId: string;
405
- /** An Analytics API key created in claude.ai > Organization settings > API by the primary owner (read:analytics). */
426
+ /**
427
+ * Created in claude.ai > Organization settings > API: an Analytics API key (by the primary owner,
428
+ * read:analytics) or a Compliance Access Key (read:compliance_* scopes).
429
+ */
406
430
  apiKey: string;
407
431
  billingModel: ClaudeEnterpriseBillingModel;
408
432
  }
@@ -3531,10 +3555,10 @@ export interface ClaudeEnterpriseGatewayService {
3531
3555
  metadata?: Metadata,
3532
3556
  ): Promise<GetClaudeEnterpriseConnectorResponse>;
3533
3557
  /**
3534
- * Org admin. Anthropic must accept the key for its usage reports, or it is not stored and the status is
3535
- * STATUS_CODE_VALIDATION_ERROR naming the reason, Anthropic's own words included. The first key creates the
3536
- * connection, every key sets its billing model, and a stored key whose capabilities the new key all reads is
3537
- * replaced.
3558
+ * Org admin. Anthropic must accept the key for its usage reports or a compliance read, or it is not stored and
3559
+ * the status is STATUS_CODE_VALIDATION_ERROR naming the reason, Anthropic's own words included. The first key
3560
+ * creates the connection, every key sets its billing model, and a stored key whose capabilities the new key all
3561
+ * reads is replaced.
3538
3562
  */
3539
3563
  CreateClaudeEnterpriseKey(
3540
3564
  request: CreateClaudeEnterpriseKeyRequest,
@@ -188,10 +188,10 @@ getClaudeEnterpriseConnector: {
188
188
  responseSerialize: serialize_gateway_web_v1_GetClaudeEnterpriseConnectorResponse,
189
189
  responseDeserialize: deserialize_gateway_web_v1_GetClaudeEnterpriseConnectorResponse,
190
190
  },
191
- // Org admin. Anthropic must accept the key for its usage reports, or it is not stored and the status is
192
- // STATUS_CODE_VALIDATION_ERROR naming the reason, Anthropic's own words included. The first key creates the
193
- // connection, every key sets its billing model, and a stored key whose capabilities the new key all reads is
194
- // replaced.
191
+ // Org admin. Anthropic must accept the key for its usage reports or a compliance read, or it is not stored and
192
+ // the status is STATUS_CODE_VALIDATION_ERROR naming the reason, Anthropic's own words included. The first key
193
+ // creates the connection, every key sets its billing model, and a stored key whose capabilities the new key all
194
+ // reads is replaced.
195
195
  createClaudeEnterpriseKey: {
196
196
  path: '/gateway.web.v1.ClaudeEnterpriseGatewayService/CreateClaudeEnterpriseKey',
197
197
  requestStream: false,
@@ -6123,7 +6123,10 @@ proto.gateway.web.v1.ClaudeEnterpriseMember.prototype.setLastActivityDate = func
6123
6123
  proto.gateway.web.v1.ClaudeEnterpriseCapability = {
6124
6124
  CLAUDE_ENTERPRISE_CAPABILITY_UNSPECIFIED: 0,
6125
6125
  CLAUDE_ENTERPRISE_CAPABILITY_USAGE_REPORTS: 1,
6126
- CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY: 2
6126
+ CLAUDE_ENTERPRISE_CAPABILITY_MEMBER_DIRECTORY: 2,
6127
+ CLAUDE_ENTERPRISE_CAPABILITY_ACTIVITY_FEED: 3,
6128
+ CLAUDE_ENTERPRISE_CAPABILITY_ORG_DATA: 4,
6129
+ CLAUDE_ENTERPRISE_CAPABILITY_USER_CONTENT: 5
6127
6130
  };
6128
6131
 
6129
6132
  /**