@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,1312 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { EvidenceRef, InsightSource, Money, TimeRange } from "../../common/v1/analytics_pb.js";
3
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { TraceSummary } from "../../traces/v1/traces_pb.js";
5
+ import type { Message } from "@bufbuild/protobuf";
6
+ /**
7
+ * Describes the file attribution/v1/attribution.proto.
8
+ */
9
+ export declare const file_attribution_v1_attribution: GenFile;
10
+ /**
11
+ * @generated from message attribution.v1.AttributionQuery
12
+ */
13
+ export type AttributionQuery = Message<"attribution.v1.AttributionQuery"> & {
14
+ /**
15
+ * @generated from field: string workspace_id = 1;
16
+ */
17
+ workspaceId: string;
18
+ /**
19
+ * @generated from field: string organization_id = 2;
20
+ */
21
+ organizationId: string;
22
+ /**
23
+ * @generated from field: repeated string deal_ids = 3;
24
+ */
25
+ dealIds: string[];
26
+ /**
27
+ * @generated from field: attribution.v1.AttributionModel model = 4;
28
+ */
29
+ model: AttributionModel;
30
+ /**
31
+ * @generated from field: google.protobuf.Timestamp start_time = 5;
32
+ */
33
+ startTime?: Timestamp;
34
+ /**
35
+ * @generated from field: google.protobuf.Timestamp end_time = 6;
36
+ */
37
+ endTime?: Timestamp;
38
+ /**
39
+ * @generated from field: bool include_team_rollups = 7;
40
+ */
41
+ includeTeamRollups: boolean;
42
+ /**
43
+ * @generated from field: repeated string objective_ids = 8;
44
+ */
45
+ objectiveIds: string[];
46
+ };
47
+ /**
48
+ * Describes the message attribution.v1.AttributionQuery.
49
+ * Use `create(AttributionQuerySchema)` to create a new message.
50
+ */
51
+ export declare const AttributionQuerySchema: GenMessage<AttributionQuery>;
52
+ /**
53
+ * @generated from message attribution.v1.DealContext
54
+ */
55
+ export type DealContext = Message<"attribution.v1.DealContext"> & {
56
+ /**
57
+ * @generated from field: string deal_id = 1;
58
+ */
59
+ dealId: string;
60
+ /**
61
+ * @generated from field: string title = 2;
62
+ */
63
+ title: string;
64
+ /**
65
+ * @generated from field: string stage = 3;
66
+ */
67
+ stage: string;
68
+ /**
69
+ * @generated from field: double value = 4;
70
+ */
71
+ value: number;
72
+ /**
73
+ * @generated from field: string currency = 5;
74
+ */
75
+ currency: string;
76
+ /**
77
+ * @generated from field: string owner_id = 6;
78
+ */
79
+ ownerId: string;
80
+ /**
81
+ * @generated from field: string contact_id = 7;
82
+ */
83
+ contactId: string;
84
+ /**
85
+ * @generated from field: string company_id = 8;
86
+ */
87
+ companyId: string;
88
+ /**
89
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
90
+ */
91
+ createdAt?: Timestamp;
92
+ /**
93
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
94
+ */
95
+ updatedAt?: Timestamp;
96
+ };
97
+ /**
98
+ * Describes the message attribution.v1.DealContext.
99
+ * Use `create(DealContextSchema)` to create a new message.
100
+ */
101
+ export declare const DealContextSchema: GenMessage<DealContext>;
102
+ /**
103
+ * @generated from message attribution.v1.ObjectiveContext
104
+ */
105
+ export type ObjectiveContext = Message<"attribution.v1.ObjectiveContext"> & {
106
+ /**
107
+ * @generated from field: string objective_id = 1;
108
+ */
109
+ objectiveId: string;
110
+ /**
111
+ * @generated from field: string agent_id = 2;
112
+ */
113
+ agentId: string;
114
+ /**
115
+ * @generated from field: string surface = 3;
116
+ */
117
+ surface: string;
118
+ /**
119
+ * @generated from field: string title = 4;
120
+ */
121
+ title: string;
122
+ /**
123
+ * @generated from field: string description = 5;
124
+ */
125
+ description: string;
126
+ /**
127
+ * @generated from field: string state = 6;
128
+ */
129
+ state: string;
130
+ /**
131
+ * @generated from field: google.protobuf.Timestamp created_at = 7;
132
+ */
133
+ createdAt?: Timestamp;
134
+ /**
135
+ * @generated from field: google.protobuf.Timestamp updated_at = 8;
136
+ */
137
+ updatedAt?: Timestamp;
138
+ /**
139
+ * @generated from field: google.protobuf.Timestamp completed_at = 9;
140
+ */
141
+ completedAt?: Timestamp;
142
+ };
143
+ /**
144
+ * Describes the message attribution.v1.ObjectiveContext.
145
+ * Use `create(ObjectiveContextSchema)` to create a new message.
146
+ */
147
+ export declare const ObjectiveContextSchema: GenMessage<ObjectiveContext>;
148
+ /**
149
+ * @generated from message attribution.v1.TraceTouchpoint
150
+ */
151
+ export type TraceTouchpoint = Message<"attribution.v1.TraceTouchpoint"> & {
152
+ /**
153
+ * @generated from field: traces.v1.TraceSummary trace = 1;
154
+ */
155
+ trace?: TraceSummary;
156
+ /**
157
+ * @generated from field: repeated string match_reasons = 2;
158
+ */
159
+ matchReasons: string[];
160
+ };
161
+ /**
162
+ * Describes the message attribution.v1.TraceTouchpoint.
163
+ * Use `create(TraceTouchpointSchema)` to create a new message.
164
+ */
165
+ export declare const TraceTouchpointSchema: GenMessage<TraceTouchpoint>;
166
+ /**
167
+ * @generated from message attribution.v1.UsageTouchpoint
168
+ */
169
+ export type UsageTouchpoint = Message<"attribution.v1.UsageTouchpoint"> & {
170
+ /**
171
+ * @generated from field: string record_id = 1;
172
+ */
173
+ recordId: string;
174
+ /**
175
+ * @generated from field: string request_id = 2;
176
+ */
177
+ requestId: string;
178
+ /**
179
+ * @generated from field: string agent_id = 3;
180
+ */
181
+ agentId: string;
182
+ /**
183
+ * @generated from field: string team_id = 4;
184
+ */
185
+ teamId: string;
186
+ /**
187
+ * @generated from field: string surface = 5;
188
+ */
189
+ surface: string;
190
+ /**
191
+ * @generated from field: string model = 6;
192
+ */
193
+ model: string;
194
+ /**
195
+ * @generated from field: string provider = 7;
196
+ */
197
+ provider: string;
198
+ /**
199
+ * @generated from field: int64 input_tokens = 8;
200
+ */
201
+ inputTokens: bigint;
202
+ /**
203
+ * @generated from field: int64 output_tokens = 9;
204
+ */
205
+ outputTokens: bigint;
206
+ /**
207
+ * @generated from field: double total_cost_usd = 10;
208
+ */
209
+ totalCostUsd: number;
210
+ /**
211
+ * @generated from field: google.protobuf.Timestamp observed_at = 11;
212
+ */
213
+ observedAt?: Timestamp;
214
+ };
215
+ /**
216
+ * Describes the message attribution.v1.UsageTouchpoint.
217
+ * Use `create(UsageTouchpointSchema)` to create a new message.
218
+ */
219
+ export declare const UsageTouchpointSchema: GenMessage<UsageTouchpoint>;
220
+ /**
221
+ * @generated from message attribution.v1.AgentSummary
222
+ */
223
+ export type AgentSummary = Message<"attribution.v1.AgentSummary"> & {
224
+ /**
225
+ * @generated from field: string agent_id = 1;
226
+ */
227
+ agentId: string;
228
+ /**
229
+ * @generated from field: double attribution_weight = 2;
230
+ */
231
+ attributionWeight: number;
232
+ /**
233
+ * @generated from field: double attributed_revenue_usd = 3;
234
+ */
235
+ attributedRevenueUsd: number;
236
+ /**
237
+ * @generated from field: double total_cost_usd = 4;
238
+ */
239
+ totalCostUsd: number;
240
+ /**
241
+ * @generated from field: double roi_multiple = 5;
242
+ */
243
+ roiMultiple: number;
244
+ /**
245
+ * @generated from field: int32 trace_count = 6;
246
+ */
247
+ traceCount: number;
248
+ /**
249
+ * @generated from field: int32 usage_count = 7;
250
+ */
251
+ usageCount: number;
252
+ /**
253
+ * @generated from field: repeated string trace_ids = 8;
254
+ */
255
+ traceIds: string[];
256
+ /**
257
+ * @generated from field: repeated string usage_record_ids = 9;
258
+ */
259
+ usageRecordIds: string[];
260
+ };
261
+ /**
262
+ * Describes the message attribution.v1.AgentSummary.
263
+ * Use `create(AgentSummarySchema)` to create a new message.
264
+ */
265
+ export declare const AgentSummarySchema: GenMessage<AgentSummary>;
266
+ /**
267
+ * @generated from message attribution.v1.TeamSummary
268
+ */
269
+ export type TeamSummary = Message<"attribution.v1.TeamSummary"> & {
270
+ /**
271
+ * @generated from field: string team_id = 1;
272
+ */
273
+ teamId: string;
274
+ /**
275
+ * @generated from field: double attributed_revenue_usd = 2;
276
+ */
277
+ attributedRevenueUsd: number;
278
+ /**
279
+ * @generated from field: double total_cost_usd = 3;
280
+ */
281
+ totalCostUsd: number;
282
+ /**
283
+ * @generated from field: double roi_multiple = 4;
284
+ */
285
+ roiMultiple: number;
286
+ /**
287
+ * @generated from field: repeated string agent_ids = 5;
288
+ */
289
+ agentIds: string[];
290
+ };
291
+ /**
292
+ * Describes the message attribution.v1.TeamSummary.
293
+ * Use `create(TeamSummarySchema)` to create a new message.
294
+ */
295
+ export declare const TeamSummarySchema: GenMessage<TeamSummary>;
296
+ /**
297
+ * @generated from message attribution.v1.ObjectiveAgentSummary
298
+ */
299
+ export type ObjectiveAgentSummary = Message<"attribution.v1.ObjectiveAgentSummary"> & {
300
+ /**
301
+ * @generated from field: string agent_id = 1;
302
+ */
303
+ agentId: string;
304
+ /**
305
+ * @generated from field: double attribution_weight = 2;
306
+ */
307
+ attributionWeight: number;
308
+ /**
309
+ * @generated from field: double attributed_outcome_count = 3;
310
+ */
311
+ attributedOutcomeCount: number;
312
+ /**
313
+ * @generated from field: double total_cost_usd = 4;
314
+ */
315
+ totalCostUsd: number;
316
+ /**
317
+ * @generated from field: int32 trace_count = 5;
318
+ */
319
+ traceCount: number;
320
+ /**
321
+ * @generated from field: int32 usage_count = 6;
322
+ */
323
+ usageCount: number;
324
+ /**
325
+ * @generated from field: repeated string trace_ids = 7;
326
+ */
327
+ traceIds: string[];
328
+ /**
329
+ * @generated from field: repeated string usage_record_ids = 8;
330
+ */
331
+ usageRecordIds: string[];
332
+ };
333
+ /**
334
+ * Describes the message attribution.v1.ObjectiveAgentSummary.
335
+ * Use `create(ObjectiveAgentSummarySchema)` to create a new message.
336
+ */
337
+ export declare const ObjectiveAgentSummarySchema: GenMessage<ObjectiveAgentSummary>;
338
+ /**
339
+ * @generated from message attribution.v1.ObjectiveTeamSummary
340
+ */
341
+ export type ObjectiveTeamSummary = Message<"attribution.v1.ObjectiveTeamSummary"> & {
342
+ /**
343
+ * @generated from field: string team_id = 1;
344
+ */
345
+ teamId: string;
346
+ /**
347
+ * @generated from field: double attribution_weight = 2;
348
+ */
349
+ attributionWeight: number;
350
+ /**
351
+ * @generated from field: double attributed_outcome_count = 3;
352
+ */
353
+ attributedOutcomeCount: number;
354
+ /**
355
+ * @generated from field: double total_cost_usd = 4;
356
+ */
357
+ totalCostUsd: number;
358
+ /**
359
+ * @generated from field: repeated string agent_ids = 5;
360
+ */
361
+ agentIds: string[];
362
+ };
363
+ /**
364
+ * Describes the message attribution.v1.ObjectiveTeamSummary.
365
+ * Use `create(ObjectiveTeamSummarySchema)` to create a new message.
366
+ */
367
+ export declare const ObjectiveTeamSummarySchema: GenMessage<ObjectiveTeamSummary>;
368
+ /**
369
+ * @generated from message attribution.v1.DealAttribution
370
+ */
371
+ export type DealAttribution = Message<"attribution.v1.DealAttribution"> & {
372
+ /**
373
+ * @generated from field: attribution.v1.DealContext deal = 1;
374
+ */
375
+ deal?: DealContext;
376
+ /**
377
+ * @generated from field: repeated attribution.v1.TraceTouchpoint trace_touchpoints = 2;
378
+ */
379
+ traceTouchpoints: TraceTouchpoint[];
380
+ /**
381
+ * @generated from field: repeated attribution.v1.UsageTouchpoint usage_touchpoints = 3;
382
+ */
383
+ usageTouchpoints: UsageTouchpoint[];
384
+ /**
385
+ * @generated from field: repeated attribution.v1.AgentSummary agent_summaries = 4;
386
+ */
387
+ agentSummaries: AgentSummary[];
388
+ /**
389
+ * @generated from field: repeated attribution.v1.TeamSummary team_summaries = 5;
390
+ */
391
+ teamSummaries: TeamSummary[];
392
+ /**
393
+ * @generated from field: double total_attributed_revenue_usd = 6;
394
+ */
395
+ totalAttributedRevenueUsd: number;
396
+ /**
397
+ * @generated from field: double total_attributed_cost_usd = 7;
398
+ */
399
+ totalAttributedCostUsd: number;
400
+ /**
401
+ * @generated from field: double unattributed_revenue_usd = 8;
402
+ */
403
+ unattributedRevenueUsd: number;
404
+ /**
405
+ * @generated from field: double unattributed_cost_usd = 9;
406
+ */
407
+ unattributedCostUsd: number;
408
+ };
409
+ /**
410
+ * Describes the message attribution.v1.DealAttribution.
411
+ * Use `create(DealAttributionSchema)` to create a new message.
412
+ */
413
+ export declare const DealAttributionSchema: GenMessage<DealAttribution>;
414
+ /**
415
+ * @generated from message attribution.v1.ObjectiveOutcomeAttribution
416
+ */
417
+ export type ObjectiveOutcomeAttribution = Message<"attribution.v1.ObjectiveOutcomeAttribution"> & {
418
+ /**
419
+ * @generated from field: attribution.v1.ObjectiveContext objective = 1;
420
+ */
421
+ objective?: ObjectiveContext;
422
+ /**
423
+ * @generated from field: repeated attribution.v1.TraceTouchpoint trace_touchpoints = 2;
424
+ */
425
+ traceTouchpoints: TraceTouchpoint[];
426
+ /**
427
+ * @generated from field: repeated attribution.v1.UsageTouchpoint usage_touchpoints = 3;
428
+ */
429
+ usageTouchpoints: UsageTouchpoint[];
430
+ /**
431
+ * @generated from field: repeated attribution.v1.ObjectiveAgentSummary agent_summaries = 4;
432
+ */
433
+ agentSummaries: ObjectiveAgentSummary[];
434
+ /**
435
+ * @generated from field: repeated attribution.v1.ObjectiveTeamSummary team_summaries = 5;
436
+ */
437
+ teamSummaries: ObjectiveTeamSummary[];
438
+ /**
439
+ * @generated from field: double total_attributed_outcome_count = 6;
440
+ */
441
+ totalAttributedOutcomeCount: number;
442
+ /**
443
+ * @generated from field: double total_attributed_cost_usd = 7;
444
+ */
445
+ totalAttributedCostUsd: number;
446
+ /**
447
+ * @generated from field: double unattributed_outcome_count = 8;
448
+ */
449
+ unattributedOutcomeCount: number;
450
+ /**
451
+ * @generated from field: double unattributed_cost_usd = 9;
452
+ */
453
+ unattributedCostUsd: number;
454
+ };
455
+ /**
456
+ * Describes the message attribution.v1.ObjectiveOutcomeAttribution.
457
+ * Use `create(ObjectiveOutcomeAttributionSchema)` to create a new message.
458
+ */
459
+ export declare const ObjectiveOutcomeAttributionSchema: GenMessage<ObjectiveOutcomeAttribution>;
460
+ /**
461
+ * @generated from message attribution.v1.AttributionReport
462
+ */
463
+ export type AttributionReport = Message<"attribution.v1.AttributionReport"> & {
464
+ /**
465
+ * @generated from field: string id = 1;
466
+ */
467
+ id: string;
468
+ /**
469
+ * @generated from field: attribution.v1.AttributionQuery query = 2;
470
+ */
471
+ query?: AttributionQuery;
472
+ /**
473
+ * @generated from field: google.protobuf.Timestamp generated_at = 3;
474
+ */
475
+ generatedAt?: Timestamp;
476
+ /**
477
+ * @generated from field: repeated attribution.v1.DealAttribution deals = 4;
478
+ */
479
+ deals: DealAttribution[];
480
+ /**
481
+ * @generated from field: repeated attribution.v1.AgentSummary agent_summaries = 5;
482
+ */
483
+ agentSummaries: AgentSummary[];
484
+ /**
485
+ * @generated from field: repeated attribution.v1.TeamSummary team_summaries = 6;
486
+ */
487
+ teamSummaries: TeamSummary[];
488
+ /**
489
+ * @generated from field: repeated attribution.v1.ObjectiveOutcomeAttribution objective_outcomes = 7;
490
+ */
491
+ objectiveOutcomes: ObjectiveOutcomeAttribution[];
492
+ /**
493
+ * @generated from field: repeated attribution.v1.ObjectiveAgentSummary objective_agent_summaries = 8;
494
+ */
495
+ objectiveAgentSummaries: ObjectiveAgentSummary[];
496
+ /**
497
+ * @generated from field: repeated attribution.v1.ObjectiveTeamSummary objective_team_summaries = 9;
498
+ */
499
+ objectiveTeamSummaries: ObjectiveTeamSummary[];
500
+ };
501
+ /**
502
+ * Describes the message attribution.v1.AttributionReport.
503
+ * Use `create(AttributionReportSchema)` to create a new message.
504
+ */
505
+ export declare const AttributionReportSchema: GenMessage<AttributionReport>;
506
+ /**
507
+ * @generated from message attribution.v1.AttributionReportSummary
508
+ */
509
+ export type AttributionReportSummary = Message<"attribution.v1.AttributionReportSummary"> & {
510
+ /**
511
+ * @generated from field: string id = 1;
512
+ */
513
+ id: string;
514
+ /**
515
+ * @generated from field: attribution.v1.AttributionQuery query = 2;
516
+ */
517
+ query?: AttributionQuery;
518
+ /**
519
+ * @generated from field: google.protobuf.Timestamp generated_at = 3;
520
+ */
521
+ generatedAt?: Timestamp;
522
+ /**
523
+ * @generated from field: int32 deal_count = 4;
524
+ */
525
+ dealCount: number;
526
+ /**
527
+ * @generated from field: int32 agent_count = 5;
528
+ */
529
+ agentCount: number;
530
+ /**
531
+ * @generated from field: int32 team_count = 6;
532
+ */
533
+ teamCount: number;
534
+ /**
535
+ * @generated from field: int32 objective_outcome_count = 7;
536
+ */
537
+ objectiveOutcomeCount: number;
538
+ };
539
+ /**
540
+ * Describes the message attribution.v1.AttributionReportSummary.
541
+ * Use `create(AttributionReportSummarySchema)` to create a new message.
542
+ */
543
+ export declare const AttributionReportSummarySchema: GenMessage<AttributionReportSummary>;
544
+ /**
545
+ * @generated from message attribution.v1.AttributionSnapshot
546
+ */
547
+ export type AttributionSnapshot = Message<"attribution.v1.AttributionSnapshot"> & {
548
+ /**
549
+ * @generated from field: string id = 1;
550
+ */
551
+ id: string;
552
+ /**
553
+ * @generated from field: string workspace_id = 2;
554
+ */
555
+ workspaceId: string;
556
+ /**
557
+ * @generated from field: string organization_id = 3;
558
+ */
559
+ organizationId: string;
560
+ /**
561
+ * @generated from field: attribution.v1.AttributionSubjectKind subject_kind = 4;
562
+ */
563
+ subjectKind: AttributionSubjectKind;
564
+ /**
565
+ * @generated from field: string subject_id = 5;
566
+ */
567
+ subjectId: string;
568
+ /**
569
+ * @generated from field: attribution.v1.AttributionModel model = 6;
570
+ */
571
+ model: AttributionModel;
572
+ /**
573
+ * @generated from field: attribution.v1.AttributionSignalType signal_type = 7;
574
+ */
575
+ signalType: AttributionSignalType;
576
+ /**
577
+ * @generated from field: string signal_id = 8;
578
+ */
579
+ signalId: string;
580
+ /**
581
+ * @generated from field: google.protobuf.Timestamp window_start = 9;
582
+ */
583
+ windowStart?: Timestamp;
584
+ /**
585
+ * @generated from field: google.protobuf.Timestamp window_end = 10;
586
+ */
587
+ windowEnd?: Timestamp;
588
+ /**
589
+ * @generated from field: google.protobuf.Timestamp recorded_at = 11;
590
+ */
591
+ recordedAt?: Timestamp;
592
+ /**
593
+ * @generated from oneof attribution.v1.AttributionSnapshot.attribution
594
+ */
595
+ attribution: {
596
+ /**
597
+ * @generated from field: attribution.v1.DealAttribution deal = 12;
598
+ */
599
+ value: DealAttribution;
600
+ case: "deal";
601
+ } | {
602
+ /**
603
+ * @generated from field: attribution.v1.ObjectiveOutcomeAttribution objective_outcome = 13;
604
+ */
605
+ value: ObjectiveOutcomeAttribution;
606
+ case: "objectiveOutcome";
607
+ } | {
608
+ case: undefined;
609
+ value?: undefined;
610
+ };
611
+ };
612
+ /**
613
+ * Describes the message attribution.v1.AttributionSnapshot.
614
+ * Use `create(AttributionSnapshotSchema)` to create a new message.
615
+ */
616
+ export declare const AttributionSnapshotSchema: GenMessage<AttributionSnapshot>;
617
+ /**
618
+ * @generated from message attribution.v1.ObjectiveCompletionSignal
619
+ */
620
+ export type ObjectiveCompletionSignal = Message<"attribution.v1.ObjectiveCompletionSignal"> & {
621
+ /**
622
+ * @generated from field: string workspace_id = 1;
623
+ */
624
+ workspaceId: string;
625
+ /**
626
+ * @generated from field: string organization_id = 2;
627
+ */
628
+ organizationId: string;
629
+ /**
630
+ * @generated from field: string objective_id = 3;
631
+ */
632
+ objectiveId: string;
633
+ /**
634
+ * @generated from field: google.protobuf.Timestamp completed_at = 4;
635
+ */
636
+ completedAt?: Timestamp;
637
+ };
638
+ /**
639
+ * Describes the message attribution.v1.ObjectiveCompletionSignal.
640
+ * Use `create(ObjectiveCompletionSignalSchema)` to create a new message.
641
+ */
642
+ export declare const ObjectiveCompletionSignalSchema: GenMessage<ObjectiveCompletionSignal>;
643
+ /**
644
+ * @generated from message attribution.v1.TraceCompletionSignal
645
+ */
646
+ export type TraceCompletionSignal = Message<"attribution.v1.TraceCompletionSignal"> & {
647
+ /**
648
+ * @generated from field: string workspace_id = 1;
649
+ */
650
+ workspaceId: string;
651
+ /**
652
+ * @generated from field: string organization_id = 2;
653
+ */
654
+ organizationId: string;
655
+ /**
656
+ * @generated from field: string trace_id = 3;
657
+ */
658
+ traceId: string;
659
+ /**
660
+ * @generated from field: google.protobuf.Timestamp completed_at = 4;
661
+ */
662
+ completedAt?: Timestamp;
663
+ };
664
+ /**
665
+ * Describes the message attribution.v1.TraceCompletionSignal.
666
+ * Use `create(TraceCompletionSignalSchema)` to create a new message.
667
+ */
668
+ export declare const TraceCompletionSignalSchema: GenMessage<TraceCompletionSignal>;
669
+ /**
670
+ * @generated from message attribution.v1.AttributionSignal
671
+ */
672
+ export type AttributionSignal = Message<"attribution.v1.AttributionSignal"> & {
673
+ /**
674
+ * @generated from oneof attribution.v1.AttributionSignal.signal
675
+ */
676
+ signal: {
677
+ /**
678
+ * @generated from field: attribution.v1.ObjectiveCompletionSignal objective_completion = 1;
679
+ */
680
+ value: ObjectiveCompletionSignal;
681
+ case: "objectiveCompletion";
682
+ } | {
683
+ /**
684
+ * @generated from field: attribution.v1.TraceCompletionSignal trace_completion = 2;
685
+ */
686
+ value: TraceCompletionSignal;
687
+ case: "traceCompletion";
688
+ } | {
689
+ case: undefined;
690
+ value?: undefined;
691
+ };
692
+ };
693
+ /**
694
+ * Describes the message attribution.v1.AttributionSignal.
695
+ * Use `create(AttributionSignalSchema)` to create a new message.
696
+ */
697
+ export declare const AttributionSignalSchema: GenMessage<AttributionSignal>;
698
+ /**
699
+ * @generated from message attribution.v1.GenerateReportRequest
700
+ */
701
+ export type GenerateReportRequest = Message<"attribution.v1.GenerateReportRequest"> & {
702
+ /**
703
+ * @generated from field: attribution.v1.AttributionQuery query = 1;
704
+ */
705
+ query?: AttributionQuery;
706
+ };
707
+ /**
708
+ * Describes the message attribution.v1.GenerateReportRequest.
709
+ * Use `create(GenerateReportRequestSchema)` to create a new message.
710
+ */
711
+ export declare const GenerateReportRequestSchema: GenMessage<GenerateReportRequest>;
712
+ /**
713
+ * @generated from message attribution.v1.GenerateReportResponse
714
+ */
715
+ export type GenerateReportResponse = Message<"attribution.v1.GenerateReportResponse"> & {
716
+ /**
717
+ * @generated from field: attribution.v1.AttributionReport report = 1;
718
+ */
719
+ report?: AttributionReport;
720
+ };
721
+ /**
722
+ * Describes the message attribution.v1.GenerateReportResponse.
723
+ * Use `create(GenerateReportResponseSchema)` to create a new message.
724
+ */
725
+ export declare const GenerateReportResponseSchema: GenMessage<GenerateReportResponse>;
726
+ /**
727
+ * @generated from message attribution.v1.GetReportRequest
728
+ */
729
+ export type GetReportRequest = Message<"attribution.v1.GetReportRequest"> & {
730
+ /**
731
+ * @generated from field: string report_id = 1;
732
+ */
733
+ reportId: string;
734
+ };
735
+ /**
736
+ * Describes the message attribution.v1.GetReportRequest.
737
+ * Use `create(GetReportRequestSchema)` to create a new message.
738
+ */
739
+ export declare const GetReportRequestSchema: GenMessage<GetReportRequest>;
740
+ /**
741
+ * @generated from message attribution.v1.GetReportResponse
742
+ */
743
+ export type GetReportResponse = Message<"attribution.v1.GetReportResponse"> & {
744
+ /**
745
+ * @generated from field: attribution.v1.AttributionReport report = 1;
746
+ */
747
+ report?: AttributionReport;
748
+ };
749
+ /**
750
+ * Describes the message attribution.v1.GetReportResponse.
751
+ * Use `create(GetReportResponseSchema)` to create a new message.
752
+ */
753
+ export declare const GetReportResponseSchema: GenMessage<GetReportResponse>;
754
+ /**
755
+ * @generated from message attribution.v1.ListReportsRequest
756
+ */
757
+ export type ListReportsRequest = Message<"attribution.v1.ListReportsRequest"> & {
758
+ /**
759
+ * @generated from field: string organization_id = 1;
760
+ */
761
+ organizationId: string;
762
+ /**
763
+ * @generated from field: string workspace_id = 2;
764
+ */
765
+ workspaceId: string;
766
+ /**
767
+ * @generated from field: attribution.v1.AttributionModel model = 3;
768
+ */
769
+ model: AttributionModel;
770
+ /**
771
+ * @generated from field: int32 limit = 4;
772
+ */
773
+ limit: number;
774
+ /**
775
+ * @generated from field: int32 offset = 5;
776
+ */
777
+ offset: number;
778
+ };
779
+ /**
780
+ * Describes the message attribution.v1.ListReportsRequest.
781
+ * Use `create(ListReportsRequestSchema)` to create a new message.
782
+ */
783
+ export declare const ListReportsRequestSchema: GenMessage<ListReportsRequest>;
784
+ /**
785
+ * @generated from message attribution.v1.ListReportsResponse
786
+ */
787
+ export type ListReportsResponse = Message<"attribution.v1.ListReportsResponse"> & {
788
+ /**
789
+ * @generated from field: repeated attribution.v1.AttributionReportSummary reports = 1;
790
+ */
791
+ reports: AttributionReportSummary[];
792
+ /**
793
+ * @generated from field: bool has_more = 2;
794
+ */
795
+ hasMore: boolean;
796
+ };
797
+ /**
798
+ * Describes the message attribution.v1.ListReportsResponse.
799
+ * Use `create(ListReportsResponseSchema)` to create a new message.
800
+ */
801
+ export declare const ListReportsResponseSchema: GenMessage<ListReportsResponse>;
802
+ /**
803
+ * @generated from message attribution.v1.ExportReportRequest
804
+ */
805
+ export type ExportReportRequest = Message<"attribution.v1.ExportReportRequest"> & {
806
+ /**
807
+ * @generated from field: attribution.v1.AttributionQuery query = 1;
808
+ */
809
+ query?: AttributionQuery;
810
+ /**
811
+ * @generated from field: attribution.v1.ReportExportFormat format = 2;
812
+ */
813
+ format: ReportExportFormat;
814
+ };
815
+ /**
816
+ * Describes the message attribution.v1.ExportReportRequest.
817
+ * Use `create(ExportReportRequestSchema)` to create a new message.
818
+ */
819
+ export declare const ExportReportRequestSchema: GenMessage<ExportReportRequest>;
820
+ /**
821
+ * @generated from message attribution.v1.ExportReportResponse
822
+ */
823
+ export type ExportReportResponse = Message<"attribution.v1.ExportReportResponse"> & {
824
+ /**
825
+ * @generated from field: bytes content = 1;
826
+ */
827
+ content: Uint8Array;
828
+ /**
829
+ * @generated from field: string content_type = 2;
830
+ */
831
+ contentType: string;
832
+ /**
833
+ * @generated from field: string filename = 3;
834
+ */
835
+ filename: string;
836
+ };
837
+ /**
838
+ * Describes the message attribution.v1.ExportReportResponse.
839
+ * Use `create(ExportReportResponseSchema)` to create a new message.
840
+ */
841
+ export declare const ExportReportResponseSchema: GenMessage<ExportReportResponse>;
842
+ /**
843
+ * @generated from message attribution.v1.RecordSignalsRequest
844
+ */
845
+ export type RecordSignalsRequest = Message<"attribution.v1.RecordSignalsRequest"> & {
846
+ /**
847
+ * @generated from field: repeated attribution.v1.AttributionSignal signals = 1;
848
+ */
849
+ signals: AttributionSignal[];
850
+ /**
851
+ * @generated from field: repeated attribution.v1.AttributionModel models = 2;
852
+ */
853
+ models: AttributionModel[];
854
+ /**
855
+ * @generated from field: bool include_team_rollups = 3;
856
+ */
857
+ includeTeamRollups: boolean;
858
+ };
859
+ /**
860
+ * Describes the message attribution.v1.RecordSignalsRequest.
861
+ * Use `create(RecordSignalsRequestSchema)` to create a new message.
862
+ */
863
+ export declare const RecordSignalsRequestSchema: GenMessage<RecordSignalsRequest>;
864
+ /**
865
+ * @generated from message attribution.v1.RecordSignalsResponse
866
+ */
867
+ export type RecordSignalsResponse = Message<"attribution.v1.RecordSignalsResponse"> & {
868
+ /**
869
+ * @generated from field: repeated attribution.v1.AttributionSnapshot snapshots = 1;
870
+ */
871
+ snapshots: AttributionSnapshot[];
872
+ };
873
+ /**
874
+ * Describes the message attribution.v1.RecordSignalsResponse.
875
+ * Use `create(RecordSignalsResponseSchema)` to create a new message.
876
+ */
877
+ export declare const RecordSignalsResponseSchema: GenMessage<RecordSignalsResponse>;
878
+ /**
879
+ * @generated from message attribution.v1.GetSnapshotRequest
880
+ */
881
+ export type GetSnapshotRequest = Message<"attribution.v1.GetSnapshotRequest"> & {
882
+ /**
883
+ * @generated from field: string snapshot_id = 1;
884
+ */
885
+ snapshotId: string;
886
+ };
887
+ /**
888
+ * Describes the message attribution.v1.GetSnapshotRequest.
889
+ * Use `create(GetSnapshotRequestSchema)` to create a new message.
890
+ */
891
+ export declare const GetSnapshotRequestSchema: GenMessage<GetSnapshotRequest>;
892
+ /**
893
+ * @generated from message attribution.v1.GetSnapshotResponse
894
+ */
895
+ export type GetSnapshotResponse = Message<"attribution.v1.GetSnapshotResponse"> & {
896
+ /**
897
+ * @generated from field: attribution.v1.AttributionSnapshot snapshot = 1;
898
+ */
899
+ snapshot?: AttributionSnapshot;
900
+ };
901
+ /**
902
+ * Describes the message attribution.v1.GetSnapshotResponse.
903
+ * Use `create(GetSnapshotResponseSchema)` to create a new message.
904
+ */
905
+ export declare const GetSnapshotResponseSchema: GenMessage<GetSnapshotResponse>;
906
+ /**
907
+ * @generated from message attribution.v1.ListSnapshotsRequest
908
+ */
909
+ export type ListSnapshotsRequest = Message<"attribution.v1.ListSnapshotsRequest"> & {
910
+ /**
911
+ * @generated from field: string organization_id = 1;
912
+ */
913
+ organizationId: string;
914
+ /**
915
+ * @generated from field: string workspace_id = 2;
916
+ */
917
+ workspaceId: string;
918
+ /**
919
+ * @generated from field: attribution.v1.AttributionSubjectKind subject_kind = 3;
920
+ */
921
+ subjectKind: AttributionSubjectKind;
922
+ /**
923
+ * @generated from field: string subject_id = 4;
924
+ */
925
+ subjectId: string;
926
+ /**
927
+ * @generated from field: attribution.v1.AttributionModel model = 5;
928
+ */
929
+ model: AttributionModel;
930
+ /**
931
+ * @generated from field: int32 limit = 6;
932
+ */
933
+ limit: number;
934
+ /**
935
+ * @generated from field: int32 offset = 7;
936
+ */
937
+ offset: number;
938
+ };
939
+ /**
940
+ * Describes the message attribution.v1.ListSnapshotsRequest.
941
+ * Use `create(ListSnapshotsRequestSchema)` to create a new message.
942
+ */
943
+ export declare const ListSnapshotsRequestSchema: GenMessage<ListSnapshotsRequest>;
944
+ /**
945
+ * @generated from message attribution.v1.ListSnapshotsResponse
946
+ */
947
+ export type ListSnapshotsResponse = Message<"attribution.v1.ListSnapshotsResponse"> & {
948
+ /**
949
+ * @generated from field: repeated attribution.v1.AttributionSnapshot snapshots = 1;
950
+ */
951
+ snapshots: AttributionSnapshot[];
952
+ /**
953
+ * @generated from field: bool has_more = 2;
954
+ */
955
+ hasMore: boolean;
956
+ };
957
+ /**
958
+ * Describes the message attribution.v1.ListSnapshotsResponse.
959
+ * Use `create(ListSnapshotsResponseSchema)` to create a new message.
960
+ */
961
+ export declare const ListSnapshotsResponseSchema: GenMessage<ListSnapshotsResponse>;
962
+ /**
963
+ * @generated from message attribution.v1.GetAgentPnLRequest
964
+ */
965
+ export type GetAgentPnLRequest = Message<"attribution.v1.GetAgentPnLRequest"> & {
966
+ /**
967
+ * @generated from field: string organization_id = 1;
968
+ */
969
+ organizationId: string;
970
+ /**
971
+ * @generated from field: string workspace_id = 2;
972
+ */
973
+ workspaceId: string;
974
+ /**
975
+ * @generated from field: string agent_id = 3;
976
+ */
977
+ agentId: string;
978
+ /**
979
+ * @generated from field: string team_id = 4;
980
+ */
981
+ teamId: string;
982
+ /**
983
+ * @generated from field: common.v1.TimeRange period = 5;
984
+ */
985
+ period?: TimeRange;
986
+ /**
987
+ * @generated from field: attribution.v1.AttributionModel model = 6;
988
+ */
989
+ model: AttributionModel;
990
+ /**
991
+ * @generated from field: double reviewer_hourly_rate_usd = 7;
992
+ */
993
+ reviewerHourlyRateUsd: number;
994
+ };
995
+ /**
996
+ * Describes the message attribution.v1.GetAgentPnLRequest.
997
+ * Use `create(GetAgentPnLRequestSchema)` to create a new message.
998
+ */
999
+ export declare const GetAgentPnLRequestSchema: GenMessage<GetAgentPnLRequest>;
1000
+ /**
1001
+ * @generated from message attribution.v1.PnLDriver
1002
+ */
1003
+ export type PnLDriver = Message<"attribution.v1.PnLDriver"> & {
1004
+ /**
1005
+ * @generated from field: string label = 1;
1006
+ */
1007
+ label: string;
1008
+ /**
1009
+ * @generated from field: string description = 2;
1010
+ */
1011
+ description: string;
1012
+ /**
1013
+ * @generated from field: common.v1.Money impact = 3;
1014
+ */
1015
+ impact?: Money;
1016
+ /**
1017
+ * @generated from field: common.v1.InsightSource source = 4;
1018
+ */
1019
+ source: InsightSource;
1020
+ /**
1021
+ * @generated from field: repeated common.v1.EvidenceRef evidence = 5;
1022
+ */
1023
+ evidence: EvidenceRef[];
1024
+ };
1025
+ /**
1026
+ * Describes the message attribution.v1.PnLDriver.
1027
+ * Use `create(PnLDriverSchema)` to create a new message.
1028
+ */
1029
+ export declare const PnLDriverSchema: GenMessage<PnLDriver>;
1030
+ /**
1031
+ * @generated from message attribution.v1.AgentPnL
1032
+ */
1033
+ export type AgentPnL = Message<"attribution.v1.AgentPnL"> & {
1034
+ /**
1035
+ * @generated from field: string agent_id = 1;
1036
+ */
1037
+ agentId: string;
1038
+ /**
1039
+ * @generated from field: string agent_name = 2;
1040
+ */
1041
+ agentName: string;
1042
+ /**
1043
+ * @generated from field: string team_id = 3;
1044
+ */
1045
+ teamId: string;
1046
+ /**
1047
+ * @generated from field: string surface = 4;
1048
+ */
1049
+ surface: string;
1050
+ /**
1051
+ * @generated from field: common.v1.Money revenue_attributed = 5;
1052
+ */
1053
+ revenueAttributed?: Money;
1054
+ /**
1055
+ * @generated from field: common.v1.Money pipeline_generated = 6;
1056
+ */
1057
+ pipelineGenerated?: Money;
1058
+ /**
1059
+ * @generated from field: int32 deals_influenced = 7;
1060
+ */
1061
+ dealsInfluenced: number;
1062
+ /**
1063
+ * @generated from field: double objective_outcomes_attributed = 8;
1064
+ */
1065
+ objectiveOutcomesAttributed: number;
1066
+ /**
1067
+ * @generated from field: common.v1.Money llm_spend = 9;
1068
+ */
1069
+ llmSpend?: Money;
1070
+ /**
1071
+ * @generated from field: common.v1.Money api_call_costs = 10;
1072
+ */
1073
+ apiCallCosts?: Money;
1074
+ /**
1075
+ * @generated from field: common.v1.Money total_direct_cost = 11;
1076
+ */
1077
+ totalDirectCost?: Money;
1078
+ /**
1079
+ * @generated from field: int32 approval_reviews = 12;
1080
+ */
1081
+ approvalReviews: number;
1082
+ /**
1083
+ * @generated from field: google.protobuf.Duration total_review_time = 13;
1084
+ */
1085
+ totalReviewTime?: Duration;
1086
+ /**
1087
+ * @generated from field: common.v1.Money supervision_cost = 14;
1088
+ */
1089
+ supervisionCost?: Money;
1090
+ /**
1091
+ * @generated from field: int32 auto_approved_count = 15;
1092
+ */
1093
+ autoApprovedCount: number;
1094
+ /**
1095
+ * @generated from field: common.v1.Money net_value = 16;
1096
+ */
1097
+ netValue?: Money;
1098
+ /**
1099
+ * @generated from field: double roi_ratio = 17;
1100
+ */
1101
+ roiRatio: number;
1102
+ /**
1103
+ * @generated from field: double roi_change_vs_prior = 18;
1104
+ */
1105
+ roiChangeVsPrior: number;
1106
+ /**
1107
+ * @generated from field: repeated attribution.v1.PnLDriver top_drivers = 19;
1108
+ */
1109
+ topDrivers: PnLDriver[];
1110
+ /**
1111
+ * @generated from field: int32 trace_count = 20;
1112
+ */
1113
+ traceCount: number;
1114
+ /**
1115
+ * @generated from field: int32 usage_count = 21;
1116
+ */
1117
+ usageCount: number;
1118
+ /**
1119
+ * @generated from field: repeated common.v1.EvidenceRef evidence = 22;
1120
+ */
1121
+ evidence: EvidenceRef[];
1122
+ };
1123
+ /**
1124
+ * Describes the message attribution.v1.AgentPnL.
1125
+ * Use `create(AgentPnLSchema)` to create a new message.
1126
+ */
1127
+ export declare const AgentPnLSchema: GenMessage<AgentPnL>;
1128
+ /**
1129
+ * @generated from message attribution.v1.GetAgentPnLResponse
1130
+ */
1131
+ export type GetAgentPnLResponse = Message<"attribution.v1.GetAgentPnLResponse"> & {
1132
+ /**
1133
+ * @generated from field: repeated attribution.v1.AgentPnL agents = 1;
1134
+ */
1135
+ agents: AgentPnL[];
1136
+ /**
1137
+ * @generated from field: attribution.v1.AgentPnL fleet_total = 2;
1138
+ */
1139
+ fleetTotal?: AgentPnL;
1140
+ /**
1141
+ * @generated from field: common.v1.TimeRange period = 3;
1142
+ */
1143
+ period?: TimeRange;
1144
+ /**
1145
+ * @generated from field: common.v1.TimeRange prior_period = 4;
1146
+ */
1147
+ priorPeriod?: TimeRange;
1148
+ };
1149
+ /**
1150
+ * Describes the message attribution.v1.GetAgentPnLResponse.
1151
+ * Use `create(GetAgentPnLResponseSchema)` to create a new message.
1152
+ */
1153
+ export declare const GetAgentPnLResponseSchema: GenMessage<GetAgentPnLResponse>;
1154
+ /**
1155
+ * @generated from enum attribution.v1.AttributionModel
1156
+ */
1157
+ export declare enum AttributionModel {
1158
+ /**
1159
+ * @generated from enum value: ATTRIBUTION_MODEL_UNSPECIFIED = 0;
1160
+ */
1161
+ UNSPECIFIED = 0,
1162
+ /**
1163
+ * @generated from enum value: ATTRIBUTION_MODEL_DIRECT = 1;
1164
+ */
1165
+ DIRECT = 1,
1166
+ /**
1167
+ * @generated from enum value: ATTRIBUTION_MODEL_ASSISTED = 2;
1168
+ */
1169
+ ASSISTED = 2,
1170
+ /**
1171
+ * @generated from enum value: ATTRIBUTION_MODEL_INFLUENCED = 3;
1172
+ */
1173
+ INFLUENCED = 3
1174
+ }
1175
+ /**
1176
+ * Describes the enum attribution.v1.AttributionModel.
1177
+ */
1178
+ export declare const AttributionModelSchema: GenEnum<AttributionModel>;
1179
+ /**
1180
+ * @generated from enum attribution.v1.ReportExportFormat
1181
+ */
1182
+ export declare enum ReportExportFormat {
1183
+ /**
1184
+ * @generated from enum value: REPORT_EXPORT_FORMAT_UNSPECIFIED = 0;
1185
+ */
1186
+ UNSPECIFIED = 0,
1187
+ /**
1188
+ * @generated from enum value: REPORT_EXPORT_FORMAT_JSON = 1;
1189
+ */
1190
+ JSON = 1,
1191
+ /**
1192
+ * @generated from enum value: REPORT_EXPORT_FORMAT_CSV = 2;
1193
+ */
1194
+ CSV = 2
1195
+ }
1196
+ /**
1197
+ * Describes the enum attribution.v1.ReportExportFormat.
1198
+ */
1199
+ export declare const ReportExportFormatSchema: GenEnum<ReportExportFormat>;
1200
+ /**
1201
+ * @generated from enum attribution.v1.AttributionSubjectKind
1202
+ */
1203
+ export declare enum AttributionSubjectKind {
1204
+ /**
1205
+ * @generated from enum value: ATTRIBUTION_SUBJECT_KIND_UNSPECIFIED = 0;
1206
+ */
1207
+ UNSPECIFIED = 0,
1208
+ /**
1209
+ * @generated from enum value: ATTRIBUTION_SUBJECT_KIND_DEAL = 1;
1210
+ */
1211
+ DEAL = 1,
1212
+ /**
1213
+ * @generated from enum value: ATTRIBUTION_SUBJECT_KIND_OBJECTIVE = 2;
1214
+ */
1215
+ OBJECTIVE = 2
1216
+ }
1217
+ /**
1218
+ * Describes the enum attribution.v1.AttributionSubjectKind.
1219
+ */
1220
+ export declare const AttributionSubjectKindSchema: GenEnum<AttributionSubjectKind>;
1221
+ /**
1222
+ * @generated from enum attribution.v1.AttributionSignalType
1223
+ */
1224
+ export declare enum AttributionSignalType {
1225
+ /**
1226
+ * @generated from enum value: ATTRIBUTION_SIGNAL_TYPE_UNSPECIFIED = 0;
1227
+ */
1228
+ UNSPECIFIED = 0,
1229
+ /**
1230
+ * @generated from enum value: ATTRIBUTION_SIGNAL_TYPE_OBJECTIVE_COMPLETED = 1;
1231
+ */
1232
+ OBJECTIVE_COMPLETED = 1,
1233
+ /**
1234
+ * @generated from enum value: ATTRIBUTION_SIGNAL_TYPE_TRACE_COMPLETED = 2;
1235
+ */
1236
+ TRACE_COMPLETED = 2
1237
+ }
1238
+ /**
1239
+ * Describes the enum attribution.v1.AttributionSignalType.
1240
+ */
1241
+ export declare const AttributionSignalTypeSchema: GenEnum<AttributionSignalType>;
1242
+ /**
1243
+ * AttributionService computes revenue attribution and ROI across traces and usage.
1244
+ *
1245
+ * @generated from service attribution.v1.AttributionService
1246
+ */
1247
+ export declare const AttributionService: GenService<{
1248
+ /**
1249
+ * @generated from rpc attribution.v1.AttributionService.GenerateReport
1250
+ */
1251
+ generateReport: {
1252
+ methodKind: "unary";
1253
+ input: typeof GenerateReportRequestSchema;
1254
+ output: typeof GenerateReportResponseSchema;
1255
+ };
1256
+ /**
1257
+ * @generated from rpc attribution.v1.AttributionService.GetReport
1258
+ */
1259
+ getReport: {
1260
+ methodKind: "unary";
1261
+ input: typeof GetReportRequestSchema;
1262
+ output: typeof GetReportResponseSchema;
1263
+ };
1264
+ /**
1265
+ * @generated from rpc attribution.v1.AttributionService.ListReports
1266
+ */
1267
+ listReports: {
1268
+ methodKind: "unary";
1269
+ input: typeof ListReportsRequestSchema;
1270
+ output: typeof ListReportsResponseSchema;
1271
+ };
1272
+ /**
1273
+ * @generated from rpc attribution.v1.AttributionService.ExportReport
1274
+ */
1275
+ exportReport: {
1276
+ methodKind: "unary";
1277
+ input: typeof ExportReportRequestSchema;
1278
+ output: typeof ExportReportResponseSchema;
1279
+ };
1280
+ /**
1281
+ * @generated from rpc attribution.v1.AttributionService.RecordSignals
1282
+ */
1283
+ recordSignals: {
1284
+ methodKind: "unary";
1285
+ input: typeof RecordSignalsRequestSchema;
1286
+ output: typeof RecordSignalsResponseSchema;
1287
+ };
1288
+ /**
1289
+ * @generated from rpc attribution.v1.AttributionService.GetSnapshot
1290
+ */
1291
+ getSnapshot: {
1292
+ methodKind: "unary";
1293
+ input: typeof GetSnapshotRequestSchema;
1294
+ output: typeof GetSnapshotResponseSchema;
1295
+ };
1296
+ /**
1297
+ * @generated from rpc attribution.v1.AttributionService.ListSnapshots
1298
+ */
1299
+ listSnapshots: {
1300
+ methodKind: "unary";
1301
+ input: typeof ListSnapshotsRequestSchema;
1302
+ output: typeof ListSnapshotsResponseSchema;
1303
+ };
1304
+ /**
1305
+ * @generated from rpc attribution.v1.AttributionService.GetAgentPnL
1306
+ */
1307
+ getAgentPnL: {
1308
+ methodKind: "unary";
1309
+ input: typeof GetAgentPnLRequestSchema;
1310
+ output: typeof GetAgentPnLResponseSchema;
1311
+ };
1312
+ }>;