@juzi/wechaty-grpc 1.0.39 → 1.0.41
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/contact_pb.d.ts +116 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +890 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +89 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +126 -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/contact.proto +25 -0
- package/dist/cjs/proto/wechaty/puppet.proto +7 -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/contact_pb.d.ts +116 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +890 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +89 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +126 -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/contact.proto +25 -0
- package/dist/esm/proto/wechaty/puppet.proto +7 -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/contact_pb.d.ts +116 -0
- package/out/wechaty/puppet/contact_pb.js +890 -0
- package/out/wechaty/puppet.openapi.yaml +89 -1
- package/out/wechaty/puppet.swagger.json +126 -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
|
@@ -562,6 +562,122 @@ export namespace ContactDeleteResponse {
|
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
564
|
|
|
565
|
+
export class ContactPayloadModifyRequest extends jspb.Message {
|
|
566
|
+
getId(): string;
|
|
567
|
+
setId(value: string): void;
|
|
568
|
+
|
|
569
|
+
getGender(): ContactGenderMap[keyof ContactGenderMap];
|
|
570
|
+
setGender(value: ContactGenderMap[keyof ContactGenderMap]): void;
|
|
571
|
+
|
|
572
|
+
getType(): ContactTypeMap[keyof ContactTypeMap];
|
|
573
|
+
setType(value: ContactTypeMap[keyof ContactTypeMap]): void;
|
|
574
|
+
|
|
575
|
+
getName(): string;
|
|
576
|
+
setName(value: string): void;
|
|
577
|
+
|
|
578
|
+
getAvatar(): string;
|
|
579
|
+
setAvatar(value: string): void;
|
|
580
|
+
|
|
581
|
+
getAddress(): string;
|
|
582
|
+
setAddress(value: string): void;
|
|
583
|
+
|
|
584
|
+
getAlias(): string;
|
|
585
|
+
setAlias(value: string): void;
|
|
586
|
+
|
|
587
|
+
getCity(): string;
|
|
588
|
+
setCity(value: string): void;
|
|
589
|
+
|
|
590
|
+
getFriend(): boolean;
|
|
591
|
+
setFriend(value: boolean): void;
|
|
592
|
+
|
|
593
|
+
getProvince(): string;
|
|
594
|
+
setProvince(value: string): void;
|
|
595
|
+
|
|
596
|
+
getSignature(): string;
|
|
597
|
+
setSignature(value: string): void;
|
|
598
|
+
|
|
599
|
+
getStar(): boolean;
|
|
600
|
+
setStar(value: boolean): void;
|
|
601
|
+
|
|
602
|
+
getWeixin(): string;
|
|
603
|
+
setWeixin(value: string): void;
|
|
604
|
+
|
|
605
|
+
getCorporation(): string;
|
|
606
|
+
setCorporation(value: string): void;
|
|
607
|
+
|
|
608
|
+
getTitle(): string;
|
|
609
|
+
setTitle(value: string): void;
|
|
610
|
+
|
|
611
|
+
getDescription(): string;
|
|
612
|
+
setDescription(value: string): void;
|
|
613
|
+
|
|
614
|
+
getCoworker(): boolean;
|
|
615
|
+
setCoworker(value: boolean): void;
|
|
616
|
+
|
|
617
|
+
clearPhonesList(): void;
|
|
618
|
+
getPhonesList(): Array<string>;
|
|
619
|
+
setPhonesList(value: Array<string>): void;
|
|
620
|
+
addPhones(value: string, index?: number): string;
|
|
621
|
+
|
|
622
|
+
getAdditionalInfo(): string;
|
|
623
|
+
setAdditionalInfo(value: string): void;
|
|
624
|
+
|
|
625
|
+
clearTagIdsList(): void;
|
|
626
|
+
getTagIdsList(): Array<string>;
|
|
627
|
+
setTagIdsList(value: Array<string>): void;
|
|
628
|
+
addTagIds(value: string, index?: number): string;
|
|
629
|
+
|
|
630
|
+
serializeBinary(): Uint8Array;
|
|
631
|
+
toObject(includeInstance?: boolean): ContactPayloadModifyRequest.AsObject;
|
|
632
|
+
static toObject(includeInstance: boolean, msg: ContactPayloadModifyRequest): ContactPayloadModifyRequest.AsObject;
|
|
633
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
634
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
635
|
+
static serializeBinaryToWriter(message: ContactPayloadModifyRequest, writer: jspb.BinaryWriter): void;
|
|
636
|
+
static deserializeBinary(bytes: Uint8Array): ContactPayloadModifyRequest;
|
|
637
|
+
static deserializeBinaryFromReader(message: ContactPayloadModifyRequest, reader: jspb.BinaryReader): ContactPayloadModifyRequest;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export namespace ContactPayloadModifyRequest {
|
|
641
|
+
export type AsObject = {
|
|
642
|
+
id: string,
|
|
643
|
+
gender: ContactGenderMap[keyof ContactGenderMap],
|
|
644
|
+
type: ContactTypeMap[keyof ContactTypeMap],
|
|
645
|
+
name: string,
|
|
646
|
+
avatar: string,
|
|
647
|
+
address: string,
|
|
648
|
+
alias: string,
|
|
649
|
+
city: string,
|
|
650
|
+
friend: boolean,
|
|
651
|
+
province: string,
|
|
652
|
+
signature: string,
|
|
653
|
+
star: boolean,
|
|
654
|
+
weixin: string,
|
|
655
|
+
corporation: string,
|
|
656
|
+
title: string,
|
|
657
|
+
description: string,
|
|
658
|
+
coworker: boolean,
|
|
659
|
+
phonesList: Array<string>,
|
|
660
|
+
additionalInfo: string,
|
|
661
|
+
tagIdsList: Array<string>,
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export class ContactPayloadModifyResponse extends jspb.Message {
|
|
666
|
+
serializeBinary(): Uint8Array;
|
|
667
|
+
toObject(includeInstance?: boolean): ContactPayloadModifyResponse.AsObject;
|
|
668
|
+
static toObject(includeInstance: boolean, msg: ContactPayloadModifyResponse): ContactPayloadModifyResponse.AsObject;
|
|
669
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
670
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
671
|
+
static serializeBinaryToWriter(message: ContactPayloadModifyResponse, writer: jspb.BinaryWriter): void;
|
|
672
|
+
static deserializeBinary(bytes: Uint8Array): ContactPayloadModifyResponse;
|
|
673
|
+
static deserializeBinaryFromReader(message: ContactPayloadModifyResponse, reader: jspb.BinaryReader): ContactPayloadModifyResponse;
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export namespace ContactPayloadModifyResponse {
|
|
677
|
+
export type AsObject = {
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
565
681
|
export interface ContactGenderMap {
|
|
566
682
|
CONTACT_GENDER_UNSPECIFIED: 0;
|
|
567
683
|
CONTACT_GENDER_MALE: 1;
|