@juzi/wechaty-grpc 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/commonjs/generated/puppet.cjs +2 -0
- package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +2 -0
- package/dist/cjs/out/wechaty/puppet/moment_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +300 -0
- package/dist/cjs/out/wechaty/puppet/moment_pb.js +2272 -0
- package/dist/cjs/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/moment_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/post_grpc_pb.js +1 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +176 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.js +1189 -0
- package/dist/cjs/out/wechaty/puppet/post_pb_service.d.ts +3 -0
- package/dist/cjs/out/wechaty/puppet/post_pb_service.js +3 -0
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +3 -2
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +3 -2
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +288 -2
- package/dist/cjs/out/wechaty/puppet.swagger.json +446 -2
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +121 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +238 -0
- package/dist/cjs/out/wechaty/puppet_pb.d.ts +2 -0
- package/dist/cjs/out/wechaty/puppet_pb.js +4 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +134 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +281 -0
- package/dist/cjs/proto/wechaty/puppet/channel.proto +8 -8
- package/dist/cjs/proto/wechaty/puppet/contact.proto +29 -29
- package/dist/cjs/proto/wechaty/puppet/friendship.proto +14 -14
- package/dist/cjs/proto/wechaty/puppet/location.proto +5 -5
- package/dist/cjs/proto/wechaty/puppet/message.proto +42 -43
- package/dist/cjs/proto/wechaty/puppet/mini-program.proto +9 -9
- package/dist/cjs/proto/wechaty/puppet/moment.proto +66 -0
- package/dist/cjs/proto/wechaty/puppet/post.proto +57 -0
- package/dist/cjs/proto/wechaty/puppet/room-invitation.proto +8 -8
- package/dist/cjs/proto/wechaty/puppet/room-member.proto +4 -4
- package/dist/cjs/proto/wechaty/puppet/room.proto +11 -11
- package/dist/cjs/proto/wechaty/puppet/tag.proto +7 -6
- package/dist/cjs/proto/wechaty/puppet/url-link.proto +4 -4
- package/dist/cjs/proto/wechaty/puppet.proto +58 -0
- package/dist/cjs/src/package-json.js +2 -2
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +35 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/commonjs/generated/puppet.cjs +2 -0
- package/dist/esm/commonjs/generated/puppet.cjs.d.ts +2 -0
- package/dist/esm/out/wechaty/puppet/moment_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +300 -0
- package/dist/esm/out/wechaty/puppet/moment_pb.js +2272 -0
- package/dist/esm/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/moment_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/post_grpc_pb.js +1 -0
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +176 -0
- package/dist/esm/out/wechaty/puppet/post_pb.js +1189 -0
- package/dist/esm/out/wechaty/puppet/post_pb_service.d.ts +3 -0
- package/dist/esm/out/wechaty/puppet/post_pb_service.js +3 -0
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +3 -2
- package/dist/esm/out/wechaty/puppet/tag_pb.js +3 -2
- package/dist/esm/out/wechaty/puppet.openapi.yaml +288 -2
- package/dist/esm/out/wechaty/puppet.swagger.json +446 -2
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +121 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +238 -0
- package/dist/esm/out/wechaty/puppet_pb.d.ts +2 -0
- package/dist/esm/out/wechaty/puppet_pb.js +4 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +134 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +281 -0
- package/dist/esm/proto/wechaty/puppet/channel.proto +8 -8
- package/dist/esm/proto/wechaty/puppet/contact.proto +29 -29
- package/dist/esm/proto/wechaty/puppet/friendship.proto +14 -14
- package/dist/esm/proto/wechaty/puppet/location.proto +5 -5
- package/dist/esm/proto/wechaty/puppet/message.proto +42 -43
- package/dist/esm/proto/wechaty/puppet/mini-program.proto +9 -9
- package/dist/esm/proto/wechaty/puppet/moment.proto +66 -0
- package/dist/esm/proto/wechaty/puppet/post.proto +57 -0
- package/dist/esm/proto/wechaty/puppet/room-invitation.proto +8 -8
- package/dist/esm/proto/wechaty/puppet/room-member.proto +4 -4
- package/dist/esm/proto/wechaty/puppet/room.proto +11 -11
- package/dist/esm/proto/wechaty/puppet/tag.proto +7 -6
- package/dist/esm/proto/wechaty/puppet/url-link.proto +4 -4
- package/dist/esm/proto/wechaty/puppet.proto +58 -0
- package/dist/esm/src/package-json.js +2 -2
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +35 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/moment_grpc_pb.js +1 -0
- package/out/wechaty/puppet/moment_pb.d.ts +300 -0
- package/out/wechaty/puppet/moment_pb.js +2272 -0
- package/out/wechaty/puppet/moment_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/moment_pb_service.js +3 -0
- package/out/wechaty/puppet/post_grpc_pb.js +1 -0
- package/out/wechaty/puppet/post_pb.d.ts +176 -0
- package/out/wechaty/puppet/post_pb.js +1189 -0
- package/out/wechaty/puppet/post_pb_service.d.ts +3 -0
- package/out/wechaty/puppet/post_pb_service.js +3 -0
- package/out/wechaty/puppet/tag_pb.d.ts +3 -2
- package/out/wechaty/puppet/tag_pb.js +3 -2
- package/out/wechaty/puppet.openapi.yaml +288 -2
- package/out/wechaty/puppet.swagger.json +446 -2
- package/out/wechaty/puppet_grpc_pb.d.ts +121 -0
- package/out/wechaty/puppet_grpc_pb.js +238 -0
- package/out/wechaty/puppet_pb.d.ts +2 -0
- package/out/wechaty/puppet_pb.js +4 -0
- package/out/wechaty/puppet_pb_service.d.ts +134 -0
- package/out/wechaty/puppet_pb_service.js +281 -0
- package/package.json +1 -1
- package/src/package-json.ts +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Wechaty Puppet Service OpenAPI Specification",
|
|
5
5
|
"description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.18",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1489,6 +1489,230 @@
|
|
|
1489
1489
|
]
|
|
1490
1490
|
}
|
|
1491
1491
|
},
|
|
1492
|
+
"/moment/comment": {
|
|
1493
|
+
"post": {
|
|
1494
|
+
"operationId": "Puppet_momentComment",
|
|
1495
|
+
"responses": {
|
|
1496
|
+
"200": {
|
|
1497
|
+
"description": "A successful response.",
|
|
1498
|
+
"schema": {
|
|
1499
|
+
"$ref": "#/definitions/puppetMomentCommentResponse"
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"default": {
|
|
1503
|
+
"description": "An unexpected error response.",
|
|
1504
|
+
"schema": {
|
|
1505
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1506
|
+
}
|
|
1507
|
+
}
|
|
1508
|
+
},
|
|
1509
|
+
"parameters": [
|
|
1510
|
+
{
|
|
1511
|
+
"name": "body",
|
|
1512
|
+
"in": "body",
|
|
1513
|
+
"required": true,
|
|
1514
|
+
"schema": {
|
|
1515
|
+
"$ref": "#/definitions/puppetMomentCommentRequest"
|
|
1516
|
+
}
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
"tags": [
|
|
1520
|
+
"Puppet"
|
|
1521
|
+
]
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
"/moment/coverage": {
|
|
1525
|
+
"post": {
|
|
1526
|
+
"operationId": "Puppet_momentCoverage",
|
|
1527
|
+
"responses": {
|
|
1528
|
+
"200": {
|
|
1529
|
+
"description": "A successful response.",
|
|
1530
|
+
"schema": {
|
|
1531
|
+
"$ref": "#/definitions/puppetMomentCoverageResponse"
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
"default": {
|
|
1535
|
+
"description": "An unexpected error response.",
|
|
1536
|
+
"schema": {
|
|
1537
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
},
|
|
1541
|
+
"parameters": [
|
|
1542
|
+
{
|
|
1543
|
+
"name": "body",
|
|
1544
|
+
"in": "body",
|
|
1545
|
+
"required": true,
|
|
1546
|
+
"schema": {
|
|
1547
|
+
"$ref": "#/definitions/puppetMomentCoverageRequest"
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
],
|
|
1551
|
+
"tags": [
|
|
1552
|
+
"Puppet"
|
|
1553
|
+
]
|
|
1554
|
+
}
|
|
1555
|
+
},
|
|
1556
|
+
"/moment/like": {
|
|
1557
|
+
"post": {
|
|
1558
|
+
"operationId": "Puppet_momentLike",
|
|
1559
|
+
"responses": {
|
|
1560
|
+
"200": {
|
|
1561
|
+
"description": "A successful response.",
|
|
1562
|
+
"schema": {
|
|
1563
|
+
"$ref": "#/definitions/puppetMomentLikeResponse"
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"default": {
|
|
1567
|
+
"description": "An unexpected error response.",
|
|
1568
|
+
"schema": {
|
|
1569
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
},
|
|
1573
|
+
"parameters": [
|
|
1574
|
+
{
|
|
1575
|
+
"name": "body",
|
|
1576
|
+
"in": "body",
|
|
1577
|
+
"required": true,
|
|
1578
|
+
"schema": {
|
|
1579
|
+
"$ref": "#/definitions/puppetMomentLikeRequest"
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
],
|
|
1583
|
+
"tags": [
|
|
1584
|
+
"Puppet"
|
|
1585
|
+
]
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
"/moment/payload": {
|
|
1589
|
+
"post": {
|
|
1590
|
+
"operationId": "Puppet_momentPayload",
|
|
1591
|
+
"responses": {
|
|
1592
|
+
"200": {
|
|
1593
|
+
"description": "A successful response.",
|
|
1594
|
+
"schema": {
|
|
1595
|
+
"$ref": "#/definitions/puppetMomentPayloadResponse"
|
|
1596
|
+
}
|
|
1597
|
+
},
|
|
1598
|
+
"default": {
|
|
1599
|
+
"description": "An unexpected error response.",
|
|
1600
|
+
"schema": {
|
|
1601
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
"parameters": [
|
|
1606
|
+
{
|
|
1607
|
+
"name": "body",
|
|
1608
|
+
"in": "body",
|
|
1609
|
+
"required": true,
|
|
1610
|
+
"schema": {
|
|
1611
|
+
"$ref": "#/definitions/puppetMomentPayloadRequest"
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1614
|
+
],
|
|
1615
|
+
"tags": [
|
|
1616
|
+
"Puppet"
|
|
1617
|
+
]
|
|
1618
|
+
}
|
|
1619
|
+
},
|
|
1620
|
+
"/moment/publish": {
|
|
1621
|
+
"post": {
|
|
1622
|
+
"operationId": "Puppet_momentPublish",
|
|
1623
|
+
"responses": {
|
|
1624
|
+
"200": {
|
|
1625
|
+
"description": "A successful response.",
|
|
1626
|
+
"schema": {
|
|
1627
|
+
"$ref": "#/definitions/puppetMomentPublishResponse"
|
|
1628
|
+
}
|
|
1629
|
+
},
|
|
1630
|
+
"default": {
|
|
1631
|
+
"description": "An unexpected error response.",
|
|
1632
|
+
"schema": {
|
|
1633
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
},
|
|
1637
|
+
"parameters": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "body",
|
|
1640
|
+
"in": "body",
|
|
1641
|
+
"required": true,
|
|
1642
|
+
"schema": {
|
|
1643
|
+
"$ref": "#/definitions/puppetMomentPublishRequest"
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
],
|
|
1647
|
+
"tags": [
|
|
1648
|
+
"Puppet"
|
|
1649
|
+
]
|
|
1650
|
+
}
|
|
1651
|
+
},
|
|
1652
|
+
"/moment/sayable": {
|
|
1653
|
+
"post": {
|
|
1654
|
+
"operationId": "Puppet_momentPayloadSayable",
|
|
1655
|
+
"responses": {
|
|
1656
|
+
"200": {
|
|
1657
|
+
"description": "A successful response.",
|
|
1658
|
+
"schema": {
|
|
1659
|
+
"$ref": "#/definitions/puppetMomentPayloadSayableResponse"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"default": {
|
|
1663
|
+
"description": "An unexpected error response.",
|
|
1664
|
+
"schema": {
|
|
1665
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
},
|
|
1669
|
+
"parameters": [
|
|
1670
|
+
{
|
|
1671
|
+
"name": "body",
|
|
1672
|
+
"in": "body",
|
|
1673
|
+
"required": true,
|
|
1674
|
+
"schema": {
|
|
1675
|
+
"$ref": "#/definitions/puppetMomentPayloadSayableRequest"
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
],
|
|
1679
|
+
"tags": [
|
|
1680
|
+
"Puppet"
|
|
1681
|
+
]
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"/moment/signature": {
|
|
1685
|
+
"post": {
|
|
1686
|
+
"operationId": "Puppet_momentSignature",
|
|
1687
|
+
"responses": {
|
|
1688
|
+
"200": {
|
|
1689
|
+
"description": "A successful response.",
|
|
1690
|
+
"schema": {
|
|
1691
|
+
"$ref": "#/definitions/puppetMomentSignatureResponse"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"default": {
|
|
1695
|
+
"description": "An unexpected error response.",
|
|
1696
|
+
"schema": {
|
|
1697
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
},
|
|
1701
|
+
"parameters": [
|
|
1702
|
+
{
|
|
1703
|
+
"name": "body",
|
|
1704
|
+
"in": "body",
|
|
1705
|
+
"required": true,
|
|
1706
|
+
"schema": {
|
|
1707
|
+
"$ref": "#/definitions/puppetMomentSignatureRequest"
|
|
1708
|
+
}
|
|
1709
|
+
}
|
|
1710
|
+
],
|
|
1711
|
+
"tags": [
|
|
1712
|
+
"Puppet"
|
|
1713
|
+
]
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1492
1716
|
"/room-invitations/{id}": {
|
|
1493
1717
|
"get": {
|
|
1494
1718
|
"summary": "*",
|
|
@@ -3597,6 +3821,122 @@
|
|
|
3597
3821
|
}
|
|
3598
3822
|
}
|
|
3599
3823
|
},
|
|
3824
|
+
"puppetMomentCommentRequest": {
|
|
3825
|
+
"type": "object",
|
|
3826
|
+
"properties": {
|
|
3827
|
+
"momentId": {
|
|
3828
|
+
"type": "string"
|
|
3829
|
+
},
|
|
3830
|
+
"text": {
|
|
3831
|
+
"type": "string"
|
|
3832
|
+
},
|
|
3833
|
+
"mentionId": {
|
|
3834
|
+
"type": "string"
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
},
|
|
3838
|
+
"puppetMomentCommentResponse": {
|
|
3839
|
+
"type": "object",
|
|
3840
|
+
"properties": {
|
|
3841
|
+
"commentId": {
|
|
3842
|
+
"type": "string"
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
"puppetMomentCoverageRequest": {
|
|
3847
|
+
"type": "object",
|
|
3848
|
+
"properties": {
|
|
3849
|
+
"fileBox": {
|
|
3850
|
+
"type": "string"
|
|
3851
|
+
}
|
|
3852
|
+
}
|
|
3853
|
+
},
|
|
3854
|
+
"puppetMomentCoverageResponse": {
|
|
3855
|
+
"type": "object",
|
|
3856
|
+
"properties": {
|
|
3857
|
+
"fileBox": {
|
|
3858
|
+
"type": "string"
|
|
3859
|
+
}
|
|
3860
|
+
}
|
|
3861
|
+
},
|
|
3862
|
+
"puppetMomentLikeRequest": {
|
|
3863
|
+
"type": "object",
|
|
3864
|
+
"properties": {
|
|
3865
|
+
"momentId": {
|
|
3866
|
+
"type": "string"
|
|
3867
|
+
}
|
|
3868
|
+
}
|
|
3869
|
+
},
|
|
3870
|
+
"puppetMomentLikeResponse": {
|
|
3871
|
+
"type": "object"
|
|
3872
|
+
},
|
|
3873
|
+
"puppetMomentPayloadRequest": {
|
|
3874
|
+
"type": "object",
|
|
3875
|
+
"properties": {
|
|
3876
|
+
"momentId": {
|
|
3877
|
+
"type": "string"
|
|
3878
|
+
}
|
|
3879
|
+
}
|
|
3880
|
+
},
|
|
3881
|
+
"puppetMomentPayloadResponse": {
|
|
3882
|
+
"type": "object",
|
|
3883
|
+
"properties": {
|
|
3884
|
+
"moment": {
|
|
3885
|
+
"$ref": "#/definitions/puppetPostPayloadServer"
|
|
3886
|
+
}
|
|
3887
|
+
}
|
|
3888
|
+
},
|
|
3889
|
+
"puppetMomentPayloadSayableRequest": {
|
|
3890
|
+
"type": "object",
|
|
3891
|
+
"properties": {
|
|
3892
|
+
"momentId": {
|
|
3893
|
+
"type": "string"
|
|
3894
|
+
},
|
|
3895
|
+
"sayableId": {
|
|
3896
|
+
"type": "string"
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
},
|
|
3900
|
+
"puppetMomentPayloadSayableResponse": {
|
|
3901
|
+
"type": "object",
|
|
3902
|
+
"properties": {
|
|
3903
|
+
"sayable": {
|
|
3904
|
+
"$ref": "#/definitions/puppetPostSayable"
|
|
3905
|
+
}
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
"puppetMomentPublishRequest": {
|
|
3909
|
+
"type": "object",
|
|
3910
|
+
"properties": {
|
|
3911
|
+
"post": {
|
|
3912
|
+
"$ref": "#/definitions/puppetPostPayloadClient"
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
},
|
|
3916
|
+
"puppetMomentPublishResponse": {
|
|
3917
|
+
"type": "object",
|
|
3918
|
+
"properties": {
|
|
3919
|
+
"momentId": {
|
|
3920
|
+
"type": "string"
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
},
|
|
3924
|
+
"puppetMomentSignatureRequest": {
|
|
3925
|
+
"type": "object",
|
|
3926
|
+
"properties": {
|
|
3927
|
+
"text": {
|
|
3928
|
+
"type": "string"
|
|
3929
|
+
}
|
|
3930
|
+
}
|
|
3931
|
+
},
|
|
3932
|
+
"puppetMomentSignatureResponse": {
|
|
3933
|
+
"type": "object",
|
|
3934
|
+
"properties": {
|
|
3935
|
+
"text": {
|
|
3936
|
+
"type": "string"
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
},
|
|
3600
3940
|
"puppetPayloadType": {
|
|
3601
3941
|
"type": "string",
|
|
3602
3942
|
"enum": [
|
|
@@ -3611,6 +3951,99 @@
|
|
|
3611
3951
|
],
|
|
3612
3952
|
"default": "PAYLOAD_TYPE_UNSPECIFIED"
|
|
3613
3953
|
},
|
|
3954
|
+
"puppetPostPayloadClient": {
|
|
3955
|
+
"type": "object",
|
|
3956
|
+
"properties": {
|
|
3957
|
+
"parentId": {
|
|
3958
|
+
"type": "string"
|
|
3959
|
+
},
|
|
3960
|
+
"rootId": {
|
|
3961
|
+
"type": "string"
|
|
3962
|
+
},
|
|
3963
|
+
"type": {
|
|
3964
|
+
"$ref": "#/definitions/puppetPostType"
|
|
3965
|
+
},
|
|
3966
|
+
"sayableList": {
|
|
3967
|
+
"type": "array",
|
|
3968
|
+
"items": {
|
|
3969
|
+
"$ref": "#/definitions/puppetPostSayable"
|
|
3970
|
+
}
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
},
|
|
3974
|
+
"puppetPostPayloadServer": {
|
|
3975
|
+
"type": "object",
|
|
3976
|
+
"properties": {
|
|
3977
|
+
"parentId": {
|
|
3978
|
+
"type": "string"
|
|
3979
|
+
},
|
|
3980
|
+
"rootId": {
|
|
3981
|
+
"type": "string"
|
|
3982
|
+
},
|
|
3983
|
+
"type": {
|
|
3984
|
+
"$ref": "#/definitions/puppetPostType"
|
|
3985
|
+
},
|
|
3986
|
+
"sayableList": {
|
|
3987
|
+
"type": "array",
|
|
3988
|
+
"items": {
|
|
3989
|
+
"$ref": "#/definitions/puppetPostSayable"
|
|
3990
|
+
}
|
|
3991
|
+
},
|
|
3992
|
+
"contactId": {
|
|
3993
|
+
"type": "string"
|
|
3994
|
+
},
|
|
3995
|
+
"timestamp": {
|
|
3996
|
+
"type": "string",
|
|
3997
|
+
"format": "date-time"
|
|
3998
|
+
},
|
|
3999
|
+
"children": {
|
|
4000
|
+
"type": "integer",
|
|
4001
|
+
"format": "int32",
|
|
4002
|
+
"title": "counters 计数器"
|
|
4003
|
+
},
|
|
4004
|
+
"descendant": {
|
|
4005
|
+
"type": "integer",
|
|
4006
|
+
"format": "int32"
|
|
4007
|
+
},
|
|
4008
|
+
"like": {
|
|
4009
|
+
"type": "integer",
|
|
4010
|
+
"format": "int32"
|
|
4011
|
+
}
|
|
4012
|
+
}
|
|
4013
|
+
},
|
|
4014
|
+
"puppetPostSayable": {
|
|
4015
|
+
"type": "object",
|
|
4016
|
+
"properties": {
|
|
4017
|
+
"type": {
|
|
4018
|
+
"$ref": "#/definitions/puppetSayableType"
|
|
4019
|
+
},
|
|
4020
|
+
"id": {
|
|
4021
|
+
"type": "string"
|
|
4022
|
+
},
|
|
4023
|
+
"text": {
|
|
4024
|
+
"type": "string"
|
|
4025
|
+
},
|
|
4026
|
+
"fileBox": {
|
|
4027
|
+
"type": "string"
|
|
4028
|
+
},
|
|
4029
|
+
"urlLink": {
|
|
4030
|
+
"$ref": "#/definitions/puppetUrlLinkPayload"
|
|
4031
|
+
},
|
|
4032
|
+
"cahnel": {
|
|
4033
|
+
"$ref": "#/definitions/puppetChannelPayload"
|
|
4034
|
+
}
|
|
4035
|
+
}
|
|
4036
|
+
},
|
|
4037
|
+
"puppetPostType": {
|
|
4038
|
+
"type": "string",
|
|
4039
|
+
"enum": [
|
|
4040
|
+
"POST_TYPE_UNSPECIFIED",
|
|
4041
|
+
"POST_TYPE_MOMENT",
|
|
4042
|
+
"POST_TYPE_CHANNEL",
|
|
4043
|
+
"POST_TYPE_MESSAGE"
|
|
4044
|
+
],
|
|
4045
|
+
"default": "POST_TYPE_UNSPECIFIED"
|
|
4046
|
+
},
|
|
3614
4047
|
"puppetReferrer": {
|
|
3615
4048
|
"type": "object",
|
|
3616
4049
|
"properties": {
|
|
@@ -3817,6 +4250,16 @@
|
|
|
3817
4250
|
}
|
|
3818
4251
|
}
|
|
3819
4252
|
},
|
|
4253
|
+
"puppetSayableType": {
|
|
4254
|
+
"type": "string",
|
|
4255
|
+
"enum": [
|
|
4256
|
+
"SAYABLE_TYPE_TEXT",
|
|
4257
|
+
"SAYABLE_TYPE_FILE",
|
|
4258
|
+
"SAYABLE_TYPE_URL",
|
|
4259
|
+
"SAYABLE_TYPE_CHANNEL"
|
|
4260
|
+
],
|
|
4261
|
+
"default": "SAYABLE_TYPE_TEXT"
|
|
4262
|
+
},
|
|
3820
4263
|
"puppetStartResponse": {
|
|
3821
4264
|
"type": "object"
|
|
3822
4265
|
},
|
|
@@ -4041,10 +4484,11 @@
|
|
|
4041
4484
|
"puppetTagType": {
|
|
4042
4485
|
"type": "string",
|
|
4043
4486
|
"enum": [
|
|
4487
|
+
"Unspecific",
|
|
4044
4488
|
"PERSONAL",
|
|
4045
4489
|
"CORPORATION"
|
|
4046
4490
|
],
|
|
4047
|
-
"default": "
|
|
4491
|
+
"default": "Unspecific"
|
|
4048
4492
|
},
|
|
4049
4493
|
"puppetUploadRequest": {
|
|
4050
4494
|
"type": "object",
|
|
@@ -19,6 +19,8 @@ import * as wechaty_puppet_room_member_pb from "../wechaty/puppet/room-member_pb
|
|
|
19
19
|
import * as wechaty_puppet_room_pb from "../wechaty/puppet/room_pb";
|
|
20
20
|
import * as wechaty_puppet_tag_pb from "../wechaty/puppet/tag_pb";
|
|
21
21
|
import * as wechaty_puppet_channel_pb from "../wechaty/puppet/channel_pb";
|
|
22
|
+
import * as wechaty_puppet_post_pb from "../wechaty/puppet/post_pb";
|
|
23
|
+
import * as wechaty_puppet_moment_pb from "../wechaty/puppet/moment_pb";
|
|
22
24
|
|
|
23
25
|
interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
|
|
24
26
|
messageFileStream: IPuppetService_IMessageFileStream;
|
|
@@ -93,6 +95,13 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
93
95
|
tagTagList: IPuppetService_ITagTagList;
|
|
94
96
|
tagContactTagList: IPuppetService_ITagContactTagList;
|
|
95
97
|
tagTagContactList: IPuppetService_ITagTagContactList;
|
|
98
|
+
momentPublish: IPuppetService_ImomentPublish;
|
|
99
|
+
momentComment: IPuppetService_ImomentComment;
|
|
100
|
+
momentLike: IPuppetService_ImomentLike;
|
|
101
|
+
momentSignature: IPuppetService_ImomentSignature;
|
|
102
|
+
momentCoverage: IPuppetService_ImomentCoverage;
|
|
103
|
+
momentPayload: IPuppetService_ImomentPayload;
|
|
104
|
+
momentPayloadSayable: IPuppetService_ImomentPayloadSayable;
|
|
96
105
|
download: IPuppetService_IDownload;
|
|
97
106
|
upload: IPuppetService_IUpload;
|
|
98
107
|
}
|
|
@@ -745,6 +754,69 @@ interface IPuppetService_ITagTagContactList extends grpc.MethodDefinition<wechat
|
|
|
745
754
|
responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagTagContactListResponse>;
|
|
746
755
|
responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagTagContactListResponse>;
|
|
747
756
|
}
|
|
757
|
+
interface IPuppetService_ImomentPublish extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse> {
|
|
758
|
+
path: "/wechaty.Puppet/momentPublish";
|
|
759
|
+
requestStream: false;
|
|
760
|
+
responseStream: false;
|
|
761
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishRequest>;
|
|
762
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishRequest>;
|
|
763
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
764
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
765
|
+
}
|
|
766
|
+
interface IPuppetService_ImomentComment extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentCommentRequest, wechaty_puppet_moment_pb.MomentCommentResponse> {
|
|
767
|
+
path: "/wechaty.Puppet/momentComment";
|
|
768
|
+
requestStream: false;
|
|
769
|
+
responseStream: false;
|
|
770
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCommentRequest>;
|
|
771
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCommentRequest>;
|
|
772
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCommentResponse>;
|
|
773
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCommentResponse>;
|
|
774
|
+
}
|
|
775
|
+
interface IPuppetService_ImomentLike extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentLikeRequest, wechaty_puppet_moment_pb.MomentLikeResponse> {
|
|
776
|
+
path: "/wechaty.Puppet/momentLike";
|
|
777
|
+
requestStream: false;
|
|
778
|
+
responseStream: false;
|
|
779
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentLikeRequest>;
|
|
780
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentLikeRequest>;
|
|
781
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentLikeResponse>;
|
|
782
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentLikeResponse>;
|
|
783
|
+
}
|
|
784
|
+
interface IPuppetService_ImomentSignature extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse> {
|
|
785
|
+
path: "/wechaty.Puppet/momentSignature";
|
|
786
|
+
requestStream: false;
|
|
787
|
+
responseStream: false;
|
|
788
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentSignatureRequest>;
|
|
789
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentSignatureRequest>;
|
|
790
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentSignatureResponse>;
|
|
791
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentSignatureResponse>;
|
|
792
|
+
}
|
|
793
|
+
interface IPuppetService_ImomentCoverage extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse> {
|
|
794
|
+
path: "/wechaty.Puppet/momentCoverage";
|
|
795
|
+
requestStream: false;
|
|
796
|
+
responseStream: false;
|
|
797
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCoverageRequest>;
|
|
798
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCoverageRequest>;
|
|
799
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
|
|
800
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentCoverageResponse>;
|
|
801
|
+
}
|
|
802
|
+
interface IPuppetService_ImomentPayload extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPayloadRequest, wechaty_puppet_moment_pb.MomentPayloadResponse> {
|
|
803
|
+
path: "/wechaty.Puppet/momentPayload";
|
|
804
|
+
requestStream: false;
|
|
805
|
+
responseStream: false;
|
|
806
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadRequest>;
|
|
807
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadRequest>;
|
|
808
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadResponse>;
|
|
809
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadResponse>;
|
|
810
|
+
}
|
|
811
|
+
interface IPuppetService_ImomentPayloadSayable extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentPayloadSayableRequest, wechaty_puppet_moment_pb.MomentPayloadSayableResponse> {
|
|
812
|
+
path: "/wechaty.Puppet/momentPayloadSayable";
|
|
813
|
+
requestStream: false;
|
|
814
|
+
responseStream: false;
|
|
815
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadSayableRequest>;
|
|
816
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadSayableRequest>;
|
|
817
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
|
|
818
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
|
|
819
|
+
}
|
|
748
820
|
interface IPuppetService_IDownload extends grpc.MethodDefinition<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse> {
|
|
749
821
|
path: "/wechaty.Puppet/Download";
|
|
750
822
|
requestStream: false;
|
|
@@ -839,6 +911,13 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
839
911
|
tagTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagListRequest, wechaty_puppet_tag_pb.TagTagListResponse>;
|
|
840
912
|
tagContactTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagContactTagListRequest, wechaty_puppet_tag_pb.TagContactTagListResponse>;
|
|
841
913
|
tagTagContactList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagContactListRequest, wechaty_puppet_tag_pb.TagTagContactListResponse>;
|
|
914
|
+
momentPublish: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
915
|
+
momentComment: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCommentRequest, wechaty_puppet_moment_pb.MomentCommentResponse>;
|
|
916
|
+
momentLike: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentLikeRequest, wechaty_puppet_moment_pb.MomentLikeResponse>;
|
|
917
|
+
momentSignature: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse>;
|
|
918
|
+
momentCoverage: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse>;
|
|
919
|
+
momentPayload: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPayloadRequest, wechaty_puppet_moment_pb.MomentPayloadResponse>;
|
|
920
|
+
momentPayloadSayable: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPayloadSayableRequest, wechaty_puppet_moment_pb.MomentPayloadSayableResponse>;
|
|
842
921
|
download: grpc.handleServerStreamingCall<wechaty_puppet_download_upload_pb.DownloadRequest, wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
843
922
|
upload: grpc.handleClientStreamingCall<wechaty_puppet_download_upload_pb.UploadRequest, wechaty_puppet_download_upload_pb.UploadResponse>;
|
|
844
923
|
}
|
|
@@ -1058,6 +1137,27 @@ export interface IPuppetClient {
|
|
|
1058
1137
|
tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1059
1138
|
tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1060
1139
|
tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1140
|
+
momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1141
|
+
momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1142
|
+
momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1143
|
+
momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1144
|
+
momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1145
|
+
momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1146
|
+
momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1147
|
+
momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1148
|
+
momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1149
|
+
momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1150
|
+
momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1151
|
+
momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1152
|
+
momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1153
|
+
momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1154
|
+
momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1155
|
+
momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1156
|
+
momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1157
|
+
momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1158
|
+
momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1159
|
+
momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1160
|
+
momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1061
1161
|
download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1062
1162
|
download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1063
1163
|
upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
|
|
@@ -1282,6 +1382,27 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1282
1382
|
public tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1283
1383
|
public tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1284
1384
|
public tagTagContactList(request: wechaty_puppet_tag_pb.TagTagContactListRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_tag_pb.TagTagContactListResponse) => void): grpc.ClientUnaryCall;
|
|
1385
|
+
public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1386
|
+
public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1387
|
+
public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1388
|
+
public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1389
|
+
public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1390
|
+
public momentComment(request: wechaty_puppet_moment_pb.MomentCommentRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCommentResponse) => void): grpc.ClientUnaryCall;
|
|
1391
|
+
public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1392
|
+
public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1393
|
+
public momentLike(request: wechaty_puppet_moment_pb.MomentLikeRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentLikeResponse) => void): grpc.ClientUnaryCall;
|
|
1394
|
+
public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1395
|
+
public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1396
|
+
public momentSignature(request: wechaty_puppet_moment_pb.MomentSignatureRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentSignatureResponse) => void): grpc.ClientUnaryCall;
|
|
1397
|
+
public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1398
|
+
public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1399
|
+
public momentCoverage(request: wechaty_puppet_moment_pb.MomentCoverageRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentCoverageResponse) => void): grpc.ClientUnaryCall;
|
|
1400
|
+
public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1401
|
+
public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1402
|
+
public momentPayload(request: wechaty_puppet_moment_pb.MomentPayloadRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadResponse) => void): grpc.ClientUnaryCall;
|
|
1403
|
+
public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1404
|
+
public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1405
|
+
public momentPayloadSayable(request: wechaty_puppet_moment_pb.MomentPayloadSayableRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPayloadSayableResponse) => void): grpc.ClientUnaryCall;
|
|
1285
1406
|
public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1286
1407
|
public download(request: wechaty_puppet_download_upload_pb.DownloadRequest, metadata?: grpc.Metadata, options?: Partial<grpc.CallOptions>): grpc.ClientReadableStream<wechaty_puppet_download_upload_pb.DownloadResponse>;
|
|
1287
1408
|
public upload(callback: (error: grpc.ServiceError | null, response: wechaty_puppet_download_upload_pb.UploadResponse) => void): grpc.ClientWritableStream<wechaty_puppet_download_upload_pb.UploadRequest>;
|