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
package/WAProto/E2E/E2E.d.ts
CHANGED
|
@@ -6985,6 +6985,9 @@ export namespace E2E {
|
|
|
6985
6985
|
|
|
6986
6986
|
/** ExternalAdReplyInfo wtwaWebsiteUrl */
|
|
6987
6987
|
wtwaWebsiteUrl?: (string|null);
|
|
6988
|
+
|
|
6989
|
+
/** ExternalAdReplyInfo adPreviewUrl */
|
|
6990
|
+
adPreviewUrl?: (string|null);
|
|
6988
6991
|
}
|
|
6989
6992
|
|
|
6990
6993
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -7074,6 +7077,9 @@ export namespace E2E {
|
|
|
7074
7077
|
/** ExternalAdReplyInfo wtwaWebsiteUrl. */
|
|
7075
7078
|
public wtwaWebsiteUrl: string;
|
|
7076
7079
|
|
|
7080
|
+
/** ExternalAdReplyInfo adPreviewUrl. */
|
|
7081
|
+
public adPreviewUrl: string;
|
|
7082
|
+
|
|
7077
7083
|
/**
|
|
7078
7084
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
7079
7085
|
* @param [properties] Properties to set
|
|
@@ -15074,6 +15080,9 @@ export namespace E2E {
|
|
|
15074
15080
|
|
|
15075
15081
|
/** CarouselMessage messageVersion */
|
|
15076
15082
|
messageVersion?: (number|null);
|
|
15083
|
+
|
|
15084
|
+
/** CarouselMessage carouselCardType */
|
|
15085
|
+
carouselCardType?: (E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType|null);
|
|
15077
15086
|
}
|
|
15078
15087
|
|
|
15079
15088
|
/** Represents a CarouselMessage. */
|
|
@@ -15091,6 +15100,9 @@ export namespace E2E {
|
|
|
15091
15100
|
/** CarouselMessage messageVersion. */
|
|
15092
15101
|
public messageVersion: number;
|
|
15093
15102
|
|
|
15103
|
+
/** CarouselMessage carouselCardType. */
|
|
15104
|
+
public carouselCardType: E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType;
|
|
15105
|
+
|
|
15094
15106
|
/**
|
|
15095
15107
|
* Creates a new CarouselMessage instance using the specified properties.
|
|
15096
15108
|
* @param [properties] Properties to set
|
|
@@ -15169,6 +15181,15 @@ export namespace E2E {
|
|
|
15169
15181
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15170
15182
|
}
|
|
15171
15183
|
|
|
15184
|
+
namespace CarouselMessage {
|
|
15185
|
+
|
|
15186
|
+
/** CarouselCardType enum. */
|
|
15187
|
+
enum CarouselCardType {
|
|
15188
|
+
DEFAULT = 0,
|
|
15189
|
+
ALBUM = 1
|
|
15190
|
+
}
|
|
15191
|
+
}
|
|
15192
|
+
|
|
15172
15193
|
/** Properties of a CollectionMessage. */
|
|
15173
15194
|
interface ICollectionMessage {
|
|
15174
15195
|
|
|
@@ -18205,8 +18226,8 @@ export namespace E2E {
|
|
|
18205
18226
|
/** MessageHistoryMetadata historyReceivers */
|
|
18206
18227
|
historyReceivers?: (string[]|null);
|
|
18207
18228
|
|
|
18208
|
-
/** MessageHistoryMetadata
|
|
18209
|
-
|
|
18229
|
+
/** MessageHistoryMetadata oldestMessageTimestamp */
|
|
18230
|
+
oldestMessageTimestamp?: (number|Long|null);
|
|
18210
18231
|
|
|
18211
18232
|
/** MessageHistoryMetadata messageCount */
|
|
18212
18233
|
messageCount?: (number|Long|null);
|
|
@@ -18224,8 +18245,8 @@ export namespace E2E {
|
|
|
18224
18245
|
/** MessageHistoryMetadata historyReceivers. */
|
|
18225
18246
|
public historyReceivers: string[];
|
|
18226
18247
|
|
|
18227
|
-
/** MessageHistoryMetadata
|
|
18228
|
-
public
|
|
18248
|
+
/** MessageHistoryMetadata oldestMessageTimestamp. */
|
|
18249
|
+
public oldestMessageTimestamp: (number|Long);
|
|
18229
18250
|
|
|
18230
18251
|
/** MessageHistoryMetadata messageCount. */
|
|
18231
18252
|
public messageCount: (number|Long);
|
|
@@ -20289,6 +20310,12 @@ export namespace E2E {
|
|
|
20289
20310
|
|
|
20290
20311
|
/** CompanionCanonicalUserNonceFetchResponse nonce */
|
|
20291
20312
|
nonce?: (string|null);
|
|
20313
|
+
|
|
20314
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid */
|
|
20315
|
+
waFbid?: (string|null);
|
|
20316
|
+
|
|
20317
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh */
|
|
20318
|
+
forceRefresh?: (boolean|null);
|
|
20292
20319
|
}
|
|
20293
20320
|
|
|
20294
20321
|
/** Represents a CompanionCanonicalUserNonceFetchResponse. */
|
|
@@ -20303,6 +20330,12 @@ export namespace E2E {
|
|
|
20303
20330
|
/** CompanionCanonicalUserNonceFetchResponse nonce. */
|
|
20304
20331
|
public nonce: string;
|
|
20305
20332
|
|
|
20333
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid. */
|
|
20334
|
+
public waFbid: string;
|
|
20335
|
+
|
|
20336
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh. */
|
|
20337
|
+
public forceRefresh: boolean;
|
|
20338
|
+
|
|
20306
20339
|
/**
|
|
20307
20340
|
* Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
|
|
20308
20341
|
* @param [properties] Properties to set
|
|
@@ -23983,6 +24016,9 @@ export namespace E2E {
|
|
|
23983
24016
|
|
|
23984
24017
|
/** SendPaymentMessage background */
|
|
23985
24018
|
background?: (E2E.IPaymentBackground|null);
|
|
24019
|
+
|
|
24020
|
+
/** SendPaymentMessage transactionData */
|
|
24021
|
+
transactionData?: (string|null);
|
|
23986
24022
|
}
|
|
23987
24023
|
|
|
23988
24024
|
/** Represents a SendPaymentMessage. */
|
|
@@ -24003,6 +24039,9 @@ export namespace E2E {
|
|
|
24003
24039
|
/** SendPaymentMessage background. */
|
|
24004
24040
|
public background?: (E2E.IPaymentBackground|null);
|
|
24005
24041
|
|
|
24042
|
+
/** SendPaymentMessage transactionData. */
|
|
24043
|
+
public transactionData: string;
|
|
24044
|
+
|
|
24006
24045
|
/**
|
|
24007
24046
|
* Creates a new SendPaymentMessage instance using the specified properties.
|
|
24008
24047
|
* @param [properties] Properties to set
|
|
@@ -27080,6 +27119,9 @@ export namespace BotMetadata {
|
|
|
27080
27119
|
|
|
27081
27120
|
/** BotMetadata botMessageOriginMetadata */
|
|
27082
27121
|
botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
27122
|
+
|
|
27123
|
+
/** BotMetadata inThreadSurveyMetadata */
|
|
27124
|
+
inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
27083
27125
|
}
|
|
27084
27126
|
|
|
27085
27127
|
/** Represents a BotMetadata. */
|
|
@@ -27178,6 +27220,9 @@ export namespace BotMetadata {
|
|
|
27178
27220
|
/** BotMetadata botMessageOriginMetadata. */
|
|
27179
27221
|
public botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
27180
27222
|
|
|
27223
|
+
/** BotMetadata inThreadSurveyMetadata. */
|
|
27224
|
+
public inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
27225
|
+
|
|
27181
27226
|
/**
|
|
27182
27227
|
* Creates a new BotMetadata instance using the specified properties.
|
|
27183
27228
|
* @param [properties] Properties to set
|
|
@@ -27655,6 +27700,523 @@ export namespace BotMetadata {
|
|
|
27655
27700
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27656
27701
|
}
|
|
27657
27702
|
|
|
27703
|
+
/** Properties of an InThreadSurveyMetadata. */
|
|
27704
|
+
interface IInThreadSurveyMetadata {
|
|
27705
|
+
|
|
27706
|
+
/** InThreadSurveyMetadata tessaSessionId */
|
|
27707
|
+
tessaSessionId?: (string|null);
|
|
27708
|
+
|
|
27709
|
+
/** InThreadSurveyMetadata simonSessionId */
|
|
27710
|
+
simonSessionId?: (string|null);
|
|
27711
|
+
|
|
27712
|
+
/** InThreadSurveyMetadata simonSurveyId */
|
|
27713
|
+
simonSurveyId?: (string|null);
|
|
27714
|
+
|
|
27715
|
+
/** InThreadSurveyMetadata tessaRootId */
|
|
27716
|
+
tessaRootId?: (string|null);
|
|
27717
|
+
|
|
27718
|
+
/** InThreadSurveyMetadata requestId */
|
|
27719
|
+
requestId?: (string|null);
|
|
27720
|
+
|
|
27721
|
+
/** InThreadSurveyMetadata tessaEvent */
|
|
27722
|
+
tessaEvent?: (string|null);
|
|
27723
|
+
|
|
27724
|
+
/** InThreadSurveyMetadata invitationHeaderText */
|
|
27725
|
+
invitationHeaderText?: (string|null);
|
|
27726
|
+
|
|
27727
|
+
/** InThreadSurveyMetadata invitationBodyText */
|
|
27728
|
+
invitationBodyText?: (string|null);
|
|
27729
|
+
|
|
27730
|
+
/** InThreadSurveyMetadata invitationCtaText */
|
|
27731
|
+
invitationCtaText?: (string|null);
|
|
27732
|
+
|
|
27733
|
+
/** InThreadSurveyMetadata invitationCtaUrl */
|
|
27734
|
+
invitationCtaUrl?: (string|null);
|
|
27735
|
+
|
|
27736
|
+
/** InThreadSurveyMetadata surveyTitle */
|
|
27737
|
+
surveyTitle?: (string|null);
|
|
27738
|
+
|
|
27739
|
+
/** InThreadSurveyMetadata questions */
|
|
27740
|
+
questions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[]|null);
|
|
27741
|
+
|
|
27742
|
+
/** InThreadSurveyMetadata surveyContinueButtonText */
|
|
27743
|
+
surveyContinueButtonText?: (string|null);
|
|
27744
|
+
|
|
27745
|
+
/** InThreadSurveyMetadata surveySubmitButtonText */
|
|
27746
|
+
surveySubmitButtonText?: (string|null);
|
|
27747
|
+
|
|
27748
|
+
/** InThreadSurveyMetadata privacyStatementFull */
|
|
27749
|
+
privacyStatementFull?: (string|null);
|
|
27750
|
+
|
|
27751
|
+
/** InThreadSurveyMetadata privacyStatementParts */
|
|
27752
|
+
privacyStatementParts?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[]|null);
|
|
27753
|
+
|
|
27754
|
+
/** InThreadSurveyMetadata feedbackToastText */
|
|
27755
|
+
feedbackToastText?: (string|null);
|
|
27756
|
+
}
|
|
27757
|
+
|
|
27758
|
+
/** Represents an InThreadSurveyMetadata. */
|
|
27759
|
+
class InThreadSurveyMetadata implements IInThreadSurveyMetadata {
|
|
27760
|
+
|
|
27761
|
+
/**
|
|
27762
|
+
* Constructs a new InThreadSurveyMetadata.
|
|
27763
|
+
* @param [properties] Properties to set
|
|
27764
|
+
*/
|
|
27765
|
+
constructor(properties?: BotMetadata.IInThreadSurveyMetadata);
|
|
27766
|
+
|
|
27767
|
+
/** InThreadSurveyMetadata tessaSessionId. */
|
|
27768
|
+
public tessaSessionId: string;
|
|
27769
|
+
|
|
27770
|
+
/** InThreadSurveyMetadata simonSessionId. */
|
|
27771
|
+
public simonSessionId: string;
|
|
27772
|
+
|
|
27773
|
+
/** InThreadSurveyMetadata simonSurveyId. */
|
|
27774
|
+
public simonSurveyId: string;
|
|
27775
|
+
|
|
27776
|
+
/** InThreadSurveyMetadata tessaRootId. */
|
|
27777
|
+
public tessaRootId: string;
|
|
27778
|
+
|
|
27779
|
+
/** InThreadSurveyMetadata requestId. */
|
|
27780
|
+
public requestId: string;
|
|
27781
|
+
|
|
27782
|
+
/** InThreadSurveyMetadata tessaEvent. */
|
|
27783
|
+
public tessaEvent: string;
|
|
27784
|
+
|
|
27785
|
+
/** InThreadSurveyMetadata invitationHeaderText. */
|
|
27786
|
+
public invitationHeaderText: string;
|
|
27787
|
+
|
|
27788
|
+
/** InThreadSurveyMetadata invitationBodyText. */
|
|
27789
|
+
public invitationBodyText: string;
|
|
27790
|
+
|
|
27791
|
+
/** InThreadSurveyMetadata invitationCtaText. */
|
|
27792
|
+
public invitationCtaText: string;
|
|
27793
|
+
|
|
27794
|
+
/** InThreadSurveyMetadata invitationCtaUrl. */
|
|
27795
|
+
public invitationCtaUrl: string;
|
|
27796
|
+
|
|
27797
|
+
/** InThreadSurveyMetadata surveyTitle. */
|
|
27798
|
+
public surveyTitle: string;
|
|
27799
|
+
|
|
27800
|
+
/** InThreadSurveyMetadata questions. */
|
|
27801
|
+
public questions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[];
|
|
27802
|
+
|
|
27803
|
+
/** InThreadSurveyMetadata surveyContinueButtonText. */
|
|
27804
|
+
public surveyContinueButtonText: string;
|
|
27805
|
+
|
|
27806
|
+
/** InThreadSurveyMetadata surveySubmitButtonText. */
|
|
27807
|
+
public surveySubmitButtonText: string;
|
|
27808
|
+
|
|
27809
|
+
/** InThreadSurveyMetadata privacyStatementFull. */
|
|
27810
|
+
public privacyStatementFull: string;
|
|
27811
|
+
|
|
27812
|
+
/** InThreadSurveyMetadata privacyStatementParts. */
|
|
27813
|
+
public privacyStatementParts: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[];
|
|
27814
|
+
|
|
27815
|
+
/** InThreadSurveyMetadata feedbackToastText. */
|
|
27816
|
+
public feedbackToastText: string;
|
|
27817
|
+
|
|
27818
|
+
/**
|
|
27819
|
+
* Creates a new InThreadSurveyMetadata instance using the specified properties.
|
|
27820
|
+
* @param [properties] Properties to set
|
|
27821
|
+
* @returns InThreadSurveyMetadata instance
|
|
27822
|
+
*/
|
|
27823
|
+
public static create(properties?: BotMetadata.IInThreadSurveyMetadata): BotMetadata.InThreadSurveyMetadata;
|
|
27824
|
+
|
|
27825
|
+
/**
|
|
27826
|
+
* Encodes the specified InThreadSurveyMetadata message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
27827
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
27828
|
+
* @param [writer] Writer to encode to
|
|
27829
|
+
* @returns Writer
|
|
27830
|
+
*/
|
|
27831
|
+
public static encode(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27832
|
+
|
|
27833
|
+
/**
|
|
27834
|
+
* Encodes the specified InThreadSurveyMetadata message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
27835
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
27836
|
+
* @param [writer] Writer to encode to
|
|
27837
|
+
* @returns Writer
|
|
27838
|
+
*/
|
|
27839
|
+
public static encodeDelimited(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27840
|
+
|
|
27841
|
+
/**
|
|
27842
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer.
|
|
27843
|
+
* @param reader Reader or buffer to decode from
|
|
27844
|
+
* @param [length] Message length if known beforehand
|
|
27845
|
+
* @returns InThreadSurveyMetadata
|
|
27846
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27847
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27848
|
+
*/
|
|
27849
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata;
|
|
27850
|
+
|
|
27851
|
+
/**
|
|
27852
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer, length delimited.
|
|
27853
|
+
* @param reader Reader or buffer to decode from
|
|
27854
|
+
* @returns InThreadSurveyMetadata
|
|
27855
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27856
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27857
|
+
*/
|
|
27858
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata;
|
|
27859
|
+
|
|
27860
|
+
/**
|
|
27861
|
+
* Verifies an InThreadSurveyMetadata message.
|
|
27862
|
+
* @param message Plain object to verify
|
|
27863
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27864
|
+
*/
|
|
27865
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27866
|
+
|
|
27867
|
+
/**
|
|
27868
|
+
* Creates an InThreadSurveyMetadata message from a plain object. Also converts values to their respective internal types.
|
|
27869
|
+
* @param object Plain object
|
|
27870
|
+
* @returns InThreadSurveyMetadata
|
|
27871
|
+
*/
|
|
27872
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata;
|
|
27873
|
+
|
|
27874
|
+
/**
|
|
27875
|
+
* Creates a plain object from an InThreadSurveyMetadata message. Also converts values to other types if specified.
|
|
27876
|
+
* @param message InThreadSurveyMetadata
|
|
27877
|
+
* @param [options] Conversion options
|
|
27878
|
+
* @returns Plain object
|
|
27879
|
+
*/
|
|
27880
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27881
|
+
|
|
27882
|
+
/**
|
|
27883
|
+
* Converts this InThreadSurveyMetadata to JSON.
|
|
27884
|
+
* @returns JSON object
|
|
27885
|
+
*/
|
|
27886
|
+
public toJSON(): { [k: string]: any };
|
|
27887
|
+
|
|
27888
|
+
/**
|
|
27889
|
+
* Gets the default type url for InThreadSurveyMetadata
|
|
27890
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27891
|
+
* @returns The default type url
|
|
27892
|
+
*/
|
|
27893
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27894
|
+
}
|
|
27895
|
+
|
|
27896
|
+
namespace InThreadSurveyMetadata {
|
|
27897
|
+
|
|
27898
|
+
/** Properties of an InThreadSurveyOption. */
|
|
27899
|
+
interface IInThreadSurveyOption {
|
|
27900
|
+
|
|
27901
|
+
/** InThreadSurveyOption stringValue */
|
|
27902
|
+
stringValue?: (string|null);
|
|
27903
|
+
|
|
27904
|
+
/** InThreadSurveyOption numericValue */
|
|
27905
|
+
numericValue?: (number|null);
|
|
27906
|
+
|
|
27907
|
+
/** InThreadSurveyOption textTranslated */
|
|
27908
|
+
textTranslated?: (string|null);
|
|
27909
|
+
}
|
|
27910
|
+
|
|
27911
|
+
/** Represents an InThreadSurveyOption. */
|
|
27912
|
+
class InThreadSurveyOption implements IInThreadSurveyOption {
|
|
27913
|
+
|
|
27914
|
+
/**
|
|
27915
|
+
* Constructs a new InThreadSurveyOption.
|
|
27916
|
+
* @param [properties] Properties to set
|
|
27917
|
+
*/
|
|
27918
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption);
|
|
27919
|
+
|
|
27920
|
+
/** InThreadSurveyOption stringValue. */
|
|
27921
|
+
public stringValue: string;
|
|
27922
|
+
|
|
27923
|
+
/** InThreadSurveyOption numericValue. */
|
|
27924
|
+
public numericValue: number;
|
|
27925
|
+
|
|
27926
|
+
/** InThreadSurveyOption textTranslated. */
|
|
27927
|
+
public textTranslated: string;
|
|
27928
|
+
|
|
27929
|
+
/**
|
|
27930
|
+
* Creates a new InThreadSurveyOption instance using the specified properties.
|
|
27931
|
+
* @param [properties] Properties to set
|
|
27932
|
+
* @returns InThreadSurveyOption instance
|
|
27933
|
+
*/
|
|
27934
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
27935
|
+
|
|
27936
|
+
/**
|
|
27937
|
+
* Encodes the specified InThreadSurveyOption message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
27938
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
27939
|
+
* @param [writer] Writer to encode to
|
|
27940
|
+
* @returns Writer
|
|
27941
|
+
*/
|
|
27942
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27943
|
+
|
|
27944
|
+
/**
|
|
27945
|
+
* Encodes the specified InThreadSurveyOption message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
27946
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
27947
|
+
* @param [writer] Writer to encode to
|
|
27948
|
+
* @returns Writer
|
|
27949
|
+
*/
|
|
27950
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27951
|
+
|
|
27952
|
+
/**
|
|
27953
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer.
|
|
27954
|
+
* @param reader Reader or buffer to decode from
|
|
27955
|
+
* @param [length] Message length if known beforehand
|
|
27956
|
+
* @returns InThreadSurveyOption
|
|
27957
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27958
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27959
|
+
*/
|
|
27960
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
27961
|
+
|
|
27962
|
+
/**
|
|
27963
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer, length delimited.
|
|
27964
|
+
* @param reader Reader or buffer to decode from
|
|
27965
|
+
* @returns InThreadSurveyOption
|
|
27966
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27967
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27968
|
+
*/
|
|
27969
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
27970
|
+
|
|
27971
|
+
/**
|
|
27972
|
+
* Verifies an InThreadSurveyOption message.
|
|
27973
|
+
* @param message Plain object to verify
|
|
27974
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27975
|
+
*/
|
|
27976
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27977
|
+
|
|
27978
|
+
/**
|
|
27979
|
+
* Creates an InThreadSurveyOption message from a plain object. Also converts values to their respective internal types.
|
|
27980
|
+
* @param object Plain object
|
|
27981
|
+
* @returns InThreadSurveyOption
|
|
27982
|
+
*/
|
|
27983
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
27984
|
+
|
|
27985
|
+
/**
|
|
27986
|
+
* Creates a plain object from an InThreadSurveyOption message. Also converts values to other types if specified.
|
|
27987
|
+
* @param message InThreadSurveyOption
|
|
27988
|
+
* @param [options] Conversion options
|
|
27989
|
+
* @returns Plain object
|
|
27990
|
+
*/
|
|
27991
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27992
|
+
|
|
27993
|
+
/**
|
|
27994
|
+
* Converts this InThreadSurveyOption to JSON.
|
|
27995
|
+
* @returns JSON object
|
|
27996
|
+
*/
|
|
27997
|
+
public toJSON(): { [k: string]: any };
|
|
27998
|
+
|
|
27999
|
+
/**
|
|
28000
|
+
* Gets the default type url for InThreadSurveyOption
|
|
28001
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
28002
|
+
* @returns The default type url
|
|
28003
|
+
*/
|
|
28004
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28005
|
+
}
|
|
28006
|
+
|
|
28007
|
+
/** Properties of an InThreadSurveyPrivacyStatementPart. */
|
|
28008
|
+
interface IInThreadSurveyPrivacyStatementPart {
|
|
28009
|
+
|
|
28010
|
+
/** InThreadSurveyPrivacyStatementPart text */
|
|
28011
|
+
text?: (string|null);
|
|
28012
|
+
|
|
28013
|
+
/** InThreadSurveyPrivacyStatementPart url */
|
|
28014
|
+
url?: (string|null);
|
|
28015
|
+
}
|
|
28016
|
+
|
|
28017
|
+
/** Represents an InThreadSurveyPrivacyStatementPart. */
|
|
28018
|
+
class InThreadSurveyPrivacyStatementPart implements IInThreadSurveyPrivacyStatementPart {
|
|
28019
|
+
|
|
28020
|
+
/**
|
|
28021
|
+
* Constructs a new InThreadSurveyPrivacyStatementPart.
|
|
28022
|
+
* @param [properties] Properties to set
|
|
28023
|
+
*/
|
|
28024
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart);
|
|
28025
|
+
|
|
28026
|
+
/** InThreadSurveyPrivacyStatementPart text. */
|
|
28027
|
+
public text: string;
|
|
28028
|
+
|
|
28029
|
+
/** InThreadSurveyPrivacyStatementPart url. */
|
|
28030
|
+
public url: string;
|
|
28031
|
+
|
|
28032
|
+
/**
|
|
28033
|
+
* Creates a new InThreadSurveyPrivacyStatementPart instance using the specified properties.
|
|
28034
|
+
* @param [properties] Properties to set
|
|
28035
|
+
* @returns InThreadSurveyPrivacyStatementPart instance
|
|
28036
|
+
*/
|
|
28037
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
28038
|
+
|
|
28039
|
+
/**
|
|
28040
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
28041
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
28042
|
+
* @param [writer] Writer to encode to
|
|
28043
|
+
* @returns Writer
|
|
28044
|
+
*/
|
|
28045
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28046
|
+
|
|
28047
|
+
/**
|
|
28048
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
28049
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
28050
|
+
* @param [writer] Writer to encode to
|
|
28051
|
+
* @returns Writer
|
|
28052
|
+
*/
|
|
28053
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28054
|
+
|
|
28055
|
+
/**
|
|
28056
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer.
|
|
28057
|
+
* @param reader Reader or buffer to decode from
|
|
28058
|
+
* @param [length] Message length if known beforehand
|
|
28059
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
28060
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28061
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28062
|
+
*/
|
|
28063
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
28064
|
+
|
|
28065
|
+
/**
|
|
28066
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer, length delimited.
|
|
28067
|
+
* @param reader Reader or buffer to decode from
|
|
28068
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
28069
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28070
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28071
|
+
*/
|
|
28072
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
28073
|
+
|
|
28074
|
+
/**
|
|
28075
|
+
* Verifies an InThreadSurveyPrivacyStatementPart message.
|
|
28076
|
+
* @param message Plain object to verify
|
|
28077
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28078
|
+
*/
|
|
28079
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
28080
|
+
|
|
28081
|
+
/**
|
|
28082
|
+
* Creates an InThreadSurveyPrivacyStatementPart message from a plain object. Also converts values to their respective internal types.
|
|
28083
|
+
* @param object Plain object
|
|
28084
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
28085
|
+
*/
|
|
28086
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
28087
|
+
|
|
28088
|
+
/**
|
|
28089
|
+
* Creates a plain object from an InThreadSurveyPrivacyStatementPart message. Also converts values to other types if specified.
|
|
28090
|
+
* @param message InThreadSurveyPrivacyStatementPart
|
|
28091
|
+
* @param [options] Conversion options
|
|
28092
|
+
* @returns Plain object
|
|
28093
|
+
*/
|
|
28094
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
28095
|
+
|
|
28096
|
+
/**
|
|
28097
|
+
* Converts this InThreadSurveyPrivacyStatementPart to JSON.
|
|
28098
|
+
* @returns JSON object
|
|
28099
|
+
*/
|
|
28100
|
+
public toJSON(): { [k: string]: any };
|
|
28101
|
+
|
|
28102
|
+
/**
|
|
28103
|
+
* Gets the default type url for InThreadSurveyPrivacyStatementPart
|
|
28104
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
28105
|
+
* @returns The default type url
|
|
28106
|
+
*/
|
|
28107
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28108
|
+
}
|
|
28109
|
+
|
|
28110
|
+
/** Properties of an InThreadSurveyQuestion. */
|
|
28111
|
+
interface IInThreadSurveyQuestion {
|
|
28112
|
+
|
|
28113
|
+
/** InThreadSurveyQuestion questionText */
|
|
28114
|
+
questionText?: (string|null);
|
|
28115
|
+
|
|
28116
|
+
/** InThreadSurveyQuestion questionId */
|
|
28117
|
+
questionId?: (string|null);
|
|
28118
|
+
|
|
28119
|
+
/** InThreadSurveyQuestion questionOptions */
|
|
28120
|
+
questionOptions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[]|null);
|
|
28121
|
+
}
|
|
28122
|
+
|
|
28123
|
+
/** Represents an InThreadSurveyQuestion. */
|
|
28124
|
+
class InThreadSurveyQuestion implements IInThreadSurveyQuestion {
|
|
28125
|
+
|
|
28126
|
+
/**
|
|
28127
|
+
* Constructs a new InThreadSurveyQuestion.
|
|
28128
|
+
* @param [properties] Properties to set
|
|
28129
|
+
*/
|
|
28130
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion);
|
|
28131
|
+
|
|
28132
|
+
/** InThreadSurveyQuestion questionText. */
|
|
28133
|
+
public questionText: string;
|
|
28134
|
+
|
|
28135
|
+
/** InThreadSurveyQuestion questionId. */
|
|
28136
|
+
public questionId: string;
|
|
28137
|
+
|
|
28138
|
+
/** InThreadSurveyQuestion questionOptions. */
|
|
28139
|
+
public questionOptions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[];
|
|
28140
|
+
|
|
28141
|
+
/**
|
|
28142
|
+
* Creates a new InThreadSurveyQuestion instance using the specified properties.
|
|
28143
|
+
* @param [properties] Properties to set
|
|
28144
|
+
* @returns InThreadSurveyQuestion instance
|
|
28145
|
+
*/
|
|
28146
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
28147
|
+
|
|
28148
|
+
/**
|
|
28149
|
+
* Encodes the specified InThreadSurveyQuestion message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
28150
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
28151
|
+
* @param [writer] Writer to encode to
|
|
28152
|
+
* @returns Writer
|
|
28153
|
+
*/
|
|
28154
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28155
|
+
|
|
28156
|
+
/**
|
|
28157
|
+
* Encodes the specified InThreadSurveyQuestion message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
28158
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
28159
|
+
* @param [writer] Writer to encode to
|
|
28160
|
+
* @returns Writer
|
|
28161
|
+
*/
|
|
28162
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
28163
|
+
|
|
28164
|
+
/**
|
|
28165
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer.
|
|
28166
|
+
* @param reader Reader or buffer to decode from
|
|
28167
|
+
* @param [length] Message length if known beforehand
|
|
28168
|
+
* @returns InThreadSurveyQuestion
|
|
28169
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28170
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28171
|
+
*/
|
|
28172
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
28173
|
+
|
|
28174
|
+
/**
|
|
28175
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer, length delimited.
|
|
28176
|
+
* @param reader Reader or buffer to decode from
|
|
28177
|
+
* @returns InThreadSurveyQuestion
|
|
28178
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28179
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28180
|
+
*/
|
|
28181
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
28182
|
+
|
|
28183
|
+
/**
|
|
28184
|
+
* Verifies an InThreadSurveyQuestion message.
|
|
28185
|
+
* @param message Plain object to verify
|
|
28186
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28187
|
+
*/
|
|
28188
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
28189
|
+
|
|
28190
|
+
/**
|
|
28191
|
+
* Creates an InThreadSurveyQuestion message from a plain object. Also converts values to their respective internal types.
|
|
28192
|
+
* @param object Plain object
|
|
28193
|
+
* @returns InThreadSurveyQuestion
|
|
28194
|
+
*/
|
|
28195
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
28196
|
+
|
|
28197
|
+
/**
|
|
28198
|
+
* Creates a plain object from an InThreadSurveyQuestion message. Also converts values to other types if specified.
|
|
28199
|
+
* @param message InThreadSurveyQuestion
|
|
28200
|
+
* @param [options] Conversion options
|
|
28201
|
+
* @returns Plain object
|
|
28202
|
+
*/
|
|
28203
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
28204
|
+
|
|
28205
|
+
/**
|
|
28206
|
+
* Converts this InThreadSurveyQuestion to JSON.
|
|
28207
|
+
* @returns JSON object
|
|
28208
|
+
*/
|
|
28209
|
+
public toJSON(): { [k: string]: any };
|
|
28210
|
+
|
|
28211
|
+
/**
|
|
28212
|
+
* Gets the default type url for InThreadSurveyQuestion
|
|
28213
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
28214
|
+
* @returns The default type url
|
|
28215
|
+
*/
|
|
28216
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28217
|
+
}
|
|
28218
|
+
}
|
|
28219
|
+
|
|
27658
28220
|
/** Properties of a BotSourcesMetadata. */
|
|
27659
28221
|
interface IBotSourcesMetadata {
|
|
27660
28222
|
|
|
@@ -30205,7 +30767,8 @@ export namespace BotMetadata {
|
|
|
30205
30767
|
/** BotPromotionType enum. */
|
|
30206
30768
|
enum BotPromotionType {
|
|
30207
30769
|
UNKNOWN_TYPE = 0,
|
|
30208
|
-
C50 = 1
|
|
30770
|
+
C50 = 1,
|
|
30771
|
+
SURVEY_PLATFORM = 2
|
|
30209
30772
|
}
|
|
30210
30773
|
}
|
|
30211
30774
|
|
|
@@ -32126,7 +32689,8 @@ export namespace StatusAttributions {
|
|
|
32126
32689
|
enum Source {
|
|
32127
32690
|
UNKNOWN = 0,
|
|
32128
32691
|
RAY_BAN_META_GLASSES = 1,
|
|
32129
|
-
OAKLEY_META_GLASSES = 2
|
|
32692
|
+
OAKLEY_META_GLASSES = 2,
|
|
32693
|
+
HYPERNOVA_GLASSES = 3
|
|
32130
32694
|
}
|
|
32131
32695
|
}
|
|
32132
32696
|
|