@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,777 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { DeliveryChannel } from "../../common/v1/delivery_pb.js";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file notifications/v1/notifications.proto.
7
+ */
8
+ export declare const file_notifications_v1_notifications: GenFile;
9
+ /**
10
+ * Notification is the canonical notification record.
11
+ *
12
+ * @generated from message notifications.v1.Notification
13
+ */
14
+ export type Notification = Message<"notifications.v1.Notification"> & {
15
+ /**
16
+ * @generated from field: string id = 1;
17
+ */
18
+ id: string;
19
+ /**
20
+ * @generated from field: string workspace_id = 2;
21
+ */
22
+ workspaceId: string;
23
+ /**
24
+ * @generated from field: string recipient_id = 3;
25
+ */
26
+ recipientId: string;
27
+ /**
28
+ * @generated from field: common.v1.DeliveryChannel channel = 4;
29
+ */
30
+ channel: DeliveryChannel;
31
+ /**
32
+ * @generated from field: notifications.v1.Priority priority = 5;
33
+ */
34
+ priority: Priority;
35
+ /**
36
+ * @generated from field: string subject = 6;
37
+ */
38
+ subject: string;
39
+ /**
40
+ * @generated from field: string body = 7;
41
+ */
42
+ body: string;
43
+ /**
44
+ * @generated from field: string metadata_json = 8;
45
+ */
46
+ metadataJson: string;
47
+ /**
48
+ * @generated from field: notifications.v1.DeliveryStatus delivery_status = 9;
49
+ */
50
+ deliveryStatus: DeliveryStatus;
51
+ /**
52
+ * @generated from field: google.protobuf.Timestamp sent_at = 10;
53
+ */
54
+ sentAt?: Timestamp;
55
+ /**
56
+ * @generated from field: google.protobuf.Timestamp delivered_at = 11;
57
+ */
58
+ deliveredAt?: Timestamp;
59
+ /**
60
+ * @generated from field: notifications.v1.NotificationCategory category = 12;
61
+ */
62
+ category: NotificationCategory;
63
+ /**
64
+ * @generated from field: string template_name = 13;
65
+ */
66
+ templateName: string;
67
+ };
68
+ /**
69
+ * Describes the message notifications.v1.Notification.
70
+ * Use `create(NotificationSchema)` to create a new message.
71
+ */
72
+ export declare const NotificationSchema: GenMessage<Notification>;
73
+ /**
74
+ * EscalationRule defines automatic escalation when a notification is unacknowledged.
75
+ *
76
+ * @generated from message notifications.v1.EscalationRule
77
+ */
78
+ export type EscalationRule = Message<"notifications.v1.EscalationRule"> & {
79
+ /**
80
+ * @generated from field: int32 if_unacknowledged_after_seconds = 1;
81
+ */
82
+ ifUnacknowledgedAfterSeconds: number;
83
+ /**
84
+ * @generated from field: common.v1.DeliveryChannel escalate_to_channel = 2;
85
+ */
86
+ escalateToChannel: DeliveryChannel;
87
+ };
88
+ /**
89
+ * Describes the message notifications.v1.EscalationRule.
90
+ * Use `create(EscalationRuleSchema)` to create a new message.
91
+ */
92
+ export declare const EscalationRuleSchema: GenMessage<EscalationRule>;
93
+ /**
94
+ * NotificationPreferences stores a user's notification settings.
95
+ *
96
+ * @generated from message notifications.v1.NotificationPreferences
97
+ */
98
+ export type NotificationPreferences = Message<"notifications.v1.NotificationPreferences"> & {
99
+ /**
100
+ * @generated from field: string user_id = 1;
101
+ */
102
+ userId: string;
103
+ /**
104
+ * @generated from field: string workspace_id = 2;
105
+ */
106
+ workspaceId: string;
107
+ /**
108
+ * @generated from field: common.v1.DeliveryChannel default_channel = 3;
109
+ */
110
+ defaultChannel: DeliveryChannel;
111
+ /**
112
+ * @generated from field: string quiet_hours_start = 4;
113
+ */
114
+ quietHoursStart: string;
115
+ /**
116
+ * @generated from field: string quiet_hours_end = 5;
117
+ */
118
+ quietHoursEnd: string;
119
+ /**
120
+ * @generated from field: repeated notifications.v1.EscalationRule escalation_rules = 6;
121
+ */
122
+ escalationRules: EscalationRule[];
123
+ /**
124
+ * @generated from field: repeated notifications.v1.CategoryChannelPreference category_channels = 7;
125
+ */
126
+ categoryChannels: CategoryChannelPreference[];
127
+ /**
128
+ * @generated from field: repeated notifications.v1.DigestPreference digest_preferences = 8;
129
+ */
130
+ digestPreferences: DigestPreference[];
131
+ };
132
+ /**
133
+ * Describes the message notifications.v1.NotificationPreferences.
134
+ * Use `create(NotificationPreferencesSchema)` to create a new message.
135
+ */
136
+ export declare const NotificationPreferencesSchema: GenMessage<NotificationPreferences>;
137
+ /**
138
+ * CategoryChannelPreference overrides delivery routing for a specific category.
139
+ *
140
+ * @generated from message notifications.v1.CategoryChannelPreference
141
+ */
142
+ export type CategoryChannelPreference = Message<"notifications.v1.CategoryChannelPreference"> & {
143
+ /**
144
+ * @generated from field: notifications.v1.NotificationCategory category = 1;
145
+ */
146
+ category: NotificationCategory;
147
+ /**
148
+ * @generated from field: common.v1.DeliveryChannel channel = 2;
149
+ */
150
+ channel: DeliveryChannel;
151
+ };
152
+ /**
153
+ * Describes the message notifications.v1.CategoryChannelPreference.
154
+ * Use `create(CategoryChannelPreferenceSchema)` to create a new message.
155
+ */
156
+ export declare const CategoryChannelPreferenceSchema: GenMessage<CategoryChannelPreference>;
157
+ /**
158
+ * NotificationTemplate defines a reusable notification subject/body template.
159
+ *
160
+ * @generated from message notifications.v1.NotificationTemplate
161
+ */
162
+ export type NotificationTemplate = Message<"notifications.v1.NotificationTemplate"> & {
163
+ /**
164
+ * @generated from field: string id = 1;
165
+ */
166
+ id: string;
167
+ /**
168
+ * @generated from field: string workspace_id = 2;
169
+ */
170
+ workspaceId: string;
171
+ /**
172
+ * @generated from field: string name = 3;
173
+ */
174
+ name: string;
175
+ /**
176
+ * @generated from field: notifications.v1.NotificationCategory category = 4;
177
+ */
178
+ category: NotificationCategory;
179
+ /**
180
+ * @generated from field: common.v1.DeliveryChannel channel = 5;
181
+ */
182
+ channel: DeliveryChannel;
183
+ /**
184
+ * @generated from field: string subject_template = 6;
185
+ */
186
+ subjectTemplate: string;
187
+ /**
188
+ * @generated from field: string body_template = 7;
189
+ */
190
+ bodyTemplate: string;
191
+ /**
192
+ * @generated from field: repeated string required_variables = 8;
193
+ */
194
+ requiredVariables: string[];
195
+ /**
196
+ * @generated from field: bool built_in = 9;
197
+ */
198
+ builtIn: boolean;
199
+ /**
200
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
201
+ */
202
+ updatedAt?: Timestamp;
203
+ };
204
+ /**
205
+ * Describes the message notifications.v1.NotificationTemplate.
206
+ * Use `create(NotificationTemplateSchema)` to create a new message.
207
+ */
208
+ export declare const NotificationTemplateSchema: GenMessage<NotificationTemplate>;
209
+ /**
210
+ * DigestPreference controls batching for a category/channel pair.
211
+ *
212
+ * @generated from message notifications.v1.DigestPreference
213
+ */
214
+ export type DigestPreference = Message<"notifications.v1.DigestPreference"> & {
215
+ /**
216
+ * @generated from field: notifications.v1.NotificationCategory category = 1;
217
+ */
218
+ category: NotificationCategory;
219
+ /**
220
+ * @generated from field: common.v1.DeliveryChannel channel = 2;
221
+ */
222
+ channel: DeliveryChannel;
223
+ /**
224
+ * @generated from field: int32 window_seconds = 3;
225
+ */
226
+ windowSeconds: number;
227
+ /**
228
+ * @generated from field: bool enabled = 4;
229
+ */
230
+ enabled: boolean;
231
+ };
232
+ /**
233
+ * Describes the message notifications.v1.DigestPreference.
234
+ * Use `create(DigestPreferenceSchema)` to create a new message.
235
+ */
236
+ export declare const DigestPreferenceSchema: GenMessage<DigestPreference>;
237
+ /**
238
+ * @generated from message notifications.v1.SendRequest
239
+ */
240
+ export type SendRequest = Message<"notifications.v1.SendRequest"> & {
241
+ /**
242
+ * @generated from field: string workspace_id = 1;
243
+ */
244
+ workspaceId: string;
245
+ /**
246
+ * @generated from field: string recipient_id = 2;
247
+ */
248
+ recipientId: string;
249
+ /**
250
+ * If channel is unspecified, the notifications service may resolve it from
251
+ * the recipient's preferences before falling back to a safe default.
252
+ *
253
+ * @generated from field: common.v1.DeliveryChannel channel = 3;
254
+ */
255
+ channel: DeliveryChannel;
256
+ /**
257
+ * @generated from field: notifications.v1.Priority priority = 4;
258
+ */
259
+ priority: Priority;
260
+ /**
261
+ * @generated from field: string subject = 5;
262
+ */
263
+ subject: string;
264
+ /**
265
+ * @generated from field: string body = 6;
266
+ */
267
+ body: string;
268
+ /**
269
+ * @generated from field: string metadata_json = 7;
270
+ */
271
+ metadataJson: string;
272
+ /**
273
+ * @generated from field: notifications.v1.NotificationCategory category = 8;
274
+ */
275
+ category: NotificationCategory;
276
+ /**
277
+ * @generated from field: string template_name = 9;
278
+ */
279
+ templateName: string;
280
+ /**
281
+ * @generated from field: string template_variables_json = 10;
282
+ */
283
+ templateVariablesJson: string;
284
+ };
285
+ /**
286
+ * Describes the message notifications.v1.SendRequest.
287
+ * Use `create(SendRequestSchema)` to create a new message.
288
+ */
289
+ export declare const SendRequestSchema: GenMessage<SendRequest>;
290
+ /**
291
+ * @generated from message notifications.v1.SendResponse
292
+ */
293
+ export type SendResponse = Message<"notifications.v1.SendResponse"> & {
294
+ /**
295
+ * @generated from field: notifications.v1.Notification notification = 1;
296
+ */
297
+ notification?: Notification;
298
+ };
299
+ /**
300
+ * Describes the message notifications.v1.SendResponse.
301
+ * Use `create(SendResponseSchema)` to create a new message.
302
+ */
303
+ export declare const SendResponseSchema: GenMessage<SendResponse>;
304
+ /**
305
+ * @generated from message notifications.v1.SendBatchRequest
306
+ */
307
+ export type SendBatchRequest = Message<"notifications.v1.SendBatchRequest"> & {
308
+ /**
309
+ * @generated from field: repeated notifications.v1.SendRequest notifications = 1;
310
+ */
311
+ notifications: SendRequest[];
312
+ };
313
+ /**
314
+ * Describes the message notifications.v1.SendBatchRequest.
315
+ * Use `create(SendBatchRequestSchema)` to create a new message.
316
+ */
317
+ export declare const SendBatchRequestSchema: GenMessage<SendBatchRequest>;
318
+ /**
319
+ * @generated from message notifications.v1.SendBatchResponse
320
+ */
321
+ export type SendBatchResponse = Message<"notifications.v1.SendBatchResponse"> & {
322
+ /**
323
+ * @generated from field: repeated notifications.v1.Notification notifications = 1;
324
+ */
325
+ notifications: Notification[];
326
+ /**
327
+ * @generated from field: int32 failed_count = 2;
328
+ */
329
+ failedCount: number;
330
+ };
331
+ /**
332
+ * Describes the message notifications.v1.SendBatchResponse.
333
+ * Use `create(SendBatchResponseSchema)` to create a new message.
334
+ */
335
+ export declare const SendBatchResponseSchema: GenMessage<SendBatchResponse>;
336
+ /**
337
+ * @generated from message notifications.v1.GetPreferencesRequest
338
+ */
339
+ export type GetPreferencesRequest = Message<"notifications.v1.GetPreferencesRequest"> & {
340
+ /**
341
+ * @generated from field: string user_id = 1;
342
+ */
343
+ userId: string;
344
+ /**
345
+ * @generated from field: string workspace_id = 2;
346
+ */
347
+ workspaceId: string;
348
+ };
349
+ /**
350
+ * Describes the message notifications.v1.GetPreferencesRequest.
351
+ * Use `create(GetPreferencesRequestSchema)` to create a new message.
352
+ */
353
+ export declare const GetPreferencesRequestSchema: GenMessage<GetPreferencesRequest>;
354
+ /**
355
+ * @generated from message notifications.v1.GetPreferencesResponse
356
+ */
357
+ export type GetPreferencesResponse = Message<"notifications.v1.GetPreferencesResponse"> & {
358
+ /**
359
+ * @generated from field: notifications.v1.NotificationPreferences preferences = 1;
360
+ */
361
+ preferences?: NotificationPreferences;
362
+ };
363
+ /**
364
+ * Describes the message notifications.v1.GetPreferencesResponse.
365
+ * Use `create(GetPreferencesResponseSchema)` to create a new message.
366
+ */
367
+ export declare const GetPreferencesResponseSchema: GenMessage<GetPreferencesResponse>;
368
+ /**
369
+ * @generated from message notifications.v1.SetPreferencesRequest
370
+ */
371
+ export type SetPreferencesRequest = Message<"notifications.v1.SetPreferencesRequest"> & {
372
+ /**
373
+ * @generated from field: notifications.v1.NotificationPreferences preferences = 1;
374
+ */
375
+ preferences?: NotificationPreferences;
376
+ };
377
+ /**
378
+ * Describes the message notifications.v1.SetPreferencesRequest.
379
+ * Use `create(SetPreferencesRequestSchema)` to create a new message.
380
+ */
381
+ export declare const SetPreferencesRequestSchema: GenMessage<SetPreferencesRequest>;
382
+ /**
383
+ * @generated from message notifications.v1.SetPreferencesResponse
384
+ */
385
+ export type SetPreferencesResponse = Message<"notifications.v1.SetPreferencesResponse"> & {
386
+ /**
387
+ * @generated from field: notifications.v1.NotificationPreferences preferences = 1;
388
+ */
389
+ preferences?: NotificationPreferences;
390
+ };
391
+ /**
392
+ * Describes the message notifications.v1.SetPreferencesResponse.
393
+ * Use `create(SetPreferencesResponseSchema)` to create a new message.
394
+ */
395
+ export declare const SetPreferencesResponseSchema: GenMessage<SetPreferencesResponse>;
396
+ /**
397
+ * @generated from message notifications.v1.ListHistoryRequest
398
+ */
399
+ export type ListHistoryRequest = Message<"notifications.v1.ListHistoryRequest"> & {
400
+ /**
401
+ * @generated from field: string workspace_id = 1;
402
+ */
403
+ workspaceId: string;
404
+ /**
405
+ * @generated from field: string recipient_id = 2;
406
+ */
407
+ recipientId: string;
408
+ /**
409
+ * @generated from field: int32 limit = 3;
410
+ */
411
+ limit: number;
412
+ /**
413
+ * @generated from field: int32 offset = 4;
414
+ */
415
+ offset: number;
416
+ };
417
+ /**
418
+ * Describes the message notifications.v1.ListHistoryRequest.
419
+ * Use `create(ListHistoryRequestSchema)` to create a new message.
420
+ */
421
+ export declare const ListHistoryRequestSchema: GenMessage<ListHistoryRequest>;
422
+ /**
423
+ * @generated from message notifications.v1.ListHistoryResponse
424
+ */
425
+ export type ListHistoryResponse = Message<"notifications.v1.ListHistoryResponse"> & {
426
+ /**
427
+ * @generated from field: repeated notifications.v1.Notification notifications = 1;
428
+ */
429
+ notifications: Notification[];
430
+ /**
431
+ * @generated from field: int32 total = 2;
432
+ */
433
+ total: number;
434
+ };
435
+ /**
436
+ * Describes the message notifications.v1.ListHistoryResponse.
437
+ * Use `create(ListHistoryResponseSchema)` to create a new message.
438
+ */
439
+ export declare const ListHistoryResponseSchema: GenMessage<ListHistoryResponse>;
440
+ /**
441
+ * @generated from message notifications.v1.RegisterChannelRequest
442
+ */
443
+ export type RegisterChannelRequest = Message<"notifications.v1.RegisterChannelRequest"> & {
444
+ /**
445
+ * @generated from field: string workspace_id = 1;
446
+ */
447
+ workspaceId: string;
448
+ /**
449
+ * @generated from field: common.v1.DeliveryChannel channel = 2;
450
+ */
451
+ channel: DeliveryChannel;
452
+ /**
453
+ * @generated from field: map<string, string> config = 3;
454
+ */
455
+ config: {
456
+ [key: string]: string;
457
+ };
458
+ };
459
+ /**
460
+ * Describes the message notifications.v1.RegisterChannelRequest.
461
+ * Use `create(RegisterChannelRequestSchema)` to create a new message.
462
+ */
463
+ export declare const RegisterChannelRequestSchema: GenMessage<RegisterChannelRequest>;
464
+ /**
465
+ * @generated from message notifications.v1.RegisterChannelResponse
466
+ */
467
+ export type RegisterChannelResponse = Message<"notifications.v1.RegisterChannelResponse"> & {
468
+ /**
469
+ * @generated from field: bool success = 1;
470
+ */
471
+ success: boolean;
472
+ };
473
+ /**
474
+ * Describes the message notifications.v1.RegisterChannelResponse.
475
+ * Use `create(RegisterChannelResponseSchema)` to create a new message.
476
+ */
477
+ export declare const RegisterChannelResponseSchema: GenMessage<RegisterChannelResponse>;
478
+ /**
479
+ * @generated from message notifications.v1.GetDeliveryStatusRequest
480
+ */
481
+ export type GetDeliveryStatusRequest = Message<"notifications.v1.GetDeliveryStatusRequest"> & {
482
+ /**
483
+ * @generated from field: string notification_id = 1;
484
+ */
485
+ notificationId: string;
486
+ };
487
+ /**
488
+ * Describes the message notifications.v1.GetDeliveryStatusRequest.
489
+ * Use `create(GetDeliveryStatusRequestSchema)` to create a new message.
490
+ */
491
+ export declare const GetDeliveryStatusRequestSchema: GenMessage<GetDeliveryStatusRequest>;
492
+ /**
493
+ * @generated from message notifications.v1.GetDeliveryStatusResponse
494
+ */
495
+ export type GetDeliveryStatusResponse = Message<"notifications.v1.GetDeliveryStatusResponse"> & {
496
+ /**
497
+ * @generated from field: notifications.v1.DeliveryStatus status = 1;
498
+ */
499
+ status: DeliveryStatus;
500
+ /**
501
+ * @generated from field: google.protobuf.Timestamp last_updated_at = 2;
502
+ */
503
+ lastUpdatedAt?: Timestamp;
504
+ /**
505
+ * @generated from field: string error_message = 3;
506
+ */
507
+ errorMessage: string;
508
+ };
509
+ /**
510
+ * Describes the message notifications.v1.GetDeliveryStatusResponse.
511
+ * Use `create(GetDeliveryStatusResponseSchema)` to create a new message.
512
+ */
513
+ export declare const GetDeliveryStatusResponseSchema: GenMessage<GetDeliveryStatusResponse>;
514
+ /**
515
+ * @generated from message notifications.v1.UpsertTemplateRequest
516
+ */
517
+ export type UpsertTemplateRequest = Message<"notifications.v1.UpsertTemplateRequest"> & {
518
+ /**
519
+ * @generated from field: notifications.v1.NotificationTemplate template = 1;
520
+ */
521
+ template?: NotificationTemplate;
522
+ };
523
+ /**
524
+ * Describes the message notifications.v1.UpsertTemplateRequest.
525
+ * Use `create(UpsertTemplateRequestSchema)` to create a new message.
526
+ */
527
+ export declare const UpsertTemplateRequestSchema: GenMessage<UpsertTemplateRequest>;
528
+ /**
529
+ * @generated from message notifications.v1.UpsertTemplateResponse
530
+ */
531
+ export type UpsertTemplateResponse = Message<"notifications.v1.UpsertTemplateResponse"> & {
532
+ /**
533
+ * @generated from field: notifications.v1.NotificationTemplate template = 1;
534
+ */
535
+ template?: NotificationTemplate;
536
+ };
537
+ /**
538
+ * Describes the message notifications.v1.UpsertTemplateResponse.
539
+ * Use `create(UpsertTemplateResponseSchema)` to create a new message.
540
+ */
541
+ export declare const UpsertTemplateResponseSchema: GenMessage<UpsertTemplateResponse>;
542
+ /**
543
+ * @generated from message notifications.v1.ListTemplatesRequest
544
+ */
545
+ export type ListTemplatesRequest = Message<"notifications.v1.ListTemplatesRequest"> & {
546
+ /**
547
+ * @generated from field: string workspace_id = 1;
548
+ */
549
+ workspaceId: string;
550
+ /**
551
+ * @generated from field: notifications.v1.NotificationCategory category = 2;
552
+ */
553
+ category: NotificationCategory;
554
+ /**
555
+ * @generated from field: common.v1.DeliveryChannel channel = 3;
556
+ */
557
+ channel: DeliveryChannel;
558
+ /**
559
+ * @generated from field: bool include_built_in = 4;
560
+ */
561
+ includeBuiltIn: boolean;
562
+ };
563
+ /**
564
+ * Describes the message notifications.v1.ListTemplatesRequest.
565
+ * Use `create(ListTemplatesRequestSchema)` to create a new message.
566
+ */
567
+ export declare const ListTemplatesRequestSchema: GenMessage<ListTemplatesRequest>;
568
+ /**
569
+ * @generated from message notifications.v1.ListTemplatesResponse
570
+ */
571
+ export type ListTemplatesResponse = Message<"notifications.v1.ListTemplatesResponse"> & {
572
+ /**
573
+ * @generated from field: repeated notifications.v1.NotificationTemplate templates = 1;
574
+ */
575
+ templates: NotificationTemplate[];
576
+ };
577
+ /**
578
+ * Describes the message notifications.v1.ListTemplatesResponse.
579
+ * Use `create(ListTemplatesResponseSchema)` to create a new message.
580
+ */
581
+ export declare const ListTemplatesResponseSchema: GenMessage<ListTemplatesResponse>;
582
+ /**
583
+ * Priority describes the urgency of a notification.
584
+ *
585
+ * @generated from enum notifications.v1.Priority
586
+ */
587
+ export declare enum Priority {
588
+ /**
589
+ * @generated from enum value: PRIORITY_UNSPECIFIED = 0;
590
+ */
591
+ UNSPECIFIED = 0,
592
+ /**
593
+ * @generated from enum value: PRIORITY_LOW = 1;
594
+ */
595
+ LOW = 1,
596
+ /**
597
+ * @generated from enum value: PRIORITY_NORMAL = 2;
598
+ */
599
+ NORMAL = 2,
600
+ /**
601
+ * @generated from enum value: PRIORITY_HIGH = 3;
602
+ */
603
+ HIGH = 3,
604
+ /**
605
+ * @generated from enum value: PRIORITY_URGENT = 4;
606
+ */
607
+ URGENT = 4
608
+ }
609
+ /**
610
+ * Describes the enum notifications.v1.Priority.
611
+ */
612
+ export declare const PrioritySchema: GenEnum<Priority>;
613
+ /**
614
+ * NotificationCategory groups notifications for routing and template selection.
615
+ *
616
+ * @generated from enum notifications.v1.NotificationCategory
617
+ */
618
+ export declare enum NotificationCategory {
619
+ /**
620
+ * @generated from enum value: NOTIFICATION_CATEGORY_UNSPECIFIED = 0;
621
+ */
622
+ UNSPECIFIED = 0,
623
+ /**
624
+ * @generated from enum value: NOTIFICATION_CATEGORY_APPROVAL_REQUEST = 1;
625
+ */
626
+ APPROVAL_REQUEST = 1,
627
+ /**
628
+ * @generated from enum value: NOTIFICATION_CATEGORY_BUDGET_ALERT = 2;
629
+ */
630
+ BUDGET_ALERT = 2,
631
+ /**
632
+ * @generated from enum value: NOTIFICATION_CATEGORY_PII_DETECTION = 3;
633
+ */
634
+ PII_DETECTION = 3,
635
+ /**
636
+ * @generated from enum value: NOTIFICATION_CATEGORY_INCIDENT = 4;
637
+ */
638
+ INCIDENT = 4,
639
+ /**
640
+ * @generated from enum value: NOTIFICATION_CATEGORY_REPORT = 5;
641
+ */
642
+ REPORT = 5,
643
+ /**
644
+ * @generated from enum value: NOTIFICATION_CATEGORY_INTEGRATION = 6;
645
+ */
646
+ INTEGRATION = 6,
647
+ /**
648
+ * @generated from enum value: NOTIFICATION_CATEGORY_DIGEST = 7;
649
+ */
650
+ DIGEST = 7,
651
+ /**
652
+ * @generated from enum value: NOTIFICATION_CATEGORY_GENERAL = 8;
653
+ */
654
+ GENERAL = 8
655
+ }
656
+ /**
657
+ * Describes the enum notifications.v1.NotificationCategory.
658
+ */
659
+ export declare const NotificationCategorySchema: GenEnum<NotificationCategory>;
660
+ /**
661
+ * DeliveryStatus describes the delivery state of a notification.
662
+ *
663
+ * @generated from enum notifications.v1.DeliveryStatus
664
+ */
665
+ export declare enum DeliveryStatus {
666
+ /**
667
+ * @generated from enum value: DELIVERY_STATUS_UNSPECIFIED = 0;
668
+ */
669
+ UNSPECIFIED = 0,
670
+ /**
671
+ * @generated from enum value: DELIVERY_STATUS_PENDING = 1;
672
+ */
673
+ PENDING = 1,
674
+ /**
675
+ * @generated from enum value: DELIVERY_STATUS_SENT = 2;
676
+ */
677
+ SENT = 2,
678
+ /**
679
+ * @generated from enum value: DELIVERY_STATUS_DELIVERED = 3;
680
+ */
681
+ DELIVERED = 3,
682
+ /**
683
+ * @generated from enum value: DELIVERY_STATUS_FAILED = 4;
684
+ */
685
+ FAILED = 4,
686
+ /**
687
+ * @generated from enum value: DELIVERY_STATUS_BOUNCED = 5;
688
+ */
689
+ BOUNCED = 5,
690
+ /**
691
+ * @generated from enum value: DELIVERY_STATUS_QUEUED = 6;
692
+ */
693
+ QUEUED = 6
694
+ }
695
+ /**
696
+ * Describes the enum notifications.v1.DeliveryStatus.
697
+ */
698
+ export declare const DeliveryStatusSchema: GenEnum<DeliveryStatus>;
699
+ /**
700
+ * NotificationService manages delivery of notifications across channels.
701
+ *
702
+ * @generated from service notifications.v1.NotificationService
703
+ */
704
+ export declare const NotificationService: GenService<{
705
+ /**
706
+ * @generated from rpc notifications.v1.NotificationService.Send
707
+ */
708
+ send: {
709
+ methodKind: "unary";
710
+ input: typeof SendRequestSchema;
711
+ output: typeof SendResponseSchema;
712
+ };
713
+ /**
714
+ * @generated from rpc notifications.v1.NotificationService.SendBatch
715
+ */
716
+ sendBatch: {
717
+ methodKind: "unary";
718
+ input: typeof SendBatchRequestSchema;
719
+ output: typeof SendBatchResponseSchema;
720
+ };
721
+ /**
722
+ * @generated from rpc notifications.v1.NotificationService.GetPreferences
723
+ */
724
+ getPreferences: {
725
+ methodKind: "unary";
726
+ input: typeof GetPreferencesRequestSchema;
727
+ output: typeof GetPreferencesResponseSchema;
728
+ };
729
+ /**
730
+ * @generated from rpc notifications.v1.NotificationService.SetPreferences
731
+ */
732
+ setPreferences: {
733
+ methodKind: "unary";
734
+ input: typeof SetPreferencesRequestSchema;
735
+ output: typeof SetPreferencesResponseSchema;
736
+ };
737
+ /**
738
+ * @generated from rpc notifications.v1.NotificationService.ListHistory
739
+ */
740
+ listHistory: {
741
+ methodKind: "unary";
742
+ input: typeof ListHistoryRequestSchema;
743
+ output: typeof ListHistoryResponseSchema;
744
+ };
745
+ /**
746
+ * @generated from rpc notifications.v1.NotificationService.RegisterChannel
747
+ */
748
+ registerChannel: {
749
+ methodKind: "unary";
750
+ input: typeof RegisterChannelRequestSchema;
751
+ output: typeof RegisterChannelResponseSchema;
752
+ };
753
+ /**
754
+ * @generated from rpc notifications.v1.NotificationService.GetDeliveryStatus
755
+ */
756
+ getDeliveryStatus: {
757
+ methodKind: "unary";
758
+ input: typeof GetDeliveryStatusRequestSchema;
759
+ output: typeof GetDeliveryStatusResponseSchema;
760
+ };
761
+ /**
762
+ * @generated from rpc notifications.v1.NotificationService.UpsertTemplate
763
+ */
764
+ upsertTemplate: {
765
+ methodKind: "unary";
766
+ input: typeof UpsertTemplateRequestSchema;
767
+ output: typeof UpsertTemplateResponseSchema;
768
+ };
769
+ /**
770
+ * @generated from rpc notifications.v1.NotificationService.ListTemplates
771
+ */
772
+ listTemplates: {
773
+ methodKind: "unary";
774
+ input: typeof ListTemplatesRequestSchema;
775
+ output: typeof ListTemplatesResponseSchema;
776
+ };
777
+ }>;