@juzi/wechaty-grpc 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +0 -172
- package/dist/cjs/out/wechaty/puppet/moment_pb.js +87 -1406
- package/dist/cjs/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.js +1319 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +72 -72
- package/dist/cjs/out/wechaty/puppet.swagger.json +97 -97
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +103 -103
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/dist/cjs/out/wechaty/puppet_pb_service.js +25 -24
- package/dist/cjs/proto/wechaty/puppet/moment.proto +0 -33
- package/dist/cjs/proto/wechaty/puppet/post.proto +34 -0
- package/dist/cjs/proto/wechaty/puppet.proto +9 -9
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +4 -4
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +0 -172
- package/dist/esm/out/wechaty/puppet/moment_pb.js +87 -1406
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/dist/esm/out/wechaty/puppet/post_pb.js +1319 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +72 -72
- package/dist/esm/out/wechaty/puppet.swagger.json +97 -97
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +103 -103
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/dist/esm/out/wechaty/puppet_pb_service.js +25 -24
- package/dist/esm/proto/wechaty/puppet/moment.proto +0 -33
- package/dist/esm/proto/wechaty/puppet/post.proto +34 -0
- package/dist/esm/proto/wechaty/puppet.proto +9 -9
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/tests/puppet-server-impl.js +4 -4
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/moment_pb.d.ts +0 -172
- package/out/wechaty/puppet/moment_pb.js +87 -1406
- package/out/wechaty/puppet/post_pb.d.ts +172 -0
- package/out/wechaty/puppet/post_pb.js +1319 -0
- package/out/wechaty/puppet.openapi.yaml +72 -72
- package/out/wechaty/puppet.swagger.json +97 -97
- package/out/wechaty/puppet_grpc_pb.d.ts +56 -56
- package/out/wechaty/puppet_grpc_pb.js +103 -103
- package/out/wechaty/puppet_pb_service.d.ts +41 -40
- package/out/wechaty/puppet_pb_service.js +25 -24
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -9,7 +9,7 @@ info:
|
|
|
9
9
|
|
|
10
10
|
Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
|
|
11
11
|
top of the Wechaty Puppet Abstraction and the gRPC proto definition.
|
|
12
|
-
version: 1.0.
|
|
12
|
+
version: 1.0.19
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -998,14 +998,14 @@ paths:
|
|
|
998
998
|
type: string
|
|
999
999
|
tags:
|
|
1000
1000
|
- Puppet
|
|
1001
|
-
/moment/
|
|
1001
|
+
/moment/coverage:
|
|
1002
1002
|
post:
|
|
1003
|
-
operationId:
|
|
1003
|
+
operationId: Puppet_momentCoverage
|
|
1004
1004
|
responses:
|
|
1005
1005
|
'200':
|
|
1006
1006
|
description: A successful response.
|
|
1007
1007
|
schema:
|
|
1008
|
-
$ref: '#/definitions/
|
|
1008
|
+
$ref: '#/definitions/puppetMomentCoverageResponse'
|
|
1009
1009
|
default:
|
|
1010
1010
|
description: An unexpected error response.
|
|
1011
1011
|
schema:
|
|
@@ -1015,17 +1015,17 @@ paths:
|
|
|
1015
1015
|
in: body
|
|
1016
1016
|
required: true
|
|
1017
1017
|
schema:
|
|
1018
|
-
$ref: '#/definitions/
|
|
1018
|
+
$ref: '#/definitions/puppetMomentCoverageRequest'
|
|
1019
1019
|
tags:
|
|
1020
1020
|
- Puppet
|
|
1021
|
-
/moment/
|
|
1021
|
+
/moment/publish:
|
|
1022
1022
|
post:
|
|
1023
|
-
operationId:
|
|
1023
|
+
operationId: Puppet_momentPublish
|
|
1024
1024
|
responses:
|
|
1025
1025
|
'200':
|
|
1026
1026
|
description: A successful response.
|
|
1027
1027
|
schema:
|
|
1028
|
-
$ref: '#/definitions/
|
|
1028
|
+
$ref: '#/definitions/puppetMomentPublishResponse'
|
|
1029
1029
|
default:
|
|
1030
1030
|
description: An unexpected error response.
|
|
1031
1031
|
schema:
|
|
@@ -1035,17 +1035,17 @@ paths:
|
|
|
1035
1035
|
in: body
|
|
1036
1036
|
required: true
|
|
1037
1037
|
schema:
|
|
1038
|
-
$ref: '#/definitions/
|
|
1038
|
+
$ref: '#/definitions/puppetMomentPublishRequest'
|
|
1039
1039
|
tags:
|
|
1040
1040
|
- Puppet
|
|
1041
|
-
/moment/
|
|
1041
|
+
/moment/signature:
|
|
1042
1042
|
post:
|
|
1043
|
-
operationId:
|
|
1043
|
+
operationId: Puppet_momentSignature
|
|
1044
1044
|
responses:
|
|
1045
1045
|
'200':
|
|
1046
1046
|
description: A successful response.
|
|
1047
1047
|
schema:
|
|
1048
|
-
$ref: '#/definitions/
|
|
1048
|
+
$ref: '#/definitions/puppetMomentSignatureResponse'
|
|
1049
1049
|
default:
|
|
1050
1050
|
description: An unexpected error response.
|
|
1051
1051
|
schema:
|
|
@@ -1055,17 +1055,17 @@ paths:
|
|
|
1055
1055
|
in: body
|
|
1056
1056
|
required: true
|
|
1057
1057
|
schema:
|
|
1058
|
-
$ref: '#/definitions/
|
|
1058
|
+
$ref: '#/definitions/puppetMomentSignatureRequest'
|
|
1059
1059
|
tags:
|
|
1060
1060
|
- Puppet
|
|
1061
|
-
/
|
|
1061
|
+
/post/comment:
|
|
1062
1062
|
post:
|
|
1063
|
-
operationId:
|
|
1063
|
+
operationId: Puppet_postComment
|
|
1064
1064
|
responses:
|
|
1065
1065
|
'200':
|
|
1066
1066
|
description: A successful response.
|
|
1067
1067
|
schema:
|
|
1068
|
-
$ref: '#/definitions/
|
|
1068
|
+
$ref: '#/definitions/puppetPostCommentResponse'
|
|
1069
1069
|
default:
|
|
1070
1070
|
description: An unexpected error response.
|
|
1071
1071
|
schema:
|
|
@@ -1075,17 +1075,17 @@ paths:
|
|
|
1075
1075
|
in: body
|
|
1076
1076
|
required: true
|
|
1077
1077
|
schema:
|
|
1078
|
-
$ref: '#/definitions/
|
|
1078
|
+
$ref: '#/definitions/puppetPostCommentRequest'
|
|
1079
1079
|
tags:
|
|
1080
1080
|
- Puppet
|
|
1081
|
-
/
|
|
1081
|
+
/post/like:
|
|
1082
1082
|
post:
|
|
1083
|
-
operationId:
|
|
1083
|
+
operationId: Puppet_postLike
|
|
1084
1084
|
responses:
|
|
1085
1085
|
'200':
|
|
1086
1086
|
description: A successful response.
|
|
1087
1087
|
schema:
|
|
1088
|
-
$ref: '#/definitions/
|
|
1088
|
+
$ref: '#/definitions/puppetPostLikeResponse'
|
|
1089
1089
|
default:
|
|
1090
1090
|
description: An unexpected error response.
|
|
1091
1091
|
schema:
|
|
@@ -1095,17 +1095,17 @@ paths:
|
|
|
1095
1095
|
in: body
|
|
1096
1096
|
required: true
|
|
1097
1097
|
schema:
|
|
1098
|
-
$ref: '#/definitions/
|
|
1098
|
+
$ref: '#/definitions/puppetPostLikeRequest'
|
|
1099
1099
|
tags:
|
|
1100
1100
|
- Puppet
|
|
1101
|
-
/
|
|
1101
|
+
/post/payload:
|
|
1102
1102
|
post:
|
|
1103
|
-
operationId:
|
|
1103
|
+
operationId: Puppet_postPayload
|
|
1104
1104
|
responses:
|
|
1105
1105
|
'200':
|
|
1106
1106
|
description: A successful response.
|
|
1107
1107
|
schema:
|
|
1108
|
-
$ref: '#/definitions/
|
|
1108
|
+
$ref: '#/definitions/puppetPostPayloadResponse'
|
|
1109
1109
|
default:
|
|
1110
1110
|
description: An unexpected error response.
|
|
1111
1111
|
schema:
|
|
@@ -1115,17 +1115,17 @@ paths:
|
|
|
1115
1115
|
in: body
|
|
1116
1116
|
required: true
|
|
1117
1117
|
schema:
|
|
1118
|
-
$ref: '#/definitions/
|
|
1118
|
+
$ref: '#/definitions/puppetPostPayloadRequest'
|
|
1119
1119
|
tags:
|
|
1120
1120
|
- Puppet
|
|
1121
|
-
/
|
|
1121
|
+
/post/sayable:
|
|
1122
1122
|
post:
|
|
1123
|
-
operationId:
|
|
1123
|
+
operationId: Puppet_postPayloadSayable
|
|
1124
1124
|
responses:
|
|
1125
1125
|
'200':
|
|
1126
1126
|
description: A successful response.
|
|
1127
1127
|
schema:
|
|
1128
|
-
$ref: '#/definitions/
|
|
1128
|
+
$ref: '#/definitions/puppetPostPayloadSayableResponse'
|
|
1129
1129
|
default:
|
|
1130
1130
|
description: An unexpected error response.
|
|
1131
1131
|
schema:
|
|
@@ -1135,7 +1135,7 @@ paths:
|
|
|
1135
1135
|
in: body
|
|
1136
1136
|
required: true
|
|
1137
1137
|
schema:
|
|
1138
|
-
$ref: '#/definitions/
|
|
1138
|
+
$ref: '#/definitions/puppetPostPayloadSayableRequest'
|
|
1139
1139
|
tags:
|
|
1140
1140
|
- Puppet
|
|
1141
1141
|
'/room-invitations/{id}':
|
|
@@ -2629,20 +2629,6 @@ definitions:
|
|
|
2629
2629
|
type: string
|
|
2630
2630
|
thumbKey:
|
|
2631
2631
|
type: string
|
|
2632
|
-
puppetMomentCommentRequest:
|
|
2633
|
-
type: object
|
|
2634
|
-
properties:
|
|
2635
|
-
momentId:
|
|
2636
|
-
type: string
|
|
2637
|
-
text:
|
|
2638
|
-
type: string
|
|
2639
|
-
mentionId:
|
|
2640
|
-
type: string
|
|
2641
|
-
puppetMomentCommentResponse:
|
|
2642
|
-
type: object
|
|
2643
|
-
properties:
|
|
2644
|
-
commentId:
|
|
2645
|
-
type: string
|
|
2646
2632
|
puppetMomentCoverageRequest:
|
|
2647
2633
|
type: object
|
|
2648
2634
|
properties:
|
|
@@ -2653,35 +2639,6 @@ definitions:
|
|
|
2653
2639
|
properties:
|
|
2654
2640
|
fileBox:
|
|
2655
2641
|
type: string
|
|
2656
|
-
puppetMomentLikeRequest:
|
|
2657
|
-
type: object
|
|
2658
|
-
properties:
|
|
2659
|
-
momentId:
|
|
2660
|
-
type: string
|
|
2661
|
-
puppetMomentLikeResponse:
|
|
2662
|
-
type: object
|
|
2663
|
-
puppetMomentPayloadRequest:
|
|
2664
|
-
type: object
|
|
2665
|
-
properties:
|
|
2666
|
-
momentId:
|
|
2667
|
-
type: string
|
|
2668
|
-
puppetMomentPayloadResponse:
|
|
2669
|
-
type: object
|
|
2670
|
-
properties:
|
|
2671
|
-
moment:
|
|
2672
|
-
$ref: '#/definitions/puppetPostPayloadServer'
|
|
2673
|
-
puppetMomentPayloadSayableRequest:
|
|
2674
|
-
type: object
|
|
2675
|
-
properties:
|
|
2676
|
-
momentId:
|
|
2677
|
-
type: string
|
|
2678
|
-
sayableId:
|
|
2679
|
-
type: string
|
|
2680
|
-
puppetMomentPayloadSayableResponse:
|
|
2681
|
-
type: object
|
|
2682
|
-
properties:
|
|
2683
|
-
sayable:
|
|
2684
|
-
$ref: '#/definitions/puppetPostSayable'
|
|
2685
2642
|
puppetMomentPublishRequest:
|
|
2686
2643
|
type: object
|
|
2687
2644
|
properties:
|
|
@@ -2714,6 +2671,27 @@ definitions:
|
|
|
2714
2671
|
- PAYLOAD_TYPE_TAG
|
|
2715
2672
|
- PAYLOAD_TYPE_TAG_GROUP
|
|
2716
2673
|
default: PAYLOAD_TYPE_UNSPECIFIED
|
|
2674
|
+
puppetPostCommentRequest:
|
|
2675
|
+
type: object
|
|
2676
|
+
properties:
|
|
2677
|
+
postId:
|
|
2678
|
+
type: string
|
|
2679
|
+
text:
|
|
2680
|
+
type: string
|
|
2681
|
+
mentionId:
|
|
2682
|
+
type: string
|
|
2683
|
+
puppetPostCommentResponse:
|
|
2684
|
+
type: object
|
|
2685
|
+
properties:
|
|
2686
|
+
commentId:
|
|
2687
|
+
type: string
|
|
2688
|
+
puppetPostLikeRequest:
|
|
2689
|
+
type: object
|
|
2690
|
+
properties:
|
|
2691
|
+
postId:
|
|
2692
|
+
type: string
|
|
2693
|
+
puppetPostLikeResponse:
|
|
2694
|
+
type: object
|
|
2717
2695
|
puppetPostPayloadClient:
|
|
2718
2696
|
type: object
|
|
2719
2697
|
properties:
|
|
@@ -2727,6 +2705,28 @@ definitions:
|
|
|
2727
2705
|
type: array
|
|
2728
2706
|
items:
|
|
2729
2707
|
$ref: '#/definitions/puppetPostSayable'
|
|
2708
|
+
puppetPostPayloadRequest:
|
|
2709
|
+
type: object
|
|
2710
|
+
properties:
|
|
2711
|
+
postId:
|
|
2712
|
+
type: string
|
|
2713
|
+
puppetPostPayloadResponse:
|
|
2714
|
+
type: object
|
|
2715
|
+
properties:
|
|
2716
|
+
post:
|
|
2717
|
+
$ref: '#/definitions/puppetPostPayloadServer'
|
|
2718
|
+
puppetPostPayloadSayableRequest:
|
|
2719
|
+
type: object
|
|
2720
|
+
properties:
|
|
2721
|
+
postId:
|
|
2722
|
+
type: string
|
|
2723
|
+
sayableId:
|
|
2724
|
+
type: string
|
|
2725
|
+
puppetPostPayloadSayableResponse:
|
|
2726
|
+
type: object
|
|
2727
|
+
properties:
|
|
2728
|
+
sayable:
|
|
2729
|
+
$ref: '#/definitions/puppetPostSayable'
|
|
2730
2730
|
puppetPostPayloadServer:
|
|
2731
2731
|
type: object
|
|
2732
2732
|
properties:
|
|
@@ -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.19",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1489,14 +1489,14 @@
|
|
|
1489
1489
|
]
|
|
1490
1490
|
}
|
|
1491
1491
|
},
|
|
1492
|
-
"/moment/
|
|
1492
|
+
"/moment/coverage": {
|
|
1493
1493
|
"post": {
|
|
1494
|
-
"operationId": "
|
|
1494
|
+
"operationId": "Puppet_momentCoverage",
|
|
1495
1495
|
"responses": {
|
|
1496
1496
|
"200": {
|
|
1497
1497
|
"description": "A successful response.",
|
|
1498
1498
|
"schema": {
|
|
1499
|
-
"$ref": "#/definitions/
|
|
1499
|
+
"$ref": "#/definitions/puppetMomentCoverageResponse"
|
|
1500
1500
|
}
|
|
1501
1501
|
},
|
|
1502
1502
|
"default": {
|
|
@@ -1512,7 +1512,7 @@
|
|
|
1512
1512
|
"in": "body",
|
|
1513
1513
|
"required": true,
|
|
1514
1514
|
"schema": {
|
|
1515
|
-
"$ref": "#/definitions/
|
|
1515
|
+
"$ref": "#/definitions/puppetMomentCoverageRequest"
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
],
|
|
@@ -1521,14 +1521,14 @@
|
|
|
1521
1521
|
]
|
|
1522
1522
|
}
|
|
1523
1523
|
},
|
|
1524
|
-
"/moment/
|
|
1524
|
+
"/moment/publish": {
|
|
1525
1525
|
"post": {
|
|
1526
|
-
"operationId": "
|
|
1526
|
+
"operationId": "Puppet_momentPublish",
|
|
1527
1527
|
"responses": {
|
|
1528
1528
|
"200": {
|
|
1529
1529
|
"description": "A successful response.",
|
|
1530
1530
|
"schema": {
|
|
1531
|
-
"$ref": "#/definitions/
|
|
1531
|
+
"$ref": "#/definitions/puppetMomentPublishResponse"
|
|
1532
1532
|
}
|
|
1533
1533
|
},
|
|
1534
1534
|
"default": {
|
|
@@ -1544,7 +1544,7 @@
|
|
|
1544
1544
|
"in": "body",
|
|
1545
1545
|
"required": true,
|
|
1546
1546
|
"schema": {
|
|
1547
|
-
"$ref": "#/definitions/
|
|
1547
|
+
"$ref": "#/definitions/puppetMomentPublishRequest"
|
|
1548
1548
|
}
|
|
1549
1549
|
}
|
|
1550
1550
|
],
|
|
@@ -1553,14 +1553,14 @@
|
|
|
1553
1553
|
]
|
|
1554
1554
|
}
|
|
1555
1555
|
},
|
|
1556
|
-
"/moment/
|
|
1556
|
+
"/moment/signature": {
|
|
1557
1557
|
"post": {
|
|
1558
|
-
"operationId": "
|
|
1558
|
+
"operationId": "Puppet_momentSignature",
|
|
1559
1559
|
"responses": {
|
|
1560
1560
|
"200": {
|
|
1561
1561
|
"description": "A successful response.",
|
|
1562
1562
|
"schema": {
|
|
1563
|
-
"$ref": "#/definitions/
|
|
1563
|
+
"$ref": "#/definitions/puppetMomentSignatureResponse"
|
|
1564
1564
|
}
|
|
1565
1565
|
},
|
|
1566
1566
|
"default": {
|
|
@@ -1576,7 +1576,7 @@
|
|
|
1576
1576
|
"in": "body",
|
|
1577
1577
|
"required": true,
|
|
1578
1578
|
"schema": {
|
|
1579
|
-
"$ref": "#/definitions/
|
|
1579
|
+
"$ref": "#/definitions/puppetMomentSignatureRequest"
|
|
1580
1580
|
}
|
|
1581
1581
|
}
|
|
1582
1582
|
],
|
|
@@ -1585,14 +1585,14 @@
|
|
|
1585
1585
|
]
|
|
1586
1586
|
}
|
|
1587
1587
|
},
|
|
1588
|
-
"/
|
|
1588
|
+
"/post/comment": {
|
|
1589
1589
|
"post": {
|
|
1590
|
-
"operationId": "
|
|
1590
|
+
"operationId": "Puppet_postComment",
|
|
1591
1591
|
"responses": {
|
|
1592
1592
|
"200": {
|
|
1593
1593
|
"description": "A successful response.",
|
|
1594
1594
|
"schema": {
|
|
1595
|
-
"$ref": "#/definitions/
|
|
1595
|
+
"$ref": "#/definitions/puppetPostCommentResponse"
|
|
1596
1596
|
}
|
|
1597
1597
|
},
|
|
1598
1598
|
"default": {
|
|
@@ -1608,7 +1608,7 @@
|
|
|
1608
1608
|
"in": "body",
|
|
1609
1609
|
"required": true,
|
|
1610
1610
|
"schema": {
|
|
1611
|
-
"$ref": "#/definitions/
|
|
1611
|
+
"$ref": "#/definitions/puppetPostCommentRequest"
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
],
|
|
@@ -1617,14 +1617,14 @@
|
|
|
1617
1617
|
]
|
|
1618
1618
|
}
|
|
1619
1619
|
},
|
|
1620
|
-
"/
|
|
1620
|
+
"/post/like": {
|
|
1621
1621
|
"post": {
|
|
1622
|
-
"operationId": "
|
|
1622
|
+
"operationId": "Puppet_postLike",
|
|
1623
1623
|
"responses": {
|
|
1624
1624
|
"200": {
|
|
1625
1625
|
"description": "A successful response.",
|
|
1626
1626
|
"schema": {
|
|
1627
|
-
"$ref": "#/definitions/
|
|
1627
|
+
"$ref": "#/definitions/puppetPostLikeResponse"
|
|
1628
1628
|
}
|
|
1629
1629
|
},
|
|
1630
1630
|
"default": {
|
|
@@ -1640,7 +1640,7 @@
|
|
|
1640
1640
|
"in": "body",
|
|
1641
1641
|
"required": true,
|
|
1642
1642
|
"schema": {
|
|
1643
|
-
"$ref": "#/definitions/
|
|
1643
|
+
"$ref": "#/definitions/puppetPostLikeRequest"
|
|
1644
1644
|
}
|
|
1645
1645
|
}
|
|
1646
1646
|
],
|
|
@@ -1649,14 +1649,14 @@
|
|
|
1649
1649
|
]
|
|
1650
1650
|
}
|
|
1651
1651
|
},
|
|
1652
|
-
"/
|
|
1652
|
+
"/post/payload": {
|
|
1653
1653
|
"post": {
|
|
1654
|
-
"operationId": "
|
|
1654
|
+
"operationId": "Puppet_postPayload",
|
|
1655
1655
|
"responses": {
|
|
1656
1656
|
"200": {
|
|
1657
1657
|
"description": "A successful response.",
|
|
1658
1658
|
"schema": {
|
|
1659
|
-
"$ref": "#/definitions/
|
|
1659
|
+
"$ref": "#/definitions/puppetPostPayloadResponse"
|
|
1660
1660
|
}
|
|
1661
1661
|
},
|
|
1662
1662
|
"default": {
|
|
@@ -1672,7 +1672,7 @@
|
|
|
1672
1672
|
"in": "body",
|
|
1673
1673
|
"required": true,
|
|
1674
1674
|
"schema": {
|
|
1675
|
-
"$ref": "#/definitions/
|
|
1675
|
+
"$ref": "#/definitions/puppetPostPayloadRequest"
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
1678
|
],
|
|
@@ -1681,14 +1681,14 @@
|
|
|
1681
1681
|
]
|
|
1682
1682
|
}
|
|
1683
1683
|
},
|
|
1684
|
-
"/
|
|
1684
|
+
"/post/sayable": {
|
|
1685
1685
|
"post": {
|
|
1686
|
-
"operationId": "
|
|
1686
|
+
"operationId": "Puppet_postPayloadSayable",
|
|
1687
1687
|
"responses": {
|
|
1688
1688
|
"200": {
|
|
1689
1689
|
"description": "A successful response.",
|
|
1690
1690
|
"schema": {
|
|
1691
|
-
"$ref": "#/definitions/
|
|
1691
|
+
"$ref": "#/definitions/puppetPostPayloadSayableResponse"
|
|
1692
1692
|
}
|
|
1693
1693
|
},
|
|
1694
1694
|
"default": {
|
|
@@ -1704,7 +1704,7 @@
|
|
|
1704
1704
|
"in": "body",
|
|
1705
1705
|
"required": true,
|
|
1706
1706
|
"schema": {
|
|
1707
|
-
"$ref": "#/definitions/
|
|
1707
|
+
"$ref": "#/definitions/puppetPostPayloadSayableRequest"
|
|
1708
1708
|
}
|
|
1709
1709
|
}
|
|
1710
1710
|
],
|
|
@@ -3821,28 +3821,6 @@
|
|
|
3821
3821
|
}
|
|
3822
3822
|
}
|
|
3823
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
3824
|
"puppetMomentCoverageRequest": {
|
|
3847
3825
|
"type": "object",
|
|
3848
3826
|
"properties": {
|
|
@@ -3859,52 +3837,6 @@
|
|
|
3859
3837
|
}
|
|
3860
3838
|
}
|
|
3861
3839
|
},
|
|
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
3840
|
"puppetMomentPublishRequest": {
|
|
3909
3841
|
"type": "object",
|
|
3910
3842
|
"properties": {
|
|
@@ -3951,6 +3883,39 @@
|
|
|
3951
3883
|
],
|
|
3952
3884
|
"default": "PAYLOAD_TYPE_UNSPECIFIED"
|
|
3953
3885
|
},
|
|
3886
|
+
"puppetPostCommentRequest": {
|
|
3887
|
+
"type": "object",
|
|
3888
|
+
"properties": {
|
|
3889
|
+
"postId": {
|
|
3890
|
+
"type": "string"
|
|
3891
|
+
},
|
|
3892
|
+
"text": {
|
|
3893
|
+
"type": "string"
|
|
3894
|
+
},
|
|
3895
|
+
"mentionId": {
|
|
3896
|
+
"type": "string"
|
|
3897
|
+
}
|
|
3898
|
+
}
|
|
3899
|
+
},
|
|
3900
|
+
"puppetPostCommentResponse": {
|
|
3901
|
+
"type": "object",
|
|
3902
|
+
"properties": {
|
|
3903
|
+
"commentId": {
|
|
3904
|
+
"type": "string"
|
|
3905
|
+
}
|
|
3906
|
+
}
|
|
3907
|
+
},
|
|
3908
|
+
"puppetPostLikeRequest": {
|
|
3909
|
+
"type": "object",
|
|
3910
|
+
"properties": {
|
|
3911
|
+
"postId": {
|
|
3912
|
+
"type": "string"
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
},
|
|
3916
|
+
"puppetPostLikeResponse": {
|
|
3917
|
+
"type": "object"
|
|
3918
|
+
},
|
|
3954
3919
|
"puppetPostPayloadClient": {
|
|
3955
3920
|
"type": "object",
|
|
3956
3921
|
"properties": {
|
|
@@ -3971,6 +3936,41 @@
|
|
|
3971
3936
|
}
|
|
3972
3937
|
}
|
|
3973
3938
|
},
|
|
3939
|
+
"puppetPostPayloadRequest": {
|
|
3940
|
+
"type": "object",
|
|
3941
|
+
"properties": {
|
|
3942
|
+
"postId": {
|
|
3943
|
+
"type": "string"
|
|
3944
|
+
}
|
|
3945
|
+
}
|
|
3946
|
+
},
|
|
3947
|
+
"puppetPostPayloadResponse": {
|
|
3948
|
+
"type": "object",
|
|
3949
|
+
"properties": {
|
|
3950
|
+
"post": {
|
|
3951
|
+
"$ref": "#/definitions/puppetPostPayloadServer"
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
},
|
|
3955
|
+
"puppetPostPayloadSayableRequest": {
|
|
3956
|
+
"type": "object",
|
|
3957
|
+
"properties": {
|
|
3958
|
+
"postId": {
|
|
3959
|
+
"type": "string"
|
|
3960
|
+
},
|
|
3961
|
+
"sayableId": {
|
|
3962
|
+
"type": "string"
|
|
3963
|
+
}
|
|
3964
|
+
}
|
|
3965
|
+
},
|
|
3966
|
+
"puppetPostPayloadSayableResponse": {
|
|
3967
|
+
"type": "object",
|
|
3968
|
+
"properties": {
|
|
3969
|
+
"sayable": {
|
|
3970
|
+
"$ref": "#/definitions/puppetPostSayable"
|
|
3971
|
+
}
|
|
3972
|
+
}
|
|
3973
|
+
},
|
|
3974
3974
|
"puppetPostPayloadServer": {
|
|
3975
3975
|
"type": "object",
|
|
3976
3976
|
"properties": {
|