@wppconnect/wa-proto 1.1.4 → 1.1.6
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 +8 -0
- package/WAProto.proto +132 -6
- package/dist/index.d.ts +1618 -10
- package/dist/index.js +4522 -35
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -584,6 +584,1141 @@ export namespace waproto {
|
|
|
584
584
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
585
585
|
}
|
|
586
586
|
|
|
587
|
+
/** Properties of a AIRichResponseMessage. */
|
|
588
|
+
interface IAIRichResponseMessage {
|
|
589
|
+
|
|
590
|
+
/** AIRichResponseMessage messageType */
|
|
591
|
+
messageType?: (waproto.AIRichResponseMessage.AIRichResponseMessageType|null);
|
|
592
|
+
|
|
593
|
+
/** AIRichResponseMessage submessages */
|
|
594
|
+
submessages?: (waproto.AIRichResponseMessage.IAIRichResponseSubMessage[]|null);
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/** Represents a AIRichResponseMessage. */
|
|
598
|
+
class AIRichResponseMessage implements IAIRichResponseMessage {
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Constructs a new AIRichResponseMessage.
|
|
602
|
+
* @param [properties] Properties to set
|
|
603
|
+
*/
|
|
604
|
+
constructor(properties?: waproto.IAIRichResponseMessage);
|
|
605
|
+
|
|
606
|
+
/** AIRichResponseMessage messageType. */
|
|
607
|
+
public messageType?: (waproto.AIRichResponseMessage.AIRichResponseMessageType|null);
|
|
608
|
+
|
|
609
|
+
/** AIRichResponseMessage submessages. */
|
|
610
|
+
public submessages: waproto.AIRichResponseMessage.IAIRichResponseSubMessage[];
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Creates a new AIRichResponseMessage instance using the specified properties.
|
|
614
|
+
* @param [properties] Properties to set
|
|
615
|
+
* @returns AIRichResponseMessage instance
|
|
616
|
+
*/
|
|
617
|
+
public static create(properties?: waproto.IAIRichResponseMessage): waproto.AIRichResponseMessage;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* Encodes the specified AIRichResponseMessage message. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages.
|
|
621
|
+
* @param message AIRichResponseMessage message or plain object to encode
|
|
622
|
+
* @param [writer] Writer to encode to
|
|
623
|
+
* @returns Writer
|
|
624
|
+
*/
|
|
625
|
+
public static encode(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Encodes the specified AIRichResponseMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.verify|verify} messages.
|
|
629
|
+
* @param message AIRichResponseMessage message or plain object to encode
|
|
630
|
+
* @param [writer] Writer to encode to
|
|
631
|
+
* @returns Writer
|
|
632
|
+
*/
|
|
633
|
+
public static encodeDelimited(message: waproto.IAIRichResponseMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
634
|
+
|
|
635
|
+
/**
|
|
636
|
+
* Decodes a AIRichResponseMessage message from the specified reader or buffer.
|
|
637
|
+
* @param reader Reader or buffer to decode from
|
|
638
|
+
* @param [length] Message length if known beforehand
|
|
639
|
+
* @returns AIRichResponseMessage
|
|
640
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
641
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
642
|
+
*/
|
|
643
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage;
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Decodes a AIRichResponseMessage message from the specified reader or buffer, length delimited.
|
|
647
|
+
* @param reader Reader or buffer to decode from
|
|
648
|
+
* @returns AIRichResponseMessage
|
|
649
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
650
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
651
|
+
*/
|
|
652
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Verifies a AIRichResponseMessage message.
|
|
656
|
+
* @param message Plain object to verify
|
|
657
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
658
|
+
*/
|
|
659
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Creates a AIRichResponseMessage message from a plain object. Also converts values to their respective internal types.
|
|
663
|
+
* @param object Plain object
|
|
664
|
+
* @returns AIRichResponseMessage
|
|
665
|
+
*/
|
|
666
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Creates a plain object from a AIRichResponseMessage message. Also converts values to other types if specified.
|
|
670
|
+
* @param message AIRichResponseMessage
|
|
671
|
+
* @param [options] Conversion options
|
|
672
|
+
* @returns Plain object
|
|
673
|
+
*/
|
|
674
|
+
public static toObject(message: waproto.AIRichResponseMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Converts this AIRichResponseMessage to JSON.
|
|
678
|
+
* @returns JSON object
|
|
679
|
+
*/
|
|
680
|
+
public toJSON(): { [k: string]: any };
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Gets the default type url for AIRichResponseMessage
|
|
684
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
685
|
+
* @returns The default type url
|
|
686
|
+
*/
|
|
687
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
namespace AIRichResponseMessage {
|
|
691
|
+
|
|
692
|
+
/** Properties of a AIRichResponseCodeMetadata. */
|
|
693
|
+
interface IAIRichResponseCodeMetadata {
|
|
694
|
+
|
|
695
|
+
/** AIRichResponseCodeMetadata codeLanguage */
|
|
696
|
+
codeLanguage?: (string|null);
|
|
697
|
+
|
|
698
|
+
/** AIRichResponseCodeMetadata codeBlocks */
|
|
699
|
+
codeBlocks?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[]|null);
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/** Represents a AIRichResponseCodeMetadata. */
|
|
703
|
+
class AIRichResponseCodeMetadata implements IAIRichResponseCodeMetadata {
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Constructs a new AIRichResponseCodeMetadata.
|
|
707
|
+
* @param [properties] Properties to set
|
|
708
|
+
*/
|
|
709
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata);
|
|
710
|
+
|
|
711
|
+
/** AIRichResponseCodeMetadata codeLanguage. */
|
|
712
|
+
public codeLanguage?: (string|null);
|
|
713
|
+
|
|
714
|
+
/** AIRichResponseCodeMetadata codeBlocks. */
|
|
715
|
+
public codeBlocks: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock[];
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Creates a new AIRichResponseCodeMetadata instance using the specified properties.
|
|
719
|
+
* @param [properties] Properties to set
|
|
720
|
+
* @returns AIRichResponseCodeMetadata instance
|
|
721
|
+
*/
|
|
722
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Encodes the specified AIRichResponseCodeMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
|
|
726
|
+
* @param message AIRichResponseCodeMetadata message or plain object to encode
|
|
727
|
+
* @param [writer] Writer to encode to
|
|
728
|
+
* @returns Writer
|
|
729
|
+
*/
|
|
730
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
731
|
+
|
|
732
|
+
/**
|
|
733
|
+
* Encodes the specified AIRichResponseCodeMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.verify|verify} messages.
|
|
734
|
+
* @param message AIRichResponseCodeMetadata message or plain object to encode
|
|
735
|
+
* @param [writer] Writer to encode to
|
|
736
|
+
* @returns Writer
|
|
737
|
+
*/
|
|
738
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer.
|
|
742
|
+
* @param reader Reader or buffer to decode from
|
|
743
|
+
* @param [length] Message length if known beforehand
|
|
744
|
+
* @returns AIRichResponseCodeMetadata
|
|
745
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
746
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
747
|
+
*/
|
|
748
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Decodes a AIRichResponseCodeMetadata message from the specified reader or buffer, length delimited.
|
|
752
|
+
* @param reader Reader or buffer to decode from
|
|
753
|
+
* @returns AIRichResponseCodeMetadata
|
|
754
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
755
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
756
|
+
*/
|
|
757
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Verifies a AIRichResponseCodeMetadata message.
|
|
761
|
+
* @param message Plain object to verify
|
|
762
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
763
|
+
*/
|
|
764
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Creates a AIRichResponseCodeMetadata message from a plain object. Also converts values to their respective internal types.
|
|
768
|
+
* @param object Plain object
|
|
769
|
+
* @returns AIRichResponseCodeMetadata
|
|
770
|
+
*/
|
|
771
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata;
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Creates a plain object from a AIRichResponseCodeMetadata message. Also converts values to other types if specified.
|
|
775
|
+
* @param message AIRichResponseCodeMetadata
|
|
776
|
+
* @param [options] Conversion options
|
|
777
|
+
* @returns Plain object
|
|
778
|
+
*/
|
|
779
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Converts this AIRichResponseCodeMetadata to JSON.
|
|
783
|
+
* @returns JSON object
|
|
784
|
+
*/
|
|
785
|
+
public toJSON(): { [k: string]: any };
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Gets the default type url for AIRichResponseCodeMetadata
|
|
789
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
790
|
+
* @returns The default type url
|
|
791
|
+
*/
|
|
792
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
namespace AIRichResponseCodeMetadata {
|
|
796
|
+
|
|
797
|
+
/** Properties of a AIRichResponseCodeBlock. */
|
|
798
|
+
interface IAIRichResponseCodeBlock {
|
|
799
|
+
|
|
800
|
+
/** AIRichResponseCodeBlock highlightType */
|
|
801
|
+
highlightType?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
|
|
802
|
+
|
|
803
|
+
/** AIRichResponseCodeBlock codeContent */
|
|
804
|
+
codeContent?: (string|null);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/** Represents a AIRichResponseCodeBlock. */
|
|
808
|
+
class AIRichResponseCodeBlock implements IAIRichResponseCodeBlock {
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* Constructs a new AIRichResponseCodeBlock.
|
|
812
|
+
* @param [properties] Properties to set
|
|
813
|
+
*/
|
|
814
|
+
constructor(properties?: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock);
|
|
815
|
+
|
|
816
|
+
/** AIRichResponseCodeBlock highlightType. */
|
|
817
|
+
public highlightType?: (waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeHighlightType|null);
|
|
818
|
+
|
|
819
|
+
/** AIRichResponseCodeBlock codeContent. */
|
|
820
|
+
public codeContent?: (string|null);
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Creates a new AIRichResponseCodeBlock instance using the specified properties.
|
|
824
|
+
* @param [properties] Properties to set
|
|
825
|
+
* @returns AIRichResponseCodeBlock instance
|
|
826
|
+
*/
|
|
827
|
+
public static create(properties?: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
|
|
828
|
+
|
|
829
|
+
/**
|
|
830
|
+
* Encodes the specified AIRichResponseCodeBlock message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
|
|
831
|
+
* @param message AIRichResponseCodeBlock message or plain object to encode
|
|
832
|
+
* @param [writer] Writer to encode to
|
|
833
|
+
* @returns Writer
|
|
834
|
+
*/
|
|
835
|
+
public static encode(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Encodes the specified AIRichResponseCodeBlock message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock.verify|verify} messages.
|
|
839
|
+
* @param message AIRichResponseCodeBlock message or plain object to encode
|
|
840
|
+
* @param [writer] Writer to encode to
|
|
841
|
+
* @returns Writer
|
|
842
|
+
*/
|
|
843
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.IAIRichResponseCodeBlock, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Decodes a AIRichResponseCodeBlock message from the specified reader or buffer.
|
|
847
|
+
* @param reader Reader or buffer to decode from
|
|
848
|
+
* @param [length] Message length if known beforehand
|
|
849
|
+
* @returns AIRichResponseCodeBlock
|
|
850
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
851
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
852
|
+
*/
|
|
853
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Decodes a AIRichResponseCodeBlock message from the specified reader or buffer, length delimited.
|
|
857
|
+
* @param reader Reader or buffer to decode from
|
|
858
|
+
* @returns AIRichResponseCodeBlock
|
|
859
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
860
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
861
|
+
*/
|
|
862
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Verifies a AIRichResponseCodeBlock message.
|
|
866
|
+
* @param message Plain object to verify
|
|
867
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
868
|
+
*/
|
|
869
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Creates a AIRichResponseCodeBlock message from a plain object. Also converts values to their respective internal types.
|
|
873
|
+
* @param object Plain object
|
|
874
|
+
* @returns AIRichResponseCodeBlock
|
|
875
|
+
*/
|
|
876
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock;
|
|
877
|
+
|
|
878
|
+
/**
|
|
879
|
+
* Creates a plain object from a AIRichResponseCodeBlock message. Also converts values to other types if specified.
|
|
880
|
+
* @param message AIRichResponseCodeBlock
|
|
881
|
+
* @param [options] Conversion options
|
|
882
|
+
* @returns Plain object
|
|
883
|
+
*/
|
|
884
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseCodeMetadata.AIRichResponseCodeBlock, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Converts this AIRichResponseCodeBlock to JSON.
|
|
888
|
+
* @returns JSON object
|
|
889
|
+
*/
|
|
890
|
+
public toJSON(): { [k: string]: any };
|
|
891
|
+
|
|
892
|
+
/**
|
|
893
|
+
* Gets the default type url for AIRichResponseCodeBlock
|
|
894
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
895
|
+
* @returns The default type url
|
|
896
|
+
*/
|
|
897
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
/** AIRichResponseCodeHighlightType enum. */
|
|
901
|
+
enum AIRichResponseCodeHighlightType {
|
|
902
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT = 0,
|
|
903
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD = 1,
|
|
904
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD = 2,
|
|
905
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING = 3,
|
|
906
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER = 4,
|
|
907
|
+
AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT = 5
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
/** Properties of a AIRichResponseDynamicMetadata. */
|
|
912
|
+
interface IAIRichResponseDynamicMetadata {
|
|
913
|
+
|
|
914
|
+
/** AIRichResponseDynamicMetadata type */
|
|
915
|
+
type?: (waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
|
|
916
|
+
|
|
917
|
+
/** AIRichResponseDynamicMetadata version */
|
|
918
|
+
version?: (number|Long|null);
|
|
919
|
+
|
|
920
|
+
/** AIRichResponseDynamicMetadata url */
|
|
921
|
+
url?: (string|null);
|
|
922
|
+
|
|
923
|
+
/** AIRichResponseDynamicMetadata loopCount */
|
|
924
|
+
loopCount?: (number|null);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/** Represents a AIRichResponseDynamicMetadata. */
|
|
928
|
+
class AIRichResponseDynamicMetadata implements IAIRichResponseDynamicMetadata {
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Constructs a new AIRichResponseDynamicMetadata.
|
|
932
|
+
* @param [properties] Properties to set
|
|
933
|
+
*/
|
|
934
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata);
|
|
935
|
+
|
|
936
|
+
/** AIRichResponseDynamicMetadata type. */
|
|
937
|
+
public type?: (waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.AIRichResponseDynamicMetadataType|null);
|
|
938
|
+
|
|
939
|
+
/** AIRichResponseDynamicMetadata version. */
|
|
940
|
+
public version?: (number|Long|null);
|
|
941
|
+
|
|
942
|
+
/** AIRichResponseDynamicMetadata url. */
|
|
943
|
+
public url?: (string|null);
|
|
944
|
+
|
|
945
|
+
/** AIRichResponseDynamicMetadata loopCount. */
|
|
946
|
+
public loopCount?: (number|null);
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* Creates a new AIRichResponseDynamicMetadata instance using the specified properties.
|
|
950
|
+
* @param [properties] Properties to set
|
|
951
|
+
* @returns AIRichResponseDynamicMetadata instance
|
|
952
|
+
*/
|
|
953
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Encodes the specified AIRichResponseDynamicMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
|
|
957
|
+
* @param message AIRichResponseDynamicMetadata message or plain object to encode
|
|
958
|
+
* @param [writer] Writer to encode to
|
|
959
|
+
* @returns Writer
|
|
960
|
+
*/
|
|
961
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Encodes the specified AIRichResponseDynamicMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata.verify|verify} messages.
|
|
965
|
+
* @param message AIRichResponseDynamicMetadata message or plain object to encode
|
|
966
|
+
* @param [writer] Writer to encode to
|
|
967
|
+
* @returns Writer
|
|
968
|
+
*/
|
|
969
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer.
|
|
973
|
+
* @param reader Reader or buffer to decode from
|
|
974
|
+
* @param [length] Message length if known beforehand
|
|
975
|
+
* @returns AIRichResponseDynamicMetadata
|
|
976
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
977
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
978
|
+
*/
|
|
979
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Decodes a AIRichResponseDynamicMetadata message from the specified reader or buffer, length delimited.
|
|
983
|
+
* @param reader Reader or buffer to decode from
|
|
984
|
+
* @returns AIRichResponseDynamicMetadata
|
|
985
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
986
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
987
|
+
*/
|
|
988
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Verifies a AIRichResponseDynamicMetadata message.
|
|
992
|
+
* @param message Plain object to verify
|
|
993
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
994
|
+
*/
|
|
995
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Creates a AIRichResponseDynamicMetadata message from a plain object. Also converts values to their respective internal types.
|
|
999
|
+
* @param object Plain object
|
|
1000
|
+
* @returns AIRichResponseDynamicMetadata
|
|
1001
|
+
*/
|
|
1002
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata;
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Creates a plain object from a AIRichResponseDynamicMetadata message. Also converts values to other types if specified.
|
|
1006
|
+
* @param message AIRichResponseDynamicMetadata
|
|
1007
|
+
* @param [options] Conversion options
|
|
1008
|
+
* @returns Plain object
|
|
1009
|
+
*/
|
|
1010
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseDynamicMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Converts this AIRichResponseDynamicMetadata to JSON.
|
|
1014
|
+
* @returns JSON object
|
|
1015
|
+
*/
|
|
1016
|
+
public toJSON(): { [k: string]: any };
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Gets the default type url for AIRichResponseDynamicMetadata
|
|
1020
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1021
|
+
* @returns The default type url
|
|
1022
|
+
*/
|
|
1023
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
namespace AIRichResponseDynamicMetadata {
|
|
1027
|
+
|
|
1028
|
+
/** AIRichResponseDynamicMetadataType enum. */
|
|
1029
|
+
enum AIRichResponseDynamicMetadataType {
|
|
1030
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN = 0,
|
|
1031
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE = 1,
|
|
1032
|
+
AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF = 2
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
/** Properties of a AIRichResponseGridImageMetadata. */
|
|
1037
|
+
interface IAIRichResponseGridImageMetadata {
|
|
1038
|
+
|
|
1039
|
+
/** AIRichResponseGridImageMetadata gridImageUrl */
|
|
1040
|
+
gridImageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
|
|
1041
|
+
|
|
1042
|
+
/** AIRichResponseGridImageMetadata imageUrls */
|
|
1043
|
+
imageUrls?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL[]|null);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
/** Represents a AIRichResponseGridImageMetadata. */
|
|
1047
|
+
class AIRichResponseGridImageMetadata implements IAIRichResponseGridImageMetadata {
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Constructs a new AIRichResponseGridImageMetadata.
|
|
1051
|
+
* @param [properties] Properties to set
|
|
1052
|
+
*/
|
|
1053
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata);
|
|
1054
|
+
|
|
1055
|
+
/** AIRichResponseGridImageMetadata gridImageUrl. */
|
|
1056
|
+
public gridImageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
|
|
1057
|
+
|
|
1058
|
+
/** AIRichResponseGridImageMetadata imageUrls. */
|
|
1059
|
+
public imageUrls: waproto.AIRichResponseMessage.IAIRichResponseImageURL[];
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* Creates a new AIRichResponseGridImageMetadata instance using the specified properties.
|
|
1063
|
+
* @param [properties] Properties to set
|
|
1064
|
+
* @returns AIRichResponseGridImageMetadata instance
|
|
1065
|
+
*/
|
|
1066
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* Encodes the specified AIRichResponseGridImageMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
|
|
1070
|
+
* @param message AIRichResponseGridImageMetadata message or plain object to encode
|
|
1071
|
+
* @param [writer] Writer to encode to
|
|
1072
|
+
* @returns Writer
|
|
1073
|
+
*/
|
|
1074
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* Encodes the specified AIRichResponseGridImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata.verify|verify} messages.
|
|
1078
|
+
* @param message AIRichResponseGridImageMetadata message or plain object to encode
|
|
1079
|
+
* @param [writer] Writer to encode to
|
|
1080
|
+
* @returns Writer
|
|
1081
|
+
*/
|
|
1082
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer.
|
|
1086
|
+
* @param reader Reader or buffer to decode from
|
|
1087
|
+
* @param [length] Message length if known beforehand
|
|
1088
|
+
* @returns AIRichResponseGridImageMetadata
|
|
1089
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1090
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1091
|
+
*/
|
|
1092
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Decodes a AIRichResponseGridImageMetadata message from the specified reader or buffer, length delimited.
|
|
1096
|
+
* @param reader Reader or buffer to decode from
|
|
1097
|
+
* @returns AIRichResponseGridImageMetadata
|
|
1098
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1099
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1100
|
+
*/
|
|
1101
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* Verifies a AIRichResponseGridImageMetadata message.
|
|
1105
|
+
* @param message Plain object to verify
|
|
1106
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1107
|
+
*/
|
|
1108
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* Creates a AIRichResponseGridImageMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1112
|
+
* @param object Plain object
|
|
1113
|
+
* @returns AIRichResponseGridImageMetadata
|
|
1114
|
+
*/
|
|
1115
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* Creates a plain object from a AIRichResponseGridImageMetadata message. Also converts values to other types if specified.
|
|
1119
|
+
* @param message AIRichResponseGridImageMetadata
|
|
1120
|
+
* @param [options] Conversion options
|
|
1121
|
+
* @returns Plain object
|
|
1122
|
+
*/
|
|
1123
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseGridImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1124
|
+
|
|
1125
|
+
/**
|
|
1126
|
+
* Converts this AIRichResponseGridImageMetadata to JSON.
|
|
1127
|
+
* @returns JSON object
|
|
1128
|
+
*/
|
|
1129
|
+
public toJSON(): { [k: string]: any };
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Gets the default type url for AIRichResponseGridImageMetadata
|
|
1133
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1134
|
+
* @returns The default type url
|
|
1135
|
+
*/
|
|
1136
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
/** Properties of a AIRichResponseImageURL. */
|
|
1140
|
+
interface IAIRichResponseImageURL {
|
|
1141
|
+
|
|
1142
|
+
/** AIRichResponseImageURL imagePreviewUrl */
|
|
1143
|
+
imagePreviewUrl?: (string|null);
|
|
1144
|
+
|
|
1145
|
+
/** AIRichResponseImageURL imageHighResUrl */
|
|
1146
|
+
imageHighResUrl?: (string|null);
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/** Represents a AIRichResponseImageURL. */
|
|
1150
|
+
class AIRichResponseImageURL implements IAIRichResponseImageURL {
|
|
1151
|
+
|
|
1152
|
+
/**
|
|
1153
|
+
* Constructs a new AIRichResponseImageURL.
|
|
1154
|
+
* @param [properties] Properties to set
|
|
1155
|
+
*/
|
|
1156
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseImageURL);
|
|
1157
|
+
|
|
1158
|
+
/** AIRichResponseImageURL imagePreviewUrl. */
|
|
1159
|
+
public imagePreviewUrl?: (string|null);
|
|
1160
|
+
|
|
1161
|
+
/** AIRichResponseImageURL imageHighResUrl. */
|
|
1162
|
+
public imageHighResUrl?: (string|null);
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* Creates a new AIRichResponseImageURL instance using the specified properties.
|
|
1166
|
+
* @param [properties] Properties to set
|
|
1167
|
+
* @returns AIRichResponseImageURL instance
|
|
1168
|
+
*/
|
|
1169
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseImageURL): waproto.AIRichResponseMessage.AIRichResponseImageURL;
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Encodes the specified AIRichResponseImageURL message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
|
|
1173
|
+
* @param message AIRichResponseImageURL message or plain object to encode
|
|
1174
|
+
* @param [writer] Writer to encode to
|
|
1175
|
+
* @returns Writer
|
|
1176
|
+
*/
|
|
1177
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Encodes the specified AIRichResponseImageURL message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseImageURL.verify|verify} messages.
|
|
1181
|
+
* @param message AIRichResponseImageURL message or plain object to encode
|
|
1182
|
+
* @param [writer] Writer to encode to
|
|
1183
|
+
* @returns Writer
|
|
1184
|
+
*/
|
|
1185
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseImageURL, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* Decodes a AIRichResponseImageURL message from the specified reader or buffer.
|
|
1189
|
+
* @param reader Reader or buffer to decode from
|
|
1190
|
+
* @param [length] Message length if known beforehand
|
|
1191
|
+
* @returns AIRichResponseImageURL
|
|
1192
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1193
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1194
|
+
*/
|
|
1195
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseImageURL;
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Decodes a AIRichResponseImageURL message from the specified reader or buffer, length delimited.
|
|
1199
|
+
* @param reader Reader or buffer to decode from
|
|
1200
|
+
* @returns AIRichResponseImageURL
|
|
1201
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1202
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1203
|
+
*/
|
|
1204
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseImageURL;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Verifies a AIRichResponseImageURL message.
|
|
1208
|
+
* @param message Plain object to verify
|
|
1209
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1210
|
+
*/
|
|
1211
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* Creates a AIRichResponseImageURL message from a plain object. Also converts values to their respective internal types.
|
|
1215
|
+
* @param object Plain object
|
|
1216
|
+
* @returns AIRichResponseImageURL
|
|
1217
|
+
*/
|
|
1218
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseImageURL;
|
|
1219
|
+
|
|
1220
|
+
/**
|
|
1221
|
+
* Creates a plain object from a AIRichResponseImageURL message. Also converts values to other types if specified.
|
|
1222
|
+
* @param message AIRichResponseImageURL
|
|
1223
|
+
* @param [options] Conversion options
|
|
1224
|
+
* @returns Plain object
|
|
1225
|
+
*/
|
|
1226
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseImageURL, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Converts this AIRichResponseImageURL to JSON.
|
|
1230
|
+
* @returns JSON object
|
|
1231
|
+
*/
|
|
1232
|
+
public toJSON(): { [k: string]: any };
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* Gets the default type url for AIRichResponseImageURL
|
|
1236
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1237
|
+
* @returns The default type url
|
|
1238
|
+
*/
|
|
1239
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
/** Properties of a AIRichResponseInlineImageMetadata. */
|
|
1243
|
+
interface IAIRichResponseInlineImageMetadata {
|
|
1244
|
+
|
|
1245
|
+
/** AIRichResponseInlineImageMetadata imageUrl */
|
|
1246
|
+
imageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
|
|
1247
|
+
|
|
1248
|
+
/** AIRichResponseInlineImageMetadata imageText */
|
|
1249
|
+
imageText?: (string|null);
|
|
1250
|
+
|
|
1251
|
+
/** AIRichResponseInlineImageMetadata alignment */
|
|
1252
|
+
alignment?: (waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
|
|
1253
|
+
|
|
1254
|
+
/** AIRichResponseInlineImageMetadata tapLinkUrl */
|
|
1255
|
+
tapLinkUrl?: (string|null);
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
/** Represents a AIRichResponseInlineImageMetadata. */
|
|
1259
|
+
class AIRichResponseInlineImageMetadata implements IAIRichResponseInlineImageMetadata {
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* Constructs a new AIRichResponseInlineImageMetadata.
|
|
1263
|
+
* @param [properties] Properties to set
|
|
1264
|
+
*/
|
|
1265
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata);
|
|
1266
|
+
|
|
1267
|
+
/** AIRichResponseInlineImageMetadata imageUrl. */
|
|
1268
|
+
public imageUrl?: (waproto.AIRichResponseMessage.IAIRichResponseImageURL|null);
|
|
1269
|
+
|
|
1270
|
+
/** AIRichResponseInlineImageMetadata imageText. */
|
|
1271
|
+
public imageText?: (string|null);
|
|
1272
|
+
|
|
1273
|
+
/** AIRichResponseInlineImageMetadata alignment. */
|
|
1274
|
+
public alignment?: (waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.AIRichResponseImageAlignment|null);
|
|
1275
|
+
|
|
1276
|
+
/** AIRichResponseInlineImageMetadata tapLinkUrl. */
|
|
1277
|
+
public tapLinkUrl?: (string|null);
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Creates a new AIRichResponseInlineImageMetadata instance using the specified properties.
|
|
1281
|
+
* @param [properties] Properties to set
|
|
1282
|
+
* @returns AIRichResponseInlineImageMetadata instance
|
|
1283
|
+
*/
|
|
1284
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Encodes the specified AIRichResponseInlineImageMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
|
|
1288
|
+
* @param message AIRichResponseInlineImageMetadata message or plain object to encode
|
|
1289
|
+
* @param [writer] Writer to encode to
|
|
1290
|
+
* @returns Writer
|
|
1291
|
+
*/
|
|
1292
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* Encodes the specified AIRichResponseInlineImageMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata.verify|verify} messages.
|
|
1296
|
+
* @param message AIRichResponseInlineImageMetadata message or plain object to encode
|
|
1297
|
+
* @param [writer] Writer to encode to
|
|
1298
|
+
* @returns Writer
|
|
1299
|
+
*/
|
|
1300
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer.
|
|
1304
|
+
* @param reader Reader or buffer to decode from
|
|
1305
|
+
* @param [length] Message length if known beforehand
|
|
1306
|
+
* @returns AIRichResponseInlineImageMetadata
|
|
1307
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1308
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1309
|
+
*/
|
|
1310
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* Decodes a AIRichResponseInlineImageMetadata message from the specified reader or buffer, length delimited.
|
|
1314
|
+
* @param reader Reader or buffer to decode from
|
|
1315
|
+
* @returns AIRichResponseInlineImageMetadata
|
|
1316
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1317
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1318
|
+
*/
|
|
1319
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
* Verifies a AIRichResponseInlineImageMetadata message.
|
|
1323
|
+
* @param message Plain object to verify
|
|
1324
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1325
|
+
*/
|
|
1326
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Creates a AIRichResponseInlineImageMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1330
|
+
* @param object Plain object
|
|
1331
|
+
* @returns AIRichResponseInlineImageMetadata
|
|
1332
|
+
*/
|
|
1333
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata;
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* Creates a plain object from a AIRichResponseInlineImageMetadata message. Also converts values to other types if specified.
|
|
1337
|
+
* @param message AIRichResponseInlineImageMetadata
|
|
1338
|
+
* @param [options] Conversion options
|
|
1339
|
+
* @returns Plain object
|
|
1340
|
+
*/
|
|
1341
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseInlineImageMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1342
|
+
|
|
1343
|
+
/**
|
|
1344
|
+
* Converts this AIRichResponseInlineImageMetadata to JSON.
|
|
1345
|
+
* @returns JSON object
|
|
1346
|
+
*/
|
|
1347
|
+
public toJSON(): { [k: string]: any };
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Gets the default type url for AIRichResponseInlineImageMetadata
|
|
1351
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1352
|
+
* @returns The default type url
|
|
1353
|
+
*/
|
|
1354
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
namespace AIRichResponseInlineImageMetadata {
|
|
1358
|
+
|
|
1359
|
+
/** AIRichResponseImageAlignment enum. */
|
|
1360
|
+
enum AIRichResponseImageAlignment {
|
|
1361
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED = 0,
|
|
1362
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED = 1,
|
|
1363
|
+
AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED = 2
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
/** AIRichResponseMessageType enum. */
|
|
1368
|
+
enum AIRichResponseMessageType {
|
|
1369
|
+
AI_RICH_RESPONSE_TYPE_UNKNOWN = 0,
|
|
1370
|
+
AI_RICH_RESPONSE_TYPE_STANDARD = 1,
|
|
1371
|
+
AI_RICH_RESPONSE_TYPE_ARTIFACTS = 2
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/** Properties of a AIRichResponseSubMessage. */
|
|
1375
|
+
interface IAIRichResponseSubMessage {
|
|
1376
|
+
|
|
1377
|
+
/** AIRichResponseSubMessage messageType */
|
|
1378
|
+
messageType?: (waproto.AIRichResponseMessage.AIRichResponseSubMessageType|null);
|
|
1379
|
+
|
|
1380
|
+
/** AIRichResponseSubMessage gridImageMetadata */
|
|
1381
|
+
gridImageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
|
|
1382
|
+
|
|
1383
|
+
/** AIRichResponseSubMessage messageText */
|
|
1384
|
+
messageText?: (string|null);
|
|
1385
|
+
|
|
1386
|
+
/** AIRichResponseSubMessage imageMetadata */
|
|
1387
|
+
imageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
|
|
1388
|
+
|
|
1389
|
+
/** AIRichResponseSubMessage codeMetadata */
|
|
1390
|
+
codeMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
|
|
1391
|
+
|
|
1392
|
+
/** AIRichResponseSubMessage tableMetadata */
|
|
1393
|
+
tableMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
|
|
1394
|
+
|
|
1395
|
+
/** AIRichResponseSubMessage dynamicMetadata */
|
|
1396
|
+
dynamicMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/** Represents a AIRichResponseSubMessage. */
|
|
1400
|
+
class AIRichResponseSubMessage implements IAIRichResponseSubMessage {
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* Constructs a new AIRichResponseSubMessage.
|
|
1404
|
+
* @param [properties] Properties to set
|
|
1405
|
+
*/
|
|
1406
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseSubMessage);
|
|
1407
|
+
|
|
1408
|
+
/** AIRichResponseSubMessage messageType. */
|
|
1409
|
+
public messageType?: (waproto.AIRichResponseMessage.AIRichResponseSubMessageType|null);
|
|
1410
|
+
|
|
1411
|
+
/** AIRichResponseSubMessage gridImageMetadata. */
|
|
1412
|
+
public gridImageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseGridImageMetadata|null);
|
|
1413
|
+
|
|
1414
|
+
/** AIRichResponseSubMessage messageText. */
|
|
1415
|
+
public messageText?: (string|null);
|
|
1416
|
+
|
|
1417
|
+
/** AIRichResponseSubMessage imageMetadata. */
|
|
1418
|
+
public imageMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseInlineImageMetadata|null);
|
|
1419
|
+
|
|
1420
|
+
/** AIRichResponseSubMessage codeMetadata. */
|
|
1421
|
+
public codeMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseCodeMetadata|null);
|
|
1422
|
+
|
|
1423
|
+
/** AIRichResponseSubMessage tableMetadata. */
|
|
1424
|
+
public tableMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseTableMetadata|null);
|
|
1425
|
+
|
|
1426
|
+
/** AIRichResponseSubMessage dynamicMetadata. */
|
|
1427
|
+
public dynamicMetadata?: (waproto.AIRichResponseMessage.IAIRichResponseDynamicMetadata|null);
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* Creates a new AIRichResponseSubMessage instance using the specified properties.
|
|
1431
|
+
* @param [properties] Properties to set
|
|
1432
|
+
* @returns AIRichResponseSubMessage instance
|
|
1433
|
+
*/
|
|
1434
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseSubMessage): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* Encodes the specified AIRichResponseSubMessage message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
|
|
1438
|
+
* @param message AIRichResponseSubMessage message or plain object to encode
|
|
1439
|
+
* @param [writer] Writer to encode to
|
|
1440
|
+
* @returns Writer
|
|
1441
|
+
*/
|
|
1442
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Encodes the specified AIRichResponseSubMessage message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseSubMessage.verify|verify} messages.
|
|
1446
|
+
* @param message AIRichResponseSubMessage message or plain object to encode
|
|
1447
|
+
* @param [writer] Writer to encode to
|
|
1448
|
+
* @returns Writer
|
|
1449
|
+
*/
|
|
1450
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseSubMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* Decodes a AIRichResponseSubMessage message from the specified reader or buffer.
|
|
1454
|
+
* @param reader Reader or buffer to decode from
|
|
1455
|
+
* @param [length] Message length if known beforehand
|
|
1456
|
+
* @returns AIRichResponseSubMessage
|
|
1457
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1458
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1459
|
+
*/
|
|
1460
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Decodes a AIRichResponseSubMessage message from the specified reader or buffer, length delimited.
|
|
1464
|
+
* @param reader Reader or buffer to decode from
|
|
1465
|
+
* @returns AIRichResponseSubMessage
|
|
1466
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1467
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1468
|
+
*/
|
|
1469
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Verifies a AIRichResponseSubMessage message.
|
|
1473
|
+
* @param message Plain object to verify
|
|
1474
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1475
|
+
*/
|
|
1476
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* Creates a AIRichResponseSubMessage message from a plain object. Also converts values to their respective internal types.
|
|
1480
|
+
* @param object Plain object
|
|
1481
|
+
* @returns AIRichResponseSubMessage
|
|
1482
|
+
*/
|
|
1483
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseSubMessage;
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Creates a plain object from a AIRichResponseSubMessage message. Also converts values to other types if specified.
|
|
1487
|
+
* @param message AIRichResponseSubMessage
|
|
1488
|
+
* @param [options] Conversion options
|
|
1489
|
+
* @returns Plain object
|
|
1490
|
+
*/
|
|
1491
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseSubMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Converts this AIRichResponseSubMessage to JSON.
|
|
1495
|
+
* @returns JSON object
|
|
1496
|
+
*/
|
|
1497
|
+
public toJSON(): { [k: string]: any };
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* Gets the default type url for AIRichResponseSubMessage
|
|
1501
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1502
|
+
* @returns The default type url
|
|
1503
|
+
*/
|
|
1504
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
/** AIRichResponseSubMessageType enum. */
|
|
1508
|
+
enum AIRichResponseSubMessageType {
|
|
1509
|
+
AI_RICH_RESPONSE_UNKNOWN = 0,
|
|
1510
|
+
AI_RICH_RESPONSE_GRID_IMAGE = 1,
|
|
1511
|
+
AI_RICH_RESPONSE_TEXT = 2,
|
|
1512
|
+
AI_RICH_RESPONSE_INLINE_IMAGE = 3,
|
|
1513
|
+
AI_RICH_RESPONSE_TABLE = 4,
|
|
1514
|
+
AI_RICH_RESPONSE_CODE = 5,
|
|
1515
|
+
AI_RICH_RESPONSE_DYNAMIC = 6
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
/** Properties of a AIRichResponseTableMetadata. */
|
|
1519
|
+
interface IAIRichResponseTableMetadata {
|
|
1520
|
+
|
|
1521
|
+
/** AIRichResponseTableMetadata rows */
|
|
1522
|
+
rows?: (waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[]|null);
|
|
1523
|
+
}
|
|
1524
|
+
|
|
1525
|
+
/** Represents a AIRichResponseTableMetadata. */
|
|
1526
|
+
class AIRichResponseTableMetadata implements IAIRichResponseTableMetadata {
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Constructs a new AIRichResponseTableMetadata.
|
|
1530
|
+
* @param [properties] Properties to set
|
|
1531
|
+
*/
|
|
1532
|
+
constructor(properties?: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata);
|
|
1533
|
+
|
|
1534
|
+
/** AIRichResponseTableMetadata rows. */
|
|
1535
|
+
public rows: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow[];
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Creates a new AIRichResponseTableMetadata instance using the specified properties.
|
|
1539
|
+
* @param [properties] Properties to set
|
|
1540
|
+
* @returns AIRichResponseTableMetadata instance
|
|
1541
|
+
*/
|
|
1542
|
+
public static create(properties?: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
|
|
1543
|
+
|
|
1544
|
+
/**
|
|
1545
|
+
* Encodes the specified AIRichResponseTableMetadata message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
|
|
1546
|
+
* @param message AIRichResponseTableMetadata message or plain object to encode
|
|
1547
|
+
* @param [writer] Writer to encode to
|
|
1548
|
+
* @returns Writer
|
|
1549
|
+
*/
|
|
1550
|
+
public static encode(message: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Encodes the specified AIRichResponseTableMetadata message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.verify|verify} messages.
|
|
1554
|
+
* @param message AIRichResponseTableMetadata message or plain object to encode
|
|
1555
|
+
* @param [writer] Writer to encode to
|
|
1556
|
+
* @returns Writer
|
|
1557
|
+
*/
|
|
1558
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.IAIRichResponseTableMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* Decodes a AIRichResponseTableMetadata message from the specified reader or buffer.
|
|
1562
|
+
* @param reader Reader or buffer to decode from
|
|
1563
|
+
* @param [length] Message length if known beforehand
|
|
1564
|
+
* @returns AIRichResponseTableMetadata
|
|
1565
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1566
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1567
|
+
*/
|
|
1568
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* Decodes a AIRichResponseTableMetadata message from the specified reader or buffer, length delimited.
|
|
1572
|
+
* @param reader Reader or buffer to decode from
|
|
1573
|
+
* @returns AIRichResponseTableMetadata
|
|
1574
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1575
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1576
|
+
*/
|
|
1577
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* Verifies a AIRichResponseTableMetadata message.
|
|
1581
|
+
* @param message Plain object to verify
|
|
1582
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1583
|
+
*/
|
|
1584
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1585
|
+
|
|
1586
|
+
/**
|
|
1587
|
+
* Creates a AIRichResponseTableMetadata message from a plain object. Also converts values to their respective internal types.
|
|
1588
|
+
* @param object Plain object
|
|
1589
|
+
* @returns AIRichResponseTableMetadata
|
|
1590
|
+
*/
|
|
1591
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseTableMetadata;
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Creates a plain object from a AIRichResponseTableMetadata message. Also converts values to other types if specified.
|
|
1595
|
+
* @param message AIRichResponseTableMetadata
|
|
1596
|
+
* @param [options] Conversion options
|
|
1597
|
+
* @returns Plain object
|
|
1598
|
+
*/
|
|
1599
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Converts this AIRichResponseTableMetadata to JSON.
|
|
1603
|
+
* @returns JSON object
|
|
1604
|
+
*/
|
|
1605
|
+
public toJSON(): { [k: string]: any };
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Gets the default type url for AIRichResponseTableMetadata
|
|
1609
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1610
|
+
* @returns The default type url
|
|
1611
|
+
*/
|
|
1612
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
namespace AIRichResponseTableMetadata {
|
|
1616
|
+
|
|
1617
|
+
/** Properties of a AIRichResponseTableRow. */
|
|
1618
|
+
interface IAIRichResponseTableRow {
|
|
1619
|
+
|
|
1620
|
+
/** AIRichResponseTableRow items */
|
|
1621
|
+
items?: (string[]|null);
|
|
1622
|
+
|
|
1623
|
+
/** AIRichResponseTableRow isHeading */
|
|
1624
|
+
isHeading?: (boolean|null);
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** Represents a AIRichResponseTableRow. */
|
|
1628
|
+
class AIRichResponseTableRow implements IAIRichResponseTableRow {
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* Constructs a new AIRichResponseTableRow.
|
|
1632
|
+
* @param [properties] Properties to set
|
|
1633
|
+
*/
|
|
1634
|
+
constructor(properties?: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow);
|
|
1635
|
+
|
|
1636
|
+
/** AIRichResponseTableRow items. */
|
|
1637
|
+
public items: string[];
|
|
1638
|
+
|
|
1639
|
+
/** AIRichResponseTableRow isHeading. */
|
|
1640
|
+
public isHeading?: (boolean|null);
|
|
1641
|
+
|
|
1642
|
+
/**
|
|
1643
|
+
* Creates a new AIRichResponseTableRow instance using the specified properties.
|
|
1644
|
+
* @param [properties] Properties to set
|
|
1645
|
+
* @returns AIRichResponseTableRow instance
|
|
1646
|
+
*/
|
|
1647
|
+
public static create(properties?: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* Encodes the specified AIRichResponseTableRow message. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
|
|
1651
|
+
* @param message AIRichResponseTableRow message or plain object to encode
|
|
1652
|
+
* @param [writer] Writer to encode to
|
|
1653
|
+
* @returns Writer
|
|
1654
|
+
*/
|
|
1655
|
+
public static encode(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* Encodes the specified AIRichResponseTableRow message, length delimited. Does not implicitly {@link waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow.verify|verify} messages.
|
|
1659
|
+
* @param message AIRichResponseTableRow message or plain object to encode
|
|
1660
|
+
* @param [writer] Writer to encode to
|
|
1661
|
+
* @returns Writer
|
|
1662
|
+
*/
|
|
1663
|
+
public static encodeDelimited(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.IAIRichResponseTableRow, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Decodes a AIRichResponseTableRow message from the specified reader or buffer.
|
|
1667
|
+
* @param reader Reader or buffer to decode from
|
|
1668
|
+
* @param [length] Message length if known beforehand
|
|
1669
|
+
* @returns AIRichResponseTableRow
|
|
1670
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1671
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1672
|
+
*/
|
|
1673
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Decodes a AIRichResponseTableRow message from the specified reader or buffer, length delimited.
|
|
1677
|
+
* @param reader Reader or buffer to decode from
|
|
1678
|
+
* @returns AIRichResponseTableRow
|
|
1679
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1680
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1681
|
+
*/
|
|
1682
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* Verifies a AIRichResponseTableRow message.
|
|
1686
|
+
* @param message Plain object to verify
|
|
1687
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1688
|
+
*/
|
|
1689
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* Creates a AIRichResponseTableRow message from a plain object. Also converts values to their respective internal types.
|
|
1693
|
+
* @param object Plain object
|
|
1694
|
+
* @returns AIRichResponseTableRow
|
|
1695
|
+
*/
|
|
1696
|
+
public static fromObject(object: { [k: string]: any }): waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow;
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* Creates a plain object from a AIRichResponseTableRow message. Also converts values to other types if specified.
|
|
1700
|
+
* @param message AIRichResponseTableRow
|
|
1701
|
+
* @param [options] Conversion options
|
|
1702
|
+
* @returns Plain object
|
|
1703
|
+
*/
|
|
1704
|
+
public static toObject(message: waproto.AIRichResponseMessage.AIRichResponseTableMetadata.AIRichResponseTableRow, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1705
|
+
|
|
1706
|
+
/**
|
|
1707
|
+
* Converts this AIRichResponseTableRow to JSON.
|
|
1708
|
+
* @returns JSON object
|
|
1709
|
+
*/
|
|
1710
|
+
public toJSON(): { [k: string]: any };
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Gets the default type url for AIRichResponseTableRow
|
|
1714
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1715
|
+
* @returns The default type url
|
|
1716
|
+
*/
|
|
1717
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1718
|
+
}
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
|
|
587
1722
|
/** Properties of an ActionLink. */
|
|
588
1723
|
interface IActionLink {
|
|
589
1724
|
|
|
@@ -1533,6 +2668,8 @@ export namespace waproto {
|
|
|
1533
2668
|
RICH_RESPONSE_THREAD_SURFING = 5,
|
|
1534
2669
|
RICH_RESPONSE_TABLE = 6,
|
|
1535
2670
|
RICH_RESPONSE_CODE = 7,
|
|
2671
|
+
RICH_RESPONSE_STRUCTURED_RESPONSE = 8,
|
|
2672
|
+
RICH_RESPONSE_INLINE_IMAGE = 9,
|
|
1536
2673
|
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10,
|
|
1537
2674
|
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11,
|
|
1538
2675
|
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12,
|
|
@@ -4864,6 +6001,9 @@ export namespace waproto {
|
|
|
4864
6001
|
|
|
4865
6002
|
/** ClientPairingProps isChatDbLidMigrated */
|
|
4866
6003
|
isChatDbLidMigrated?: (boolean|null);
|
|
6004
|
+
|
|
6005
|
+
/** ClientPairingProps isSyncdPureLidSession */
|
|
6006
|
+
isSyncdPureLidSession?: (boolean|null);
|
|
4867
6007
|
}
|
|
4868
6008
|
|
|
4869
6009
|
/** Represents a ClientPairingProps. */
|
|
@@ -4878,6 +6018,9 @@ export namespace waproto {
|
|
|
4878
6018
|
/** ClientPairingProps isChatDbLidMigrated. */
|
|
4879
6019
|
public isChatDbLidMigrated?: (boolean|null);
|
|
4880
6020
|
|
|
6021
|
+
/** ClientPairingProps isSyncdPureLidSession. */
|
|
6022
|
+
public isSyncdPureLidSession?: (boolean|null);
|
|
6023
|
+
|
|
4881
6024
|
/**
|
|
4882
6025
|
* Creates a new ClientPairingProps instance using the specified properties.
|
|
4883
6026
|
* @param [properties] Properties to set
|
|
@@ -6821,6 +7964,9 @@ export namespace waproto {
|
|
|
6821
7964
|
|
|
6822
7965
|
/** ContextInfo statusAttributionType */
|
|
6823
7966
|
statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null);
|
|
7967
|
+
|
|
7968
|
+
/** ContextInfo urlTrackingMap */
|
|
7969
|
+
urlTrackingMap?: (waproto.IUrlTrackingMap|null);
|
|
6824
7970
|
}
|
|
6825
7971
|
|
|
6826
7972
|
/** Represents a ContextInfo. */
|
|
@@ -6955,6 +8101,9 @@ export namespace waproto {
|
|
|
6955
8101
|
/** ContextInfo statusAttributionType. */
|
|
6956
8102
|
public statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null);
|
|
6957
8103
|
|
|
8104
|
+
/** ContextInfo urlTrackingMap. */
|
|
8105
|
+
public urlTrackingMap?: (waproto.IUrlTrackingMap|null);
|
|
8106
|
+
|
|
6958
8107
|
/**
|
|
6959
8108
|
* Creates a new ContextInfo instance using the specified properties.
|
|
6960
8109
|
* @param [properties] Properties to set
|
|
@@ -12853,6 +14002,115 @@ export namespace waproto {
|
|
|
12853
14002
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12854
14003
|
}
|
|
12855
14004
|
|
|
14005
|
+
/** Properties of a LIDMigrationMapping. */
|
|
14006
|
+
interface ILIDMigrationMapping {
|
|
14007
|
+
|
|
14008
|
+
/** LIDMigrationMapping pn */
|
|
14009
|
+
pn: (number|Long);
|
|
14010
|
+
|
|
14011
|
+
/** LIDMigrationMapping assignedLid */
|
|
14012
|
+
assignedLid: (number|Long);
|
|
14013
|
+
|
|
14014
|
+
/** LIDMigrationMapping latestLid */
|
|
14015
|
+
latestLid?: (number|Long|null);
|
|
14016
|
+
}
|
|
14017
|
+
|
|
14018
|
+
/** Represents a LIDMigrationMapping. */
|
|
14019
|
+
class LIDMigrationMapping implements ILIDMigrationMapping {
|
|
14020
|
+
|
|
14021
|
+
/**
|
|
14022
|
+
* Constructs a new LIDMigrationMapping.
|
|
14023
|
+
* @param [properties] Properties to set
|
|
14024
|
+
*/
|
|
14025
|
+
constructor(properties?: waproto.ILIDMigrationMapping);
|
|
14026
|
+
|
|
14027
|
+
/** LIDMigrationMapping pn. */
|
|
14028
|
+
public pn: (number|Long);
|
|
14029
|
+
|
|
14030
|
+
/** LIDMigrationMapping assignedLid. */
|
|
14031
|
+
public assignedLid: (number|Long);
|
|
14032
|
+
|
|
14033
|
+
/** LIDMigrationMapping latestLid. */
|
|
14034
|
+
public latestLid?: (number|Long|null);
|
|
14035
|
+
|
|
14036
|
+
/**
|
|
14037
|
+
* Creates a new LIDMigrationMapping instance using the specified properties.
|
|
14038
|
+
* @param [properties] Properties to set
|
|
14039
|
+
* @returns LIDMigrationMapping instance
|
|
14040
|
+
*/
|
|
14041
|
+
public static create(properties?: waproto.ILIDMigrationMapping): waproto.LIDMigrationMapping;
|
|
14042
|
+
|
|
14043
|
+
/**
|
|
14044
|
+
* Encodes the specified LIDMigrationMapping message. Does not implicitly {@link waproto.LIDMigrationMapping.verify|verify} messages.
|
|
14045
|
+
* @param message LIDMigrationMapping message or plain object to encode
|
|
14046
|
+
* @param [writer] Writer to encode to
|
|
14047
|
+
* @returns Writer
|
|
14048
|
+
*/
|
|
14049
|
+
public static encode(message: waproto.ILIDMigrationMapping, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14050
|
+
|
|
14051
|
+
/**
|
|
14052
|
+
* Encodes the specified LIDMigrationMapping message, length delimited. Does not implicitly {@link waproto.LIDMigrationMapping.verify|verify} messages.
|
|
14053
|
+
* @param message LIDMigrationMapping message or plain object to encode
|
|
14054
|
+
* @param [writer] Writer to encode to
|
|
14055
|
+
* @returns Writer
|
|
14056
|
+
*/
|
|
14057
|
+
public static encodeDelimited(message: waproto.ILIDMigrationMapping, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14058
|
+
|
|
14059
|
+
/**
|
|
14060
|
+
* Decodes a LIDMigrationMapping message from the specified reader or buffer.
|
|
14061
|
+
* @param reader Reader or buffer to decode from
|
|
14062
|
+
* @param [length] Message length if known beforehand
|
|
14063
|
+
* @returns LIDMigrationMapping
|
|
14064
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14065
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14066
|
+
*/
|
|
14067
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LIDMigrationMapping;
|
|
14068
|
+
|
|
14069
|
+
/**
|
|
14070
|
+
* Decodes a LIDMigrationMapping message from the specified reader or buffer, length delimited.
|
|
14071
|
+
* @param reader Reader or buffer to decode from
|
|
14072
|
+
* @returns LIDMigrationMapping
|
|
14073
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14074
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14075
|
+
*/
|
|
14076
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LIDMigrationMapping;
|
|
14077
|
+
|
|
14078
|
+
/**
|
|
14079
|
+
* Verifies a LIDMigrationMapping message.
|
|
14080
|
+
* @param message Plain object to verify
|
|
14081
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14082
|
+
*/
|
|
14083
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14084
|
+
|
|
14085
|
+
/**
|
|
14086
|
+
* Creates a LIDMigrationMapping message from a plain object. Also converts values to their respective internal types.
|
|
14087
|
+
* @param object Plain object
|
|
14088
|
+
* @returns LIDMigrationMapping
|
|
14089
|
+
*/
|
|
14090
|
+
public static fromObject(object: { [k: string]: any }): waproto.LIDMigrationMapping;
|
|
14091
|
+
|
|
14092
|
+
/**
|
|
14093
|
+
* Creates a plain object from a LIDMigrationMapping message. Also converts values to other types if specified.
|
|
14094
|
+
* @param message LIDMigrationMapping
|
|
14095
|
+
* @param [options] Conversion options
|
|
14096
|
+
* @returns Plain object
|
|
14097
|
+
*/
|
|
14098
|
+
public static toObject(message: waproto.LIDMigrationMapping, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14099
|
+
|
|
14100
|
+
/**
|
|
14101
|
+
* Converts this LIDMigrationMapping to JSON.
|
|
14102
|
+
* @returns JSON object
|
|
14103
|
+
*/
|
|
14104
|
+
public toJSON(): { [k: string]: any };
|
|
14105
|
+
|
|
14106
|
+
/**
|
|
14107
|
+
* Gets the default type url for LIDMigrationMapping
|
|
14108
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14109
|
+
* @returns The default type url
|
|
14110
|
+
*/
|
|
14111
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14112
|
+
}
|
|
14113
|
+
|
|
12856
14114
|
/** Properties of a LIDMigrationMappingSyncMessage. */
|
|
12857
14115
|
interface ILIDMigrationMappingSyncMessage {
|
|
12858
14116
|
|
|
@@ -12950,6 +14208,103 @@ export namespace waproto {
|
|
|
12950
14208
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12951
14209
|
}
|
|
12952
14210
|
|
|
14211
|
+
/** Properties of a LIDMigrationMappingSyncPayload. */
|
|
14212
|
+
interface ILIDMigrationMappingSyncPayload {
|
|
14213
|
+
|
|
14214
|
+
/** LIDMigrationMappingSyncPayload pnToLidMappings */
|
|
14215
|
+
pnToLidMappings?: (waproto.ILIDMigrationMapping[]|null);
|
|
14216
|
+
}
|
|
14217
|
+
|
|
14218
|
+
/** Represents a LIDMigrationMappingSyncPayload. */
|
|
14219
|
+
class LIDMigrationMappingSyncPayload implements ILIDMigrationMappingSyncPayload {
|
|
14220
|
+
|
|
14221
|
+
/**
|
|
14222
|
+
* Constructs a new LIDMigrationMappingSyncPayload.
|
|
14223
|
+
* @param [properties] Properties to set
|
|
14224
|
+
*/
|
|
14225
|
+
constructor(properties?: waproto.ILIDMigrationMappingSyncPayload);
|
|
14226
|
+
|
|
14227
|
+
/** LIDMigrationMappingSyncPayload pnToLidMappings. */
|
|
14228
|
+
public pnToLidMappings: waproto.ILIDMigrationMapping[];
|
|
14229
|
+
|
|
14230
|
+
/**
|
|
14231
|
+
* Creates a new LIDMigrationMappingSyncPayload instance using the specified properties.
|
|
14232
|
+
* @param [properties] Properties to set
|
|
14233
|
+
* @returns LIDMigrationMappingSyncPayload instance
|
|
14234
|
+
*/
|
|
14235
|
+
public static create(properties?: waproto.ILIDMigrationMappingSyncPayload): waproto.LIDMigrationMappingSyncPayload;
|
|
14236
|
+
|
|
14237
|
+
/**
|
|
14238
|
+
* Encodes the specified LIDMigrationMappingSyncPayload message. Does not implicitly {@link waproto.LIDMigrationMappingSyncPayload.verify|verify} messages.
|
|
14239
|
+
* @param message LIDMigrationMappingSyncPayload message or plain object to encode
|
|
14240
|
+
* @param [writer] Writer to encode to
|
|
14241
|
+
* @returns Writer
|
|
14242
|
+
*/
|
|
14243
|
+
public static encode(message: waproto.ILIDMigrationMappingSyncPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14244
|
+
|
|
14245
|
+
/**
|
|
14246
|
+
* Encodes the specified LIDMigrationMappingSyncPayload message, length delimited. Does not implicitly {@link waproto.LIDMigrationMappingSyncPayload.verify|verify} messages.
|
|
14247
|
+
* @param message LIDMigrationMappingSyncPayload message or plain object to encode
|
|
14248
|
+
* @param [writer] Writer to encode to
|
|
14249
|
+
* @returns Writer
|
|
14250
|
+
*/
|
|
14251
|
+
public static encodeDelimited(message: waproto.ILIDMigrationMappingSyncPayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14252
|
+
|
|
14253
|
+
/**
|
|
14254
|
+
* Decodes a LIDMigrationMappingSyncPayload message from the specified reader or buffer.
|
|
14255
|
+
* @param reader Reader or buffer to decode from
|
|
14256
|
+
* @param [length] Message length if known beforehand
|
|
14257
|
+
* @returns LIDMigrationMappingSyncPayload
|
|
14258
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14259
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14260
|
+
*/
|
|
14261
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.LIDMigrationMappingSyncPayload;
|
|
14262
|
+
|
|
14263
|
+
/**
|
|
14264
|
+
* Decodes a LIDMigrationMappingSyncPayload message from the specified reader or buffer, length delimited.
|
|
14265
|
+
* @param reader Reader or buffer to decode from
|
|
14266
|
+
* @returns LIDMigrationMappingSyncPayload
|
|
14267
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14268
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14269
|
+
*/
|
|
14270
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.LIDMigrationMappingSyncPayload;
|
|
14271
|
+
|
|
14272
|
+
/**
|
|
14273
|
+
* Verifies a LIDMigrationMappingSyncPayload message.
|
|
14274
|
+
* @param message Plain object to verify
|
|
14275
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14276
|
+
*/
|
|
14277
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14278
|
+
|
|
14279
|
+
/**
|
|
14280
|
+
* Creates a LIDMigrationMappingSyncPayload message from a plain object. Also converts values to their respective internal types.
|
|
14281
|
+
* @param object Plain object
|
|
14282
|
+
* @returns LIDMigrationMappingSyncPayload
|
|
14283
|
+
*/
|
|
14284
|
+
public static fromObject(object: { [k: string]: any }): waproto.LIDMigrationMappingSyncPayload;
|
|
14285
|
+
|
|
14286
|
+
/**
|
|
14287
|
+
* Creates a plain object from a LIDMigrationMappingSyncPayload message. Also converts values to other types if specified.
|
|
14288
|
+
* @param message LIDMigrationMappingSyncPayload
|
|
14289
|
+
* @param [options] Conversion options
|
|
14290
|
+
* @returns Plain object
|
|
14291
|
+
*/
|
|
14292
|
+
public static toObject(message: waproto.LIDMigrationMappingSyncPayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14293
|
+
|
|
14294
|
+
/**
|
|
14295
|
+
* Converts this LIDMigrationMappingSyncPayload to JSON.
|
|
14296
|
+
* @returns JSON object
|
|
14297
|
+
*/
|
|
14298
|
+
public toJSON(): { [k: string]: any };
|
|
14299
|
+
|
|
14300
|
+
/**
|
|
14301
|
+
* Gets the default type url for LIDMigrationMappingSyncPayload
|
|
14302
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14303
|
+
* @returns The default type url
|
|
14304
|
+
*/
|
|
14305
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14306
|
+
}
|
|
14307
|
+
|
|
12953
14308
|
/** Properties of a LegacyMessage. */
|
|
12954
14309
|
interface ILegacyMessage {
|
|
12955
14310
|
|
|
@@ -13849,6 +15204,12 @@ export namespace waproto {
|
|
|
13849
15204
|
|
|
13850
15205
|
/** Message statusAddYours */
|
|
13851
15206
|
statusAddYours?: (waproto.Message.IFutureProofMessage|null);
|
|
15207
|
+
|
|
15208
|
+
/** Message groupStatusMessage */
|
|
15209
|
+
groupStatusMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
15210
|
+
|
|
15211
|
+
/** Message richResponseMessage */
|
|
15212
|
+
richResponseMessage?: (waproto.IAIRichResponseMessage|null);
|
|
13852
15213
|
}
|
|
13853
15214
|
|
|
13854
15215
|
/** Represents a Message. */
|
|
@@ -14097,6 +15458,12 @@ export namespace waproto {
|
|
|
14097
15458
|
/** Message statusAddYours. */
|
|
14098
15459
|
public statusAddYours?: (waproto.Message.IFutureProofMessage|null);
|
|
14099
15460
|
|
|
15461
|
+
/** Message groupStatusMessage. */
|
|
15462
|
+
public groupStatusMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
15463
|
+
|
|
15464
|
+
/** Message richResponseMessage. */
|
|
15465
|
+
public richResponseMessage?: (waproto.IAIRichResponseMessage|null);
|
|
15466
|
+
|
|
14100
15467
|
/**
|
|
14101
15468
|
* Creates a new Message instance using the specified properties.
|
|
14102
15469
|
* @param [properties] Properties to set
|
|
@@ -20064,6 +21431,9 @@ export namespace waproto {
|
|
|
20064
21431
|
/** InteractiveMessage contextInfo */
|
|
20065
21432
|
contextInfo?: (waproto.IContextInfo|null);
|
|
20066
21433
|
|
|
21434
|
+
/** InteractiveMessage urlTrackingMap */
|
|
21435
|
+
urlTrackingMap?: (waproto.IUrlTrackingMap|null);
|
|
21436
|
+
|
|
20067
21437
|
/** InteractiveMessage shopStorefrontMessage */
|
|
20068
21438
|
shopStorefrontMessage?: (waproto.Message.InteractiveMessage.IShopMessage|null);
|
|
20069
21439
|
|
|
@@ -20098,6 +21468,9 @@ export namespace waproto {
|
|
|
20098
21468
|
/** InteractiveMessage contextInfo. */
|
|
20099
21469
|
public contextInfo?: (waproto.IContextInfo|null);
|
|
20100
21470
|
|
|
21471
|
+
/** InteractiveMessage urlTrackingMap. */
|
|
21472
|
+
public urlTrackingMap?: (waproto.IUrlTrackingMap|null);
|
|
21473
|
+
|
|
20101
21474
|
/** InteractiveMessage shopStorefrontMessage. */
|
|
20102
21475
|
public shopStorefrontMessage?: (waproto.Message.InteractiveMessage.IShopMessage|null);
|
|
20103
21476
|
|
|
@@ -25532,6 +26905,13 @@ export namespace waproto {
|
|
|
25532
26905
|
}
|
|
25533
26906
|
}
|
|
25534
26907
|
|
|
26908
|
+
/** PollContentType enum. */
|
|
26909
|
+
enum PollContentType {
|
|
26910
|
+
UNKNOWN = 0,
|
|
26911
|
+
TEXT = 1,
|
|
26912
|
+
IMAGE = 2
|
|
26913
|
+
}
|
|
26914
|
+
|
|
25535
26915
|
/** Properties of a PollCreationMessage. */
|
|
25536
26916
|
interface IPollCreationMessage {
|
|
25537
26917
|
|
|
@@ -25550,8 +26930,8 @@ export namespace waproto {
|
|
|
25550
26930
|
/** PollCreationMessage contextInfo */
|
|
25551
26931
|
contextInfo?: (waproto.IContextInfo|null);
|
|
25552
26932
|
|
|
25553
|
-
/** PollCreationMessage
|
|
25554
|
-
|
|
26933
|
+
/** PollCreationMessage pollContentType */
|
|
26934
|
+
pollContentType?: (waproto.Message.PollContentType|null);
|
|
25555
26935
|
|
|
25556
26936
|
/** PollCreationMessage pollType */
|
|
25557
26937
|
pollType?: (waproto.Message.PollCreationMessage.PollType|null);
|
|
@@ -25584,8 +26964,8 @@ export namespace waproto {
|
|
|
25584
26964
|
/** PollCreationMessage contextInfo. */
|
|
25585
26965
|
public contextInfo?: (waproto.IContextInfo|null);
|
|
25586
26966
|
|
|
25587
|
-
/** PollCreationMessage
|
|
25588
|
-
public
|
|
26967
|
+
/** PollCreationMessage pollContentType. */
|
|
26968
|
+
public pollContentType?: (waproto.Message.PollContentType|null);
|
|
25589
26969
|
|
|
25590
26970
|
/** PollCreationMessage pollType. */
|
|
25591
26971
|
public pollType?: (waproto.Message.PollCreationMessage.PollType|null);
|
|
@@ -25886,12 +27266,6 @@ export namespace waproto {
|
|
|
25886
27266
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
25887
27267
|
}
|
|
25888
27268
|
|
|
25889
|
-
/** PollMediaType enum. */
|
|
25890
|
-
enum PollMediaType {
|
|
25891
|
-
TEXT = 1,
|
|
25892
|
-
IMAGE = 2
|
|
25893
|
-
}
|
|
25894
|
-
|
|
25895
27269
|
/** Properties of a PollResultSnapshotMessage. */
|
|
25896
27270
|
interface IPollResultSnapshotMessage {
|
|
25897
27271
|
|
|
@@ -30510,6 +31884,9 @@ export namespace waproto {
|
|
|
30510
31884
|
/** MsgOpaqueData isSentCagPollCreation */
|
|
30511
31885
|
isSentCagPollCreation?: (boolean|null);
|
|
30512
31886
|
|
|
31887
|
+
/** MsgOpaqueData pollContentType */
|
|
31888
|
+
pollContentType?: (waproto.MsgOpaqueData.PollContentType|null);
|
|
31889
|
+
|
|
30513
31890
|
/** MsgOpaqueData pollVotesSnapshot */
|
|
30514
31891
|
pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
30515
31892
|
|
|
@@ -30631,6 +32008,9 @@ export namespace waproto {
|
|
|
30631
32008
|
/** MsgOpaqueData isSentCagPollCreation. */
|
|
30632
32009
|
public isSentCagPollCreation?: (boolean|null);
|
|
30633
32010
|
|
|
32011
|
+
/** MsgOpaqueData pollContentType. */
|
|
32012
|
+
public pollContentType?: (waproto.MsgOpaqueData.PollContentType|null);
|
|
32013
|
+
|
|
30634
32014
|
/** MsgOpaqueData pollVotesSnapshot. */
|
|
30635
32015
|
public pollVotesSnapshot?: (waproto.MsgOpaqueData.IPollVotesSnapshot|null);
|
|
30636
32016
|
|
|
@@ -30883,11 +32263,21 @@ export namespace waproto {
|
|
|
30883
32263
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30884
32264
|
}
|
|
30885
32265
|
|
|
32266
|
+
/** PollContentType enum. */
|
|
32267
|
+
enum PollContentType {
|
|
32268
|
+
UNKNOWN = 0,
|
|
32269
|
+
TEXT = 1,
|
|
32270
|
+
IMAGE = 2
|
|
32271
|
+
}
|
|
32272
|
+
|
|
30886
32273
|
/** Properties of a PollOption. */
|
|
30887
32274
|
interface IPollOption {
|
|
30888
32275
|
|
|
30889
32276
|
/** PollOption name */
|
|
30890
32277
|
name?: (string|null);
|
|
32278
|
+
|
|
32279
|
+
/** PollOption hash */
|
|
32280
|
+
hash?: (string|null);
|
|
30891
32281
|
}
|
|
30892
32282
|
|
|
30893
32283
|
/** Represents a PollOption. */
|
|
@@ -30902,6 +32292,9 @@ export namespace waproto {
|
|
|
30902
32292
|
/** PollOption name. */
|
|
30903
32293
|
public name?: (string|null);
|
|
30904
32294
|
|
|
32295
|
+
/** PollOption hash. */
|
|
32296
|
+
public hash?: (string|null);
|
|
32297
|
+
|
|
30905
32298
|
/**
|
|
30906
32299
|
* Creates a new PollOption instance using the specified properties.
|
|
30907
32300
|
* @param [properties] Properties to set
|
|
@@ -44849,6 +46242,221 @@ export namespace waproto {
|
|
|
44849
46242
|
}
|
|
44850
46243
|
}
|
|
44851
46244
|
|
|
46245
|
+
/** Properties of an UrlTrackingMap. */
|
|
46246
|
+
interface IUrlTrackingMap {
|
|
46247
|
+
|
|
46248
|
+
/** UrlTrackingMap urlTrackingMapElements */
|
|
46249
|
+
urlTrackingMapElements?: (waproto.UrlTrackingMap.IUrlTrackingMapElement[]|null);
|
|
46250
|
+
}
|
|
46251
|
+
|
|
46252
|
+
/** Represents an UrlTrackingMap. */
|
|
46253
|
+
class UrlTrackingMap implements IUrlTrackingMap {
|
|
46254
|
+
|
|
46255
|
+
/**
|
|
46256
|
+
* Constructs a new UrlTrackingMap.
|
|
46257
|
+
* @param [properties] Properties to set
|
|
46258
|
+
*/
|
|
46259
|
+
constructor(properties?: waproto.IUrlTrackingMap);
|
|
46260
|
+
|
|
46261
|
+
/** UrlTrackingMap urlTrackingMapElements. */
|
|
46262
|
+
public urlTrackingMapElements: waproto.UrlTrackingMap.IUrlTrackingMapElement[];
|
|
46263
|
+
|
|
46264
|
+
/**
|
|
46265
|
+
* Creates a new UrlTrackingMap instance using the specified properties.
|
|
46266
|
+
* @param [properties] Properties to set
|
|
46267
|
+
* @returns UrlTrackingMap instance
|
|
46268
|
+
*/
|
|
46269
|
+
public static create(properties?: waproto.IUrlTrackingMap): waproto.UrlTrackingMap;
|
|
46270
|
+
|
|
46271
|
+
/**
|
|
46272
|
+
* Encodes the specified UrlTrackingMap message. Does not implicitly {@link waproto.UrlTrackingMap.verify|verify} messages.
|
|
46273
|
+
* @param message UrlTrackingMap message or plain object to encode
|
|
46274
|
+
* @param [writer] Writer to encode to
|
|
46275
|
+
* @returns Writer
|
|
46276
|
+
*/
|
|
46277
|
+
public static encode(message: waproto.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46278
|
+
|
|
46279
|
+
/**
|
|
46280
|
+
* Encodes the specified UrlTrackingMap message, length delimited. Does not implicitly {@link waproto.UrlTrackingMap.verify|verify} messages.
|
|
46281
|
+
* @param message UrlTrackingMap message or plain object to encode
|
|
46282
|
+
* @param [writer] Writer to encode to
|
|
46283
|
+
* @returns Writer
|
|
46284
|
+
*/
|
|
46285
|
+
public static encodeDelimited(message: waproto.IUrlTrackingMap, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46286
|
+
|
|
46287
|
+
/**
|
|
46288
|
+
* Decodes an UrlTrackingMap message from the specified reader or buffer.
|
|
46289
|
+
* @param reader Reader or buffer to decode from
|
|
46290
|
+
* @param [length] Message length if known beforehand
|
|
46291
|
+
* @returns UrlTrackingMap
|
|
46292
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46293
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46294
|
+
*/
|
|
46295
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UrlTrackingMap;
|
|
46296
|
+
|
|
46297
|
+
/**
|
|
46298
|
+
* Decodes an UrlTrackingMap message from the specified reader or buffer, length delimited.
|
|
46299
|
+
* @param reader Reader or buffer to decode from
|
|
46300
|
+
* @returns UrlTrackingMap
|
|
46301
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46302
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46303
|
+
*/
|
|
46304
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UrlTrackingMap;
|
|
46305
|
+
|
|
46306
|
+
/**
|
|
46307
|
+
* Verifies an UrlTrackingMap message.
|
|
46308
|
+
* @param message Plain object to verify
|
|
46309
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
46310
|
+
*/
|
|
46311
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
46312
|
+
|
|
46313
|
+
/**
|
|
46314
|
+
* Creates an UrlTrackingMap message from a plain object. Also converts values to their respective internal types.
|
|
46315
|
+
* @param object Plain object
|
|
46316
|
+
* @returns UrlTrackingMap
|
|
46317
|
+
*/
|
|
46318
|
+
public static fromObject(object: { [k: string]: any }): waproto.UrlTrackingMap;
|
|
46319
|
+
|
|
46320
|
+
/**
|
|
46321
|
+
* Creates a plain object from an UrlTrackingMap message. Also converts values to other types if specified.
|
|
46322
|
+
* @param message UrlTrackingMap
|
|
46323
|
+
* @param [options] Conversion options
|
|
46324
|
+
* @returns Plain object
|
|
46325
|
+
*/
|
|
46326
|
+
public static toObject(message: waproto.UrlTrackingMap, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
46327
|
+
|
|
46328
|
+
/**
|
|
46329
|
+
* Converts this UrlTrackingMap to JSON.
|
|
46330
|
+
* @returns JSON object
|
|
46331
|
+
*/
|
|
46332
|
+
public toJSON(): { [k: string]: any };
|
|
46333
|
+
|
|
46334
|
+
/**
|
|
46335
|
+
* Gets the default type url for UrlTrackingMap
|
|
46336
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
46337
|
+
* @returns The default type url
|
|
46338
|
+
*/
|
|
46339
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
46340
|
+
}
|
|
46341
|
+
|
|
46342
|
+
namespace UrlTrackingMap {
|
|
46343
|
+
|
|
46344
|
+
/** Properties of an UrlTrackingMapElement. */
|
|
46345
|
+
interface IUrlTrackingMapElement {
|
|
46346
|
+
|
|
46347
|
+
/** UrlTrackingMapElement originalUrl */
|
|
46348
|
+
originalUrl?: (string|null);
|
|
46349
|
+
|
|
46350
|
+
/** UrlTrackingMapElement unconsentedUsersUrl */
|
|
46351
|
+
unconsentedUsersUrl?: (string|null);
|
|
46352
|
+
|
|
46353
|
+
/** UrlTrackingMapElement consentedUsersUrl */
|
|
46354
|
+
consentedUsersUrl?: (string|null);
|
|
46355
|
+
|
|
46356
|
+
/** UrlTrackingMapElement cardIndex */
|
|
46357
|
+
cardIndex?: (number|null);
|
|
46358
|
+
}
|
|
46359
|
+
|
|
46360
|
+
/** Represents an UrlTrackingMapElement. */
|
|
46361
|
+
class UrlTrackingMapElement implements IUrlTrackingMapElement {
|
|
46362
|
+
|
|
46363
|
+
/**
|
|
46364
|
+
* Constructs a new UrlTrackingMapElement.
|
|
46365
|
+
* @param [properties] Properties to set
|
|
46366
|
+
*/
|
|
46367
|
+
constructor(properties?: waproto.UrlTrackingMap.IUrlTrackingMapElement);
|
|
46368
|
+
|
|
46369
|
+
/** UrlTrackingMapElement originalUrl. */
|
|
46370
|
+
public originalUrl?: (string|null);
|
|
46371
|
+
|
|
46372
|
+
/** UrlTrackingMapElement unconsentedUsersUrl. */
|
|
46373
|
+
public unconsentedUsersUrl?: (string|null);
|
|
46374
|
+
|
|
46375
|
+
/** UrlTrackingMapElement consentedUsersUrl. */
|
|
46376
|
+
public consentedUsersUrl?: (string|null);
|
|
46377
|
+
|
|
46378
|
+
/** UrlTrackingMapElement cardIndex. */
|
|
46379
|
+
public cardIndex?: (number|null);
|
|
46380
|
+
|
|
46381
|
+
/**
|
|
46382
|
+
* Creates a new UrlTrackingMapElement instance using the specified properties.
|
|
46383
|
+
* @param [properties] Properties to set
|
|
46384
|
+
* @returns UrlTrackingMapElement instance
|
|
46385
|
+
*/
|
|
46386
|
+
public static create(properties?: waproto.UrlTrackingMap.IUrlTrackingMapElement): waproto.UrlTrackingMap.UrlTrackingMapElement;
|
|
46387
|
+
|
|
46388
|
+
/**
|
|
46389
|
+
* Encodes the specified UrlTrackingMapElement message. Does not implicitly {@link waproto.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages.
|
|
46390
|
+
* @param message UrlTrackingMapElement message or plain object to encode
|
|
46391
|
+
* @param [writer] Writer to encode to
|
|
46392
|
+
* @returns Writer
|
|
46393
|
+
*/
|
|
46394
|
+
public static encode(message: waproto.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46395
|
+
|
|
46396
|
+
/**
|
|
46397
|
+
* Encodes the specified UrlTrackingMapElement message, length delimited. Does not implicitly {@link waproto.UrlTrackingMap.UrlTrackingMapElement.verify|verify} messages.
|
|
46398
|
+
* @param message UrlTrackingMapElement message or plain object to encode
|
|
46399
|
+
* @param [writer] Writer to encode to
|
|
46400
|
+
* @returns Writer
|
|
46401
|
+
*/
|
|
46402
|
+
public static encodeDelimited(message: waproto.UrlTrackingMap.IUrlTrackingMapElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
46403
|
+
|
|
46404
|
+
/**
|
|
46405
|
+
* Decodes an UrlTrackingMapElement message from the specified reader or buffer.
|
|
46406
|
+
* @param reader Reader or buffer to decode from
|
|
46407
|
+
* @param [length] Message length if known beforehand
|
|
46408
|
+
* @returns UrlTrackingMapElement
|
|
46409
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46410
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46411
|
+
*/
|
|
46412
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.UrlTrackingMap.UrlTrackingMapElement;
|
|
46413
|
+
|
|
46414
|
+
/**
|
|
46415
|
+
* Decodes an UrlTrackingMapElement message from the specified reader or buffer, length delimited.
|
|
46416
|
+
* @param reader Reader or buffer to decode from
|
|
46417
|
+
* @returns UrlTrackingMapElement
|
|
46418
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
46419
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
46420
|
+
*/
|
|
46421
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.UrlTrackingMap.UrlTrackingMapElement;
|
|
46422
|
+
|
|
46423
|
+
/**
|
|
46424
|
+
* Verifies an UrlTrackingMapElement message.
|
|
46425
|
+
* @param message Plain object to verify
|
|
46426
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
46427
|
+
*/
|
|
46428
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
46429
|
+
|
|
46430
|
+
/**
|
|
46431
|
+
* Creates an UrlTrackingMapElement message from a plain object. Also converts values to their respective internal types.
|
|
46432
|
+
* @param object Plain object
|
|
46433
|
+
* @returns UrlTrackingMapElement
|
|
46434
|
+
*/
|
|
46435
|
+
public static fromObject(object: { [k: string]: any }): waproto.UrlTrackingMap.UrlTrackingMapElement;
|
|
46436
|
+
|
|
46437
|
+
/**
|
|
46438
|
+
* Creates a plain object from an UrlTrackingMapElement message. Also converts values to other types if specified.
|
|
46439
|
+
* @param message UrlTrackingMapElement
|
|
46440
|
+
* @param [options] Conversion options
|
|
46441
|
+
* @returns Plain object
|
|
46442
|
+
*/
|
|
46443
|
+
public static toObject(message: waproto.UrlTrackingMap.UrlTrackingMapElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
46444
|
+
|
|
46445
|
+
/**
|
|
46446
|
+
* Converts this UrlTrackingMapElement to JSON.
|
|
46447
|
+
* @returns JSON object
|
|
46448
|
+
*/
|
|
46449
|
+
public toJSON(): { [k: string]: any };
|
|
46450
|
+
|
|
46451
|
+
/**
|
|
46452
|
+
* Gets the default type url for UrlTrackingMapElement
|
|
46453
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
46454
|
+
* @returns The default type url
|
|
46455
|
+
*/
|
|
46456
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
46457
|
+
}
|
|
46458
|
+
}
|
|
46459
|
+
|
|
44852
46460
|
/** Properties of a UserPassword. */
|
|
44853
46461
|
interface IUserPassword {
|
|
44854
46462
|
|