@juzi/wechaty-grpc 1.0.23 → 1.0.24
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/post_pb.d.ts +4 -0
- package/dist/cjs/out/wechaty/puppet/post_pb.js +30 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +7 -2
- package/dist/cjs/proto/wechaty/puppet/post.proto +1 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/post_pb.d.ts +4 -0
- package/dist/esm/out/wechaty/puppet/post_pb.js +30 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +7 -2
- package/dist/esm/proto/wechaty/puppet/post.proto +1 -0
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/post_pb.d.ts +4 -0
- package/out/wechaty/puppet/post_pb.js +30 -1
- package/out/wechaty/puppet.openapi.yaml +4 -1
- package/out/wechaty/puppet.swagger.json +7 -2
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -217,6 +217,9 @@ export namespace PostLikeRequest {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export class PostLikeResponse extends jspb.Message {
|
|
220
|
+
getTapId(): string;
|
|
221
|
+
setTapId(value: string): void;
|
|
222
|
+
|
|
220
223
|
serializeBinary(): Uint8Array;
|
|
221
224
|
toObject(includeInstance?: boolean): PostLikeResponse.AsObject;
|
|
222
225
|
static toObject(includeInstance: boolean, msg: PostLikeResponse): PostLikeResponse.AsObject;
|
|
@@ -229,6 +232,7 @@ export class PostLikeResponse extends jspb.Message {
|
|
|
229
232
|
|
|
230
233
|
export namespace PostLikeResponse {
|
|
231
234
|
export type AsObject = {
|
|
235
|
+
tapId: string,
|
|
232
236
|
}
|
|
233
237
|
}
|
|
234
238
|
|
|
@@ -1822,7 +1822,7 @@ proto.wechaty.puppet.PostLikeResponse.prototype.toObject = function(opt_includeI
|
|
|
1822
1822
|
*/
|
|
1823
1823
|
proto.wechaty.puppet.PostLikeResponse.toObject = function(includeInstance, msg) {
|
|
1824
1824
|
var f, obj = {
|
|
1825
|
-
|
|
1825
|
+
tapId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
1828
|
if (includeInstance) {
|
|
@@ -1859,6 +1859,10 @@ proto.wechaty.puppet.PostLikeResponse.deserializeBinaryFromReader = function(msg
|
|
|
1859
1859
|
}
|
|
1860
1860
|
var field = reader.getFieldNumber();
|
|
1861
1861
|
switch (field) {
|
|
1862
|
+
case 1:
|
|
1863
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1864
|
+
msg.setTapId(value);
|
|
1865
|
+
break;
|
|
1862
1866
|
default:
|
|
1863
1867
|
reader.skipField();
|
|
1864
1868
|
break;
|
|
@@ -1888,6 +1892,31 @@ proto.wechaty.puppet.PostLikeResponse.prototype.serializeBinary = function() {
|
|
|
1888
1892
|
*/
|
|
1889
1893
|
proto.wechaty.puppet.PostLikeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1890
1894
|
var f = undefined;
|
|
1895
|
+
f = message.getTapId();
|
|
1896
|
+
if (f.length > 0) {
|
|
1897
|
+
writer.writeString(
|
|
1898
|
+
1,
|
|
1899
|
+
f
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
};
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* optional string tap_id = 1;
|
|
1907
|
+
* @return {string}
|
|
1908
|
+
*/
|
|
1909
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.getTapId = function() {
|
|
1910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @param {string} value
|
|
1916
|
+
* @return {!proto.wechaty.puppet.PostLikeResponse} returns this
|
|
1917
|
+
*/
|
|
1918
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.setTapId = function(value) {
|
|
1919
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1891
1920
|
};
|
|
1892
1921
|
|
|
1893
1922
|
|
|
@@ -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.24
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2696,6 +2696,9 @@ definitions:
|
|
|
2696
2696
|
type: string
|
|
2697
2697
|
puppetPostLikeResponse:
|
|
2698
2698
|
type: object
|
|
2699
|
+
properties:
|
|
2700
|
+
tapId:
|
|
2701
|
+
type: string
|
|
2699
2702
|
puppetPostPayloadClient:
|
|
2700
2703
|
type: object
|
|
2701
2704
|
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.24",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3919,7 +3919,12 @@
|
|
|
3919
3919
|
}
|
|
3920
3920
|
},
|
|
3921
3921
|
"puppetPostLikeResponse": {
|
|
3922
|
-
"type": "object"
|
|
3922
|
+
"type": "object",
|
|
3923
|
+
"properties": {
|
|
3924
|
+
"tapId": {
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3923
3928
|
},
|
|
3924
3929
|
"puppetPostPayloadClient": {
|
|
3925
3930
|
"type": "object",
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.packageJson = void 0;
|
|
4
4
|
exports.packageJson = {
|
|
5
5
|
"name": "@juzi/wechaty-grpc",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.24",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -217,6 +217,9 @@ export namespace PostLikeRequest {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export class PostLikeResponse extends jspb.Message {
|
|
220
|
+
getTapId(): string;
|
|
221
|
+
setTapId(value: string): void;
|
|
222
|
+
|
|
220
223
|
serializeBinary(): Uint8Array;
|
|
221
224
|
toObject(includeInstance?: boolean): PostLikeResponse.AsObject;
|
|
222
225
|
static toObject(includeInstance: boolean, msg: PostLikeResponse): PostLikeResponse.AsObject;
|
|
@@ -229,6 +232,7 @@ export class PostLikeResponse extends jspb.Message {
|
|
|
229
232
|
|
|
230
233
|
export namespace PostLikeResponse {
|
|
231
234
|
export type AsObject = {
|
|
235
|
+
tapId: string,
|
|
232
236
|
}
|
|
233
237
|
}
|
|
234
238
|
|
|
@@ -1822,7 +1822,7 @@ proto.wechaty.puppet.PostLikeResponse.prototype.toObject = function(opt_includeI
|
|
|
1822
1822
|
*/
|
|
1823
1823
|
proto.wechaty.puppet.PostLikeResponse.toObject = function(includeInstance, msg) {
|
|
1824
1824
|
var f, obj = {
|
|
1825
|
-
|
|
1825
|
+
tapId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
1828
|
if (includeInstance) {
|
|
@@ -1859,6 +1859,10 @@ proto.wechaty.puppet.PostLikeResponse.deserializeBinaryFromReader = function(msg
|
|
|
1859
1859
|
}
|
|
1860
1860
|
var field = reader.getFieldNumber();
|
|
1861
1861
|
switch (field) {
|
|
1862
|
+
case 1:
|
|
1863
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1864
|
+
msg.setTapId(value);
|
|
1865
|
+
break;
|
|
1862
1866
|
default:
|
|
1863
1867
|
reader.skipField();
|
|
1864
1868
|
break;
|
|
@@ -1888,6 +1892,31 @@ proto.wechaty.puppet.PostLikeResponse.prototype.serializeBinary = function() {
|
|
|
1888
1892
|
*/
|
|
1889
1893
|
proto.wechaty.puppet.PostLikeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1890
1894
|
var f = undefined;
|
|
1895
|
+
f = message.getTapId();
|
|
1896
|
+
if (f.length > 0) {
|
|
1897
|
+
writer.writeString(
|
|
1898
|
+
1,
|
|
1899
|
+
f
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
};
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* optional string tap_id = 1;
|
|
1907
|
+
* @return {string}
|
|
1908
|
+
*/
|
|
1909
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.getTapId = function() {
|
|
1910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @param {string} value
|
|
1916
|
+
* @return {!proto.wechaty.puppet.PostLikeResponse} returns this
|
|
1917
|
+
*/
|
|
1918
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.setTapId = function(value) {
|
|
1919
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1891
1920
|
};
|
|
1892
1921
|
|
|
1893
1922
|
|
|
@@ -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.24
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2696,6 +2696,9 @@ definitions:
|
|
|
2696
2696
|
type: string
|
|
2697
2697
|
puppetPostLikeResponse:
|
|
2698
2698
|
type: object
|
|
2699
|
+
properties:
|
|
2700
|
+
tapId:
|
|
2701
|
+
type: string
|
|
2699
2702
|
puppetPostPayloadClient:
|
|
2700
2703
|
type: object
|
|
2701
2704
|
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.24",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3919,7 +3919,12 @@
|
|
|
3919
3919
|
}
|
|
3920
3920
|
},
|
|
3921
3921
|
"puppetPostLikeResponse": {
|
|
3922
|
-
"type": "object"
|
|
3922
|
+
"type": "object",
|
|
3923
|
+
"properties": {
|
|
3924
|
+
"tapId": {
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3923
3928
|
},
|
|
3924
3929
|
"puppetPostPayloadClient": {
|
|
3925
3930
|
"type": "object",
|
|
@@ -217,6 +217,9 @@ export namespace PostLikeRequest {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export class PostLikeResponse extends jspb.Message {
|
|
220
|
+
getTapId(): string;
|
|
221
|
+
setTapId(value: string): void;
|
|
222
|
+
|
|
220
223
|
serializeBinary(): Uint8Array;
|
|
221
224
|
toObject(includeInstance?: boolean): PostLikeResponse.AsObject;
|
|
222
225
|
static toObject(includeInstance: boolean, msg: PostLikeResponse): PostLikeResponse.AsObject;
|
|
@@ -229,6 +232,7 @@ export class PostLikeResponse extends jspb.Message {
|
|
|
229
232
|
|
|
230
233
|
export namespace PostLikeResponse {
|
|
231
234
|
export type AsObject = {
|
|
235
|
+
tapId: string,
|
|
232
236
|
}
|
|
233
237
|
}
|
|
234
238
|
|
|
@@ -1822,7 +1822,7 @@ proto.wechaty.puppet.PostLikeResponse.prototype.toObject = function(opt_includeI
|
|
|
1822
1822
|
*/
|
|
1823
1823
|
proto.wechaty.puppet.PostLikeResponse.toObject = function(includeInstance, msg) {
|
|
1824
1824
|
var f, obj = {
|
|
1825
|
-
|
|
1825
|
+
tapId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
1828
|
if (includeInstance) {
|
|
@@ -1859,6 +1859,10 @@ proto.wechaty.puppet.PostLikeResponse.deserializeBinaryFromReader = function(msg
|
|
|
1859
1859
|
}
|
|
1860
1860
|
var field = reader.getFieldNumber();
|
|
1861
1861
|
switch (field) {
|
|
1862
|
+
case 1:
|
|
1863
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1864
|
+
msg.setTapId(value);
|
|
1865
|
+
break;
|
|
1862
1866
|
default:
|
|
1863
1867
|
reader.skipField();
|
|
1864
1868
|
break;
|
|
@@ -1888,6 +1892,31 @@ proto.wechaty.puppet.PostLikeResponse.prototype.serializeBinary = function() {
|
|
|
1888
1892
|
*/
|
|
1889
1893
|
proto.wechaty.puppet.PostLikeResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1890
1894
|
var f = undefined;
|
|
1895
|
+
f = message.getTapId();
|
|
1896
|
+
if (f.length > 0) {
|
|
1897
|
+
writer.writeString(
|
|
1898
|
+
1,
|
|
1899
|
+
f
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
};
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/**
|
|
1906
|
+
* optional string tap_id = 1;
|
|
1907
|
+
* @return {string}
|
|
1908
|
+
*/
|
|
1909
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.getTapId = function() {
|
|
1910
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @param {string} value
|
|
1916
|
+
* @return {!proto.wechaty.puppet.PostLikeResponse} returns this
|
|
1917
|
+
*/
|
|
1918
|
+
proto.wechaty.puppet.PostLikeResponse.prototype.setTapId = function(value) {
|
|
1919
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1891
1920
|
};
|
|
1892
1921
|
|
|
1893
1922
|
|
|
@@ -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.24
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -2696,6 +2696,9 @@ definitions:
|
|
|
2696
2696
|
type: string
|
|
2697
2697
|
puppetPostLikeResponse:
|
|
2698
2698
|
type: object
|
|
2699
|
+
properties:
|
|
2700
|
+
tapId:
|
|
2701
|
+
type: string
|
|
2699
2702
|
puppetPostPayloadClient:
|
|
2700
2703
|
type: object
|
|
2701
2704
|
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.24",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -3919,7 +3919,12 @@
|
|
|
3919
3919
|
}
|
|
3920
3920
|
},
|
|
3921
3921
|
"puppetPostLikeResponse": {
|
|
3922
|
-
"type": "object"
|
|
3922
|
+
"type": "object",
|
|
3923
|
+
"properties": {
|
|
3924
|
+
"tapId": {
|
|
3925
|
+
"type": "string"
|
|
3926
|
+
}
|
|
3927
|
+
}
|
|
3923
3928
|
},
|
|
3924
3929
|
"puppetPostPayloadClient": {
|
|
3925
3930
|
"type": "object",
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED