UNPKG

@ondewo/csi-client-angular

Version:

ONDEWO Conversation System Integration (CSI) Client library for Angular

1,163 lines 281 kB
import { GrpcMessage, RecursivePartial, ToProtobufJSONOptions } from '@ngx-grpc/common'; import { BinaryReader, BinaryWriter, ByteSource } from 'google-protobuf'; import * as googleProtobuf003 from '@ngx-grpc/well-known-types'; import * as googleProtobuf004 from '@ngx-grpc/well-known-types'; import * as googleProtobuf005 from '@ngx-grpc/well-known-types'; import * as ondewoNlu009 from '../../ondewo/nlu/context.pb'; import * as ondewoNlu010 from '../../ondewo/nlu/common.pb'; import * as googleProtobuf012 from '@ngx-grpc/well-known-types'; export declare enum IntentView { INTENT_VIEW_UNSPECIFIED = 0, INTENT_VIEW_FULL = 1, INTENT_VIEW_PARTIAL = 2, INTENT_VIEW_SHALLOW = 3, INTENT_VIEW_MINIMUM = 4 } export declare enum IntentCategory { ALL_INTENTS = 0, DEFAULT_INTENTS = 1, USER_DEFINED_INTENTS = 2, DATE_EXPIRED_INTENTS = 3, DATE_ACTIVE_INTENTS = 4, DATE_UPCOMING_INTENTS = 5 } /** * Message implementation for ondewo.nlu.Intent */ export declare class Intent implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Intent; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Intent): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Intent, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Intent, _writer: BinaryWriter): void; private _name; private _displayName; private _webhookState; private _priority; private _isFallback; private _mlDisabled; private _inputContextNames; private _events; private _trainingPhrases?; private _action; private _outputContexts?; private _resetContexts; private _parameters?; private _messages?; private _defaultResponsePlatforms; private _rootFollowupIntentName; private _parentFollowupIntentName; private _followupIntentInfo?; private _nextPageToken; private _domainName; private _isStartOfDeviation; private _isEndOfDeviation; private _trainingPhraseCount; private _status; private _startDate?; private _endDate?; private _tags; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Intent to deeply clone from */ constructor(_value?: RecursivePartial<Intent.AsObject>); get name(): string; set name(value: string); get displayName(): string; set displayName(value: string); get webhookState(): Intent.WebhookState; set webhookState(value: Intent.WebhookState); get priority(): number; set priority(value: number); get isFallback(): boolean; set isFallback(value: boolean); get mlDisabled(): boolean; set mlDisabled(value: boolean); get inputContextNames(): string[]; set inputContextNames(value: string[]); get events(): string[]; set events(value: string[]); get trainingPhrases(): Intent.TrainingPhrase[] | undefined; set trainingPhrases(value: Intent.TrainingPhrase[] | undefined); get action(): string; set action(value: string); get outputContexts(): ondewoNlu009.Context[] | undefined; set outputContexts(value: ondewoNlu009.Context[] | undefined); get resetContexts(): boolean; set resetContexts(value: boolean); get parameters(): Intent.Parameter[] | undefined; set parameters(value: Intent.Parameter[] | undefined); get messages(): Intent.Message[] | undefined; set messages(value: Intent.Message[] | undefined); get defaultResponsePlatforms(): Intent.Message.Platform[]; set defaultResponsePlatforms(value: Intent.Message.Platform[]); get rootFollowupIntentName(): string; set rootFollowupIntentName(value: string); get parentFollowupIntentName(): string; set parentFollowupIntentName(value: string); get followupIntentInfo(): Intent.FollowupIntentInfo[] | undefined; set followupIntentInfo(value: Intent.FollowupIntentInfo[] | undefined); get nextPageToken(): string; set nextPageToken(value: string); get domainName(): string; set domainName(value: string); get isStartOfDeviation(): boolean; set isStartOfDeviation(value: boolean); get isEndOfDeviation(): boolean; set isEndOfDeviation(value: boolean); get trainingPhraseCount(): number; set trainingPhraseCount(value: number); get status(): Intent.IntentStatus; set status(value: Intent.IntentStatus); get startDate(): googleProtobuf005.Timestamp | undefined; set startDate(value: googleProtobuf005.Timestamp | undefined); get endDate(): googleProtobuf005.Timestamp | undefined; set endDate(value: googleProtobuf005.Timestamp | undefined); get tags(): string[]; set tags(value: string[]); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Intent.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Intent.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Intent.AsProtobufJSON; } export declare namespace Intent { /** * Standard JavaScript object representation for Intent */ interface AsObject { name: string; displayName: string; webhookState: Intent.WebhookState; priority: number; isFallback: boolean; mlDisabled: boolean; inputContextNames: string[]; events: string[]; trainingPhrases?: Intent.TrainingPhrase.AsObject[]; action: string; outputContexts?: ondewoNlu009.Context.AsObject[]; resetContexts: boolean; parameters?: Intent.Parameter.AsObject[]; messages?: Intent.Message.AsObject[]; defaultResponsePlatforms: Intent.Message.Platform[]; rootFollowupIntentName: string; parentFollowupIntentName: string; followupIntentInfo?: Intent.FollowupIntentInfo.AsObject[]; nextPageToken: string; domainName: string; isStartOfDeviation: boolean; isEndOfDeviation: boolean; trainingPhraseCount: number; status: Intent.IntentStatus; startDate?: googleProtobuf005.Timestamp.AsObject; endDate?: googleProtobuf005.Timestamp.AsObject; tags: string[]; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Intent */ interface AsProtobufJSON { name: string; displayName: string; webhookState: string; priority: number; isFallback: boolean; mlDisabled: boolean; inputContextNames: string[]; events: string[]; trainingPhrases: Intent.TrainingPhrase.AsProtobufJSON[] | null; action: string; outputContexts: ondewoNlu009.Context.AsProtobufJSON[] | null; resetContexts: boolean; parameters: Intent.Parameter.AsProtobufJSON[] | null; messages: Intent.Message.AsProtobufJSON[] | null; defaultResponsePlatforms: string[]; rootFollowupIntentName: string; parentFollowupIntentName: string; followupIntentInfo: Intent.FollowupIntentInfo.AsProtobufJSON[] | null; nextPageToken: string; domainName: string; isStartOfDeviation: boolean; isEndOfDeviation: boolean; trainingPhraseCount: number; status: string; startDate: googleProtobuf005.Timestamp.AsProtobufJSON | null; endDate: googleProtobuf005.Timestamp.AsProtobufJSON | null; tags: string[]; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } enum IntentStatus { ACTIVE = 0, INACTIVE = 1 } enum WebhookState { WEBHOOK_STATE_UNSPECIFIED = 0, WEBHOOK_STATE_ENABLED = 1, WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING = 2 } /** * Message implementation for ondewo.nlu.Intent.TrainingPhrase */ class TrainingPhrase implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): TrainingPhrase; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: TrainingPhrase): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: TrainingPhrase, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: TrainingPhrase, _writer: BinaryWriter): void; private _name; private _type; private _text; private _entities?; private _timesAddedCount; private _languageCode; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of TrainingPhrase to deeply clone from */ constructor(_value?: RecursivePartial<TrainingPhrase.AsObject>); get name(): string; set name(value: string); get type(): Intent.TrainingPhrase.Type; set type(value: Intent.TrainingPhrase.Type); get text(): string; set text(value: string); get entities(): Intent.TrainingPhrase.Entity[] | undefined; set entities(value: Intent.TrainingPhrase.Entity[] | undefined); get timesAddedCount(): number; set timesAddedCount(value: number); get languageCode(): string; set languageCode(value: string); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): TrainingPhrase.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): TrainingPhrase.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): TrainingPhrase.AsProtobufJSON; } namespace TrainingPhrase { /** * Standard JavaScript object representation for TrainingPhrase */ interface AsObject { name: string; type: Intent.TrainingPhrase.Type; text: string; entities?: Intent.TrainingPhrase.Entity.AsObject[]; timesAddedCount: number; languageCode: string; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for TrainingPhrase */ interface AsProtobufJSON { name: string; type: string; text: string; entities: Intent.TrainingPhrase.Entity.AsProtobufJSON[] | null; timesAddedCount: number; languageCode: string; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } enum Type { TYPE_UNSPECIFIED = 0, EXAMPLE = 1, TEMPLATE = 2 } /** * Message implementation for ondewo.nlu.Intent.TrainingPhrase.Entity */ class Entity implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Entity; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Entity): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Entity, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Entity, _writer: BinaryWriter): void; private _entityTypeName; private _entityTypeDisplayName; private _entityValueName; private _entityValueDisplayName; private _start; private _end; private _parameterName; private _parameterDisplayName; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Entity to deeply clone from */ constructor(_value?: RecursivePartial<Entity.AsObject>); get entityTypeName(): string; set entityTypeName(value: string); get entityTypeDisplayName(): string; set entityTypeDisplayName(value: string); get entityValueName(): string; set entityValueName(value: string); get entityValueDisplayName(): string; set entityValueDisplayName(value: string); get start(): number; set start(value: number); get end(): number; set end(value: number); get parameterName(): string; set parameterName(value: string); get parameterDisplayName(): string; set parameterDisplayName(value: string); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Entity.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Entity.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Entity.AsProtobufJSON; } namespace Entity { /** * Standard JavaScript object representation for Entity */ interface AsObject { entityTypeName: string; entityTypeDisplayName: string; entityValueName: string; entityValueDisplayName: string; start: number; end: number; parameterName: string; parameterDisplayName: string; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Entity */ interface AsProtobufJSON { entityTypeName: string; entityTypeDisplayName: string; entityValueName: string; entityValueDisplayName: string; start: number; end: number; parameterName: string; parameterDisplayName: string; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } } } /** * Message implementation for ondewo.nlu.Intent.Parameter */ class Parameter implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Parameter; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Parameter): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Parameter, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Parameter, _writer: BinaryWriter): void; private _name; private _displayName; private _value; private _defaultValue; private _entityTypeName; private _entityTypeDisplayName; private _mandatory; private _prompts?; private _isList; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Parameter to deeply clone from */ constructor(_value?: RecursivePartial<Parameter.AsObject>); get name(): string; set name(value: string); get displayName(): string; set displayName(value: string); get value(): string; set value(value: string); get defaultValue(): string; set defaultValue(value: string); get entityTypeName(): string; set entityTypeName(value: string); get entityTypeDisplayName(): string; set entityTypeDisplayName(value: string); get mandatory(): boolean; set mandatory(value: boolean); get prompts(): Intent.Parameter.Prompt[] | undefined; set prompts(value: Intent.Parameter.Prompt[] | undefined); get isList(): boolean; set isList(value: boolean); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Parameter.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Parameter.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Parameter.AsProtobufJSON; } namespace Parameter { /** * Standard JavaScript object representation for Parameter */ interface AsObject { name: string; displayName: string; value: string; defaultValue: string; entityTypeName: string; entityTypeDisplayName: string; mandatory: boolean; prompts?: Intent.Parameter.Prompt.AsObject[]; isList: boolean; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Parameter */ interface AsProtobufJSON { name: string; displayName: string; value: string; defaultValue: string; entityTypeName: string; entityTypeDisplayName: string; mandatory: boolean; prompts: Intent.Parameter.Prompt.AsProtobufJSON[] | null; isList: boolean; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } /** * Message implementation for ondewo.nlu.Intent.Parameter.Prompt */ class Prompt implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Prompt; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Prompt): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Prompt, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Prompt, _writer: BinaryWriter): void; private _name; private _text; private _languageCode; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Prompt to deeply clone from */ constructor(_value?: RecursivePartial<Prompt.AsObject>); get name(): string; set name(value: string); get text(): string; set text(value: string); get languageCode(): string; set languageCode(value: string); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Prompt.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Prompt.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Prompt.AsProtobufJSON; } namespace Prompt { /** * Standard JavaScript object representation for Prompt */ interface AsObject { name: string; text: string; languageCode: string; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Prompt */ interface AsProtobufJSON { name: string; text: string; languageCode: string; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } } } /** * Message implementation for ondewo.nlu.Intent.Message */ class Message implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Message; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Message): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Message, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Message, _writer: BinaryWriter): void; private _name; private _languageCode; private _text?; private _image?; private _quickReplies?; private _card?; private _payload?; private _simpleResponses?; private _basicCard?; private _suggestions?; private _linkOutSuggestion?; private _listSelect?; private _carouselSelect?; private _htmlText?; private _video?; private _audio?; private _platform; private _isPrompt; private _createdAt?; private _modifiedAt?; private _createdBy; private _modifiedBy; private _message; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Message to deeply clone from */ constructor(_value?: RecursivePartial<Message.AsObject>); get name(): string; set name(value: string); get languageCode(): string; set languageCode(value: string); get text(): Intent.Message.Text | undefined; set text(value: Intent.Message.Text | undefined); get image(): Intent.Message.Image | undefined; set image(value: Intent.Message.Image | undefined); get quickReplies(): Intent.Message.QuickReplies | undefined; set quickReplies(value: Intent.Message.QuickReplies | undefined); get card(): Intent.Message.Card | undefined; set card(value: Intent.Message.Card | undefined); get payload(): googleProtobuf012.Struct | undefined; set payload(value: googleProtobuf012.Struct | undefined); get simpleResponses(): Intent.Message.SimpleResponses | undefined; set simpleResponses(value: Intent.Message.SimpleResponses | undefined); get basicCard(): Intent.Message.BasicCard | undefined; set basicCard(value: Intent.Message.BasicCard | undefined); get suggestions(): Intent.Message.Suggestions | undefined; set suggestions(value: Intent.Message.Suggestions | undefined); get linkOutSuggestion(): Intent.Message.LinkOutSuggestion | undefined; set linkOutSuggestion(value: Intent.Message.LinkOutSuggestion | undefined); get listSelect(): Intent.Message.ListSelect | undefined; set listSelect(value: Intent.Message.ListSelect | undefined); get carouselSelect(): Intent.Message.CarouselSelect | undefined; set carouselSelect(value: Intent.Message.CarouselSelect | undefined); get htmlText(): Intent.Message.HTMLText | undefined; set htmlText(value: Intent.Message.HTMLText | undefined); get video(): Intent.Message.Video | undefined; set video(value: Intent.Message.Video | undefined); get audio(): Intent.Message.Audio | undefined; set audio(value: Intent.Message.Audio | undefined); get platform(): Intent.Message.Platform; set platform(value: Intent.Message.Platform); get isPrompt(): boolean; set isPrompt(value: boolean); get createdAt(): googleProtobuf005.Timestamp | undefined; set createdAt(value: googleProtobuf005.Timestamp | undefined); get modifiedAt(): googleProtobuf005.Timestamp | undefined; set modifiedAt(value: googleProtobuf005.Timestamp | undefined); get createdBy(): string; set createdBy(value: string); get modifiedBy(): string; set modifiedBy(value: string); get message(): Message.MessageCase; /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Message.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Message.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Message.AsProtobufJSON; } namespace Message { /** * Standard JavaScript object representation for Message */ interface AsObject { name: string; languageCode: string; text?: Intent.Message.Text.AsObject; image?: Intent.Message.Image.AsObject; quickReplies?: Intent.Message.QuickReplies.AsObject; card?: Intent.Message.Card.AsObject; payload?: googleProtobuf012.Struct.AsObject; simpleResponses?: Intent.Message.SimpleResponses.AsObject; basicCard?: Intent.Message.BasicCard.AsObject; suggestions?: Intent.Message.Suggestions.AsObject; linkOutSuggestion?: Intent.Message.LinkOutSuggestion.AsObject; listSelect?: Intent.Message.ListSelect.AsObject; carouselSelect?: Intent.Message.CarouselSelect.AsObject; htmlText?: Intent.Message.HTMLText.AsObject; video?: Intent.Message.Video.AsObject; audio?: Intent.Message.Audio.AsObject; platform: Intent.Message.Platform; isPrompt: boolean; createdAt?: googleProtobuf005.Timestamp.AsObject; modifiedAt?: googleProtobuf005.Timestamp.AsObject; createdBy: string; modifiedBy: string; } /** * Protobuf JSON representation for Message */ interface AsProtobufJSON { name: string; languageCode: string; text: Intent.Message.Text.AsProtobufJSON | null; image: Intent.Message.Image.AsProtobufJSON | null; quickReplies: Intent.Message.QuickReplies.AsProtobufJSON | null; card: Intent.Message.Card.AsProtobufJSON | null; payload: googleProtobuf012.Struct.AsProtobufJSON | null; simpleResponses: Intent.Message.SimpleResponses.AsProtobufJSON | null; basicCard: Intent.Message.BasicCard.AsProtobufJSON | null; suggestions: Intent.Message.Suggestions.AsProtobufJSON | null; linkOutSuggestion: Intent.Message.LinkOutSuggestion.AsProtobufJSON | null; listSelect: Intent.Message.ListSelect.AsProtobufJSON | null; carouselSelect: Intent.Message.CarouselSelect.AsProtobufJSON | null; htmlText: Intent.Message.HTMLText.AsProtobufJSON | null; video: Intent.Message.Video.AsProtobufJSON | null; audio: Intent.Message.Audio.AsProtobufJSON | null; platform: string; isPrompt: boolean; createdAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; modifiedAt: googleProtobuf005.Timestamp.AsProtobufJSON | null; createdBy: string; modifiedBy: string; } enum MessageCase { none = 0, text = 1, image = 2, quickReplies = 3, card = 4, payload = 5, simpleResponses = 6, basicCard = 7, suggestions = 8, linkOutSuggestion = 9, listSelect = 10, carouselSelect = 11, htmlText = 12, video = 13, audio = 14 } enum Platform { PLATFORM_UNSPECIFIED = 0, FACEBOOK = 1, SLACK = 2, TELEGRAM = 3, KIK = 4, SKYPE = 5, LINE = 6, VIBER = 7, ACTIONS_ON_GOOGLE = 8, PLACEHOLDER_1 = 9, PLACEHOLDER_2 = 10, PLACEHOLDER_3 = 11, PLACEHOLDER_4 = 12, PLACEHOLDER_5 = 13, PLACEHOLDER_6 = 14, PLACEHOLDER_7 = 15, PLACEHOLDER_8 = 16, PLACEHOLDER_9 = 17, PLACEHOLDER_10 = 18, PLACEHOLDER_11 = 19, PLACEHOLDER_12 = 20, PLACEHOLDER_13 = 21, PLACEHOLDER_14 = 22, PLACEHOLDER_15 = 23, PLACEHOLDER_16 = 24, PLACEHOLDER_17 = 25, PLACEHOLDER_18 = 26, PLACEHOLDER_19 = 27, PLACEHOLDER_20 = 28 } /** * Message implementation for ondewo.nlu.Intent.Message.Text */ class Text implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Text; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Text): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Text, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Text, _writer: BinaryWriter): void; private _text; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Text to deeply clone from */ constructor(_value?: RecursivePartial<Text.AsObject>); get text(): string[]; set text(value: string[]); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Text.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Text.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Text.AsProtobufJSON; } namespace Text { /** * Standard JavaScript object representation for Text */ interface AsObject { text: string[]; } /** * Protobuf JSON representation for Text */ interface AsProtobufJSON { text: string[]; } } /** * Message implementation for ondewo.nlu.Intent.Message.Image */ class Image implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): Image; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: Image): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: Image, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: Image, _writer: BinaryWriter): void; private _imageUri; private _accessibilityText; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of Image to deeply clone from */ constructor(_value?: RecursivePartial<Image.AsObject>); get imageUri(): string; set imageUri(value: string); get accessibilityText(): string; set accessibilityText(value: string); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): Image.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): Image.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): Image.AsProtobufJSON; } namespace Image { /** * Standard JavaScript object representation for Image */ interface AsObject { imageUri: string; accessibilityText: string; } /** * Protobuf JSON representation for Image */ interface AsProtobufJSON { imageUri: string; accessibilityText: string; } } /** * Message implementation for ondewo.nlu.Intent.Message.QuickReplies */ class QuickReplies implements GrpcMessage { static id: string; /** * Deserialize binary data to message * @param instance message instance */ static deserializeBinary(bytes: ByteSource): QuickReplies; /** * Check all the properties and set default protobuf values if necessary * @param _instance message instance */ static refineValues(_instance: QuickReplies): void; /** * Deserializes / reads binary message into message instance using provided binary reader * @param _instance message instance * @param _reader binary reader instance */ static deserializeBinaryFromReader(_instance: QuickReplies, _reader: BinaryReader): void; /** * Serializes a message to binary format using provided binary reader * @param _instance message instance * @param _writer binary writer instance */ static serializeBinaryToWriter(_instance: QuickReplies, _writer: BinaryWriter): void; private _title; private _quickReplies; /** * Message constructor. Initializes the properties and applies default Protobuf values if necessary * @param _value initial values object or instance of QuickReplies to deeply clone from */ constructor(_value?: RecursivePartial<QuickReplies.AsObject>); get title(): string; set title(value: string); get quickReplies(): string[]; set quickReplies(value: string[]); /** * Serialize message to binary data * @param instance message instance */ serializeBinary(): any; /** * Cast message to standard JavaScript object (all non-primitive values are deeply cloned) */ toObject(): QuickReplies.AsObject; /** * Convenience method to support JSON.stringify(message), replicates the structure of toObject() */ toJSON(): QuickReplies.AsObject; /** * Cast message to JSON using protobuf JSON notation: https://developers.google.com/protocol-buffers/docs/proto3#json * Attention: output differs from toObject() e.g. enums are represented as names and not as numbers, Timestamp is an ISO Date string format etc. * 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 */ toProtobufJSON(options?: ToProtobufJSONOptions): QuickReplies.AsProtobufJSON; } namespace QuickReplies { /** * Standard JavaScript object representation for QuickReplies */ interface AsObject { title: string; quickReplies: string[]; } /** * Protobuf JSON representation for QuickReplies */ interface AsProtobufJSON { title: string; quickReplies: string[]; } } /** *