sanka-baileyss 2.3.2 → 2.3.4
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/Group/sender-key-record.js +23 -28
- 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 -66
- 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
|
@@ -493,6 +493,9 @@ export namespace HistorySync {
|
|
|
493
493
|
/** StickerMetadata isLottie */
|
|
494
494
|
isLottie?: (boolean|null);
|
|
495
495
|
|
|
496
|
+
/** StickerMetadata imageHash */
|
|
497
|
+
imageHash?: (string|null);
|
|
498
|
+
|
|
496
499
|
/** StickerMetadata isAvatarSticker */
|
|
497
500
|
isAvatarSticker?: (boolean|null);
|
|
498
501
|
}
|
|
@@ -542,6 +545,9 @@ export namespace HistorySync {
|
|
|
542
545
|
/** StickerMetadata isLottie. */
|
|
543
546
|
public isLottie: boolean;
|
|
544
547
|
|
|
548
|
+
/** StickerMetadata imageHash. */
|
|
549
|
+
public imageHash: string;
|
|
550
|
+
|
|
545
551
|
/** StickerMetadata isAvatarSticker. */
|
|
546
552
|
public isAvatarSticker: boolean;
|
|
547
553
|
|
|
@@ -9681,6 +9687,9 @@ export namespace E2E {
|
|
|
9681
9687
|
|
|
9682
9688
|
/** ExternalAdReplyInfo wtwaWebsiteUrl */
|
|
9683
9689
|
wtwaWebsiteUrl?: (string|null);
|
|
9690
|
+
|
|
9691
|
+
/** ExternalAdReplyInfo adPreviewUrl */
|
|
9692
|
+
adPreviewUrl?: (string|null);
|
|
9684
9693
|
}
|
|
9685
9694
|
|
|
9686
9695
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -9770,6 +9779,9 @@ export namespace E2E {
|
|
|
9770
9779
|
/** ExternalAdReplyInfo wtwaWebsiteUrl. */
|
|
9771
9780
|
public wtwaWebsiteUrl: string;
|
|
9772
9781
|
|
|
9782
|
+
/** ExternalAdReplyInfo adPreviewUrl. */
|
|
9783
|
+
public adPreviewUrl: string;
|
|
9784
|
+
|
|
9773
9785
|
/**
|
|
9774
9786
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
9775
9787
|
* @param [properties] Properties to set
|
|
@@ -17770,6 +17782,9 @@ export namespace E2E {
|
|
|
17770
17782
|
|
|
17771
17783
|
/** CarouselMessage messageVersion */
|
|
17772
17784
|
messageVersion?: (number|null);
|
|
17785
|
+
|
|
17786
|
+
/** CarouselMessage carouselCardType */
|
|
17787
|
+
carouselCardType?: (E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType|null);
|
|
17773
17788
|
}
|
|
17774
17789
|
|
|
17775
17790
|
/** Represents a CarouselMessage. */
|
|
@@ -17787,6 +17802,9 @@ export namespace E2E {
|
|
|
17787
17802
|
/** CarouselMessage messageVersion. */
|
|
17788
17803
|
public messageVersion: number;
|
|
17789
17804
|
|
|
17805
|
+
/** CarouselMessage carouselCardType. */
|
|
17806
|
+
public carouselCardType: E2E.Message.InteractiveMessage.CarouselMessage.CarouselCardType;
|
|
17807
|
+
|
|
17790
17808
|
/**
|
|
17791
17809
|
* Creates a new CarouselMessage instance using the specified properties.
|
|
17792
17810
|
* @param [properties] Properties to set
|
|
@@ -17865,6 +17883,15 @@ export namespace E2E {
|
|
|
17865
17883
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
17866
17884
|
}
|
|
17867
17885
|
|
|
17886
|
+
namespace CarouselMessage {
|
|
17887
|
+
|
|
17888
|
+
/** CarouselCardType enum. */
|
|
17889
|
+
enum CarouselCardType {
|
|
17890
|
+
DEFAULT = 0,
|
|
17891
|
+
ALBUM = 1
|
|
17892
|
+
}
|
|
17893
|
+
}
|
|
17894
|
+
|
|
17868
17895
|
/** Properties of a CollectionMessage. */
|
|
17869
17896
|
interface ICollectionMessage {
|
|
17870
17897
|
|
|
@@ -20901,8 +20928,8 @@ export namespace E2E {
|
|
|
20901
20928
|
/** MessageHistoryMetadata historyReceivers */
|
|
20902
20929
|
historyReceivers?: (string[]|null);
|
|
20903
20930
|
|
|
20904
|
-
/** MessageHistoryMetadata
|
|
20905
|
-
|
|
20931
|
+
/** MessageHistoryMetadata oldestMessageTimestamp */
|
|
20932
|
+
oldestMessageTimestamp?: (number|Long|null);
|
|
20906
20933
|
|
|
20907
20934
|
/** MessageHistoryMetadata messageCount */
|
|
20908
20935
|
messageCount?: (number|Long|null);
|
|
@@ -20920,8 +20947,8 @@ export namespace E2E {
|
|
|
20920
20947
|
/** MessageHistoryMetadata historyReceivers. */
|
|
20921
20948
|
public historyReceivers: string[];
|
|
20922
20949
|
|
|
20923
|
-
/** MessageHistoryMetadata
|
|
20924
|
-
public
|
|
20950
|
+
/** MessageHistoryMetadata oldestMessageTimestamp. */
|
|
20951
|
+
public oldestMessageTimestamp: (number|Long);
|
|
20925
20952
|
|
|
20926
20953
|
/** MessageHistoryMetadata messageCount. */
|
|
20927
20954
|
public messageCount: (number|Long);
|
|
@@ -22985,6 +23012,12 @@ export namespace E2E {
|
|
|
22985
23012
|
|
|
22986
23013
|
/** CompanionCanonicalUserNonceFetchResponse nonce */
|
|
22987
23014
|
nonce?: (string|null);
|
|
23015
|
+
|
|
23016
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid */
|
|
23017
|
+
waFbid?: (string|null);
|
|
23018
|
+
|
|
23019
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh */
|
|
23020
|
+
forceRefresh?: (boolean|null);
|
|
22988
23021
|
}
|
|
22989
23022
|
|
|
22990
23023
|
/** Represents a CompanionCanonicalUserNonceFetchResponse. */
|
|
@@ -22999,6 +23032,12 @@ export namespace E2E {
|
|
|
22999
23032
|
/** CompanionCanonicalUserNonceFetchResponse nonce. */
|
|
23000
23033
|
public nonce: string;
|
|
23001
23034
|
|
|
23035
|
+
/** CompanionCanonicalUserNonceFetchResponse waFbid. */
|
|
23036
|
+
public waFbid: string;
|
|
23037
|
+
|
|
23038
|
+
/** CompanionCanonicalUserNonceFetchResponse forceRefresh. */
|
|
23039
|
+
public forceRefresh: boolean;
|
|
23040
|
+
|
|
23002
23041
|
/**
|
|
23003
23042
|
* Creates a new CompanionCanonicalUserNonceFetchResponse instance using the specified properties.
|
|
23004
23043
|
* @param [properties] Properties to set
|
|
@@ -26679,6 +26718,9 @@ export namespace E2E {
|
|
|
26679
26718
|
|
|
26680
26719
|
/** SendPaymentMessage background */
|
|
26681
26720
|
background?: (E2E.IPaymentBackground|null);
|
|
26721
|
+
|
|
26722
|
+
/** SendPaymentMessage transactionData */
|
|
26723
|
+
transactionData?: (string|null);
|
|
26682
26724
|
}
|
|
26683
26725
|
|
|
26684
26726
|
/** Represents a SendPaymentMessage. */
|
|
@@ -26699,6 +26741,9 @@ export namespace E2E {
|
|
|
26699
26741
|
/** SendPaymentMessage background. */
|
|
26700
26742
|
public background?: (E2E.IPaymentBackground|null);
|
|
26701
26743
|
|
|
26744
|
+
/** SendPaymentMessage transactionData. */
|
|
26745
|
+
public transactionData: string;
|
|
26746
|
+
|
|
26702
26747
|
/**
|
|
26703
26748
|
* Creates a new SendPaymentMessage instance using the specified properties.
|
|
26704
26749
|
* @param [properties] Properties to set
|
|
@@ -29776,6 +29821,9 @@ export namespace BotMetadata {
|
|
|
29776
29821
|
|
|
29777
29822
|
/** BotMetadata botMessageOriginMetadata */
|
|
29778
29823
|
botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
29824
|
+
|
|
29825
|
+
/** BotMetadata inThreadSurveyMetadata */
|
|
29826
|
+
inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
29779
29827
|
}
|
|
29780
29828
|
|
|
29781
29829
|
/** Represents a BotMetadata. */
|
|
@@ -29874,6 +29922,9 @@ export namespace BotMetadata {
|
|
|
29874
29922
|
/** BotMetadata botMessageOriginMetadata. */
|
|
29875
29923
|
public botMessageOriginMetadata?: (BotMetadata.IBotMessageOriginMetadata|null);
|
|
29876
29924
|
|
|
29925
|
+
/** BotMetadata inThreadSurveyMetadata. */
|
|
29926
|
+
public inThreadSurveyMetadata?: (BotMetadata.IInThreadSurveyMetadata|null);
|
|
29927
|
+
|
|
29877
29928
|
/**
|
|
29878
29929
|
* Creates a new BotMetadata instance using the specified properties.
|
|
29879
29930
|
* @param [properties] Properties to set
|
|
@@ -30351,6 +30402,523 @@ export namespace BotMetadata {
|
|
|
30351
30402
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30352
30403
|
}
|
|
30353
30404
|
|
|
30405
|
+
/** Properties of an InThreadSurveyMetadata. */
|
|
30406
|
+
interface IInThreadSurveyMetadata {
|
|
30407
|
+
|
|
30408
|
+
/** InThreadSurveyMetadata tessaSessionId */
|
|
30409
|
+
tessaSessionId?: (string|null);
|
|
30410
|
+
|
|
30411
|
+
/** InThreadSurveyMetadata simonSessionId */
|
|
30412
|
+
simonSessionId?: (string|null);
|
|
30413
|
+
|
|
30414
|
+
/** InThreadSurveyMetadata simonSurveyId */
|
|
30415
|
+
simonSurveyId?: (string|null);
|
|
30416
|
+
|
|
30417
|
+
/** InThreadSurveyMetadata tessaRootId */
|
|
30418
|
+
tessaRootId?: (string|null);
|
|
30419
|
+
|
|
30420
|
+
/** InThreadSurveyMetadata requestId */
|
|
30421
|
+
requestId?: (string|null);
|
|
30422
|
+
|
|
30423
|
+
/** InThreadSurveyMetadata tessaEvent */
|
|
30424
|
+
tessaEvent?: (string|null);
|
|
30425
|
+
|
|
30426
|
+
/** InThreadSurveyMetadata invitationHeaderText */
|
|
30427
|
+
invitationHeaderText?: (string|null);
|
|
30428
|
+
|
|
30429
|
+
/** InThreadSurveyMetadata invitationBodyText */
|
|
30430
|
+
invitationBodyText?: (string|null);
|
|
30431
|
+
|
|
30432
|
+
/** InThreadSurveyMetadata invitationCtaText */
|
|
30433
|
+
invitationCtaText?: (string|null);
|
|
30434
|
+
|
|
30435
|
+
/** InThreadSurveyMetadata invitationCtaUrl */
|
|
30436
|
+
invitationCtaUrl?: (string|null);
|
|
30437
|
+
|
|
30438
|
+
/** InThreadSurveyMetadata surveyTitle */
|
|
30439
|
+
surveyTitle?: (string|null);
|
|
30440
|
+
|
|
30441
|
+
/** InThreadSurveyMetadata questions */
|
|
30442
|
+
questions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[]|null);
|
|
30443
|
+
|
|
30444
|
+
/** InThreadSurveyMetadata surveyContinueButtonText */
|
|
30445
|
+
surveyContinueButtonText?: (string|null);
|
|
30446
|
+
|
|
30447
|
+
/** InThreadSurveyMetadata surveySubmitButtonText */
|
|
30448
|
+
surveySubmitButtonText?: (string|null);
|
|
30449
|
+
|
|
30450
|
+
/** InThreadSurveyMetadata privacyStatementFull */
|
|
30451
|
+
privacyStatementFull?: (string|null);
|
|
30452
|
+
|
|
30453
|
+
/** InThreadSurveyMetadata privacyStatementParts */
|
|
30454
|
+
privacyStatementParts?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[]|null);
|
|
30455
|
+
|
|
30456
|
+
/** InThreadSurveyMetadata feedbackToastText */
|
|
30457
|
+
feedbackToastText?: (string|null);
|
|
30458
|
+
}
|
|
30459
|
+
|
|
30460
|
+
/** Represents an InThreadSurveyMetadata. */
|
|
30461
|
+
class InThreadSurveyMetadata implements IInThreadSurveyMetadata {
|
|
30462
|
+
|
|
30463
|
+
/**
|
|
30464
|
+
* Constructs a new InThreadSurveyMetadata.
|
|
30465
|
+
* @param [properties] Properties to set
|
|
30466
|
+
*/
|
|
30467
|
+
constructor(properties?: BotMetadata.IInThreadSurveyMetadata);
|
|
30468
|
+
|
|
30469
|
+
/** InThreadSurveyMetadata tessaSessionId. */
|
|
30470
|
+
public tessaSessionId: string;
|
|
30471
|
+
|
|
30472
|
+
/** InThreadSurveyMetadata simonSessionId. */
|
|
30473
|
+
public simonSessionId: string;
|
|
30474
|
+
|
|
30475
|
+
/** InThreadSurveyMetadata simonSurveyId. */
|
|
30476
|
+
public simonSurveyId: string;
|
|
30477
|
+
|
|
30478
|
+
/** InThreadSurveyMetadata tessaRootId. */
|
|
30479
|
+
public tessaRootId: string;
|
|
30480
|
+
|
|
30481
|
+
/** InThreadSurveyMetadata requestId. */
|
|
30482
|
+
public requestId: string;
|
|
30483
|
+
|
|
30484
|
+
/** InThreadSurveyMetadata tessaEvent. */
|
|
30485
|
+
public tessaEvent: string;
|
|
30486
|
+
|
|
30487
|
+
/** InThreadSurveyMetadata invitationHeaderText. */
|
|
30488
|
+
public invitationHeaderText: string;
|
|
30489
|
+
|
|
30490
|
+
/** InThreadSurveyMetadata invitationBodyText. */
|
|
30491
|
+
public invitationBodyText: string;
|
|
30492
|
+
|
|
30493
|
+
/** InThreadSurveyMetadata invitationCtaText. */
|
|
30494
|
+
public invitationCtaText: string;
|
|
30495
|
+
|
|
30496
|
+
/** InThreadSurveyMetadata invitationCtaUrl. */
|
|
30497
|
+
public invitationCtaUrl: string;
|
|
30498
|
+
|
|
30499
|
+
/** InThreadSurveyMetadata surveyTitle. */
|
|
30500
|
+
public surveyTitle: string;
|
|
30501
|
+
|
|
30502
|
+
/** InThreadSurveyMetadata questions. */
|
|
30503
|
+
public questions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion[];
|
|
30504
|
+
|
|
30505
|
+
/** InThreadSurveyMetadata surveyContinueButtonText. */
|
|
30506
|
+
public surveyContinueButtonText: string;
|
|
30507
|
+
|
|
30508
|
+
/** InThreadSurveyMetadata surveySubmitButtonText. */
|
|
30509
|
+
public surveySubmitButtonText: string;
|
|
30510
|
+
|
|
30511
|
+
/** InThreadSurveyMetadata privacyStatementFull. */
|
|
30512
|
+
public privacyStatementFull: string;
|
|
30513
|
+
|
|
30514
|
+
/** InThreadSurveyMetadata privacyStatementParts. */
|
|
30515
|
+
public privacyStatementParts: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart[];
|
|
30516
|
+
|
|
30517
|
+
/** InThreadSurveyMetadata feedbackToastText. */
|
|
30518
|
+
public feedbackToastText: string;
|
|
30519
|
+
|
|
30520
|
+
/**
|
|
30521
|
+
* Creates a new InThreadSurveyMetadata instance using the specified properties.
|
|
30522
|
+
* @param [properties] Properties to set
|
|
30523
|
+
* @returns InThreadSurveyMetadata instance
|
|
30524
|
+
*/
|
|
30525
|
+
public static create(properties?: BotMetadata.IInThreadSurveyMetadata): BotMetadata.InThreadSurveyMetadata;
|
|
30526
|
+
|
|
30527
|
+
/**
|
|
30528
|
+
* Encodes the specified InThreadSurveyMetadata message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
30529
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
30530
|
+
* @param [writer] Writer to encode to
|
|
30531
|
+
* @returns Writer
|
|
30532
|
+
*/
|
|
30533
|
+
public static encode(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30534
|
+
|
|
30535
|
+
/**
|
|
30536
|
+
* Encodes the specified InThreadSurveyMetadata message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.verify|verify} messages.
|
|
30537
|
+
* @param message InThreadSurveyMetadata message or plain object to encode
|
|
30538
|
+
* @param [writer] Writer to encode to
|
|
30539
|
+
* @returns Writer
|
|
30540
|
+
*/
|
|
30541
|
+
public static encodeDelimited(message: BotMetadata.IInThreadSurveyMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30542
|
+
|
|
30543
|
+
/**
|
|
30544
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer.
|
|
30545
|
+
* @param reader Reader or buffer to decode from
|
|
30546
|
+
* @param [length] Message length if known beforehand
|
|
30547
|
+
* @returns InThreadSurveyMetadata
|
|
30548
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30549
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30550
|
+
*/
|
|
30551
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata;
|
|
30552
|
+
|
|
30553
|
+
/**
|
|
30554
|
+
* Decodes an InThreadSurveyMetadata message from the specified reader or buffer, length delimited.
|
|
30555
|
+
* @param reader Reader or buffer to decode from
|
|
30556
|
+
* @returns InThreadSurveyMetadata
|
|
30557
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30558
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30559
|
+
*/
|
|
30560
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata;
|
|
30561
|
+
|
|
30562
|
+
/**
|
|
30563
|
+
* Verifies an InThreadSurveyMetadata message.
|
|
30564
|
+
* @param message Plain object to verify
|
|
30565
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30566
|
+
*/
|
|
30567
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30568
|
+
|
|
30569
|
+
/**
|
|
30570
|
+
* Creates an InThreadSurveyMetadata message from a plain object. Also converts values to their respective internal types.
|
|
30571
|
+
* @param object Plain object
|
|
30572
|
+
* @returns InThreadSurveyMetadata
|
|
30573
|
+
*/
|
|
30574
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata;
|
|
30575
|
+
|
|
30576
|
+
/**
|
|
30577
|
+
* Creates a plain object from an InThreadSurveyMetadata message. Also converts values to other types if specified.
|
|
30578
|
+
* @param message InThreadSurveyMetadata
|
|
30579
|
+
* @param [options] Conversion options
|
|
30580
|
+
* @returns Plain object
|
|
30581
|
+
*/
|
|
30582
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30583
|
+
|
|
30584
|
+
/**
|
|
30585
|
+
* Converts this InThreadSurveyMetadata to JSON.
|
|
30586
|
+
* @returns JSON object
|
|
30587
|
+
*/
|
|
30588
|
+
public toJSON(): { [k: string]: any };
|
|
30589
|
+
|
|
30590
|
+
/**
|
|
30591
|
+
* Gets the default type url for InThreadSurveyMetadata
|
|
30592
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30593
|
+
* @returns The default type url
|
|
30594
|
+
*/
|
|
30595
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30596
|
+
}
|
|
30597
|
+
|
|
30598
|
+
namespace InThreadSurveyMetadata {
|
|
30599
|
+
|
|
30600
|
+
/** Properties of an InThreadSurveyOption. */
|
|
30601
|
+
interface IInThreadSurveyOption {
|
|
30602
|
+
|
|
30603
|
+
/** InThreadSurveyOption stringValue */
|
|
30604
|
+
stringValue?: (string|null);
|
|
30605
|
+
|
|
30606
|
+
/** InThreadSurveyOption numericValue */
|
|
30607
|
+
numericValue?: (number|null);
|
|
30608
|
+
|
|
30609
|
+
/** InThreadSurveyOption textTranslated */
|
|
30610
|
+
textTranslated?: (string|null);
|
|
30611
|
+
}
|
|
30612
|
+
|
|
30613
|
+
/** Represents an InThreadSurveyOption. */
|
|
30614
|
+
class InThreadSurveyOption implements IInThreadSurveyOption {
|
|
30615
|
+
|
|
30616
|
+
/**
|
|
30617
|
+
* Constructs a new InThreadSurveyOption.
|
|
30618
|
+
* @param [properties] Properties to set
|
|
30619
|
+
*/
|
|
30620
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption);
|
|
30621
|
+
|
|
30622
|
+
/** InThreadSurveyOption stringValue. */
|
|
30623
|
+
public stringValue: string;
|
|
30624
|
+
|
|
30625
|
+
/** InThreadSurveyOption numericValue. */
|
|
30626
|
+
public numericValue: number;
|
|
30627
|
+
|
|
30628
|
+
/** InThreadSurveyOption textTranslated. */
|
|
30629
|
+
public textTranslated: string;
|
|
30630
|
+
|
|
30631
|
+
/**
|
|
30632
|
+
* Creates a new InThreadSurveyOption instance using the specified properties.
|
|
30633
|
+
* @param [properties] Properties to set
|
|
30634
|
+
* @returns InThreadSurveyOption instance
|
|
30635
|
+
*/
|
|
30636
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
30637
|
+
|
|
30638
|
+
/**
|
|
30639
|
+
* Encodes the specified InThreadSurveyOption message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
30640
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
30641
|
+
* @param [writer] Writer to encode to
|
|
30642
|
+
* @returns Writer
|
|
30643
|
+
*/
|
|
30644
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30645
|
+
|
|
30646
|
+
/**
|
|
30647
|
+
* Encodes the specified InThreadSurveyOption message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption.verify|verify} messages.
|
|
30648
|
+
* @param message InThreadSurveyOption message or plain object to encode
|
|
30649
|
+
* @param [writer] Writer to encode to
|
|
30650
|
+
* @returns Writer
|
|
30651
|
+
*/
|
|
30652
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30653
|
+
|
|
30654
|
+
/**
|
|
30655
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer.
|
|
30656
|
+
* @param reader Reader or buffer to decode from
|
|
30657
|
+
* @param [length] Message length if known beforehand
|
|
30658
|
+
* @returns InThreadSurveyOption
|
|
30659
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30660
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30661
|
+
*/
|
|
30662
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
30663
|
+
|
|
30664
|
+
/**
|
|
30665
|
+
* Decodes an InThreadSurveyOption message from the specified reader or buffer, length delimited.
|
|
30666
|
+
* @param reader Reader or buffer to decode from
|
|
30667
|
+
* @returns InThreadSurveyOption
|
|
30668
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30669
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30670
|
+
*/
|
|
30671
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
30672
|
+
|
|
30673
|
+
/**
|
|
30674
|
+
* Verifies an InThreadSurveyOption message.
|
|
30675
|
+
* @param message Plain object to verify
|
|
30676
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30677
|
+
*/
|
|
30678
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30679
|
+
|
|
30680
|
+
/**
|
|
30681
|
+
* Creates an InThreadSurveyOption message from a plain object. Also converts values to their respective internal types.
|
|
30682
|
+
* @param object Plain object
|
|
30683
|
+
* @returns InThreadSurveyOption
|
|
30684
|
+
*/
|
|
30685
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption;
|
|
30686
|
+
|
|
30687
|
+
/**
|
|
30688
|
+
* Creates a plain object from an InThreadSurveyOption message. Also converts values to other types if specified.
|
|
30689
|
+
* @param message InThreadSurveyOption
|
|
30690
|
+
* @param [options] Conversion options
|
|
30691
|
+
* @returns Plain object
|
|
30692
|
+
*/
|
|
30693
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30694
|
+
|
|
30695
|
+
/**
|
|
30696
|
+
* Converts this InThreadSurveyOption to JSON.
|
|
30697
|
+
* @returns JSON object
|
|
30698
|
+
*/
|
|
30699
|
+
public toJSON(): { [k: string]: any };
|
|
30700
|
+
|
|
30701
|
+
/**
|
|
30702
|
+
* Gets the default type url for InThreadSurveyOption
|
|
30703
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30704
|
+
* @returns The default type url
|
|
30705
|
+
*/
|
|
30706
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30707
|
+
}
|
|
30708
|
+
|
|
30709
|
+
/** Properties of an InThreadSurveyPrivacyStatementPart. */
|
|
30710
|
+
interface IInThreadSurveyPrivacyStatementPart {
|
|
30711
|
+
|
|
30712
|
+
/** InThreadSurveyPrivacyStatementPart text */
|
|
30713
|
+
text?: (string|null);
|
|
30714
|
+
|
|
30715
|
+
/** InThreadSurveyPrivacyStatementPart url */
|
|
30716
|
+
url?: (string|null);
|
|
30717
|
+
}
|
|
30718
|
+
|
|
30719
|
+
/** Represents an InThreadSurveyPrivacyStatementPart. */
|
|
30720
|
+
class InThreadSurveyPrivacyStatementPart implements IInThreadSurveyPrivacyStatementPart {
|
|
30721
|
+
|
|
30722
|
+
/**
|
|
30723
|
+
* Constructs a new InThreadSurveyPrivacyStatementPart.
|
|
30724
|
+
* @param [properties] Properties to set
|
|
30725
|
+
*/
|
|
30726
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart);
|
|
30727
|
+
|
|
30728
|
+
/** InThreadSurveyPrivacyStatementPart text. */
|
|
30729
|
+
public text: string;
|
|
30730
|
+
|
|
30731
|
+
/** InThreadSurveyPrivacyStatementPart url. */
|
|
30732
|
+
public url: string;
|
|
30733
|
+
|
|
30734
|
+
/**
|
|
30735
|
+
* Creates a new InThreadSurveyPrivacyStatementPart instance using the specified properties.
|
|
30736
|
+
* @param [properties] Properties to set
|
|
30737
|
+
* @returns InThreadSurveyPrivacyStatementPart instance
|
|
30738
|
+
*/
|
|
30739
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
30740
|
+
|
|
30741
|
+
/**
|
|
30742
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
30743
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
30744
|
+
* @param [writer] Writer to encode to
|
|
30745
|
+
* @returns Writer
|
|
30746
|
+
*/
|
|
30747
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30748
|
+
|
|
30749
|
+
/**
|
|
30750
|
+
* Encodes the specified InThreadSurveyPrivacyStatementPart message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart.verify|verify} messages.
|
|
30751
|
+
* @param message InThreadSurveyPrivacyStatementPart message or plain object to encode
|
|
30752
|
+
* @param [writer] Writer to encode to
|
|
30753
|
+
* @returns Writer
|
|
30754
|
+
*/
|
|
30755
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyPrivacyStatementPart, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30756
|
+
|
|
30757
|
+
/**
|
|
30758
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer.
|
|
30759
|
+
* @param reader Reader or buffer to decode from
|
|
30760
|
+
* @param [length] Message length if known beforehand
|
|
30761
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
30762
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30763
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30764
|
+
*/
|
|
30765
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
30766
|
+
|
|
30767
|
+
/**
|
|
30768
|
+
* Decodes an InThreadSurveyPrivacyStatementPart message from the specified reader or buffer, length delimited.
|
|
30769
|
+
* @param reader Reader or buffer to decode from
|
|
30770
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
30771
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30772
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30773
|
+
*/
|
|
30774
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
30775
|
+
|
|
30776
|
+
/**
|
|
30777
|
+
* Verifies an InThreadSurveyPrivacyStatementPart message.
|
|
30778
|
+
* @param message Plain object to verify
|
|
30779
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30780
|
+
*/
|
|
30781
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30782
|
+
|
|
30783
|
+
/**
|
|
30784
|
+
* Creates an InThreadSurveyPrivacyStatementPart message from a plain object. Also converts values to their respective internal types.
|
|
30785
|
+
* @param object Plain object
|
|
30786
|
+
* @returns InThreadSurveyPrivacyStatementPart
|
|
30787
|
+
*/
|
|
30788
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart;
|
|
30789
|
+
|
|
30790
|
+
/**
|
|
30791
|
+
* Creates a plain object from an InThreadSurveyPrivacyStatementPart message. Also converts values to other types if specified.
|
|
30792
|
+
* @param message InThreadSurveyPrivacyStatementPart
|
|
30793
|
+
* @param [options] Conversion options
|
|
30794
|
+
* @returns Plain object
|
|
30795
|
+
*/
|
|
30796
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyPrivacyStatementPart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30797
|
+
|
|
30798
|
+
/**
|
|
30799
|
+
* Converts this InThreadSurveyPrivacyStatementPart to JSON.
|
|
30800
|
+
* @returns JSON object
|
|
30801
|
+
*/
|
|
30802
|
+
public toJSON(): { [k: string]: any };
|
|
30803
|
+
|
|
30804
|
+
/**
|
|
30805
|
+
* Gets the default type url for InThreadSurveyPrivacyStatementPart
|
|
30806
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30807
|
+
* @returns The default type url
|
|
30808
|
+
*/
|
|
30809
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30810
|
+
}
|
|
30811
|
+
|
|
30812
|
+
/** Properties of an InThreadSurveyQuestion. */
|
|
30813
|
+
interface IInThreadSurveyQuestion {
|
|
30814
|
+
|
|
30815
|
+
/** InThreadSurveyQuestion questionText */
|
|
30816
|
+
questionText?: (string|null);
|
|
30817
|
+
|
|
30818
|
+
/** InThreadSurveyQuestion questionId */
|
|
30819
|
+
questionId?: (string|null);
|
|
30820
|
+
|
|
30821
|
+
/** InThreadSurveyQuestion questionOptions */
|
|
30822
|
+
questionOptions?: (BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[]|null);
|
|
30823
|
+
}
|
|
30824
|
+
|
|
30825
|
+
/** Represents an InThreadSurveyQuestion. */
|
|
30826
|
+
class InThreadSurveyQuestion implements IInThreadSurveyQuestion {
|
|
30827
|
+
|
|
30828
|
+
/**
|
|
30829
|
+
* Constructs a new InThreadSurveyQuestion.
|
|
30830
|
+
* @param [properties] Properties to set
|
|
30831
|
+
*/
|
|
30832
|
+
constructor(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion);
|
|
30833
|
+
|
|
30834
|
+
/** InThreadSurveyQuestion questionText. */
|
|
30835
|
+
public questionText: string;
|
|
30836
|
+
|
|
30837
|
+
/** InThreadSurveyQuestion questionId. */
|
|
30838
|
+
public questionId: string;
|
|
30839
|
+
|
|
30840
|
+
/** InThreadSurveyQuestion questionOptions. */
|
|
30841
|
+
public questionOptions: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyOption[];
|
|
30842
|
+
|
|
30843
|
+
/**
|
|
30844
|
+
* Creates a new InThreadSurveyQuestion instance using the specified properties.
|
|
30845
|
+
* @param [properties] Properties to set
|
|
30846
|
+
* @returns InThreadSurveyQuestion instance
|
|
30847
|
+
*/
|
|
30848
|
+
public static create(properties?: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
30849
|
+
|
|
30850
|
+
/**
|
|
30851
|
+
* Encodes the specified InThreadSurveyQuestion message. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
30852
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
30853
|
+
* @param [writer] Writer to encode to
|
|
30854
|
+
* @returns Writer
|
|
30855
|
+
*/
|
|
30856
|
+
public static encode(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30857
|
+
|
|
30858
|
+
/**
|
|
30859
|
+
* Encodes the specified InThreadSurveyQuestion message, length delimited. Does not implicitly {@link BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion.verify|verify} messages.
|
|
30860
|
+
* @param message InThreadSurveyQuestion message or plain object to encode
|
|
30861
|
+
* @param [writer] Writer to encode to
|
|
30862
|
+
* @returns Writer
|
|
30863
|
+
*/
|
|
30864
|
+
public static encodeDelimited(message: BotMetadata.InThreadSurveyMetadata.IInThreadSurveyQuestion, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30865
|
+
|
|
30866
|
+
/**
|
|
30867
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer.
|
|
30868
|
+
* @param reader Reader or buffer to decode from
|
|
30869
|
+
* @param [length] Message length if known beforehand
|
|
30870
|
+
* @returns InThreadSurveyQuestion
|
|
30871
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30872
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30873
|
+
*/
|
|
30874
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
30875
|
+
|
|
30876
|
+
/**
|
|
30877
|
+
* Decodes an InThreadSurveyQuestion message from the specified reader or buffer, length delimited.
|
|
30878
|
+
* @param reader Reader or buffer to decode from
|
|
30879
|
+
* @returns InThreadSurveyQuestion
|
|
30880
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30881
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30882
|
+
*/
|
|
30883
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
30884
|
+
|
|
30885
|
+
/**
|
|
30886
|
+
* Verifies an InThreadSurveyQuestion message.
|
|
30887
|
+
* @param message Plain object to verify
|
|
30888
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30889
|
+
*/
|
|
30890
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30891
|
+
|
|
30892
|
+
/**
|
|
30893
|
+
* Creates an InThreadSurveyQuestion message from a plain object. Also converts values to their respective internal types.
|
|
30894
|
+
* @param object Plain object
|
|
30895
|
+
* @returns InThreadSurveyQuestion
|
|
30896
|
+
*/
|
|
30897
|
+
public static fromObject(object: { [k: string]: any }): BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion;
|
|
30898
|
+
|
|
30899
|
+
/**
|
|
30900
|
+
* Creates a plain object from an InThreadSurveyQuestion message. Also converts values to other types if specified.
|
|
30901
|
+
* @param message InThreadSurveyQuestion
|
|
30902
|
+
* @param [options] Conversion options
|
|
30903
|
+
* @returns Plain object
|
|
30904
|
+
*/
|
|
30905
|
+
public static toObject(message: BotMetadata.InThreadSurveyMetadata.InThreadSurveyQuestion, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30906
|
+
|
|
30907
|
+
/**
|
|
30908
|
+
* Converts this InThreadSurveyQuestion to JSON.
|
|
30909
|
+
* @returns JSON object
|
|
30910
|
+
*/
|
|
30911
|
+
public toJSON(): { [k: string]: any };
|
|
30912
|
+
|
|
30913
|
+
/**
|
|
30914
|
+
* Gets the default type url for InThreadSurveyQuestion
|
|
30915
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30916
|
+
* @returns The default type url
|
|
30917
|
+
*/
|
|
30918
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30919
|
+
}
|
|
30920
|
+
}
|
|
30921
|
+
|
|
30354
30922
|
/** Properties of a BotSourcesMetadata. */
|
|
30355
30923
|
interface IBotSourcesMetadata {
|
|
30356
30924
|
|
|
@@ -32901,7 +33469,8 @@ export namespace BotMetadata {
|
|
|
32901
33469
|
/** BotPromotionType enum. */
|
|
32902
33470
|
enum BotPromotionType {
|
|
32903
33471
|
UNKNOWN_TYPE = 0,
|
|
32904
|
-
C50 = 1
|
|
33472
|
+
C50 = 1,
|
|
33473
|
+
SURVEY_PLATFORM = 2
|
|
32905
33474
|
}
|
|
32906
33475
|
}
|
|
32907
33476
|
|
|
@@ -34822,7 +35391,8 @@ export namespace StatusAttributions {
|
|
|
34822
35391
|
enum Source {
|
|
34823
35392
|
UNKNOWN = 0,
|
|
34824
35393
|
RAY_BAN_META_GLASSES = 1,
|
|
34825
|
-
OAKLEY_META_GLASSES = 2
|
|
35394
|
+
OAKLEY_META_GLASSES = 2,
|
|
35395
|
+
HYPERNOVA_GLASSES = 3
|
|
34826
35396
|
}
|
|
34827
35397
|
}
|
|
34828
35398
|
|
|
@@ -40630,6 +41200,12 @@ export namespace SyncAction {
|
|
|
40630
41200
|
|
|
40631
41201
|
/** SyncActionValue maibaAiFeaturesControlAction */
|
|
40632
41202
|
maibaAiFeaturesControlAction?: (SyncAction.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
41203
|
+
|
|
41204
|
+
/** SyncActionValue businessBroadcastListAction */
|
|
41205
|
+
businessBroadcastListAction?: (SyncAction.SyncActionValue.IBusinessBroadcastListAction|null);
|
|
41206
|
+
|
|
41207
|
+
/** SyncActionValue musicUserIdAction */
|
|
41208
|
+
musicUserIdAction?: (SyncAction.SyncActionValue.IMusicUserIdAction|null);
|
|
40633
41209
|
}
|
|
40634
41210
|
|
|
40635
41211
|
/** Represents a SyncActionValue. */
|
|
@@ -40824,6 +41400,12 @@ export namespace SyncAction {
|
|
|
40824
41400
|
/** SyncActionValue maibaAiFeaturesControlAction. */
|
|
40825
41401
|
public maibaAiFeaturesControlAction?: (SyncAction.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
40826
41402
|
|
|
41403
|
+
/** SyncActionValue businessBroadcastListAction. */
|
|
41404
|
+
public businessBroadcastListAction?: (SyncAction.SyncActionValue.IBusinessBroadcastListAction|null);
|
|
41405
|
+
|
|
41406
|
+
/** SyncActionValue musicUserIdAction. */
|
|
41407
|
+
public musicUserIdAction?: (SyncAction.SyncActionValue.IMusicUserIdAction|null);
|
|
41408
|
+
|
|
40827
41409
|
/**
|
|
40828
41410
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
40829
41411
|
* @param [properties] Properties to set
|
|
@@ -41407,6 +41989,115 @@ export namespace SyncAction {
|
|
|
41407
41989
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
41408
41990
|
}
|
|
41409
41991
|
|
|
41992
|
+
/** Properties of a BusinessBroadcastListAction. */
|
|
41993
|
+
interface IBusinessBroadcastListAction {
|
|
41994
|
+
|
|
41995
|
+
/** BusinessBroadcastListAction deleted */
|
|
41996
|
+
deleted?: (boolean|null);
|
|
41997
|
+
|
|
41998
|
+
/** BusinessBroadcastListAction phoneNumbers */
|
|
41999
|
+
phoneNumbers?: (string[]|null);
|
|
42000
|
+
|
|
42001
|
+
/** BusinessBroadcastListAction listName */
|
|
42002
|
+
listName?: (string|null);
|
|
42003
|
+
}
|
|
42004
|
+
|
|
42005
|
+
/** Represents a BusinessBroadcastListAction. */
|
|
42006
|
+
class BusinessBroadcastListAction implements IBusinessBroadcastListAction {
|
|
42007
|
+
|
|
42008
|
+
/**
|
|
42009
|
+
* Constructs a new BusinessBroadcastListAction.
|
|
42010
|
+
* @param [properties] Properties to set
|
|
42011
|
+
*/
|
|
42012
|
+
constructor(properties?: SyncAction.SyncActionValue.IBusinessBroadcastListAction);
|
|
42013
|
+
|
|
42014
|
+
/** BusinessBroadcastListAction deleted. */
|
|
42015
|
+
public deleted: boolean;
|
|
42016
|
+
|
|
42017
|
+
/** BusinessBroadcastListAction phoneNumbers. */
|
|
42018
|
+
public phoneNumbers: string[];
|
|
42019
|
+
|
|
42020
|
+
/** BusinessBroadcastListAction listName. */
|
|
42021
|
+
public listName: string;
|
|
42022
|
+
|
|
42023
|
+
/**
|
|
42024
|
+
* Creates a new BusinessBroadcastListAction instance using the specified properties.
|
|
42025
|
+
* @param [properties] Properties to set
|
|
42026
|
+
* @returns BusinessBroadcastListAction instance
|
|
42027
|
+
*/
|
|
42028
|
+
public static create(properties?: SyncAction.SyncActionValue.IBusinessBroadcastListAction): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
42029
|
+
|
|
42030
|
+
/**
|
|
42031
|
+
* Encodes the specified BusinessBroadcastListAction message. Does not implicitly {@link SyncAction.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages.
|
|
42032
|
+
* @param message BusinessBroadcastListAction message or plain object to encode
|
|
42033
|
+
* @param [writer] Writer to encode to
|
|
42034
|
+
* @returns Writer
|
|
42035
|
+
*/
|
|
42036
|
+
public static encode(message: SyncAction.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42037
|
+
|
|
42038
|
+
/**
|
|
42039
|
+
* Encodes the specified BusinessBroadcastListAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.BusinessBroadcastListAction.verify|verify} messages.
|
|
42040
|
+
* @param message BusinessBroadcastListAction message or plain object to encode
|
|
42041
|
+
* @param [writer] Writer to encode to
|
|
42042
|
+
* @returns Writer
|
|
42043
|
+
*/
|
|
42044
|
+
public static encodeDelimited(message: SyncAction.SyncActionValue.IBusinessBroadcastListAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
42045
|
+
|
|
42046
|
+
/**
|
|
42047
|
+
* Decodes a BusinessBroadcastListAction message from the specified reader or buffer.
|
|
42048
|
+
* @param reader Reader or buffer to decode from
|
|
42049
|
+
* @param [length] Message length if known beforehand
|
|
42050
|
+
* @returns BusinessBroadcastListAction
|
|
42051
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42052
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42053
|
+
*/
|
|
42054
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
42055
|
+
|
|
42056
|
+
/**
|
|
42057
|
+
* Decodes a BusinessBroadcastListAction message from the specified reader or buffer, length delimited.
|
|
42058
|
+
* @param reader Reader or buffer to decode from
|
|
42059
|
+
* @returns BusinessBroadcastListAction
|
|
42060
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
42061
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
42062
|
+
*/
|
|
42063
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
42064
|
+
|
|
42065
|
+
/**
|
|
42066
|
+
* Verifies a BusinessBroadcastListAction message.
|
|
42067
|
+
* @param message Plain object to verify
|
|
42068
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
42069
|
+
*/
|
|
42070
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
42071
|
+
|
|
42072
|
+
/**
|
|
42073
|
+
* Creates a BusinessBroadcastListAction message from a plain object. Also converts values to their respective internal types.
|
|
42074
|
+
* @param object Plain object
|
|
42075
|
+
* @returns BusinessBroadcastListAction
|
|
42076
|
+
*/
|
|
42077
|
+
public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.BusinessBroadcastListAction;
|
|
42078
|
+
|
|
42079
|
+
/**
|
|
42080
|
+
* Creates a plain object from a BusinessBroadcastListAction message. Also converts values to other types if specified.
|
|
42081
|
+
* @param message BusinessBroadcastListAction
|
|
42082
|
+
* @param [options] Conversion options
|
|
42083
|
+
* @returns Plain object
|
|
42084
|
+
*/
|
|
42085
|
+
public static toObject(message: SyncAction.SyncActionValue.BusinessBroadcastListAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
42086
|
+
|
|
42087
|
+
/**
|
|
42088
|
+
* Converts this BusinessBroadcastListAction to JSON.
|
|
42089
|
+
* @returns JSON object
|
|
42090
|
+
*/
|
|
42091
|
+
public toJSON(): { [k: string]: any };
|
|
42092
|
+
|
|
42093
|
+
/**
|
|
42094
|
+
* Gets the default type url for BusinessBroadcastListAction
|
|
42095
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
42096
|
+
* @returns The default type url
|
|
42097
|
+
*/
|
|
42098
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
42099
|
+
}
|
|
42100
|
+
|
|
41410
42101
|
/** Properties of a CallLogAction. */
|
|
41411
42102
|
interface ICallLogAction {
|
|
41412
42103
|
|
|
@@ -44354,6 +45045,103 @@ export namespace SyncAction {
|
|
|
44354
45045
|
}
|
|
44355
45046
|
}
|
|
44356
45047
|
|
|
45048
|
+
/** Properties of a MusicUserIdAction. */
|
|
45049
|
+
interface IMusicUserIdAction {
|
|
45050
|
+
|
|
45051
|
+
/** MusicUserIdAction musicUserId */
|
|
45052
|
+
musicUserId?: (string|null);
|
|
45053
|
+
}
|
|
45054
|
+
|
|
45055
|
+
/** Represents a MusicUserIdAction. */
|
|
45056
|
+
class MusicUserIdAction implements IMusicUserIdAction {
|
|
45057
|
+
|
|
45058
|
+
/**
|
|
45059
|
+
* Constructs a new MusicUserIdAction.
|
|
45060
|
+
* @param [properties] Properties to set
|
|
45061
|
+
*/
|
|
45062
|
+
constructor(properties?: SyncAction.SyncActionValue.IMusicUserIdAction);
|
|
45063
|
+
|
|
45064
|
+
/** MusicUserIdAction musicUserId. */
|
|
45065
|
+
public musicUserId: string;
|
|
45066
|
+
|
|
45067
|
+
/**
|
|
45068
|
+
* Creates a new MusicUserIdAction instance using the specified properties.
|
|
45069
|
+
* @param [properties] Properties to set
|
|
45070
|
+
* @returns MusicUserIdAction instance
|
|
45071
|
+
*/
|
|
45072
|
+
public static create(properties?: SyncAction.SyncActionValue.IMusicUserIdAction): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
45073
|
+
|
|
45074
|
+
/**
|
|
45075
|
+
* Encodes the specified MusicUserIdAction message. Does not implicitly {@link SyncAction.SyncActionValue.MusicUserIdAction.verify|verify} messages.
|
|
45076
|
+
* @param message MusicUserIdAction message or plain object to encode
|
|
45077
|
+
* @param [writer] Writer to encode to
|
|
45078
|
+
* @returns Writer
|
|
45079
|
+
*/
|
|
45080
|
+
public static encode(message: SyncAction.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
45081
|
+
|
|
45082
|
+
/**
|
|
45083
|
+
* Encodes the specified MusicUserIdAction message, length delimited. Does not implicitly {@link SyncAction.SyncActionValue.MusicUserIdAction.verify|verify} messages.
|
|
45084
|
+
* @param message MusicUserIdAction message or plain object to encode
|
|
45085
|
+
* @param [writer] Writer to encode to
|
|
45086
|
+
* @returns Writer
|
|
45087
|
+
*/
|
|
45088
|
+
public static encodeDelimited(message: SyncAction.SyncActionValue.IMusicUserIdAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
45089
|
+
|
|
45090
|
+
/**
|
|
45091
|
+
* Decodes a MusicUserIdAction message from the specified reader or buffer.
|
|
45092
|
+
* @param reader Reader or buffer to decode from
|
|
45093
|
+
* @param [length] Message length if known beforehand
|
|
45094
|
+
* @returns MusicUserIdAction
|
|
45095
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45096
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45097
|
+
*/
|
|
45098
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
45099
|
+
|
|
45100
|
+
/**
|
|
45101
|
+
* Decodes a MusicUserIdAction message from the specified reader or buffer, length delimited.
|
|
45102
|
+
* @param reader Reader or buffer to decode from
|
|
45103
|
+
* @returns MusicUserIdAction
|
|
45104
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
45105
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
45106
|
+
*/
|
|
45107
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
45108
|
+
|
|
45109
|
+
/**
|
|
45110
|
+
* Verifies a MusicUserIdAction message.
|
|
45111
|
+
* @param message Plain object to verify
|
|
45112
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
45113
|
+
*/
|
|
45114
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
45115
|
+
|
|
45116
|
+
/**
|
|
45117
|
+
* Creates a MusicUserIdAction message from a plain object. Also converts values to their respective internal types.
|
|
45118
|
+
* @param object Plain object
|
|
45119
|
+
* @returns MusicUserIdAction
|
|
45120
|
+
*/
|
|
45121
|
+
public static fromObject(object: { [k: string]: any }): SyncAction.SyncActionValue.MusicUserIdAction;
|
|
45122
|
+
|
|
45123
|
+
/**
|
|
45124
|
+
* Creates a plain object from a MusicUserIdAction message. Also converts values to other types if specified.
|
|
45125
|
+
* @param message MusicUserIdAction
|
|
45126
|
+
* @param [options] Conversion options
|
|
45127
|
+
* @returns Plain object
|
|
45128
|
+
*/
|
|
45129
|
+
public static toObject(message: SyncAction.SyncActionValue.MusicUserIdAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
45130
|
+
|
|
45131
|
+
/**
|
|
45132
|
+
* Converts this MusicUserIdAction to JSON.
|
|
45133
|
+
* @returns JSON object
|
|
45134
|
+
*/
|
|
45135
|
+
public toJSON(): { [k: string]: any };
|
|
45136
|
+
|
|
45137
|
+
/**
|
|
45138
|
+
* Gets the default type url for MusicUserIdAction
|
|
45139
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
45140
|
+
* @returns The default type url
|
|
45141
|
+
*/
|
|
45142
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
45143
|
+
}
|
|
45144
|
+
|
|
44357
45145
|
/** Properties of a MuteAction. */
|
|
44358
45146
|
interface IMuteAction {
|
|
44359
45147
|
|
|
@@ -46439,6 +47227,12 @@ export namespace SyncAction {
|
|
|
46439
47227
|
|
|
46440
47228
|
/** StickerAction isLottie */
|
|
46441
47229
|
isLottie?: (boolean|null);
|
|
47230
|
+
|
|
47231
|
+
/** StickerAction imageHash */
|
|
47232
|
+
imageHash?: (string|null);
|
|
47233
|
+
|
|
47234
|
+
/** StickerAction isAvatarSticker */
|
|
47235
|
+
isAvatarSticker?: (boolean|null);
|
|
46442
47236
|
}
|
|
46443
47237
|
|
|
46444
47238
|
/** Represents a StickerAction. */
|
|
@@ -46483,6 +47277,12 @@ export namespace SyncAction {
|
|
|
46483
47277
|
/** StickerAction isLottie. */
|
|
46484
47278
|
public isLottie: boolean;
|
|
46485
47279
|
|
|
47280
|
+
/** StickerAction imageHash. */
|
|
47281
|
+
public imageHash: string;
|
|
47282
|
+
|
|
47283
|
+
/** StickerAction isAvatarSticker. */
|
|
47284
|
+
public isAvatarSticker: boolean;
|
|
47285
|
+
|
|
46486
47286
|
/**
|
|
46487
47287
|
* Creates a new StickerAction instance using the specified properties.
|
|
46488
47288
|
* @param [properties] Properties to set
|