@kudo.io/artworker-grpc-client-ts 3.0.18 → 3.0.19

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 (37) hide show
  1. package/lib/artworker/v1/artworker-service_pb.d.ts +41 -1
  2. package/lib/artworker/v1/artworker-service_pb.js +1 -1
  3. package/lib/artworker/v1/artworker-service_pb.js.map +1 -1
  4. package/lib/artworker/v1/artworker_pb.d.ts +308 -0
  5. package/lib/artworker/v1/artworker_pb.js +185 -47
  6. package/lib/artworker/v1/artworker_pb.js.map +1 -1
  7. package/lib/artworking/v1/00-artworking_service_pb.d.ts +49 -1
  8. package/lib/artworking/v1/00-artworking_service_pb.js +1 -1
  9. package/lib/artworking/v1/00-artworking_service_pb.js.map +1 -1
  10. package/lib/artworking/v1/artwork_pb.d.ts +47 -1
  11. package/lib/artworking/v1/artwork_pb.js +13 -1
  12. package/lib/artworking/v1/artwork_pb.js.map +1 -1
  13. package/lib/artworking/v1/job-group_pb.d.ts +395 -2
  14. package/lib/artworking/v1/job-group_pb.js +120 -2
  15. package/lib/artworking/v1/job-group_pb.js.map +1 -1
  16. package/lib/media/v1/media_pb.d.ts +29 -0
  17. package/lib/media/v1/media_pb.js +11 -1
  18. package/lib/media/v1/media_pb.js.map +1 -1
  19. package/lib/media/v1/media_service_pb.d.ts +9 -1
  20. package/lib/media/v1/media_service_pb.js +1 -1
  21. package/lib/media/v1/media_service_pb.js.map +1 -1
  22. package/lib/notification/v2/notification_pb.d.ts +596 -0
  23. package/lib/notification/v2/notification_pb.js +185 -0
  24. package/lib/notification/v2/notification_pb.js.map +1 -0
  25. package/lib/notification/v2/notification_service_pb.d.ts +83 -0
  26. package/lib/notification/v2/notification_service_pb.js +14 -0
  27. package/lib/notification/v2/notification_service_pb.js.map +1 -0
  28. package/package.json +1 -1
  29. package/src/artworker/v1/artworker-service_pb.ts +42 -2
  30. package/src/artworker/v1/artworker_pb.ts +416 -47
  31. package/src/artworking/v1/00-artworking_service_pb.ts +50 -2
  32. package/src/artworking/v1/artwork_pb.ts +55 -1
  33. package/src/artworking/v1/job-group_pb.ts +470 -4
  34. package/src/media/v1/media_pb.ts +38 -1
  35. package/src/media/v1/media_service_pb.ts +10 -2
  36. package/src/notification/v2/notification_pb.ts +746 -0
  37. package/src/notification/v2/notification_service_pb.ts +94 -0
@@ -0,0 +1,746 @@
1
+ // @generated by protoc-gen-es v2.10.1 with parameter "target=ts,import_extension=js"
2
+ // @generated from file notification/v2/notification.proto (package notification.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file notification/v2/notification.proto.
13
+ */
14
+ export const file_notification_v2_notification: GenFile = /*@__PURE__*/
15
+ fileDesc("CiJub3RpZmljYXRpb24vdjIvbm90aWZpY2F0aW9uLnByb3RvEg9ub3RpZmljYXRpb24udjIi6QMKDE5vdGlmaWNhdGlvbhIKCgJpZBgBIAEoCRIUCgxhcnR3b3JrZXJfaWQYAiABKAMSDgoGam9iX2lkGAMgASgJEhAKCGpvYl90eXBlGAQgASgJEhIKCmV2ZW50X3R5cGUYBSABKAkSFwoPcmVjaXBpZW50X2VtYWlsGAYgASgJEhYKDnJlY2lwaWVudF9uYW1lGAcgASgJEjMKBnN0YXR1cxgIIAEoDjIjLm5vdGlmaWNhdGlvbi52Mi5Ob3RpZmljYXRpb25TdGF0dXMSFQoNY2hhc2VfZW5hYmxlZBgJIAEoCBIaChJjaGFzZV9pbnRlcnZhbF9taW4YCiABKAUSEgoKbWF4X2NoYXNlcxgLIAEoBRITCgtjaGFzZXNfc2VudBgMIAEoBRI0ChBuZXh0X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2V0X2NoYXNlc19zZW50GAIgASgFKp8BChJOb3RpZmljYXRpb25TdGF0dXMSIwofTk9USUZJQ0FUSU9OX1NUQVRVU19VTlNQRUNJRklFRBAAEh4KGk5PVElGSUNBVElPTl9TVEFUVVNfQUNUSVZFEAESIQodTk9USUZJQ0FUSU9OX1NUQVRVU19DT01QTEVURUQQAhIhCh1OT1RJRklDQVRJT05fU1RBVFVTX0NBTkNFTExFRBADKr8BCg5EZWxpdmVyeVN0YXR1cxIfChtERUxJVkVSWV9TVEFUVVNfVU5TUEVDSUZJRUQQABIbChdERUxJVkVSWV9TVEFUVVNfUEVORElORxABEhgKFERFTElWRVJZX1NUQVRVU19TRU5UEAISHQoZREVMSVZFUllfU1RBVFVTX0RFTElWRVJFRBADEhoKFkRFTElWRVJZX1NUQVRVU19PUEVORUQQBBIaChZERUxJVkVSWV9TVEFUVVNfRkFJTEVEEAVCVFpSYml0YnVja2V0Lm9yZy9rdWRvdWsvYXJ0d29ya2VyLWJhY2tlbmQvcHJvdG8vZ2VuL2dvL25vdGlmaWNhdGlvbi92Mjtub3RpZmljYXRpb252MmIGcHJvdG8z", [file_google_protobuf_timestamp]);
16
+
17
+ /**
18
+ * @generated from message notification.v2.Notification
19
+ */
20
+ export type Notification = Message<"notification.v2.Notification"> & {
21
+ /**
22
+ * @generated from field: string id = 1;
23
+ */
24
+ id: string;
25
+
26
+ /**
27
+ * @generated from field: int64 artworker_id = 2;
28
+ */
29
+ artworkerId: bigint;
30
+
31
+ /**
32
+ * @generated from field: string job_id = 3;
33
+ */
34
+ jobId: string;
35
+
36
+ /**
37
+ * @generated from field: string job_type = 4;
38
+ */
39
+ jobType: string;
40
+
41
+ /**
42
+ * @generated from field: string event_type = 5;
43
+ */
44
+ eventType: string;
45
+
46
+ /**
47
+ * @generated from field: string recipient_email = 6;
48
+ */
49
+ recipientEmail: string;
50
+
51
+ /**
52
+ * @generated from field: string recipient_name = 7;
53
+ */
54
+ recipientName: string;
55
+
56
+ /**
57
+ * @generated from field: notification.v2.NotificationStatus status = 8;
58
+ */
59
+ status: NotificationStatus;
60
+
61
+ /**
62
+ * @generated from field: bool chase_enabled = 9;
63
+ */
64
+ chaseEnabled: boolean;
65
+
66
+ /**
67
+ * @generated from field: int32 chase_interval_min = 10;
68
+ */
69
+ chaseIntervalMin: number;
70
+
71
+ /**
72
+ * @generated from field: int32 max_chases = 11;
73
+ */
74
+ maxChases: number;
75
+
76
+ /**
77
+ * @generated from field: int32 chases_sent = 12;
78
+ */
79
+ chasesSent: number;
80
+
81
+ /**
82
+ * @generated from field: google.protobuf.Timestamp next_chase_after = 13;
83
+ */
84
+ nextChaseAfter?: Timestamp;
85
+
86
+ /**
87
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
88
+ */
89
+ createdAt?: Timestamp;
90
+
91
+ /**
92
+ * @generated from field: google.protobuf.Timestamp updated_at = 15;
93
+ */
94
+ updatedAt?: Timestamp;
95
+
96
+ /**
97
+ * @generated from field: repeated notification.v2.EmailSend sends = 16;
98
+ */
99
+ sends: EmailSend[];
100
+ };
101
+
102
+ /**
103
+ * Describes the message notification.v2.Notification.
104
+ * Use `create(NotificationSchema)` to create a new message.
105
+ */
106
+ export const NotificationSchema: GenMessage<Notification> = /*@__PURE__*/
107
+ messageDesc(file_notification_v2_notification, 0);
108
+
109
+ /**
110
+ * @generated from message notification.v2.EmailSend
111
+ */
112
+ export type EmailSend = Message<"notification.v2.EmailSend"> & {
113
+ /**
114
+ * @generated from field: string id = 1;
115
+ */
116
+ id: string;
117
+
118
+ /**
119
+ * @generated from field: string notification_id = 2;
120
+ */
121
+ notificationId: string;
122
+
123
+ /**
124
+ * @generated from field: string email_ref = 3;
125
+ */
126
+ emailRef: string;
127
+
128
+ /**
129
+ * @generated from field: string template_name = 4;
130
+ */
131
+ templateName: string;
132
+
133
+ /**
134
+ * @generated from field: string event_type = 5;
135
+ */
136
+ eventType: string;
137
+
138
+ /**
139
+ * @generated from field: string recipient_email = 6;
140
+ */
141
+ recipientEmail: string;
142
+
143
+ /**
144
+ * @generated from field: string recipient_name = 7;
145
+ */
146
+ recipientName: string;
147
+
148
+ /**
149
+ * @generated from field: string sender_email = 8;
150
+ */
151
+ senderEmail: string;
152
+
153
+ /**
154
+ * @generated from field: int64 artworker_id = 9;
155
+ */
156
+ artworkerId: bigint;
157
+
158
+ /**
159
+ * @generated from field: string job_id = 10;
160
+ */
161
+ jobId: string;
162
+
163
+ /**
164
+ * @generated from field: string job_type = 11;
165
+ */
166
+ jobType: string;
167
+
168
+ /**
169
+ * @generated from field: bool is_chase = 12;
170
+ */
171
+ isChase: boolean;
172
+
173
+ /**
174
+ * @generated from field: int32 chase_sequence = 13;
175
+ */
176
+ chaseSequence: number;
177
+
178
+ /**
179
+ * @generated from field: notification.v2.DeliveryStatus status = 14;
180
+ */
181
+ status: DeliveryStatus;
182
+
183
+ /**
184
+ * @generated from field: google.protobuf.Timestamp sent_at = 15;
185
+ */
186
+ sentAt?: Timestamp;
187
+
188
+ /**
189
+ * @generated from field: google.protobuf.Timestamp delivered_at = 16;
190
+ */
191
+ deliveredAt?: Timestamp;
192
+
193
+ /**
194
+ * @generated from field: google.protobuf.Timestamp opened_at = 17;
195
+ */
196
+ openedAt?: Timestamp;
197
+
198
+ /**
199
+ * @generated from field: google.protobuf.Timestamp failed_at = 18;
200
+ */
201
+ failedAt?: Timestamp;
202
+
203
+ /**
204
+ * @generated from field: string failure_reason = 19;
205
+ */
206
+ failureReason: string;
207
+
208
+ /**
209
+ * @generated from field: google.protobuf.Timestamp created_at = 20;
210
+ */
211
+ createdAt?: Timestamp;
212
+ };
213
+
214
+ /**
215
+ * Describes the message notification.v2.EmailSend.
216
+ * Use `create(EmailSendSchema)` to create a new message.
217
+ */
218
+ export const EmailSendSchema: GenMessage<EmailSend> = /*@__PURE__*/
219
+ messageDesc(file_notification_v2_notification, 1);
220
+
221
+ /**
222
+ * @generated from message notification.v2.SendReminderRequest
223
+ */
224
+ export type SendReminderRequest = Message<"notification.v2.SendReminderRequest"> & {
225
+ /**
226
+ * @generated from field: int64 artworker_id = 1;
227
+ */
228
+ artworkerId: bigint;
229
+
230
+ /**
231
+ * @generated from field: string notification_id = 2;
232
+ */
233
+ notificationId: string;
234
+ };
235
+
236
+ /**
237
+ * Describes the message notification.v2.SendReminderRequest.
238
+ * Use `create(SendReminderRequestSchema)` to create a new message.
239
+ */
240
+ export const SendReminderRequestSchema: GenMessage<SendReminderRequest> = /*@__PURE__*/
241
+ messageDesc(file_notification_v2_notification, 2);
242
+
243
+ /**
244
+ * @generated from message notification.v2.SendReminderResponse
245
+ */
246
+ export type SendReminderResponse = Message<"notification.v2.SendReminderResponse"> & {
247
+ /**
248
+ * @generated from field: bool ok = 1;
249
+ */
250
+ ok: boolean;
251
+ };
252
+
253
+ /**
254
+ * Describes the message notification.v2.SendReminderResponse.
255
+ * Use `create(SendReminderResponseSchema)` to create a new message.
256
+ */
257
+ export const SendReminderResponseSchema: GenMessage<SendReminderResponse> = /*@__PURE__*/
258
+ messageDesc(file_notification_v2_notification, 3);
259
+
260
+ /**
261
+ * @generated from message notification.v2.SendBulkReminderRequest
262
+ */
263
+ export type SendBulkReminderRequest = Message<"notification.v2.SendBulkReminderRequest"> & {
264
+ /**
265
+ * @generated from field: int64 artworker_id = 1;
266
+ */
267
+ artworkerId: bigint;
268
+
269
+ /**
270
+ * @generated from field: repeated string notification_ids = 2;
271
+ */
272
+ notificationIds: string[];
273
+ };
274
+
275
+ /**
276
+ * Describes the message notification.v2.SendBulkReminderRequest.
277
+ * Use `create(SendBulkReminderRequestSchema)` to create a new message.
278
+ */
279
+ export const SendBulkReminderRequestSchema: GenMessage<SendBulkReminderRequest> = /*@__PURE__*/
280
+ messageDesc(file_notification_v2_notification, 4);
281
+
282
+ /**
283
+ * @generated from message notification.v2.SendBulkReminderResponse
284
+ */
285
+ export type SendBulkReminderResponse = Message<"notification.v2.SendBulkReminderResponse"> & {
286
+ /**
287
+ * @generated from field: bool ok = 1;
288
+ */
289
+ ok: boolean;
290
+
291
+ /**
292
+ * @generated from field: repeated notification.v2.SendBulkReminderResponse.Error errors = 2;
293
+ */
294
+ errors: SendBulkReminderResponse_Error[];
295
+ };
296
+
297
+ /**
298
+ * Describes the message notification.v2.SendBulkReminderResponse.
299
+ * Use `create(SendBulkReminderResponseSchema)` to create a new message.
300
+ */
301
+ export const SendBulkReminderResponseSchema: GenMessage<SendBulkReminderResponse> = /*@__PURE__*/
302
+ messageDesc(file_notification_v2_notification, 5);
303
+
304
+ /**
305
+ * @generated from message notification.v2.SendBulkReminderResponse.Error
306
+ */
307
+ export type SendBulkReminderResponse_Error = Message<"notification.v2.SendBulkReminderResponse.Error"> & {
308
+ /**
309
+ * @generated from field: string notification_id = 1;
310
+ */
311
+ notificationId: string;
312
+
313
+ /**
314
+ * @generated from field: string error = 2;
315
+ */
316
+ error: string;
317
+ };
318
+
319
+ /**
320
+ * Describes the message notification.v2.SendBulkReminderResponse.Error.
321
+ * Use `create(SendBulkReminderResponse_ErrorSchema)` to create a new message.
322
+ */
323
+ export const SendBulkReminderResponse_ErrorSchema: GenMessage<SendBulkReminderResponse_Error> = /*@__PURE__*/
324
+ messageDesc(file_notification_v2_notification, 5, 0);
325
+
326
+ /**
327
+ * @generated from message notification.v2.SetEmailOpenedRequest
328
+ */
329
+ export type SetEmailOpenedRequest = Message<"notification.v2.SetEmailOpenedRequest"> & {
330
+ /**
331
+ * @generated from field: string email_ref = 1;
332
+ */
333
+ emailRef: string;
334
+ };
335
+
336
+ /**
337
+ * Describes the message notification.v2.SetEmailOpenedRequest.
338
+ * Use `create(SetEmailOpenedRequestSchema)` to create a new message.
339
+ */
340
+ export const SetEmailOpenedRequestSchema: GenMessage<SetEmailOpenedRequest> = /*@__PURE__*/
341
+ messageDesc(file_notification_v2_notification, 6);
342
+
343
+ /**
344
+ * @generated from message notification.v2.SetEmailOpenedResponse
345
+ */
346
+ export type SetEmailOpenedResponse = Message<"notification.v2.SetEmailOpenedResponse"> & {
347
+ };
348
+
349
+ /**
350
+ * Describes the message notification.v2.SetEmailOpenedResponse.
351
+ * Use `create(SetEmailOpenedResponseSchema)` to create a new message.
352
+ */
353
+ export const SetEmailOpenedResponseSchema: GenMessage<SetEmailOpenedResponse> = /*@__PURE__*/
354
+ messageDesc(file_notification_v2_notification, 7);
355
+
356
+ /**
357
+ * @generated from message notification.v2.GetNotificationRequest
358
+ */
359
+ export type GetNotificationRequest = Message<"notification.v2.GetNotificationRequest"> & {
360
+ /**
361
+ * @generated from field: int64 artworker_id = 1;
362
+ */
363
+ artworkerId: bigint;
364
+
365
+ /**
366
+ * @generated from field: string notification_id = 2;
367
+ */
368
+ notificationId: string;
369
+
370
+ /**
371
+ * @generated from field: bool include_sends = 3;
372
+ */
373
+ includeSends: boolean;
374
+ };
375
+
376
+ /**
377
+ * Describes the message notification.v2.GetNotificationRequest.
378
+ * Use `create(GetNotificationRequestSchema)` to create a new message.
379
+ */
380
+ export const GetNotificationRequestSchema: GenMessage<GetNotificationRequest> = /*@__PURE__*/
381
+ messageDesc(file_notification_v2_notification, 8);
382
+
383
+ /**
384
+ * @generated from message notification.v2.GetNotificationResponse
385
+ */
386
+ export type GetNotificationResponse = Message<"notification.v2.GetNotificationResponse"> & {
387
+ /**
388
+ * @generated from field: notification.v2.Notification notification = 1;
389
+ */
390
+ notification?: Notification;
391
+ };
392
+
393
+ /**
394
+ * Describes the message notification.v2.GetNotificationResponse.
395
+ * Use `create(GetNotificationResponseSchema)` to create a new message.
396
+ */
397
+ export const GetNotificationResponseSchema: GenMessage<GetNotificationResponse> = /*@__PURE__*/
398
+ messageDesc(file_notification_v2_notification, 9);
399
+
400
+ /**
401
+ * @generated from message notification.v2.GetEmailSendsRequest
402
+ */
403
+ export type GetEmailSendsRequest = Message<"notification.v2.GetEmailSendsRequest"> & {
404
+ /**
405
+ * @generated from field: int64 artworker_id = 1;
406
+ */
407
+ artworkerId: bigint;
408
+
409
+ /**
410
+ * @generated from field: string job_id = 2;
411
+ */
412
+ jobId: string;
413
+ };
414
+
415
+ /**
416
+ * Describes the message notification.v2.GetEmailSendsRequest.
417
+ * Use `create(GetEmailSendsRequestSchema)` to create a new message.
418
+ */
419
+ export const GetEmailSendsRequestSchema: GenMessage<GetEmailSendsRequest> = /*@__PURE__*/
420
+ messageDesc(file_notification_v2_notification, 10);
421
+
422
+ /**
423
+ * @generated from message notification.v2.GetEmailSendsResponse
424
+ */
425
+ export type GetEmailSendsResponse = Message<"notification.v2.GetEmailSendsResponse"> & {
426
+ /**
427
+ * @generated from field: repeated notification.v2.EmailSend email_sends = 1;
428
+ */
429
+ emailSends: EmailSend[];
430
+ };
431
+
432
+ /**
433
+ * Describes the message notification.v2.GetEmailSendsResponse.
434
+ * Use `create(GetEmailSendsResponseSchema)` to create a new message.
435
+ */
436
+ export const GetEmailSendsResponseSchema: GenMessage<GetEmailSendsResponse> = /*@__PURE__*/
437
+ messageDesc(file_notification_v2_notification, 11);
438
+
439
+ /**
440
+ * @generated from message notification.v2.SendConsolidatedNowRequest
441
+ */
442
+ export type SendConsolidatedNowRequest = Message<"notification.v2.SendConsolidatedNowRequest"> & {
443
+ /**
444
+ * @generated from field: string consolidated_email_id = 1;
445
+ */
446
+ consolidatedEmailId: string;
447
+ };
448
+
449
+ /**
450
+ * Describes the message notification.v2.SendConsolidatedNowRequest.
451
+ * Use `create(SendConsolidatedNowRequestSchema)` to create a new message.
452
+ */
453
+ export const SendConsolidatedNowRequestSchema: GenMessage<SendConsolidatedNowRequest> = /*@__PURE__*/
454
+ messageDesc(file_notification_v2_notification, 12);
455
+
456
+ /**
457
+ * @generated from message notification.v2.SendConsolidatedNowResponse
458
+ */
459
+ export type SendConsolidatedNowResponse = Message<"notification.v2.SendConsolidatedNowResponse"> & {
460
+ };
461
+
462
+ /**
463
+ * Describes the message notification.v2.SendConsolidatedNowResponse.
464
+ * Use `create(SendConsolidatedNowResponseSchema)` to create a new message.
465
+ */
466
+ export const SendConsolidatedNowResponseSchema: GenMessage<SendConsolidatedNowResponse> = /*@__PURE__*/
467
+ messageDesc(file_notification_v2_notification, 13);
468
+
469
+ /**
470
+ * @generated from message notification.v2.ExtendConsolidatedTimerRequest
471
+ */
472
+ export type ExtendConsolidatedTimerRequest = Message<"notification.v2.ExtendConsolidatedTimerRequest"> & {
473
+ /**
474
+ * @generated from field: string consolidated_email_id = 1;
475
+ */
476
+ consolidatedEmailId: string;
477
+
478
+ /**
479
+ * @generated from field: int32 additional_seconds = 2;
480
+ */
481
+ additionalSeconds: number;
482
+ };
483
+
484
+ /**
485
+ * Describes the message notification.v2.ExtendConsolidatedTimerRequest.
486
+ * Use `create(ExtendConsolidatedTimerRequestSchema)` to create a new message.
487
+ */
488
+ export const ExtendConsolidatedTimerRequestSchema: GenMessage<ExtendConsolidatedTimerRequest> = /*@__PURE__*/
489
+ messageDesc(file_notification_v2_notification, 14);
490
+
491
+ /**
492
+ * @generated from message notification.v2.ExtendConsolidatedTimerResponse
493
+ */
494
+ export type ExtendConsolidatedTimerResponse = Message<"notification.v2.ExtendConsolidatedTimerResponse"> & {
495
+ /**
496
+ * @generated from field: google.protobuf.Timestamp new_send_after = 1;
497
+ */
498
+ newSendAfter?: Timestamp;
499
+ };
500
+
501
+ /**
502
+ * Describes the message notification.v2.ExtendConsolidatedTimerResponse.
503
+ * Use `create(ExtendConsolidatedTimerResponseSchema)` to create a new message.
504
+ */
505
+ export const ExtendConsolidatedTimerResponseSchema: GenMessage<ExtendConsolidatedTimerResponse> = /*@__PURE__*/
506
+ messageDesc(file_notification_v2_notification, 15);
507
+
508
+ /**
509
+ * @generated from message notification.v2.GetConsolidatedEmailRequest
510
+ */
511
+ export type GetConsolidatedEmailRequest = Message<"notification.v2.GetConsolidatedEmailRequest"> & {
512
+ /**
513
+ * backward compat: used as lookup key when consolidate_key empty
514
+ *
515
+ * @generated from field: string job_id = 1;
516
+ */
517
+ jobId: string;
518
+
519
+ /**
520
+ * when set, used for lookup; else job_id is used
521
+ *
522
+ * @generated from field: string consolidate_key = 2;
523
+ */
524
+ consolidateKey: string;
525
+ };
526
+
527
+ /**
528
+ * Describes the message notification.v2.GetConsolidatedEmailRequest.
529
+ * Use `create(GetConsolidatedEmailRequestSchema)` to create a new message.
530
+ */
531
+ export const GetConsolidatedEmailRequestSchema: GenMessage<GetConsolidatedEmailRequest> = /*@__PURE__*/
532
+ messageDesc(file_notification_v2_notification, 16);
533
+
534
+ /**
535
+ * @generated from message notification.v2.GetConsolidatedEmailResponse
536
+ */
537
+ export type GetConsolidatedEmailResponse = Message<"notification.v2.GetConsolidatedEmailResponse"> & {
538
+ /**
539
+ * @generated from field: notification.v2.ConsolidatedEmail consolidated_email = 1;
540
+ */
541
+ consolidatedEmail?: ConsolidatedEmail;
542
+ };
543
+
544
+ /**
545
+ * Describes the message notification.v2.GetConsolidatedEmailResponse.
546
+ * Use `create(GetConsolidatedEmailResponseSchema)` to create a new message.
547
+ */
548
+ export const GetConsolidatedEmailResponseSchema: GenMessage<GetConsolidatedEmailResponse> = /*@__PURE__*/
549
+ messageDesc(file_notification_v2_notification, 17);
550
+
551
+ /**
552
+ * @generated from message notification.v2.ConsolidatedEmail
553
+ */
554
+ export type ConsolidatedEmail = Message<"notification.v2.ConsolidatedEmail"> & {
555
+ /**
556
+ * @generated from field: string id = 1;
557
+ */
558
+ id: string;
559
+
560
+ /**
561
+ * @generated from field: string job_id = 2;
562
+ */
563
+ jobId: string;
564
+
565
+ /**
566
+ * @generated from field: string status = 3;
567
+ */
568
+ status: string;
569
+
570
+ /**
571
+ * @generated from field: google.protobuf.Timestamp send_after = 4;
572
+ */
573
+ sendAfter?: Timestamp;
574
+
575
+ /**
576
+ * @generated from field: int32 delay_seconds = 5;
577
+ */
578
+ delaySeconds: number;
579
+
580
+ /**
581
+ * @generated from field: int32 item_count = 6;
582
+ */
583
+ itemCount: number;
584
+
585
+ /**
586
+ * @generated from field: repeated notification.v2.ConsolidatedEmailItem items = 7;
587
+ */
588
+ items: ConsolidatedEmailItem[];
589
+
590
+ /**
591
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
592
+ */
593
+ createdAt?: Timestamp;
594
+ };
595
+
596
+ /**
597
+ * Describes the message notification.v2.ConsolidatedEmail.
598
+ * Use `create(ConsolidatedEmailSchema)` to create a new message.
599
+ */
600
+ export const ConsolidatedEmailSchema: GenMessage<ConsolidatedEmail> = /*@__PURE__*/
601
+ messageDesc(file_notification_v2_notification, 18);
602
+
603
+ /**
604
+ * @generated from message notification.v2.ConsolidatedEmailItem
605
+ */
606
+ export type ConsolidatedEmailItem = Message<"notification.v2.ConsolidatedEmailItem"> & {
607
+ /**
608
+ * @generated from field: string id = 1;
609
+ */
610
+ id: string;
611
+
612
+ /**
613
+ * @generated from field: string job_item_id = 2;
614
+ */
615
+ jobItemId: string;
616
+
617
+ /**
618
+ * @generated from field: string event_type = 3;
619
+ */
620
+ eventType: string;
621
+
622
+ /**
623
+ * @generated from field: string action_summary = 4;
624
+ */
625
+ actionSummary: string;
626
+
627
+ /**
628
+ * @generated from field: google.protobuf.Timestamp created_at = 5;
629
+ */
630
+ createdAt?: Timestamp;
631
+ };
632
+
633
+ /**
634
+ * Describes the message notification.v2.ConsolidatedEmailItem.
635
+ * Use `create(ConsolidatedEmailItemSchema)` to create a new message.
636
+ */
637
+ export const ConsolidatedEmailItemSchema: GenMessage<ConsolidatedEmailItem> = /*@__PURE__*/
638
+ messageDesc(file_notification_v2_notification, 19);
639
+
640
+ /**
641
+ * @generated from message notification.v2.TriggerChasesRequest
642
+ */
643
+ export type TriggerChasesRequest = Message<"notification.v2.TriggerChasesRequest"> & {
644
+ };
645
+
646
+ /**
647
+ * Describes the message notification.v2.TriggerChasesRequest.
648
+ * Use `create(TriggerChasesRequestSchema)` to create a new message.
649
+ */
650
+ export const TriggerChasesRequestSchema: GenMessage<TriggerChasesRequest> = /*@__PURE__*/
651
+ messageDesc(file_notification_v2_notification, 20);
652
+
653
+ /**
654
+ * @generated from message notification.v2.TriggerChasesResponse
655
+ */
656
+ export type TriggerChasesResponse = Message<"notification.v2.TriggerChasesResponse"> & {
657
+ /**
658
+ * @generated from field: int32 chases_sent = 1;
659
+ */
660
+ chasesSent: number;
661
+
662
+ /**
663
+ * @generated from field: int32 action_set_chases_sent = 2;
664
+ */
665
+ actionSetChasesSent: number;
666
+ };
667
+
668
+ /**
669
+ * Describes the message notification.v2.TriggerChasesResponse.
670
+ * Use `create(TriggerChasesResponseSchema)` to create a new message.
671
+ */
672
+ export const TriggerChasesResponseSchema: GenMessage<TriggerChasesResponse> = /*@__PURE__*/
673
+ messageDesc(file_notification_v2_notification, 21);
674
+
675
+ /**
676
+ * @generated from enum notification.v2.NotificationStatus
677
+ */
678
+ export enum NotificationStatus {
679
+ /**
680
+ * @generated from enum value: NOTIFICATION_STATUS_UNSPECIFIED = 0;
681
+ */
682
+ UNSPECIFIED = 0,
683
+
684
+ /**
685
+ * @generated from enum value: NOTIFICATION_STATUS_ACTIVE = 1;
686
+ */
687
+ ACTIVE = 1,
688
+
689
+ /**
690
+ * @generated from enum value: NOTIFICATION_STATUS_COMPLETED = 2;
691
+ */
692
+ COMPLETED = 2,
693
+
694
+ /**
695
+ * @generated from enum value: NOTIFICATION_STATUS_CANCELLED = 3;
696
+ */
697
+ CANCELLED = 3,
698
+ }
699
+
700
+ /**
701
+ * Describes the enum notification.v2.NotificationStatus.
702
+ */
703
+ export const NotificationStatusSchema: GenEnum<NotificationStatus> = /*@__PURE__*/
704
+ enumDesc(file_notification_v2_notification, 0);
705
+
706
+ /**
707
+ * @generated from enum notification.v2.DeliveryStatus
708
+ */
709
+ export enum DeliveryStatus {
710
+ /**
711
+ * @generated from enum value: DELIVERY_STATUS_UNSPECIFIED = 0;
712
+ */
713
+ UNSPECIFIED = 0,
714
+
715
+ /**
716
+ * @generated from enum value: DELIVERY_STATUS_PENDING = 1;
717
+ */
718
+ PENDING = 1,
719
+
720
+ /**
721
+ * @generated from enum value: DELIVERY_STATUS_SENT = 2;
722
+ */
723
+ SENT = 2,
724
+
725
+ /**
726
+ * @generated from enum value: DELIVERY_STATUS_DELIVERED = 3;
727
+ */
728
+ DELIVERED = 3,
729
+
730
+ /**
731
+ * @generated from enum value: DELIVERY_STATUS_OPENED = 4;
732
+ */
733
+ OPENED = 4,
734
+
735
+ /**
736
+ * @generated from enum value: DELIVERY_STATUS_FAILED = 5;
737
+ */
738
+ FAILED = 5,
739
+ }
740
+
741
+ /**
742
+ * Describes the enum notification.v2.DeliveryStatus.
743
+ */
744
+ export const DeliveryStatusSchema: GenEnum<DeliveryStatus> = /*@__PURE__*/
745
+ enumDesc(file_notification_v2_notification, 1);
746
+