@juzi/wechaty-grpc 1.0.94 → 1.0.96
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/commonjs/generated/puppet.cjs +1 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
- package/dist/cjs/out/wechaty/puppet/channel-card_pb.js +320 -0
- package/dist/cjs/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/channel-card_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/channel_pb.d.ts +0 -8
- package/dist/cjs/out/wechaty/puppet/channel_pb.js +1 -61
- package/dist/cjs/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
- package/dist/cjs/out/wechaty/puppet/chat-history_pb.js +56 -2
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +90 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +1708 -1025
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +85 -8
- package/dist/cjs/out/wechaty/puppet.swagger.json +130 -13
- 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/channel-card.proto +15 -0
- package/dist/cjs/proto/wechaty/puppet/channel.proto +0 -4
- package/dist/cjs/proto/wechaty/puppet/chat-history.proto +3 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +39 -23
- package/dist/cjs/proto/wechaty/puppet.proto +11 -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 +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs +1 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
- package/dist/esm/out/wechaty/puppet/channel-card_pb.js +320 -0
- package/dist/esm/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/channel-card_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/channel_pb.d.ts +0 -8
- package/dist/esm/out/wechaty/puppet/channel_pb.js +1 -61
- package/dist/esm/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
- package/dist/esm/out/wechaty/puppet/chat-history_pb.js +56 -2
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +90 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +1708 -1025
- package/dist/esm/out/wechaty/puppet.openapi.yaml +85 -8
- package/dist/esm/out/wechaty/puppet.swagger.json +130 -13
- 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/channel-card.proto +15 -0
- package/dist/esm/proto/wechaty/puppet/channel.proto +0 -4
- package/dist/esm/proto/wechaty/puppet/chat-history.proto +3 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +39 -23
- package/dist/esm/proto/wechaty/puppet.proto +11 -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 +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/channel-card_grpc_pb.js +1 -0
- package/out/wechaty/puppet/channel-card_pb.d.ts +45 -0
- package/out/wechaty/puppet/channel-card_pb.js +320 -0
- package/out/wechaty/puppet/channel-card_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/channel-card_pb_service.js +3 -0
- package/out/wechaty/puppet/channel_pb.d.ts +0 -8
- package/out/wechaty/puppet/channel_pb.js +1 -61
- package/out/wechaty/puppet/chat-history_pb.d.ts +8 -0
- package/out/wechaty/puppet/chat-history_pb.js +56 -2
- package/out/wechaty/puppet/message_pb.d.ts +90 -0
- package/out/wechaty/puppet/message_pb.js +1708 -1025
- package/out/wechaty/puppet.openapi.yaml +85 -8
- package/out/wechaty/puppet.swagger.json +130 -13
- 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 +1 -1
- package/src/package-json.ts +1 -1
|
@@ -12,6 +12,7 @@ import * as wechaty_puppet_channel_pb from "../../wechaty/puppet/channel_pb";
|
|
|
12
12
|
import * as wechaty_puppet_post_pb from "../../wechaty/puppet/post_pb";
|
|
13
13
|
import * as wechaty_puppet_call_pb from "../../wechaty/puppet/call_pb";
|
|
14
14
|
import * as wechaty_puppet_chat_history_pb from "../../wechaty/puppet/chat-history_pb";
|
|
15
|
+
import * as wechaty_puppet_channel_card_pb from "../../wechaty/puppet/channel-card_pb";
|
|
15
16
|
|
|
16
17
|
export class TextContentData extends jspb.Message {
|
|
17
18
|
getContactId(): string;
|
|
@@ -419,6 +420,48 @@ export namespace MessageChannelResponse {
|
|
|
419
420
|
}
|
|
420
421
|
}
|
|
421
422
|
|
|
423
|
+
export class MessageChannelCardRequest extends jspb.Message {
|
|
424
|
+
getId(): string;
|
|
425
|
+
setId(value: string): void;
|
|
426
|
+
|
|
427
|
+
serializeBinary(): Uint8Array;
|
|
428
|
+
toObject(includeInstance?: boolean): MessageChannelCardRequest.AsObject;
|
|
429
|
+
static toObject(includeInstance: boolean, msg: MessageChannelCardRequest): MessageChannelCardRequest.AsObject;
|
|
430
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
431
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
432
|
+
static serializeBinaryToWriter(message: MessageChannelCardRequest, writer: jspb.BinaryWriter): void;
|
|
433
|
+
static deserializeBinary(bytes: Uint8Array): MessageChannelCardRequest;
|
|
434
|
+
static deserializeBinaryFromReader(message: MessageChannelCardRequest, reader: jspb.BinaryReader): MessageChannelCardRequest;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export namespace MessageChannelCardRequest {
|
|
438
|
+
export type AsObject = {
|
|
439
|
+
id: string,
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export class MessageChannelCardResponse extends jspb.Message {
|
|
444
|
+
hasChannelCard(): boolean;
|
|
445
|
+
clearChannelCard(): void;
|
|
446
|
+
getChannelCard(): wechaty_puppet_channel_card_pb.ChannelCardPayload | undefined;
|
|
447
|
+
setChannelCard(value?: wechaty_puppet_channel_card_pb.ChannelCardPayload): void;
|
|
448
|
+
|
|
449
|
+
serializeBinary(): Uint8Array;
|
|
450
|
+
toObject(includeInstance?: boolean): MessageChannelCardResponse.AsObject;
|
|
451
|
+
static toObject(includeInstance: boolean, msg: MessageChannelCardResponse): MessageChannelCardResponse.AsObject;
|
|
452
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
453
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
454
|
+
static serializeBinaryToWriter(message: MessageChannelCardResponse, writer: jspb.BinaryWriter): void;
|
|
455
|
+
static deserializeBinary(bytes: Uint8Array): MessageChannelCardResponse;
|
|
456
|
+
static deserializeBinaryFromReader(message: MessageChannelCardResponse, reader: jspb.BinaryReader): MessageChannelCardResponse;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export namespace MessageChannelCardResponse {
|
|
460
|
+
export type AsObject = {
|
|
461
|
+
channelCard?: wechaty_puppet_channel_card_pb.ChannelCardPayload.AsObject,
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
|
|
422
465
|
export class MessageCallRecordRequest extends jspb.Message {
|
|
423
466
|
getId(): string;
|
|
424
467
|
setId(value: string): void;
|
|
@@ -1053,6 +1096,52 @@ export namespace MessageSendChannelResponse {
|
|
|
1053
1096
|
}
|
|
1054
1097
|
}
|
|
1055
1098
|
|
|
1099
|
+
export class MessageSendChannelCardRequest extends jspb.Message {
|
|
1100
|
+
getConversationId(): string;
|
|
1101
|
+
setConversationId(value: string): void;
|
|
1102
|
+
|
|
1103
|
+
hasChannelCard(): boolean;
|
|
1104
|
+
clearChannelCard(): void;
|
|
1105
|
+
getChannelCard(): wechaty_puppet_channel_card_pb.ChannelCardPayload | undefined;
|
|
1106
|
+
setChannelCard(value?: wechaty_puppet_channel_card_pb.ChannelCardPayload): void;
|
|
1107
|
+
|
|
1108
|
+
serializeBinary(): Uint8Array;
|
|
1109
|
+
toObject(includeInstance?: boolean): MessageSendChannelCardRequest.AsObject;
|
|
1110
|
+
static toObject(includeInstance: boolean, msg: MessageSendChannelCardRequest): MessageSendChannelCardRequest.AsObject;
|
|
1111
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1112
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1113
|
+
static serializeBinaryToWriter(message: MessageSendChannelCardRequest, writer: jspb.BinaryWriter): void;
|
|
1114
|
+
static deserializeBinary(bytes: Uint8Array): MessageSendChannelCardRequest;
|
|
1115
|
+
static deserializeBinaryFromReader(message: MessageSendChannelCardRequest, reader: jspb.BinaryReader): MessageSendChannelCardRequest;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
export namespace MessageSendChannelCardRequest {
|
|
1119
|
+
export type AsObject = {
|
|
1120
|
+
conversationId: string,
|
|
1121
|
+
channelCard?: wechaty_puppet_channel_card_pb.ChannelCardPayload.AsObject,
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export class MessageSendChannelCardResponse extends jspb.Message {
|
|
1126
|
+
getId(): string;
|
|
1127
|
+
setId(value: string): void;
|
|
1128
|
+
|
|
1129
|
+
serializeBinary(): Uint8Array;
|
|
1130
|
+
toObject(includeInstance?: boolean): MessageSendChannelCardResponse.AsObject;
|
|
1131
|
+
static toObject(includeInstance: boolean, msg: MessageSendChannelCardResponse): MessageSendChannelCardResponse.AsObject;
|
|
1132
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1133
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1134
|
+
static serializeBinaryToWriter(message: MessageSendChannelCardResponse, writer: jspb.BinaryWriter): void;
|
|
1135
|
+
static deserializeBinary(bytes: Uint8Array): MessageSendChannelCardResponse;
|
|
1136
|
+
static deserializeBinaryFromReader(message: MessageSendChannelCardResponse, reader: jspb.BinaryReader): MessageSendChannelCardResponse;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
export namespace MessageSendChannelCardResponse {
|
|
1140
|
+
export type AsObject = {
|
|
1141
|
+
id: string,
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1056
1145
|
export class MessagePreviewRequest extends jspb.Message {
|
|
1057
1146
|
getId(): string;
|
|
1058
1147
|
setId(value: string): void;
|
|
@@ -1281,6 +1370,7 @@ export interface MessageTypeMap {
|
|
|
1281
1370
|
MESSAGE_TYPE_SYSTEM: 18;
|
|
1282
1371
|
MESSAGE_TYPE_MARKDOWN: 19;
|
|
1283
1372
|
MESSAGE_TYPE_CALL_RECORD: 20;
|
|
1373
|
+
MESSAGE_TYPE_CHANNEL_CARD: 21;
|
|
1284
1374
|
}
|
|
1285
1375
|
|
|
1286
1376
|
export const MessageType: MessageTypeMap;
|