@ondewo/csi-client-angular 3.2.1 → 4.0.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/api/ondewo/csi/conversation.pb.d.ts +24 -24
- package/api/ondewo/nlu/agent.pb.d.ts +258 -18
- package/api/ondewo/nlu/agent.pbsc.d.ts +141 -60
- package/api/ondewo/nlu/ccai-project.pb.d.ts +1337 -0
- package/api/ondewo/nlu/ccai-project.pbconf.d.ts +6 -0
- package/api/ondewo/nlu/ccai-project.pbsc.d.ts +102 -0
- package/api/ondewo/nlu/common.pb.d.ts +957 -0
- package/api/ondewo/nlu/context.pb.d.ts +41 -0
- package/api/ondewo/nlu/entity-type.pb.d.ts +55 -14
- package/api/ondewo/nlu/entity-type.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/intent.pb.d.ts +129 -9
- package/api/ondewo/nlu/intent.pbsc.d.ts +4 -4
- package/api/ondewo/nlu/operation-metadata.pb.d.ts +22 -1
- package/api/ondewo/nlu/project-role.pb.d.ts +26 -5
- package/api/ondewo/nlu/project-role.pbsc.d.ts +5 -5
- package/api/ondewo/nlu/server-statistics.pbsc.d.ts +14 -14
- package/api/ondewo/nlu/session.pb.d.ts +1593 -146
- package/api/ondewo/nlu/session.pbsc.d.ts +150 -5
- package/api/ondewo/nlu/user.pb.d.ts +761 -18
- package/api/ondewo/nlu/user.pbsc.d.ts +126 -13
- package/api/ondewo/nlu/webhook.pb.d.ts +545 -10
- package/api/ondewo/nlu/webhook.pbsc.d.ts +49 -0
- package/api/ondewo/s2t/speech-to-text.pb.d.ts +66 -315
- package/api/ondewo/t2s/text-to-speech.pb.d.ts +391 -5
- package/api/ondewo/t2s/text-to-speech.pbconf.d.ts +0 -5
- package/api/ondewo/t2s/text-to-speech.pbsc.d.ts +47 -64
- package/esm2022/api/ondewo/csi/conversation.pb.mjs +25 -25
- package/esm2022/api/ondewo/csi/conversation.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/agent.pb.mjs +925 -41
- package/esm2022/api/ondewo/nlu/agent.pbsc.mjs +201 -50
- package/esm2022/api/ondewo/nlu/aiservices.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/ccai-project.pb.mjs +2490 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbconf.mjs +13 -0
- package/esm2022/api/ondewo/nlu/ccai-project.pbsc.mjs +194 -0
- package/esm2022/api/ondewo/nlu/common.pb.mjs +1854 -1
- package/esm2022/api/ondewo/nlu/context.pb.mjs +152 -5
- package/esm2022/api/ondewo/nlu/context.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/entity-type.pb.mjs +166 -19
- package/esm2022/api/ondewo/nlu/entity-type.pbsc.mjs +8 -8
- package/esm2022/api/ondewo/nlu/intent.pb.mjs +464 -22
- package/esm2022/api/ondewo/nlu/intent.pbsc.mjs +7 -7
- package/esm2022/api/ondewo/nlu/operation-metadata.pb.mjs +76 -3
- package/esm2022/api/ondewo/nlu/operations.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/project-role.pb.mjs +81 -8
- package/esm2022/api/ondewo/nlu/project-role.pbsc.mjs +8 -8
- package/esm2022/api/ondewo/nlu/project-statistics.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/server-statistics.pb.mjs +1 -1
- package/esm2022/api/ondewo/nlu/server-statistics.pbsc.mjs +17 -17
- package/esm2022/api/ondewo/nlu/session.pb.mjs +2970 -199
- package/esm2022/api/ondewo/nlu/session.pbsc.mjs +279 -8
- package/esm2022/api/ondewo/nlu/user.pb.mjs +1349 -20
- package/esm2022/api/ondewo/nlu/user.pbsc.mjs +226 -15
- package/esm2022/api/ondewo/nlu/utility.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/nlu/webhook.pb.mjs +915 -24
- package/esm2022/api/ondewo/nlu/webhook.pbsc.mjs +95 -4
- package/esm2022/api/ondewo/s2t/speech-to-text.pb.mjs +226 -676
- package/esm2022/api/ondewo/s2t/speech-to-text.pbsc.mjs +4 -4
- package/esm2022/api/ondewo/t2s/text-to-speech.pb.mjs +872 -98
- package/esm2022/api/ondewo/t2s/text-to-speech.pbconf.mjs +1 -6
- package/esm2022/api/ondewo/t2s/text-to-speech.pbsc.mjs +101 -131
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/ondewo-csi-client-angular.mjs +36357 -24065
- package/fesm2022/ondewo-csi-client-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common';
|
|
2
2
|
import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf';
|
|
3
|
+
import * as googleProtobuf000 from '@ngx-grpc/well-known-types';
|
|
4
|
+
import * as googleProtobuf001 from '@ngx-grpc/well-known-types';
|
|
3
5
|
export declare enum SortingMode {
|
|
4
6
|
ASCENDING = 0,
|
|
5
7
|
DESCENDING = 1
|
|
6
8
|
}
|
|
9
|
+
export declare enum NotificationFlaggedStatus {
|
|
10
|
+
NOTIFICATION_FLAGGED_STATUS_UNSPECIFIED = 0,
|
|
11
|
+
NOTIFICATION_FLAGGED_STATUS_FLAGGED = 1,
|
|
12
|
+
NOTIFICATION_FLAGGED_STATUS_UNFLAGGED = 2
|
|
13
|
+
}
|
|
14
|
+
export declare enum NotificationReadStatus {
|
|
15
|
+
NOTIFICATION_READ_STATUS_UNSPECIFIED = 0,
|
|
16
|
+
NOTIFICATION_READ_STATUS_READ = 1,
|
|
17
|
+
NOTIFICATION_READ_STATUS_UNREAD = 2
|
|
18
|
+
}
|
|
19
|
+
export declare enum NotificationVisibility {
|
|
20
|
+
NOTIFICATION_VISIBILITY_UNSPECIFIED = 0,
|
|
21
|
+
NOTIFICATION_VISIBILITY_USER = 1,
|
|
22
|
+
NOTIFICATION_VISIBILITY_PROJECT = 2,
|
|
23
|
+
NOTIFICATION_VISIBILITY_PROJECT_OWNER = 3,
|
|
24
|
+
NOTIFICATION_VISIBILITY_PROJECT_ADMIN = 4,
|
|
25
|
+
NOTIFICATION_VISIBILITY_PROJECT_DEVELOPER = 5,
|
|
26
|
+
NOTIFICATION_VISIBILITY_PROJECT_USER = 6,
|
|
27
|
+
NOTIFICATION_VISIBILITY_PROJECT_EXECUTOR = 7,
|
|
28
|
+
NOTIFICATION_VISIBILITY_PROJECT_INACTIVE = 8,
|
|
29
|
+
NOTIFICATION_VISIBILITY_SERVER_ADMIN = 9,
|
|
30
|
+
NOTIFICATION_VISIBILITY_SERVER_MANAGER = 10,
|
|
31
|
+
NOTIFICATION_VISIBILITY_SERVER_USER = 11,
|
|
32
|
+
NOTIFICATION_VISIBILITY_SERVER_INACTIVE = 12
|
|
33
|
+
}
|
|
34
|
+
export declare enum NotificationType {
|
|
35
|
+
NOTIFICATION_TYPE_UNSPECIFIED = 0,
|
|
36
|
+
NOTIFICATION_TYPE_DEBUG = 1,
|
|
37
|
+
NOTIFICATION_TYPE_WARNING = 2,
|
|
38
|
+
NOTIFICATION_TYPE_INFO = 3,
|
|
39
|
+
NOTIFICATION_TYPE_ERROR = 4,
|
|
40
|
+
NOTIFICATION_TYPE_NEWS = 5
|
|
41
|
+
}
|
|
42
|
+
export declare enum NotificationOrigin {
|
|
43
|
+
NOTIFICATION_ORIGIN_UNSPECIFIED = 0,
|
|
44
|
+
NOTIFICATION_ORIGIN_ONDEWO_AIM = 1,
|
|
45
|
+
NOTIFICATION_ORIGIN_ONDEWO_BPI = 2,
|
|
46
|
+
NOTIFICATION_ORIGIN_ONDEWO_CSI = 3,
|
|
47
|
+
NOTIFICATION_ORIGIN_ONDEWO_NLU = 4,
|
|
48
|
+
NOTIFICATION_ORIGIN_ONDEWO_S2T = 5,
|
|
49
|
+
NOTIFICATION_ORIGIN_ONDEWO_SIP = 6,
|
|
50
|
+
NOTIFICATION_ORIGIN_ONDEWO_T2S = 7,
|
|
51
|
+
NOTIFICATION_ORIGIN_ONDEWO_VTSI = 8,
|
|
52
|
+
NOTIFICATION_ORIGIN_ONDEWO_VTSI_RABBITMQ = 9
|
|
53
|
+
}
|
|
7
54
|
/**
|
|
8
55
|
* Message implementation for ondewo.nlu.StatResponse
|
|
9
56
|
*/
|
|
@@ -73,3 +120,913 @@ export declare module StatResponse {
|
|
|
73
120
|
value: number;
|
|
74
121
|
}
|
|
75
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Message implementation for ondewo.nlu.Comment
|
|
125
|
+
*/
|
|
126
|
+
export declare class Comment implements GrpcMessage {
|
|
127
|
+
static id: string;
|
|
128
|
+
/**
|
|
129
|
+
* Deserialize binary data to message
|
|
130
|
+
* @param instance message instance
|
|
131
|
+
*/
|
|
132
|
+
static deserializeBinary(bytes: ByteSource): Comment;
|
|
133
|
+
/**
|
|
134
|
+
* Check all the properties and set default protobuf values if necessary
|
|
135
|
+
* @param _instance message instance
|
|
136
|
+
*/
|
|
137
|
+
static refineValues(_instance: Comment): void;
|
|
138
|
+
/**
|
|
139
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
140
|
+
* @param _instance message instance
|
|
141
|
+
* @param _reader binary reader instance
|
|
142
|
+
*/
|
|
143
|
+
static deserializeBinaryFromReader(_instance: Comment, _reader: BinaryReader): void;
|
|
144
|
+
/**
|
|
145
|
+
* Serializes a message to binary format using provided binary reader
|
|
146
|
+
* @param _instance message instance
|
|
147
|
+
* @param _writer binary writer instance
|
|
148
|
+
*/
|
|
149
|
+
static serializeBinaryToWriter(_instance: Comment, _writer: BinaryWriter): void;
|
|
150
|
+
private _name;
|
|
151
|
+
private _text;
|
|
152
|
+
private _userId;
|
|
153
|
+
private _commentAboutName;
|
|
154
|
+
private _parentCommentName;
|
|
155
|
+
private _createdAt?;
|
|
156
|
+
private _modifiedAt?;
|
|
157
|
+
private _createdBy;
|
|
158
|
+
private _modifiedBy;
|
|
159
|
+
/**
|
|
160
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
161
|
+
* @param _value initial values object or instance of Comment to deeply clone from
|
|
162
|
+
*/
|
|
163
|
+
constructor(_value?: RecursivePartial<Comment.AsObject>);
|
|
164
|
+
get name(): string;
|
|
165
|
+
set name(value: string);
|
|
166
|
+
get text(): string;
|
|
167
|
+
set text(value: string);
|
|
168
|
+
get userId(): string;
|
|
169
|
+
set userId(value: string);
|
|
170
|
+
get commentAboutName(): string;
|
|
171
|
+
set commentAboutName(value: string);
|
|
172
|
+
get parentCommentName(): string;
|
|
173
|
+
set parentCommentName(value: string);
|
|
174
|
+
get createdAt(): googleProtobuf001.Timestamp | undefined;
|
|
175
|
+
set createdAt(value: googleProtobuf001.Timestamp | undefined);
|
|
176
|
+
get modifiedAt(): googleProtobuf001.Timestamp | undefined;
|
|
177
|
+
set modifiedAt(value: googleProtobuf001.Timestamp | undefined);
|
|
178
|
+
get createdBy(): string;
|
|
179
|
+
set createdBy(value: string);
|
|
180
|
+
get modifiedBy(): string;
|
|
181
|
+
set modifiedBy(value: string);
|
|
182
|
+
/**
|
|
183
|
+
* Serialize message to binary data
|
|
184
|
+
* @param instance message instance
|
|
185
|
+
*/
|
|
186
|
+
serializeBinary(): any;
|
|
187
|
+
/**
|
|
188
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
189
|
+
*/
|
|
190
|
+
toObject(): Comment.AsObject;
|
|
191
|
+
/**
|
|
192
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
193
|
+
*/
|
|
194
|
+
toJSON(): Comment.AsObject;
|
|
195
|
+
/**
|
|
196
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
197
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
198
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
199
|
+
*/
|
|
200
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Comment.AsProtobufJSON;
|
|
201
|
+
}
|
|
202
|
+
export declare module Comment {
|
|
203
|
+
/**
|
|
204
|
+
* Standard JavaScript object representation for Comment
|
|
205
|
+
*/
|
|
206
|
+
interface AsObject {
|
|
207
|
+
name: string;
|
|
208
|
+
text: string;
|
|
209
|
+
userId: string;
|
|
210
|
+
commentAboutName: string;
|
|
211
|
+
parentCommentName: string;
|
|
212
|
+
createdAt?: googleProtobuf001.Timestamp.AsObject;
|
|
213
|
+
modifiedAt?: googleProtobuf001.Timestamp.AsObject;
|
|
214
|
+
createdBy: string;
|
|
215
|
+
modifiedBy: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Protobuf JSON representation for Comment
|
|
219
|
+
*/
|
|
220
|
+
interface AsProtobufJSON {
|
|
221
|
+
name: string;
|
|
222
|
+
text: string;
|
|
223
|
+
userId: string;
|
|
224
|
+
commentAboutName: string;
|
|
225
|
+
parentCommentName: string;
|
|
226
|
+
createdAt: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
227
|
+
modifiedAt: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
228
|
+
createdBy: string;
|
|
229
|
+
modifiedBy: string;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Message implementation for ondewo.nlu.Notification
|
|
234
|
+
*/
|
|
235
|
+
export declare class Notification implements GrpcMessage {
|
|
236
|
+
static id: string;
|
|
237
|
+
/**
|
|
238
|
+
* Deserialize binary data to message
|
|
239
|
+
* @param instance message instance
|
|
240
|
+
*/
|
|
241
|
+
static deserializeBinary(bytes: ByteSource): Notification;
|
|
242
|
+
/**
|
|
243
|
+
* Check all the properties and set default protobuf values if necessary
|
|
244
|
+
* @param _instance message instance
|
|
245
|
+
*/
|
|
246
|
+
static refineValues(_instance: Notification): void;
|
|
247
|
+
/**
|
|
248
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
249
|
+
* @param _instance message instance
|
|
250
|
+
* @param _reader binary reader instance
|
|
251
|
+
*/
|
|
252
|
+
static deserializeBinaryFromReader(_instance: Notification, _reader: BinaryReader): void;
|
|
253
|
+
/**
|
|
254
|
+
* Serializes a message to binary format using provided binary reader
|
|
255
|
+
* @param _instance message instance
|
|
256
|
+
* @param _writer binary writer instance
|
|
257
|
+
*/
|
|
258
|
+
static serializeBinaryToWriter(_instance: Notification, _writer: BinaryWriter): void;
|
|
259
|
+
private _name;
|
|
260
|
+
private _userName;
|
|
261
|
+
private _title;
|
|
262
|
+
private _descriptionShort;
|
|
263
|
+
private _descriptionLong;
|
|
264
|
+
private _notificationFlaggedStatus;
|
|
265
|
+
private _notificationFlaggedTimestamp?;
|
|
266
|
+
private _notificationReadStatus;
|
|
267
|
+
private _notificationReadTimestamp?;
|
|
268
|
+
private _notificationOrigin;
|
|
269
|
+
private _originName;
|
|
270
|
+
private _originLanguage;
|
|
271
|
+
private _notificationType;
|
|
272
|
+
private _notificationVisibility;
|
|
273
|
+
private _createdAt?;
|
|
274
|
+
private _modifiedAt?;
|
|
275
|
+
private _createdBy;
|
|
276
|
+
private _modifiedBy;
|
|
277
|
+
/**
|
|
278
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
279
|
+
* @param _value initial values object or instance of Notification to deeply clone from
|
|
280
|
+
*/
|
|
281
|
+
constructor(_value?: RecursivePartial<Notification.AsObject>);
|
|
282
|
+
get name(): string;
|
|
283
|
+
set name(value: string);
|
|
284
|
+
get userName(): string;
|
|
285
|
+
set userName(value: string);
|
|
286
|
+
get title(): string;
|
|
287
|
+
set title(value: string);
|
|
288
|
+
get descriptionShort(): string;
|
|
289
|
+
set descriptionShort(value: string);
|
|
290
|
+
get descriptionLong(): string;
|
|
291
|
+
set descriptionLong(value: string);
|
|
292
|
+
get notificationFlaggedStatus(): NotificationFlaggedStatus;
|
|
293
|
+
set notificationFlaggedStatus(value: NotificationFlaggedStatus);
|
|
294
|
+
get notificationFlaggedTimestamp(): googleProtobuf001.Timestamp | undefined;
|
|
295
|
+
set notificationFlaggedTimestamp(value: googleProtobuf001.Timestamp | undefined);
|
|
296
|
+
get notificationReadStatus(): NotificationReadStatus;
|
|
297
|
+
set notificationReadStatus(value: NotificationReadStatus);
|
|
298
|
+
get notificationReadTimestamp(): googleProtobuf001.Timestamp | undefined;
|
|
299
|
+
set notificationReadTimestamp(value: googleProtobuf001.Timestamp | undefined);
|
|
300
|
+
get notificationOrigin(): NotificationOrigin;
|
|
301
|
+
set notificationOrigin(value: NotificationOrigin);
|
|
302
|
+
get originName(): string;
|
|
303
|
+
set originName(value: string);
|
|
304
|
+
get originLanguage(): string;
|
|
305
|
+
set originLanguage(value: string);
|
|
306
|
+
get notificationType(): NotificationType;
|
|
307
|
+
set notificationType(value: NotificationType);
|
|
308
|
+
get notificationVisibility(): NotificationVisibility;
|
|
309
|
+
set notificationVisibility(value: NotificationVisibility);
|
|
310
|
+
get createdAt(): googleProtobuf001.Timestamp | undefined;
|
|
311
|
+
set createdAt(value: googleProtobuf001.Timestamp | undefined);
|
|
312
|
+
get modifiedAt(): googleProtobuf001.Timestamp | undefined;
|
|
313
|
+
set modifiedAt(value: googleProtobuf001.Timestamp | undefined);
|
|
314
|
+
get createdBy(): string;
|
|
315
|
+
set createdBy(value: string);
|
|
316
|
+
get modifiedBy(): string;
|
|
317
|
+
set modifiedBy(value: string);
|
|
318
|
+
/**
|
|
319
|
+
* Serialize message to binary data
|
|
320
|
+
* @param instance message instance
|
|
321
|
+
*/
|
|
322
|
+
serializeBinary(): any;
|
|
323
|
+
/**
|
|
324
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
325
|
+
*/
|
|
326
|
+
toObject(): Notification.AsObject;
|
|
327
|
+
/**
|
|
328
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
329
|
+
*/
|
|
330
|
+
toJSON(): Notification.AsObject;
|
|
331
|
+
/**
|
|
332
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
333
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
334
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
335
|
+
*/
|
|
336
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): Notification.AsProtobufJSON;
|
|
337
|
+
}
|
|
338
|
+
export declare module Notification {
|
|
339
|
+
/**
|
|
340
|
+
* Standard JavaScript object representation for Notification
|
|
341
|
+
*/
|
|
342
|
+
interface AsObject {
|
|
343
|
+
name: string;
|
|
344
|
+
userName: string;
|
|
345
|
+
title: string;
|
|
346
|
+
descriptionShort: string;
|
|
347
|
+
descriptionLong: string;
|
|
348
|
+
notificationFlaggedStatus: NotificationFlaggedStatus;
|
|
349
|
+
notificationFlaggedTimestamp?: googleProtobuf001.Timestamp.AsObject;
|
|
350
|
+
notificationReadStatus: NotificationReadStatus;
|
|
351
|
+
notificationReadTimestamp?: googleProtobuf001.Timestamp.AsObject;
|
|
352
|
+
notificationOrigin: NotificationOrigin;
|
|
353
|
+
originName: string;
|
|
354
|
+
originLanguage: string;
|
|
355
|
+
notificationType: NotificationType;
|
|
356
|
+
notificationVisibility: NotificationVisibility;
|
|
357
|
+
createdAt?: googleProtobuf001.Timestamp.AsObject;
|
|
358
|
+
modifiedAt?: googleProtobuf001.Timestamp.AsObject;
|
|
359
|
+
createdBy: string;
|
|
360
|
+
modifiedBy: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Protobuf JSON representation for Notification
|
|
364
|
+
*/
|
|
365
|
+
interface AsProtobufJSON {
|
|
366
|
+
name: string;
|
|
367
|
+
userName: string;
|
|
368
|
+
title: string;
|
|
369
|
+
descriptionShort: string;
|
|
370
|
+
descriptionLong: string;
|
|
371
|
+
notificationFlaggedStatus: string;
|
|
372
|
+
notificationFlaggedTimestamp: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
373
|
+
notificationReadStatus: string;
|
|
374
|
+
notificationReadTimestamp: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
375
|
+
notificationOrigin: string;
|
|
376
|
+
originName: string;
|
|
377
|
+
originLanguage: string;
|
|
378
|
+
notificationType: string;
|
|
379
|
+
notificationVisibility: string;
|
|
380
|
+
createdAt: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
381
|
+
modifiedAt: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
382
|
+
createdBy: string;
|
|
383
|
+
modifiedBy: string;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Message implementation for ondewo.nlu.AddNotificationsRequest
|
|
388
|
+
*/
|
|
389
|
+
export declare class AddNotificationsRequest implements GrpcMessage {
|
|
390
|
+
static id: string;
|
|
391
|
+
/**
|
|
392
|
+
* Deserialize binary data to message
|
|
393
|
+
* @param instance message instance
|
|
394
|
+
*/
|
|
395
|
+
static deserializeBinary(bytes: ByteSource): AddNotificationsRequest;
|
|
396
|
+
/**
|
|
397
|
+
* Check all the properties and set default protobuf values if necessary
|
|
398
|
+
* @param _instance message instance
|
|
399
|
+
*/
|
|
400
|
+
static refineValues(_instance: AddNotificationsRequest): void;
|
|
401
|
+
/**
|
|
402
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
403
|
+
* @param _instance message instance
|
|
404
|
+
* @param _reader binary reader instance
|
|
405
|
+
*/
|
|
406
|
+
static deserializeBinaryFromReader(_instance: AddNotificationsRequest, _reader: BinaryReader): void;
|
|
407
|
+
/**
|
|
408
|
+
* Serializes a message to binary format using provided binary reader
|
|
409
|
+
* @param _instance message instance
|
|
410
|
+
* @param _writer binary writer instance
|
|
411
|
+
*/
|
|
412
|
+
static serializeBinaryToWriter(_instance: AddNotificationsRequest, _writer: BinaryWriter): void;
|
|
413
|
+
private _notification?;
|
|
414
|
+
/**
|
|
415
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
416
|
+
* @param _value initial values object or instance of AddNotificationsRequest to deeply clone from
|
|
417
|
+
*/
|
|
418
|
+
constructor(_value?: RecursivePartial<AddNotificationsRequest.AsObject>);
|
|
419
|
+
get notification(): Notification[] | undefined;
|
|
420
|
+
set notification(value: Notification[] | undefined);
|
|
421
|
+
/**
|
|
422
|
+
* Serialize message to binary data
|
|
423
|
+
* @param instance message instance
|
|
424
|
+
*/
|
|
425
|
+
serializeBinary(): any;
|
|
426
|
+
/**
|
|
427
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
428
|
+
*/
|
|
429
|
+
toObject(): AddNotificationsRequest.AsObject;
|
|
430
|
+
/**
|
|
431
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
432
|
+
*/
|
|
433
|
+
toJSON(): AddNotificationsRequest.AsObject;
|
|
434
|
+
/**
|
|
435
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
436
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
437
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
438
|
+
*/
|
|
439
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddNotificationsRequest.AsProtobufJSON;
|
|
440
|
+
}
|
|
441
|
+
export declare module AddNotificationsRequest {
|
|
442
|
+
/**
|
|
443
|
+
* Standard JavaScript object representation for AddNotificationsRequest
|
|
444
|
+
*/
|
|
445
|
+
interface AsObject {
|
|
446
|
+
notification?: Notification.AsObject[];
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Protobuf JSON representation for AddNotificationsRequest
|
|
450
|
+
*/
|
|
451
|
+
interface AsProtobufJSON {
|
|
452
|
+
notification: Notification.AsProtobufJSON[] | null;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Message implementation for ondewo.nlu.AddNotificationsResponse
|
|
457
|
+
*/
|
|
458
|
+
export declare class AddNotificationsResponse implements GrpcMessage {
|
|
459
|
+
static id: string;
|
|
460
|
+
/**
|
|
461
|
+
* Deserialize binary data to message
|
|
462
|
+
* @param instance message instance
|
|
463
|
+
*/
|
|
464
|
+
static deserializeBinary(bytes: ByteSource): AddNotificationsResponse;
|
|
465
|
+
/**
|
|
466
|
+
* Check all the properties and set default protobuf values if necessary
|
|
467
|
+
* @param _instance message instance
|
|
468
|
+
*/
|
|
469
|
+
static refineValues(_instance: AddNotificationsResponse): void;
|
|
470
|
+
/**
|
|
471
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
472
|
+
* @param _instance message instance
|
|
473
|
+
* @param _reader binary reader instance
|
|
474
|
+
*/
|
|
475
|
+
static deserializeBinaryFromReader(_instance: AddNotificationsResponse, _reader: BinaryReader): void;
|
|
476
|
+
/**
|
|
477
|
+
* Serializes a message to binary format using provided binary reader
|
|
478
|
+
* @param _instance message instance
|
|
479
|
+
* @param _writer binary writer instance
|
|
480
|
+
*/
|
|
481
|
+
static serializeBinaryToWriter(_instance: AddNotificationsResponse, _writer: BinaryWriter): void;
|
|
482
|
+
private _notification?;
|
|
483
|
+
/**
|
|
484
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
485
|
+
* @param _value initial values object or instance of AddNotificationsResponse to deeply clone from
|
|
486
|
+
*/
|
|
487
|
+
constructor(_value?: RecursivePartial<AddNotificationsResponse.AsObject>);
|
|
488
|
+
get notification(): Notification[] | undefined;
|
|
489
|
+
set notification(value: Notification[] | undefined);
|
|
490
|
+
/**
|
|
491
|
+
* Serialize message to binary data
|
|
492
|
+
* @param instance message instance
|
|
493
|
+
*/
|
|
494
|
+
serializeBinary(): any;
|
|
495
|
+
/**
|
|
496
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
497
|
+
*/
|
|
498
|
+
toObject(): AddNotificationsResponse.AsObject;
|
|
499
|
+
/**
|
|
500
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
501
|
+
*/
|
|
502
|
+
toJSON(): AddNotificationsResponse.AsObject;
|
|
503
|
+
/**
|
|
504
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
505
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
506
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
507
|
+
*/
|
|
508
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): AddNotificationsResponse.AsProtobufJSON;
|
|
509
|
+
}
|
|
510
|
+
export declare module AddNotificationsResponse {
|
|
511
|
+
/**
|
|
512
|
+
* Standard JavaScript object representation for AddNotificationsResponse
|
|
513
|
+
*/
|
|
514
|
+
interface AsObject {
|
|
515
|
+
notification?: Notification.AsObject[];
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* Protobuf JSON representation for AddNotificationsResponse
|
|
519
|
+
*/
|
|
520
|
+
interface AsProtobufJSON {
|
|
521
|
+
notification: Notification.AsProtobufJSON[] | null;
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Message implementation for ondewo.nlu.NotificationFilter
|
|
526
|
+
*/
|
|
527
|
+
export declare class NotificationFilter implements GrpcMessage {
|
|
528
|
+
static id: string;
|
|
529
|
+
/**
|
|
530
|
+
* Deserialize binary data to message
|
|
531
|
+
* @param instance message instance
|
|
532
|
+
*/
|
|
533
|
+
static deserializeBinary(bytes: ByteSource): NotificationFilter;
|
|
534
|
+
/**
|
|
535
|
+
* Check all the properties and set default protobuf values if necessary
|
|
536
|
+
* @param _instance message instance
|
|
537
|
+
*/
|
|
538
|
+
static refineValues(_instance: NotificationFilter): void;
|
|
539
|
+
/**
|
|
540
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
541
|
+
* @param _instance message instance
|
|
542
|
+
* @param _reader binary reader instance
|
|
543
|
+
*/
|
|
544
|
+
static deserializeBinaryFromReader(_instance: NotificationFilter, _reader: BinaryReader): void;
|
|
545
|
+
/**
|
|
546
|
+
* Serializes a message to binary format using provided binary reader
|
|
547
|
+
* @param _instance message instance
|
|
548
|
+
* @param _writer binary writer instance
|
|
549
|
+
*/
|
|
550
|
+
static serializeBinaryToWriter(_instance: NotificationFilter, _writer: BinaryWriter): void;
|
|
551
|
+
private _languageCodes;
|
|
552
|
+
private _notificationOrigins;
|
|
553
|
+
private _notificationVisibilities;
|
|
554
|
+
private _notificationFlaggedStatus;
|
|
555
|
+
private _notificationReadStatus;
|
|
556
|
+
private _earliest?;
|
|
557
|
+
private _latest?;
|
|
558
|
+
private _userNames;
|
|
559
|
+
private _originNames;
|
|
560
|
+
/**
|
|
561
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
562
|
+
* @param _value initial values object or instance of NotificationFilter to deeply clone from
|
|
563
|
+
*/
|
|
564
|
+
constructor(_value?: RecursivePartial<NotificationFilter.AsObject>);
|
|
565
|
+
get languageCodes(): string[];
|
|
566
|
+
set languageCodes(value: string[]);
|
|
567
|
+
get notificationOrigins(): NotificationOrigin[];
|
|
568
|
+
set notificationOrigins(value: NotificationOrigin[]);
|
|
569
|
+
get notificationVisibilities(): NotificationVisibility[];
|
|
570
|
+
set notificationVisibilities(value: NotificationVisibility[]);
|
|
571
|
+
get notificationFlaggedStatus(): NotificationFlaggedStatus[];
|
|
572
|
+
set notificationFlaggedStatus(value: NotificationFlaggedStatus[]);
|
|
573
|
+
get notificationReadStatus(): NotificationReadStatus[];
|
|
574
|
+
set notificationReadStatus(value: NotificationReadStatus[]);
|
|
575
|
+
get earliest(): googleProtobuf001.Timestamp | undefined;
|
|
576
|
+
set earliest(value: googleProtobuf001.Timestamp | undefined);
|
|
577
|
+
get latest(): googleProtobuf001.Timestamp | undefined;
|
|
578
|
+
set latest(value: googleProtobuf001.Timestamp | undefined);
|
|
579
|
+
get userNames(): string[];
|
|
580
|
+
set userNames(value: string[]);
|
|
581
|
+
get originNames(): string[];
|
|
582
|
+
set originNames(value: string[]);
|
|
583
|
+
/**
|
|
584
|
+
* Serialize message to binary data
|
|
585
|
+
* @param instance message instance
|
|
586
|
+
*/
|
|
587
|
+
serializeBinary(): any;
|
|
588
|
+
/**
|
|
589
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
590
|
+
*/
|
|
591
|
+
toObject(): NotificationFilter.AsObject;
|
|
592
|
+
/**
|
|
593
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
594
|
+
*/
|
|
595
|
+
toJSON(): NotificationFilter.AsObject;
|
|
596
|
+
/**
|
|
597
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
598
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
599
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
600
|
+
*/
|
|
601
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): NotificationFilter.AsProtobufJSON;
|
|
602
|
+
}
|
|
603
|
+
export declare module NotificationFilter {
|
|
604
|
+
/**
|
|
605
|
+
* Standard JavaScript object representation for NotificationFilter
|
|
606
|
+
*/
|
|
607
|
+
interface AsObject {
|
|
608
|
+
languageCodes: string[];
|
|
609
|
+
notificationOrigins: NotificationOrigin[];
|
|
610
|
+
notificationVisibilities: NotificationVisibility[];
|
|
611
|
+
notificationFlaggedStatus: NotificationFlaggedStatus[];
|
|
612
|
+
notificationReadStatus: NotificationReadStatus[];
|
|
613
|
+
earliest?: googleProtobuf001.Timestamp.AsObject;
|
|
614
|
+
latest?: googleProtobuf001.Timestamp.AsObject;
|
|
615
|
+
userNames: string[];
|
|
616
|
+
originNames: string[];
|
|
617
|
+
}
|
|
618
|
+
/**
|
|
619
|
+
* Protobuf JSON representation for NotificationFilter
|
|
620
|
+
*/
|
|
621
|
+
interface AsProtobufJSON {
|
|
622
|
+
languageCodes: string[];
|
|
623
|
+
notificationOrigins: string[];
|
|
624
|
+
notificationVisibilities: string[];
|
|
625
|
+
notificationFlaggedStatus: string[];
|
|
626
|
+
notificationReadStatus: string[];
|
|
627
|
+
earliest: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
628
|
+
latest: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
629
|
+
userNames: string[];
|
|
630
|
+
originNames: string[];
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* Message implementation for ondewo.nlu.ListNotificationsRequest
|
|
635
|
+
*/
|
|
636
|
+
export declare class ListNotificationsRequest implements GrpcMessage {
|
|
637
|
+
static id: string;
|
|
638
|
+
/**
|
|
639
|
+
* Deserialize binary data to message
|
|
640
|
+
* @param instance message instance
|
|
641
|
+
*/
|
|
642
|
+
static deserializeBinary(bytes: ByteSource): ListNotificationsRequest;
|
|
643
|
+
/**
|
|
644
|
+
* Check all the properties and set default protobuf values if necessary
|
|
645
|
+
* @param _instance message instance
|
|
646
|
+
*/
|
|
647
|
+
static refineValues(_instance: ListNotificationsRequest): void;
|
|
648
|
+
/**
|
|
649
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
650
|
+
* @param _instance message instance
|
|
651
|
+
* @param _reader binary reader instance
|
|
652
|
+
*/
|
|
653
|
+
static deserializeBinaryFromReader(_instance: ListNotificationsRequest, _reader: BinaryReader): void;
|
|
654
|
+
/**
|
|
655
|
+
* Serializes a message to binary format using provided binary reader
|
|
656
|
+
* @param _instance message instance
|
|
657
|
+
* @param _writer binary writer instance
|
|
658
|
+
*/
|
|
659
|
+
static serializeBinaryToWriter(_instance: ListNotificationsRequest, _writer: BinaryWriter): void;
|
|
660
|
+
private _notificationFilter?;
|
|
661
|
+
private _pageToken;
|
|
662
|
+
private _fieldMask?;
|
|
663
|
+
/**
|
|
664
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
665
|
+
* @param _value initial values object or instance of ListNotificationsRequest to deeply clone from
|
|
666
|
+
*/
|
|
667
|
+
constructor(_value?: RecursivePartial<ListNotificationsRequest.AsObject>);
|
|
668
|
+
get notificationFilter(): NotificationFilter | undefined;
|
|
669
|
+
set notificationFilter(value: NotificationFilter | undefined);
|
|
670
|
+
get pageToken(): string;
|
|
671
|
+
set pageToken(value: string);
|
|
672
|
+
get fieldMask(): googleProtobuf000.FieldMask | undefined;
|
|
673
|
+
set fieldMask(value: googleProtobuf000.FieldMask | undefined);
|
|
674
|
+
/**
|
|
675
|
+
* Serialize message to binary data
|
|
676
|
+
* @param instance message instance
|
|
677
|
+
*/
|
|
678
|
+
serializeBinary(): any;
|
|
679
|
+
/**
|
|
680
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
681
|
+
*/
|
|
682
|
+
toObject(): ListNotificationsRequest.AsObject;
|
|
683
|
+
/**
|
|
684
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
685
|
+
*/
|
|
686
|
+
toJSON(): ListNotificationsRequest.AsObject;
|
|
687
|
+
/**
|
|
688
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
689
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
690
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
691
|
+
*/
|
|
692
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListNotificationsRequest.AsProtobufJSON;
|
|
693
|
+
}
|
|
694
|
+
export declare module ListNotificationsRequest {
|
|
695
|
+
/**
|
|
696
|
+
* Standard JavaScript object representation for ListNotificationsRequest
|
|
697
|
+
*/
|
|
698
|
+
interface AsObject {
|
|
699
|
+
notificationFilter?: NotificationFilter.AsObject;
|
|
700
|
+
pageToken: string;
|
|
701
|
+
fieldMask?: googleProtobuf000.FieldMask.AsObject;
|
|
702
|
+
}
|
|
703
|
+
/**
|
|
704
|
+
* Protobuf JSON representation for ListNotificationsRequest
|
|
705
|
+
*/
|
|
706
|
+
interface AsProtobufJSON {
|
|
707
|
+
notificationFilter: NotificationFilter.AsProtobufJSON | null;
|
|
708
|
+
pageToken: string;
|
|
709
|
+
fieldMask: googleProtobuf000.FieldMask.AsProtobufJSON | null;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
/**
|
|
713
|
+
* Message implementation for ondewo.nlu.ListNotificationsResponse
|
|
714
|
+
*/
|
|
715
|
+
export declare class ListNotificationsResponse implements GrpcMessage {
|
|
716
|
+
static id: string;
|
|
717
|
+
/**
|
|
718
|
+
* Deserialize binary data to message
|
|
719
|
+
* @param instance message instance
|
|
720
|
+
*/
|
|
721
|
+
static deserializeBinary(bytes: ByteSource): ListNotificationsResponse;
|
|
722
|
+
/**
|
|
723
|
+
* Check all the properties and set default protobuf values if necessary
|
|
724
|
+
* @param _instance message instance
|
|
725
|
+
*/
|
|
726
|
+
static refineValues(_instance: ListNotificationsResponse): void;
|
|
727
|
+
/**
|
|
728
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
729
|
+
* @param _instance message instance
|
|
730
|
+
* @param _reader binary reader instance
|
|
731
|
+
*/
|
|
732
|
+
static deserializeBinaryFromReader(_instance: ListNotificationsResponse, _reader: BinaryReader): void;
|
|
733
|
+
/**
|
|
734
|
+
* Serializes a message to binary format using provided binary reader
|
|
735
|
+
* @param _instance message instance
|
|
736
|
+
* @param _writer binary writer instance
|
|
737
|
+
*/
|
|
738
|
+
static serializeBinaryToWriter(_instance: ListNotificationsResponse, _writer: BinaryWriter): void;
|
|
739
|
+
private _notification?;
|
|
740
|
+
/**
|
|
741
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
742
|
+
* @param _value initial values object or instance of ListNotificationsResponse to deeply clone from
|
|
743
|
+
*/
|
|
744
|
+
constructor(_value?: RecursivePartial<ListNotificationsResponse.AsObject>);
|
|
745
|
+
get notification(): Notification[] | undefined;
|
|
746
|
+
set notification(value: Notification[] | undefined);
|
|
747
|
+
/**
|
|
748
|
+
* Serialize message to binary data
|
|
749
|
+
* @param instance message instance
|
|
750
|
+
*/
|
|
751
|
+
serializeBinary(): any;
|
|
752
|
+
/**
|
|
753
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
754
|
+
*/
|
|
755
|
+
toObject(): ListNotificationsResponse.AsObject;
|
|
756
|
+
/**
|
|
757
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
758
|
+
*/
|
|
759
|
+
toJSON(): ListNotificationsResponse.AsObject;
|
|
760
|
+
/**
|
|
761
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
762
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
763
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
764
|
+
*/
|
|
765
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): ListNotificationsResponse.AsProtobufJSON;
|
|
766
|
+
}
|
|
767
|
+
export declare module ListNotificationsResponse {
|
|
768
|
+
/**
|
|
769
|
+
* Standard JavaScript object representation for ListNotificationsResponse
|
|
770
|
+
*/
|
|
771
|
+
interface AsObject {
|
|
772
|
+
notification?: Notification.AsObject[];
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* Protobuf JSON representation for ListNotificationsResponse
|
|
776
|
+
*/
|
|
777
|
+
interface AsProtobufJSON {
|
|
778
|
+
notification: Notification.AsProtobufJSON[] | null;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
/**
|
|
782
|
+
* Message implementation for ondewo.nlu.SetNotificationsFlaggedStatusRequest
|
|
783
|
+
*/
|
|
784
|
+
export declare class SetNotificationsFlaggedStatusRequest implements GrpcMessage {
|
|
785
|
+
static id: string;
|
|
786
|
+
/**
|
|
787
|
+
* Deserialize binary data to message
|
|
788
|
+
* @param instance message instance
|
|
789
|
+
*/
|
|
790
|
+
static deserializeBinary(bytes: ByteSource): SetNotificationsFlaggedStatusRequest;
|
|
791
|
+
/**
|
|
792
|
+
* Check all the properties and set default protobuf values if necessary
|
|
793
|
+
* @param _instance message instance
|
|
794
|
+
*/
|
|
795
|
+
static refineValues(_instance: SetNotificationsFlaggedStatusRequest): void;
|
|
796
|
+
/**
|
|
797
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
798
|
+
* @param _instance message instance
|
|
799
|
+
* @param _reader binary reader instance
|
|
800
|
+
*/
|
|
801
|
+
static deserializeBinaryFromReader(_instance: SetNotificationsFlaggedStatusRequest, _reader: BinaryReader): void;
|
|
802
|
+
/**
|
|
803
|
+
* Serializes a message to binary format using provided binary reader
|
|
804
|
+
* @param _instance message instance
|
|
805
|
+
* @param _writer binary writer instance
|
|
806
|
+
*/
|
|
807
|
+
static serializeBinaryToWriter(_instance: SetNotificationsFlaggedStatusRequest, _writer: BinaryWriter): void;
|
|
808
|
+
private _notificationName;
|
|
809
|
+
private _flagged;
|
|
810
|
+
/**
|
|
811
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
812
|
+
* @param _value initial values object or instance of SetNotificationsFlaggedStatusRequest to deeply clone from
|
|
813
|
+
*/
|
|
814
|
+
constructor(_value?: RecursivePartial<SetNotificationsFlaggedStatusRequest.AsObject>);
|
|
815
|
+
get notificationName(): string[];
|
|
816
|
+
set notificationName(value: string[]);
|
|
817
|
+
get flagged(): boolean[];
|
|
818
|
+
set flagged(value: boolean[]);
|
|
819
|
+
/**
|
|
820
|
+
* Serialize message to binary data
|
|
821
|
+
* @param instance message instance
|
|
822
|
+
*/
|
|
823
|
+
serializeBinary(): any;
|
|
824
|
+
/**
|
|
825
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
826
|
+
*/
|
|
827
|
+
toObject(): SetNotificationsFlaggedStatusRequest.AsObject;
|
|
828
|
+
/**
|
|
829
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
830
|
+
*/
|
|
831
|
+
toJSON(): SetNotificationsFlaggedStatusRequest.AsObject;
|
|
832
|
+
/**
|
|
833
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
834
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
835
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
836
|
+
*/
|
|
837
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SetNotificationsFlaggedStatusRequest.AsProtobufJSON;
|
|
838
|
+
}
|
|
839
|
+
export declare module SetNotificationsFlaggedStatusRequest {
|
|
840
|
+
/**
|
|
841
|
+
* Standard JavaScript object representation for SetNotificationsFlaggedStatusRequest
|
|
842
|
+
*/
|
|
843
|
+
interface AsObject {
|
|
844
|
+
notificationName: string[];
|
|
845
|
+
flagged: boolean[];
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* Protobuf JSON representation for SetNotificationsFlaggedStatusRequest
|
|
849
|
+
*/
|
|
850
|
+
interface AsProtobufJSON {
|
|
851
|
+
notificationName: string[];
|
|
852
|
+
flagged: boolean[];
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
/**
|
|
856
|
+
* Message implementation for ondewo.nlu.SetNotificationsReadStatusRequest
|
|
857
|
+
*/
|
|
858
|
+
export declare class SetNotificationsReadStatusRequest implements GrpcMessage {
|
|
859
|
+
static id: string;
|
|
860
|
+
/**
|
|
861
|
+
* Deserialize binary data to message
|
|
862
|
+
* @param instance message instance
|
|
863
|
+
*/
|
|
864
|
+
static deserializeBinary(bytes: ByteSource): SetNotificationsReadStatusRequest;
|
|
865
|
+
/**
|
|
866
|
+
* Check all the properties and set default protobuf values if necessary
|
|
867
|
+
* @param _instance message instance
|
|
868
|
+
*/
|
|
869
|
+
static refineValues(_instance: SetNotificationsReadStatusRequest): void;
|
|
870
|
+
/**
|
|
871
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
872
|
+
* @param _instance message instance
|
|
873
|
+
* @param _reader binary reader instance
|
|
874
|
+
*/
|
|
875
|
+
static deserializeBinaryFromReader(_instance: SetNotificationsReadStatusRequest, _reader: BinaryReader): void;
|
|
876
|
+
/**
|
|
877
|
+
* Serializes a message to binary format using provided binary reader
|
|
878
|
+
* @param _instance message instance
|
|
879
|
+
* @param _writer binary writer instance
|
|
880
|
+
*/
|
|
881
|
+
static serializeBinaryToWriter(_instance: SetNotificationsReadStatusRequest, _writer: BinaryWriter): void;
|
|
882
|
+
private _notificationName;
|
|
883
|
+
private _flagged;
|
|
884
|
+
/**
|
|
885
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
886
|
+
* @param _value initial values object or instance of SetNotificationsReadStatusRequest to deeply clone from
|
|
887
|
+
*/
|
|
888
|
+
constructor(_value?: RecursivePartial<SetNotificationsReadStatusRequest.AsObject>);
|
|
889
|
+
get notificationName(): string[];
|
|
890
|
+
set notificationName(value: string[]);
|
|
891
|
+
get flagged(): boolean[];
|
|
892
|
+
set flagged(value: boolean[]);
|
|
893
|
+
/**
|
|
894
|
+
* Serialize message to binary data
|
|
895
|
+
* @param instance message instance
|
|
896
|
+
*/
|
|
897
|
+
serializeBinary(): any;
|
|
898
|
+
/**
|
|
899
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
900
|
+
*/
|
|
901
|
+
toObject(): SetNotificationsReadStatusRequest.AsObject;
|
|
902
|
+
/**
|
|
903
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
904
|
+
*/
|
|
905
|
+
toJSON(): SetNotificationsReadStatusRequest.AsObject;
|
|
906
|
+
/**
|
|
907
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
908
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
909
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
910
|
+
*/
|
|
911
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): SetNotificationsReadStatusRequest.AsProtobufJSON;
|
|
912
|
+
}
|
|
913
|
+
export declare module SetNotificationsReadStatusRequest {
|
|
914
|
+
/**
|
|
915
|
+
* Standard JavaScript object representation for SetNotificationsReadStatusRequest
|
|
916
|
+
*/
|
|
917
|
+
interface AsObject {
|
|
918
|
+
notificationName: string[];
|
|
919
|
+
flagged: boolean[];
|
|
920
|
+
}
|
|
921
|
+
/**
|
|
922
|
+
* Protobuf JSON representation for SetNotificationsReadStatusRequest
|
|
923
|
+
*/
|
|
924
|
+
interface AsProtobufJSON {
|
|
925
|
+
notificationName: string[];
|
|
926
|
+
flagged: boolean[];
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
/**
|
|
930
|
+
* Message implementation for ondewo.nlu.KeyValuePair
|
|
931
|
+
*/
|
|
932
|
+
export declare class KeyValuePair implements GrpcMessage {
|
|
933
|
+
static id: string;
|
|
934
|
+
/**
|
|
935
|
+
* Deserialize binary data to message
|
|
936
|
+
* @param instance message instance
|
|
937
|
+
*/
|
|
938
|
+
static deserializeBinary(bytes: ByteSource): KeyValuePair;
|
|
939
|
+
/**
|
|
940
|
+
* Check all the properties and set default protobuf values if necessary
|
|
941
|
+
* @param _instance message instance
|
|
942
|
+
*/
|
|
943
|
+
static refineValues(_instance: KeyValuePair): void;
|
|
944
|
+
/**
|
|
945
|
+
* Deserializes / reads binary message into message instance using provided binary reader
|
|
946
|
+
* @param _instance message instance
|
|
947
|
+
* @param _reader binary reader instance
|
|
948
|
+
*/
|
|
949
|
+
static deserializeBinaryFromReader(_instance: KeyValuePair, _reader: BinaryReader): void;
|
|
950
|
+
/**
|
|
951
|
+
* Serializes a message to binary format using provided binary reader
|
|
952
|
+
* @param _instance message instance
|
|
953
|
+
* @param _writer binary writer instance
|
|
954
|
+
*/
|
|
955
|
+
static serializeBinaryToWriter(_instance: KeyValuePair, _writer: BinaryWriter): void;
|
|
956
|
+
private _key;
|
|
957
|
+
private _intValue;
|
|
958
|
+
private _floatValue;
|
|
959
|
+
private _doubleValue;
|
|
960
|
+
private _stringValue;
|
|
961
|
+
private _createdAt?;
|
|
962
|
+
private _value;
|
|
963
|
+
/**
|
|
964
|
+
* Message constructor. Initializes the properties and applies default Protobuf values if necessary
|
|
965
|
+
* @param _value initial values object or instance of KeyValuePair to deeply clone from
|
|
966
|
+
*/
|
|
967
|
+
constructor(_value?: RecursivePartial<KeyValuePair.AsObject>);
|
|
968
|
+
get key(): string;
|
|
969
|
+
set key(value: string);
|
|
970
|
+
get intValue(): number;
|
|
971
|
+
set intValue(value: number);
|
|
972
|
+
get floatValue(): number;
|
|
973
|
+
set floatValue(value: number);
|
|
974
|
+
get doubleValue(): number;
|
|
975
|
+
set doubleValue(value: number);
|
|
976
|
+
get stringValue(): string;
|
|
977
|
+
set stringValue(value: string);
|
|
978
|
+
get createdAt(): googleProtobuf001.Timestamp | undefined;
|
|
979
|
+
set createdAt(value: googleProtobuf001.Timestamp | undefined);
|
|
980
|
+
get value(): KeyValuePair.ValueCase;
|
|
981
|
+
/**
|
|
982
|
+
* Serialize message to binary data
|
|
983
|
+
* @param instance message instance
|
|
984
|
+
*/
|
|
985
|
+
serializeBinary(): any;
|
|
986
|
+
/**
|
|
987
|
+
* Cast message to standard JavaScript object (all non-primitive values are deeply cloned)
|
|
988
|
+
*/
|
|
989
|
+
toObject(): KeyValuePair.AsObject;
|
|
990
|
+
/**
|
|
991
|
+
* Convenience method to support JSON.stringify(message), replicates the structure of toObject()
|
|
992
|
+
*/
|
|
993
|
+
toJSON(): KeyValuePair.AsObject;
|
|
994
|
+
/**
|
|
995
|
+
* Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json
|
|
996
|
+
* Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc.
|
|
997
|
+
* If the message itself or some of descendant messages is google.protobuf.Any, you MUST provide a message pool as options. If not, the messagePool is not required
|
|
998
|
+
*/
|
|
999
|
+
toProtobufJSON(options?: ToProtobufJSONOptions): KeyValuePair.AsProtobufJSON;
|
|
1000
|
+
}
|
|
1001
|
+
export declare module KeyValuePair {
|
|
1002
|
+
/**
|
|
1003
|
+
* Standard JavaScript object representation for KeyValuePair
|
|
1004
|
+
*/
|
|
1005
|
+
interface AsObject {
|
|
1006
|
+
key: string;
|
|
1007
|
+
intValue: number;
|
|
1008
|
+
floatValue: number;
|
|
1009
|
+
doubleValue: number;
|
|
1010
|
+
stringValue: string;
|
|
1011
|
+
createdAt?: googleProtobuf001.Timestamp.AsObject;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* Protobuf JSON representation for KeyValuePair
|
|
1015
|
+
*/
|
|
1016
|
+
interface AsProtobufJSON {
|
|
1017
|
+
key: string;
|
|
1018
|
+
intValue: number | null;
|
|
1019
|
+
floatValue: number | null;
|
|
1020
|
+
doubleValue: number | null;
|
|
1021
|
+
stringValue: string | null;
|
|
1022
|
+
createdAt: googleProtobuf001.Timestamp.AsProtobufJSON | null;
|
|
1023
|
+
}
|
|
1024
|
+
enum ValueCase {
|
|
1025
|
+
none = 0,
|
|
1026
|
+
intValue = 1,
|
|
1027
|
+
floatValue = 2,
|
|
1028
|
+
doubleValue = 3,
|
|
1029
|
+
stringValue = 4,
|
|
1030
|
+
createdAt = 5
|
|
1031
|
+
}
|
|
1032
|
+
}
|