@juzi/wechaty-grpc 1.0.0
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/LICENSE +201 -0
- package/README.md +351 -0
- package/dist/cjs/commonjs/README.md +15 -0
- package/dist/cjs/commonjs/code-root.cjs +10 -0
- package/dist/cjs/commonjs/code-root.cjs.d.ts +1 -0
- package/dist/cjs/commonjs/code-root.spec.ts +9 -0
- package/dist/cjs/commonjs/generated/google.cjs +9 -0
- package/dist/cjs/commonjs/generated/google.cjs.d.ts +2 -0
- package/dist/cjs/commonjs/generated/google.spec.ts +13 -0
- package/dist/cjs/commonjs/generated/puppet.cjs +39 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +42 -0
- package/dist/cjs/commonjs/generated/puppet.spec.ts +19 -0
- package/dist/cjs/commonjs/package.json +1 -0
- package/dist/cjs/examples/auth/client.d.ts +3 -0
- package/dist/cjs/examples/auth/client.d.ts.map +1 -0
- package/dist/cjs/examples/auth/client.js +52 -0
- package/dist/cjs/examples/auth/client.js.map +1 -0
- package/dist/cjs/examples/auth/raw-https/client.d.ts +2 -0
- package/dist/cjs/examples/auth/raw-https/client.d.ts.map +1 -0
- package/dist/cjs/examples/auth/raw-https/client.js +21 -0
- package/dist/cjs/examples/auth/raw-https/client.js.map +1 -0
- package/dist/cjs/examples/auth/raw-https/server.d.ts +2 -0
- package/dist/cjs/examples/auth/raw-https/server.d.ts.map +1 -0
- package/dist/cjs/examples/auth/raw-https/server.js +18 -0
- package/dist/cjs/examples/auth/raw-https/server.js.map +1 -0
- package/dist/cjs/examples/auth/server.d.ts +2 -0
- package/dist/cjs/examples/auth/server.d.ts.map +1 -0
- package/dist/cjs/examples/auth/server.js +117 -0
- package/dist/cjs/examples/auth/server.js.map +1 -0
- package/dist/cjs/examples/client.d.ts +5 -0
- package/dist/cjs/examples/client.d.ts.map +1 -0
- package/dist/cjs/examples/client.js +83 -0
- package/dist/cjs/examples/client.js.map +1 -0
- package/dist/cjs/examples/promisify.d.ts +49 -0
- package/dist/cjs/examples/promisify.d.ts.map +1 -0
- package/dist/cjs/examples/promisify.js +6 -0
- package/dist/cjs/examples/promisify.js.map +1 -0
- package/dist/cjs/examples/server.d.ts +2 -0
- package/dist/cjs/examples/server.d.ts.map +1 -0
- package/dist/cjs/examples/server.js +83 -0
- package/dist/cjs/examples/server.js.map +1 -0
- package/dist/cjs/out/google/api/annotations_grpc_pb.js +1 -0
- package/dist/cjs/out/google/api/annotations_pb.d.ts +9 -0
- package/dist/cjs/out/google/api/annotations_pb.js +48 -0
- package/dist/cjs/out/google/api/annotations_pb_service.d.ts +3 -0
- package/dist/cjs/out/google/api/annotations_pb_service.js +3 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_pb.js +333 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
- package/dist/cjs/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
- package/dist/cjs/out/google/api/http_grpc_pb.js +1 -0
- package/dist/cjs/out/google/api/http_pb.d.ts +136 -0
- package/dist/cjs/out/google/api/http_pb.js +1006 -0
- package/dist/cjs/out/google/api/http_pb_service.d.ts +3 -0
- package/dist/cjs/out/google/api/http_pb_service.js +3 -0
- package/dist/cjs/out/package.json +1 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
- package/dist/cjs/out/wechaty/deprecated/file-box_pb.js +1368 -0
- package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/base_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.d.ts +224 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +1624 -0
- package/dist/cjs/out/wechaty/puppet/base_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/base_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/contact_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +535 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +4013 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
- package/dist/cjs/out/wechaty/puppet/download-upload_pb.js +674 -0
- package/dist/cjs/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/download-upload_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/event_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +67 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +347 -0
- package/dist/cjs/out/wechaty/puppet/event_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/event_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/friendship_pb.d.ts +293 -0
- package/dist/cjs/out/wechaty/puppet/friendship_pb.js +2060 -0
- package/dist/cjs/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/friendship_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/image_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/image_pb.d.ts +14 -0
- package/dist/cjs/out/wechaty/puppet/image_pb.js +29 -0
- package/dist/cjs/out/wechaty/puppet/image_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/image_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/location_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/location_pb.d.ts +41 -0
- package/dist/cjs/out/wechaty/puppet/location_pb.js +290 -0
- package/dist/cjs/out/wechaty/puppet/location_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/location_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/message_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +773 -0
- package/dist/cjs/out/wechaty/puppet/message_pb.js +5777 -0
- package/dist/cjs/out/wechaty/puppet/message_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/message_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
- package/dist/cjs/out/wechaty/puppet/mini-program_pb.js +410 -0
- package/dist/cjs/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/mini-program_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/referrer_pb.d.ts +29 -0
- package/dist/cjs/out/wechaty/puppet/referrer_pb.js +200 -0
- package/dist/cjs/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/referrer_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
- package/dist/cjs/out/wechaty/puppet/room-invitation_pb.js +999 -0
- package/dist/cjs/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.d.ts +107 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb.js +802 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/room-member_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/room_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +474 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +3641 -0
- package/dist/cjs/out/wechaty/puppet/room_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/room_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/tag_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +170 -0
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +1286 -0
- package/dist/cjs/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/tag_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/url-link_pb.d.ts +37 -0
- package/dist/cjs/out/wechaty/puppet/url-link_pb.js +260 -0
- package/dist/cjs/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/url-link_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +2386 -0
- package/dist/cjs/out/wechaty/puppet.swagger.json +3419 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +2079 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +18 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +43 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +1166 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +2524 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/proto/wechaty/deprecated/file-box.proto +61 -0
- package/dist/cjs/proto/wechaty/puppet/base.proto +46 -0
- package/dist/cjs/proto/wechaty/puppet/contact.proto +122 -0
- package/dist/cjs/proto/wechaty/puppet/download-upload.proto +19 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +38 -0
- package/dist/cjs/proto/wechaty/puppet/friendship.proto +106 -0
- package/dist/cjs/proto/wechaty/puppet/image.proto +13 -0
- package/dist/cjs/proto/wechaty/puppet/location.proto +14 -0
- package/dist/cjs/proto/wechaty/puppet/message.proto +230 -0
- package/dist/cjs/proto/wechaty/puppet/mini-program.proto +18 -0
- package/dist/cjs/proto/wechaty/puppet/referrer.proto +16 -0
- package/dist/cjs/proto/wechaty/puppet/room-invitation.proto +51 -0
- package/dist/cjs/proto/wechaty/puppet/room-member.proto +25 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +87 -0
- package/dist/cjs/proto/wechaty/puppet/tag.proto +43 -0
- package/dist/cjs/proto/wechaty/puppet/url-link.proto +13 -0
- package/dist/cjs/proto/wechaty/puppet.proto +505 -0
- package/dist/cjs/src/chunk-transformer.d.ts +24 -0
- package/dist/cjs/src/chunk-transformer.d.ts.map +1 -0
- package/dist/cjs/src/chunk-transformer.js +36 -0
- package/dist/cjs/src/chunk-transformer.js.map +1 -0
- package/dist/cjs/src/chunk-transformer.spec.d.ts +3 -0
- package/dist/cjs/src/chunk-transformer.spec.d.ts.map +1 -0
- package/dist/cjs/src/chunk-transformer.spec.js +9 -0
- package/dist/cjs/src/chunk-transformer.spec.js.map +1 -0
- package/dist/cjs/src/cjs.d.ts +5 -0
- package/dist/cjs/src/cjs.d.ts.map +1 -0
- package/dist/cjs/src/cjs.js +13 -0
- package/dist/cjs/src/cjs.js.map +1 -0
- package/dist/cjs/src/cjs.spec.d.ts +3 -0
- package/dist/cjs/src/cjs.spec.d.ts.map +1 -0
- package/dist/cjs/src/cjs.spec.js +27 -0
- package/dist/cjs/src/cjs.spec.js.map +1 -0
- package/dist/cjs/src/config.d.ts +12 -0
- package/dist/cjs/src/config.d.ts.map +1 -0
- package/dist/cjs/src/config.js +12 -0
- package/dist/cjs/src/config.js.map +1 -0
- package/dist/cjs/src/google.d.ts +8 -0
- package/dist/cjs/src/google.d.ts.map +1 -0
- package/dist/cjs/src/google.js +15 -0
- package/dist/cjs/src/google.js.map +1 -0
- package/dist/cjs/src/google.spec.d.ts +3 -0
- package/dist/cjs/src/google.spec.d.ts.map +1 -0
- package/dist/cjs/src/google.spec.js +11 -0
- package/dist/cjs/src/google.spec.js.map +1 -0
- package/dist/cjs/src/mod.d.ts +9 -0
- package/dist/cjs/src/mod.d.ts.map +1 -0
- package/dist/cjs/src/mod.js +44 -0
- package/dist/cjs/src/mod.js.map +1 -0
- package/dist/cjs/src/mod.spec.d.ts +3 -0
- package/dist/cjs/src/mod.spec.d.ts.map +1 -0
- package/dist/cjs/src/mod.spec.js +22 -0
- package/dist/cjs/src/mod.spec.js.map +1 -0
- package/dist/cjs/src/openapi.d.ts +4 -0
- package/dist/cjs/src/openapi.d.ts.map +1 -0
- package/dist/cjs/src/openapi.js +21 -0
- package/dist/cjs/src/openapi.js.map +1 -0
- package/dist/cjs/src/openapi.spec.d.ts +3 -0
- package/dist/cjs/src/openapi.spec.d.ts.map +1 -0
- package/dist/cjs/src/openapi.spec.js +20 -0
- package/dist/cjs/src/openapi.spec.js.map +1 -0
- package/dist/cjs/src/package-json.d.ts +6 -0
- package/dist/cjs/src/package-json.d.ts.map +1 -0
- package/dist/cjs/src/package-json.js +97 -0
- package/dist/cjs/src/package-json.js.map +1 -0
- package/dist/cjs/src/package-json.spec.d.ts +3 -0
- package/dist/cjs/src/package-json.spec.d.ts.map +1 -0
- package/dist/cjs/src/package-json.spec.js +10 -0
- package/dist/cjs/src/package-json.spec.js.map +1 -0
- package/dist/cjs/src/proto.d.ts +4 -0
- package/dist/cjs/src/proto.d.ts.map +1 -0
- package/dist/cjs/src/proto.js +25 -0
- package/dist/cjs/src/proto.js.map +1 -0
- package/dist/cjs/src/proto.spec.d.ts +3 -0
- package/dist/cjs/src/proto.spec.d.ts.map +1 -0
- package/dist/cjs/src/proto.spec.js +13 -0
- package/dist/cjs/src/proto.spec.js.map +1 -0
- package/dist/cjs/tests/health-check.spec.d.ts +3 -0
- package/dist/cjs/tests/health-check.spec.d.ts.map +1 -0
- package/dist/cjs/tests/health-check.spec.js +70 -0
- package/dist/cjs/tests/health-check.spec.js.map +1 -0
- package/dist/cjs/tests/integration.spec.d.ts +3 -0
- package/dist/cjs/tests/integration.spec.d.ts.map +1 -0
- package/dist/cjs/tests/integration.spec.js +111 -0
- package/dist/cjs/tests/integration.spec.js.map +1 -0
- package/dist/cjs/tests/nullable.spec.d.ts +3 -0
- package/dist/cjs/tests/nullable.spec.d.ts.map +1 -0
- package/dist/cjs/tests/nullable.spec.js +90 -0
- package/dist/cjs/tests/nullable.spec.js.map +1 -0
- package/dist/cjs/tests/puppet-server-impl.d.ts +8 -0
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -0
- package/dist/cjs/tests/puppet-server-impl.js +310 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -0
- package/dist/cjs/tests/streaming.spec.d.ts +3 -0
- package/dist/cjs/tests/streaming.spec.d.ts.map +1 -0
- package/dist/cjs/tests/streaming.spec.js +8 -0
- package/dist/cjs/tests/streaming.spec.js.map +1 -0
- package/dist/esm/commonjs/README.md +15 -0
- package/dist/esm/commonjs/code-root.cjs +10 -0
- package/dist/esm/commonjs/code-root.cjs.d.ts +1 -0
- package/dist/esm/commonjs/code-root.spec.ts +9 -0
- package/dist/esm/commonjs/generated/google.cjs +9 -0
- package/dist/esm/commonjs/generated/google.cjs.d.ts +2 -0
- package/dist/esm/commonjs/generated/google.spec.ts +13 -0
- package/dist/esm/commonjs/generated/puppet.cjs +39 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +42 -0
- package/dist/esm/commonjs/generated/puppet.spec.ts +19 -0
- package/dist/esm/commonjs/package.json +1 -0
- package/dist/esm/examples/auth/client.d.ts +3 -0
- package/dist/esm/examples/auth/client.d.ts.map +1 -0
- package/dist/esm/examples/auth/client.js +45 -0
- package/dist/esm/examples/auth/client.js.map +1 -0
- package/dist/esm/examples/auth/raw-https/client.d.ts +2 -0
- package/dist/esm/examples/auth/raw-https/client.d.ts.map +1 -0
- package/dist/esm/examples/auth/raw-https/client.js +16 -0
- package/dist/esm/examples/auth/raw-https/client.js.map +1 -0
- package/dist/esm/examples/auth/raw-https/server.d.ts +2 -0
- package/dist/esm/examples/auth/raw-https/server.d.ts.map +1 -0
- package/dist/esm/examples/auth/raw-https/server.js +13 -0
- package/dist/esm/examples/auth/raw-https/server.js.map +1 -0
- package/dist/esm/examples/auth/server.d.ts +2 -0
- package/dist/esm/examples/auth/server.d.ts.map +1 -0
- package/dist/esm/examples/auth/server.js +112 -0
- package/dist/esm/examples/auth/server.js.map +1 -0
- package/dist/esm/examples/client.d.ts +5 -0
- package/dist/esm/examples/client.d.ts.map +1 -0
- package/dist/esm/examples/client.js +77 -0
- package/dist/esm/examples/client.js.map +1 -0
- package/dist/esm/examples/promisify.d.ts +49 -0
- package/dist/esm/examples/promisify.d.ts.map +1 -0
- package/dist/esm/examples/promisify.js +3 -0
- package/dist/esm/examples/promisify.js.map +1 -0
- package/dist/esm/examples/server.d.ts +2 -0
- package/dist/esm/examples/server.d.ts.map +1 -0
- package/dist/esm/examples/server.js +78 -0
- package/dist/esm/examples/server.js.map +1 -0
- package/dist/esm/out/google/api/annotations_grpc_pb.js +1 -0
- package/dist/esm/out/google/api/annotations_pb.d.ts +9 -0
- package/dist/esm/out/google/api/annotations_pb.js +48 -0
- package/dist/esm/out/google/api/annotations_pb_service.d.ts +3 -0
- package/dist/esm/out/google/api/annotations_pb_service.js +3 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_pb.js +333 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
- package/dist/esm/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
- package/dist/esm/out/google/api/http_grpc_pb.js +1 -0
- package/dist/esm/out/google/api/http_pb.d.ts +136 -0
- package/dist/esm/out/google/api/http_pb.js +1006 -0
- package/dist/esm/out/google/api/http_pb_service.d.ts +3 -0
- package/dist/esm/out/google/api/http_pb_service.js +3 -0
- package/dist/esm/out/package.json +1 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
- package/dist/esm/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
- package/dist/esm/out/wechaty/deprecated/file-box_pb.js +1368 -0
- package/dist/esm/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/deprecated/file-box_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/base_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/base_pb.d.ts +224 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +1624 -0
- package/dist/esm/out/wechaty/puppet/base_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/base_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/contact_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +535 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +4013 -0
- package/dist/esm/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/contact_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
- package/dist/esm/out/wechaty/puppet/download-upload_pb.js +674 -0
- package/dist/esm/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/download-upload_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/event_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +67 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +347 -0
- package/dist/esm/out/wechaty/puppet/event_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/event_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/friendship_pb.d.ts +293 -0
- package/dist/esm/out/wechaty/puppet/friendship_pb.js +2060 -0
- package/dist/esm/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/friendship_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/image_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/image_pb.d.ts +14 -0
- package/dist/esm/out/wechaty/puppet/image_pb.js +29 -0
- package/dist/esm/out/wechaty/puppet/image_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/image_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/location_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/location_pb.d.ts +41 -0
- package/dist/esm/out/wechaty/puppet/location_pb.js +290 -0
- package/dist/esm/out/wechaty/puppet/location_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/location_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/message_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/message_pb.d.ts +773 -0
- package/dist/esm/out/wechaty/puppet/message_pb.js +5777 -0
- package/dist/esm/out/wechaty/puppet/message_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/message_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
- package/dist/esm/out/wechaty/puppet/mini-program_pb.js +410 -0
- package/dist/esm/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/mini-program_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/referrer_pb.d.ts +29 -0
- package/dist/esm/out/wechaty/puppet/referrer_pb.js +200 -0
- package/dist/esm/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/referrer_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
- package/dist/esm/out/wechaty/puppet/room-invitation_pb.js +999 -0
- package/dist/esm/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +107 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb.js +802 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/room-member_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/room_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +474 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +3641 -0
- package/dist/esm/out/wechaty/puppet/room_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/room_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/tag_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +170 -0
- package/dist/esm/out/wechaty/puppet/tag_pb.js +1286 -0
- package/dist/esm/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/tag_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/url-link_pb.d.ts +37 -0
- package/dist/esm/out/wechaty/puppet/url-link_pb.js +260 -0
- package/dist/esm/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/url-link_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +2386 -0
- package/dist/esm/out/wechaty/puppet.swagger.json +3419 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +2079 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +18 -0
- package/dist/esm/out/wechaty/puppet_pb.js +43 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +1166 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +2524 -0
- package/dist/esm/proto/wechaty/deprecated/file-box.proto +61 -0
- package/dist/esm/proto/wechaty/puppet/base.proto +46 -0
- package/dist/esm/proto/wechaty/puppet/contact.proto +122 -0
- package/dist/esm/proto/wechaty/puppet/download-upload.proto +19 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +38 -0
- package/dist/esm/proto/wechaty/puppet/friendship.proto +106 -0
- package/dist/esm/proto/wechaty/puppet/image.proto +13 -0
- package/dist/esm/proto/wechaty/puppet/location.proto +14 -0
- package/dist/esm/proto/wechaty/puppet/message.proto +230 -0
- package/dist/esm/proto/wechaty/puppet/mini-program.proto +18 -0
- package/dist/esm/proto/wechaty/puppet/referrer.proto +16 -0
- package/dist/esm/proto/wechaty/puppet/room-invitation.proto +51 -0
- package/dist/esm/proto/wechaty/puppet/room-member.proto +25 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +87 -0
- package/dist/esm/proto/wechaty/puppet/tag.proto +43 -0
- package/dist/esm/proto/wechaty/puppet/url-link.proto +13 -0
- package/dist/esm/proto/wechaty/puppet.proto +505 -0
- package/dist/esm/src/chunk-transformer.d.ts +24 -0
- package/dist/esm/src/chunk-transformer.d.ts.map +1 -0
- package/dist/esm/src/chunk-transformer.js +32 -0
- package/dist/esm/src/chunk-transformer.js.map +1 -0
- package/dist/esm/src/chunk-transformer.spec.d.ts +3 -0
- package/dist/esm/src/chunk-transformer.spec.d.ts.map +1 -0
- package/dist/esm/src/chunk-transformer.spec.js +7 -0
- package/dist/esm/src/chunk-transformer.spec.js.map +1 -0
- package/dist/esm/src/cjs.d.ts +5 -0
- package/dist/esm/src/cjs.d.ts.map +1 -0
- package/dist/esm/src/cjs.js +5 -0
- package/dist/esm/src/cjs.js.map +1 -0
- package/dist/esm/src/cjs.spec.d.ts +3 -0
- package/dist/esm/src/cjs.spec.d.ts.map +1 -0
- package/dist/esm/src/cjs.spec.js +25 -0
- package/dist/esm/src/cjs.spec.js.map +1 -0
- package/dist/esm/src/config.d.ts +12 -0
- package/dist/esm/src/config.d.ts.map +1 -0
- package/dist/esm/src/config.js +9 -0
- package/dist/esm/src/config.js.map +1 -0
- package/dist/esm/src/google.d.ts +8 -0
- package/dist/esm/src/google.d.ts.map +1 -0
- package/dist/esm/src/google.js +8 -0
- package/dist/esm/src/google.js.map +1 -0
- package/dist/esm/src/google.spec.d.ts +3 -0
- package/dist/esm/src/google.spec.d.ts.map +1 -0
- package/dist/esm/src/google.spec.js +9 -0
- package/dist/esm/src/google.spec.js.map +1 -0
- package/dist/esm/src/mod.d.ts +9 -0
- package/dist/esm/src/mod.d.ts.map +1 -0
- package/dist/esm/src/mod.js +9 -0
- package/dist/esm/src/mod.js.map +1 -0
- package/dist/esm/src/mod.spec.d.ts +3 -0
- package/dist/esm/src/mod.spec.d.ts.map +1 -0
- package/dist/esm/src/mod.spec.js +20 -0
- package/dist/esm/src/mod.spec.js.map +1 -0
- package/dist/esm/src/openapi.d.ts +4 -0
- package/dist/esm/src/openapi.d.ts.map +1 -0
- package/dist/esm/src/openapi.js +15 -0
- package/dist/esm/src/openapi.js.map +1 -0
- package/dist/esm/src/openapi.spec.d.ts +3 -0
- package/dist/esm/src/openapi.spec.d.ts.map +1 -0
- package/dist/esm/src/openapi.spec.js +18 -0
- package/dist/esm/src/openapi.spec.js.map +1 -0
- package/dist/esm/src/package-json.d.ts +6 -0
- package/dist/esm/src/package-json.d.ts.map +1 -0
- package/dist/esm/src/package-json.js +94 -0
- package/dist/esm/src/package-json.js.map +1 -0
- package/dist/esm/src/package-json.spec.d.ts +3 -0
- package/dist/esm/src/package-json.spec.d.ts.map +1 -0
- package/dist/esm/src/package-json.spec.js +8 -0
- package/dist/esm/src/package-json.spec.js.map +1 -0
- package/dist/esm/src/proto.d.ts +4 -0
- package/dist/esm/src/proto.d.ts.map +1 -0
- package/dist/esm/src/proto.js +19 -0
- package/dist/esm/src/proto.js.map +1 -0
- package/dist/esm/src/proto.spec.d.ts +3 -0
- package/dist/esm/src/proto.spec.d.ts.map +1 -0
- package/dist/esm/src/proto.spec.js +11 -0
- package/dist/esm/src/proto.spec.js.map +1 -0
- package/dist/esm/tests/health-check.spec.d.ts +3 -0
- package/dist/esm/tests/health-check.spec.d.ts.map +1 -0
- package/dist/esm/tests/health-check.spec.js +68 -0
- package/dist/esm/tests/health-check.spec.js.map +1 -0
- package/dist/esm/tests/integration.spec.d.ts +3 -0
- package/dist/esm/tests/integration.spec.d.ts.map +1 -0
- package/dist/esm/tests/integration.spec.js +106 -0
- package/dist/esm/tests/integration.spec.js.map +1 -0
- package/dist/esm/tests/nullable.spec.d.ts +3 -0
- package/dist/esm/tests/nullable.spec.d.ts.map +1 -0
- package/dist/esm/tests/nullable.spec.js +85 -0
- package/dist/esm/tests/nullable.spec.js.map +1 -0
- package/dist/esm/tests/puppet-server-impl.d.ts +8 -0
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -0
- package/dist/esm/tests/puppet-server-impl.js +307 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -0
- package/dist/esm/tests/streaming.spec.d.ts +3 -0
- package/dist/esm/tests/streaming.spec.d.ts.map +1 -0
- package/dist/esm/tests/streaming.spec.js +6 -0
- package/dist/esm/tests/streaming.spec.js.map +1 -0
- package/out/google/api/annotations_grpc_pb.js +1 -0
- package/out/google/api/annotations_pb.d.ts +9 -0
- package/out/google/api/annotations_pb.js +48 -0
- package/out/google/api/annotations_pb_service.d.ts +3 -0
- package/out/google/api/annotations_pb_service.js +3 -0
- package/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
- package/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
- package/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
- package/out/google/api/health_check/v1/health_check_pb.js +333 -0
- package/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
- package/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
- package/out/google/api/http_grpc_pb.js +1 -0
- package/out/google/api/http_pb.d.ts +136 -0
- package/out/google/api/http_pb.js +1006 -0
- package/out/google/api/http_pb_service.d.ts +3 -0
- package/out/google/api/http_pb_service.js +3 -0
- package/out/package.json +1 -0
- package/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
- package/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
- package/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
- package/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
- package/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
- package/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
- package/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
- package/out/wechaty/deprecated/file-box_pb.js +1368 -0
- package/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
- package/out/wechaty/deprecated/file-box_pb_service.js +3 -0
- package/out/wechaty/puppet/base_grpc_pb.js +1 -0
- package/out/wechaty/puppet/base_pb.d.ts +224 -0
- package/out/wechaty/puppet/base_pb.js +1624 -0
- package/out/wechaty/puppet/base_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/base_pb_service.js +3 -0
- package/out/wechaty/puppet/contact_grpc_pb.js +1 -0
- package/out/wechaty/puppet/contact_pb.d.ts +535 -0
- package/out/wechaty/puppet/contact_pb.js +4013 -0
- package/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/contact_pb_service.js +3 -0
- package/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
- package/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
- package/out/wechaty/puppet/download-upload_pb.js +674 -0
- package/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/download-upload_pb_service.js +3 -0
- package/out/wechaty/puppet/event_grpc_pb.js +1 -0
- package/out/wechaty/puppet/event_pb.d.ts +67 -0
- package/out/wechaty/puppet/event_pb.js +347 -0
- package/out/wechaty/puppet/event_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/event_pb_service.js +3 -0
- package/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
- package/out/wechaty/puppet/friendship_pb.d.ts +293 -0
- package/out/wechaty/puppet/friendship_pb.js +2060 -0
- package/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/friendship_pb_service.js +3 -0
- package/out/wechaty/puppet/image_grpc_pb.js +1 -0
- package/out/wechaty/puppet/image_pb.d.ts +14 -0
- package/out/wechaty/puppet/image_pb.js +29 -0
- package/out/wechaty/puppet/image_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/image_pb_service.js +3 -0
- package/out/wechaty/puppet/location_grpc_pb.js +1 -0
- package/out/wechaty/puppet/location_pb.d.ts +41 -0
- package/out/wechaty/puppet/location_pb.js +290 -0
- package/out/wechaty/puppet/location_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/location_pb_service.js +3 -0
- package/out/wechaty/puppet/message_grpc_pb.js +1 -0
- package/out/wechaty/puppet/message_pb.d.ts +773 -0
- package/out/wechaty/puppet/message_pb.js +5777 -0
- package/out/wechaty/puppet/message_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/message_pb_service.js +3 -0
- package/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
- package/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
- package/out/wechaty/puppet/mini-program_pb.js +410 -0
- package/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/mini-program_pb_service.js +3 -0
- package/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
- package/out/wechaty/puppet/referrer_pb.d.ts +29 -0
- package/out/wechaty/puppet/referrer_pb.js +200 -0
- package/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/referrer_pb_service.js +3 -0
- package/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
- package/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
- package/out/wechaty/puppet/room-invitation_pb.js +999 -0
- package/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
- package/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
- package/out/wechaty/puppet/room-member_pb.d.ts +107 -0
- package/out/wechaty/puppet/room-member_pb.js +802 -0
- package/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/room-member_pb_service.js +3 -0
- package/out/wechaty/puppet/room_grpc_pb.js +1 -0
- package/out/wechaty/puppet/room_pb.d.ts +474 -0
- package/out/wechaty/puppet/room_pb.js +3641 -0
- package/out/wechaty/puppet/room_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/room_pb_service.js +3 -0
- package/out/wechaty/puppet/tag_grpc_pb.js +1 -0
- package/out/wechaty/puppet/tag_pb.d.ts +170 -0
- package/out/wechaty/puppet/tag_pb.js +1286 -0
- package/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/tag_pb_service.js +3 -0
- package/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
- package/out/wechaty/puppet/url-link_pb.d.ts +37 -0
- package/out/wechaty/puppet/url-link_pb.js +260 -0
- package/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/url-link_pb_service.js +3 -0
- package/out/wechaty/puppet.openapi.yaml +2386 -0
- package/out/wechaty/puppet.swagger.json +3419 -0
- package/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
- package/out/wechaty/puppet_grpc_pb.js +2079 -0
- package/out/wechaty/puppet_pb.d.ts +18 -0
- package/out/wechaty/puppet_pb.js +43 -0
- package/out/wechaty/puppet_pb_service.d.ts +1166 -0
- package/out/wechaty/puppet_pb_service.js +2524 -0
- package/package.json +93 -0
- package/src/chunk-transformer.spec.ts +18 -0
- package/src/chunk-transformer.ts +58 -0
- package/src/cjs.spec.ts +36 -0
- package/src/cjs.ts +10 -0
- package/src/config.ts +19 -0
- package/src/google.spec.ts +13 -0
- package/src/google.ts +10 -0
- package/src/mod.spec.ts +30 -0
- package/src/mod.ts +31 -0
- package/src/openapi.spec.ts +22 -0
- package/src/openapi.ts +30 -0
- package/src/package-json.spec.ts +10 -0
- package/src/package-json.ts +97 -0
- package/src/proto.spec.ts +16 -0
- package/src/proto.ts +34 -0
|
@@ -0,0 +1,2079 @@
|
|
|
1
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
2
|
+
|
|
3
|
+
// Original file comments:
|
|
4
|
+
// *
|
|
5
|
+
//
|
|
6
|
+
// Wechaty Puppet gRPC Protocol Buffers
|
|
7
|
+
// https://github.com/wechaty/grpc/
|
|
8
|
+
// Huan LI <zixia@zixia.net>
|
|
9
|
+
// Apr 2018
|
|
10
|
+
// License: Apache-2.0
|
|
11
|
+
//
|
|
12
|
+
// Google Protocol Buffers
|
|
13
|
+
// Style Guide - https://developers.google.com/protocol-buffers/docs/style
|
|
14
|
+
//
|
|
15
|
+
'use strict';
|
|
16
|
+
var grpc = require('@grpc/grpc-js');
|
|
17
|
+
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
|
18
|
+
var protoc$gen$openapiv2_options_annotations_pb = require('../protoc-gen-openapiv2/options/annotations_pb.js');
|
|
19
|
+
var wechaty_deprecated_file$box_pb = require('../wechaty/deprecated/file-box_pb.js');
|
|
20
|
+
var wechaty_puppet_base_pb = require('../wechaty/puppet/base_pb.js');
|
|
21
|
+
var wechaty_puppet_contact_pb = require('../wechaty/puppet/contact_pb.js');
|
|
22
|
+
var wechaty_puppet_download$upload_pb = require('../wechaty/puppet/download-upload_pb.js');
|
|
23
|
+
var wechaty_puppet_event_pb = require('../wechaty/puppet/event_pb.js');
|
|
24
|
+
var wechaty_puppet_friendship_pb = require('../wechaty/puppet/friendship_pb.js');
|
|
25
|
+
var wechaty_puppet_message_pb = require('../wechaty/puppet/message_pb.js');
|
|
26
|
+
var wechaty_puppet_room$invitation_pb = require('../wechaty/puppet/room-invitation_pb.js');
|
|
27
|
+
var wechaty_puppet_room$member_pb = require('../wechaty/puppet/room-member_pb.js');
|
|
28
|
+
var wechaty_puppet_room_pb = require('../wechaty/puppet/room_pb.js');
|
|
29
|
+
var wechaty_puppet_tag_pb = require('../wechaty/puppet/tag_pb.js');
|
|
30
|
+
|
|
31
|
+
function serialize_wechaty_puppet_ContactAliasRequest(arg) {
|
|
32
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactAliasRequest)) {
|
|
33
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactAliasRequest');
|
|
34
|
+
}
|
|
35
|
+
return Buffer.from(arg.serializeBinary());
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function deserialize_wechaty_puppet_ContactAliasRequest(buffer_arg) {
|
|
39
|
+
return wechaty_puppet_contact_pb.ContactAliasRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function serialize_wechaty_puppet_ContactAliasResponse(arg) {
|
|
43
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactAliasResponse)) {
|
|
44
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactAliasResponse');
|
|
45
|
+
}
|
|
46
|
+
return Buffer.from(arg.serializeBinary());
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
function deserialize_wechaty_puppet_ContactAliasResponse(buffer_arg) {
|
|
50
|
+
return wechaty_puppet_contact_pb.ContactAliasResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function serialize_wechaty_puppet_ContactAvatarRequest(arg) {
|
|
54
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactAvatarRequest)) {
|
|
55
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactAvatarRequest');
|
|
56
|
+
}
|
|
57
|
+
return Buffer.from(arg.serializeBinary());
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function deserialize_wechaty_puppet_ContactAvatarRequest(buffer_arg) {
|
|
61
|
+
return wechaty_puppet_contact_pb.ContactAvatarRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function serialize_wechaty_puppet_ContactAvatarResponse(arg) {
|
|
65
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactAvatarResponse)) {
|
|
66
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactAvatarResponse');
|
|
67
|
+
}
|
|
68
|
+
return Buffer.from(arg.serializeBinary());
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
function deserialize_wechaty_puppet_ContactAvatarResponse(buffer_arg) {
|
|
72
|
+
return wechaty_puppet_contact_pb.ContactAvatarResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
function serialize_wechaty_puppet_ContactCorporationRemarkRequest(arg) {
|
|
76
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactCorporationRemarkRequest)) {
|
|
77
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactCorporationRemarkRequest');
|
|
78
|
+
}
|
|
79
|
+
return Buffer.from(arg.serializeBinary());
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
function deserialize_wechaty_puppet_ContactCorporationRemarkRequest(buffer_arg) {
|
|
83
|
+
return wechaty_puppet_contact_pb.ContactCorporationRemarkRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
function serialize_wechaty_puppet_ContactCorporationRemarkResponse(arg) {
|
|
87
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactCorporationRemarkResponse)) {
|
|
88
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactCorporationRemarkResponse');
|
|
89
|
+
}
|
|
90
|
+
return Buffer.from(arg.serializeBinary());
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
function deserialize_wechaty_puppet_ContactCorporationRemarkResponse(buffer_arg) {
|
|
94
|
+
return wechaty_puppet_contact_pb.ContactCorporationRemarkResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function serialize_wechaty_puppet_ContactDescriptionRequest(arg) {
|
|
98
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactDescriptionRequest)) {
|
|
99
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactDescriptionRequest');
|
|
100
|
+
}
|
|
101
|
+
return Buffer.from(arg.serializeBinary());
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function deserialize_wechaty_puppet_ContactDescriptionRequest(buffer_arg) {
|
|
105
|
+
return wechaty_puppet_contact_pb.ContactDescriptionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function serialize_wechaty_puppet_ContactDescriptionResponse(arg) {
|
|
109
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactDescriptionResponse)) {
|
|
110
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactDescriptionResponse');
|
|
111
|
+
}
|
|
112
|
+
return Buffer.from(arg.serializeBinary());
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
function deserialize_wechaty_puppet_ContactDescriptionResponse(buffer_arg) {
|
|
116
|
+
return wechaty_puppet_contact_pb.ContactDescriptionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
function serialize_wechaty_puppet_ContactListRequest(arg) {
|
|
120
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactListRequest)) {
|
|
121
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactListRequest');
|
|
122
|
+
}
|
|
123
|
+
return Buffer.from(arg.serializeBinary());
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function deserialize_wechaty_puppet_ContactListRequest(buffer_arg) {
|
|
127
|
+
return wechaty_puppet_contact_pb.ContactListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function serialize_wechaty_puppet_ContactListResponse(arg) {
|
|
131
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactListResponse)) {
|
|
132
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactListResponse');
|
|
133
|
+
}
|
|
134
|
+
return Buffer.from(arg.serializeBinary());
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
function deserialize_wechaty_puppet_ContactListResponse(buffer_arg) {
|
|
138
|
+
return wechaty_puppet_contact_pb.ContactListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function serialize_wechaty_puppet_ContactPayloadRequest(arg) {
|
|
142
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactPayloadRequest)) {
|
|
143
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactPayloadRequest');
|
|
144
|
+
}
|
|
145
|
+
return Buffer.from(arg.serializeBinary());
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function deserialize_wechaty_puppet_ContactPayloadRequest(buffer_arg) {
|
|
149
|
+
return wechaty_puppet_contact_pb.ContactPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
function serialize_wechaty_puppet_ContactPayloadResponse(arg) {
|
|
153
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactPayloadResponse)) {
|
|
154
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactPayloadResponse');
|
|
155
|
+
}
|
|
156
|
+
return Buffer.from(arg.serializeBinary());
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
function deserialize_wechaty_puppet_ContactPayloadResponse(buffer_arg) {
|
|
160
|
+
return wechaty_puppet_contact_pb.ContactPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
function serialize_wechaty_puppet_ContactPhoneRequest(arg) {
|
|
164
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactPhoneRequest)) {
|
|
165
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactPhoneRequest');
|
|
166
|
+
}
|
|
167
|
+
return Buffer.from(arg.serializeBinary());
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
function deserialize_wechaty_puppet_ContactPhoneRequest(buffer_arg) {
|
|
171
|
+
return wechaty_puppet_contact_pb.ContactPhoneRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
function serialize_wechaty_puppet_ContactPhoneResponse(arg) {
|
|
175
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactPhoneResponse)) {
|
|
176
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactPhoneResponse');
|
|
177
|
+
}
|
|
178
|
+
return Buffer.from(arg.serializeBinary());
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
function deserialize_wechaty_puppet_ContactPhoneResponse(buffer_arg) {
|
|
182
|
+
return wechaty_puppet_contact_pb.ContactPhoneResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
function serialize_wechaty_puppet_ContactSelfNameRequest(arg) {
|
|
186
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfNameRequest)) {
|
|
187
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfNameRequest');
|
|
188
|
+
}
|
|
189
|
+
return Buffer.from(arg.serializeBinary());
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
function deserialize_wechaty_puppet_ContactSelfNameRequest(buffer_arg) {
|
|
193
|
+
return wechaty_puppet_contact_pb.ContactSelfNameRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
function serialize_wechaty_puppet_ContactSelfNameResponse(arg) {
|
|
197
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfNameResponse)) {
|
|
198
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfNameResponse');
|
|
199
|
+
}
|
|
200
|
+
return Buffer.from(arg.serializeBinary());
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
function deserialize_wechaty_puppet_ContactSelfNameResponse(buffer_arg) {
|
|
204
|
+
return wechaty_puppet_contact_pb.ContactSelfNameResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
function serialize_wechaty_puppet_ContactSelfQRCodeRequest(arg) {
|
|
208
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfQRCodeRequest)) {
|
|
209
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfQRCodeRequest');
|
|
210
|
+
}
|
|
211
|
+
return Buffer.from(arg.serializeBinary());
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
function deserialize_wechaty_puppet_ContactSelfQRCodeRequest(buffer_arg) {
|
|
215
|
+
return wechaty_puppet_contact_pb.ContactSelfQRCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
function serialize_wechaty_puppet_ContactSelfQRCodeResponse(arg) {
|
|
219
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfQRCodeResponse)) {
|
|
220
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfQRCodeResponse');
|
|
221
|
+
}
|
|
222
|
+
return Buffer.from(arg.serializeBinary());
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
function deserialize_wechaty_puppet_ContactSelfQRCodeResponse(buffer_arg) {
|
|
226
|
+
return wechaty_puppet_contact_pb.ContactSelfQRCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
function serialize_wechaty_puppet_ContactSelfSignatureRequest(arg) {
|
|
230
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfSignatureRequest)) {
|
|
231
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfSignatureRequest');
|
|
232
|
+
}
|
|
233
|
+
return Buffer.from(arg.serializeBinary());
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
function deserialize_wechaty_puppet_ContactSelfSignatureRequest(buffer_arg) {
|
|
237
|
+
return wechaty_puppet_contact_pb.ContactSelfSignatureRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
function serialize_wechaty_puppet_ContactSelfSignatureResponse(arg) {
|
|
241
|
+
if (!(arg instanceof wechaty_puppet_contact_pb.ContactSelfSignatureResponse)) {
|
|
242
|
+
throw new Error('Expected argument of type wechaty.puppet.ContactSelfSignatureResponse');
|
|
243
|
+
}
|
|
244
|
+
return Buffer.from(arg.serializeBinary());
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
function deserialize_wechaty_puppet_ContactSelfSignatureResponse(buffer_arg) {
|
|
248
|
+
return wechaty_puppet_contact_pb.ContactSelfSignatureResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
function serialize_wechaty_puppet_DingRequest(arg) {
|
|
252
|
+
if (!(arg instanceof wechaty_puppet_base_pb.DingRequest)) {
|
|
253
|
+
throw new Error('Expected argument of type wechaty.puppet.DingRequest');
|
|
254
|
+
}
|
|
255
|
+
return Buffer.from(arg.serializeBinary());
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
function deserialize_wechaty_puppet_DingRequest(buffer_arg) {
|
|
259
|
+
return wechaty_puppet_base_pb.DingRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
function serialize_wechaty_puppet_DingResponse(arg) {
|
|
263
|
+
if (!(arg instanceof wechaty_puppet_base_pb.DingResponse)) {
|
|
264
|
+
throw new Error('Expected argument of type wechaty.puppet.DingResponse');
|
|
265
|
+
}
|
|
266
|
+
return Buffer.from(arg.serializeBinary());
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
function deserialize_wechaty_puppet_DingResponse(buffer_arg) {
|
|
270
|
+
return wechaty_puppet_base_pb.DingResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
function serialize_wechaty_puppet_DirtyPayloadRequest(arg) {
|
|
274
|
+
if (!(arg instanceof wechaty_puppet_base_pb.DirtyPayloadRequest)) {
|
|
275
|
+
throw new Error('Expected argument of type wechaty.puppet.DirtyPayloadRequest');
|
|
276
|
+
}
|
|
277
|
+
return Buffer.from(arg.serializeBinary());
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function deserialize_wechaty_puppet_DirtyPayloadRequest(buffer_arg) {
|
|
281
|
+
return wechaty_puppet_base_pb.DirtyPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
function serialize_wechaty_puppet_DirtyPayloadResponse(arg) {
|
|
285
|
+
if (!(arg instanceof wechaty_puppet_base_pb.DirtyPayloadResponse)) {
|
|
286
|
+
throw new Error('Expected argument of type wechaty.puppet.DirtyPayloadResponse');
|
|
287
|
+
}
|
|
288
|
+
return Buffer.from(arg.serializeBinary());
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
function deserialize_wechaty_puppet_DirtyPayloadResponse(buffer_arg) {
|
|
292
|
+
return wechaty_puppet_base_pb.DirtyPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
function serialize_wechaty_puppet_DownloadRequest(arg) {
|
|
296
|
+
if (!(arg instanceof wechaty_puppet_download$upload_pb.DownloadRequest)) {
|
|
297
|
+
throw new Error('Expected argument of type wechaty.puppet.DownloadRequest');
|
|
298
|
+
}
|
|
299
|
+
return Buffer.from(arg.serializeBinary());
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function deserialize_wechaty_puppet_DownloadRequest(buffer_arg) {
|
|
303
|
+
return wechaty_puppet_download$upload_pb.DownloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
function serialize_wechaty_puppet_DownloadResponse(arg) {
|
|
307
|
+
if (!(arg instanceof wechaty_puppet_download$upload_pb.DownloadResponse)) {
|
|
308
|
+
throw new Error('Expected argument of type wechaty.puppet.DownloadResponse');
|
|
309
|
+
}
|
|
310
|
+
return Buffer.from(arg.serializeBinary());
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
function deserialize_wechaty_puppet_DownloadResponse(buffer_arg) {
|
|
314
|
+
return wechaty_puppet_download$upload_pb.DownloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
function serialize_wechaty_puppet_EventRequest(arg) {
|
|
318
|
+
if (!(arg instanceof wechaty_puppet_event_pb.EventRequest)) {
|
|
319
|
+
throw new Error('Expected argument of type wechaty.puppet.EventRequest');
|
|
320
|
+
}
|
|
321
|
+
return Buffer.from(arg.serializeBinary());
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function deserialize_wechaty_puppet_EventRequest(buffer_arg) {
|
|
325
|
+
return wechaty_puppet_event_pb.EventRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
function serialize_wechaty_puppet_EventResponse(arg) {
|
|
329
|
+
if (!(arg instanceof wechaty_puppet_event_pb.EventResponse)) {
|
|
330
|
+
throw new Error('Expected argument of type wechaty.puppet.EventResponse');
|
|
331
|
+
}
|
|
332
|
+
return Buffer.from(arg.serializeBinary());
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
function deserialize_wechaty_puppet_EventResponse(buffer_arg) {
|
|
336
|
+
return wechaty_puppet_event_pb.EventResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
function serialize_wechaty_puppet_FriendshipAcceptRequest(arg) {
|
|
340
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipAcceptRequest)) {
|
|
341
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipAcceptRequest');
|
|
342
|
+
}
|
|
343
|
+
return Buffer.from(arg.serializeBinary());
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
function deserialize_wechaty_puppet_FriendshipAcceptRequest(buffer_arg) {
|
|
347
|
+
return wechaty_puppet_friendship_pb.FriendshipAcceptRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
function serialize_wechaty_puppet_FriendshipAcceptResponse(arg) {
|
|
351
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipAcceptResponse)) {
|
|
352
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipAcceptResponse');
|
|
353
|
+
}
|
|
354
|
+
return Buffer.from(arg.serializeBinary());
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
function deserialize_wechaty_puppet_FriendshipAcceptResponse(buffer_arg) {
|
|
358
|
+
return wechaty_puppet_friendship_pb.FriendshipAcceptResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
function serialize_wechaty_puppet_FriendshipAddRequest(arg) {
|
|
362
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipAddRequest)) {
|
|
363
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipAddRequest');
|
|
364
|
+
}
|
|
365
|
+
return Buffer.from(arg.serializeBinary());
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
function deserialize_wechaty_puppet_FriendshipAddRequest(buffer_arg) {
|
|
369
|
+
return wechaty_puppet_friendship_pb.FriendshipAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
function serialize_wechaty_puppet_FriendshipAddResponse(arg) {
|
|
373
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipAddResponse)) {
|
|
374
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipAddResponse');
|
|
375
|
+
}
|
|
376
|
+
return Buffer.from(arg.serializeBinary());
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
function deserialize_wechaty_puppet_FriendshipAddResponse(buffer_arg) {
|
|
380
|
+
return wechaty_puppet_friendship_pb.FriendshipAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
function serialize_wechaty_puppet_FriendshipPayloadRequest(arg) {
|
|
384
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipPayloadRequest)) {
|
|
385
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipPayloadRequest');
|
|
386
|
+
}
|
|
387
|
+
return Buffer.from(arg.serializeBinary());
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
function deserialize_wechaty_puppet_FriendshipPayloadRequest(buffer_arg) {
|
|
391
|
+
return wechaty_puppet_friendship_pb.FriendshipPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
function serialize_wechaty_puppet_FriendshipPayloadResponse(arg) {
|
|
395
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipPayloadResponse)) {
|
|
396
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipPayloadResponse');
|
|
397
|
+
}
|
|
398
|
+
return Buffer.from(arg.serializeBinary());
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
function deserialize_wechaty_puppet_FriendshipPayloadResponse(buffer_arg) {
|
|
402
|
+
return wechaty_puppet_friendship_pb.FriendshipPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
function serialize_wechaty_puppet_FriendshipSearchHandleRequest(arg) {
|
|
406
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipSearchHandleRequest)) {
|
|
407
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipSearchHandleRequest');
|
|
408
|
+
}
|
|
409
|
+
return Buffer.from(arg.serializeBinary());
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
function deserialize_wechaty_puppet_FriendshipSearchHandleRequest(buffer_arg) {
|
|
413
|
+
return wechaty_puppet_friendship_pb.FriendshipSearchHandleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
function serialize_wechaty_puppet_FriendshipSearchHandleResponse(arg) {
|
|
417
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipSearchHandleResponse)) {
|
|
418
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipSearchHandleResponse');
|
|
419
|
+
}
|
|
420
|
+
return Buffer.from(arg.serializeBinary());
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
function deserialize_wechaty_puppet_FriendshipSearchHandleResponse(buffer_arg) {
|
|
424
|
+
return wechaty_puppet_friendship_pb.FriendshipSearchHandleResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
function serialize_wechaty_puppet_FriendshipSearchPhoneRequest(arg) {
|
|
428
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipSearchPhoneRequest)) {
|
|
429
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipSearchPhoneRequest');
|
|
430
|
+
}
|
|
431
|
+
return Buffer.from(arg.serializeBinary());
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
function deserialize_wechaty_puppet_FriendshipSearchPhoneRequest(buffer_arg) {
|
|
435
|
+
return wechaty_puppet_friendship_pb.FriendshipSearchPhoneRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
function serialize_wechaty_puppet_FriendshipSearchPhoneResponse(arg) {
|
|
439
|
+
if (!(arg instanceof wechaty_puppet_friendship_pb.FriendshipSearchPhoneResponse)) {
|
|
440
|
+
throw new Error('Expected argument of type wechaty.puppet.FriendshipSearchPhoneResponse');
|
|
441
|
+
}
|
|
442
|
+
return Buffer.from(arg.serializeBinary());
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
function deserialize_wechaty_puppet_FriendshipSearchPhoneResponse(buffer_arg) {
|
|
446
|
+
return wechaty_puppet_friendship_pb.FriendshipSearchPhoneResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
function serialize_wechaty_puppet_LogoutRequest(arg) {
|
|
450
|
+
if (!(arg instanceof wechaty_puppet_base_pb.LogoutRequest)) {
|
|
451
|
+
throw new Error('Expected argument of type wechaty.puppet.LogoutRequest');
|
|
452
|
+
}
|
|
453
|
+
return Buffer.from(arg.serializeBinary());
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
function deserialize_wechaty_puppet_LogoutRequest(buffer_arg) {
|
|
457
|
+
return wechaty_puppet_base_pb.LogoutRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
function serialize_wechaty_puppet_LogoutResponse(arg) {
|
|
461
|
+
if (!(arg instanceof wechaty_puppet_base_pb.LogoutResponse)) {
|
|
462
|
+
throw new Error('Expected argument of type wechaty.puppet.LogoutResponse');
|
|
463
|
+
}
|
|
464
|
+
return Buffer.from(arg.serializeBinary());
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
function deserialize_wechaty_puppet_LogoutResponse(buffer_arg) {
|
|
468
|
+
return wechaty_puppet_base_pb.LogoutResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
function serialize_wechaty_puppet_MessageContactRequest(arg) {
|
|
472
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageContactRequest)) {
|
|
473
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageContactRequest');
|
|
474
|
+
}
|
|
475
|
+
return Buffer.from(arg.serializeBinary());
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
function deserialize_wechaty_puppet_MessageContactRequest(buffer_arg) {
|
|
479
|
+
return wechaty_puppet_message_pb.MessageContactRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
function serialize_wechaty_puppet_MessageContactResponse(arg) {
|
|
483
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageContactResponse)) {
|
|
484
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageContactResponse');
|
|
485
|
+
}
|
|
486
|
+
return Buffer.from(arg.serializeBinary());
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
function deserialize_wechaty_puppet_MessageContactResponse(buffer_arg) {
|
|
490
|
+
return wechaty_puppet_message_pb.MessageContactResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
function serialize_wechaty_puppet_MessageFileRequest(arg) {
|
|
494
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageFileRequest)) {
|
|
495
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageFileRequest');
|
|
496
|
+
}
|
|
497
|
+
return Buffer.from(arg.serializeBinary());
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
function deserialize_wechaty_puppet_MessageFileRequest(buffer_arg) {
|
|
501
|
+
return wechaty_puppet_message_pb.MessageFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
function serialize_wechaty_puppet_MessageFileResponse(arg) {
|
|
505
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageFileResponse)) {
|
|
506
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageFileResponse');
|
|
507
|
+
}
|
|
508
|
+
return Buffer.from(arg.serializeBinary());
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
function deserialize_wechaty_puppet_MessageFileResponse(buffer_arg) {
|
|
512
|
+
return wechaty_puppet_message_pb.MessageFileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function serialize_wechaty_puppet_MessageFileStreamRequest(arg) {
|
|
516
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageFileStreamRequest)) {
|
|
517
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageFileStreamRequest');
|
|
518
|
+
}
|
|
519
|
+
return Buffer.from(arg.serializeBinary());
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
function deserialize_wechaty_puppet_MessageFileStreamRequest(buffer_arg) {
|
|
523
|
+
return wechaty_deprecated_file$box_pb.MessageFileStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
function serialize_wechaty_puppet_MessageFileStreamResponse(arg) {
|
|
527
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageFileStreamResponse)) {
|
|
528
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageFileStreamResponse');
|
|
529
|
+
}
|
|
530
|
+
return Buffer.from(arg.serializeBinary());
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
function deserialize_wechaty_puppet_MessageFileStreamResponse(buffer_arg) {
|
|
534
|
+
return wechaty_deprecated_file$box_pb.MessageFileStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
function serialize_wechaty_puppet_MessageForwardRequest(arg) {
|
|
538
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageForwardRequest)) {
|
|
539
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageForwardRequest');
|
|
540
|
+
}
|
|
541
|
+
return Buffer.from(arg.serializeBinary());
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
function deserialize_wechaty_puppet_MessageForwardRequest(buffer_arg) {
|
|
545
|
+
return wechaty_puppet_message_pb.MessageForwardRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
function serialize_wechaty_puppet_MessageForwardResponse(arg) {
|
|
549
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageForwardResponse)) {
|
|
550
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageForwardResponse');
|
|
551
|
+
}
|
|
552
|
+
return Buffer.from(arg.serializeBinary());
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
function deserialize_wechaty_puppet_MessageForwardResponse(buffer_arg) {
|
|
556
|
+
return wechaty_puppet_message_pb.MessageForwardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
function serialize_wechaty_puppet_MessageImageRequest(arg) {
|
|
560
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageImageRequest)) {
|
|
561
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageImageRequest');
|
|
562
|
+
}
|
|
563
|
+
return Buffer.from(arg.serializeBinary());
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
function deserialize_wechaty_puppet_MessageImageRequest(buffer_arg) {
|
|
567
|
+
return wechaty_puppet_message_pb.MessageImageRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
function serialize_wechaty_puppet_MessageImageResponse(arg) {
|
|
571
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageImageResponse)) {
|
|
572
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageImageResponse');
|
|
573
|
+
}
|
|
574
|
+
return Buffer.from(arg.serializeBinary());
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
function deserialize_wechaty_puppet_MessageImageResponse(buffer_arg) {
|
|
578
|
+
return wechaty_puppet_message_pb.MessageImageResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
function serialize_wechaty_puppet_MessageImageStreamRequest(arg) {
|
|
582
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageImageStreamRequest)) {
|
|
583
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageImageStreamRequest');
|
|
584
|
+
}
|
|
585
|
+
return Buffer.from(arg.serializeBinary());
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
function deserialize_wechaty_puppet_MessageImageStreamRequest(buffer_arg) {
|
|
589
|
+
return wechaty_deprecated_file$box_pb.MessageImageStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
function serialize_wechaty_puppet_MessageImageStreamResponse(arg) {
|
|
593
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageImageStreamResponse)) {
|
|
594
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageImageStreamResponse');
|
|
595
|
+
}
|
|
596
|
+
return Buffer.from(arg.serializeBinary());
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
function deserialize_wechaty_puppet_MessageImageStreamResponse(buffer_arg) {
|
|
600
|
+
return wechaty_deprecated_file$box_pb.MessageImageStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
function serialize_wechaty_puppet_MessageLocationRequest(arg) {
|
|
604
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageLocationRequest)) {
|
|
605
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageLocationRequest');
|
|
606
|
+
}
|
|
607
|
+
return Buffer.from(arg.serializeBinary());
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
function deserialize_wechaty_puppet_MessageLocationRequest(buffer_arg) {
|
|
611
|
+
return wechaty_puppet_message_pb.MessageLocationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
function serialize_wechaty_puppet_MessageLocationResponse(arg) {
|
|
615
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageLocationResponse)) {
|
|
616
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageLocationResponse');
|
|
617
|
+
}
|
|
618
|
+
return Buffer.from(arg.serializeBinary());
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
function deserialize_wechaty_puppet_MessageLocationResponse(buffer_arg) {
|
|
622
|
+
return wechaty_puppet_message_pb.MessageLocationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
function serialize_wechaty_puppet_MessageMiniProgramRequest(arg) {
|
|
626
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageMiniProgramRequest)) {
|
|
627
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageMiniProgramRequest');
|
|
628
|
+
}
|
|
629
|
+
return Buffer.from(arg.serializeBinary());
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
function deserialize_wechaty_puppet_MessageMiniProgramRequest(buffer_arg) {
|
|
633
|
+
return wechaty_puppet_message_pb.MessageMiniProgramRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
function serialize_wechaty_puppet_MessageMiniProgramResponse(arg) {
|
|
637
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageMiniProgramResponse)) {
|
|
638
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageMiniProgramResponse');
|
|
639
|
+
}
|
|
640
|
+
return Buffer.from(arg.serializeBinary());
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
function deserialize_wechaty_puppet_MessageMiniProgramResponse(buffer_arg) {
|
|
644
|
+
return wechaty_puppet_message_pb.MessageMiniProgramResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
function serialize_wechaty_puppet_MessagePayloadRequest(arg) {
|
|
648
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessagePayloadRequest)) {
|
|
649
|
+
throw new Error('Expected argument of type wechaty.puppet.MessagePayloadRequest');
|
|
650
|
+
}
|
|
651
|
+
return Buffer.from(arg.serializeBinary());
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
function deserialize_wechaty_puppet_MessagePayloadRequest(buffer_arg) {
|
|
655
|
+
return wechaty_puppet_message_pb.MessagePayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
function serialize_wechaty_puppet_MessagePayloadResponse(arg) {
|
|
659
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessagePayloadResponse)) {
|
|
660
|
+
throw new Error('Expected argument of type wechaty.puppet.MessagePayloadResponse');
|
|
661
|
+
}
|
|
662
|
+
return Buffer.from(arg.serializeBinary());
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
function deserialize_wechaty_puppet_MessagePayloadResponse(buffer_arg) {
|
|
666
|
+
return wechaty_puppet_message_pb.MessagePayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
function serialize_wechaty_puppet_MessageRecallRequest(arg) {
|
|
670
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageRecallRequest)) {
|
|
671
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageRecallRequest');
|
|
672
|
+
}
|
|
673
|
+
return Buffer.from(arg.serializeBinary());
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
function deserialize_wechaty_puppet_MessageRecallRequest(buffer_arg) {
|
|
677
|
+
return wechaty_puppet_message_pb.MessageRecallRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
function serialize_wechaty_puppet_MessageRecallResponse(arg) {
|
|
681
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageRecallResponse)) {
|
|
682
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageRecallResponse');
|
|
683
|
+
}
|
|
684
|
+
return Buffer.from(arg.serializeBinary());
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
function deserialize_wechaty_puppet_MessageRecallResponse(buffer_arg) {
|
|
688
|
+
return wechaty_puppet_message_pb.MessageRecallResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
function serialize_wechaty_puppet_MessageSendContactRequest(arg) {
|
|
692
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendContactRequest)) {
|
|
693
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendContactRequest');
|
|
694
|
+
}
|
|
695
|
+
return Buffer.from(arg.serializeBinary());
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
function deserialize_wechaty_puppet_MessageSendContactRequest(buffer_arg) {
|
|
699
|
+
return wechaty_puppet_message_pb.MessageSendContactRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
function serialize_wechaty_puppet_MessageSendContactResponse(arg) {
|
|
703
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendContactResponse)) {
|
|
704
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendContactResponse');
|
|
705
|
+
}
|
|
706
|
+
return Buffer.from(arg.serializeBinary());
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
function deserialize_wechaty_puppet_MessageSendContactResponse(buffer_arg) {
|
|
710
|
+
return wechaty_puppet_message_pb.MessageSendContactResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
function serialize_wechaty_puppet_MessageSendFileRequest(arg) {
|
|
714
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendFileRequest)) {
|
|
715
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendFileRequest');
|
|
716
|
+
}
|
|
717
|
+
return Buffer.from(arg.serializeBinary());
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
function deserialize_wechaty_puppet_MessageSendFileRequest(buffer_arg) {
|
|
721
|
+
return wechaty_puppet_message_pb.MessageSendFileRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
function serialize_wechaty_puppet_MessageSendFileResponse(arg) {
|
|
725
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendFileResponse)) {
|
|
726
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendFileResponse');
|
|
727
|
+
}
|
|
728
|
+
return Buffer.from(arg.serializeBinary());
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
function deserialize_wechaty_puppet_MessageSendFileResponse(buffer_arg) {
|
|
732
|
+
return wechaty_puppet_message_pb.MessageSendFileResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
function serialize_wechaty_puppet_MessageSendFileStreamRequest(arg) {
|
|
736
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest)) {
|
|
737
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendFileStreamRequest');
|
|
738
|
+
}
|
|
739
|
+
return Buffer.from(arg.serializeBinary());
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
function deserialize_wechaty_puppet_MessageSendFileStreamRequest(buffer_arg) {
|
|
743
|
+
return wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
function serialize_wechaty_puppet_MessageSendFileStreamResponse(arg) {
|
|
747
|
+
if (!(arg instanceof wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse)) {
|
|
748
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendFileStreamResponse');
|
|
749
|
+
}
|
|
750
|
+
return Buffer.from(arg.serializeBinary());
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
function deserialize_wechaty_puppet_MessageSendFileStreamResponse(buffer_arg) {
|
|
754
|
+
return wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
function serialize_wechaty_puppet_MessageSendLocationRequest(arg) {
|
|
758
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendLocationRequest)) {
|
|
759
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendLocationRequest');
|
|
760
|
+
}
|
|
761
|
+
return Buffer.from(arg.serializeBinary());
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
function deserialize_wechaty_puppet_MessageSendLocationRequest(buffer_arg) {
|
|
765
|
+
return wechaty_puppet_message_pb.MessageSendLocationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
function serialize_wechaty_puppet_MessageSendLocationResponse(arg) {
|
|
769
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendLocationResponse)) {
|
|
770
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendLocationResponse');
|
|
771
|
+
}
|
|
772
|
+
return Buffer.from(arg.serializeBinary());
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
function deserialize_wechaty_puppet_MessageSendLocationResponse(buffer_arg) {
|
|
776
|
+
return wechaty_puppet_message_pb.MessageSendLocationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
function serialize_wechaty_puppet_MessageSendMiniProgramRequest(arg) {
|
|
780
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendMiniProgramRequest)) {
|
|
781
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendMiniProgramRequest');
|
|
782
|
+
}
|
|
783
|
+
return Buffer.from(arg.serializeBinary());
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
function deserialize_wechaty_puppet_MessageSendMiniProgramRequest(buffer_arg) {
|
|
787
|
+
return wechaty_puppet_message_pb.MessageSendMiniProgramRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
function serialize_wechaty_puppet_MessageSendMiniProgramResponse(arg) {
|
|
791
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendMiniProgramResponse)) {
|
|
792
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendMiniProgramResponse');
|
|
793
|
+
}
|
|
794
|
+
return Buffer.from(arg.serializeBinary());
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
function deserialize_wechaty_puppet_MessageSendMiniProgramResponse(buffer_arg) {
|
|
798
|
+
return wechaty_puppet_message_pb.MessageSendMiniProgramResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
function serialize_wechaty_puppet_MessageSendTextRequest(arg) {
|
|
802
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendTextRequest)) {
|
|
803
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendTextRequest');
|
|
804
|
+
}
|
|
805
|
+
return Buffer.from(arg.serializeBinary());
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
function deserialize_wechaty_puppet_MessageSendTextRequest(buffer_arg) {
|
|
809
|
+
return wechaty_puppet_message_pb.MessageSendTextRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
function serialize_wechaty_puppet_MessageSendTextResponse(arg) {
|
|
813
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendTextResponse)) {
|
|
814
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendTextResponse');
|
|
815
|
+
}
|
|
816
|
+
return Buffer.from(arg.serializeBinary());
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
function deserialize_wechaty_puppet_MessageSendTextResponse(buffer_arg) {
|
|
820
|
+
return wechaty_puppet_message_pb.MessageSendTextResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
function serialize_wechaty_puppet_MessageSendUrlRequest(arg) {
|
|
824
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendUrlRequest)) {
|
|
825
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendUrlRequest');
|
|
826
|
+
}
|
|
827
|
+
return Buffer.from(arg.serializeBinary());
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
function deserialize_wechaty_puppet_MessageSendUrlRequest(buffer_arg) {
|
|
831
|
+
return wechaty_puppet_message_pb.MessageSendUrlRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
function serialize_wechaty_puppet_MessageSendUrlResponse(arg) {
|
|
835
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageSendUrlResponse)) {
|
|
836
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageSendUrlResponse');
|
|
837
|
+
}
|
|
838
|
+
return Buffer.from(arg.serializeBinary());
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
function deserialize_wechaty_puppet_MessageSendUrlResponse(buffer_arg) {
|
|
842
|
+
return wechaty_puppet_message_pb.MessageSendUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
function serialize_wechaty_puppet_MessageUrlRequest(arg) {
|
|
846
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageUrlRequest)) {
|
|
847
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageUrlRequest');
|
|
848
|
+
}
|
|
849
|
+
return Buffer.from(arg.serializeBinary());
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
function deserialize_wechaty_puppet_MessageUrlRequest(buffer_arg) {
|
|
853
|
+
return wechaty_puppet_message_pb.MessageUrlRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
function serialize_wechaty_puppet_MessageUrlResponse(arg) {
|
|
857
|
+
if (!(arg instanceof wechaty_puppet_message_pb.MessageUrlResponse)) {
|
|
858
|
+
throw new Error('Expected argument of type wechaty.puppet.MessageUrlResponse');
|
|
859
|
+
}
|
|
860
|
+
return Buffer.from(arg.serializeBinary());
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
function deserialize_wechaty_puppet_MessageUrlResponse(buffer_arg) {
|
|
864
|
+
return wechaty_puppet_message_pb.MessageUrlResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
function serialize_wechaty_puppet_RoomAddRequest(arg) {
|
|
868
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAddRequest)) {
|
|
869
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAddRequest');
|
|
870
|
+
}
|
|
871
|
+
return Buffer.from(arg.serializeBinary());
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
function deserialize_wechaty_puppet_RoomAddRequest(buffer_arg) {
|
|
875
|
+
return wechaty_puppet_room_pb.RoomAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
function serialize_wechaty_puppet_RoomAddResponse(arg) {
|
|
879
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAddResponse)) {
|
|
880
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAddResponse');
|
|
881
|
+
}
|
|
882
|
+
return Buffer.from(arg.serializeBinary());
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
function deserialize_wechaty_puppet_RoomAddResponse(buffer_arg) {
|
|
886
|
+
return wechaty_puppet_room_pb.RoomAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
function serialize_wechaty_puppet_RoomAnnounceRequest(arg) {
|
|
890
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAnnounceRequest)) {
|
|
891
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAnnounceRequest');
|
|
892
|
+
}
|
|
893
|
+
return Buffer.from(arg.serializeBinary());
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
function deserialize_wechaty_puppet_RoomAnnounceRequest(buffer_arg) {
|
|
897
|
+
return wechaty_puppet_room_pb.RoomAnnounceRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
function serialize_wechaty_puppet_RoomAnnounceResponse(arg) {
|
|
901
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAnnounceResponse)) {
|
|
902
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAnnounceResponse');
|
|
903
|
+
}
|
|
904
|
+
return Buffer.from(arg.serializeBinary());
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
function deserialize_wechaty_puppet_RoomAnnounceResponse(buffer_arg) {
|
|
908
|
+
return wechaty_puppet_room_pb.RoomAnnounceResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
function serialize_wechaty_puppet_RoomAvatarRequest(arg) {
|
|
912
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAvatarRequest)) {
|
|
913
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAvatarRequest');
|
|
914
|
+
}
|
|
915
|
+
return Buffer.from(arg.serializeBinary());
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
function deserialize_wechaty_puppet_RoomAvatarRequest(buffer_arg) {
|
|
919
|
+
return wechaty_puppet_room_pb.RoomAvatarRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
function serialize_wechaty_puppet_RoomAvatarResponse(arg) {
|
|
923
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomAvatarResponse)) {
|
|
924
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomAvatarResponse');
|
|
925
|
+
}
|
|
926
|
+
return Buffer.from(arg.serializeBinary());
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
function deserialize_wechaty_puppet_RoomAvatarResponse(buffer_arg) {
|
|
930
|
+
return wechaty_puppet_room_pb.RoomAvatarResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
function serialize_wechaty_puppet_RoomCreateRequest(arg) {
|
|
934
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomCreateRequest)) {
|
|
935
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomCreateRequest');
|
|
936
|
+
}
|
|
937
|
+
return Buffer.from(arg.serializeBinary());
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
function deserialize_wechaty_puppet_RoomCreateRequest(buffer_arg) {
|
|
941
|
+
return wechaty_puppet_room_pb.RoomCreateRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
function serialize_wechaty_puppet_RoomCreateResponse(arg) {
|
|
945
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomCreateResponse)) {
|
|
946
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomCreateResponse');
|
|
947
|
+
}
|
|
948
|
+
return Buffer.from(arg.serializeBinary());
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
function deserialize_wechaty_puppet_RoomCreateResponse(buffer_arg) {
|
|
952
|
+
return wechaty_puppet_room_pb.RoomCreateResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
953
|
+
}
|
|
954
|
+
|
|
955
|
+
function serialize_wechaty_puppet_RoomDelRequest(arg) {
|
|
956
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomDelRequest)) {
|
|
957
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomDelRequest');
|
|
958
|
+
}
|
|
959
|
+
return Buffer.from(arg.serializeBinary());
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
function deserialize_wechaty_puppet_RoomDelRequest(buffer_arg) {
|
|
963
|
+
return wechaty_puppet_room_pb.RoomDelRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
function serialize_wechaty_puppet_RoomDelResponse(arg) {
|
|
967
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomDelResponse)) {
|
|
968
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomDelResponse');
|
|
969
|
+
}
|
|
970
|
+
return Buffer.from(arg.serializeBinary());
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
function deserialize_wechaty_puppet_RoomDelResponse(buffer_arg) {
|
|
974
|
+
return wechaty_puppet_room_pb.RoomDelResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
function serialize_wechaty_puppet_RoomInvitationAcceptRequest(arg) {
|
|
978
|
+
if (!(arg instanceof wechaty_puppet_room$invitation_pb.RoomInvitationAcceptRequest)) {
|
|
979
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomInvitationAcceptRequest');
|
|
980
|
+
}
|
|
981
|
+
return Buffer.from(arg.serializeBinary());
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
function deserialize_wechaty_puppet_RoomInvitationAcceptRequest(buffer_arg) {
|
|
985
|
+
return wechaty_puppet_room$invitation_pb.RoomInvitationAcceptRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
function serialize_wechaty_puppet_RoomInvitationAcceptResponse(arg) {
|
|
989
|
+
if (!(arg instanceof wechaty_puppet_room$invitation_pb.RoomInvitationAcceptResponse)) {
|
|
990
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomInvitationAcceptResponse');
|
|
991
|
+
}
|
|
992
|
+
return Buffer.from(arg.serializeBinary());
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
function deserialize_wechaty_puppet_RoomInvitationAcceptResponse(buffer_arg) {
|
|
996
|
+
return wechaty_puppet_room$invitation_pb.RoomInvitationAcceptResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
function serialize_wechaty_puppet_RoomInvitationPayloadRequest(arg) {
|
|
1000
|
+
if (!(arg instanceof wechaty_puppet_room$invitation_pb.RoomInvitationPayloadRequest)) {
|
|
1001
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomInvitationPayloadRequest');
|
|
1002
|
+
}
|
|
1003
|
+
return Buffer.from(arg.serializeBinary());
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
function deserialize_wechaty_puppet_RoomInvitationPayloadRequest(buffer_arg) {
|
|
1007
|
+
return wechaty_puppet_room$invitation_pb.RoomInvitationPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
function serialize_wechaty_puppet_RoomInvitationPayloadResponse(arg) {
|
|
1011
|
+
if (!(arg instanceof wechaty_puppet_room$invitation_pb.RoomInvitationPayloadResponse)) {
|
|
1012
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomInvitationPayloadResponse');
|
|
1013
|
+
}
|
|
1014
|
+
return Buffer.from(arg.serializeBinary());
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
function deserialize_wechaty_puppet_RoomInvitationPayloadResponse(buffer_arg) {
|
|
1018
|
+
return wechaty_puppet_room$invitation_pb.RoomInvitationPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1019
|
+
}
|
|
1020
|
+
|
|
1021
|
+
function serialize_wechaty_puppet_RoomListRequest(arg) {
|
|
1022
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomListRequest)) {
|
|
1023
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomListRequest');
|
|
1024
|
+
}
|
|
1025
|
+
return Buffer.from(arg.serializeBinary());
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
function deserialize_wechaty_puppet_RoomListRequest(buffer_arg) {
|
|
1029
|
+
return wechaty_puppet_room_pb.RoomListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
function serialize_wechaty_puppet_RoomListResponse(arg) {
|
|
1033
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomListResponse)) {
|
|
1034
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomListResponse');
|
|
1035
|
+
}
|
|
1036
|
+
return Buffer.from(arg.serializeBinary());
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
function deserialize_wechaty_puppet_RoomListResponse(buffer_arg) {
|
|
1040
|
+
return wechaty_puppet_room_pb.RoomListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
function serialize_wechaty_puppet_RoomMemberListRequest(arg) {
|
|
1044
|
+
if (!(arg instanceof wechaty_puppet_room$member_pb.RoomMemberListRequest)) {
|
|
1045
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomMemberListRequest');
|
|
1046
|
+
}
|
|
1047
|
+
return Buffer.from(arg.serializeBinary());
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
function deserialize_wechaty_puppet_RoomMemberListRequest(buffer_arg) {
|
|
1051
|
+
return wechaty_puppet_room$member_pb.RoomMemberListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
function serialize_wechaty_puppet_RoomMemberListResponse(arg) {
|
|
1055
|
+
if (!(arg instanceof wechaty_puppet_room$member_pb.RoomMemberListResponse)) {
|
|
1056
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomMemberListResponse');
|
|
1057
|
+
}
|
|
1058
|
+
return Buffer.from(arg.serializeBinary());
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
function deserialize_wechaty_puppet_RoomMemberListResponse(buffer_arg) {
|
|
1062
|
+
return wechaty_puppet_room$member_pb.RoomMemberListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
function serialize_wechaty_puppet_RoomMemberPayloadRequest(arg) {
|
|
1066
|
+
if (!(arg instanceof wechaty_puppet_room$member_pb.RoomMemberPayloadRequest)) {
|
|
1067
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomMemberPayloadRequest');
|
|
1068
|
+
}
|
|
1069
|
+
return Buffer.from(arg.serializeBinary());
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
function deserialize_wechaty_puppet_RoomMemberPayloadRequest(buffer_arg) {
|
|
1073
|
+
return wechaty_puppet_room$member_pb.RoomMemberPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
function serialize_wechaty_puppet_RoomMemberPayloadResponse(arg) {
|
|
1077
|
+
if (!(arg instanceof wechaty_puppet_room$member_pb.RoomMemberPayloadResponse)) {
|
|
1078
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomMemberPayloadResponse');
|
|
1079
|
+
}
|
|
1080
|
+
return Buffer.from(arg.serializeBinary());
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
function deserialize_wechaty_puppet_RoomMemberPayloadResponse(buffer_arg) {
|
|
1084
|
+
return wechaty_puppet_room$member_pb.RoomMemberPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
function serialize_wechaty_puppet_RoomPayloadRequest(arg) {
|
|
1088
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomPayloadRequest)) {
|
|
1089
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomPayloadRequest');
|
|
1090
|
+
}
|
|
1091
|
+
return Buffer.from(arg.serializeBinary());
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
function deserialize_wechaty_puppet_RoomPayloadRequest(buffer_arg) {
|
|
1095
|
+
return wechaty_puppet_room_pb.RoomPayloadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
function serialize_wechaty_puppet_RoomPayloadResponse(arg) {
|
|
1099
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomPayloadResponse)) {
|
|
1100
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomPayloadResponse');
|
|
1101
|
+
}
|
|
1102
|
+
return Buffer.from(arg.serializeBinary());
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
function deserialize_wechaty_puppet_RoomPayloadResponse(buffer_arg) {
|
|
1106
|
+
return wechaty_puppet_room_pb.RoomPayloadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
function serialize_wechaty_puppet_RoomQRCodeRequest(arg) {
|
|
1110
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomQRCodeRequest)) {
|
|
1111
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomQRCodeRequest');
|
|
1112
|
+
}
|
|
1113
|
+
return Buffer.from(arg.serializeBinary());
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
function deserialize_wechaty_puppet_RoomQRCodeRequest(buffer_arg) {
|
|
1117
|
+
return wechaty_puppet_room_pb.RoomQRCodeRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
function serialize_wechaty_puppet_RoomQRCodeResponse(arg) {
|
|
1121
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomQRCodeResponse)) {
|
|
1122
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomQRCodeResponse');
|
|
1123
|
+
}
|
|
1124
|
+
return Buffer.from(arg.serializeBinary());
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
function deserialize_wechaty_puppet_RoomQRCodeResponse(buffer_arg) {
|
|
1128
|
+
return wechaty_puppet_room_pb.RoomQRCodeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
function serialize_wechaty_puppet_RoomQuitRequest(arg) {
|
|
1132
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomQuitRequest)) {
|
|
1133
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomQuitRequest');
|
|
1134
|
+
}
|
|
1135
|
+
return Buffer.from(arg.serializeBinary());
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
function deserialize_wechaty_puppet_RoomQuitRequest(buffer_arg) {
|
|
1139
|
+
return wechaty_puppet_room_pb.RoomQuitRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
function serialize_wechaty_puppet_RoomQuitResponse(arg) {
|
|
1143
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomQuitResponse)) {
|
|
1144
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomQuitResponse');
|
|
1145
|
+
}
|
|
1146
|
+
return Buffer.from(arg.serializeBinary());
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
function deserialize_wechaty_puppet_RoomQuitResponse(buffer_arg) {
|
|
1150
|
+
return wechaty_puppet_room_pb.RoomQuitResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
function serialize_wechaty_puppet_RoomTopicRequest(arg) {
|
|
1154
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomTopicRequest)) {
|
|
1155
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomTopicRequest');
|
|
1156
|
+
}
|
|
1157
|
+
return Buffer.from(arg.serializeBinary());
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
function deserialize_wechaty_puppet_RoomTopicRequest(buffer_arg) {
|
|
1161
|
+
return wechaty_puppet_room_pb.RoomTopicRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
function serialize_wechaty_puppet_RoomTopicResponse(arg) {
|
|
1165
|
+
if (!(arg instanceof wechaty_puppet_room_pb.RoomTopicResponse)) {
|
|
1166
|
+
throw new Error('Expected argument of type wechaty.puppet.RoomTopicResponse');
|
|
1167
|
+
}
|
|
1168
|
+
return Buffer.from(arg.serializeBinary());
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
function deserialize_wechaty_puppet_RoomTopicResponse(buffer_arg) {
|
|
1172
|
+
return wechaty_puppet_room_pb.RoomTopicResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
function serialize_wechaty_puppet_StartRequest(arg) {
|
|
1176
|
+
if (!(arg instanceof wechaty_puppet_base_pb.StartRequest)) {
|
|
1177
|
+
throw new Error('Expected argument of type wechaty.puppet.StartRequest');
|
|
1178
|
+
}
|
|
1179
|
+
return Buffer.from(arg.serializeBinary());
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
function deserialize_wechaty_puppet_StartRequest(buffer_arg) {
|
|
1183
|
+
return wechaty_puppet_base_pb.StartRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
function serialize_wechaty_puppet_StartResponse(arg) {
|
|
1187
|
+
if (!(arg instanceof wechaty_puppet_base_pb.StartResponse)) {
|
|
1188
|
+
throw new Error('Expected argument of type wechaty.puppet.StartResponse');
|
|
1189
|
+
}
|
|
1190
|
+
return Buffer.from(arg.serializeBinary());
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
function deserialize_wechaty_puppet_StartResponse(buffer_arg) {
|
|
1194
|
+
return wechaty_puppet_base_pb.StartResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
function serialize_wechaty_puppet_StopRequest(arg) {
|
|
1198
|
+
if (!(arg instanceof wechaty_puppet_base_pb.StopRequest)) {
|
|
1199
|
+
throw new Error('Expected argument of type wechaty.puppet.StopRequest');
|
|
1200
|
+
}
|
|
1201
|
+
return Buffer.from(arg.serializeBinary());
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
function deserialize_wechaty_puppet_StopRequest(buffer_arg) {
|
|
1205
|
+
return wechaty_puppet_base_pb.StopRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
function serialize_wechaty_puppet_StopResponse(arg) {
|
|
1209
|
+
if (!(arg instanceof wechaty_puppet_base_pb.StopResponse)) {
|
|
1210
|
+
throw new Error('Expected argument of type wechaty.puppet.StopResponse');
|
|
1211
|
+
}
|
|
1212
|
+
return Buffer.from(arg.serializeBinary());
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
function deserialize_wechaty_puppet_StopResponse(buffer_arg) {
|
|
1216
|
+
return wechaty_puppet_base_pb.StopResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
function serialize_wechaty_puppet_TagContactAddRequest(arg) {
|
|
1220
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactAddRequest)) {
|
|
1221
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactAddRequest');
|
|
1222
|
+
}
|
|
1223
|
+
return Buffer.from(arg.serializeBinary());
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
function deserialize_wechaty_puppet_TagContactAddRequest(buffer_arg) {
|
|
1227
|
+
return wechaty_puppet_tag_pb.TagContactAddRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
function serialize_wechaty_puppet_TagContactAddResponse(arg) {
|
|
1231
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactAddResponse)) {
|
|
1232
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactAddResponse');
|
|
1233
|
+
}
|
|
1234
|
+
return Buffer.from(arg.serializeBinary());
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
function deserialize_wechaty_puppet_TagContactAddResponse(buffer_arg) {
|
|
1238
|
+
return wechaty_puppet_tag_pb.TagContactAddResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
function serialize_wechaty_puppet_TagContactDeleteRequest(arg) {
|
|
1242
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactDeleteRequest)) {
|
|
1243
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactDeleteRequest');
|
|
1244
|
+
}
|
|
1245
|
+
return Buffer.from(arg.serializeBinary());
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
function deserialize_wechaty_puppet_TagContactDeleteRequest(buffer_arg) {
|
|
1249
|
+
return wechaty_puppet_tag_pb.TagContactDeleteRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
function serialize_wechaty_puppet_TagContactDeleteResponse(arg) {
|
|
1253
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactDeleteResponse)) {
|
|
1254
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactDeleteResponse');
|
|
1255
|
+
}
|
|
1256
|
+
return Buffer.from(arg.serializeBinary());
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
function deserialize_wechaty_puppet_TagContactDeleteResponse(buffer_arg) {
|
|
1260
|
+
return wechaty_puppet_tag_pb.TagContactDeleteResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
function serialize_wechaty_puppet_TagContactListRequest(arg) {
|
|
1264
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactListRequest)) {
|
|
1265
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactListRequest');
|
|
1266
|
+
}
|
|
1267
|
+
return Buffer.from(arg.serializeBinary());
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
function deserialize_wechaty_puppet_TagContactListRequest(buffer_arg) {
|
|
1271
|
+
return wechaty_puppet_tag_pb.TagContactListRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
function serialize_wechaty_puppet_TagContactListResponse(arg) {
|
|
1275
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactListResponse)) {
|
|
1276
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactListResponse');
|
|
1277
|
+
}
|
|
1278
|
+
return Buffer.from(arg.serializeBinary());
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
function deserialize_wechaty_puppet_TagContactListResponse(buffer_arg) {
|
|
1282
|
+
return wechaty_puppet_tag_pb.TagContactListResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
function serialize_wechaty_puppet_TagContactRemoveRequest(arg) {
|
|
1286
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactRemoveRequest)) {
|
|
1287
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactRemoveRequest');
|
|
1288
|
+
}
|
|
1289
|
+
return Buffer.from(arg.serializeBinary());
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
function deserialize_wechaty_puppet_TagContactRemoveRequest(buffer_arg) {
|
|
1293
|
+
return wechaty_puppet_tag_pb.TagContactRemoveRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
function serialize_wechaty_puppet_TagContactRemoveResponse(arg) {
|
|
1297
|
+
if (!(arg instanceof wechaty_puppet_tag_pb.TagContactRemoveResponse)) {
|
|
1298
|
+
throw new Error('Expected argument of type wechaty.puppet.TagContactRemoveResponse');
|
|
1299
|
+
}
|
|
1300
|
+
return Buffer.from(arg.serializeBinary());
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
function deserialize_wechaty_puppet_TagContactRemoveResponse(buffer_arg) {
|
|
1304
|
+
return wechaty_puppet_tag_pb.TagContactRemoveResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
function serialize_wechaty_puppet_UploadRequest(arg) {
|
|
1308
|
+
if (!(arg instanceof wechaty_puppet_download$upload_pb.UploadRequest)) {
|
|
1309
|
+
throw new Error('Expected argument of type wechaty.puppet.UploadRequest');
|
|
1310
|
+
}
|
|
1311
|
+
return Buffer.from(arg.serializeBinary());
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
function deserialize_wechaty_puppet_UploadRequest(buffer_arg) {
|
|
1315
|
+
return wechaty_puppet_download$upload_pb.UploadRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
function serialize_wechaty_puppet_UploadResponse(arg) {
|
|
1319
|
+
if (!(arg instanceof wechaty_puppet_download$upload_pb.UploadResponse)) {
|
|
1320
|
+
throw new Error('Expected argument of type wechaty.puppet.UploadResponse');
|
|
1321
|
+
}
|
|
1322
|
+
return Buffer.from(arg.serializeBinary());
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
function deserialize_wechaty_puppet_UploadResponse(buffer_arg) {
|
|
1326
|
+
return wechaty_puppet_download$upload_pb.UploadResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
function serialize_wechaty_puppet_VersionRequest(arg) {
|
|
1330
|
+
if (!(arg instanceof wechaty_puppet_base_pb.VersionRequest)) {
|
|
1331
|
+
throw new Error('Expected argument of type wechaty.puppet.VersionRequest');
|
|
1332
|
+
}
|
|
1333
|
+
return Buffer.from(arg.serializeBinary());
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
function deserialize_wechaty_puppet_VersionRequest(buffer_arg) {
|
|
1337
|
+
return wechaty_puppet_base_pb.VersionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
function serialize_wechaty_puppet_VersionResponse(arg) {
|
|
1341
|
+
if (!(arg instanceof wechaty_puppet_base_pb.VersionResponse)) {
|
|
1342
|
+
throw new Error('Expected argument of type wechaty.puppet.VersionResponse');
|
|
1343
|
+
}
|
|
1344
|
+
return Buffer.from(arg.serializeBinary());
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
function deserialize_wechaty_puppet_VersionResponse(buffer_arg) {
|
|
1348
|
+
return wechaty_puppet_base_pb.VersionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
var PuppetService = exports.PuppetService = {
|
|
1353
|
+
// *
|
|
1354
|
+
// Deprecated: will be removed after Dec 31, 2022
|
|
1355
|
+
messageFileStream: {
|
|
1356
|
+
path: '/wechaty.Puppet/MessageFileStream',
|
|
1357
|
+
requestStream: false,
|
|
1358
|
+
responseStream: true,
|
|
1359
|
+
requestType: wechaty_deprecated_file$box_pb.MessageFileStreamRequest,
|
|
1360
|
+
responseType: wechaty_deprecated_file$box_pb.MessageFileStreamResponse,
|
|
1361
|
+
requestSerialize: serialize_wechaty_puppet_MessageFileStreamRequest,
|
|
1362
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageFileStreamRequest,
|
|
1363
|
+
responseSerialize: serialize_wechaty_puppet_MessageFileStreamResponse,
|
|
1364
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageFileStreamResponse,
|
|
1365
|
+
},
|
|
1366
|
+
messageImageStream: {
|
|
1367
|
+
path: '/wechaty.Puppet/MessageImageStream',
|
|
1368
|
+
requestStream: false,
|
|
1369
|
+
responseStream: true,
|
|
1370
|
+
requestType: wechaty_deprecated_file$box_pb.MessageImageStreamRequest,
|
|
1371
|
+
responseType: wechaty_deprecated_file$box_pb.MessageImageStreamResponse,
|
|
1372
|
+
requestSerialize: serialize_wechaty_puppet_MessageImageStreamRequest,
|
|
1373
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageImageStreamRequest,
|
|
1374
|
+
responseSerialize: serialize_wechaty_puppet_MessageImageStreamResponse,
|
|
1375
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageImageStreamResponse,
|
|
1376
|
+
},
|
|
1377
|
+
messageSendFileStream: {
|
|
1378
|
+
path: '/wechaty.Puppet/MessageSendFileStream',
|
|
1379
|
+
requestStream: true,
|
|
1380
|
+
responseStream: false,
|
|
1381
|
+
requestType: wechaty_deprecated_file$box_pb.MessageSendFileStreamRequest,
|
|
1382
|
+
responseType: wechaty_deprecated_file$box_pb.MessageSendFileStreamResponse,
|
|
1383
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendFileStreamRequest,
|
|
1384
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendFileStreamRequest,
|
|
1385
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendFileStreamResponse,
|
|
1386
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendFileStreamResponse,
|
|
1387
|
+
},
|
|
1388
|
+
// *
|
|
1389
|
+
//
|
|
1390
|
+
// Base
|
|
1391
|
+
//
|
|
1392
|
+
start: {
|
|
1393
|
+
path: '/wechaty.Puppet/Start',
|
|
1394
|
+
requestStream: false,
|
|
1395
|
+
responseStream: false,
|
|
1396
|
+
requestType: wechaty_puppet_base_pb.StartRequest,
|
|
1397
|
+
responseType: wechaty_puppet_base_pb.StartResponse,
|
|
1398
|
+
requestSerialize: serialize_wechaty_puppet_StartRequest,
|
|
1399
|
+
requestDeserialize: deserialize_wechaty_puppet_StartRequest,
|
|
1400
|
+
responseSerialize: serialize_wechaty_puppet_StartResponse,
|
|
1401
|
+
responseDeserialize: deserialize_wechaty_puppet_StartResponse,
|
|
1402
|
+
},
|
|
1403
|
+
stop: {
|
|
1404
|
+
path: '/wechaty.Puppet/Stop',
|
|
1405
|
+
requestStream: false,
|
|
1406
|
+
responseStream: false,
|
|
1407
|
+
requestType: wechaty_puppet_base_pb.StopRequest,
|
|
1408
|
+
responseType: wechaty_puppet_base_pb.StopResponse,
|
|
1409
|
+
requestSerialize: serialize_wechaty_puppet_StopRequest,
|
|
1410
|
+
requestDeserialize: deserialize_wechaty_puppet_StopRequest,
|
|
1411
|
+
responseSerialize: serialize_wechaty_puppet_StopResponse,
|
|
1412
|
+
responseDeserialize: deserialize_wechaty_puppet_StopResponse,
|
|
1413
|
+
},
|
|
1414
|
+
logout: {
|
|
1415
|
+
path: '/wechaty.Puppet/Logout',
|
|
1416
|
+
requestStream: false,
|
|
1417
|
+
responseStream: false,
|
|
1418
|
+
requestType: wechaty_puppet_base_pb.LogoutRequest,
|
|
1419
|
+
responseType: wechaty_puppet_base_pb.LogoutResponse,
|
|
1420
|
+
requestSerialize: serialize_wechaty_puppet_LogoutRequest,
|
|
1421
|
+
requestDeserialize: deserialize_wechaty_puppet_LogoutRequest,
|
|
1422
|
+
responseSerialize: serialize_wechaty_puppet_LogoutResponse,
|
|
1423
|
+
responseDeserialize: deserialize_wechaty_puppet_LogoutResponse,
|
|
1424
|
+
},
|
|
1425
|
+
ding: {
|
|
1426
|
+
path: '/wechaty.Puppet/Ding',
|
|
1427
|
+
requestStream: false,
|
|
1428
|
+
responseStream: false,
|
|
1429
|
+
requestType: wechaty_puppet_base_pb.DingRequest,
|
|
1430
|
+
responseType: wechaty_puppet_base_pb.DingResponse,
|
|
1431
|
+
requestSerialize: serialize_wechaty_puppet_DingRequest,
|
|
1432
|
+
requestDeserialize: deserialize_wechaty_puppet_DingRequest,
|
|
1433
|
+
responseSerialize: serialize_wechaty_puppet_DingResponse,
|
|
1434
|
+
responseDeserialize: deserialize_wechaty_puppet_DingResponse,
|
|
1435
|
+
},
|
|
1436
|
+
version: {
|
|
1437
|
+
path: '/wechaty.Puppet/Version',
|
|
1438
|
+
requestStream: false,
|
|
1439
|
+
responseStream: false,
|
|
1440
|
+
requestType: wechaty_puppet_base_pb.VersionRequest,
|
|
1441
|
+
responseType: wechaty_puppet_base_pb.VersionResponse,
|
|
1442
|
+
requestSerialize: serialize_wechaty_puppet_VersionRequest,
|
|
1443
|
+
requestDeserialize: deserialize_wechaty_puppet_VersionRequest,
|
|
1444
|
+
responseSerialize: serialize_wechaty_puppet_VersionResponse,
|
|
1445
|
+
responseDeserialize: deserialize_wechaty_puppet_VersionResponse,
|
|
1446
|
+
},
|
|
1447
|
+
// *
|
|
1448
|
+
//
|
|
1449
|
+
// Event - Server Stream
|
|
1450
|
+
//
|
|
1451
|
+
event: {
|
|
1452
|
+
path: '/wechaty.Puppet/Event',
|
|
1453
|
+
requestStream: false,
|
|
1454
|
+
responseStream: true,
|
|
1455
|
+
requestType: wechaty_puppet_event_pb.EventRequest,
|
|
1456
|
+
responseType: wechaty_puppet_event_pb.EventResponse,
|
|
1457
|
+
requestSerialize: serialize_wechaty_puppet_EventRequest,
|
|
1458
|
+
requestDeserialize: deserialize_wechaty_puppet_EventRequest,
|
|
1459
|
+
responseSerialize: serialize_wechaty_puppet_EventResponse,
|
|
1460
|
+
responseDeserialize: deserialize_wechaty_puppet_EventResponse,
|
|
1461
|
+
},
|
|
1462
|
+
dirtyPayload: {
|
|
1463
|
+
path: '/wechaty.Puppet/DirtyPayload',
|
|
1464
|
+
requestStream: false,
|
|
1465
|
+
responseStream: false,
|
|
1466
|
+
requestType: wechaty_puppet_base_pb.DirtyPayloadRequest,
|
|
1467
|
+
responseType: wechaty_puppet_base_pb.DirtyPayloadResponse,
|
|
1468
|
+
requestSerialize: serialize_wechaty_puppet_DirtyPayloadRequest,
|
|
1469
|
+
requestDeserialize: deserialize_wechaty_puppet_DirtyPayloadRequest,
|
|
1470
|
+
responseSerialize: serialize_wechaty_puppet_DirtyPayloadResponse,
|
|
1471
|
+
responseDeserialize: deserialize_wechaty_puppet_DirtyPayloadResponse,
|
|
1472
|
+
},
|
|
1473
|
+
// *
|
|
1474
|
+
//
|
|
1475
|
+
// Contact Self
|
|
1476
|
+
//
|
|
1477
|
+
contactSelfQRCode: {
|
|
1478
|
+
path: '/wechaty.Puppet/ContactSelfQRCode',
|
|
1479
|
+
requestStream: false,
|
|
1480
|
+
responseStream: false,
|
|
1481
|
+
requestType: wechaty_puppet_contact_pb.ContactSelfQRCodeRequest,
|
|
1482
|
+
responseType: wechaty_puppet_contact_pb.ContactSelfQRCodeResponse,
|
|
1483
|
+
requestSerialize: serialize_wechaty_puppet_ContactSelfQRCodeRequest,
|
|
1484
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactSelfQRCodeRequest,
|
|
1485
|
+
responseSerialize: serialize_wechaty_puppet_ContactSelfQRCodeResponse,
|
|
1486
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactSelfQRCodeResponse,
|
|
1487
|
+
},
|
|
1488
|
+
contactSelfName: {
|
|
1489
|
+
path: '/wechaty.Puppet/ContactSelfName',
|
|
1490
|
+
requestStream: false,
|
|
1491
|
+
responseStream: false,
|
|
1492
|
+
requestType: wechaty_puppet_contact_pb.ContactSelfNameRequest,
|
|
1493
|
+
responseType: wechaty_puppet_contact_pb.ContactSelfNameResponse,
|
|
1494
|
+
requestSerialize: serialize_wechaty_puppet_ContactSelfNameRequest,
|
|
1495
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactSelfNameRequest,
|
|
1496
|
+
responseSerialize: serialize_wechaty_puppet_ContactSelfNameResponse,
|
|
1497
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactSelfNameResponse,
|
|
1498
|
+
},
|
|
1499
|
+
contactSelfSignature: {
|
|
1500
|
+
path: '/wechaty.Puppet/ContactSelfSignature',
|
|
1501
|
+
requestStream: false,
|
|
1502
|
+
responseStream: false,
|
|
1503
|
+
requestType: wechaty_puppet_contact_pb.ContactSelfSignatureRequest,
|
|
1504
|
+
responseType: wechaty_puppet_contact_pb.ContactSelfSignatureResponse,
|
|
1505
|
+
requestSerialize: serialize_wechaty_puppet_ContactSelfSignatureRequest,
|
|
1506
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactSelfSignatureRequest,
|
|
1507
|
+
responseSerialize: serialize_wechaty_puppet_ContactSelfSignatureResponse,
|
|
1508
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactSelfSignatureResponse,
|
|
1509
|
+
},
|
|
1510
|
+
// *
|
|
1511
|
+
//
|
|
1512
|
+
// Contact
|
|
1513
|
+
//
|
|
1514
|
+
contactPayload: {
|
|
1515
|
+
path: '/wechaty.Puppet/ContactPayload',
|
|
1516
|
+
requestStream: false,
|
|
1517
|
+
responseStream: false,
|
|
1518
|
+
requestType: wechaty_puppet_contact_pb.ContactPayloadRequest,
|
|
1519
|
+
responseType: wechaty_puppet_contact_pb.ContactPayloadResponse,
|
|
1520
|
+
requestSerialize: serialize_wechaty_puppet_ContactPayloadRequest,
|
|
1521
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactPayloadRequest,
|
|
1522
|
+
responseSerialize: serialize_wechaty_puppet_ContactPayloadResponse,
|
|
1523
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactPayloadResponse,
|
|
1524
|
+
},
|
|
1525
|
+
contactAlias: {
|
|
1526
|
+
path: '/wechaty.Puppet/ContactAlias',
|
|
1527
|
+
requestStream: false,
|
|
1528
|
+
responseStream: false,
|
|
1529
|
+
requestType: wechaty_puppet_contact_pb.ContactAliasRequest,
|
|
1530
|
+
responseType: wechaty_puppet_contact_pb.ContactAliasResponse,
|
|
1531
|
+
requestSerialize: serialize_wechaty_puppet_ContactAliasRequest,
|
|
1532
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactAliasRequest,
|
|
1533
|
+
responseSerialize: serialize_wechaty_puppet_ContactAliasResponse,
|
|
1534
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactAliasResponse,
|
|
1535
|
+
},
|
|
1536
|
+
contactAvatar: {
|
|
1537
|
+
path: '/wechaty.Puppet/ContactAvatar',
|
|
1538
|
+
requestStream: false,
|
|
1539
|
+
responseStream: false,
|
|
1540
|
+
requestType: wechaty_puppet_contact_pb.ContactAvatarRequest,
|
|
1541
|
+
responseType: wechaty_puppet_contact_pb.ContactAvatarResponse,
|
|
1542
|
+
requestSerialize: serialize_wechaty_puppet_ContactAvatarRequest,
|
|
1543
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactAvatarRequest,
|
|
1544
|
+
responseSerialize: serialize_wechaty_puppet_ContactAvatarResponse,
|
|
1545
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactAvatarResponse,
|
|
1546
|
+
},
|
|
1547
|
+
contactPhone: {
|
|
1548
|
+
path: '/wechaty.Puppet/ContactPhone',
|
|
1549
|
+
requestStream: false,
|
|
1550
|
+
responseStream: false,
|
|
1551
|
+
requestType: wechaty_puppet_contact_pb.ContactPhoneRequest,
|
|
1552
|
+
responseType: wechaty_puppet_contact_pb.ContactPhoneResponse,
|
|
1553
|
+
requestSerialize: serialize_wechaty_puppet_ContactPhoneRequest,
|
|
1554
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactPhoneRequest,
|
|
1555
|
+
responseSerialize: serialize_wechaty_puppet_ContactPhoneResponse,
|
|
1556
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactPhoneResponse,
|
|
1557
|
+
},
|
|
1558
|
+
contactCorporationRemark: {
|
|
1559
|
+
path: '/wechaty.Puppet/ContactCorporationRemark',
|
|
1560
|
+
requestStream: false,
|
|
1561
|
+
responseStream: false,
|
|
1562
|
+
requestType: wechaty_puppet_contact_pb.ContactCorporationRemarkRequest,
|
|
1563
|
+
responseType: wechaty_puppet_contact_pb.ContactCorporationRemarkResponse,
|
|
1564
|
+
requestSerialize: serialize_wechaty_puppet_ContactCorporationRemarkRequest,
|
|
1565
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactCorporationRemarkRequest,
|
|
1566
|
+
responseSerialize: serialize_wechaty_puppet_ContactCorporationRemarkResponse,
|
|
1567
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactCorporationRemarkResponse,
|
|
1568
|
+
},
|
|
1569
|
+
contactDescription: {
|
|
1570
|
+
path: '/wechaty.Puppet/ContactDescription',
|
|
1571
|
+
requestStream: false,
|
|
1572
|
+
responseStream: false,
|
|
1573
|
+
requestType: wechaty_puppet_contact_pb.ContactDescriptionRequest,
|
|
1574
|
+
responseType: wechaty_puppet_contact_pb.ContactDescriptionResponse,
|
|
1575
|
+
requestSerialize: serialize_wechaty_puppet_ContactDescriptionRequest,
|
|
1576
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactDescriptionRequest,
|
|
1577
|
+
responseSerialize: serialize_wechaty_puppet_ContactDescriptionResponse,
|
|
1578
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactDescriptionResponse,
|
|
1579
|
+
},
|
|
1580
|
+
// *
|
|
1581
|
+
// Huan(202002): consider changing response to a stream in the future for better performance
|
|
1582
|
+
contactList: {
|
|
1583
|
+
path: '/wechaty.Puppet/ContactList',
|
|
1584
|
+
requestStream: false,
|
|
1585
|
+
responseStream: false,
|
|
1586
|
+
requestType: wechaty_puppet_contact_pb.ContactListRequest,
|
|
1587
|
+
responseType: wechaty_puppet_contact_pb.ContactListResponse,
|
|
1588
|
+
requestSerialize: serialize_wechaty_puppet_ContactListRequest,
|
|
1589
|
+
requestDeserialize: deserialize_wechaty_puppet_ContactListRequest,
|
|
1590
|
+
responseSerialize: serialize_wechaty_puppet_ContactListResponse,
|
|
1591
|
+
responseDeserialize: deserialize_wechaty_puppet_ContactListResponse,
|
|
1592
|
+
},
|
|
1593
|
+
// *
|
|
1594
|
+
//
|
|
1595
|
+
// Friendship
|
|
1596
|
+
//
|
|
1597
|
+
friendshipPayload: {
|
|
1598
|
+
path: '/wechaty.Puppet/FriendshipPayload',
|
|
1599
|
+
requestStream: false,
|
|
1600
|
+
responseStream: false,
|
|
1601
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipPayloadRequest,
|
|
1602
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipPayloadResponse,
|
|
1603
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipPayloadRequest,
|
|
1604
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipPayloadRequest,
|
|
1605
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipPayloadResponse,
|
|
1606
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipPayloadResponse,
|
|
1607
|
+
},
|
|
1608
|
+
friendshipSearchPhone: {
|
|
1609
|
+
path: '/wechaty.Puppet/FriendshipSearchPhone',
|
|
1610
|
+
requestStream: false,
|
|
1611
|
+
responseStream: false,
|
|
1612
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipSearchPhoneRequest,
|
|
1613
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipSearchPhoneResponse,
|
|
1614
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipSearchPhoneRequest,
|
|
1615
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipSearchPhoneRequest,
|
|
1616
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipSearchPhoneResponse,
|
|
1617
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipSearchPhoneResponse,
|
|
1618
|
+
},
|
|
1619
|
+
// *
|
|
1620
|
+
// Huan(202203): https://github.com/wechaty/puppet/issues/181
|
|
1621
|
+
// @deprecated use FriendshipSearchHandle instead, will be removed in v3.0
|
|
1622
|
+
friendshipSearchWeixin: {
|
|
1623
|
+
path: '/wechaty.Puppet/FriendshipSearchWeixin',
|
|
1624
|
+
requestStream: false,
|
|
1625
|
+
responseStream: false,
|
|
1626
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipSearchHandleRequest,
|
|
1627
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipSearchHandleResponse,
|
|
1628
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipSearchHandleRequest,
|
|
1629
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipSearchHandleRequest,
|
|
1630
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipSearchHandleResponse,
|
|
1631
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipSearchHandleResponse,
|
|
1632
|
+
},
|
|
1633
|
+
friendshipSearchHandle: {
|
|
1634
|
+
path: '/wechaty.Puppet/FriendshipSearchHandle',
|
|
1635
|
+
requestStream: false,
|
|
1636
|
+
responseStream: false,
|
|
1637
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipSearchHandleRequest,
|
|
1638
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipSearchHandleResponse,
|
|
1639
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipSearchHandleRequest,
|
|
1640
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipSearchHandleRequest,
|
|
1641
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipSearchHandleResponse,
|
|
1642
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipSearchHandleResponse,
|
|
1643
|
+
},
|
|
1644
|
+
friendshipAdd: {
|
|
1645
|
+
path: '/wechaty.Puppet/FriendshipAdd',
|
|
1646
|
+
requestStream: false,
|
|
1647
|
+
responseStream: false,
|
|
1648
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipAddRequest,
|
|
1649
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipAddResponse,
|
|
1650
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipAddRequest,
|
|
1651
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipAddRequest,
|
|
1652
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipAddResponse,
|
|
1653
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipAddResponse,
|
|
1654
|
+
},
|
|
1655
|
+
friendshipAccept: {
|
|
1656
|
+
path: '/wechaty.Puppet/FriendshipAccept',
|
|
1657
|
+
requestStream: false,
|
|
1658
|
+
responseStream: false,
|
|
1659
|
+
requestType: wechaty_puppet_friendship_pb.FriendshipAcceptRequest,
|
|
1660
|
+
responseType: wechaty_puppet_friendship_pb.FriendshipAcceptResponse,
|
|
1661
|
+
requestSerialize: serialize_wechaty_puppet_FriendshipAcceptRequest,
|
|
1662
|
+
requestDeserialize: deserialize_wechaty_puppet_FriendshipAcceptRequest,
|
|
1663
|
+
responseSerialize: serialize_wechaty_puppet_FriendshipAcceptResponse,
|
|
1664
|
+
responseDeserialize: deserialize_wechaty_puppet_FriendshipAcceptResponse,
|
|
1665
|
+
},
|
|
1666
|
+
// *
|
|
1667
|
+
//
|
|
1668
|
+
// Message
|
|
1669
|
+
//
|
|
1670
|
+
//
|
|
1671
|
+
messageFile: {
|
|
1672
|
+
path: '/wechaty.Puppet/MessageFile',
|
|
1673
|
+
requestStream: false,
|
|
1674
|
+
responseStream: false,
|
|
1675
|
+
requestType: wechaty_puppet_message_pb.MessageFileRequest,
|
|
1676
|
+
responseType: wechaty_puppet_message_pb.MessageFileResponse,
|
|
1677
|
+
requestSerialize: serialize_wechaty_puppet_MessageFileRequest,
|
|
1678
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageFileRequest,
|
|
1679
|
+
responseSerialize: serialize_wechaty_puppet_MessageFileResponse,
|
|
1680
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageFileResponse,
|
|
1681
|
+
},
|
|
1682
|
+
messageImage: {
|
|
1683
|
+
path: '/wechaty.Puppet/MessageImage',
|
|
1684
|
+
requestStream: false,
|
|
1685
|
+
responseStream: false,
|
|
1686
|
+
requestType: wechaty_puppet_message_pb.MessageImageRequest,
|
|
1687
|
+
responseType: wechaty_puppet_message_pb.MessageImageResponse,
|
|
1688
|
+
requestSerialize: serialize_wechaty_puppet_MessageImageRequest,
|
|
1689
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageImageRequest,
|
|
1690
|
+
responseSerialize: serialize_wechaty_puppet_MessageImageResponse,
|
|
1691
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageImageResponse,
|
|
1692
|
+
},
|
|
1693
|
+
messageSendFile: {
|
|
1694
|
+
path: '/wechaty.Puppet/MessageSendFile',
|
|
1695
|
+
requestStream: false,
|
|
1696
|
+
responseStream: false,
|
|
1697
|
+
requestType: wechaty_puppet_message_pb.MessageSendFileRequest,
|
|
1698
|
+
responseType: wechaty_puppet_message_pb.MessageSendFileResponse,
|
|
1699
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendFileRequest,
|
|
1700
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendFileRequest,
|
|
1701
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendFileResponse,
|
|
1702
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendFileResponse,
|
|
1703
|
+
},
|
|
1704
|
+
messagePayload: {
|
|
1705
|
+
path: '/wechaty.Puppet/MessagePayload',
|
|
1706
|
+
requestStream: false,
|
|
1707
|
+
responseStream: false,
|
|
1708
|
+
requestType: wechaty_puppet_message_pb.MessagePayloadRequest,
|
|
1709
|
+
responseType: wechaty_puppet_message_pb.MessagePayloadResponse,
|
|
1710
|
+
requestSerialize: serialize_wechaty_puppet_MessagePayloadRequest,
|
|
1711
|
+
requestDeserialize: deserialize_wechaty_puppet_MessagePayloadRequest,
|
|
1712
|
+
responseSerialize: serialize_wechaty_puppet_MessagePayloadResponse,
|
|
1713
|
+
responseDeserialize: deserialize_wechaty_puppet_MessagePayloadResponse,
|
|
1714
|
+
},
|
|
1715
|
+
messageContact: {
|
|
1716
|
+
path: '/wechaty.Puppet/MessageContact',
|
|
1717
|
+
requestStream: false,
|
|
1718
|
+
responseStream: false,
|
|
1719
|
+
requestType: wechaty_puppet_message_pb.MessageContactRequest,
|
|
1720
|
+
responseType: wechaty_puppet_message_pb.MessageContactResponse,
|
|
1721
|
+
requestSerialize: serialize_wechaty_puppet_MessageContactRequest,
|
|
1722
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageContactRequest,
|
|
1723
|
+
responseSerialize: serialize_wechaty_puppet_MessageContactResponse,
|
|
1724
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageContactResponse,
|
|
1725
|
+
},
|
|
1726
|
+
messageMiniProgram: {
|
|
1727
|
+
path: '/wechaty.Puppet/MessageMiniProgram',
|
|
1728
|
+
requestStream: false,
|
|
1729
|
+
responseStream: false,
|
|
1730
|
+
requestType: wechaty_puppet_message_pb.MessageMiniProgramRequest,
|
|
1731
|
+
responseType: wechaty_puppet_message_pb.MessageMiniProgramResponse,
|
|
1732
|
+
requestSerialize: serialize_wechaty_puppet_MessageMiniProgramRequest,
|
|
1733
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageMiniProgramRequest,
|
|
1734
|
+
responseSerialize: serialize_wechaty_puppet_MessageMiniProgramResponse,
|
|
1735
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageMiniProgramResponse,
|
|
1736
|
+
},
|
|
1737
|
+
messageUrl: {
|
|
1738
|
+
path: '/wechaty.Puppet/MessageUrl',
|
|
1739
|
+
requestStream: false,
|
|
1740
|
+
responseStream: false,
|
|
1741
|
+
requestType: wechaty_puppet_message_pb.MessageUrlRequest,
|
|
1742
|
+
responseType: wechaty_puppet_message_pb.MessageUrlResponse,
|
|
1743
|
+
requestSerialize: serialize_wechaty_puppet_MessageUrlRequest,
|
|
1744
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageUrlRequest,
|
|
1745
|
+
responseSerialize: serialize_wechaty_puppet_MessageUrlResponse,
|
|
1746
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageUrlResponse,
|
|
1747
|
+
},
|
|
1748
|
+
messageRecall: {
|
|
1749
|
+
path: '/wechaty.Puppet/MessageRecall',
|
|
1750
|
+
requestStream: false,
|
|
1751
|
+
responseStream: false,
|
|
1752
|
+
requestType: wechaty_puppet_message_pb.MessageRecallRequest,
|
|
1753
|
+
responseType: wechaty_puppet_message_pb.MessageRecallResponse,
|
|
1754
|
+
requestSerialize: serialize_wechaty_puppet_MessageRecallRequest,
|
|
1755
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageRecallRequest,
|
|
1756
|
+
responseSerialize: serialize_wechaty_puppet_MessageRecallResponse,
|
|
1757
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageRecallResponse,
|
|
1758
|
+
},
|
|
1759
|
+
messageForward: {
|
|
1760
|
+
path: '/wechaty.Puppet/MessageForward',
|
|
1761
|
+
requestStream: false,
|
|
1762
|
+
responseStream: false,
|
|
1763
|
+
requestType: wechaty_puppet_message_pb.MessageForwardRequest,
|
|
1764
|
+
responseType: wechaty_puppet_message_pb.MessageForwardResponse,
|
|
1765
|
+
requestSerialize: serialize_wechaty_puppet_MessageForwardRequest,
|
|
1766
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageForwardRequest,
|
|
1767
|
+
responseSerialize: serialize_wechaty_puppet_MessageForwardResponse,
|
|
1768
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageForwardResponse,
|
|
1769
|
+
},
|
|
1770
|
+
messageLocation: {
|
|
1771
|
+
path: '/wechaty.Puppet/MessageLocation',
|
|
1772
|
+
requestStream: false,
|
|
1773
|
+
responseStream: false,
|
|
1774
|
+
requestType: wechaty_puppet_message_pb.MessageLocationRequest,
|
|
1775
|
+
responseType: wechaty_puppet_message_pb.MessageLocationResponse,
|
|
1776
|
+
requestSerialize: serialize_wechaty_puppet_MessageLocationRequest,
|
|
1777
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageLocationRequest,
|
|
1778
|
+
responseSerialize: serialize_wechaty_puppet_MessageLocationResponse,
|
|
1779
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageLocationResponse,
|
|
1780
|
+
},
|
|
1781
|
+
messageSendContact: {
|
|
1782
|
+
path: '/wechaty.Puppet/MessageSendContact',
|
|
1783
|
+
requestStream: false,
|
|
1784
|
+
responseStream: false,
|
|
1785
|
+
requestType: wechaty_puppet_message_pb.MessageSendContactRequest,
|
|
1786
|
+
responseType: wechaty_puppet_message_pb.MessageSendContactResponse,
|
|
1787
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendContactRequest,
|
|
1788
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendContactRequest,
|
|
1789
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendContactResponse,
|
|
1790
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendContactResponse,
|
|
1791
|
+
},
|
|
1792
|
+
messageSendText: {
|
|
1793
|
+
path: '/wechaty.Puppet/MessageSendText',
|
|
1794
|
+
requestStream: false,
|
|
1795
|
+
responseStream: false,
|
|
1796
|
+
requestType: wechaty_puppet_message_pb.MessageSendTextRequest,
|
|
1797
|
+
responseType: wechaty_puppet_message_pb.MessageSendTextResponse,
|
|
1798
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendTextRequest,
|
|
1799
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendTextRequest,
|
|
1800
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendTextResponse,
|
|
1801
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendTextResponse,
|
|
1802
|
+
},
|
|
1803
|
+
messageSendMiniProgram: {
|
|
1804
|
+
path: '/wechaty.Puppet/MessageSendMiniProgram',
|
|
1805
|
+
requestStream: false,
|
|
1806
|
+
responseStream: false,
|
|
1807
|
+
requestType: wechaty_puppet_message_pb.MessageSendMiniProgramRequest,
|
|
1808
|
+
responseType: wechaty_puppet_message_pb.MessageSendMiniProgramResponse,
|
|
1809
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendMiniProgramRequest,
|
|
1810
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendMiniProgramRequest,
|
|
1811
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendMiniProgramResponse,
|
|
1812
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendMiniProgramResponse,
|
|
1813
|
+
},
|
|
1814
|
+
messageSendUrl: {
|
|
1815
|
+
path: '/wechaty.Puppet/MessageSendUrl',
|
|
1816
|
+
requestStream: false,
|
|
1817
|
+
responseStream: false,
|
|
1818
|
+
requestType: wechaty_puppet_message_pb.MessageSendUrlRequest,
|
|
1819
|
+
responseType: wechaty_puppet_message_pb.MessageSendUrlResponse,
|
|
1820
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendUrlRequest,
|
|
1821
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendUrlRequest,
|
|
1822
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendUrlResponse,
|
|
1823
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendUrlResponse,
|
|
1824
|
+
},
|
|
1825
|
+
messageSendLocation: {
|
|
1826
|
+
path: '/wechaty.Puppet/MessageSendLocation',
|
|
1827
|
+
requestStream: false,
|
|
1828
|
+
responseStream: false,
|
|
1829
|
+
requestType: wechaty_puppet_message_pb.MessageSendLocationRequest,
|
|
1830
|
+
responseType: wechaty_puppet_message_pb.MessageSendLocationResponse,
|
|
1831
|
+
requestSerialize: serialize_wechaty_puppet_MessageSendLocationRequest,
|
|
1832
|
+
requestDeserialize: deserialize_wechaty_puppet_MessageSendLocationRequest,
|
|
1833
|
+
responseSerialize: serialize_wechaty_puppet_MessageSendLocationResponse,
|
|
1834
|
+
responseDeserialize: deserialize_wechaty_puppet_MessageSendLocationResponse,
|
|
1835
|
+
},
|
|
1836
|
+
// *
|
|
1837
|
+
//
|
|
1838
|
+
// Room
|
|
1839
|
+
//
|
|
1840
|
+
roomPayload: {
|
|
1841
|
+
path: '/wechaty.Puppet/RoomPayload',
|
|
1842
|
+
requestStream: false,
|
|
1843
|
+
responseStream: false,
|
|
1844
|
+
requestType: wechaty_puppet_room_pb.RoomPayloadRequest,
|
|
1845
|
+
responseType: wechaty_puppet_room_pb.RoomPayloadResponse,
|
|
1846
|
+
requestSerialize: serialize_wechaty_puppet_RoomPayloadRequest,
|
|
1847
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomPayloadRequest,
|
|
1848
|
+
responseSerialize: serialize_wechaty_puppet_RoomPayloadResponse,
|
|
1849
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomPayloadResponse,
|
|
1850
|
+
},
|
|
1851
|
+
roomList: {
|
|
1852
|
+
path: '/wechaty.Puppet/RoomList',
|
|
1853
|
+
requestStream: false,
|
|
1854
|
+
responseStream: false,
|
|
1855
|
+
requestType: wechaty_puppet_room_pb.RoomListRequest,
|
|
1856
|
+
responseType: wechaty_puppet_room_pb.RoomListResponse,
|
|
1857
|
+
requestSerialize: serialize_wechaty_puppet_RoomListRequest,
|
|
1858
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomListRequest,
|
|
1859
|
+
responseSerialize: serialize_wechaty_puppet_RoomListResponse,
|
|
1860
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomListResponse,
|
|
1861
|
+
},
|
|
1862
|
+
roomAdd: {
|
|
1863
|
+
path: '/wechaty.Puppet/RoomAdd',
|
|
1864
|
+
requestStream: false,
|
|
1865
|
+
responseStream: false,
|
|
1866
|
+
requestType: wechaty_puppet_room_pb.RoomAddRequest,
|
|
1867
|
+
responseType: wechaty_puppet_room_pb.RoomAddResponse,
|
|
1868
|
+
requestSerialize: serialize_wechaty_puppet_RoomAddRequest,
|
|
1869
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomAddRequest,
|
|
1870
|
+
responseSerialize: serialize_wechaty_puppet_RoomAddResponse,
|
|
1871
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomAddResponse,
|
|
1872
|
+
},
|
|
1873
|
+
roomAvatar: {
|
|
1874
|
+
path: '/wechaty.Puppet/RoomAvatar',
|
|
1875
|
+
requestStream: false,
|
|
1876
|
+
responseStream: false,
|
|
1877
|
+
requestType: wechaty_puppet_room_pb.RoomAvatarRequest,
|
|
1878
|
+
responseType: wechaty_puppet_room_pb.RoomAvatarResponse,
|
|
1879
|
+
requestSerialize: serialize_wechaty_puppet_RoomAvatarRequest,
|
|
1880
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomAvatarRequest,
|
|
1881
|
+
responseSerialize: serialize_wechaty_puppet_RoomAvatarResponse,
|
|
1882
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomAvatarResponse,
|
|
1883
|
+
},
|
|
1884
|
+
roomCreate: {
|
|
1885
|
+
path: '/wechaty.Puppet/RoomCreate',
|
|
1886
|
+
requestStream: false,
|
|
1887
|
+
responseStream: false,
|
|
1888
|
+
requestType: wechaty_puppet_room_pb.RoomCreateRequest,
|
|
1889
|
+
responseType: wechaty_puppet_room_pb.RoomCreateResponse,
|
|
1890
|
+
requestSerialize: serialize_wechaty_puppet_RoomCreateRequest,
|
|
1891
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomCreateRequest,
|
|
1892
|
+
responseSerialize: serialize_wechaty_puppet_RoomCreateResponse,
|
|
1893
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomCreateResponse,
|
|
1894
|
+
},
|
|
1895
|
+
roomDel: {
|
|
1896
|
+
path: '/wechaty.Puppet/RoomDel',
|
|
1897
|
+
requestStream: false,
|
|
1898
|
+
responseStream: false,
|
|
1899
|
+
requestType: wechaty_puppet_room_pb.RoomDelRequest,
|
|
1900
|
+
responseType: wechaty_puppet_room_pb.RoomDelResponse,
|
|
1901
|
+
requestSerialize: serialize_wechaty_puppet_RoomDelRequest,
|
|
1902
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomDelRequest,
|
|
1903
|
+
responseSerialize: serialize_wechaty_puppet_RoomDelResponse,
|
|
1904
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomDelResponse,
|
|
1905
|
+
},
|
|
1906
|
+
roomQuit: {
|
|
1907
|
+
path: '/wechaty.Puppet/RoomQuit',
|
|
1908
|
+
requestStream: false,
|
|
1909
|
+
responseStream: false,
|
|
1910
|
+
requestType: wechaty_puppet_room_pb.RoomQuitRequest,
|
|
1911
|
+
responseType: wechaty_puppet_room_pb.RoomQuitResponse,
|
|
1912
|
+
requestSerialize: serialize_wechaty_puppet_RoomQuitRequest,
|
|
1913
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomQuitRequest,
|
|
1914
|
+
responseSerialize: serialize_wechaty_puppet_RoomQuitResponse,
|
|
1915
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomQuitResponse,
|
|
1916
|
+
},
|
|
1917
|
+
roomTopic: {
|
|
1918
|
+
path: '/wechaty.Puppet/RoomTopic',
|
|
1919
|
+
requestStream: false,
|
|
1920
|
+
responseStream: false,
|
|
1921
|
+
requestType: wechaty_puppet_room_pb.RoomTopicRequest,
|
|
1922
|
+
responseType: wechaty_puppet_room_pb.RoomTopicResponse,
|
|
1923
|
+
requestSerialize: serialize_wechaty_puppet_RoomTopicRequest,
|
|
1924
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomTopicRequest,
|
|
1925
|
+
responseSerialize: serialize_wechaty_puppet_RoomTopicResponse,
|
|
1926
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomTopicResponse,
|
|
1927
|
+
},
|
|
1928
|
+
roomQRCode: {
|
|
1929
|
+
path: '/wechaty.Puppet/RoomQRCode',
|
|
1930
|
+
requestStream: false,
|
|
1931
|
+
responseStream: false,
|
|
1932
|
+
requestType: wechaty_puppet_room_pb.RoomQRCodeRequest,
|
|
1933
|
+
responseType: wechaty_puppet_room_pb.RoomQRCodeResponse,
|
|
1934
|
+
requestSerialize: serialize_wechaty_puppet_RoomQRCodeRequest,
|
|
1935
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomQRCodeRequest,
|
|
1936
|
+
responseSerialize: serialize_wechaty_puppet_RoomQRCodeResponse,
|
|
1937
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomQRCodeResponse,
|
|
1938
|
+
},
|
|
1939
|
+
roomAnnounce: {
|
|
1940
|
+
path: '/wechaty.Puppet/RoomAnnounce',
|
|
1941
|
+
requestStream: false,
|
|
1942
|
+
responseStream: false,
|
|
1943
|
+
requestType: wechaty_puppet_room_pb.RoomAnnounceRequest,
|
|
1944
|
+
responseType: wechaty_puppet_room_pb.RoomAnnounceResponse,
|
|
1945
|
+
requestSerialize: serialize_wechaty_puppet_RoomAnnounceRequest,
|
|
1946
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomAnnounceRequest,
|
|
1947
|
+
responseSerialize: serialize_wechaty_puppet_RoomAnnounceResponse,
|
|
1948
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomAnnounceResponse,
|
|
1949
|
+
},
|
|
1950
|
+
// *
|
|
1951
|
+
//
|
|
1952
|
+
// Room Member
|
|
1953
|
+
//
|
|
1954
|
+
roomMemberPayload: {
|
|
1955
|
+
path: '/wechaty.Puppet/RoomMemberPayload',
|
|
1956
|
+
requestStream: false,
|
|
1957
|
+
responseStream: false,
|
|
1958
|
+
requestType: wechaty_puppet_room$member_pb.RoomMemberPayloadRequest,
|
|
1959
|
+
responseType: wechaty_puppet_room$member_pb.RoomMemberPayloadResponse,
|
|
1960
|
+
requestSerialize: serialize_wechaty_puppet_RoomMemberPayloadRequest,
|
|
1961
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomMemberPayloadRequest,
|
|
1962
|
+
responseSerialize: serialize_wechaty_puppet_RoomMemberPayloadResponse,
|
|
1963
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomMemberPayloadResponse,
|
|
1964
|
+
},
|
|
1965
|
+
roomMemberList: {
|
|
1966
|
+
path: '/wechaty.Puppet/RoomMemberList',
|
|
1967
|
+
requestStream: false,
|
|
1968
|
+
responseStream: false,
|
|
1969
|
+
requestType: wechaty_puppet_room$member_pb.RoomMemberListRequest,
|
|
1970
|
+
responseType: wechaty_puppet_room$member_pb.RoomMemberListResponse,
|
|
1971
|
+
requestSerialize: serialize_wechaty_puppet_RoomMemberListRequest,
|
|
1972
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomMemberListRequest,
|
|
1973
|
+
responseSerialize: serialize_wechaty_puppet_RoomMemberListResponse,
|
|
1974
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomMemberListResponse,
|
|
1975
|
+
},
|
|
1976
|
+
// *
|
|
1977
|
+
//
|
|
1978
|
+
// Room Invitation
|
|
1979
|
+
//
|
|
1980
|
+
roomInvitationPayload: {
|
|
1981
|
+
path: '/wechaty.Puppet/RoomInvitationPayload',
|
|
1982
|
+
requestStream: false,
|
|
1983
|
+
responseStream: false,
|
|
1984
|
+
requestType: wechaty_puppet_room$invitation_pb.RoomInvitationPayloadRequest,
|
|
1985
|
+
responseType: wechaty_puppet_room$invitation_pb.RoomInvitationPayloadResponse,
|
|
1986
|
+
requestSerialize: serialize_wechaty_puppet_RoomInvitationPayloadRequest,
|
|
1987
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomInvitationPayloadRequest,
|
|
1988
|
+
responseSerialize: serialize_wechaty_puppet_RoomInvitationPayloadResponse,
|
|
1989
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomInvitationPayloadResponse,
|
|
1990
|
+
},
|
|
1991
|
+
roomInvitationAccept: {
|
|
1992
|
+
path: '/wechaty.Puppet/RoomInvitationAccept',
|
|
1993
|
+
requestStream: false,
|
|
1994
|
+
responseStream: false,
|
|
1995
|
+
requestType: wechaty_puppet_room$invitation_pb.RoomInvitationAcceptRequest,
|
|
1996
|
+
responseType: wechaty_puppet_room$invitation_pb.RoomInvitationAcceptResponse,
|
|
1997
|
+
requestSerialize: serialize_wechaty_puppet_RoomInvitationAcceptRequest,
|
|
1998
|
+
requestDeserialize: deserialize_wechaty_puppet_RoomInvitationAcceptRequest,
|
|
1999
|
+
responseSerialize: serialize_wechaty_puppet_RoomInvitationAcceptResponse,
|
|
2000
|
+
responseDeserialize: deserialize_wechaty_puppet_RoomInvitationAcceptResponse,
|
|
2001
|
+
},
|
|
2002
|
+
// *
|
|
2003
|
+
//
|
|
2004
|
+
// Tag
|
|
2005
|
+
//
|
|
2006
|
+
tagContactAdd: {
|
|
2007
|
+
path: '/wechaty.Puppet/TagContactAdd',
|
|
2008
|
+
requestStream: false,
|
|
2009
|
+
responseStream: false,
|
|
2010
|
+
requestType: wechaty_puppet_tag_pb.TagContactAddRequest,
|
|
2011
|
+
responseType: wechaty_puppet_tag_pb.TagContactAddResponse,
|
|
2012
|
+
requestSerialize: serialize_wechaty_puppet_TagContactAddRequest,
|
|
2013
|
+
requestDeserialize: deserialize_wechaty_puppet_TagContactAddRequest,
|
|
2014
|
+
responseSerialize: serialize_wechaty_puppet_TagContactAddResponse,
|
|
2015
|
+
responseDeserialize: deserialize_wechaty_puppet_TagContactAddResponse,
|
|
2016
|
+
},
|
|
2017
|
+
tagContactRemove: {
|
|
2018
|
+
path: '/wechaty.Puppet/TagContactRemove',
|
|
2019
|
+
requestStream: false,
|
|
2020
|
+
responseStream: false,
|
|
2021
|
+
requestType: wechaty_puppet_tag_pb.TagContactRemoveRequest,
|
|
2022
|
+
responseType: wechaty_puppet_tag_pb.TagContactRemoveResponse,
|
|
2023
|
+
requestSerialize: serialize_wechaty_puppet_TagContactRemoveRequest,
|
|
2024
|
+
requestDeserialize: deserialize_wechaty_puppet_TagContactRemoveRequest,
|
|
2025
|
+
responseSerialize: serialize_wechaty_puppet_TagContactRemoveResponse,
|
|
2026
|
+
responseDeserialize: deserialize_wechaty_puppet_TagContactRemoveResponse,
|
|
2027
|
+
},
|
|
2028
|
+
// *
|
|
2029
|
+
// Operate Sub-Collections
|
|
2030
|
+
// https://cloud.google.com/apis/design/design_patterns#list_sub-collections
|
|
2031
|
+
tagContactDelete: {
|
|
2032
|
+
path: '/wechaty.Puppet/TagContactDelete',
|
|
2033
|
+
requestStream: false,
|
|
2034
|
+
responseStream: false,
|
|
2035
|
+
requestType: wechaty_puppet_tag_pb.TagContactDeleteRequest,
|
|
2036
|
+
responseType: wechaty_puppet_tag_pb.TagContactDeleteResponse,
|
|
2037
|
+
requestSerialize: serialize_wechaty_puppet_TagContactDeleteRequest,
|
|
2038
|
+
requestDeserialize: deserialize_wechaty_puppet_TagContactDeleteRequest,
|
|
2039
|
+
responseSerialize: serialize_wechaty_puppet_TagContactDeleteResponse,
|
|
2040
|
+
responseDeserialize: deserialize_wechaty_puppet_TagContactDeleteResponse,
|
|
2041
|
+
},
|
|
2042
|
+
tagContactList: {
|
|
2043
|
+
path: '/wechaty.Puppet/TagContactList',
|
|
2044
|
+
requestStream: false,
|
|
2045
|
+
responseStream: false,
|
|
2046
|
+
requestType: wechaty_puppet_tag_pb.TagContactListRequest,
|
|
2047
|
+
responseType: wechaty_puppet_tag_pb.TagContactListResponse,
|
|
2048
|
+
requestSerialize: serialize_wechaty_puppet_TagContactListRequest,
|
|
2049
|
+
requestDeserialize: deserialize_wechaty_puppet_TagContactListRequest,
|
|
2050
|
+
responseSerialize: serialize_wechaty_puppet_TagContactListResponse,
|
|
2051
|
+
responseDeserialize: deserialize_wechaty_puppet_TagContactListResponse,
|
|
2052
|
+
},
|
|
2053
|
+
// *
|
|
2054
|
+
// File/Blob download & upload
|
|
2055
|
+
download: {
|
|
2056
|
+
path: '/wechaty.Puppet/Download',
|
|
2057
|
+
requestStream: false,
|
|
2058
|
+
responseStream: true,
|
|
2059
|
+
requestType: wechaty_puppet_download$upload_pb.DownloadRequest,
|
|
2060
|
+
responseType: wechaty_puppet_download$upload_pb.DownloadResponse,
|
|
2061
|
+
requestSerialize: serialize_wechaty_puppet_DownloadRequest,
|
|
2062
|
+
requestDeserialize: deserialize_wechaty_puppet_DownloadRequest,
|
|
2063
|
+
responseSerialize: serialize_wechaty_puppet_DownloadResponse,
|
|
2064
|
+
responseDeserialize: deserialize_wechaty_puppet_DownloadResponse,
|
|
2065
|
+
},
|
|
2066
|
+
upload: {
|
|
2067
|
+
path: '/wechaty.Puppet/Upload',
|
|
2068
|
+
requestStream: true,
|
|
2069
|
+
responseStream: false,
|
|
2070
|
+
requestType: wechaty_puppet_download$upload_pb.UploadRequest,
|
|
2071
|
+
responseType: wechaty_puppet_download$upload_pb.UploadResponse,
|
|
2072
|
+
requestSerialize: serialize_wechaty_puppet_UploadRequest,
|
|
2073
|
+
requestDeserialize: deserialize_wechaty_puppet_UploadRequest,
|
|
2074
|
+
responseSerialize: serialize_wechaty_puppet_UploadResponse,
|
|
2075
|
+
responseDeserialize: deserialize_wechaty_puppet_UploadResponse,
|
|
2076
|
+
},
|
|
2077
|
+
};
|
|
2078
|
+
|
|
2079
|
+
exports.PuppetClient = grpc.makeGenericClientConstructor(PuppetService);
|