@juzi/wechaty-grpc 1.0.43 → 1.0.45
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/dist/cjs/out/wechaty/puppet/message_pb.d.ts +105 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +794 -21
- package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +71 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +109 -3
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +25 -0
- package/dist/cjs/proto/wechaty/puppet/post.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet.proto +13 -0
- package/dist/cjs/src/package-json.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +3 -2
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +105 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +794 -21
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/post_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +71 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +109 -3
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +25 -0
- package/dist/esm/proto/wechaty/puppet/post.proto +1 -0
- package/dist/esm/proto/wechaty/puppet.proto +13 -0
- package/dist/esm/src/package-json.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +3 -2
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/message_pb.d.ts +105 -0
- package/out/wechaty/puppet/message_pb.js +794 -21
- package/out/wechaty/puppet/post_pb.d.ts +1 -0
- package/out/wechaty/puppet/post_pb.js +2 -1
- package/out/wechaty/puppet.openapi.yaml +71 -1
- package/out/wechaty/puppet.swagger.json +109 -3
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +66 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +3 -2
- package/src/package-json.ts +3 -2
|
@@ -9,6 +9,7 @@ import * as wechaty_puppet_location_pb from "../../wechaty/puppet/location_pb";
|
|
|
9
9
|
import * as wechaty_puppet_mini_program_pb from "../../wechaty/puppet/mini-program_pb";
|
|
10
10
|
import * as wechaty_puppet_url_link_pb from "../../wechaty/puppet/url-link_pb";
|
|
11
11
|
import * as wechaty_puppet_channel_pb from "../../wechaty/puppet/channel_pb";
|
|
12
|
+
import * as wechaty_puppet_post_pb from "../../wechaty/puppet/post_pb";
|
|
12
13
|
|
|
13
14
|
export class MessagePayloadRequest extends jspb.Message {
|
|
14
15
|
getId(): string;
|
|
@@ -898,6 +899,102 @@ export namespace MessagePreviewResponse {
|
|
|
898
899
|
}
|
|
899
900
|
}
|
|
900
901
|
|
|
902
|
+
export class GetMessageBroadcastTargetRequest extends jspb.Message {
|
|
903
|
+
serializeBinary(): Uint8Array;
|
|
904
|
+
toObject(includeInstance?: boolean): GetMessageBroadcastTargetRequest.AsObject;
|
|
905
|
+
static toObject(includeInstance: boolean, msg: GetMessageBroadcastTargetRequest): GetMessageBroadcastTargetRequest.AsObject;
|
|
906
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
907
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
908
|
+
static serializeBinaryToWriter(message: GetMessageBroadcastTargetRequest, writer: jspb.BinaryWriter): void;
|
|
909
|
+
static deserializeBinary(bytes: Uint8Array): GetMessageBroadcastTargetRequest;
|
|
910
|
+
static deserializeBinaryFromReader(message: GetMessageBroadcastTargetRequest, reader: jspb.BinaryReader): GetMessageBroadcastTargetRequest;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export namespace GetMessageBroadcastTargetRequest {
|
|
914
|
+
export type AsObject = {
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
export class GetMessageBroadcastTargetResponse extends jspb.Message {
|
|
919
|
+
clearContactIdsList(): void;
|
|
920
|
+
getContactIdsList(): Array<string>;
|
|
921
|
+
setContactIdsList(value: Array<string>): void;
|
|
922
|
+
addContactIds(value: string, index?: number): string;
|
|
923
|
+
|
|
924
|
+
clearRoomIdsList(): void;
|
|
925
|
+
getRoomIdsList(): Array<string>;
|
|
926
|
+
setRoomIdsList(value: Array<string>): void;
|
|
927
|
+
addRoomIds(value: string, index?: number): string;
|
|
928
|
+
|
|
929
|
+
serializeBinary(): Uint8Array;
|
|
930
|
+
toObject(includeInstance?: boolean): GetMessageBroadcastTargetResponse.AsObject;
|
|
931
|
+
static toObject(includeInstance: boolean, msg: GetMessageBroadcastTargetResponse): GetMessageBroadcastTargetResponse.AsObject;
|
|
932
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
933
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
934
|
+
static serializeBinaryToWriter(message: GetMessageBroadcastTargetResponse, writer: jspb.BinaryWriter): void;
|
|
935
|
+
static deserializeBinary(bytes: Uint8Array): GetMessageBroadcastTargetResponse;
|
|
936
|
+
static deserializeBinaryFromReader(message: GetMessageBroadcastTargetResponse, reader: jspb.BinaryReader): GetMessageBroadcastTargetResponse;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
export namespace GetMessageBroadcastTargetResponse {
|
|
940
|
+
export type AsObject = {
|
|
941
|
+
contactIdsList: Array<string>,
|
|
942
|
+
roomIdsList: Array<string>,
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export class CreateMessageBroadcastRequest extends jspb.Message {
|
|
947
|
+
clearTargetIdsList(): void;
|
|
948
|
+
getTargetIdsList(): Array<string>;
|
|
949
|
+
setTargetIdsList(value: Array<string>): void;
|
|
950
|
+
addTargetIds(value: string, index?: number): string;
|
|
951
|
+
|
|
952
|
+
getType(): MessageBroadcastTargetTypeMap[keyof MessageBroadcastTargetTypeMap];
|
|
953
|
+
setType(value: MessageBroadcastTargetTypeMap[keyof MessageBroadcastTargetTypeMap]): void;
|
|
954
|
+
|
|
955
|
+
hasContent(): boolean;
|
|
956
|
+
clearContent(): void;
|
|
957
|
+
getContent(): wechaty_puppet_post_pb.PostPayloadClient | undefined;
|
|
958
|
+
setContent(value?: wechaty_puppet_post_pb.PostPayloadClient): void;
|
|
959
|
+
|
|
960
|
+
serializeBinary(): Uint8Array;
|
|
961
|
+
toObject(includeInstance?: boolean): CreateMessageBroadcastRequest.AsObject;
|
|
962
|
+
static toObject(includeInstance: boolean, msg: CreateMessageBroadcastRequest): CreateMessageBroadcastRequest.AsObject;
|
|
963
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
964
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
965
|
+
static serializeBinaryToWriter(message: CreateMessageBroadcastRequest, writer: jspb.BinaryWriter): void;
|
|
966
|
+
static deserializeBinary(bytes: Uint8Array): CreateMessageBroadcastRequest;
|
|
967
|
+
static deserializeBinaryFromReader(message: CreateMessageBroadcastRequest, reader: jspb.BinaryReader): CreateMessageBroadcastRequest;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
export namespace CreateMessageBroadcastRequest {
|
|
971
|
+
export type AsObject = {
|
|
972
|
+
targetIdsList: Array<string>,
|
|
973
|
+
type: MessageBroadcastTargetTypeMap[keyof MessageBroadcastTargetTypeMap],
|
|
974
|
+
content?: wechaty_puppet_post_pb.PostPayloadClient.AsObject,
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
export class CreateMessageBroadcastResponse extends jspb.Message {
|
|
979
|
+
getId(): string;
|
|
980
|
+
setId(value: string): void;
|
|
981
|
+
|
|
982
|
+
serializeBinary(): Uint8Array;
|
|
983
|
+
toObject(includeInstance?: boolean): CreateMessageBroadcastResponse.AsObject;
|
|
984
|
+
static toObject(includeInstance: boolean, msg: CreateMessageBroadcastResponse): CreateMessageBroadcastResponse.AsObject;
|
|
985
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
986
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
987
|
+
static serializeBinaryToWriter(message: CreateMessageBroadcastResponse, writer: jspb.BinaryWriter): void;
|
|
988
|
+
static deserializeBinary(bytes: Uint8Array): CreateMessageBroadcastResponse;
|
|
989
|
+
static deserializeBinaryFromReader(message: CreateMessageBroadcastResponse, reader: jspb.BinaryReader): CreateMessageBroadcastResponse;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export namespace CreateMessageBroadcastResponse {
|
|
993
|
+
export type AsObject = {
|
|
994
|
+
id: string,
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
|
|
901
998
|
export interface MessageTypeMap {
|
|
902
999
|
MESSAGE_TYPE_UNSPECIFIED: 0;
|
|
903
1000
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
@@ -922,3 +1019,11 @@ export interface MessageTypeMap {
|
|
|
922
1019
|
|
|
923
1020
|
export const MessageType: MessageTypeMap;
|
|
924
1021
|
|
|
1022
|
+
export interface MessageBroadcastTargetTypeMap {
|
|
1023
|
+
MESSAGE_BROADCAST_TARGET_TYPE_UNKNOWN: 0;
|
|
1024
|
+
MESSAGE_BROADCAST_TARGET_TYPE_CONTACT: 1;
|
|
1025
|
+
MESSAGE_BROADCAST_TARGET_TYPE_ROOM: 2;
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
export const MessageBroadcastTargetType: MessageBroadcastTargetTypeMap;
|
|
1029
|
+
|