sanka-baileyss 2.3.2 → 2.3.3
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/WAProto/BotMetadata/BotMetadata.d.ts +594 -1
- package/WAProto/BotMetadata/BotMetadata.js +1910 -148
- package/WAProto/BotMetadata/BotMetadata.proto +36 -0
- package/WAProto/E2E/E2E.d.ts +570 -6
- package/WAProto/E2E/E2E.js +1591 -26
- package/WAProto/E2E/E2E.proto +10 -1
- package/WAProto/HistorySync/HistorySync.d.ts +806 -6
- package/WAProto/HistorySync/HistorySync.js +2193 -29
- package/WAProto/HistorySync/HistorySync.proto +2 -1
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.d.ts +570 -6
- package/WAProto/MdStorageMsgRowOpaqueData/MdStorageMsgRowOpaqueData.js +1591 -26
- package/WAProto/StatusAttributions/StatusAttributions.d.ts +2 -1
- package/WAProto/StatusAttributions/StatusAttributions.js +7 -0
- package/WAProto/StatusAttributions/StatusAttributions.proto +1 -0
- package/WAProto/SyncAction/SyncAction.d.ts +230 -0
- package/WAProto/SyncAction/SyncAction.js +578 -2
- package/WAProto/SyncAction/SyncAction.proto +13 -1
- package/WAProto/Web/Web.d.ts +570 -6
- package/WAProto/Web/Web.js +1591 -26
- package/lib/Defaults/baileys-version.json +2 -2
- package/lib/Defaults/index.d.ts +42 -25
- package/lib/Defaults/index.js +6 -2
- package/lib/Signal/libsignal.d.ts +1 -0
- package/lib/Socket/Client/index.js +13 -9
- package/lib/Socket/Client/types.d.ts +11 -10
- package/lib/Socket/Client/types.js +11 -7
- package/lib/Socket/Client/websocket.d.ts +9 -8
- package/lib/Socket/Client/websocket.js +52 -47
- package/lib/Socket/business.d.ts +185 -182
- package/lib/Socket/business.js +258 -249
- package/lib/Socket/chats.d.ts +90 -87
- package/lib/Socket/chats.js +1095 -888
- package/lib/Socket/community.d.ts +131 -0
- package/lib/Socket/community.js +369 -0
- package/lib/Socket/groups.d.ts +50 -41
- package/lib/Socket/groups.js +10 -3
- package/lib/Socket/index.d.ts +5 -1
- package/lib/Socket/index.js +19 -5
- package/lib/Socket/messages-recv.d.ts +6 -2
- package/lib/Socket/messages-recv.js +31 -8
- package/lib/Socket/messages-send.d.ts +5 -1
- package/lib/Socket/messages-send.js +1293 -1351
- package/lib/Socket/newsletter.d.ts +142 -135
- package/lib/Socket/newsletter.js +274 -230
- package/lib/Socket/socket.d.ts +37 -35
- package/lib/Socket/usync.d.ts +31 -30
- package/lib/Socket/usync.js +74 -62
- package/lib/Types/Auth.d.ts +89 -72
- package/lib/Types/Auth.js +1 -0
- package/lib/Types/Call.d.ts +11 -10
- package/lib/Types/Call.js +1 -0
- package/lib/Types/Chat.d.ts +85 -62
- package/lib/Types/Chat.js +4 -1
- package/lib/Types/Contact.js +1 -0
- package/lib/Types/Events.d.ts +209 -191
- package/lib/Types/Events.js +1 -0
- package/lib/Types/GroupMetadata.d.ts +12 -27
- package/lib/Types/GroupMetadata.js +1 -0
- package/lib/Types/Label.d.ts +41 -39
- package/lib/Types/Label.js +24 -21
- package/lib/Types/LabelAssociation.d.ts +18 -12
- package/lib/Types/LabelAssociation.js +6 -3
- package/lib/Types/Message.d.ts +3 -2
- package/lib/Types/Message.js +7 -3
- package/lib/Types/MexUpdates.d.ts +9 -0
- package/lib/Types/MexUpdates.js +18 -0
- package/lib/Types/Newsletter.d.ts +84 -67
- package/lib/Types/Newsletter.js +30 -23
- package/lib/Types/Product.d.ts +70 -56
- package/lib/Types/Product.js +1 -0
- package/lib/Types/Signal.d.ts +46 -35
- package/lib/Types/Signal.js +1 -0
- package/lib/Types/Socket.d.ts +105 -101
- package/lib/Types/Socket.js +1 -0
- package/lib/Types/State.d.ts +37 -23
- package/lib/Types/State.js +13 -1
- package/lib/Types/USync.d.ts +21 -20
- package/lib/Types/USync.js +1 -0
- package/lib/Types/index.d.ts +51 -42
- package/lib/Types/index.js +25 -19
- package/lib/Utils/auth-utils.d.ts +14 -11
- package/lib/Utils/auth-utils.js +189 -182
- package/lib/Utils/baileys-event-stream.d.ts +12 -10
- package/lib/Utils/baileys-event-stream.js +52 -46
- package/lib/Utils/business.d.ts +15 -8
- package/lib/Utils/business.js +229 -217
- package/lib/Utils/chat-utils.d.ts +22 -12
- package/lib/Utils/chat-utils.js +57 -27
- package/lib/Utils/crypto.d.ts +31 -15
- package/lib/Utils/crypto.js +136 -107
- package/lib/Utils/decode-wa-message.d.ts +34 -245
- package/lib/Utils/decode-wa-message.js +205 -217
- package/lib/Utils/event-buffer.d.ts +30 -26
- package/lib/Utils/event-buffer.js +519 -515
- package/lib/Utils/history.d.ts +2 -8
- package/lib/Utils/index.js +13 -9
- package/lib/Utils/link-preview.d.ts +16 -14
- package/lib/Utils/link-preview.js +100 -92
- package/lib/Utils/logger.d.ts +9 -7
- package/lib/Utils/logger.js +1 -1
- package/lib/Utils/lt-hash.d.ts +10 -8
- package/lib/Utils/lt-hash.js +49 -44
- package/lib/Utils/make-mutex.d.ts +4 -2
- package/lib/Utils/make-mutex.js +43 -39
- package/lib/Utils/messages-media.d.ts +75 -50
- package/lib/Utils/messages.d.ts +60 -35
- package/lib/Utils/messages.js +87 -8
- package/lib/Utils/noise-handler.d.ts +13 -12
- package/lib/Utils/noise-handler.js +143 -138
- package/lib/Utils/process-message.d.ts +32 -24
- package/lib/Utils/process-message.js +387 -367
- package/lib/Utils/signal.d.ts +24 -15
- package/lib/Utils/signal.js +143 -131
- package/lib/Utils/use-mongo-file-auth-state.d.ts +3 -2
- package/lib/Utils/use-mongo-file-auth-state.js +72 -63
- package/lib/Utils/use-multi-file-auth-state.d.ts +9 -8
- package/lib/Utils/use-multi-file-auth-state.js +110 -102
- package/lib/Utils/use-single-file-auth-state.d.ts +8 -7
- package/lib/Utils/use-single-file-auth-state.js +66 -61
- package/lib/Utils/validate-connection.d.ts +5 -2
- package/lib/Utils/validate-connection.js +7 -6
- package/lib/WABinary/constants.d.ts +24 -21
- package/lib/WABinary/constants.js +1302 -31
- package/lib/WABinary/decode.d.ts +4 -1
- package/lib/WABinary/decode.js +267 -234
- package/lib/WABinary/encode.d.ts +1 -0
- package/lib/WABinary/encode.js +248 -226
- package/lib/WABinary/generic-utils.d.ts +13 -1
- package/lib/WABinary/generic-utils.js +113 -96
- package/lib/WABinary/index.js +13 -9
- package/lib/WABinary/jid-utils.d.ts +23 -4
- package/lib/WABinary/jid-utils.js +58 -39
- package/lib/WABinary/types.d.ts +15 -11
- package/lib/WABinary/types.js +1 -0
- package/lib/WAM/BinaryInfo.d.ts +14 -14
- package/lib/WAM/BinaryInfo.js +11 -8
- package/lib/WAM/constants.d.ts +34 -26
- package/lib/WAM/constants.js +15358 -15349
- package/lib/WAM/encode.d.ts +1 -0
- package/lib/WAM/encode.js +153 -144
- package/lib/WAM/index.js +13 -9
- package/lib/index.js +11 -11
- package/package.json +1 -2
- package/WASignalGroup/GroupProtocol.js +0 -1771
- package/WASignalGroup/ciphertext_message.js +0 -10
- package/WASignalGroup/group_cipher.js +0 -103
- package/WASignalGroup/group_session_builder.js +0 -39
- package/WASignalGroup/index.js +0 -5
- package/WASignalGroup/keyhelper.js +0 -17
- package/WASignalGroup/protobufs.js +0 -2
- package/WASignalGroup/queue_job.js +0 -64
- package/WASignalGroup/sender_chain_key.js +0 -38
- package/WASignalGroup/sender_key_distribution_message.js +0 -68
- package/WASignalGroup/sender_key_message.js +0 -79
- package/WASignalGroup/sender_key_name.js +0 -59
- package/WASignalGroup/sender_key_record.js +0 -47
- package/WASignalGroup/sender_key_state.js +0 -110
- package/WASignalGroup/sender_message_key.js +0 -30
|
@@ -7972,6 +7972,9 @@ export namespace E2E {
|
|
|
7972
7972
|
|
|
7973
7973
|
/** ExternalAdReplyInfo wtwaWebsiteUrl */
|
|
7974
7974
|
wtwaWebsiteUrl?: (string|null);
|
|
7975
|
+
|
|
7976
|
+
/** ExternalAdReplyInfo adPreviewUrl */
|
|
7977
|
+
adPreviewUrl?: (string|null);
|
|
7975
7978
|
}
|
|
7976
7979
|
|
|
7977
7980
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -8061,6 +8064,9 @@ export namespace E2E {
|
|
|
8061
8064
|
/** ExternalAdReplyInfo wtwaWebsiteUrl. */
|
|
8062
8065
|
public wtwaWebsiteUrl: string;
|
|
8063
8066
|
|
|
8067
|
+
/** ExternalAdReplyInfo adPreviewUrl. */
|
|
8068
|
+
public adPreviewUrl: string;
|
|
8069
|
+
|
|
8064
8070
|
/**
|
|
8065
8071
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
8066
8072
|
* @param [properties] Properties to set
|
|
@@ -16061,6 +16067,9 @@ export namespace E2E {
|
|
|
16061
16067
|
|
|
16062
16068
|
/** CarouselMessage messageVersion */
|
|
16063
16069
|
messageVersion?: (number|null);
|
|
16070
|
+
|
|
16071
|
+
/** CarouselMessage carouselCardType */
|
|
16072
|
+
carouselCardType?: (E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType|null);
|
|
16064
16073
|
}
|
|
16065
16074
|
|
|
16066
16075
|
/** Represents a CarouselMessage. */
|
|
@@ -16078,6 +16087,9 @@ export namespace E2E {
|
|
|
16078
16087
|
/** CarouselMessage messageVersion. */
|
|
16079
16088
|
public messageVersion: number;
|
|
16080
16089
|
|
|
16090
|
+
/** CarouselMessage carouselCardType. */
|
|
16091
|
+
public carouselCardType: E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType;
|
|
16092
|
+
|
|
16081
16093
|
/**
|
|
16082
16094
|
* Creates a new CarouselMessage instance using the specified properties.
|
|
16083
16095
|
* @param [properties] Properties to set
|
|
@@ -16156,6 +16168,15 @@ export namespace E2E {
|
|
|
16156
16168
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
16157
16169
|
}
|
|
16158
16170
|
|
|
16171
|
+
namespace CarouselMessage {
|
|
16172
|
+
|
|
16173
|
+
/** CarouselCardType enum. */
|
|
16174
|
+
enum CarouselCardType {
|
|
16175
|
+
DEFAULT = 0,
|
|
16176
|
+
ALBUM = 1
|
|
16177
|
+
}
|
|
16178
|
+
}
|
|
16179
|
+
|
|
16159
16180
|
/** Properties of a CollectionMessage. */
|
|
16160
16181
|
interface ICollectionMessage {
|
|
16161
16182
|
|
|
@@ -19192,8 +19213,8 @@ export namespace E2E {
|
|
|
19192
19213
|
/** MessageHistoryMetadata historyReceivers */
|
|
19193
19214
|
historyReceivers?: (string[]|null);
|
|
19194
19215
|
|
|
19195
|
-
/** MessageHistoryMetadata
|
|
19196
|
-
|
|
19216
|
+
/** MessageHistoryMetadata oldestMessageTimestamp */
|
|
19217
|
+
oldestMessageTimestamp?: (number|Long|null);
|
|
19197
19218
|
|
|
19198
19219
|
/** MessageHistoryMetadata messageCount */
|
|
19199
19220
|
messageCount?: (number|Long|null);
|
|
@@ -19211,8 +19232,8 @@ export namespace E2E {
|
|
|
19211
19232
|
/** MessageHistoryMetadata historyReceivers. */
|
|
19212
19233
|
public historyReceivers: string[];
|
|
19213
19234
|
|
|
19214
|
-
/** MessageHistoryMetadata
|
|
19215
|
-
public
|
|
19235
|
+
/** MessageHistoryMetadata oldestMessageTimestamp. */
|
|
19236
|
+
public oldestMessageTimestamp: (number|Long);
|
|
19216
19237
|
|
|
19217
19238
|
/** MessageHistoryMetadata messageCount. */
|
|
19218
19239
|
public messageCount: (number|Long);
|
|
@@ -21276,6 +21297,12 @@ export namespace E2E {
|
|
|
21276
21297
|
|
|
21277
21298
|
/** CompanionCanonicalUserNonceFetchResponse nonce */
|
|
21278
21299
|
nonce?: (string|null);
|
|
21300
|
+
|
|
21301
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid */
|
|
21302
|
+
waFbid?: (string|null);
|
|
21303
|
+
|
|
21304
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh */
|
|
21305
|
+
forceRefresh?: (boolean|null);
|
|
21279
21306
|
}
|
|
21280
21307
|
|
|
21281
21308
|
/** Represents a CompanionCanonicalUserNonceFetchResponse. */
|
|
@@ -21290,6 +21317,12 @@ export namespace E2E {
|
|
|
21290
21317
|
/** CompanionCanonicalUserNonceFetchResponse nonce. */
|
|
21291
21318
|
public nonce: string;
|
|
21292
21319
|
|
|
21320
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid. */
|
|
21321
|
+
public waFbid: string;
|
|
21322
|
+
|
|
21323
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh. */
|
|
21324
|
+
public forceRefresh: boolean;
|
|
21325
|
+
|
|
21293
21326
|
/**
|
|
21294
21327
|
* Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
|
|
21295
21328
|
* @param [properties] Properties to set
|
|
@@ -24970,6 +25003,9 @@ export namespace E2E {
|
|
|
24970
25003
|
|
|
24971
25004
|
/** SendPaymentMessage background */
|
|
24972
25005
|
background?: (E2E.IPaymentBackground|null);
|
|
25006
|
+
|
|
25007
|
+
/** SendPaymentMessage transactionData */
|
|
25008
|
+
transactionData?: (string|null);
|
|
24973
25009
|
}
|
|
24974
25010
|
|
|
24975
25011
|
/** Represents a SendPaymentMessage. */
|
|
@@ -24990,6 +25026,9 @@ export namespace E2E {
|
|
|
24990
25026
|
/** SendPaymentMessage background. */
|
|
24991
25027
|
public background?: (E2E.IPaymentBackground|null);
|
|
24992
25028
|
|
|
25029
|
+
/** SendPaymentMessage transactionData. */
|
|
25030
|
+
public transactionData: string;
|
|
25031
|
+
|
|
24993
25032
|
/**
|
|
24994
25033
|
* Creates a new SendPaymentMessage instance using the specified properties.
|
|
24995
25034
|
* @param [properties] Properties to set
|
|
@@ -28067,6 +28106,9 @@ export namespace BotMetadata {
|
|
|
28067
28106
|
|
|
28068
28107
|
/** BotMetadata botMessageOriginMetadata */
|
|
28069
28108
|
botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
28109
|
+
|
|
28110
|
+
/** BotMetadata inThreadSurveyMetadata */
|
|
28111
|
+
inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
28070
28112
|
}
|
|
28071
28113
|
|
|
28072
28114
|
/** Represents a BotMetadata. */
|
|
@@ -28165,6 +28207,9 @@ export namespace BotMetadata {
|
|
|
28165
28207
|
/** BotMetadata botMessageOriginMetadata. */
|
|
28166
28208
|
public botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
28167
28209
|
|
|
28210
|
+
/** BotMetadata inThreadSurveyMetadata. */
|
|
28211
|
+
public inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
28212
|
+
|
|
28168
28213
|
/**
|
|
28169
28214
|
* Creates a new BotMetadata instance using the specified properties.
|
|
28170
28215
|
* @param [properties] Properties to set
|
|
@@ -28642,6 +28687,523 @@ export namespace BotMetadata {
|
|
|
28642
28687
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28643
28688
|
}
|
|
28644
28689
|
|
|
28690
|
+
/** Properties of an InThreadSurveyMetadata. */
|
|
28691
|
+
interface IInThreadSurveyMetadata {
|
|
28692
|
+
|
|
28693
|
+
/** InThreadSurveyMetadata tessaSessionId */
|
|
28694
|
+
tessaSessionId?: (string|null);
|
|
28695
|
+
|
|
28696
|
+
/** InThreadSurveyMetadata simonSessionId */
|
|
28697
|
+
simonSessionId?: (string|null);
|
|
28698
|
+
|
|
28699
|
+
/** InThreadSurveyMetadata simonSurveyId */
|
|
28700
|
+
simonSurveyId?: (string|null);
|
|
28701
|
+
|
|
28702
|
+
/** InThreadSurveyMetadata tessaRootId */
|
|
28703
|
+
tessaRootId?: (string|null);
|
|
28704
|
+
|
|
28705
|
+
/** InThreadSurveyMetadata requestId */
|
|
28706
|
+
requestId?: (string|null);
|
|
28707
|
+
|
|
28708
|
+
/** InThreadSurveyMetadata tessaEvent */
|
|
28709
|
+
tessaEvent?: (string|null);
|
|
28710
|
+
|
|
28711
|
+
/** InThreadSurveyMetadata invitationHeaderText */
|
|
28712
|
+
invitationHeaderText?: (string|null);
|
|
28713
|
+
|
|
28714
|
+
/** InThreadSurveyMetadata invitationBodyText */
|
|
28715
|
+
invitationBodyText?: (string|null);
|
|
28716
|
+
|
|
28717
|
+
/** InThreadSurveyMetadata invitationCtaText */
|
|
28718
|
+
invitationCtaText?: (string|null);
|
|
28719
|
+
|
|
28720
|
+
/** InThreadSurveyMetadata invitationCtaUrl */
|
|
28721
|
+
invitationCtaUrl?: (string|null);
|
|
28722
|
+
|
|
28723
|
+
/** InThreadSurveyMetadata surveyTitle */
|
|
28724
|
+
surveyTitle?: (string|null);
|
|
28725
|
+
|
|
28726
|
+
/** InThreadSurveyMetadata questions */
|
|
28727
|
+
questions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[]|null);
|
|
28728
|
+
|
|
28729
|
+
/** InThreadSurveyMetadata surveyContinueButtonText */
|
|
28730
|
+
surveyContinueButtonText?: (string|null);
|
|
28731
|
+
|
|
28732
|
+
/** InThreadSurveyMetadata surveySubmitButtonText */
|
|
28733
|
+
surveySubmitButtonText?: (string|null);
|
|
28734
|
+
|
|
28735
|
+
/** InThreadSurveyMetadata privacyStatementFull */
|
|
28736
|
+
privacyStatementFull?: (string|null);
|
|
28737
|
+
|
|
28738
|
+
/** InThreadSurveyMetadata privacyStatementParts */
|
|
28739
|
+
privacyStatementParts?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[]|null);
|
|
28740
|
+
|
|
28741
|
+
/** InThreadSurveyMetadata feedbackToastText */
|
|
28742
|
+
feedbackToastText?: (string|null);
|
|
28743
|
+
}
|
|
28744
|
+
|
|
28745
|
+
/** Represents an InThreadSurveyMetadata. */
|
|
28746
|
+
class InThreadSurveyMetadata implements IInThreadSurveyMetadata {
|
|
28747
|
+
|
|
28748
|
+
/**
|
|
28749
|
+
* Constructs a new InThreadSurveyMetadata.
|
|
28750
|
+
* @param [properties] Properties to set
|
|
28751
|
+
*/
|
|
28752
|
+
constructor(properties?: BotMetadata.IInThreadSurveyMetadata);
|
|
28753
|
+
|
|
28754
|
+
/** InThreadSurveyMetadata tessaSessionId. */
|
|
28755
|
+
public tessaSessionId: string;
|
|
28756
|
+
|
|
28757
|
+
/** InThreadSurveyMetadata simonSessionId. */
|
|
28758
|
+
public simonSessionId: string;
|
|
28759
|
+
|
|
28760
|
+
/** InThreadSurveyMetadata simonSurveyId. */
|
|
28761
|
+
public simonSurveyId: string;
|
|
28762
|
+
|
|
28763
|
+
/** InThreadSurveyMetadata tessaRootId. */
|
|
28764
|
+
public tessaRootId: string;
|
|
28765
|
+
|
|
28766
|
+
/** InThreadSurveyMetadata requestId. */
|
|
28767
|
+
public requestId: string;
|
|
28768
|
+
|
|
28769
|
+
/** InThreadSurveyMetadata tessaEvent. */
|
|
28770
|
+
public tessaEvent: string;
|
|
28771
|
+
|
|
28772
|
+
/** InThreadSurveyMetadata invitationHeaderText. */
|
|
28773
|
+
public invitationHeaderText: string;
|
|
28774
|
+
|
|
28775
|
+
/** InThreadSurveyMetadata invitationBodyText. */
|
|
28776
|
+
public invitationBodyText: string;
|
|
28777
|
+
|
|
28778
|
+
/** InThreadSurveyMetadata invitationCtaText. */
|
|
28779
|
+
public invitationCtaText: string;
|
|
28780
|
+
|
|
28781
|
+
/** InThreadSurveyMetadata invitationCtaUrl. */
|
|
28782
|
+
public invitationCtaUrl: string;
|
|
28783
|
+
|
|
28784
|
+
/** InThreadSurveyMetadata surveyTitle. */
|
|
28785
|
+
public surveyTitle: string;
|
|
28786
|
+
|
|
28787
|
+
/** InThreadSurveyMetadata questions. */
|
|
28788
|
+
public questions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[];
|
|
28789
|
+
|
|
28790
|
+
/** InThreadSurveyMetadata surveyContinueButtonText. */
|
|
28791
|
+
public surveyContinueButtonText: string;
|
|
28792
|
+
|
|
28793
|
+
/** InThreadSurveyMetadata surveySubmitButtonText. */
|
|
28794
|
+
public surveySubmitButtonText: string;
|
|
28795
|
+
|
|
28796
|
+
/** InThreadSurveyMetadata privacyStatementFull. */
|
|
28797
|
+
public privacyStatementFull: string;
|
|
28798
|
+
|
|
28799
|
+
/** InThreadSurveyMetadata privacyStatementParts. */
|
|
28800
|
+
public privacyStatementParts: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[];
|
|
28801
|
+
|
|
28802
|
+
/** InThreadSurveyMetadata feedbackToastText. */
|
|
28803
|
+
public feedbackToastText: string;
|
|
28804
|
+
|
|
28805
|
+
/**
|
|
28806
|
+
* Creates a new InThreadSurveyMetadata instance using the specified properties.
|
|
28807
|
+
* @param [properties] Properties to set
|
|
28808
|
+
* @returns InThreadSurveyMetadata instance
|
|
28809
|
+
*/
|
|
28810
|
+
public static create(properties?: BotMetadata.IInThreadSurveyMetadata): BotMetadata.InThreadSurveyMetadata;
|
|
28811
|
+
|
|
28812
|
+
/**
|
|
28813
|
+
* Encodes the specified InThreadSurveyMetadata message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
28814
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
28815
|
+
* @param [writer] Writer to encode to
|
|
28816
|
+
* @returns Writer
|
|
28817
|
+
*/
|
|
28818
|
+
public static encode(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28819
|
+
|
|
28820
|
+
/**
|
|
28821
|
+
* Encodes the specified InThreadSurveyMetadata message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
28822
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
28823
|
+
* @param [writer] Writer to encode to
|
|
28824
|
+
* @returns Writer
|
|
28825
|
+
*/
|
|
28826
|
+
public static encodeDelimited(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28827
|
+
|
|
28828
|
+
/**
|
|
28829
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer.
|
|
28830
|
+
* @param reader Reader or buffer to decode from
|
|
28831
|
+
* @param [length] Message length if known beforehand
|
|
28832
|
+
* @returns InThreadSurveyMetadata
|
|
28833
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28834
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28835
|
+
*/
|
|
28836
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata;
|
|
28837
|
+
|
|
28838
|
+
/**
|
|
28839
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer, length delimited.
|
|
28840
|
+
* @param reader Reader or buffer to decode from
|
|
28841
|
+
* @returns InThreadSurveyMetadata
|
|
28842
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28843
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28844
|
+
*/
|
|
28845
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata;
|
|
28846
|
+
|
|
28847
|
+
/**
|
|
28848
|
+
* Verifies an InThreadSurveyMetadata message.
|
|
28849
|
+
* @param message Plain object to verify
|
|
28850
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28851
|
+
*/
|
|
28852
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
28853
|
+
|
|
28854
|
+
/**
|
|
28855
|
+
* Creates an InThreadSurveyMetadata message from a plain object. Also converts values to their respective internal types.
|
|
28856
|
+
* @param object Plain object
|
|
28857
|
+
* @returns InThreadSurveyMetadata
|
|
28858
|
+
*/
|
|
28859
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata;
|
|
28860
|
+
|
|
28861
|
+
/**
|
|
28862
|
+
* Creates a plain object from an InThreadSurveyMetadata message. Also converts values to other types if specified.
|
|
28863
|
+
* @param message InThreadSurveyMetadata
|
|
28864
|
+
* @param [options] Conversion options
|
|
28865
|
+
* @returns Plain object
|
|
28866
|
+
*/
|
|
28867
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
28868
|
+
|
|
28869
|
+
/**
|
|
28870
|
+
* Converts this InThreadSurveyMetadata to JSON.
|
|
28871
|
+
* @returns JSON object
|
|
28872
|
+
*/
|
|
28873
|
+
public toJSON(): { [k: string]: any };
|
|
28874
|
+
|
|
28875
|
+
/**
|
|
28876
|
+
* Gets the default type url for InThreadSurveyMetadata
|
|
28877
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
28878
|
+
* @returns The default type url
|
|
28879
|
+
*/
|
|
28880
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28881
|
+
}
|
|
28882
|
+
|
|
28883
|
+
namespace InThreadSurveyMetadata {
|
|
28884
|
+
|
|
28885
|
+
/** Properties of an InThreadSurveyOption. */
|
|
28886
|
+
interface IInThreadSurveyOption {
|
|
28887
|
+
|
|
28888
|
+
/** InThreadSurveyOption stringValue */
|
|
28889
|
+
stringValue?: (string|null);
|
|
28890
|
+
|
|
28891
|
+
/** InThreadSurveyOption numericValue */
|
|
28892
|
+
numericValue?: (number|null);
|
|
28893
|
+
|
|
28894
|
+
/** InThreadSurveyOption textTranslated */
|
|
28895
|
+
textTranslated?: (string|null);
|
|
28896
|
+
}
|
|
28897
|
+
|
|
28898
|
+
/** Represents an InThreadSurveyOption. */
|
|
28899
|
+
class InThreadSurveyOption implements IInThreadSurveyOption {
|
|
28900
|
+
|
|
28901
|
+
/**
|
|
28902
|
+
* Constructs a new InThreadSurveyOption.
|
|
28903
|
+
* @param [properties] Properties to set
|
|
28904
|
+
*/
|
|
28905
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption);
|
|
28906
|
+
|
|
28907
|
+
/** InThreadSurveyOption stringValue. */
|
|
28908
|
+
public stringValue: string;
|
|
28909
|
+
|
|
28910
|
+
/** InThreadSurveyOption numericValue. */
|
|
28911
|
+
public numericValue: number;
|
|
28912
|
+
|
|
28913
|
+
/** InThreadSurveyOption textTranslated. */
|
|
28914
|
+
public textTranslated: string;
|
|
28915
|
+
|
|
28916
|
+
/**
|
|
28917
|
+
* Creates a new InThreadSurveyOption instance using the specified properties.
|
|
28918
|
+
* @param [properties] Properties to set
|
|
28919
|
+
* @returns InThreadSurveyOption instance
|
|
28920
|
+
*/
|
|
28921
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
28922
|
+
|
|
28923
|
+
/**
|
|
28924
|
+
* Encodes the specified InThreadSurveyOption message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
28925
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
28926
|
+
* @param [writer] Writer to encode to
|
|
28927
|
+
* @returns Writer
|
|
28928
|
+
*/
|
|
28929
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28930
|
+
|
|
28931
|
+
/**
|
|
28932
|
+
* Encodes the specified InThreadSurveyOption message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
28933
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
28934
|
+
* @param [writer] Writer to encode to
|
|
28935
|
+
* @returns Writer
|
|
28936
|
+
*/
|
|
28937
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28938
|
+
|
|
28939
|
+
/**
|
|
28940
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer.
|
|
28941
|
+
* @param reader Reader or buffer to decode from
|
|
28942
|
+
* @param [length] Message length if known beforehand
|
|
28943
|
+
* @returns InThreadSurveyOption
|
|
28944
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28945
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28946
|
+
*/
|
|
28947
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
28948
|
+
|
|
28949
|
+
/**
|
|
28950
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer, length delimited.
|
|
28951
|
+
* @param reader Reader or buffer to decode from
|
|
28952
|
+
* @returns InThreadSurveyOption
|
|
28953
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28954
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28955
|
+
*/
|
|
28956
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
28957
|
+
|
|
28958
|
+
/**
|
|
28959
|
+
* Verifies an InThreadSurveyOption message.
|
|
28960
|
+
* @param message Plain object to verify
|
|
28961
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28962
|
+
*/
|
|
28963
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
28964
|
+
|
|
28965
|
+
/**
|
|
28966
|
+
* Creates an InThreadSurveyOption message from a plain object. Also converts values to their respective internal types.
|
|
28967
|
+
* @param object Plain object
|
|
28968
|
+
* @returns InThreadSurveyOption
|
|
28969
|
+
*/
|
|
28970
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
28971
|
+
|
|
28972
|
+
/**
|
|
28973
|
+
* Creates a plain object from an InThreadSurveyOption message. Also converts values to other types if specified.
|
|
28974
|
+
* @param message InThreadSurveyOption
|
|
28975
|
+
* @param [options] Conversion options
|
|
28976
|
+
* @returns Plain object
|
|
28977
|
+
*/
|
|
28978
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
28979
|
+
|
|
28980
|
+
/**
|
|
28981
|
+
* Converts this InThreadSurveyOption to JSON.
|
|
28982
|
+
* @returns JSON object
|
|
28983
|
+
*/
|
|
28984
|
+
public toJSON(): { [k: string]: any };
|
|
28985
|
+
|
|
28986
|
+
/**
|
|
28987
|
+
* Gets the default type url for InThreadSurveyOption
|
|
28988
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
28989
|
+
* @returns The default type url
|
|
28990
|
+
*/
|
|
28991
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28992
|
+
}
|
|
28993
|
+
|
|
28994
|
+
/** Properties of an InThreadSurveyPrivacyStatementPart. */
|
|
28995
|
+
interface IInThreadSurveyPrivacyStatementPart {
|
|
28996
|
+
|
|
28997
|
+
/** InThreadSurveyPrivacyStatementPart text */
|
|
28998
|
+
text?: (string|null);
|
|
28999
|
+
|
|
29000
|
+
/** InThreadSurveyPrivacyStatementPart url */
|
|
29001
|
+
url?: (string|null);
|
|
29002
|
+
}
|
|
29003
|
+
|
|
29004
|
+
/** Represents an InThreadSurveyPrivacyStatementPart. */
|
|
29005
|
+
class InThreadSurveyPrivacyStatementPart implements IInThreadSurveyPrivacyStatementPart {
|
|
29006
|
+
|
|
29007
|
+
/**
|
|
29008
|
+
* Constructs a new InThreadSurveyPrivacyStatementPart.
|
|
29009
|
+
* @param [properties] Properties to set
|
|
29010
|
+
*/
|
|
29011
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart);
|
|
29012
|
+
|
|
29013
|
+
/** InThreadSurveyPrivacyStatementPart text. */
|
|
29014
|
+
public text: string;
|
|
29015
|
+
|
|
29016
|
+
/** InThreadSurveyPrivacyStatementPart url. */
|
|
29017
|
+
public url: string;
|
|
29018
|
+
|
|
29019
|
+
/**
|
|
29020
|
+
* Creates a new InThreadSurveyPrivacyStatementPart instance using the specified properties.
|
|
29021
|
+
* @param [properties] Properties to set
|
|
29022
|
+
* @returns InThreadSurveyPrivacyStatementPart instance
|
|
29023
|
+
*/
|
|
29024
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
29025
|
+
|
|
29026
|
+
/**
|
|
29027
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
29028
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
29029
|
+
* @param [writer] Writer to encode to
|
|
29030
|
+
* @returns Writer
|
|
29031
|
+
*/
|
|
29032
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29033
|
+
|
|
29034
|
+
/**
|
|
29035
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
29036
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
29037
|
+
* @param [writer] Writer to encode to
|
|
29038
|
+
* @returns Writer
|
|
29039
|
+
*/
|
|
29040
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29041
|
+
|
|
29042
|
+
/**
|
|
29043
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer.
|
|
29044
|
+
* @param reader Reader or buffer to decode from
|
|
29045
|
+
* @param [length] Message length if known beforehand
|
|
29046
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
29047
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29048
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29049
|
+
*/
|
|
29050
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
29051
|
+
|
|
29052
|
+
/**
|
|
29053
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer, length delimited.
|
|
29054
|
+
* @param reader Reader or buffer to decode from
|
|
29055
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
29056
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29057
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29058
|
+
*/
|
|
29059
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
29060
|
+
|
|
29061
|
+
/**
|
|
29062
|
+
* Verifies an InThreadSurveyPrivacyStatementPart message.
|
|
29063
|
+
* @param message Plain object to verify
|
|
29064
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29065
|
+
*/
|
|
29066
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29067
|
+
|
|
29068
|
+
/**
|
|
29069
|
+
* Creates an InThreadSurveyPrivacyStatementPart message from a plain object. Also converts values to their respective internal types.
|
|
29070
|
+
* @param object Plain object
|
|
29071
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
29072
|
+
*/
|
|
29073
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
29074
|
+
|
|
29075
|
+
/**
|
|
29076
|
+
* Creates a plain object from an InThreadSurveyPrivacyStatementPart message. Also converts values to other types if specified.
|
|
29077
|
+
* @param message InThreadSurveyPrivacyStatementPart
|
|
29078
|
+
* @param [options] Conversion options
|
|
29079
|
+
* @returns Plain object
|
|
29080
|
+
*/
|
|
29081
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29082
|
+
|
|
29083
|
+
/**
|
|
29084
|
+
* Converts this InThreadSurveyPrivacyStatementPart to JSON.
|
|
29085
|
+
* @returns JSON object
|
|
29086
|
+
*/
|
|
29087
|
+
public toJSON(): { [k: string]: any };
|
|
29088
|
+
|
|
29089
|
+
/**
|
|
29090
|
+
* Gets the default type url for InThreadSurveyPrivacyStatementPart
|
|
29091
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29092
|
+
* @returns The default type url
|
|
29093
|
+
*/
|
|
29094
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29095
|
+
}
|
|
29096
|
+
|
|
29097
|
+
/** Properties of an InThreadSurveyQuestion. */
|
|
29098
|
+
interface IInThreadSurveyQuestion {
|
|
29099
|
+
|
|
29100
|
+
/** InThreadSurveyQuestion questionText */
|
|
29101
|
+
questionText?: (string|null);
|
|
29102
|
+
|
|
29103
|
+
/** InThreadSurveyQuestion questionId */
|
|
29104
|
+
questionId?: (string|null);
|
|
29105
|
+
|
|
29106
|
+
/** InThreadSurveyQuestion questionOptions */
|
|
29107
|
+
questionOptions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[]|null);
|
|
29108
|
+
}
|
|
29109
|
+
|
|
29110
|
+
/** Represents an InThreadSurveyQuestion. */
|
|
29111
|
+
class InThreadSurveyQuestion implements IInThreadSurveyQuestion {
|
|
29112
|
+
|
|
29113
|
+
/**
|
|
29114
|
+
* Constructs a new InThreadSurveyQuestion.
|
|
29115
|
+
* @param [properties] Properties to set
|
|
29116
|
+
*/
|
|
29117
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion);
|
|
29118
|
+
|
|
29119
|
+
/** InThreadSurveyQuestion questionText. */
|
|
29120
|
+
public questionText: string;
|
|
29121
|
+
|
|
29122
|
+
/** InThreadSurveyQuestion questionId. */
|
|
29123
|
+
public questionId: string;
|
|
29124
|
+
|
|
29125
|
+
/** InThreadSurveyQuestion questionOptions. */
|
|
29126
|
+
public questionOptions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[];
|
|
29127
|
+
|
|
29128
|
+
/**
|
|
29129
|
+
* Creates a new InThreadSurveyQuestion instance using the specified properties.
|
|
29130
|
+
* @param [properties] Properties to set
|
|
29131
|
+
* @returns InThreadSurveyQuestion instance
|
|
29132
|
+
*/
|
|
29133
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
29134
|
+
|
|
29135
|
+
/**
|
|
29136
|
+
* Encodes the specified InThreadSurveyQuestion message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
29137
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
29138
|
+
* @param [writer] Writer to encode to
|
|
29139
|
+
* @returns Writer
|
|
29140
|
+
*/
|
|
29141
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29142
|
+
|
|
29143
|
+
/**
|
|
29144
|
+
* Encodes the specified InThreadSurveyQuestion message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
29145
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
29146
|
+
* @param [writer] Writer to encode to
|
|
29147
|
+
* @returns Writer
|
|
29148
|
+
*/
|
|
29149
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29150
|
+
|
|
29151
|
+
/**
|
|
29152
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer.
|
|
29153
|
+
* @param reader Reader or buffer to decode from
|
|
29154
|
+
* @param [length] Message length if known beforehand
|
|
29155
|
+
* @returns InThreadSurveyQuestion
|
|
29156
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29157
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29158
|
+
*/
|
|
29159
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
29160
|
+
|
|
29161
|
+
/**
|
|
29162
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer, length delimited.
|
|
29163
|
+
* @param reader Reader or buffer to decode from
|
|
29164
|
+
* @returns InThreadSurveyQuestion
|
|
29165
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29166
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29167
|
+
*/
|
|
29168
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
29169
|
+
|
|
29170
|
+
/**
|
|
29171
|
+
* Verifies an InThreadSurveyQuestion message.
|
|
29172
|
+
* @param message Plain object to verify
|
|
29173
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29174
|
+
*/
|
|
29175
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29176
|
+
|
|
29177
|
+
/**
|
|
29178
|
+
* Creates an InThreadSurveyQuestion message from a plain object. Also converts values to their respective internal types.
|
|
29179
|
+
* @param object Plain object
|
|
29180
|
+
* @returns InThreadSurveyQuestion
|
|
29181
|
+
*/
|
|
29182
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
29183
|
+
|
|
29184
|
+
/**
|
|
29185
|
+
* Creates a plain object from an InThreadSurveyQuestion message. Also converts values to other types if specified.
|
|
29186
|
+
* @param message InThreadSurveyQuestion
|
|
29187
|
+
* @param [options] Conversion options
|
|
29188
|
+
* @returns Plain object
|
|
29189
|
+
*/
|
|
29190
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29191
|
+
|
|
29192
|
+
/**
|
|
29193
|
+
* Converts this InThreadSurveyQuestion to JSON.
|
|
29194
|
+
* @returns JSON object
|
|
29195
|
+
*/
|
|
29196
|
+
public toJSON(): { [k: string]: any };
|
|
29197
|
+
|
|
29198
|
+
/**
|
|
29199
|
+
* Gets the default type url for InThreadSurveyQuestion
|
|
29200
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29201
|
+
* @returns The default type url
|
|
29202
|
+
*/
|
|
29203
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29204
|
+
}
|
|
29205
|
+
}
|
|
29206
|
+
|
|
28645
29207
|
/** Properties of a BotSourcesMetadata. */
|
|
28646
29208
|
interface IBotSourcesMetadata {
|
|
28647
29209
|
|
|
@@ -31192,7 +31754,8 @@ export namespace BotMetadata {
|
|
|
31192
31754
|
/** BotPromotionType enum. */
|
|
31193
31755
|
enum BotPromotionType {
|
|
31194
31756
|
UNKNOWN_TYPE = 0,
|
|
31195
|
-
C50 = 1
|
|
31757
|
+
C50 = 1,
|
|
31758
|
+
SURVEY_PLATFORM = 2
|
|
31196
31759
|
}
|
|
31197
31760
|
}
|
|
31198
31761
|
|
|
@@ -33113,7 +33676,8 @@ export namespace StatusAttributions {
|
|
|
33113
33676
|
enum Source {
|
|
33114
33677
|
UNKNOWN = 0,
|
|
33115
33678
|
RAY_BAN_META_GLASSES = 1,
|
|
33116
|
-
OAKLEY_META_GLASSES = 2
|
|
33679
|
+
OAKLEY_META_GLASSES = 2,
|
|
33680
|
+
HYPERNOVA_GLASSES = 3
|
|
33117
33681
|
}
|
|
33118
33682
|
}
|
|
33119
33683
|
|