@evalops/sdk-ts 0.1.13

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.
Files changed (116) hide show
  1. package/README.md +15 -0
  2. package/dist/agentregistry/v1/service_pb.d.ts +458 -0
  3. package/dist/agentregistry/v1/service_pb.js +100 -0
  4. package/dist/agentruntime/v1/runtime_pb.d.ts +1809 -0
  5. package/dist/agentruntime/v1/runtime_pb.js +480 -0
  6. package/dist/agents/v1/agents_pb.d.ts +1151 -0
  7. package/dist/agents/v1/agents_pb.js +256 -0
  8. package/dist/approvals/v1/approvals_pb.d.ts +788 -0
  9. package/dist/approvals/v1/approvals_pb.js +212 -0
  10. package/dist/artifacts/v1/artifacts_pb.d.ts +1079 -0
  11. package/dist/artifacts/v1/artifacts_pb.js +292 -0
  12. package/dist/attestation/v1/attestation_pb.d.ts +359 -0
  13. package/dist/attestation/v1/attestation_pb.js +84 -0
  14. package/dist/attribution/v1/attribution_pb.d.ts +1312 -0
  15. package/dist/attribution/v1/attribution_pb.js +285 -0
  16. package/dist/audit/v1/audit_pb.d.ts +1151 -0
  17. package/dist/audit/v1/audit_pb.js +262 -0
  18. package/dist/buf/validate/validate_pb.d.ts +4827 -0
  19. package/dist/buf/validate/validate_pb.js +356 -0
  20. package/dist/catalogs/v1/catalogs_pb.d.ts +150 -0
  21. package/dist/catalogs/v1/catalogs_pb.js +38 -0
  22. package/dist/common/v1/analytics_pb.d.ts +134 -0
  23. package/dist/common/v1/analytics_pb.js +72 -0
  24. package/dist/common/v1/authz_pb.d.ts +23 -0
  25. package/dist/common/v1/authz_pb.js +26 -0
  26. package/dist/common/v1/delivery_pb.d.ts +36 -0
  27. package/dist/common/v1/delivery_pb.js +40 -0
  28. package/dist/common/v1/entity_pb.d.ts +44 -0
  29. package/dist/common/v1/entity_pb.js +48 -0
  30. package/dist/common/v1/risk_pb.d.ts +36 -0
  31. package/dist/common/v1/risk_pb.js +40 -0
  32. package/dist/compliance/v1/compliance_pb.d.ts +866 -0
  33. package/dist/compliance/v1/compliance_pb.js +240 -0
  34. package/dist/config/v1/config_pb.d.ts +589 -0
  35. package/dist/config/v1/config_pb.js +164 -0
  36. package/dist/connectors/v1/connectors_pb.d.ts +653 -0
  37. package/dist/connectors/v1/connectors_pb.js +236 -0
  38. package/dist/entities/v1/entities_pb.d.ts +784 -0
  39. package/dist/entities/v1/entities_pb.js +197 -0
  40. package/dist/evalpipeline/v1/evalpipeline_pb.d.ts +943 -0
  41. package/dist/evalpipeline/v1/evalpipeline_pb.js +227 -0
  42. package/dist/events/v1/change_pb.d.ts +60 -0
  43. package/dist/events/v1/change_pb.js +14 -0
  44. package/dist/events/v1/cloudevent_pb.d.ts +63 -0
  45. package/dist/events/v1/cloudevent_pb.js +14 -0
  46. package/dist/events/v1/evaluation_pb.d.ts +124 -0
  47. package/dist/events/v1/evaluation_pb.js +24 -0
  48. package/dist/fermata/v1/fermata_pb.d.ts +1869 -0
  49. package/dist/fermata/v1/fermata_pb.js +515 -0
  50. package/dist/fermata/v1/worker_pb.d.ts +223 -0
  51. package/dist/fermata/v1/worker_pb.js +55 -0
  52. package/dist/gate/v1/audit_pb.d.ts +243 -0
  53. package/dist/gate/v1/audit_pb.js +60 -0
  54. package/dist/gate/v1/connector_pb.d.ts +360 -0
  55. package/dist/gate/v1/connector_pb.js +91 -0
  56. package/dist/gate/v1/controlplane_pb.d.ts +345 -0
  57. package/dist/gate/v1/controlplane_pb.js +19 -0
  58. package/dist/gate/v1/identity_group_pb.d.ts +255 -0
  59. package/dist/gate/v1/identity_group_pb.js +90 -0
  60. package/dist/gate/v1/recording_pb.d.ts +93 -0
  61. package/dist/gate/v1/recording_pb.js +35 -0
  62. package/dist/gate/v1/resource_policy_pb.d.ts +541 -0
  63. package/dist/gate/v1/resource_policy_pb.js +145 -0
  64. package/dist/gate/v1/tenant_pb.d.ts +273 -0
  65. package/dist/gate/v1/tenant_pb.js +101 -0
  66. package/dist/gate/v1/webhook_access_pb.d.ts +359 -0
  67. package/dist/gate/v1/webhook_access_pb.js +105 -0
  68. package/dist/google/api/annotations_pb.d.ts +13 -0
  69. package/dist/google/api/annotations_pb.js +26 -0
  70. package/dist/google/api/http_pb.d.ts +440 -0
  71. package/dist/google/api/http_pb.js +33 -0
  72. package/dist/governance/v1/governance_pb.d.ts +1219 -0
  73. package/dist/governance/v1/governance_pb.js +376 -0
  74. package/dist/identity/v1/organizations_pb.d.ts +621 -0
  75. package/dist/identity/v1/organizations_pb.js +166 -0
  76. package/dist/identity/v1/sessions_pb.d.ts +78 -0
  77. package/dist/identity/v1/sessions_pb.js +19 -0
  78. package/dist/identity/v1/tokens_pb.d.ts +332 -0
  79. package/dist/identity/v1/tokens_pb.js +56 -0
  80. package/dist/ingest/v1/admin_pb.d.ts +471 -0
  81. package/dist/ingest/v1/admin_pb.js +112 -0
  82. package/dist/ingest/v1/event_pb.d.ts +155 -0
  83. package/dist/ingest/v1/event_pb.js +24 -0
  84. package/dist/keys/v1/keys_pb.d.ts +241 -0
  85. package/dist/keys/v1/keys_pb.js +52 -0
  86. package/dist/llmgateway/v1/gateway_pb.d.ts +393 -0
  87. package/dist/llmgateway/v1/gateway_pb.js +79 -0
  88. package/dist/memory/v1/memory_pb.d.ts +1260 -0
  89. package/dist/memory/v1/memory_pb.js +243 -0
  90. package/dist/meter/v1/meter_pb.d.ts +1691 -0
  91. package/dist/meter/v1/meter_pb.js +263 -0
  92. package/dist/notifications/v1/notifications_pb.d.ts +777 -0
  93. package/dist/notifications/v1/notifications_pb.js +257 -0
  94. package/dist/objectives/v1/objectives_pb.d.ts +1000 -0
  95. package/dist/objectives/v1/objectives_pb.js +340 -0
  96. package/dist/posture/v1/posture_pb.d.ts +357 -0
  97. package/dist/posture/v1/posture_pb.js +88 -0
  98. package/dist/prompts/v1/prompts_pb.d.ts +864 -0
  99. package/dist/prompts/v1/prompts_pb.js +156 -0
  100. package/dist/relationships/v1/relationships_pb.d.ts +367 -0
  101. package/dist/relationships/v1/relationships_pb.js +96 -0
  102. package/dist/secretbroker/v1/broker_pb.d.ts +888 -0
  103. package/dist/secretbroker/v1/broker_pb.js +168 -0
  104. package/dist/skills/v1/skills_pb.d.ts +652 -0
  105. package/dist/skills/v1/skills_pb.js +164 -0
  106. package/dist/tap/v1/admin_pb.d.ts +530 -0
  107. package/dist/tap/v1/admin_pb.js +132 -0
  108. package/dist/tap/v1/event_pb.d.ts +141 -0
  109. package/dist/tap/v1/event_pb.js +27 -0
  110. package/dist/toolexecution/v1/toolexecution_pb.d.ts +994 -0
  111. package/dist/toolexecution/v1/toolexecution_pb.js +315 -0
  112. package/dist/traces/v1/traces_pb.d.ts +633 -0
  113. package/dist/traces/v1/traces_pb.js +163 -0
  114. package/dist/workflows/v1/workflows_pb.d.ts +1784 -0
  115. package/dist/workflows/v1/workflows_pb.js +431 -0
  116. package/package.json +272 -0
@@ -0,0 +1,1219 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EvidenceRef, Money, TimeRange } from "../../common/v1/analytics_pb.js";
3
+ import type { RiskLevel } from "../../common/v1/risk_pb.js";
4
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file governance/v1/governance.proto.
8
+ */
9
+ export declare const file_governance_v1_governance: GenFile;
10
+ /**
11
+ * ActionEvaluation is the result of evaluating an action against governance rules.
12
+ *
13
+ * @generated from message governance.v1.ActionEvaluation
14
+ */
15
+ export type ActionEvaluation = Message<"governance.v1.ActionEvaluation"> & {
16
+ /**
17
+ * @generated from field: governance.v1.ActionDecision decision = 1;
18
+ */
19
+ decision: ActionDecision;
20
+ /**
21
+ * @generated from field: common.v1.RiskLevel risk_level = 2;
22
+ */
23
+ riskLevel: RiskLevel;
24
+ /**
25
+ * @generated from field: repeated string reasons = 3;
26
+ */
27
+ reasons: string[];
28
+ /**
29
+ * @generated from field: repeated string matched_rules = 4;
30
+ */
31
+ matchedRules: string[];
32
+ /**
33
+ * Approval habit confidence for this action pattern, if available.
34
+ * Consumers can show "94% confidence, 2 more approvals until auto-approve"
35
+ * to help humans understand the trust trajectory.
36
+ *
37
+ * @generated from field: float habit_confidence = 5;
38
+ */
39
+ habitConfidence: number;
40
+ /**
41
+ * @generated from field: int32 habit_observation_count = 6;
42
+ */
43
+ habitObservationCount: number;
44
+ };
45
+ /**
46
+ * Describes the message governance.v1.ActionEvaluation.
47
+ * Use `create(ActionEvaluationSchema)` to create a new message.
48
+ */
49
+ export declare const ActionEvaluationSchema: GenMessage<ActionEvaluation>;
50
+ /**
51
+ * PIIEnforcementPolicy configures classification-based block/redact behavior.
52
+ *
53
+ * @generated from message governance.v1.PIIEnforcementPolicy
54
+ */
55
+ export type PIIEnforcementPolicy = Message<"governance.v1.PIIEnforcementPolicy"> & {
56
+ /**
57
+ * @generated from field: governance.v1.DataClassification redact_at = 1;
58
+ */
59
+ redactAt: DataClassification;
60
+ /**
61
+ * @generated from field: governance.v1.DataClassification block_at = 2;
62
+ */
63
+ blockAt: DataClassification;
64
+ /**
65
+ * @generated from field: string redaction_text = 3;
66
+ */
67
+ redactionText: string;
68
+ };
69
+ /**
70
+ * Describes the message governance.v1.PIIEnforcementPolicy.
71
+ * Use `create(PIIEnforcementPolicySchema)` to create a new message.
72
+ */
73
+ export declare const PIIEnforcementPolicySchema: GenMessage<PIIEnforcementPolicy>;
74
+ /**
75
+ * PIIDetectionResult contains all PII spans found in a text.
76
+ *
77
+ * @generated from message governance.v1.PIIDetectionResult
78
+ */
79
+ export type PIIDetectionResult = Message<"governance.v1.PIIDetectionResult"> & {
80
+ /**
81
+ * @generated from field: repeated governance.v1.PIISpan spans = 1;
82
+ */
83
+ spans: PIISpan[];
84
+ /**
85
+ * @generated from field: governance.v1.DataClassification classification = 2;
86
+ */
87
+ classification: DataClassification;
88
+ /**
89
+ * @generated from field: governance.v1.PIIEnforcementAction enforcement_action = 3;
90
+ */
91
+ enforcementAction: PIIEnforcementAction;
92
+ /**
93
+ * @generated from field: string redacted_text = 4;
94
+ */
95
+ redactedText: string;
96
+ /**
97
+ * @generated from field: repeated string reasons = 5;
98
+ */
99
+ reasons: string[];
100
+ };
101
+ /**
102
+ * Describes the message governance.v1.PIIDetectionResult.
103
+ * Use `create(PIIDetectionResultSchema)` to create a new message.
104
+ */
105
+ export declare const PIIDetectionResultSchema: GenMessage<PIIDetectionResult>;
106
+ /**
107
+ * PIISpan identifies a single occurrence of PII within text.
108
+ *
109
+ * @generated from message governance.v1.PIISpan
110
+ */
111
+ export type PIISpan = Message<"governance.v1.PIISpan"> & {
112
+ /**
113
+ * @generated from field: int32 start_offset = 1;
114
+ */
115
+ startOffset: number;
116
+ /**
117
+ * @generated from field: int32 end_offset = 2;
118
+ */
119
+ endOffset: number;
120
+ /**
121
+ * @generated from field: governance.v1.PIICategory category = 3;
122
+ */
123
+ category: PIICategory;
124
+ /**
125
+ * @generated from field: string text = 4;
126
+ */
127
+ text: string;
128
+ /**
129
+ * @generated from field: float confidence = 5;
130
+ */
131
+ confidence: number;
132
+ /**
133
+ * @generated from field: governance.v1.DataClassification classification = 6;
134
+ */
135
+ classification: DataClassification;
136
+ /**
137
+ * @generated from field: string detector = 7;
138
+ */
139
+ detector: string;
140
+ };
141
+ /**
142
+ * Describes the message governance.v1.PIISpan.
143
+ * Use `create(PIISpanSchema)` to create a new message.
144
+ */
145
+ export declare const PIISpanSchema: GenMessage<PIISpan>;
146
+ /**
147
+ * RetentionPolicy defines data retention rules for a workspace.
148
+ *
149
+ * @generated from message governance.v1.RetentionPolicy
150
+ */
151
+ export type RetentionPolicy = Message<"governance.v1.RetentionPolicy"> & {
152
+ /**
153
+ * @generated from field: string workspace_id = 1;
154
+ */
155
+ workspaceId: string;
156
+ /**
157
+ * @generated from field: int32 retention_days = 2;
158
+ */
159
+ retentionDays: number;
160
+ /**
161
+ * @generated from field: bool legal_hold_override = 3;
162
+ */
163
+ legalHoldOverride: boolean;
164
+ };
165
+ /**
166
+ * Describes the message governance.v1.RetentionPolicy.
167
+ * Use `create(RetentionPolicySchema)` to create a new message.
168
+ */
169
+ export declare const RetentionPolicySchema: GenMessage<RetentionPolicy>;
170
+ /**
171
+ * LegalHold prevents data deletion for compliance or legal reasons.
172
+ *
173
+ * @generated from message governance.v1.LegalHold
174
+ */
175
+ export type LegalHold = Message<"governance.v1.LegalHold"> & {
176
+ /**
177
+ * @generated from field: string id = 1;
178
+ */
179
+ id: string;
180
+ /**
181
+ * @generated from field: string workspace_id = 2;
182
+ */
183
+ workspaceId: string;
184
+ /**
185
+ * @generated from field: string scope = 3;
186
+ */
187
+ scope: string;
188
+ /**
189
+ * @generated from field: string reason = 4;
190
+ */
191
+ reason: string;
192
+ /**
193
+ * @generated from field: string created_by = 5;
194
+ */
195
+ createdBy: string;
196
+ /**
197
+ * @generated from field: bool active = 6;
198
+ */
199
+ active: boolean;
200
+ /**
201
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
202
+ */
203
+ createdAt?: Timestamp;
204
+ /**
205
+ * @generated from field: google.protobuf.Timestamp expires_at = 8;
206
+ */
207
+ expiresAt?: Timestamp;
208
+ };
209
+ /**
210
+ * Describes the message governance.v1.LegalHold.
211
+ * Use `create(LegalHoldSchema)` to create a new message.
212
+ */
213
+ export declare const LegalHoldSchema: GenMessage<LegalHold>;
214
+ /**
215
+ * SafetyPolicy defines the safety rules for a workspace.
216
+ *
217
+ * @generated from message governance.v1.SafetyPolicy
218
+ */
219
+ export type SafetyPolicy = Message<"governance.v1.SafetyPolicy"> & {
220
+ /**
221
+ * @generated from field: string workspace_id = 1;
222
+ */
223
+ workspaceId: string;
224
+ /**
225
+ * @generated from field: repeated governance.v1.SafetyRule rules = 2;
226
+ */
227
+ rules: SafetyRule[];
228
+ };
229
+ /**
230
+ * Describes the message governance.v1.SafetyPolicy.
231
+ * Use `create(SafetyPolicySchema)` to create a new message.
232
+ */
233
+ export declare const SafetyPolicySchema: GenMessage<SafetyPolicy>;
234
+ /**
235
+ * SafetyRule is a single rule within a safety policy.
236
+ *
237
+ * @generated from message governance.v1.SafetyRule
238
+ */
239
+ export type SafetyRule = Message<"governance.v1.SafetyRule"> & {
240
+ /**
241
+ * @generated from field: string id = 1;
242
+ */
243
+ id: string;
244
+ /**
245
+ * @generated from field: string pattern = 2;
246
+ */
247
+ pattern: string;
248
+ /**
249
+ * @generated from field: governance.v1.ActionDecision action = 3;
250
+ */
251
+ action: ActionDecision;
252
+ /**
253
+ * @generated from field: common.v1.RiskLevel risk_level = 4;
254
+ */
255
+ riskLevel: RiskLevel;
256
+ /**
257
+ * @generated from field: string description = 5;
258
+ */
259
+ description: string;
260
+ };
261
+ /**
262
+ * Describes the message governance.v1.SafetyRule.
263
+ * Use `create(SafetyRuleSchema)` to create a new message.
264
+ */
265
+ export declare const SafetyRuleSchema: GenMessage<SafetyRule>;
266
+ /**
267
+ * @generated from message governance.v1.ActionContext
268
+ */
269
+ export type ActionContext = Message<"governance.v1.ActionContext"> & {
270
+ /**
271
+ * @generated from field: int64 record_count = 1;
272
+ */
273
+ recordCount: bigint;
274
+ /**
275
+ * @generated from field: double currency_amount = 2;
276
+ */
277
+ currencyAmount: number;
278
+ /**
279
+ * @generated from field: string currency_code = 3;
280
+ */
281
+ currencyCode: string;
282
+ /**
283
+ * @generated from field: string environment = 4;
284
+ */
285
+ environment: string;
286
+ /**
287
+ * @generated from field: string data_classification = 5;
288
+ */
289
+ dataClassification: string;
290
+ };
291
+ /**
292
+ * Describes the message governance.v1.ActionContext.
293
+ * Use `create(ActionContextSchema)` to create a new message.
294
+ */
295
+ export declare const ActionContextSchema: GenMessage<ActionContext>;
296
+ /**
297
+ * @generated from message governance.v1.EvaluateActionRequest
298
+ */
299
+ export type EvaluateActionRequest = Message<"governance.v1.EvaluateActionRequest"> & {
300
+ /**
301
+ * @generated from field: string workspace_id = 1;
302
+ */
303
+ workspaceId: string;
304
+ /**
305
+ * @generated from field: string agent_id = 2;
306
+ */
307
+ agentId: string;
308
+ /**
309
+ * @generated from field: string action_type = 3;
310
+ */
311
+ actionType: string;
312
+ /**
313
+ * @generated from field: bytes action_payload = 4;
314
+ */
315
+ actionPayload: Uint8Array;
316
+ /**
317
+ * @generated from field: governance.v1.ActionContext context = 5;
318
+ */
319
+ context?: ActionContext;
320
+ /**
321
+ * @generated from field: governance.v1.PIIEnforcementPolicy pii_policy = 6;
322
+ */
323
+ piiPolicy?: PIIEnforcementPolicy;
324
+ };
325
+ /**
326
+ * Describes the message governance.v1.EvaluateActionRequest.
327
+ * Use `create(EvaluateActionRequestSchema)` to create a new message.
328
+ */
329
+ export declare const EvaluateActionRequestSchema: GenMessage<EvaluateActionRequest>;
330
+ /**
331
+ * @generated from message governance.v1.EvaluateActionResponse
332
+ */
333
+ export type EvaluateActionResponse = Message<"governance.v1.EvaluateActionResponse"> & {
334
+ /**
335
+ * @generated from field: governance.v1.ActionEvaluation evaluation = 1;
336
+ */
337
+ evaluation?: ActionEvaluation;
338
+ /**
339
+ * @generated from field: governance.v1.PIIDetectionResult pii = 2;
340
+ */
341
+ pii?: PIIDetectionResult;
342
+ };
343
+ /**
344
+ * Describes the message governance.v1.EvaluateActionResponse.
345
+ * Use `create(EvaluateActionResponseSchema)` to create a new message.
346
+ */
347
+ export declare const EvaluateActionResponseSchema: GenMessage<EvaluateActionResponse>;
348
+ /**
349
+ * @generated from message governance.v1.DetectPIIRequest
350
+ */
351
+ export type DetectPIIRequest = Message<"governance.v1.DetectPIIRequest"> & {
352
+ /**
353
+ * @generated from field: string text = 1;
354
+ */
355
+ text: string;
356
+ /**
357
+ * @generated from field: repeated governance.v1.PIICategory categories = 2;
358
+ */
359
+ categories: PIICategory[];
360
+ /**
361
+ * @generated from field: governance.v1.PIIEnforcementPolicy policy = 3;
362
+ */
363
+ policy?: PIIEnforcementPolicy;
364
+ };
365
+ /**
366
+ * Describes the message governance.v1.DetectPIIRequest.
367
+ * Use `create(DetectPIIRequestSchema)` to create a new message.
368
+ */
369
+ export declare const DetectPIIRequestSchema: GenMessage<DetectPIIRequest>;
370
+ /**
371
+ * @generated from message governance.v1.DetectPIIResponse
372
+ */
373
+ export type DetectPIIResponse = Message<"governance.v1.DetectPIIResponse"> & {
374
+ /**
375
+ * @generated from field: governance.v1.PIIDetectionResult result = 1;
376
+ */
377
+ result?: PIIDetectionResult;
378
+ };
379
+ /**
380
+ * Describes the message governance.v1.DetectPIIResponse.
381
+ * Use `create(DetectPIIResponseSchema)` to create a new message.
382
+ */
383
+ export declare const DetectPIIResponseSchema: GenMessage<DetectPIIResponse>;
384
+ /**
385
+ * @generated from message governance.v1.ClassifyRiskRequest
386
+ */
387
+ export type ClassifyRiskRequest = Message<"governance.v1.ClassifyRiskRequest"> & {
388
+ /**
389
+ * @generated from field: string workspace_id = 1;
390
+ */
391
+ workspaceId: string;
392
+ /**
393
+ * @generated from field: string action_type = 2;
394
+ */
395
+ actionType: string;
396
+ /**
397
+ * @generated from field: bytes action_payload = 3;
398
+ */
399
+ actionPayload: Uint8Array;
400
+ /**
401
+ * @generated from field: governance.v1.ActionContext context = 4;
402
+ */
403
+ context?: ActionContext;
404
+ };
405
+ /**
406
+ * Describes the message governance.v1.ClassifyRiskRequest.
407
+ * Use `create(ClassifyRiskRequestSchema)` to create a new message.
408
+ */
409
+ export declare const ClassifyRiskRequestSchema: GenMessage<ClassifyRiskRequest>;
410
+ /**
411
+ * @generated from message governance.v1.ClassifyRiskResponse
412
+ */
413
+ export type ClassifyRiskResponse = Message<"governance.v1.ClassifyRiskResponse"> & {
414
+ /**
415
+ * @generated from field: common.v1.RiskLevel risk_level = 1;
416
+ */
417
+ riskLevel: RiskLevel;
418
+ /**
419
+ * @generated from field: repeated string reasons = 2;
420
+ */
421
+ reasons: string[];
422
+ };
423
+ /**
424
+ * Describes the message governance.v1.ClassifyRiskResponse.
425
+ * Use `create(ClassifyRiskResponseSchema)` to create a new message.
426
+ */
427
+ export declare const ClassifyRiskResponseSchema: GenMessage<ClassifyRiskResponse>;
428
+ /**
429
+ * @generated from message governance.v1.CheckCredentialExposureRequest
430
+ */
431
+ export type CheckCredentialExposureRequest = Message<"governance.v1.CheckCredentialExposureRequest"> & {
432
+ /**
433
+ * @generated from field: string text = 1;
434
+ */
435
+ text: string;
436
+ };
437
+ /**
438
+ * Describes the message governance.v1.CheckCredentialExposureRequest.
439
+ * Use `create(CheckCredentialExposureRequestSchema)` to create a new message.
440
+ */
441
+ export declare const CheckCredentialExposureRequestSchema: GenMessage<CheckCredentialExposureRequest>;
442
+ /**
443
+ * @generated from message governance.v1.CheckCredentialExposureResponse
444
+ */
445
+ export type CheckCredentialExposureResponse = Message<"governance.v1.CheckCredentialExposureResponse"> & {
446
+ /**
447
+ * @generated from field: bool exposed = 1;
448
+ */
449
+ exposed: boolean;
450
+ /**
451
+ * @generated from field: repeated string credential_types = 2;
452
+ */
453
+ credentialTypes: string[];
454
+ /**
455
+ * @generated from field: repeated string locations = 3;
456
+ */
457
+ locations: string[];
458
+ };
459
+ /**
460
+ * Describes the message governance.v1.CheckCredentialExposureResponse.
461
+ * Use `create(CheckCredentialExposureResponseSchema)` to create a new message.
462
+ */
463
+ export declare const CheckCredentialExposureResponseSchema: GenMessage<CheckCredentialExposureResponse>;
464
+ /**
465
+ * @generated from message governance.v1.GetRetentionPolicyRequest
466
+ */
467
+ export type GetRetentionPolicyRequest = Message<"governance.v1.GetRetentionPolicyRequest"> & {
468
+ /**
469
+ * @generated from field: string workspace_id = 1;
470
+ */
471
+ workspaceId: string;
472
+ };
473
+ /**
474
+ * Describes the message governance.v1.GetRetentionPolicyRequest.
475
+ * Use `create(GetRetentionPolicyRequestSchema)` to create a new message.
476
+ */
477
+ export declare const GetRetentionPolicyRequestSchema: GenMessage<GetRetentionPolicyRequest>;
478
+ /**
479
+ * @generated from message governance.v1.GetRetentionPolicyResponse
480
+ */
481
+ export type GetRetentionPolicyResponse = Message<"governance.v1.GetRetentionPolicyResponse"> & {
482
+ /**
483
+ * @generated from field: governance.v1.RetentionPolicy policy = 1;
484
+ */
485
+ policy?: RetentionPolicy;
486
+ };
487
+ /**
488
+ * Describes the message governance.v1.GetRetentionPolicyResponse.
489
+ * Use `create(GetRetentionPolicyResponseSchema)` to create a new message.
490
+ */
491
+ export declare const GetRetentionPolicyResponseSchema: GenMessage<GetRetentionPolicyResponse>;
492
+ /**
493
+ * @generated from message governance.v1.SetRetentionPolicyRequest
494
+ */
495
+ export type SetRetentionPolicyRequest = Message<"governance.v1.SetRetentionPolicyRequest"> & {
496
+ /**
497
+ * @generated from field: governance.v1.RetentionPolicy policy = 1;
498
+ */
499
+ policy?: RetentionPolicy;
500
+ };
501
+ /**
502
+ * Describes the message governance.v1.SetRetentionPolicyRequest.
503
+ * Use `create(SetRetentionPolicyRequestSchema)` to create a new message.
504
+ */
505
+ export declare const SetRetentionPolicyRequestSchema: GenMessage<SetRetentionPolicyRequest>;
506
+ /**
507
+ * @generated from message governance.v1.SetRetentionPolicyResponse
508
+ */
509
+ export type SetRetentionPolicyResponse = Message<"governance.v1.SetRetentionPolicyResponse"> & {
510
+ /**
511
+ * @generated from field: governance.v1.RetentionPolicy policy = 1;
512
+ */
513
+ policy?: RetentionPolicy;
514
+ };
515
+ /**
516
+ * Describes the message governance.v1.SetRetentionPolicyResponse.
517
+ * Use `create(SetRetentionPolicyResponseSchema)` to create a new message.
518
+ */
519
+ export declare const SetRetentionPolicyResponseSchema: GenMessage<SetRetentionPolicyResponse>;
520
+ /**
521
+ * @generated from message governance.v1.CheckLegalHoldRequest
522
+ */
523
+ export type CheckLegalHoldRequest = Message<"governance.v1.CheckLegalHoldRequest"> & {
524
+ /**
525
+ * @generated from field: string workspace_id = 1;
526
+ */
527
+ workspaceId: string;
528
+ /**
529
+ * @generated from field: string scope = 2;
530
+ */
531
+ scope: string;
532
+ };
533
+ /**
534
+ * Describes the message governance.v1.CheckLegalHoldRequest.
535
+ * Use `create(CheckLegalHoldRequestSchema)` to create a new message.
536
+ */
537
+ export declare const CheckLegalHoldRequestSchema: GenMessage<CheckLegalHoldRequest>;
538
+ /**
539
+ * @generated from message governance.v1.CheckLegalHoldResponse
540
+ */
541
+ export type CheckLegalHoldResponse = Message<"governance.v1.CheckLegalHoldResponse"> & {
542
+ /**
543
+ * @generated from field: bool held = 1;
544
+ */
545
+ held: boolean;
546
+ /**
547
+ * @generated from field: repeated governance.v1.LegalHold holds = 2;
548
+ */
549
+ holds: LegalHold[];
550
+ };
551
+ /**
552
+ * Describes the message governance.v1.CheckLegalHoldResponse.
553
+ * Use `create(CheckLegalHoldResponseSchema)` to create a new message.
554
+ */
555
+ export declare const CheckLegalHoldResponseSchema: GenMessage<CheckLegalHoldResponse>;
556
+ /**
557
+ * @generated from message governance.v1.SetLegalHoldRequest
558
+ */
559
+ export type SetLegalHoldRequest = Message<"governance.v1.SetLegalHoldRequest"> & {
560
+ /**
561
+ * @generated from field: governance.v1.LegalHold hold = 1;
562
+ */
563
+ hold?: LegalHold;
564
+ };
565
+ /**
566
+ * Describes the message governance.v1.SetLegalHoldRequest.
567
+ * Use `create(SetLegalHoldRequestSchema)` to create a new message.
568
+ */
569
+ export declare const SetLegalHoldRequestSchema: GenMessage<SetLegalHoldRequest>;
570
+ /**
571
+ * @generated from message governance.v1.SetLegalHoldResponse
572
+ */
573
+ export type SetLegalHoldResponse = Message<"governance.v1.SetLegalHoldResponse"> & {
574
+ /**
575
+ * @generated from field: governance.v1.LegalHold hold = 1;
576
+ */
577
+ hold?: LegalHold;
578
+ };
579
+ /**
580
+ * Describes the message governance.v1.SetLegalHoldResponse.
581
+ * Use `create(SetLegalHoldResponseSchema)` to create a new message.
582
+ */
583
+ export declare const SetLegalHoldResponseSchema: GenMessage<SetLegalHoldResponse>;
584
+ /**
585
+ * @generated from message governance.v1.GetSafetyPolicyRequest
586
+ */
587
+ export type GetSafetyPolicyRequest = Message<"governance.v1.GetSafetyPolicyRequest"> & {
588
+ /**
589
+ * @generated from field: string workspace_id = 1;
590
+ */
591
+ workspaceId: string;
592
+ };
593
+ /**
594
+ * Describes the message governance.v1.GetSafetyPolicyRequest.
595
+ * Use `create(GetSafetyPolicyRequestSchema)` to create a new message.
596
+ */
597
+ export declare const GetSafetyPolicyRequestSchema: GenMessage<GetSafetyPolicyRequest>;
598
+ /**
599
+ * @generated from message governance.v1.GetSafetyPolicyResponse
600
+ */
601
+ export type GetSafetyPolicyResponse = Message<"governance.v1.GetSafetyPolicyResponse"> & {
602
+ /**
603
+ * @generated from field: governance.v1.SafetyPolicy policy = 1;
604
+ */
605
+ policy?: SafetyPolicy;
606
+ };
607
+ /**
608
+ * Describes the message governance.v1.GetSafetyPolicyResponse.
609
+ * Use `create(GetSafetyPolicyResponseSchema)` to create a new message.
610
+ */
611
+ export declare const GetSafetyPolicyResponseSchema: GenMessage<GetSafetyPolicyResponse>;
612
+ /**
613
+ * @generated from message governance.v1.SetSafetyPolicyRequest
614
+ */
615
+ export type SetSafetyPolicyRequest = Message<"governance.v1.SetSafetyPolicyRequest"> & {
616
+ /**
617
+ * @generated from field: governance.v1.SafetyPolicy policy = 1;
618
+ */
619
+ policy?: SafetyPolicy;
620
+ };
621
+ /**
622
+ * Describes the message governance.v1.SetSafetyPolicyRequest.
623
+ * Use `create(SetSafetyPolicyRequestSchema)` to create a new message.
624
+ */
625
+ export declare const SetSafetyPolicyRequestSchema: GenMessage<SetSafetyPolicyRequest>;
626
+ /**
627
+ * @generated from message governance.v1.SetSafetyPolicyResponse
628
+ */
629
+ export type SetSafetyPolicyResponse = Message<"governance.v1.SetSafetyPolicyResponse"> & {
630
+ /**
631
+ * @generated from field: governance.v1.SafetyPolicy policy = 1;
632
+ */
633
+ policy?: SafetyPolicy;
634
+ };
635
+ /**
636
+ * Describes the message governance.v1.SetSafetyPolicyResponse.
637
+ * Use `create(SetSafetyPolicyResponseSchema)` to create a new message.
638
+ */
639
+ export declare const SetSafetyPolicyResponseSchema: GenMessage<SetSafetyPolicyResponse>;
640
+ /**
641
+ * @generated from message governance.v1.RecommendPolicyChangesRequest
642
+ */
643
+ export type RecommendPolicyChangesRequest = Message<"governance.v1.RecommendPolicyChangesRequest"> & {
644
+ /**
645
+ * @generated from field: string organization_id = 1;
646
+ */
647
+ organizationId: string;
648
+ /**
649
+ * @generated from field: string workspace_id = 2;
650
+ */
651
+ workspaceId: string;
652
+ /**
653
+ * @generated from field: common.v1.TimeRange period = 3;
654
+ */
655
+ period?: TimeRange;
656
+ /**
657
+ * @generated from field: float min_auto_approve_confidence = 4;
658
+ */
659
+ minAutoApproveConfidence: number;
660
+ /**
661
+ * @generated from field: int32 min_observation_count = 5;
662
+ */
663
+ minObservationCount: number;
664
+ /**
665
+ * @generated from field: double min_attributed_revenue_usd = 6;
666
+ */
667
+ minAttributedRevenueUsd: number;
668
+ /**
669
+ * @generated from field: int32 max_recommendations = 7;
670
+ */
671
+ maxRecommendations: number;
672
+ };
673
+ /**
674
+ * Describes the message governance.v1.RecommendPolicyChangesRequest.
675
+ * Use `create(RecommendPolicyChangesRequestSchema)` to create a new message.
676
+ */
677
+ export declare const RecommendPolicyChangesRequestSchema: GenMessage<RecommendPolicyChangesRequest>;
678
+ /**
679
+ * @generated from message governance.v1.PolicyRecommendation
680
+ */
681
+ export type PolicyRecommendation = Message<"governance.v1.PolicyRecommendation"> & {
682
+ /**
683
+ * @generated from field: string id = 1;
684
+ */
685
+ id: string;
686
+ /**
687
+ * @generated from field: governance.v1.PolicyRecommendationKind kind = 2;
688
+ */
689
+ kind: PolicyRecommendationKind;
690
+ /**
691
+ * @generated from field: string workspace_id = 3;
692
+ */
693
+ workspaceId: string;
694
+ /**
695
+ * @generated from field: string surface = 4;
696
+ */
697
+ surface: string;
698
+ /**
699
+ * @generated from field: string action_type = 5;
700
+ */
701
+ actionType: string;
702
+ /**
703
+ * @generated from field: common.v1.RiskLevel risk_level = 6;
704
+ */
705
+ riskLevel: RiskLevel;
706
+ /**
707
+ * @generated from field: governance.v1.ActionDecision proposed_decision = 7;
708
+ */
709
+ proposedDecision: ActionDecision;
710
+ /**
711
+ * @generated from field: governance.v1.SafetyRule proposed_rule = 8;
712
+ */
713
+ proposedRule?: SafetyRule;
714
+ /**
715
+ * @generated from field: float confidence = 9;
716
+ */
717
+ confidence: number;
718
+ /**
719
+ * @generated from field: int32 observation_count = 10;
720
+ */
721
+ observationCount: number;
722
+ /**
723
+ * @generated from field: int32 incident_count = 11;
724
+ */
725
+ incidentCount: number;
726
+ /**
727
+ * @generated from field: common.v1.Money attributed_revenue = 12;
728
+ */
729
+ attributedRevenue?: Money;
730
+ /**
731
+ * @generated from field: repeated string rationale = 13;
732
+ */
733
+ rationale: string[];
734
+ /**
735
+ * @generated from field: string rego_snippet = 14;
736
+ */
737
+ regoSnippet: string;
738
+ /**
739
+ * @generated from field: repeated common.v1.EvidenceRef evidence = 15;
740
+ */
741
+ evidence: EvidenceRef[];
742
+ };
743
+ /**
744
+ * Describes the message governance.v1.PolicyRecommendation.
745
+ * Use `create(PolicyRecommendationSchema)` to create a new message.
746
+ */
747
+ export declare const PolicyRecommendationSchema: GenMessage<PolicyRecommendation>;
748
+ /**
749
+ * @generated from message governance.v1.RecommendPolicyChangesResponse
750
+ */
751
+ export type RecommendPolicyChangesResponse = Message<"governance.v1.RecommendPolicyChangesResponse"> & {
752
+ /**
753
+ * @generated from field: common.v1.TimeRange period = 1;
754
+ */
755
+ period?: TimeRange;
756
+ /**
757
+ * @generated from field: repeated governance.v1.PolicyRecommendation recommendations = 2;
758
+ */
759
+ recommendations: PolicyRecommendation[];
760
+ /**
761
+ * @generated from field: governance.v1.PolicyRecommendationRun run = 3;
762
+ */
763
+ run?: PolicyRecommendationRun;
764
+ };
765
+ /**
766
+ * Describes the message governance.v1.RecommendPolicyChangesResponse.
767
+ * Use `create(RecommendPolicyChangesResponseSchema)` to create a new message.
768
+ */
769
+ export declare const RecommendPolicyChangesResponseSchema: GenMessage<RecommendPolicyChangesResponse>;
770
+ /**
771
+ * @generated from message governance.v1.PolicyRecommendationRun
772
+ */
773
+ export type PolicyRecommendationRun = Message<"governance.v1.PolicyRecommendationRun"> & {
774
+ /**
775
+ * @generated from field: string id = 1;
776
+ */
777
+ id: string;
778
+ /**
779
+ * @generated from field: string organization_id = 2;
780
+ */
781
+ organizationId: string;
782
+ /**
783
+ * @generated from field: string workspace_id = 3;
784
+ */
785
+ workspaceId: string;
786
+ /**
787
+ * @generated from field: common.v1.TimeRange period = 4;
788
+ */
789
+ period?: TimeRange;
790
+ /**
791
+ * @generated from field: repeated governance.v1.PolicyRecommendation recommendations = 5;
792
+ */
793
+ recommendations: PolicyRecommendation[];
794
+ /**
795
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
796
+ */
797
+ createdAt?: Timestamp;
798
+ /**
799
+ * @generated from field: int32 recommendation_count = 7;
800
+ */
801
+ recommendationCount: number;
802
+ };
803
+ /**
804
+ * Describes the message governance.v1.PolicyRecommendationRun.
805
+ * Use `create(PolicyRecommendationRunSchema)` to create a new message.
806
+ */
807
+ export declare const PolicyRecommendationRunSchema: GenMessage<PolicyRecommendationRun>;
808
+ /**
809
+ * @generated from message governance.v1.GetPolicyRecommendationRunRequest
810
+ */
811
+ export type GetPolicyRecommendationRunRequest = Message<"governance.v1.GetPolicyRecommendationRunRequest"> & {
812
+ /**
813
+ * @generated from field: string workspace_id = 1;
814
+ */
815
+ workspaceId: string;
816
+ /**
817
+ * @generated from field: string run_id = 2;
818
+ */
819
+ runId: string;
820
+ };
821
+ /**
822
+ * Describes the message governance.v1.GetPolicyRecommendationRunRequest.
823
+ * Use `create(GetPolicyRecommendationRunRequestSchema)` to create a new message.
824
+ */
825
+ export declare const GetPolicyRecommendationRunRequestSchema: GenMessage<GetPolicyRecommendationRunRequest>;
826
+ /**
827
+ * @generated from message governance.v1.GetPolicyRecommendationRunResponse
828
+ */
829
+ export type GetPolicyRecommendationRunResponse = Message<"governance.v1.GetPolicyRecommendationRunResponse"> & {
830
+ /**
831
+ * @generated from field: governance.v1.PolicyRecommendationRun run = 1;
832
+ */
833
+ run?: PolicyRecommendationRun;
834
+ };
835
+ /**
836
+ * Describes the message governance.v1.GetPolicyRecommendationRunResponse.
837
+ * Use `create(GetPolicyRecommendationRunResponseSchema)` to create a new message.
838
+ */
839
+ export declare const GetPolicyRecommendationRunResponseSchema: GenMessage<GetPolicyRecommendationRunResponse>;
840
+ /**
841
+ * @generated from message governance.v1.ListPolicyRecommendationRunsRequest
842
+ */
843
+ export type ListPolicyRecommendationRunsRequest = Message<"governance.v1.ListPolicyRecommendationRunsRequest"> & {
844
+ /**
845
+ * @generated from field: string workspace_id = 1;
846
+ */
847
+ workspaceId: string;
848
+ /**
849
+ * @generated from field: int32 page_size = 2;
850
+ */
851
+ pageSize: number;
852
+ /**
853
+ * @generated from field: string page_token = 3;
854
+ */
855
+ pageToken: string;
856
+ };
857
+ /**
858
+ * Describes the message governance.v1.ListPolicyRecommendationRunsRequest.
859
+ * Use `create(ListPolicyRecommendationRunsRequestSchema)` to create a new message.
860
+ */
861
+ export declare const ListPolicyRecommendationRunsRequestSchema: GenMessage<ListPolicyRecommendationRunsRequest>;
862
+ /**
863
+ * @generated from message governance.v1.ListPolicyRecommendationRunsResponse
864
+ */
865
+ export type ListPolicyRecommendationRunsResponse = Message<"governance.v1.ListPolicyRecommendationRunsResponse"> & {
866
+ /**
867
+ * @generated from field: repeated governance.v1.PolicyRecommendationRun runs = 1;
868
+ */
869
+ runs: PolicyRecommendationRun[];
870
+ /**
871
+ * @generated from field: string next_page_token = 2;
872
+ */
873
+ nextPageToken: string;
874
+ };
875
+ /**
876
+ * Describes the message governance.v1.ListPolicyRecommendationRunsResponse.
877
+ * Use `create(ListPolicyRecommendationRunsResponseSchema)` to create a new message.
878
+ */
879
+ export declare const ListPolicyRecommendationRunsResponseSchema: GenMessage<ListPolicyRecommendationRunsResponse>;
880
+ /**
881
+ * @generated from message governance.v1.ApplyPolicyRecommendationRequest
882
+ */
883
+ export type ApplyPolicyRecommendationRequest = Message<"governance.v1.ApplyPolicyRecommendationRequest"> & {
884
+ /**
885
+ * @generated from field: string workspace_id = 1;
886
+ */
887
+ workspaceId: string;
888
+ /**
889
+ * @generated from field: governance.v1.PolicyRecommendation recommendation = 2;
890
+ */
891
+ recommendation?: PolicyRecommendation;
892
+ /**
893
+ * @generated from field: string applied_by = 3;
894
+ */
895
+ appliedBy: string;
896
+ /**
897
+ * @generated from field: string review_note = 4;
898
+ */
899
+ reviewNote: string;
900
+ /**
901
+ * @generated from field: bool allow_relaxing_existing_policy = 5;
902
+ */
903
+ allowRelaxingExistingPolicy: boolean;
904
+ /**
905
+ * @generated from field: string approval_request_id = 6;
906
+ */
907
+ approvalRequestId: string;
908
+ /**
909
+ * @generated from field: bool require_approved_policy_change = 7;
910
+ */
911
+ requireApprovedPolicyChange: boolean;
912
+ };
913
+ /**
914
+ * Describes the message governance.v1.ApplyPolicyRecommendationRequest.
915
+ * Use `create(ApplyPolicyRecommendationRequestSchema)` to create a new message.
916
+ */
917
+ export declare const ApplyPolicyRecommendationRequestSchema: GenMessage<ApplyPolicyRecommendationRequest>;
918
+ /**
919
+ * @generated from message governance.v1.ApplyPolicyRecommendationResponse
920
+ */
921
+ export type ApplyPolicyRecommendationResponse = Message<"governance.v1.ApplyPolicyRecommendationResponse"> & {
922
+ /**
923
+ * @generated from field: governance.v1.SafetyPolicy policy = 1;
924
+ */
925
+ policy?: SafetyPolicy;
926
+ /**
927
+ * @generated from field: governance.v1.SafetyRule applied_rule = 2;
928
+ */
929
+ appliedRule?: SafetyRule;
930
+ /**
931
+ * @generated from field: bool replaced_existing_rule = 3;
932
+ */
933
+ replacedExistingRule: boolean;
934
+ /**
935
+ * @generated from field: string approval_request_id = 4;
936
+ */
937
+ approvalRequestId: string;
938
+ };
939
+ /**
940
+ * Describes the message governance.v1.ApplyPolicyRecommendationResponse.
941
+ * Use `create(ApplyPolicyRecommendationResponseSchema)` to create a new message.
942
+ */
943
+ export declare const ApplyPolicyRecommendationResponseSchema: GenMessage<ApplyPolicyRecommendationResponse>;
944
+ /**
945
+ * ActionDecision describes the governance decision for an action.
946
+ *
947
+ * @generated from enum governance.v1.ActionDecision
948
+ */
949
+ export declare enum ActionDecision {
950
+ /**
951
+ * @generated from enum value: ACTION_DECISION_UNSPECIFIED = 0;
952
+ */
953
+ UNSPECIFIED = 0,
954
+ /**
955
+ * @generated from enum value: ACTION_DECISION_ALLOW = 1;
956
+ */
957
+ ALLOW = 1,
958
+ /**
959
+ * @generated from enum value: ACTION_DECISION_DENY = 2;
960
+ */
961
+ DENY = 2,
962
+ /**
963
+ * @generated from enum value: ACTION_DECISION_REQUIRE_APPROVAL = 3;
964
+ */
965
+ REQUIRE_APPROVAL = 3
966
+ }
967
+ /**
968
+ * Describes the enum governance.v1.ActionDecision.
969
+ */
970
+ export declare const ActionDecisionSchema: GenEnum<ActionDecision>;
971
+ /**
972
+ * @generated from enum governance.v1.PolicyRecommendationKind
973
+ */
974
+ export declare enum PolicyRecommendationKind {
975
+ /**
976
+ * @generated from enum value: POLICY_RECOMMENDATION_KIND_UNSPECIFIED = 0;
977
+ */
978
+ UNSPECIFIED = 0,
979
+ /**
980
+ * @generated from enum value: POLICY_RECOMMENDATION_KIND_AUTO_APPROVE = 1;
981
+ */
982
+ AUTO_APPROVE = 1,
983
+ /**
984
+ * @generated from enum value: POLICY_RECOMMENDATION_KIND_ESCALATE = 2;
985
+ */
986
+ ESCALATE = 2,
987
+ /**
988
+ * @generated from enum value: POLICY_RECOMMENDATION_KIND_POLICY_GAP = 3;
989
+ */
990
+ POLICY_GAP = 3
991
+ }
992
+ /**
993
+ * Describes the enum governance.v1.PolicyRecommendationKind.
994
+ */
995
+ export declare const PolicyRecommendationKindSchema: GenEnum<PolicyRecommendationKind>;
996
+ /**
997
+ * PIICategory identifies the category of personally identifiable information.
998
+ *
999
+ * @generated from enum governance.v1.PIICategory
1000
+ */
1001
+ export declare enum PIICategory {
1002
+ /**
1003
+ * @generated from enum value: PII_CATEGORY_UNSPECIFIED = 0;
1004
+ */
1005
+ PII_CATEGORY_UNSPECIFIED = 0,
1006
+ /**
1007
+ * @generated from enum value: PII_CATEGORY_EMAIL = 1;
1008
+ */
1009
+ PII_CATEGORY_EMAIL = 1,
1010
+ /**
1011
+ * @generated from enum value: PII_CATEGORY_PHONE = 2;
1012
+ */
1013
+ PII_CATEGORY_PHONE = 2,
1014
+ /**
1015
+ * @generated from enum value: PII_CATEGORY_SSN = 3;
1016
+ */
1017
+ PII_CATEGORY_SSN = 3,
1018
+ /**
1019
+ * @generated from enum value: PII_CATEGORY_CREDIT_CARD = 4;
1020
+ */
1021
+ PII_CATEGORY_CREDIT_CARD = 4,
1022
+ /**
1023
+ * @generated from enum value: PII_CATEGORY_ADDRESS = 5;
1024
+ */
1025
+ PII_CATEGORY_ADDRESS = 5,
1026
+ /**
1027
+ * @generated from enum value: PII_CATEGORY_PERSON_NAME = 6;
1028
+ */
1029
+ PII_CATEGORY_PERSON_NAME = 6,
1030
+ /**
1031
+ * @generated from enum value: PII_CATEGORY_CUSTOM = 7;
1032
+ */
1033
+ PII_CATEGORY_CUSTOM = 7,
1034
+ /**
1035
+ * @generated from enum value: PII_CATEGORY_CREDENTIAL = 8;
1036
+ */
1037
+ PII_CATEGORY_CREDENTIAL = 8
1038
+ }
1039
+ /**
1040
+ * Describes the enum governance.v1.PIICategory.
1041
+ */
1042
+ export declare const PIICategorySchema: GenEnum<PIICategory>;
1043
+ /**
1044
+ * DataClassification ranks content sensitivity for governance decisions.
1045
+ *
1046
+ * @generated from enum governance.v1.DataClassification
1047
+ */
1048
+ export declare enum DataClassification {
1049
+ /**
1050
+ * @generated from enum value: DATA_CLASSIFICATION_UNSPECIFIED = 0;
1051
+ */
1052
+ UNSPECIFIED = 0,
1053
+ /**
1054
+ * @generated from enum value: DATA_CLASSIFICATION_PUBLIC = 1;
1055
+ */
1056
+ PUBLIC = 1,
1057
+ /**
1058
+ * @generated from enum value: DATA_CLASSIFICATION_INTERNAL = 2;
1059
+ */
1060
+ INTERNAL = 2,
1061
+ /**
1062
+ * @generated from enum value: DATA_CLASSIFICATION_CONFIDENTIAL = 3;
1063
+ */
1064
+ CONFIDENTIAL = 3,
1065
+ /**
1066
+ * @generated from enum value: DATA_CLASSIFICATION_RESTRICTED = 4;
1067
+ */
1068
+ RESTRICTED = 4
1069
+ }
1070
+ /**
1071
+ * Describes the enum governance.v1.DataClassification.
1072
+ */
1073
+ export declare const DataClassificationSchema: GenEnum<DataClassification>;
1074
+ /**
1075
+ * PIIEnforcementAction describes how callers should handle detected PII.
1076
+ *
1077
+ * @generated from enum governance.v1.PIIEnforcementAction
1078
+ */
1079
+ export declare enum PIIEnforcementAction {
1080
+ /**
1081
+ * @generated from enum value: PII_ENFORCEMENT_ACTION_UNSPECIFIED = 0;
1082
+ */
1083
+ PII_ENFORCEMENT_ACTION_UNSPECIFIED = 0,
1084
+ /**
1085
+ * @generated from enum value: PII_ENFORCEMENT_ACTION_ALLOW = 1;
1086
+ */
1087
+ PII_ENFORCEMENT_ACTION_ALLOW = 1,
1088
+ /**
1089
+ * @generated from enum value: PII_ENFORCEMENT_ACTION_REDACT = 2;
1090
+ */
1091
+ PII_ENFORCEMENT_ACTION_REDACT = 2,
1092
+ /**
1093
+ * @generated from enum value: PII_ENFORCEMENT_ACTION_BLOCK = 3;
1094
+ */
1095
+ PII_ENFORCEMENT_ACTION_BLOCK = 3
1096
+ }
1097
+ /**
1098
+ * Describes the enum governance.v1.PIIEnforcementAction.
1099
+ */
1100
+ export declare const PIIEnforcementActionSchema: GenEnum<PIIEnforcementAction>;
1101
+ /**
1102
+ * GovernanceService enforces safety, compliance, and data governance policies.
1103
+ *
1104
+ * @generated from service governance.v1.GovernanceService
1105
+ */
1106
+ export declare const GovernanceService: GenService<{
1107
+ /**
1108
+ * @generated from rpc governance.v1.GovernanceService.EvaluateAction
1109
+ */
1110
+ evaluateAction: {
1111
+ methodKind: "unary";
1112
+ input: typeof EvaluateActionRequestSchema;
1113
+ output: typeof EvaluateActionResponseSchema;
1114
+ };
1115
+ /**
1116
+ * @generated from rpc governance.v1.GovernanceService.DetectPII
1117
+ */
1118
+ detectPII: {
1119
+ methodKind: "unary";
1120
+ input: typeof DetectPIIRequestSchema;
1121
+ output: typeof DetectPIIResponseSchema;
1122
+ };
1123
+ /**
1124
+ * @generated from rpc governance.v1.GovernanceService.ClassifyRisk
1125
+ */
1126
+ classifyRisk: {
1127
+ methodKind: "unary";
1128
+ input: typeof ClassifyRiskRequestSchema;
1129
+ output: typeof ClassifyRiskResponseSchema;
1130
+ };
1131
+ /**
1132
+ * @generated from rpc governance.v1.GovernanceService.CheckCredentialExposure
1133
+ */
1134
+ checkCredentialExposure: {
1135
+ methodKind: "unary";
1136
+ input: typeof CheckCredentialExposureRequestSchema;
1137
+ output: typeof CheckCredentialExposureResponseSchema;
1138
+ };
1139
+ /**
1140
+ * @generated from rpc governance.v1.GovernanceService.GetRetentionPolicy
1141
+ */
1142
+ getRetentionPolicy: {
1143
+ methodKind: "unary";
1144
+ input: typeof GetRetentionPolicyRequestSchema;
1145
+ output: typeof GetRetentionPolicyResponseSchema;
1146
+ };
1147
+ /**
1148
+ * @generated from rpc governance.v1.GovernanceService.SetRetentionPolicy
1149
+ */
1150
+ setRetentionPolicy: {
1151
+ methodKind: "unary";
1152
+ input: typeof SetRetentionPolicyRequestSchema;
1153
+ output: typeof SetRetentionPolicyResponseSchema;
1154
+ };
1155
+ /**
1156
+ * @generated from rpc governance.v1.GovernanceService.CheckLegalHold
1157
+ */
1158
+ checkLegalHold: {
1159
+ methodKind: "unary";
1160
+ input: typeof CheckLegalHoldRequestSchema;
1161
+ output: typeof CheckLegalHoldResponseSchema;
1162
+ };
1163
+ /**
1164
+ * @generated from rpc governance.v1.GovernanceService.SetLegalHold
1165
+ */
1166
+ setLegalHold: {
1167
+ methodKind: "unary";
1168
+ input: typeof SetLegalHoldRequestSchema;
1169
+ output: typeof SetLegalHoldResponseSchema;
1170
+ };
1171
+ /**
1172
+ * @generated from rpc governance.v1.GovernanceService.GetSafetyPolicy
1173
+ */
1174
+ getSafetyPolicy: {
1175
+ methodKind: "unary";
1176
+ input: typeof GetSafetyPolicyRequestSchema;
1177
+ output: typeof GetSafetyPolicyResponseSchema;
1178
+ };
1179
+ /**
1180
+ * @generated from rpc governance.v1.GovernanceService.SetSafetyPolicy
1181
+ */
1182
+ setSafetyPolicy: {
1183
+ methodKind: "unary";
1184
+ input: typeof SetSafetyPolicyRequestSchema;
1185
+ output: typeof SetSafetyPolicyResponseSchema;
1186
+ };
1187
+ /**
1188
+ * @generated from rpc governance.v1.GovernanceService.RecommendPolicyChanges
1189
+ */
1190
+ recommendPolicyChanges: {
1191
+ methodKind: "unary";
1192
+ input: typeof RecommendPolicyChangesRequestSchema;
1193
+ output: typeof RecommendPolicyChangesResponseSchema;
1194
+ };
1195
+ /**
1196
+ * @generated from rpc governance.v1.GovernanceService.GetPolicyRecommendationRun
1197
+ */
1198
+ getPolicyRecommendationRun: {
1199
+ methodKind: "unary";
1200
+ input: typeof GetPolicyRecommendationRunRequestSchema;
1201
+ output: typeof GetPolicyRecommendationRunResponseSchema;
1202
+ };
1203
+ /**
1204
+ * @generated from rpc governance.v1.GovernanceService.ListPolicyRecommendationRuns
1205
+ */
1206
+ listPolicyRecommendationRuns: {
1207
+ methodKind: "unary";
1208
+ input: typeof ListPolicyRecommendationRunsRequestSchema;
1209
+ output: typeof ListPolicyRecommendationRunsResponseSchema;
1210
+ };
1211
+ /**
1212
+ * @generated from rpc governance.v1.GovernanceService.ApplyPolicyRecommendation
1213
+ */
1214
+ applyPolicyRecommendation: {
1215
+ methodKind: "unary";
1216
+ input: typeof ApplyPolicyRecommendationRequestSchema;
1217
+ output: typeof ApplyPolicyRecommendationResponseSchema;
1218
+ };
1219
+ }>;