@headspace/protos-events 1.574.0 → 1.575.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/lib/index.d.ts +538 -0
- package/lib/index.js +1325 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -43041,6 +43041,544 @@ export class GuidedProgramDeleted implements IGuidedProgramDeleted {
|
|
|
43041
43041
|
public toJSON(): { [k: string]: any };
|
|
43042
43042
|
}
|
|
43043
43043
|
|
|
43044
|
+
/** Properties of an InteractiveJournalingParticipant. */
|
|
43045
|
+
export interface IInteractiveJournalingParticipant {
|
|
43046
|
+
|
|
43047
|
+
/** InteractiveJournalingParticipant hsUserId */
|
|
43048
|
+
hsUserId?: (string|null);
|
|
43049
|
+
|
|
43050
|
+
/** InteractiveJournalingParticipant isBot */
|
|
43051
|
+
isBot?: (boolean|null);
|
|
43052
|
+
}
|
|
43053
|
+
|
|
43054
|
+
/** Represents an InteractiveJournalingParticipant. */
|
|
43055
|
+
export class InteractiveJournalingParticipant implements IInteractiveJournalingParticipant {
|
|
43056
|
+
|
|
43057
|
+
/**
|
|
43058
|
+
* Constructs a new InteractiveJournalingParticipant.
|
|
43059
|
+
* @param [properties] Properties to set
|
|
43060
|
+
*/
|
|
43061
|
+
constructor(properties?: IInteractiveJournalingParticipant);
|
|
43062
|
+
|
|
43063
|
+
/** InteractiveJournalingParticipant hsUserId. */
|
|
43064
|
+
public hsUserId: string;
|
|
43065
|
+
|
|
43066
|
+
/** InteractiveJournalingParticipant isBot. */
|
|
43067
|
+
public isBot: boolean;
|
|
43068
|
+
|
|
43069
|
+
/**
|
|
43070
|
+
* Creates a new InteractiveJournalingParticipant instance using the specified properties.
|
|
43071
|
+
* @param [properties] Properties to set
|
|
43072
|
+
* @returns InteractiveJournalingParticipant instance
|
|
43073
|
+
*/
|
|
43074
|
+
public static create(properties?: IInteractiveJournalingParticipant): InteractiveJournalingParticipant;
|
|
43075
|
+
|
|
43076
|
+
/**
|
|
43077
|
+
* Encodes the specified InteractiveJournalingParticipant message. Does not implicitly {@link InteractiveJournalingParticipant.verify|verify} messages.
|
|
43078
|
+
* @param message InteractiveJournalingParticipant message or plain object to encode
|
|
43079
|
+
* @param [writer] Writer to encode to
|
|
43080
|
+
* @returns Writer
|
|
43081
|
+
*/
|
|
43082
|
+
public static encode(message: IInteractiveJournalingParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43083
|
+
|
|
43084
|
+
/**
|
|
43085
|
+
* Encodes the specified InteractiveJournalingParticipant message, length delimited. Does not implicitly {@link InteractiveJournalingParticipant.verify|verify} messages.
|
|
43086
|
+
* @param message InteractiveJournalingParticipant message or plain object to encode
|
|
43087
|
+
* @param [writer] Writer to encode to
|
|
43088
|
+
* @returns Writer
|
|
43089
|
+
*/
|
|
43090
|
+
public static encodeDelimited(message: IInteractiveJournalingParticipant, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43091
|
+
|
|
43092
|
+
/**
|
|
43093
|
+
* Decodes an InteractiveJournalingParticipant message from the specified reader or buffer.
|
|
43094
|
+
* @param reader Reader or buffer to decode from
|
|
43095
|
+
* @param [length] Message length if known beforehand
|
|
43096
|
+
* @returns InteractiveJournalingParticipant
|
|
43097
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43098
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43099
|
+
*/
|
|
43100
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingParticipant;
|
|
43101
|
+
|
|
43102
|
+
/**
|
|
43103
|
+
* Decodes an InteractiveJournalingParticipant message from the specified reader or buffer, length delimited.
|
|
43104
|
+
* @param reader Reader or buffer to decode from
|
|
43105
|
+
* @returns InteractiveJournalingParticipant
|
|
43106
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43107
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43108
|
+
*/
|
|
43109
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingParticipant;
|
|
43110
|
+
|
|
43111
|
+
/**
|
|
43112
|
+
* Verifies an InteractiveJournalingParticipant message.
|
|
43113
|
+
* @param message Plain object to verify
|
|
43114
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43115
|
+
*/
|
|
43116
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43117
|
+
|
|
43118
|
+
/**
|
|
43119
|
+
* Creates an InteractiveJournalingParticipant message from a plain object. Also converts values to their respective internal types.
|
|
43120
|
+
* @param object Plain object
|
|
43121
|
+
* @returns InteractiveJournalingParticipant
|
|
43122
|
+
*/
|
|
43123
|
+
public static fromObject(object: { [k: string]: any }): InteractiveJournalingParticipant;
|
|
43124
|
+
|
|
43125
|
+
/**
|
|
43126
|
+
* Creates a plain object from an InteractiveJournalingParticipant message. Also converts values to other types if specified.
|
|
43127
|
+
* @param message InteractiveJournalingParticipant
|
|
43128
|
+
* @param [options] Conversion options
|
|
43129
|
+
* @returns Plain object
|
|
43130
|
+
*/
|
|
43131
|
+
public static toObject(message: InteractiveJournalingParticipant, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43132
|
+
|
|
43133
|
+
/**
|
|
43134
|
+
* Converts this InteractiveJournalingParticipant to JSON.
|
|
43135
|
+
* @returns JSON object
|
|
43136
|
+
*/
|
|
43137
|
+
public toJSON(): { [k: string]: any };
|
|
43138
|
+
}
|
|
43139
|
+
|
|
43140
|
+
/** InteractiveJournalingConversationKind enum. */
|
|
43141
|
+
export enum InteractiveJournalingConversationKind {
|
|
43142
|
+
INTERACTIVE_JOURNALING_CONVERSATION_KIND_UNKNOWN = 0,
|
|
43143
|
+
INTERACTIVE_JOURNALING_CONVERSATION_KIND_PROCESS_EMOTION = 1,
|
|
43144
|
+
INTERACTIVE_JOURNALING_CONVERSATION_KIND_FIND_GRATITUDE = 2
|
|
43145
|
+
}
|
|
43146
|
+
|
|
43147
|
+
/** Properties of an InteractiveJournalingMessage. */
|
|
43148
|
+
export interface IInteractiveJournalingMessage {
|
|
43149
|
+
|
|
43150
|
+
/** InteractiveJournalingMessage messageId */
|
|
43151
|
+
messageId?: (string|null);
|
|
43152
|
+
|
|
43153
|
+
/** InteractiveJournalingMessage conversationId */
|
|
43154
|
+
conversationId?: (string|null);
|
|
43155
|
+
|
|
43156
|
+
/** InteractiveJournalingMessage createdAt */
|
|
43157
|
+
createdAt?: (number|Long|null);
|
|
43158
|
+
|
|
43159
|
+
/** InteractiveJournalingMessage author */
|
|
43160
|
+
author?: (IInteractiveJournalingParticipant|null);
|
|
43161
|
+
|
|
43162
|
+
/** InteractiveJournalingMessage conversationKind */
|
|
43163
|
+
conversationKind?: (InteractiveJournalingConversationKind|null);
|
|
43164
|
+
|
|
43165
|
+
/** InteractiveJournalingMessage messageContent */
|
|
43166
|
+
messageContent?: (string|null);
|
|
43167
|
+
|
|
43168
|
+
/** InteractiveJournalingMessage customDisplayAttributes */
|
|
43169
|
+
customDisplayAttributes?: (InteractiveJournalingMessage.ICustomAttributes|null);
|
|
43170
|
+
|
|
43171
|
+
/** InteractiveJournalingMessage replyButtons */
|
|
43172
|
+
replyButtons?: (InteractiveJournalingMessage.IReplyButton[]|null);
|
|
43173
|
+
}
|
|
43174
|
+
|
|
43175
|
+
/** Represents an InteractiveJournalingMessage. */
|
|
43176
|
+
export class InteractiveJournalingMessage implements IInteractiveJournalingMessage {
|
|
43177
|
+
|
|
43178
|
+
/**
|
|
43179
|
+
* Constructs a new InteractiveJournalingMessage.
|
|
43180
|
+
* @param [properties] Properties to set
|
|
43181
|
+
*/
|
|
43182
|
+
constructor(properties?: IInteractiveJournalingMessage);
|
|
43183
|
+
|
|
43184
|
+
/** InteractiveJournalingMessage messageId. */
|
|
43185
|
+
public messageId: string;
|
|
43186
|
+
|
|
43187
|
+
/** InteractiveJournalingMessage conversationId. */
|
|
43188
|
+
public conversationId: string;
|
|
43189
|
+
|
|
43190
|
+
/** InteractiveJournalingMessage createdAt. */
|
|
43191
|
+
public createdAt: (number|Long);
|
|
43192
|
+
|
|
43193
|
+
/** InteractiveJournalingMessage author. */
|
|
43194
|
+
public author?: (IInteractiveJournalingParticipant|null);
|
|
43195
|
+
|
|
43196
|
+
/** InteractiveJournalingMessage conversationKind. */
|
|
43197
|
+
public conversationKind: InteractiveJournalingConversationKind;
|
|
43198
|
+
|
|
43199
|
+
/** InteractiveJournalingMessage messageContent. */
|
|
43200
|
+
public messageContent: string;
|
|
43201
|
+
|
|
43202
|
+
/** InteractiveJournalingMessage customDisplayAttributes. */
|
|
43203
|
+
public customDisplayAttributes?: (InteractiveJournalingMessage.ICustomAttributes|null);
|
|
43204
|
+
|
|
43205
|
+
/** InteractiveJournalingMessage replyButtons. */
|
|
43206
|
+
public replyButtons: InteractiveJournalingMessage.IReplyButton[];
|
|
43207
|
+
|
|
43208
|
+
/**
|
|
43209
|
+
* Creates a new InteractiveJournalingMessage instance using the specified properties.
|
|
43210
|
+
* @param [properties] Properties to set
|
|
43211
|
+
* @returns InteractiveJournalingMessage instance
|
|
43212
|
+
*/
|
|
43213
|
+
public static create(properties?: IInteractiveJournalingMessage): InteractiveJournalingMessage;
|
|
43214
|
+
|
|
43215
|
+
/**
|
|
43216
|
+
* Encodes the specified InteractiveJournalingMessage message. Does not implicitly {@link InteractiveJournalingMessage.verify|verify} messages.
|
|
43217
|
+
* @param message InteractiveJournalingMessage message or plain object to encode
|
|
43218
|
+
* @param [writer] Writer to encode to
|
|
43219
|
+
* @returns Writer
|
|
43220
|
+
*/
|
|
43221
|
+
public static encode(message: IInteractiveJournalingMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43222
|
+
|
|
43223
|
+
/**
|
|
43224
|
+
* Encodes the specified InteractiveJournalingMessage message, length delimited. Does not implicitly {@link InteractiveJournalingMessage.verify|verify} messages.
|
|
43225
|
+
* @param message InteractiveJournalingMessage message or plain object to encode
|
|
43226
|
+
* @param [writer] Writer to encode to
|
|
43227
|
+
* @returns Writer
|
|
43228
|
+
*/
|
|
43229
|
+
public static encodeDelimited(message: IInteractiveJournalingMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43230
|
+
|
|
43231
|
+
/**
|
|
43232
|
+
* Decodes an InteractiveJournalingMessage message from the specified reader or buffer.
|
|
43233
|
+
* @param reader Reader or buffer to decode from
|
|
43234
|
+
* @param [length] Message length if known beforehand
|
|
43235
|
+
* @returns InteractiveJournalingMessage
|
|
43236
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43237
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43238
|
+
*/
|
|
43239
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingMessage;
|
|
43240
|
+
|
|
43241
|
+
/**
|
|
43242
|
+
* Decodes an InteractiveJournalingMessage message from the specified reader or buffer, length delimited.
|
|
43243
|
+
* @param reader Reader or buffer to decode from
|
|
43244
|
+
* @returns InteractiveJournalingMessage
|
|
43245
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43246
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43247
|
+
*/
|
|
43248
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingMessage;
|
|
43249
|
+
|
|
43250
|
+
/**
|
|
43251
|
+
* Verifies an InteractiveJournalingMessage message.
|
|
43252
|
+
* @param message Plain object to verify
|
|
43253
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43254
|
+
*/
|
|
43255
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43256
|
+
|
|
43257
|
+
/**
|
|
43258
|
+
* Creates an InteractiveJournalingMessage message from a plain object. Also converts values to their respective internal types.
|
|
43259
|
+
* @param object Plain object
|
|
43260
|
+
* @returns InteractiveJournalingMessage
|
|
43261
|
+
*/
|
|
43262
|
+
public static fromObject(object: { [k: string]: any }): InteractiveJournalingMessage;
|
|
43263
|
+
|
|
43264
|
+
/**
|
|
43265
|
+
* Creates a plain object from an InteractiveJournalingMessage message. Also converts values to other types if specified.
|
|
43266
|
+
* @param message InteractiveJournalingMessage
|
|
43267
|
+
* @param [options] Conversion options
|
|
43268
|
+
* @returns Plain object
|
|
43269
|
+
*/
|
|
43270
|
+
public static toObject(message: InteractiveJournalingMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43271
|
+
|
|
43272
|
+
/**
|
|
43273
|
+
* Converts this InteractiveJournalingMessage to JSON.
|
|
43274
|
+
* @returns JSON object
|
|
43275
|
+
*/
|
|
43276
|
+
public toJSON(): { [k: string]: any };
|
|
43277
|
+
}
|
|
43278
|
+
|
|
43279
|
+
export namespace InteractiveJournalingMessage {
|
|
43280
|
+
|
|
43281
|
+
/** Properties of a CustomAttributes. */
|
|
43282
|
+
interface ICustomAttributes {
|
|
43283
|
+
|
|
43284
|
+
/** CustomAttributes disableTextInput */
|
|
43285
|
+
disableTextInput?: (boolean|null);
|
|
43286
|
+
|
|
43287
|
+
/** CustomAttributes isContentSuggestion */
|
|
43288
|
+
isContentSuggestion?: (boolean|null);
|
|
43289
|
+
|
|
43290
|
+
/** CustomAttributes isLifelineWidget */
|
|
43291
|
+
isLifelineWidget?: (boolean|null);
|
|
43292
|
+
|
|
43293
|
+
/** CustomAttributes isEndOfConversation */
|
|
43294
|
+
isEndOfConversation?: (boolean|null);
|
|
43295
|
+
}
|
|
43296
|
+
|
|
43297
|
+
/** Represents a CustomAttributes. */
|
|
43298
|
+
class CustomAttributes implements ICustomAttributes {
|
|
43299
|
+
|
|
43300
|
+
/**
|
|
43301
|
+
* Constructs a new CustomAttributes.
|
|
43302
|
+
* @param [properties] Properties to set
|
|
43303
|
+
*/
|
|
43304
|
+
constructor(properties?: InteractiveJournalingMessage.ICustomAttributes);
|
|
43305
|
+
|
|
43306
|
+
/** CustomAttributes disableTextInput. */
|
|
43307
|
+
public disableTextInput: boolean;
|
|
43308
|
+
|
|
43309
|
+
/** CustomAttributes isContentSuggestion. */
|
|
43310
|
+
public isContentSuggestion: boolean;
|
|
43311
|
+
|
|
43312
|
+
/** CustomAttributes isLifelineWidget. */
|
|
43313
|
+
public isLifelineWidget: boolean;
|
|
43314
|
+
|
|
43315
|
+
/** CustomAttributes isEndOfConversation. */
|
|
43316
|
+
public isEndOfConversation: boolean;
|
|
43317
|
+
|
|
43318
|
+
/**
|
|
43319
|
+
* Creates a new CustomAttributes instance using the specified properties.
|
|
43320
|
+
* @param [properties] Properties to set
|
|
43321
|
+
* @returns CustomAttributes instance
|
|
43322
|
+
*/
|
|
43323
|
+
public static create(properties?: InteractiveJournalingMessage.ICustomAttributes): InteractiveJournalingMessage.CustomAttributes;
|
|
43324
|
+
|
|
43325
|
+
/**
|
|
43326
|
+
* Encodes the specified CustomAttributes message. Does not implicitly {@link InteractiveJournalingMessage.CustomAttributes.verify|verify} messages.
|
|
43327
|
+
* @param message CustomAttributes message or plain object to encode
|
|
43328
|
+
* @param [writer] Writer to encode to
|
|
43329
|
+
* @returns Writer
|
|
43330
|
+
*/
|
|
43331
|
+
public static encode(message: InteractiveJournalingMessage.ICustomAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43332
|
+
|
|
43333
|
+
/**
|
|
43334
|
+
* Encodes the specified CustomAttributes message, length delimited. Does not implicitly {@link InteractiveJournalingMessage.CustomAttributes.verify|verify} messages.
|
|
43335
|
+
* @param message CustomAttributes message or plain object to encode
|
|
43336
|
+
* @param [writer] Writer to encode to
|
|
43337
|
+
* @returns Writer
|
|
43338
|
+
*/
|
|
43339
|
+
public static encodeDelimited(message: InteractiveJournalingMessage.ICustomAttributes, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43340
|
+
|
|
43341
|
+
/**
|
|
43342
|
+
* Decodes a CustomAttributes message from the specified reader or buffer.
|
|
43343
|
+
* @param reader Reader or buffer to decode from
|
|
43344
|
+
* @param [length] Message length if known beforehand
|
|
43345
|
+
* @returns CustomAttributes
|
|
43346
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43347
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43348
|
+
*/
|
|
43349
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingMessage.CustomAttributes;
|
|
43350
|
+
|
|
43351
|
+
/**
|
|
43352
|
+
* Decodes a CustomAttributes message from the specified reader or buffer, length delimited.
|
|
43353
|
+
* @param reader Reader or buffer to decode from
|
|
43354
|
+
* @returns CustomAttributes
|
|
43355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43357
|
+
*/
|
|
43358
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingMessage.CustomAttributes;
|
|
43359
|
+
|
|
43360
|
+
/**
|
|
43361
|
+
* Verifies a CustomAttributes message.
|
|
43362
|
+
* @param message Plain object to verify
|
|
43363
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43364
|
+
*/
|
|
43365
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43366
|
+
|
|
43367
|
+
/**
|
|
43368
|
+
* Creates a CustomAttributes message from a plain object. Also converts values to their respective internal types.
|
|
43369
|
+
* @param object Plain object
|
|
43370
|
+
* @returns CustomAttributes
|
|
43371
|
+
*/
|
|
43372
|
+
public static fromObject(object: { [k: string]: any }): InteractiveJournalingMessage.CustomAttributes;
|
|
43373
|
+
|
|
43374
|
+
/**
|
|
43375
|
+
* Creates a plain object from a CustomAttributes message. Also converts values to other types if specified.
|
|
43376
|
+
* @param message CustomAttributes
|
|
43377
|
+
* @param [options] Conversion options
|
|
43378
|
+
* @returns Plain object
|
|
43379
|
+
*/
|
|
43380
|
+
public static toObject(message: InteractiveJournalingMessage.CustomAttributes, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43381
|
+
|
|
43382
|
+
/**
|
|
43383
|
+
* Converts this CustomAttributes to JSON.
|
|
43384
|
+
* @returns JSON object
|
|
43385
|
+
*/
|
|
43386
|
+
public toJSON(): { [k: string]: any };
|
|
43387
|
+
}
|
|
43388
|
+
|
|
43389
|
+
/** Properties of a ReplyButton. */
|
|
43390
|
+
interface IReplyButton {
|
|
43391
|
+
|
|
43392
|
+
/** ReplyButton payload */
|
|
43393
|
+
payload?: (string|null);
|
|
43394
|
+
|
|
43395
|
+
/** ReplyButton title */
|
|
43396
|
+
title?: (string|null);
|
|
43397
|
+
}
|
|
43398
|
+
|
|
43399
|
+
/** Represents a ReplyButton. */
|
|
43400
|
+
class ReplyButton implements IReplyButton {
|
|
43401
|
+
|
|
43402
|
+
/**
|
|
43403
|
+
* Constructs a new ReplyButton.
|
|
43404
|
+
* @param [properties] Properties to set
|
|
43405
|
+
*/
|
|
43406
|
+
constructor(properties?: InteractiveJournalingMessage.IReplyButton);
|
|
43407
|
+
|
|
43408
|
+
/** ReplyButton payload. */
|
|
43409
|
+
public payload: string;
|
|
43410
|
+
|
|
43411
|
+
/** ReplyButton title. */
|
|
43412
|
+
public title: string;
|
|
43413
|
+
|
|
43414
|
+
/**
|
|
43415
|
+
* Creates a new ReplyButton instance using the specified properties.
|
|
43416
|
+
* @param [properties] Properties to set
|
|
43417
|
+
* @returns ReplyButton instance
|
|
43418
|
+
*/
|
|
43419
|
+
public static create(properties?: InteractiveJournalingMessage.IReplyButton): InteractiveJournalingMessage.ReplyButton;
|
|
43420
|
+
|
|
43421
|
+
/**
|
|
43422
|
+
* Encodes the specified ReplyButton message. Does not implicitly {@link InteractiveJournalingMessage.ReplyButton.verify|verify} messages.
|
|
43423
|
+
* @param message ReplyButton message or plain object to encode
|
|
43424
|
+
* @param [writer] Writer to encode to
|
|
43425
|
+
* @returns Writer
|
|
43426
|
+
*/
|
|
43427
|
+
public static encode(message: InteractiveJournalingMessage.IReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43428
|
+
|
|
43429
|
+
/**
|
|
43430
|
+
* Encodes the specified ReplyButton message, length delimited. Does not implicitly {@link InteractiveJournalingMessage.ReplyButton.verify|verify} messages.
|
|
43431
|
+
* @param message ReplyButton message or plain object to encode
|
|
43432
|
+
* @param [writer] Writer to encode to
|
|
43433
|
+
* @returns Writer
|
|
43434
|
+
*/
|
|
43435
|
+
public static encodeDelimited(message: InteractiveJournalingMessage.IReplyButton, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43436
|
+
|
|
43437
|
+
/**
|
|
43438
|
+
* Decodes a ReplyButton message from the specified reader or buffer.
|
|
43439
|
+
* @param reader Reader or buffer to decode from
|
|
43440
|
+
* @param [length] Message length if known beforehand
|
|
43441
|
+
* @returns ReplyButton
|
|
43442
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43443
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43444
|
+
*/
|
|
43445
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): InteractiveJournalingMessage.ReplyButton;
|
|
43446
|
+
|
|
43447
|
+
/**
|
|
43448
|
+
* Decodes a ReplyButton message from the specified reader or buffer, length delimited.
|
|
43449
|
+
* @param reader Reader or buffer to decode from
|
|
43450
|
+
* @returns ReplyButton
|
|
43451
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43452
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43453
|
+
*/
|
|
43454
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): InteractiveJournalingMessage.ReplyButton;
|
|
43455
|
+
|
|
43456
|
+
/**
|
|
43457
|
+
* Verifies a ReplyButton message.
|
|
43458
|
+
* @param message Plain object to verify
|
|
43459
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43460
|
+
*/
|
|
43461
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43462
|
+
|
|
43463
|
+
/**
|
|
43464
|
+
* Creates a ReplyButton message from a plain object. Also converts values to their respective internal types.
|
|
43465
|
+
* @param object Plain object
|
|
43466
|
+
* @returns ReplyButton
|
|
43467
|
+
*/
|
|
43468
|
+
public static fromObject(object: { [k: string]: any }): InteractiveJournalingMessage.ReplyButton;
|
|
43469
|
+
|
|
43470
|
+
/**
|
|
43471
|
+
* Creates a plain object from a ReplyButton message. Also converts values to other types if specified.
|
|
43472
|
+
* @param message ReplyButton
|
|
43473
|
+
* @param [options] Conversion options
|
|
43474
|
+
* @returns Plain object
|
|
43475
|
+
*/
|
|
43476
|
+
public static toObject(message: InteractiveJournalingMessage.ReplyButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43477
|
+
|
|
43478
|
+
/**
|
|
43479
|
+
* Converts this ReplyButton to JSON.
|
|
43480
|
+
* @returns JSON object
|
|
43481
|
+
*/
|
|
43482
|
+
public toJSON(): { [k: string]: any };
|
|
43483
|
+
}
|
|
43484
|
+
}
|
|
43485
|
+
|
|
43486
|
+
/** Properties of a ConversationalChatMessageCreated. */
|
|
43487
|
+
export interface IConversationalChatMessageCreated {
|
|
43488
|
+
|
|
43489
|
+
/** ConversationalChatMessageCreated newMessage */
|
|
43490
|
+
newMessage?: (IInteractiveJournalingMessage|null);
|
|
43491
|
+
|
|
43492
|
+
/** ConversationalChatMessageCreated timestamp */
|
|
43493
|
+
timestamp?: (number|Long|null);
|
|
43494
|
+
}
|
|
43495
|
+
|
|
43496
|
+
/** Represents a ConversationalChatMessageCreated. */
|
|
43497
|
+
export class ConversationalChatMessageCreated implements IConversationalChatMessageCreated {
|
|
43498
|
+
|
|
43499
|
+
/**
|
|
43500
|
+
* Constructs a new ConversationalChatMessageCreated.
|
|
43501
|
+
* @param [properties] Properties to set
|
|
43502
|
+
*/
|
|
43503
|
+
constructor(properties?: IConversationalChatMessageCreated);
|
|
43504
|
+
|
|
43505
|
+
/** ConversationalChatMessageCreated newMessage. */
|
|
43506
|
+
public newMessage?: (IInteractiveJournalingMessage|null);
|
|
43507
|
+
|
|
43508
|
+
/** ConversationalChatMessageCreated timestamp. */
|
|
43509
|
+
public timestamp: (number|Long);
|
|
43510
|
+
|
|
43511
|
+
/**
|
|
43512
|
+
* Creates a new ConversationalChatMessageCreated instance using the specified properties.
|
|
43513
|
+
* @param [properties] Properties to set
|
|
43514
|
+
* @returns ConversationalChatMessageCreated instance
|
|
43515
|
+
*/
|
|
43516
|
+
public static create(properties?: IConversationalChatMessageCreated): ConversationalChatMessageCreated;
|
|
43517
|
+
|
|
43518
|
+
/**
|
|
43519
|
+
* Encodes the specified ConversationalChatMessageCreated message. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
|
|
43520
|
+
* @param message ConversationalChatMessageCreated message or plain object to encode
|
|
43521
|
+
* @param [writer] Writer to encode to
|
|
43522
|
+
* @returns Writer
|
|
43523
|
+
*/
|
|
43524
|
+
public static encode(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43525
|
+
|
|
43526
|
+
/**
|
|
43527
|
+
* Encodes the specified ConversationalChatMessageCreated message, length delimited. Does not implicitly {@link ConversationalChatMessageCreated.verify|verify} messages.
|
|
43528
|
+
* @param message ConversationalChatMessageCreated message or plain object to encode
|
|
43529
|
+
* @param [writer] Writer to encode to
|
|
43530
|
+
* @returns Writer
|
|
43531
|
+
*/
|
|
43532
|
+
public static encodeDelimited(message: IConversationalChatMessageCreated, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
43533
|
+
|
|
43534
|
+
/**
|
|
43535
|
+
* Decodes a ConversationalChatMessageCreated message from the specified reader or buffer.
|
|
43536
|
+
* @param reader Reader or buffer to decode from
|
|
43537
|
+
* @param [length] Message length if known beforehand
|
|
43538
|
+
* @returns ConversationalChatMessageCreated
|
|
43539
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43540
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43541
|
+
*/
|
|
43542
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ConversationalChatMessageCreated;
|
|
43543
|
+
|
|
43544
|
+
/**
|
|
43545
|
+
* Decodes a ConversationalChatMessageCreated message from the specified reader or buffer, length delimited.
|
|
43546
|
+
* @param reader Reader or buffer to decode from
|
|
43547
|
+
* @returns ConversationalChatMessageCreated
|
|
43548
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
43549
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
43550
|
+
*/
|
|
43551
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ConversationalChatMessageCreated;
|
|
43552
|
+
|
|
43553
|
+
/**
|
|
43554
|
+
* Verifies a ConversationalChatMessageCreated message.
|
|
43555
|
+
* @param message Plain object to verify
|
|
43556
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
43557
|
+
*/
|
|
43558
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
43559
|
+
|
|
43560
|
+
/**
|
|
43561
|
+
* Creates a ConversationalChatMessageCreated message from a plain object. Also converts values to their respective internal types.
|
|
43562
|
+
* @param object Plain object
|
|
43563
|
+
* @returns ConversationalChatMessageCreated
|
|
43564
|
+
*/
|
|
43565
|
+
public static fromObject(object: { [k: string]: any }): ConversationalChatMessageCreated;
|
|
43566
|
+
|
|
43567
|
+
/**
|
|
43568
|
+
* Creates a plain object from a ConversationalChatMessageCreated message. Also converts values to other types if specified.
|
|
43569
|
+
* @param message ConversationalChatMessageCreated
|
|
43570
|
+
* @param [options] Conversion options
|
|
43571
|
+
* @returns Plain object
|
|
43572
|
+
*/
|
|
43573
|
+
public static toObject(message: ConversationalChatMessageCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
43574
|
+
|
|
43575
|
+
/**
|
|
43576
|
+
* Converts this ConversationalChatMessageCreated to JSON.
|
|
43577
|
+
* @returns JSON object
|
|
43578
|
+
*/
|
|
43579
|
+
public toJSON(): { [k: string]: any };
|
|
43580
|
+
}
|
|
43581
|
+
|
|
43044
43582
|
/** Properties of a LayoutCreated. */
|
|
43045
43583
|
export interface ILayoutCreated {
|
|
43046
43584
|
|