@wppconnect/wa-proto 2.3000.1024182093 → 2.3000.1024449876
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/CHANGELOG.md +4 -0
- package/WAProto.proto +25 -1
- package/dist/index.d.ts +339 -1
- package/dist/index.js +875 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1024449876
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -329,6 +329,7 @@ message BotCapabilityMetadata {
|
|
|
329
329
|
PROMOTION_MESSAGE = 35;
|
|
330
330
|
SIMPLIFIED_PROFILE_PAGE = 36;
|
|
331
331
|
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37;
|
|
332
|
+
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38;
|
|
332
333
|
}
|
|
333
334
|
}
|
|
334
335
|
|
|
@@ -2153,6 +2154,7 @@ message Message {
|
|
|
2153
2154
|
optional Message.MMSThumbnailMetadata faviconMMSMetadata = 33;
|
|
2154
2155
|
optional Message.LinkPreviewMetadata linkPreviewMetadata = 34;
|
|
2155
2156
|
optional Message.PaymentLinkMetadata paymentLinkMetadata = 35;
|
|
2157
|
+
repeated Message.VideoEndCard endCardTiles = 36;
|
|
2156
2158
|
enum FontType {
|
|
2157
2159
|
SYSTEM = 0;
|
|
2158
2160
|
SYSTEM_TEXT = 1;
|
|
@@ -3141,6 +3143,13 @@ message Message {
|
|
|
3141
3143
|
optional uint32 fbExperimentId = 1;
|
|
3142
3144
|
}
|
|
3143
3145
|
|
|
3146
|
+
message VideoEndCard {
|
|
3147
|
+
required string username = 1;
|
|
3148
|
+
required string caption = 2;
|
|
3149
|
+
required string thumbnailImageUrl = 3;
|
|
3150
|
+
required string profilePictureUrl = 4;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3144
3153
|
message VideoMessage {
|
|
3145
3154
|
optional string url = 1;
|
|
3146
3155
|
optional string mimetype = 2;
|
|
@@ -3914,6 +3923,8 @@ message SyncActionValue {
|
|
|
3914
3923
|
optional PaymentTosAction paymentTosAction = 63;
|
|
3915
3924
|
optional PrivacySettingChannelsPersonalisedRecommendationAction privacySettingChannelsPersonalisedRecommendationAction = 64;
|
|
3916
3925
|
optional BusinessBroadcastAssociationAction businessBroadcastAssociationAction = 65;
|
|
3926
|
+
optional DetectedOutcomesStatusAction detectedOutcomesStatusAction = 66;
|
|
3927
|
+
optional MaibaAIFeaturesControlAction maibaAiFeaturesControlAction = 67;
|
|
3917
3928
|
message AgentAction {
|
|
3918
3929
|
optional string name = 1;
|
|
3919
3930
|
optional int32 deviceID = 2;
|
|
@@ -3996,6 +4007,10 @@ message SyncActionValue {
|
|
|
3996
4007
|
optional int64 messageTimestamp = 2;
|
|
3997
4008
|
}
|
|
3998
4009
|
|
|
4010
|
+
message DetectedOutcomesStatusAction {
|
|
4011
|
+
optional bool isEnabled = 1;
|
|
4012
|
+
}
|
|
4013
|
+
|
|
3999
4014
|
message ExternalWebBetaAction {
|
|
4000
4015
|
optional bool isOptIn = 1;
|
|
4001
4016
|
}
|
|
@@ -4056,6 +4071,15 @@ message SyncActionValue {
|
|
|
4056
4071
|
optional bool locked = 1;
|
|
4057
4072
|
}
|
|
4058
4073
|
|
|
4074
|
+
message MaibaAIFeaturesControlAction {
|
|
4075
|
+
optional MaibaAIFeatureStatus aiFeatureStatus = 1;
|
|
4076
|
+
enum MaibaAIFeatureStatus {
|
|
4077
|
+
ENABLED = 0;
|
|
4078
|
+
ENABLED_HAS_LEARNING = 1;
|
|
4079
|
+
DISABLED = 2;
|
|
4080
|
+
}
|
|
4081
|
+
}
|
|
4082
|
+
|
|
4059
4083
|
message MarkChatAsReadAction {
|
|
4060
4084
|
optional bool read = 1;
|
|
4061
4085
|
optional SyncActionValue.SyncActionMessageRange messageRange = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -3995,7 +3995,8 @@ export namespace waproto {
|
|
|
3995
3995
|
RICH_RESPONSE_UNIFIED_RESPONSE = 34,
|
|
3996
3996
|
PROMOTION_MESSAGE = 35,
|
|
3997
3997
|
SIMPLIFIED_PROFILE_PAGE = 36,
|
|
3998
|
-
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37
|
|
3998
|
+
RICH_RESPONSE_SOURCES_IN_MESSAGE = 37,
|
|
3999
|
+
RICH_RESPONSE_SIDE_BY_SIDE_SURVEY = 38
|
|
3999
4000
|
}
|
|
4000
4001
|
}
|
|
4001
4002
|
|
|
@@ -23402,6 +23403,9 @@ export namespace waproto {
|
|
|
23402
23403
|
|
|
23403
23404
|
/** ExtendedTextMessage paymentLinkMetadata */
|
|
23404
23405
|
paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null);
|
|
23406
|
+
|
|
23407
|
+
/** ExtendedTextMessage endCardTiles */
|
|
23408
|
+
endCardTiles?: (waproto.Message.IVideoEndCard[]|null);
|
|
23405
23409
|
}
|
|
23406
23410
|
|
|
23407
23411
|
/** Represents an ExtendedTextMessage. */
|
|
@@ -23497,6 +23501,9 @@ export namespace waproto {
|
|
|
23497
23501
|
/** ExtendedTextMessage paymentLinkMetadata. */
|
|
23498
23502
|
public paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null);
|
|
23499
23503
|
|
|
23504
|
+
/** ExtendedTextMessage endCardTiles. */
|
|
23505
|
+
public endCardTiles: waproto.Message.IVideoEndCard[];
|
|
23506
|
+
|
|
23500
23507
|
/**
|
|
23501
23508
|
* Creates a new ExtendedTextMessage instance using the specified properties.
|
|
23502
23509
|
* @param [properties] Properties to set
|
|
@@ -35822,6 +35829,121 @@ export namespace waproto {
|
|
|
35822
35829
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35823
35830
|
}
|
|
35824
35831
|
|
|
35832
|
+
/** Properties of a VideoEndCard. */
|
|
35833
|
+
interface IVideoEndCard {
|
|
35834
|
+
|
|
35835
|
+
/** VideoEndCard username */
|
|
35836
|
+
username: string;
|
|
35837
|
+
|
|
35838
|
+
/** VideoEndCard caption */
|
|
35839
|
+
caption: string;
|
|
35840
|
+
|
|
35841
|
+
/** VideoEndCard thumbnailImageUrl */
|
|
35842
|
+
thumbnailImageUrl: string;
|
|
35843
|
+
|
|
35844
|
+
/** VideoEndCard profilePictureUrl */
|
|
35845
|
+
profilePictureUrl: string;
|
|
35846
|
+
}
|
|
35847
|
+
|
|
35848
|
+
/** Represents a VideoEndCard. */
|
|
35849
|
+
class VideoEndCard implements IVideoEndCard {
|
|
35850
|
+
|
|
35851
|
+
/**
|
|
35852
|
+
* Constructs a new VideoEndCard.
|
|
35853
|
+
* @param [properties] Properties to set
|
|
35854
|
+
*/
|
|
35855
|
+
constructor(properties?: waproto.Message.IVideoEndCard);
|
|
35856
|
+
|
|
35857
|
+
/** VideoEndCard username. */
|
|
35858
|
+
public username: string;
|
|
35859
|
+
|
|
35860
|
+
/** VideoEndCard caption. */
|
|
35861
|
+
public caption: string;
|
|
35862
|
+
|
|
35863
|
+
/** VideoEndCard thumbnailImageUrl. */
|
|
35864
|
+
public thumbnailImageUrl: string;
|
|
35865
|
+
|
|
35866
|
+
/** VideoEndCard profilePictureUrl. */
|
|
35867
|
+
public profilePictureUrl: string;
|
|
35868
|
+
|
|
35869
|
+
/**
|
|
35870
|
+
* Creates a new VideoEndCard instance using the specified properties.
|
|
35871
|
+
* @param [properties] Properties to set
|
|
35872
|
+
* @returns VideoEndCard instance
|
|
35873
|
+
*/
|
|
35874
|
+
public static create(properties?: waproto.Message.IVideoEndCard): waproto.Message.VideoEndCard;
|
|
35875
|
+
|
|
35876
|
+
/**
|
|
35877
|
+
* Encodes the specified VideoEndCard message. Does not implicitly {@link waproto.Message.VideoEndCard.verify|verify} messages.
|
|
35878
|
+
* @param message VideoEndCard message or plain object to encode
|
|
35879
|
+
* @param [writer] Writer to encode to
|
|
35880
|
+
* @returns Writer
|
|
35881
|
+
*/
|
|
35882
|
+
public static encode(message: waproto.Message.IVideoEndCard, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35883
|
+
|
|
35884
|
+
/**
|
|
35885
|
+
* Encodes the specified VideoEndCard message, length delimited. Does not implicitly {@link waproto.Message.VideoEndCard.verify|verify} messages.
|
|
35886
|
+
* @param message VideoEndCard message or plain object to encode
|
|
35887
|
+
* @param [writer] Writer to encode to
|
|
35888
|
+
* @returns Writer
|
|
35889
|
+
*/
|
|
35890
|
+
public static encodeDelimited(message: waproto.Message.IVideoEndCard, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
35891
|
+
|
|
35892
|
+
/**
|
|
35893
|
+
* Decodes a VideoEndCard message from the specified reader or buffer.
|
|
35894
|
+
* @param reader Reader or buffer to decode from
|
|
35895
|
+
* @param [length] Message length if known beforehand
|
|
35896
|
+
* @returns VideoEndCard
|
|
35897
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35898
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35899
|
+
*/
|
|
35900
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.VideoEndCard;
|
|
35901
|
+
|
|
35902
|
+
/**
|
|
35903
|
+
* Decodes a VideoEndCard message from the specified reader or buffer, length delimited.
|
|
35904
|
+
* @param reader Reader or buffer to decode from
|
|
35905
|
+
* @returns VideoEndCard
|
|
35906
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
35907
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
35908
|
+
*/
|
|
35909
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.VideoEndCard;
|
|
35910
|
+
|
|
35911
|
+
/**
|
|
35912
|
+
* Verifies a VideoEndCard message.
|
|
35913
|
+
* @param message Plain object to verify
|
|
35914
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
35915
|
+
*/
|
|
35916
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
35917
|
+
|
|
35918
|
+
/**
|
|
35919
|
+
* Creates a VideoEndCard message from a plain object. Also converts values to their respective internal types.
|
|
35920
|
+
* @param object Plain object
|
|
35921
|
+
* @returns VideoEndCard
|
|
35922
|
+
*/
|
|
35923
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.VideoEndCard;
|
|
35924
|
+
|
|
35925
|
+
/**
|
|
35926
|
+
* Creates a plain object from a VideoEndCard message. Also converts values to other types if specified.
|
|
35927
|
+
* @param message VideoEndCard
|
|
35928
|
+
* @param [options] Conversion options
|
|
35929
|
+
* @returns Plain object
|
|
35930
|
+
*/
|
|
35931
|
+
public static toObject(message: waproto.Message.VideoEndCard, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
35932
|
+
|
|
35933
|
+
/**
|
|
35934
|
+
* Converts this VideoEndCard to JSON.
|
|
35935
|
+
* @returns JSON object
|
|
35936
|
+
*/
|
|
35937
|
+
public toJSON(): { [k: string]: any };
|
|
35938
|
+
|
|
35939
|
+
/**
|
|
35940
|
+
* Gets the default type url for VideoEndCard
|
|
35941
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
35942
|
+
* @returns The default type url
|
|
35943
|
+
*/
|
|
35944
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35945
|
+
}
|
|
35946
|
+
|
|
35825
35947
|
/** Properties of a VideoMessage. */
|
|
35826
35948
|
interface IVideoMessage {
|
|
35827
35949
|
|
|
@@ -44699,6 +44821,12 @@ export namespace waproto {
|
|
|
44699
44821
|
|
|
44700
44822
|
/** SyncActionValue businessBroadcastAssociationAction */
|
|
44701
44823
|
businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
44824
|
+
|
|
44825
|
+
/** SyncActionValue detectedOutcomesStatusAction */
|
|
44826
|
+
detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null);
|
|
44827
|
+
|
|
44828
|
+
/** SyncActionValue maibaAiFeaturesControlAction */
|
|
44829
|
+
maibaAiFeaturesControlAction?: (waproto.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
44702
44830
|
}
|
|
44703
44831
|
|
|
44704
44832
|
/** Represents a SyncActionValue. */
|
|
@@ -44887,6 +45015,12 @@ export namespace waproto {
|
|
|
44887
45015
|
/** SyncActionValue businessBroadcastAssociationAction. */
|
|
44888
45016
|
public businessBroadcastAssociationAction?: (waproto.SyncActionValue.IBusinessBroadcastAssociationAction|null);
|
|
44889
45017
|
|
|
45018
|
+
/** SyncActionValue detectedOutcomesStatusAction. */
|
|
45019
|
+
public detectedOutcomesStatusAction?: (waproto.SyncActionValue.IDetectedOutcomesStatusAction|null);
|
|
45020
|
+
|
|
45021
|
+
/** SyncActionValue maibaAiFeaturesControlAction. */
|
|
45022
|
+
public maibaAiFeaturesControlAction?: (waproto.SyncActionValue.IMaibaAIFeaturesControlAction|null);
|
|
45023
|
+
|
|
44890
45024
|
/**
|
|
44891
45025
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
44892
45026
|
* @param [properties] Properties to set
|
|
@@ -46700,6 +46834,103 @@ export namespace waproto {
|
|
|
46700
46834
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
46701
46835
|
}
|
|
46702
46836
|
|
|
46837
|
+
/** Properties of a DetectedOutcomesStatusAction. */
|
|
46838
|
+
interface IDetectedOutcomesStatusAction {
|
|
46839
|
+
|
|
46840
|
+
/** DetectedOutcomesStatusAction isEnabled */
|
|
46841
|
+
isEnabled?: (boolean|null);
|
|
46842
|
+
}
|
|
46843
|
+
|
|
46844
|
+
/** Represents a DetectedOutcomesStatusAction. */
|
|
46845
|
+
class DetectedOutcomesStatusAction implements IDetectedOutcomesStatusAction {
|
|
46846
|
+
|
|
46847
|
+
/**
|
|
46848
|
+
* Constructs a new DetectedOutcomesStatusAction.
|
|
46849
|
+
* @param [properties] Properties to set
|
|
46850
|
+
*/
|
|
46851
|
+
constructor(properties?: waproto.SyncActionValue.IDetectedOutcomesStatusAction);
|
|
46852
|
+
|
|
46853
|
+
/** DetectedOutcomesStatusAction isEnabled. */
|
|
46854
|
+
public isEnabled?: (boolean|null);
|
|
46855
|
+
|
|
46856
|
+
/**
|
|
46857
|
+
* Creates a new DetectedOutcomesStatusAction instance using the specified properties.
|
|
46858
|
+
* @param [properties] Properties to set
|
|
46859
|
+
* @returns DetectedOutcomesStatusAction instance
|
|
46860
|
+
*/
|
|
46861
|
+
public static create(properties?: waproto.SyncActionValue.IDetectedOutcomesStatusAction): waproto.SyncActionValue.DetectedOutcomesStatusAction;
|
|
46862
|
+
|
|
46863
|
+
/**
|
|
46864
|
+
* Encodes the specified DetectedOutcomesStatusAction message. Does not implicitly {@link waproto.SyncActionValue.DetectedOutcomesStatusAction.verify|verify} messages.
|
|
46865
|
+
* @param message DetectedOutcomesStatusAction message or plain object to encode
|
|
46866
|
+
* @param [writer] Writer to encode to
|
|
46867
|
+
* @returns Writer
|
|
46868
|
+
*/
|
|
46869
|
+
public static encode(message: waproto.SyncActionValue.IDetectedOutcomesStatusAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46870
|
+
|
|
46871
|
+
/**
|
|
46872
|
+
* Encodes the specified DetectedOutcomesStatusAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.DetectedOutcomesStatusAction.verify|verify} messages.
|
|
46873
|
+
* @param message DetectedOutcomesStatusAction message or plain object to encode
|
|
46874
|
+
* @param [writer] Writer to encode to
|
|
46875
|
+
* @returns Writer
|
|
46876
|
+
*/
|
|
46877
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IDetectedOutcomesStatusAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46878
|
+
|
|
46879
|
+
/**
|
|
46880
|
+
* Decodes a DetectedOutcomesStatusAction message from the specified reader or buffer.
|
|
46881
|
+
* @param reader Reader or buffer to decode from
|
|
46882
|
+
* @param [length] Message length if known beforehand
|
|
46883
|
+
* @returns DetectedOutcomesStatusAction
|
|
46884
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46885
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46886
|
+
*/
|
|
46887
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.DetectedOutcomesStatusAction;
|
|
46888
|
+
|
|
46889
|
+
/**
|
|
46890
|
+
* Decodes a DetectedOutcomesStatusAction message from the specified reader or buffer, length delimited.
|
|
46891
|
+
* @param reader Reader or buffer to decode from
|
|
46892
|
+
* @returns DetectedOutcomesStatusAction
|
|
46893
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46894
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46895
|
+
*/
|
|
46896
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.DetectedOutcomesStatusAction;
|
|
46897
|
+
|
|
46898
|
+
/**
|
|
46899
|
+
* Verifies a DetectedOutcomesStatusAction message.
|
|
46900
|
+
* @param message Plain object to verify
|
|
46901
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
46902
|
+
*/
|
|
46903
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
46904
|
+
|
|
46905
|
+
/**
|
|
46906
|
+
* Creates a DetectedOutcomesStatusAction message from a plain object. Also converts values to their respective internal types.
|
|
46907
|
+
* @param object Plain object
|
|
46908
|
+
* @returns DetectedOutcomesStatusAction
|
|
46909
|
+
*/
|
|
46910
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.DetectedOutcomesStatusAction;
|
|
46911
|
+
|
|
46912
|
+
/**
|
|
46913
|
+
* Creates a plain object from a DetectedOutcomesStatusAction message. Also converts values to other types if specified.
|
|
46914
|
+
* @param message DetectedOutcomesStatusAction
|
|
46915
|
+
* @param [options] Conversion options
|
|
46916
|
+
* @returns Plain object
|
|
46917
|
+
*/
|
|
46918
|
+
public static toObject(message: waproto.SyncActionValue.DetectedOutcomesStatusAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
46919
|
+
|
|
46920
|
+
/**
|
|
46921
|
+
* Converts this DetectedOutcomesStatusAction to JSON.
|
|
46922
|
+
* @returns JSON object
|
|
46923
|
+
*/
|
|
46924
|
+
public toJSON(): { [k: string]: any };
|
|
46925
|
+
|
|
46926
|
+
/**
|
|
46927
|
+
* Gets the default type url for DetectedOutcomesStatusAction
|
|
46928
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
46929
|
+
* @returns The default type url
|
|
46930
|
+
*/
|
|
46931
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
46932
|
+
}
|
|
46933
|
+
|
|
46703
46934
|
/** Properties of an ExternalWebBetaAction. */
|
|
46704
46935
|
interface IExternalWebBetaAction {
|
|
46705
46936
|
|
|
@@ -47748,6 +47979,113 @@ export namespace waproto {
|
|
|
47748
47979
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
47749
47980
|
}
|
|
47750
47981
|
|
|
47982
|
+
/** Properties of a MaibaAIFeaturesControlAction. */
|
|
47983
|
+
interface IMaibaAIFeaturesControlAction {
|
|
47984
|
+
|
|
47985
|
+
/** MaibaAIFeaturesControlAction aiFeatureStatus */
|
|
47986
|
+
aiFeatureStatus?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null);
|
|
47987
|
+
}
|
|
47988
|
+
|
|
47989
|
+
/** Represents a MaibaAIFeaturesControlAction. */
|
|
47990
|
+
class MaibaAIFeaturesControlAction implements IMaibaAIFeaturesControlAction {
|
|
47991
|
+
|
|
47992
|
+
/**
|
|
47993
|
+
* Constructs a new MaibaAIFeaturesControlAction.
|
|
47994
|
+
* @param [properties] Properties to set
|
|
47995
|
+
*/
|
|
47996
|
+
constructor(properties?: waproto.SyncActionValue.IMaibaAIFeaturesControlAction);
|
|
47997
|
+
|
|
47998
|
+
/** MaibaAIFeaturesControlAction aiFeatureStatus. */
|
|
47999
|
+
public aiFeatureStatus?: (waproto.SyncActionValue.MaibaAIFeaturesControlAction.MaibaAIFeatureStatus|null);
|
|
48000
|
+
|
|
48001
|
+
/**
|
|
48002
|
+
* Creates a new MaibaAIFeaturesControlAction instance using the specified properties.
|
|
48003
|
+
* @param [properties] Properties to set
|
|
48004
|
+
* @returns MaibaAIFeaturesControlAction instance
|
|
48005
|
+
*/
|
|
48006
|
+
public static create(properties?: waproto.SyncActionValue.IMaibaAIFeaturesControlAction): waproto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
48007
|
+
|
|
48008
|
+
/**
|
|
48009
|
+
* Encodes the specified MaibaAIFeaturesControlAction message. Does not implicitly {@link waproto.SyncActionValue.MaibaAIFeaturesControlAction.verify|verify} messages.
|
|
48010
|
+
* @param message MaibaAIFeaturesControlAction message or plain object to encode
|
|
48011
|
+
* @param [writer] Writer to encode to
|
|
48012
|
+
* @returns Writer
|
|
48013
|
+
*/
|
|
48014
|
+
public static encode(message: waproto.SyncActionValue.IMaibaAIFeaturesControlAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
48015
|
+
|
|
48016
|
+
/**
|
|
48017
|
+
* Encodes the specified MaibaAIFeaturesControlAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.MaibaAIFeaturesControlAction.verify|verify} messages.
|
|
48018
|
+
* @param message MaibaAIFeaturesControlAction message or plain object to encode
|
|
48019
|
+
* @param [writer] Writer to encode to
|
|
48020
|
+
* @returns Writer
|
|
48021
|
+
*/
|
|
48022
|
+
public static encodeDelimited(message: waproto.SyncActionValue.IMaibaAIFeaturesControlAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
48023
|
+
|
|
48024
|
+
/**
|
|
48025
|
+
* Decodes a MaibaAIFeaturesControlAction message from the specified reader or buffer.
|
|
48026
|
+
* @param reader Reader or buffer to decode from
|
|
48027
|
+
* @param [length] Message length if known beforehand
|
|
48028
|
+
* @returns MaibaAIFeaturesControlAction
|
|
48029
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48030
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48031
|
+
*/
|
|
48032
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
48033
|
+
|
|
48034
|
+
/**
|
|
48035
|
+
* Decodes a MaibaAIFeaturesControlAction message from the specified reader or buffer, length delimited.
|
|
48036
|
+
* @param reader Reader or buffer to decode from
|
|
48037
|
+
* @returns MaibaAIFeaturesControlAction
|
|
48038
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
48039
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
48040
|
+
*/
|
|
48041
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
48042
|
+
|
|
48043
|
+
/**
|
|
48044
|
+
* Verifies a MaibaAIFeaturesControlAction message.
|
|
48045
|
+
* @param message Plain object to verify
|
|
48046
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
48047
|
+
*/
|
|
48048
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
48049
|
+
|
|
48050
|
+
/**
|
|
48051
|
+
* Creates a MaibaAIFeaturesControlAction message from a plain object. Also converts values to their respective internal types.
|
|
48052
|
+
* @param object Plain object
|
|
48053
|
+
* @returns MaibaAIFeaturesControlAction
|
|
48054
|
+
*/
|
|
48055
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.MaibaAIFeaturesControlAction;
|
|
48056
|
+
|
|
48057
|
+
/**
|
|
48058
|
+
* Creates a plain object from a MaibaAIFeaturesControlAction message. Also converts values to other types if specified.
|
|
48059
|
+
* @param message MaibaAIFeaturesControlAction
|
|
48060
|
+
* @param [options] Conversion options
|
|
48061
|
+
* @returns Plain object
|
|
48062
|
+
*/
|
|
48063
|
+
public static toObject(message: waproto.SyncActionValue.MaibaAIFeaturesControlAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
48064
|
+
|
|
48065
|
+
/**
|
|
48066
|
+
* Converts this MaibaAIFeaturesControlAction to JSON.
|
|
48067
|
+
* @returns JSON object
|
|
48068
|
+
*/
|
|
48069
|
+
public toJSON(): { [k: string]: any };
|
|
48070
|
+
|
|
48071
|
+
/**
|
|
48072
|
+
* Gets the default type url for MaibaAIFeaturesControlAction
|
|
48073
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
48074
|
+
* @returns The default type url
|
|
48075
|
+
*/
|
|
48076
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
48077
|
+
}
|
|
48078
|
+
|
|
48079
|
+
namespace MaibaAIFeaturesControlAction {
|
|
48080
|
+
|
|
48081
|
+
/** MaibaAIFeatureStatus enum. */
|
|
48082
|
+
enum MaibaAIFeatureStatus {
|
|
48083
|
+
ENABLED = 0,
|
|
48084
|
+
ENABLED_HAS_LEARNING = 1,
|
|
48085
|
+
DISABLED = 2
|
|
48086
|
+
}
|
|
48087
|
+
}
|
|
48088
|
+
|
|
47751
48089
|
/** Properties of a MarkChatAsReadAction. */
|
|
47752
48090
|
interface IMarkChatAsReadAction {
|
|
47753
48091
|
|