@eide/foir-proto-ts 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +55 -0
- package/src/analytics/v1/analytics_connect.d.ts +116 -0
- package/src/analytics/v1/analytics_connect.js +116 -0
- package/src/analytics/v1/analytics_pb.d.ts +850 -0
- package/src/analytics/v1/analytics_pb.js +250 -0
- package/src/billing/v1/billing_connect.d.ts +269 -0
- package/src/billing/v1/billing_connect.js +269 -0
- package/src/billing/v1/billing_pb.d.ts +2144 -0
- package/src/billing/v1/billing_pb.js +519 -0
- package/src/configs/v1/configs_connect.d.ts +111 -0
- package/src/configs/v1/configs_connect.js +111 -0
- package/src/configs/v1/configs_pb.d.ts +832 -0
- package/src/configs/v1/configs_pb.js +192 -0
- package/src/experiments/v1/experiments_connect.d.ts +162 -0
- package/src/experiments/v1/experiments_connect.js +162 -0
- package/src/experiments/v1/experiments_pb.d.ts +1086 -0
- package/src/experiments/v1/experiments_pb.js +284 -0
- package/src/expressions/v1/expressions_pb.d.ts +139 -0
- package/src/expressions/v1/expressions_pb.js +27 -0
- package/src/hooks/v1/hooks_connect.d.ts +106 -0
- package/src/hooks/v1/hooks_connect.js +106 -0
- package/src/hooks/v1/hooks_pb.d.ts +689 -0
- package/src/hooks/v1/hooks_pb.js +159 -0
- package/src/identity/v1/identity_connect.d.ts +738 -0
- package/src/identity/v1/identity_connect.js +738 -0
- package/src/identity/v1/identity_pb.d.ts +4612 -0
- package/src/identity/v1/identity_pb.js +1277 -0
- package/src/models/v1/models_connect.d.ts +104 -0
- package/src/models/v1/models_connect.js +104 -0
- package/src/models/v1/models_pb.d.ts +908 -0
- package/src/models/v1/models_pb.js +187 -0
- package/src/notifications/v1/notifications_connect.d.ts +182 -0
- package/src/notifications/v1/notifications_connect.js +182 -0
- package/src/notifications/v1/notifications_pb.d.ts +1173 -0
- package/src/notifications/v1/notifications_pb.js +302 -0
- package/src/operations/v1/operations_connect.d.ts +222 -0
- package/src/operations/v1/operations_connect.js +222 -0
- package/src/operations/v1/operations_pb.d.ts +1502 -0
- package/src/operations/v1/operations_pb.js +355 -0
- package/src/queue/v1/queue_connect.d.ts +89 -0
- package/src/queue/v1/queue_connect.js +89 -0
- package/src/queue/v1/queue_pb.d.ts +519 -0
- package/src/queue/v1/queue_pb.js +152 -0
- package/src/records/v1/records_connect.d.ts +451 -0
- package/src/records/v1/records_connect.js +451 -0
- package/src/records/v1/records_pb.d.ts +3099 -0
- package/src/records/v1/records_pb.js +798 -0
- package/src/schedules/v1/schedules_connect.d.ts +98 -0
- package/src/schedules/v1/schedules_connect.js +98 -0
- package/src/schedules/v1/schedules_pb.d.ts +622 -0
- package/src/schedules/v1/schedules_pb.js +159 -0
- package/src/segments/v1/segments_connect.d.ts +135 -0
- package/src/segments/v1/segments_connect.js +135 -0
- package/src/segments/v1/segments_pb.d.ts +800 -0
- package/src/segments/v1/segments_pb.js +216 -0
- package/src/settings/v1/settings_connect.d.ts +614 -0
- package/src/settings/v1/settings_connect.js +614 -0
- package/src/settings/v1/settings_pb.d.ts +4396 -0
- package/src/settings/v1/settings_pb.js +1085 -0
- package/src/storage/v1/storage_connect.d.ts +144 -0
- package/src/storage/v1/storage_connect.js +144 -0
- package/src/storage/v1/storage_pb.d.ts +930 -0
- package/src/storage/v1/storage_pb.js +239 -0
- package/src/workers/v1/workers_connect.d.ts +42 -0
- package/src/workers/v1/workers_connect.js +42 -0
- package/src/workers/v1/workers_pb.d.ts +220 -0
- package/src/workers/v1/workers_pb.js +56 -0
|
@@ -0,0 +1,1173 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "import_extension=js"
|
|
2
|
+
// @generated from file notifications/v1/notifications.proto (package notifications.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
7
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file notifications/v1/notifications.proto.
|
|
11
|
+
*/
|
|
12
|
+
export declare const file_notifications_v1_notifications: GenFile;
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @generated from message notifications.v1.Notification
|
|
16
|
+
*/
|
|
17
|
+
export declare type Notification = Message<"notifications.v1.Notification"> & {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: string id = 1;
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string user_id = 2;
|
|
25
|
+
*/
|
|
26
|
+
userId: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: notifications.v1.NotificationType type = 3;
|
|
30
|
+
*/
|
|
31
|
+
type: NotificationType;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string title = 4;
|
|
35
|
+
*/
|
|
36
|
+
title: string;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from field: optional string message = 5;
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @generated from field: optional google.protobuf.Struct rich_content = 6;
|
|
45
|
+
*/
|
|
46
|
+
richContent?: JsonObject;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Source.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: optional notifications.v1.NotificationSourceType source_type = 10;
|
|
52
|
+
*/
|
|
53
|
+
sourceType?: NotificationSourceType;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: optional string source_id = 11;
|
|
57
|
+
*/
|
|
58
|
+
sourceId?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: optional string action_url = 12;
|
|
62
|
+
*/
|
|
63
|
+
actionUrl?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: optional google.protobuf.Struct metadata = 13;
|
|
67
|
+
*/
|
|
68
|
+
metadata?: JsonObject;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Read state.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: bool is_read = 20;
|
|
74
|
+
*/
|
|
75
|
+
isRead: boolean;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* @generated from field: optional google.protobuf.Timestamp read_at = 21;
|
|
79
|
+
*/
|
|
80
|
+
readAt?: Timestamp;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Ownership.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string tenant_id = 30;
|
|
86
|
+
*/
|
|
87
|
+
tenantId: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: optional string project_id = 31;
|
|
91
|
+
*/
|
|
92
|
+
projectId?: string;
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* Timestamps.
|
|
96
|
+
*
|
|
97
|
+
* @generated from field: google.protobuf.Timestamp created_at = 50;
|
|
98
|
+
*/
|
|
99
|
+
createdAt?: Timestamp;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: optional google.protobuf.Timestamp expires_at = 51;
|
|
103
|
+
*/
|
|
104
|
+
expiresAt?: Timestamp;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Describes the message notifications.v1.Notification.
|
|
109
|
+
* Use `create(NotificationSchema)` to create a new message.
|
|
110
|
+
*/
|
|
111
|
+
export declare const NotificationSchema: GenMessage<Notification>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message notifications.v1.ListNotificationsRequest
|
|
115
|
+
*/
|
|
116
|
+
export declare type ListNotificationsRequest = Message<"notifications.v1.ListNotificationsRequest"> & {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: optional notifications.v1.NotificationType type = 1;
|
|
119
|
+
*/
|
|
120
|
+
type?: NotificationType;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: optional bool is_read = 2;
|
|
124
|
+
*/
|
|
125
|
+
isRead?: boolean;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: int32 limit = 10;
|
|
129
|
+
*/
|
|
130
|
+
limit: number;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* @generated from field: int32 offset = 11;
|
|
134
|
+
*/
|
|
135
|
+
offset: number;
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Describes the message notifications.v1.ListNotificationsRequest.
|
|
140
|
+
* Use `create(ListNotificationsRequestSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
export declare const ListNotificationsRequestSchema: GenMessage<ListNotificationsRequest>;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from message notifications.v1.ListNotificationsResponse
|
|
146
|
+
*/
|
|
147
|
+
export declare type ListNotificationsResponse = Message<"notifications.v1.ListNotificationsResponse"> & {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: repeated notifications.v1.Notification notifications = 1;
|
|
150
|
+
*/
|
|
151
|
+
notifications: Notification[];
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: int32 total = 2;
|
|
155
|
+
*/
|
|
156
|
+
total: number;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* @generated from field: int32 unread_count = 3;
|
|
160
|
+
*/
|
|
161
|
+
unreadCount: number;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Describes the message notifications.v1.ListNotificationsResponse.
|
|
166
|
+
* Use `create(ListNotificationsResponseSchema)` to create a new message.
|
|
167
|
+
*/
|
|
168
|
+
export declare const ListNotificationsResponseSchema: GenMessage<ListNotificationsResponse>;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message notifications.v1.MarkNotificationReadRequest
|
|
172
|
+
*/
|
|
173
|
+
export declare type MarkNotificationReadRequest = Message<"notifications.v1.MarkNotificationReadRequest"> & {
|
|
174
|
+
/**
|
|
175
|
+
* @generated from field: string id = 1;
|
|
176
|
+
*/
|
|
177
|
+
id: string;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Describes the message notifications.v1.MarkNotificationReadRequest.
|
|
182
|
+
* Use `create(MarkNotificationReadRequestSchema)` to create a new message.
|
|
183
|
+
*/
|
|
184
|
+
export declare const MarkNotificationReadRequestSchema: GenMessage<MarkNotificationReadRequest>;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @generated from message notifications.v1.MarkNotificationReadResponse
|
|
188
|
+
*/
|
|
189
|
+
export declare type MarkNotificationReadResponse = Message<"notifications.v1.MarkNotificationReadResponse"> & {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: bool success = 1;
|
|
192
|
+
*/
|
|
193
|
+
success: boolean;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message notifications.v1.MarkNotificationReadResponse.
|
|
198
|
+
* Use `create(MarkNotificationReadResponseSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export declare const MarkNotificationReadResponseSchema: GenMessage<MarkNotificationReadResponse>;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from message notifications.v1.MarkAllNotificationsReadRequest
|
|
204
|
+
*/
|
|
205
|
+
export declare type MarkAllNotificationsReadRequest = Message<"notifications.v1.MarkAllNotificationsReadRequest"> & {
|
|
206
|
+
/**
|
|
207
|
+
* @generated from field: optional notifications.v1.NotificationType type = 1;
|
|
208
|
+
*/
|
|
209
|
+
type?: NotificationType;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Describes the message notifications.v1.MarkAllNotificationsReadRequest.
|
|
214
|
+
* Use `create(MarkAllNotificationsReadRequestSchema)` to create a new message.
|
|
215
|
+
*/
|
|
216
|
+
export declare const MarkAllNotificationsReadRequestSchema: GenMessage<MarkAllNotificationsReadRequest>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from message notifications.v1.MarkAllNotificationsReadResponse
|
|
220
|
+
*/
|
|
221
|
+
export declare type MarkAllNotificationsReadResponse = Message<"notifications.v1.MarkAllNotificationsReadResponse"> & {
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: int32 count = 1;
|
|
224
|
+
*/
|
|
225
|
+
count: number;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Describes the message notifications.v1.MarkAllNotificationsReadResponse.
|
|
230
|
+
* Use `create(MarkAllNotificationsReadResponseSchema)` to create a new message.
|
|
231
|
+
*/
|
|
232
|
+
export declare const MarkAllNotificationsReadResponseSchema: GenMessage<MarkAllNotificationsReadResponse>;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from message notifications.v1.DeleteNotificationRequest
|
|
236
|
+
*/
|
|
237
|
+
export declare type DeleteNotificationRequest = Message<"notifications.v1.DeleteNotificationRequest"> & {
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string id = 1;
|
|
240
|
+
*/
|
|
241
|
+
id: string;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Describes the message notifications.v1.DeleteNotificationRequest.
|
|
246
|
+
* Use `create(DeleteNotificationRequestSchema)` to create a new message.
|
|
247
|
+
*/
|
|
248
|
+
export declare const DeleteNotificationRequestSchema: GenMessage<DeleteNotificationRequest>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @generated from message notifications.v1.DeleteNotificationResponse
|
|
252
|
+
*/
|
|
253
|
+
export declare type DeleteNotificationResponse = Message<"notifications.v1.DeleteNotificationResponse"> & {
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: bool success = 1;
|
|
256
|
+
*/
|
|
257
|
+
success: boolean;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message notifications.v1.DeleteNotificationResponse.
|
|
262
|
+
* Use `create(DeleteNotificationResponseSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export declare const DeleteNotificationResponseSchema: GenMessage<DeleteNotificationResponse>;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* @generated from message notifications.v1.GetUnreadCountRequest
|
|
268
|
+
*/
|
|
269
|
+
export declare type GetUnreadCountRequest = Message<"notifications.v1.GetUnreadCountRequest"> & {
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Describes the message notifications.v1.GetUnreadCountRequest.
|
|
274
|
+
* Use `create(GetUnreadCountRequestSchema)` to create a new message.
|
|
275
|
+
*/
|
|
276
|
+
export declare const GetUnreadCountRequestSchema: GenMessage<GetUnreadCountRequest>;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from message notifications.v1.GetUnreadCountResponse
|
|
280
|
+
*/
|
|
281
|
+
export declare type GetUnreadCountResponse = Message<"notifications.v1.GetUnreadCountResponse"> & {
|
|
282
|
+
/**
|
|
283
|
+
* @generated from field: int32 count = 1;
|
|
284
|
+
*/
|
|
285
|
+
count: number;
|
|
286
|
+
};
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Describes the message notifications.v1.GetUnreadCountResponse.
|
|
290
|
+
* Use `create(GetUnreadCountResponseSchema)` to create a new message.
|
|
291
|
+
*/
|
|
292
|
+
export declare const GetUnreadCountResponseSchema: GenMessage<GetUnreadCountResponse>;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @generated from message notifications.v1.SendAnnouncementRequest
|
|
296
|
+
*/
|
|
297
|
+
export declare type SendAnnouncementRequest = Message<"notifications.v1.SendAnnouncementRequest"> & {
|
|
298
|
+
/**
|
|
299
|
+
* @generated from field: string title = 1;
|
|
300
|
+
*/
|
|
301
|
+
title: string;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: optional string message = 2;
|
|
305
|
+
*/
|
|
306
|
+
message?: string;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: optional string action_url = 3;
|
|
310
|
+
*/
|
|
311
|
+
actionUrl?: string;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* @generated from field: optional string target_type = 4;
|
|
315
|
+
*/
|
|
316
|
+
targetType?: string;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* @generated from field: repeated string target_ids = 5;
|
|
320
|
+
*/
|
|
321
|
+
targetIds: string[];
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Describes the message notifications.v1.SendAnnouncementRequest.
|
|
326
|
+
* Use `create(SendAnnouncementRequestSchema)` to create a new message.
|
|
327
|
+
*/
|
|
328
|
+
export declare const SendAnnouncementRequestSchema: GenMessage<SendAnnouncementRequest>;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @generated from message notifications.v1.SendAnnouncementResponse
|
|
332
|
+
*/
|
|
333
|
+
export declare type SendAnnouncementResponse = Message<"notifications.v1.SendAnnouncementResponse"> & {
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: notifications.v1.Notification notification = 1;
|
|
336
|
+
*/
|
|
337
|
+
notification?: Notification;
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message notifications.v1.SendAnnouncementResponse.
|
|
342
|
+
* Use `create(SendAnnouncementResponseSchema)` to create a new message.
|
|
343
|
+
*/
|
|
344
|
+
export declare const SendAnnouncementResponseSchema: GenMessage<SendAnnouncementResponse>;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @generated from message notifications.v1.ListAnnouncementHistoryRequest
|
|
348
|
+
*/
|
|
349
|
+
export declare type ListAnnouncementHistoryRequest = Message<"notifications.v1.ListAnnouncementHistoryRequest"> & {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: int32 limit = 1;
|
|
352
|
+
*/
|
|
353
|
+
limit: number;
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: int32 offset = 2;
|
|
357
|
+
*/
|
|
358
|
+
offset: number;
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Describes the message notifications.v1.ListAnnouncementHistoryRequest.
|
|
363
|
+
* Use `create(ListAnnouncementHistoryRequestSchema)` to create a new message.
|
|
364
|
+
*/
|
|
365
|
+
export declare const ListAnnouncementHistoryRequestSchema: GenMessage<ListAnnouncementHistoryRequest>;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* @generated from message notifications.v1.ListAnnouncementHistoryResponse
|
|
369
|
+
*/
|
|
370
|
+
export declare type ListAnnouncementHistoryResponse = Message<"notifications.v1.ListAnnouncementHistoryResponse"> & {
|
|
371
|
+
/**
|
|
372
|
+
* @generated from field: repeated notifications.v1.Notification announcements = 1;
|
|
373
|
+
*/
|
|
374
|
+
announcements: Notification[];
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* @generated from field: int32 total = 2;
|
|
378
|
+
*/
|
|
379
|
+
total: number;
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Describes the message notifications.v1.ListAnnouncementHistoryResponse.
|
|
384
|
+
* Use `create(ListAnnouncementHistoryResponseSchema)` to create a new message.
|
|
385
|
+
*/
|
|
386
|
+
export declare const ListAnnouncementHistoryResponseSchema: GenMessage<ListAnnouncementHistoryResponse>;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @generated from message notifications.v1.CustomerNotification
|
|
390
|
+
*/
|
|
391
|
+
export declare type CustomerNotification = Message<"notifications.v1.CustomerNotification"> & {
|
|
392
|
+
/**
|
|
393
|
+
* @generated from field: string id = 1;
|
|
394
|
+
*/
|
|
395
|
+
id: string;
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* @generated from field: string customer_id = 2;
|
|
399
|
+
*/
|
|
400
|
+
customerId: string;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: string title = 3;
|
|
404
|
+
*/
|
|
405
|
+
title: string;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* @generated from field: optional string message = 4;
|
|
409
|
+
*/
|
|
410
|
+
message?: string;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @generated from field: optional string category = 5;
|
|
414
|
+
*/
|
|
415
|
+
category?: string;
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: optional string action_url = 6;
|
|
419
|
+
*/
|
|
420
|
+
actionUrl?: string;
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* @generated from field: optional google.protobuf.Struct metadata = 7;
|
|
424
|
+
*/
|
|
425
|
+
metadata?: JsonObject;
|
|
426
|
+
|
|
427
|
+
/**
|
|
428
|
+
* @generated from field: bool is_read = 8;
|
|
429
|
+
*/
|
|
430
|
+
isRead: boolean;
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* @generated from field: optional google.protobuf.Timestamp read_at = 9;
|
|
434
|
+
*/
|
|
435
|
+
readAt?: Timestamp;
|
|
436
|
+
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: string tenant_id = 20;
|
|
439
|
+
*/
|
|
440
|
+
tenantId: string;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: string project_id = 21;
|
|
444
|
+
*/
|
|
445
|
+
projectId: string;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* @generated from field: google.protobuf.Timestamp created_at = 50;
|
|
449
|
+
*/
|
|
450
|
+
createdAt?: Timestamp;
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Describes the message notifications.v1.CustomerNotification.
|
|
455
|
+
* Use `create(CustomerNotificationSchema)` to create a new message.
|
|
456
|
+
*/
|
|
457
|
+
export declare const CustomerNotificationSchema: GenMessage<CustomerNotification>;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* @generated from message notifications.v1.ListCustomerNotificationsRequest
|
|
461
|
+
*/
|
|
462
|
+
export declare type ListCustomerNotificationsRequest = Message<"notifications.v1.ListCustomerNotificationsRequest"> & {
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: optional string customer_id = 1;
|
|
465
|
+
*/
|
|
466
|
+
customerId?: string;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* @generated from field: optional string category = 2;
|
|
470
|
+
*/
|
|
471
|
+
category?: string;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: optional bool is_read = 3;
|
|
475
|
+
*/
|
|
476
|
+
isRead?: boolean;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: int32 limit = 10;
|
|
480
|
+
*/
|
|
481
|
+
limit: number;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: int32 offset = 11;
|
|
485
|
+
*/
|
|
486
|
+
offset: number;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Describes the message notifications.v1.ListCustomerNotificationsRequest.
|
|
491
|
+
* Use `create(ListCustomerNotificationsRequestSchema)` to create a new message.
|
|
492
|
+
*/
|
|
493
|
+
export declare const ListCustomerNotificationsRequestSchema: GenMessage<ListCustomerNotificationsRequest>;
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* @generated from message notifications.v1.ListCustomerNotificationsResponse
|
|
497
|
+
*/
|
|
498
|
+
export declare type ListCustomerNotificationsResponse = Message<"notifications.v1.ListCustomerNotificationsResponse"> & {
|
|
499
|
+
/**
|
|
500
|
+
* @generated from field: repeated notifications.v1.CustomerNotification notifications = 1;
|
|
501
|
+
*/
|
|
502
|
+
notifications: CustomerNotification[];
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* @generated from field: int32 total = 2;
|
|
506
|
+
*/
|
|
507
|
+
total: number;
|
|
508
|
+
};
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message notifications.v1.ListCustomerNotificationsResponse.
|
|
512
|
+
* Use `create(ListCustomerNotificationsResponseSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export declare const ListCustomerNotificationsResponseSchema: GenMessage<ListCustomerNotificationsResponse>;
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* @generated from message notifications.v1.SendCustomerNotificationRequest
|
|
518
|
+
*/
|
|
519
|
+
export declare type SendCustomerNotificationRequest = Message<"notifications.v1.SendCustomerNotificationRequest"> & {
|
|
520
|
+
/**
|
|
521
|
+
* @generated from field: string customer_id = 1;
|
|
522
|
+
*/
|
|
523
|
+
customerId: string;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from field: string title = 2;
|
|
527
|
+
*/
|
|
528
|
+
title: string;
|
|
529
|
+
|
|
530
|
+
/**
|
|
531
|
+
* @generated from field: optional string message = 3;
|
|
532
|
+
*/
|
|
533
|
+
message?: string;
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* @generated from field: optional string category = 4;
|
|
537
|
+
*/
|
|
538
|
+
category?: string;
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* @generated from field: optional string action_url = 5;
|
|
542
|
+
*/
|
|
543
|
+
actionUrl?: string;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* @generated from field: optional google.protobuf.Struct metadata = 6;
|
|
547
|
+
*/
|
|
548
|
+
metadata?: JsonObject;
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* Describes the message notifications.v1.SendCustomerNotificationRequest.
|
|
553
|
+
* Use `create(SendCustomerNotificationRequestSchema)` to create a new message.
|
|
554
|
+
*/
|
|
555
|
+
export declare const SendCustomerNotificationRequestSchema: GenMessage<SendCustomerNotificationRequest>;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* @generated from message notifications.v1.SendCustomerNotificationResponse
|
|
559
|
+
*/
|
|
560
|
+
export declare type SendCustomerNotificationResponse = Message<"notifications.v1.SendCustomerNotificationResponse"> & {
|
|
561
|
+
/**
|
|
562
|
+
* @generated from field: notifications.v1.CustomerNotification notification = 1;
|
|
563
|
+
*/
|
|
564
|
+
notification?: CustomerNotification;
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Describes the message notifications.v1.SendCustomerNotificationResponse.
|
|
569
|
+
* Use `create(SendCustomerNotificationResponseSchema)` to create a new message.
|
|
570
|
+
*/
|
|
571
|
+
export declare const SendCustomerNotificationResponseSchema: GenMessage<SendCustomerNotificationResponse>;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* @generated from message notifications.v1.SendBulkCustomerNotificationRequest
|
|
575
|
+
*/
|
|
576
|
+
export declare type SendBulkCustomerNotificationRequest = Message<"notifications.v1.SendBulkCustomerNotificationRequest"> & {
|
|
577
|
+
/**
|
|
578
|
+
* @generated from field: repeated string customer_ids = 1;
|
|
579
|
+
*/
|
|
580
|
+
customerIds: string[];
|
|
581
|
+
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: string title = 2;
|
|
584
|
+
*/
|
|
585
|
+
title: string;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* @generated from field: optional string message = 3;
|
|
589
|
+
*/
|
|
590
|
+
message?: string;
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* @generated from field: optional string category = 4;
|
|
594
|
+
*/
|
|
595
|
+
category?: string;
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* @generated from field: optional string action_url = 5;
|
|
599
|
+
*/
|
|
600
|
+
actionUrl?: string;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Describes the message notifications.v1.SendBulkCustomerNotificationRequest.
|
|
605
|
+
* Use `create(SendBulkCustomerNotificationRequestSchema)` to create a new message.
|
|
606
|
+
*/
|
|
607
|
+
export declare const SendBulkCustomerNotificationRequestSchema: GenMessage<SendBulkCustomerNotificationRequest>;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* @generated from message notifications.v1.SendBulkCustomerNotificationResponse
|
|
611
|
+
*/
|
|
612
|
+
export declare type SendBulkCustomerNotificationResponse = Message<"notifications.v1.SendBulkCustomerNotificationResponse"> & {
|
|
613
|
+
/**
|
|
614
|
+
* @generated from field: int32 count = 1;
|
|
615
|
+
*/
|
|
616
|
+
count: number;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Describes the message notifications.v1.SendBulkCustomerNotificationResponse.
|
|
621
|
+
* Use `create(SendBulkCustomerNotificationResponseSchema)` to create a new message.
|
|
622
|
+
*/
|
|
623
|
+
export declare const SendBulkCustomerNotificationResponseSchema: GenMessage<SendBulkCustomerNotificationResponse>;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* @generated from message notifications.v1.MarkCustomerNotificationReadRequest
|
|
627
|
+
*/
|
|
628
|
+
export declare type MarkCustomerNotificationReadRequest = Message<"notifications.v1.MarkCustomerNotificationReadRequest"> & {
|
|
629
|
+
/**
|
|
630
|
+
* @generated from field: string id = 1;
|
|
631
|
+
*/
|
|
632
|
+
id: string;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Describes the message notifications.v1.MarkCustomerNotificationReadRequest.
|
|
637
|
+
* Use `create(MarkCustomerNotificationReadRequestSchema)` to create a new message.
|
|
638
|
+
*/
|
|
639
|
+
export declare const MarkCustomerNotificationReadRequestSchema: GenMessage<MarkCustomerNotificationReadRequest>;
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* @generated from message notifications.v1.MarkCustomerNotificationReadResponse
|
|
643
|
+
*/
|
|
644
|
+
export declare type MarkCustomerNotificationReadResponse = Message<"notifications.v1.MarkCustomerNotificationReadResponse"> & {
|
|
645
|
+
/**
|
|
646
|
+
* @generated from field: bool success = 1;
|
|
647
|
+
*/
|
|
648
|
+
success: boolean;
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Describes the message notifications.v1.MarkCustomerNotificationReadResponse.
|
|
653
|
+
* Use `create(MarkCustomerNotificationReadResponseSchema)` to create a new message.
|
|
654
|
+
*/
|
|
655
|
+
export declare const MarkCustomerNotificationReadResponseSchema: GenMessage<MarkCustomerNotificationReadResponse>;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* @generated from message notifications.v1.MarkAllCustomerNotificationsReadRequest
|
|
659
|
+
*/
|
|
660
|
+
export declare type MarkAllCustomerNotificationsReadRequest = Message<"notifications.v1.MarkAllCustomerNotificationsReadRequest"> & {
|
|
661
|
+
/**
|
|
662
|
+
* @generated from field: optional string customer_id = 1;
|
|
663
|
+
*/
|
|
664
|
+
customerId?: string;
|
|
665
|
+
};
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Describes the message notifications.v1.MarkAllCustomerNotificationsReadRequest.
|
|
669
|
+
* Use `create(MarkAllCustomerNotificationsReadRequestSchema)` to create a new message.
|
|
670
|
+
*/
|
|
671
|
+
export declare const MarkAllCustomerNotificationsReadRequestSchema: GenMessage<MarkAllCustomerNotificationsReadRequest>;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* @generated from message notifications.v1.MarkAllCustomerNotificationsReadResponse
|
|
675
|
+
*/
|
|
676
|
+
export declare type MarkAllCustomerNotificationsReadResponse = Message<"notifications.v1.MarkAllCustomerNotificationsReadResponse"> & {
|
|
677
|
+
/**
|
|
678
|
+
* @generated from field: int32 count = 1;
|
|
679
|
+
*/
|
|
680
|
+
count: number;
|
|
681
|
+
};
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Describes the message notifications.v1.MarkAllCustomerNotificationsReadResponse.
|
|
685
|
+
* Use `create(MarkAllCustomerNotificationsReadResponseSchema)` to create a new message.
|
|
686
|
+
*/
|
|
687
|
+
export declare const MarkAllCustomerNotificationsReadResponseSchema: GenMessage<MarkAllCustomerNotificationsReadResponse>;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* @generated from message notifications.v1.ListProjectNotificationsRequest
|
|
691
|
+
*/
|
|
692
|
+
export declare type ListProjectNotificationsRequest = Message<"notifications.v1.ListProjectNotificationsRequest"> & {
|
|
693
|
+
/**
|
|
694
|
+
* @generated from field: optional string category = 1;
|
|
695
|
+
*/
|
|
696
|
+
category?: string;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* @generated from field: int32 limit = 10;
|
|
700
|
+
*/
|
|
701
|
+
limit: number;
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* @generated from field: int32 offset = 11;
|
|
705
|
+
*/
|
|
706
|
+
offset: number;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* Describes the message notifications.v1.ListProjectNotificationsRequest.
|
|
711
|
+
* Use `create(ListProjectNotificationsRequestSchema)` to create a new message.
|
|
712
|
+
*/
|
|
713
|
+
export declare const ListProjectNotificationsRequestSchema: GenMessage<ListProjectNotificationsRequest>;
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* @generated from message notifications.v1.ListProjectNotificationsResponse
|
|
717
|
+
*/
|
|
718
|
+
export declare type ListProjectNotificationsResponse = Message<"notifications.v1.ListProjectNotificationsResponse"> & {
|
|
719
|
+
/**
|
|
720
|
+
* @generated from field: repeated notifications.v1.CustomerNotification notifications = 1;
|
|
721
|
+
*/
|
|
722
|
+
notifications: CustomerNotification[];
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: int32 total = 2;
|
|
726
|
+
*/
|
|
727
|
+
total: number;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Describes the message notifications.v1.ListProjectNotificationsResponse.
|
|
732
|
+
* Use `create(ListProjectNotificationsResponseSchema)` to create a new message.
|
|
733
|
+
*/
|
|
734
|
+
export declare const ListProjectNotificationsResponseSchema: GenMessage<ListProjectNotificationsResponse>;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* @generated from message notifications.v1.NotificationPreference
|
|
738
|
+
*/
|
|
739
|
+
export declare type NotificationPreference = Message<"notifications.v1.NotificationPreference"> & {
|
|
740
|
+
/**
|
|
741
|
+
* @generated from field: string category = 1;
|
|
742
|
+
*/
|
|
743
|
+
category: string;
|
|
744
|
+
|
|
745
|
+
/**
|
|
746
|
+
* @generated from field: bool email_enabled = 2;
|
|
747
|
+
*/
|
|
748
|
+
emailEnabled: boolean;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* @generated from field: bool push_enabled = 3;
|
|
752
|
+
*/
|
|
753
|
+
pushEnabled: boolean;
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @generated from field: bool in_app_enabled = 4;
|
|
757
|
+
*/
|
|
758
|
+
inAppEnabled: boolean;
|
|
759
|
+
};
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Describes the message notifications.v1.NotificationPreference.
|
|
763
|
+
* Use `create(NotificationPreferenceSchema)` to create a new message.
|
|
764
|
+
*/
|
|
765
|
+
export declare const NotificationPreferenceSchema: GenMessage<NotificationPreference>;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* @generated from message notifications.v1.GetNotificationPreferencesRequest
|
|
769
|
+
*/
|
|
770
|
+
export declare type GetNotificationPreferencesRequest = Message<"notifications.v1.GetNotificationPreferencesRequest"> & {
|
|
771
|
+
/**
|
|
772
|
+
* @generated from field: string customer_id = 1;
|
|
773
|
+
*/
|
|
774
|
+
customerId: string;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Describes the message notifications.v1.GetNotificationPreferencesRequest.
|
|
779
|
+
* Use `create(GetNotificationPreferencesRequestSchema)` to create a new message.
|
|
780
|
+
*/
|
|
781
|
+
export declare const GetNotificationPreferencesRequestSchema: GenMessage<GetNotificationPreferencesRequest>;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* @generated from message notifications.v1.GetNotificationPreferencesResponse
|
|
785
|
+
*/
|
|
786
|
+
export declare type GetNotificationPreferencesResponse = Message<"notifications.v1.GetNotificationPreferencesResponse"> & {
|
|
787
|
+
/**
|
|
788
|
+
* @generated from field: repeated notifications.v1.NotificationPreference preferences = 1;
|
|
789
|
+
*/
|
|
790
|
+
preferences: NotificationPreference[];
|
|
791
|
+
};
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* Describes the message notifications.v1.GetNotificationPreferencesResponse.
|
|
795
|
+
* Use `create(GetNotificationPreferencesResponseSchema)` to create a new message.
|
|
796
|
+
*/
|
|
797
|
+
export declare const GetNotificationPreferencesResponseSchema: GenMessage<GetNotificationPreferencesResponse>;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* @generated from message notifications.v1.UpdateNotificationPreferenceRequest
|
|
801
|
+
*/
|
|
802
|
+
export declare type UpdateNotificationPreferenceRequest = Message<"notifications.v1.UpdateNotificationPreferenceRequest"> & {
|
|
803
|
+
/**
|
|
804
|
+
* @generated from field: string customer_id = 1;
|
|
805
|
+
*/
|
|
806
|
+
customerId: string;
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* @generated from field: string category = 2;
|
|
810
|
+
*/
|
|
811
|
+
category: string;
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* @generated from field: optional bool email_enabled = 3;
|
|
815
|
+
*/
|
|
816
|
+
emailEnabled?: boolean;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* @generated from field: optional bool push_enabled = 4;
|
|
820
|
+
*/
|
|
821
|
+
pushEnabled?: boolean;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* @generated from field: optional bool in_app_enabled = 5;
|
|
825
|
+
*/
|
|
826
|
+
inAppEnabled?: boolean;
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Describes the message notifications.v1.UpdateNotificationPreferenceRequest.
|
|
831
|
+
* Use `create(UpdateNotificationPreferenceRequestSchema)` to create a new message.
|
|
832
|
+
*/
|
|
833
|
+
export declare const UpdateNotificationPreferenceRequestSchema: GenMessage<UpdateNotificationPreferenceRequest>;
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* @generated from message notifications.v1.UpdateNotificationPreferenceResponse
|
|
837
|
+
*/
|
|
838
|
+
export declare type UpdateNotificationPreferenceResponse = Message<"notifications.v1.UpdateNotificationPreferenceResponse"> & {
|
|
839
|
+
/**
|
|
840
|
+
* @generated from field: bool success = 1;
|
|
841
|
+
*/
|
|
842
|
+
success: boolean;
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Describes the message notifications.v1.UpdateNotificationPreferenceResponse.
|
|
847
|
+
* Use `create(UpdateNotificationPreferenceResponseSchema)` to create a new message.
|
|
848
|
+
*/
|
|
849
|
+
export declare const UpdateNotificationPreferenceResponseSchema: GenMessage<UpdateNotificationPreferenceResponse>;
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* @generated from message notifications.v1.RegisterDeviceTokenRequest
|
|
853
|
+
*/
|
|
854
|
+
export declare type RegisterDeviceTokenRequest = Message<"notifications.v1.RegisterDeviceTokenRequest"> & {
|
|
855
|
+
/**
|
|
856
|
+
* @generated from field: string customer_id = 1;
|
|
857
|
+
*/
|
|
858
|
+
customerId: string;
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* @generated from field: string token = 2;
|
|
862
|
+
*/
|
|
863
|
+
token: string;
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* @generated from field: string platform = 3;
|
|
867
|
+
*/
|
|
868
|
+
platform: string;
|
|
869
|
+
};
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Describes the message notifications.v1.RegisterDeviceTokenRequest.
|
|
873
|
+
* Use `create(RegisterDeviceTokenRequestSchema)` to create a new message.
|
|
874
|
+
*/
|
|
875
|
+
export declare const RegisterDeviceTokenRequestSchema: GenMessage<RegisterDeviceTokenRequest>;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* @generated from message notifications.v1.RegisterDeviceTokenResponse
|
|
879
|
+
*/
|
|
880
|
+
export declare type RegisterDeviceTokenResponse = Message<"notifications.v1.RegisterDeviceTokenResponse"> & {
|
|
881
|
+
/**
|
|
882
|
+
* @generated from field: bool success = 1;
|
|
883
|
+
*/
|
|
884
|
+
success: boolean;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Describes the message notifications.v1.RegisterDeviceTokenResponse.
|
|
889
|
+
* Use `create(RegisterDeviceTokenResponseSchema)` to create a new message.
|
|
890
|
+
*/
|
|
891
|
+
export declare const RegisterDeviceTokenResponseSchema: GenMessage<RegisterDeviceTokenResponse>;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* @generated from message notifications.v1.UnregisterDeviceTokenRequest
|
|
895
|
+
*/
|
|
896
|
+
export declare type UnregisterDeviceTokenRequest = Message<"notifications.v1.UnregisterDeviceTokenRequest"> & {
|
|
897
|
+
/**
|
|
898
|
+
* @generated from field: string token = 1;
|
|
899
|
+
*/
|
|
900
|
+
token: string;
|
|
901
|
+
};
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Describes the message notifications.v1.UnregisterDeviceTokenRequest.
|
|
905
|
+
* Use `create(UnregisterDeviceTokenRequestSchema)` to create a new message.
|
|
906
|
+
*/
|
|
907
|
+
export declare const UnregisterDeviceTokenRequestSchema: GenMessage<UnregisterDeviceTokenRequest>;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* @generated from message notifications.v1.UnregisterDeviceTokenResponse
|
|
911
|
+
*/
|
|
912
|
+
export declare type UnregisterDeviceTokenResponse = Message<"notifications.v1.UnregisterDeviceTokenResponse"> & {
|
|
913
|
+
/**
|
|
914
|
+
* @generated from field: bool success = 1;
|
|
915
|
+
*/
|
|
916
|
+
success: boolean;
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Describes the message notifications.v1.UnregisterDeviceTokenResponse.
|
|
921
|
+
* Use `create(UnregisterDeviceTokenResponseSchema)` to create a new message.
|
|
922
|
+
*/
|
|
923
|
+
export declare const UnregisterDeviceTokenResponseSchema: GenMessage<UnregisterDeviceTokenResponse>;
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* @generated from enum notifications.v1.NotificationType
|
|
927
|
+
*/
|
|
928
|
+
export enum NotificationType {
|
|
929
|
+
/**
|
|
930
|
+
* @generated from enum value: NOTIFICATION_TYPE_UNSPECIFIED = 0;
|
|
931
|
+
*/
|
|
932
|
+
UNSPECIFIED = 0,
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* @generated from enum value: NOTIFICATION_TYPE_JOB_COMPLETED = 1;
|
|
936
|
+
*/
|
|
937
|
+
JOB_COMPLETED = 1,
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* @generated from enum value: NOTIFICATION_TYPE_JOB_FAILED = 2;
|
|
941
|
+
*/
|
|
942
|
+
JOB_FAILED = 2,
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* @generated from enum value: NOTIFICATION_TYPE_JOB_PROGRESS = 3;
|
|
946
|
+
*/
|
|
947
|
+
JOB_PROGRESS = 3,
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* @generated from enum value: NOTIFICATION_TYPE_MENTION = 4;
|
|
951
|
+
*/
|
|
952
|
+
MENTION = 4,
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* @generated from enum value: NOTIFICATION_TYPE_NOTE_REPLY = 5;
|
|
956
|
+
*/
|
|
957
|
+
NOTE_REPLY = 5,
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* @generated from enum value: NOTIFICATION_TYPE_NOTE_RESOLVED = 6;
|
|
961
|
+
*/
|
|
962
|
+
NOTE_RESOLVED = 6,
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* @generated from enum value: NOTIFICATION_TYPE_SYSTEM = 7;
|
|
966
|
+
*/
|
|
967
|
+
SYSTEM = 7,
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @generated from enum value: NOTIFICATION_TYPE_ANNOUNCEMENT = 8;
|
|
971
|
+
*/
|
|
972
|
+
ANNOUNCEMENT = 8,
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Describes the enum notifications.v1.NotificationType.
|
|
977
|
+
*/
|
|
978
|
+
export declare const NotificationTypeSchema: GenEnum<NotificationType>;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* @generated from enum notifications.v1.NotificationSourceType
|
|
982
|
+
*/
|
|
983
|
+
export enum NotificationSourceType {
|
|
984
|
+
/**
|
|
985
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_UNSPECIFIED = 0;
|
|
986
|
+
*/
|
|
987
|
+
UNSPECIFIED = 0,
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_RECORD = 1;
|
|
991
|
+
*/
|
|
992
|
+
RECORD = 1,
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_MODEL = 2;
|
|
996
|
+
*/
|
|
997
|
+
MODEL = 2,
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_NOTE = 3;
|
|
1001
|
+
*/
|
|
1002
|
+
NOTE = 3,
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_JOB = 4;
|
|
1006
|
+
*/
|
|
1007
|
+
JOB = 4,
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* @generated from enum value: NOTIFICATION_SOURCE_TYPE_SYSTEM = 5;
|
|
1011
|
+
*/
|
|
1012
|
+
SYSTEM = 5,
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* Describes the enum notifications.v1.NotificationSourceType.
|
|
1017
|
+
*/
|
|
1018
|
+
export declare const NotificationSourceTypeSchema: GenEnum<NotificationSourceType>;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* @generated from service notifications.v1.NotificationsService
|
|
1022
|
+
*/
|
|
1023
|
+
export declare const NotificationsService: GenService<{
|
|
1024
|
+
/**
|
|
1025
|
+
* Queries.
|
|
1026
|
+
*
|
|
1027
|
+
* @generated from rpc notifications.v1.NotificationsService.ListNotifications
|
|
1028
|
+
*/
|
|
1029
|
+
listNotifications: {
|
|
1030
|
+
methodKind: "unary";
|
|
1031
|
+
input: typeof ListNotificationsRequestSchema;
|
|
1032
|
+
output: typeof ListNotificationsResponseSchema;
|
|
1033
|
+
},
|
|
1034
|
+
/**
|
|
1035
|
+
* @generated from rpc notifications.v1.NotificationsService.GetUnreadCount
|
|
1036
|
+
*/
|
|
1037
|
+
getUnreadCount: {
|
|
1038
|
+
methodKind: "unary";
|
|
1039
|
+
input: typeof GetUnreadCountRequestSchema;
|
|
1040
|
+
output: typeof GetUnreadCountResponseSchema;
|
|
1041
|
+
},
|
|
1042
|
+
/**
|
|
1043
|
+
* Mutations.
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from rpc notifications.v1.NotificationsService.MarkNotificationRead
|
|
1046
|
+
*/
|
|
1047
|
+
markNotificationRead: {
|
|
1048
|
+
methodKind: "unary";
|
|
1049
|
+
input: typeof MarkNotificationReadRequestSchema;
|
|
1050
|
+
output: typeof MarkNotificationReadResponseSchema;
|
|
1051
|
+
},
|
|
1052
|
+
/**
|
|
1053
|
+
* @generated from rpc notifications.v1.NotificationsService.MarkAllNotificationsRead
|
|
1054
|
+
*/
|
|
1055
|
+
markAllNotificationsRead: {
|
|
1056
|
+
methodKind: "unary";
|
|
1057
|
+
input: typeof MarkAllNotificationsReadRequestSchema;
|
|
1058
|
+
output: typeof MarkAllNotificationsReadResponseSchema;
|
|
1059
|
+
},
|
|
1060
|
+
/**
|
|
1061
|
+
* @generated from rpc notifications.v1.NotificationsService.DeleteNotification
|
|
1062
|
+
*/
|
|
1063
|
+
deleteNotification: {
|
|
1064
|
+
methodKind: "unary";
|
|
1065
|
+
input: typeof DeleteNotificationRequestSchema;
|
|
1066
|
+
output: typeof DeleteNotificationResponseSchema;
|
|
1067
|
+
},
|
|
1068
|
+
/**
|
|
1069
|
+
* Announcements.
|
|
1070
|
+
*
|
|
1071
|
+
* @generated from rpc notifications.v1.NotificationsService.SendAnnouncement
|
|
1072
|
+
*/
|
|
1073
|
+
sendAnnouncement: {
|
|
1074
|
+
methodKind: "unary";
|
|
1075
|
+
input: typeof SendAnnouncementRequestSchema;
|
|
1076
|
+
output: typeof SendAnnouncementResponseSchema;
|
|
1077
|
+
},
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from rpc notifications.v1.NotificationsService.ListAnnouncementHistory
|
|
1080
|
+
*/
|
|
1081
|
+
listAnnouncementHistory: {
|
|
1082
|
+
methodKind: "unary";
|
|
1083
|
+
input: typeof ListAnnouncementHistoryRequestSchema;
|
|
1084
|
+
output: typeof ListAnnouncementHistoryResponseSchema;
|
|
1085
|
+
},
|
|
1086
|
+
/**
|
|
1087
|
+
* Customer Notifications (Admin).
|
|
1088
|
+
*
|
|
1089
|
+
* @generated from rpc notifications.v1.NotificationsService.ListCustomerNotifications
|
|
1090
|
+
*/
|
|
1091
|
+
listCustomerNotifications: {
|
|
1092
|
+
methodKind: "unary";
|
|
1093
|
+
input: typeof ListCustomerNotificationsRequestSchema;
|
|
1094
|
+
output: typeof ListCustomerNotificationsResponseSchema;
|
|
1095
|
+
},
|
|
1096
|
+
/**
|
|
1097
|
+
* @generated from rpc notifications.v1.NotificationsService.SendCustomerNotification
|
|
1098
|
+
*/
|
|
1099
|
+
sendCustomerNotification: {
|
|
1100
|
+
methodKind: "unary";
|
|
1101
|
+
input: typeof SendCustomerNotificationRequestSchema;
|
|
1102
|
+
output: typeof SendCustomerNotificationResponseSchema;
|
|
1103
|
+
},
|
|
1104
|
+
/**
|
|
1105
|
+
* @generated from rpc notifications.v1.NotificationsService.SendBulkCustomerNotification
|
|
1106
|
+
*/
|
|
1107
|
+
sendBulkCustomerNotification: {
|
|
1108
|
+
methodKind: "unary";
|
|
1109
|
+
input: typeof SendBulkCustomerNotificationRequestSchema;
|
|
1110
|
+
output: typeof SendBulkCustomerNotificationResponseSchema;
|
|
1111
|
+
},
|
|
1112
|
+
/**
|
|
1113
|
+
* @generated from rpc notifications.v1.NotificationsService.MarkCustomerNotificationRead
|
|
1114
|
+
*/
|
|
1115
|
+
markCustomerNotificationRead: {
|
|
1116
|
+
methodKind: "unary";
|
|
1117
|
+
input: typeof MarkCustomerNotificationReadRequestSchema;
|
|
1118
|
+
output: typeof MarkCustomerNotificationReadResponseSchema;
|
|
1119
|
+
},
|
|
1120
|
+
/**
|
|
1121
|
+
* @generated from rpc notifications.v1.NotificationsService.MarkAllCustomerNotificationsRead
|
|
1122
|
+
*/
|
|
1123
|
+
markAllCustomerNotificationsRead: {
|
|
1124
|
+
methodKind: "unary";
|
|
1125
|
+
input: typeof MarkAllCustomerNotificationsReadRequestSchema;
|
|
1126
|
+
output: typeof MarkAllCustomerNotificationsReadResponseSchema;
|
|
1127
|
+
},
|
|
1128
|
+
/**
|
|
1129
|
+
* @generated from rpc notifications.v1.NotificationsService.ListProjectNotifications
|
|
1130
|
+
*/
|
|
1131
|
+
listProjectNotifications: {
|
|
1132
|
+
methodKind: "unary";
|
|
1133
|
+
input: typeof ListProjectNotificationsRequestSchema;
|
|
1134
|
+
output: typeof ListProjectNotificationsResponseSchema;
|
|
1135
|
+
},
|
|
1136
|
+
/**
|
|
1137
|
+
* Notification Preferences.
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from rpc notifications.v1.NotificationsService.GetNotificationPreferences
|
|
1140
|
+
*/
|
|
1141
|
+
getNotificationPreferences: {
|
|
1142
|
+
methodKind: "unary";
|
|
1143
|
+
input: typeof GetNotificationPreferencesRequestSchema;
|
|
1144
|
+
output: typeof GetNotificationPreferencesResponseSchema;
|
|
1145
|
+
},
|
|
1146
|
+
/**
|
|
1147
|
+
* @generated from rpc notifications.v1.NotificationsService.UpdateNotificationPreference
|
|
1148
|
+
*/
|
|
1149
|
+
updateNotificationPreference: {
|
|
1150
|
+
methodKind: "unary";
|
|
1151
|
+
input: typeof UpdateNotificationPreferenceRequestSchema;
|
|
1152
|
+
output: typeof UpdateNotificationPreferenceResponseSchema;
|
|
1153
|
+
},
|
|
1154
|
+
/**
|
|
1155
|
+
* Device Tokens.
|
|
1156
|
+
*
|
|
1157
|
+
* @generated from rpc notifications.v1.NotificationsService.RegisterDeviceToken
|
|
1158
|
+
*/
|
|
1159
|
+
registerDeviceToken: {
|
|
1160
|
+
methodKind: "unary";
|
|
1161
|
+
input: typeof RegisterDeviceTokenRequestSchema;
|
|
1162
|
+
output: typeof RegisterDeviceTokenResponseSchema;
|
|
1163
|
+
},
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from rpc notifications.v1.NotificationsService.UnregisterDeviceToken
|
|
1166
|
+
*/
|
|
1167
|
+
unregisterDeviceToken: {
|
|
1168
|
+
methodKind: "unary";
|
|
1169
|
+
input: typeof UnregisterDeviceTokenRequestSchema;
|
|
1170
|
+
output: typeof UnregisterDeviceTokenResponseSchema;
|
|
1171
|
+
},
|
|
1172
|
+
}>;
|
|
1173
|
+
|