@juzi/wechaty-grpc 1.0.48 → 1.0.50
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 +91 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +597 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +53 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +78 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +28 -0
- package/dist/cjs/proto/wechaty/puppet.proto +6 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +5 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +91 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +597 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +53 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +78 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +28 -0
- package/dist/esm/proto/wechaty/puppet.proto +6 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +5 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/message_pb.d.ts +91 -0
- package/out/wechaty/puppet/message_pb.js +597 -0
- package/out/wechaty/puppet.openapi.yaml +53 -1
- package/out/wechaty/puppet.swagger.json +78 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/out/wechaty/puppet_grpc_pb.js +33 -0
- package/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/out/wechaty/puppet_pb_service.js +40 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -991,6 +991,80 @@ export namespace CreateMessageBroadcastResponse {
|
|
|
991
991
|
}
|
|
992
992
|
}
|
|
993
993
|
|
|
994
|
+
export class BroadcastTarget extends jspb.Message {
|
|
995
|
+
getContactId(): string;
|
|
996
|
+
setContactId(value: string): void;
|
|
997
|
+
|
|
998
|
+
getRoomId(): string;
|
|
999
|
+
setRoomId(value: string): void;
|
|
1000
|
+
|
|
1001
|
+
getStatus(): BroadcastTargetStatusMap[keyof BroadcastTargetStatusMap];
|
|
1002
|
+
setStatus(value: BroadcastTargetStatusMap[keyof BroadcastTargetStatusMap]): void;
|
|
1003
|
+
|
|
1004
|
+
serializeBinary(): Uint8Array;
|
|
1005
|
+
toObject(includeInstance?: boolean): BroadcastTarget.AsObject;
|
|
1006
|
+
static toObject(includeInstance: boolean, msg: BroadcastTarget): BroadcastTarget.AsObject;
|
|
1007
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1008
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1009
|
+
static serializeBinaryToWriter(message: BroadcastTarget, writer: jspb.BinaryWriter): void;
|
|
1010
|
+
static deserializeBinary(bytes: Uint8Array): BroadcastTarget;
|
|
1011
|
+
static deserializeBinaryFromReader(message: BroadcastTarget, reader: jspb.BinaryReader): BroadcastTarget;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export namespace BroadcastTarget {
|
|
1015
|
+
export type AsObject = {
|
|
1016
|
+
contactId: string,
|
|
1017
|
+
roomId: string,
|
|
1018
|
+
status: BroadcastTargetStatusMap[keyof BroadcastTargetStatusMap],
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
export class GetMessageBroadcastStatusRequest extends jspb.Message {
|
|
1023
|
+
getId(): string;
|
|
1024
|
+
setId(value: string): void;
|
|
1025
|
+
|
|
1026
|
+
serializeBinary(): Uint8Array;
|
|
1027
|
+
toObject(includeInstance?: boolean): GetMessageBroadcastStatusRequest.AsObject;
|
|
1028
|
+
static toObject(includeInstance: boolean, msg: GetMessageBroadcastStatusRequest): GetMessageBroadcastStatusRequest.AsObject;
|
|
1029
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1030
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1031
|
+
static serializeBinaryToWriter(message: GetMessageBroadcastStatusRequest, writer: jspb.BinaryWriter): void;
|
|
1032
|
+
static deserializeBinary(bytes: Uint8Array): GetMessageBroadcastStatusRequest;
|
|
1033
|
+
static deserializeBinaryFromReader(message: GetMessageBroadcastStatusRequest, reader: jspb.BinaryReader): GetMessageBroadcastStatusRequest;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export namespace GetMessageBroadcastStatusRequest {
|
|
1037
|
+
export type AsObject = {
|
|
1038
|
+
id: string,
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
export class GetMessageBroadcastStatusResponse extends jspb.Message {
|
|
1043
|
+
getStatus(): BroadcastStatusMap[keyof BroadcastStatusMap];
|
|
1044
|
+
setStatus(value: BroadcastStatusMap[keyof BroadcastStatusMap]): void;
|
|
1045
|
+
|
|
1046
|
+
clearDetailList(): void;
|
|
1047
|
+
getDetailList(): Array<BroadcastTarget>;
|
|
1048
|
+
setDetailList(value: Array<BroadcastTarget>): void;
|
|
1049
|
+
addDetail(value?: BroadcastTarget, index?: number): BroadcastTarget;
|
|
1050
|
+
|
|
1051
|
+
serializeBinary(): Uint8Array;
|
|
1052
|
+
toObject(includeInstance?: boolean): GetMessageBroadcastStatusResponse.AsObject;
|
|
1053
|
+
static toObject(includeInstance: boolean, msg: GetMessageBroadcastStatusResponse): GetMessageBroadcastStatusResponse.AsObject;
|
|
1054
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1055
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1056
|
+
static serializeBinaryToWriter(message: GetMessageBroadcastStatusResponse, writer: jspb.BinaryWriter): void;
|
|
1057
|
+
static deserializeBinary(bytes: Uint8Array): GetMessageBroadcastStatusResponse;
|
|
1058
|
+
static deserializeBinaryFromReader(message: GetMessageBroadcastStatusResponse, reader: jspb.BinaryReader): GetMessageBroadcastStatusResponse;
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export namespace GetMessageBroadcastStatusResponse {
|
|
1062
|
+
export type AsObject = {
|
|
1063
|
+
status: BroadcastStatusMap[keyof BroadcastStatusMap],
|
|
1064
|
+
detailList: Array<BroadcastTarget.AsObject>,
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
994
1068
|
export interface MessageTypeMap {
|
|
995
1069
|
MESSAGE_TYPE_UNSPECIFIED: 0;
|
|
996
1070
|
MESSAGE_TYPE_ATTACHMENT: 1;
|
|
@@ -1015,3 +1089,20 @@ export interface MessageTypeMap {
|
|
|
1015
1089
|
|
|
1016
1090
|
export const MessageType: MessageTypeMap;
|
|
1017
1091
|
|
|
1092
|
+
export interface BroadcastStatusMap {
|
|
1093
|
+
BROADCAST_STATUS_UNKNOWN: 0;
|
|
1094
|
+
BROADCAST_STATUS_SENDING: 1;
|
|
1095
|
+
BROADCAST_STATUS_SENT: 2;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export const BroadcastStatus: BroadcastStatusMap;
|
|
1099
|
+
|
|
1100
|
+
export interface BroadcastTargetStatusMap {
|
|
1101
|
+
BROADCAST_TARGET_STATUS_UNSENT: 0;
|
|
1102
|
+
BROADCAST_TARGET_STATUS_SENT: 1;
|
|
1103
|
+
BROADCAST_TARGET_STATUS_NOT_FRIEND: 2;
|
|
1104
|
+
BROADCAST_TARGET_STATUS_OCCUPIED: 3;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export const BroadcastTargetStatus: BroadcastTargetStatusMap;
|
|
1108
|
+
|