@juzi/wechaty-grpc 1.0.83 → 1.0.84
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/room_pb.d.ts +7 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +54 -1
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +5 -1
- package/dist/cjs/proto/wechaty/puppet/room.proto +2 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +7 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +54 -1
- package/dist/esm/out/wechaty/puppet.openapi.yaml +4 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +5 -1
- package/dist/esm/proto/wechaty/puppet/room.proto +2 -0
- package/dist/esm/src/package-json.js +1 -1
- package/out/wechaty/puppet/room_pb.d.ts +7 -0
- package/out/wechaty/puppet/room_pb.js +54 -1
- package/out/wechaty/puppet.openapi.yaml +4 -1
- package/out/wechaty/puppet.swagger.json +5 -1
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
7
|
import * as wechaty_puppet_util_pb from "../../wechaty/puppet/util_pb";
|
|
7
8
|
|
|
8
9
|
export class RoomListRequest extends jspb.Message {
|
|
@@ -98,6 +99,11 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
98
99
|
getExternal(): boolean;
|
|
99
100
|
setExternal(value: boolean): void;
|
|
100
101
|
|
|
102
|
+
hasCreateTime(): boolean;
|
|
103
|
+
clearCreateTime(): void;
|
|
104
|
+
getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
105
|
+
setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
106
|
+
|
|
101
107
|
serializeBinary(): Uint8Array;
|
|
102
108
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
103
109
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -120,6 +126,7 @@ export namespace RoomPayloadResponse {
|
|
|
120
126
|
additionalInfo: string,
|
|
121
127
|
roomRemark: string,
|
|
122
128
|
external: boolean,
|
|
129
|
+
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -17,6 +17,8 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
20
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
22
|
var wechaty_puppet_util_pb = require('../../wechaty/puppet/util_pb.js');
|
|
21
23
|
goog.object.extend(proto, wechaty_puppet_util_pb);
|
|
22
24
|
goog.exportSymbol('proto.wechaty.puppet.RoomAddRequest', null, global);
|
|
@@ -1114,7 +1116,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1114
1116
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1117
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
1118
|
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
-
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1119
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
1120
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1118
1121
|
};
|
|
1119
1122
|
|
|
1120
1123
|
if (includeInstance) {
|
|
@@ -1191,6 +1194,11 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1191
1194
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
1195
|
msg.setExternal(value);
|
|
1193
1196
|
break;
|
|
1197
|
+
case 11:
|
|
1198
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1199
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1200
|
+
msg.setCreateTime(value);
|
|
1201
|
+
break;
|
|
1194
1202
|
default:
|
|
1195
1203
|
reader.skipField();
|
|
1196
1204
|
break;
|
|
@@ -1290,6 +1298,14 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1290
1298
|
f
|
|
1291
1299
|
);
|
|
1292
1300
|
}
|
|
1301
|
+
f = message.getCreateTime();
|
|
1302
|
+
if (f != null) {
|
|
1303
|
+
writer.writeMessage(
|
|
1304
|
+
11,
|
|
1305
|
+
f,
|
|
1306
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1307
|
+
);
|
|
1308
|
+
}
|
|
1293
1309
|
};
|
|
1294
1310
|
|
|
1295
1311
|
|
|
@@ -1511,6 +1527,43 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value)
|
|
|
1511
1527
|
};
|
|
1512
1528
|
|
|
1513
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* optional google.protobuf.Timestamp create_time = 11;
|
|
1532
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1533
|
+
*/
|
|
1534
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getCreateTime = function() {
|
|
1535
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1536
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1542
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1543
|
+
*/
|
|
1544
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setCreateTime = function(value) {
|
|
1545
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Clears the message field making it undefined.
|
|
1551
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1552
|
+
*/
|
|
1553
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.clearCreateTime = function() {
|
|
1554
|
+
return this.setCreateTime(undefined);
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Returns whether this field is set.
|
|
1560
|
+
* @return {boolean}
|
|
1561
|
+
*/
|
|
1562
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.hasCreateTime = function() {
|
|
1563
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1514
1567
|
|
|
1515
1568
|
|
|
1516
1569
|
|
|
@@ -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.84
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -4105,6 +4105,9 @@ definitions:
|
|
|
4105
4105
|
type: string
|
|
4106
4106
|
external:
|
|
4107
4107
|
type: boolean
|
|
4108
|
+
createTime:
|
|
4109
|
+
type: string
|
|
4110
|
+
format: date-time
|
|
4108
4111
|
puppetRoomPermissionResponse:
|
|
4109
4112
|
type: object
|
|
4110
4113
|
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.84",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5821,6 +5821,10 @@
|
|
|
5821
5821
|
},
|
|
5822
5822
|
"external": {
|
|
5823
5823
|
"type": "boolean"
|
|
5824
|
+
},
|
|
5825
|
+
"createTime": {
|
|
5826
|
+
"type": "string",
|
|
5827
|
+
"format": "date-time"
|
|
5824
5828
|
}
|
|
5825
5829
|
}
|
|
5826
5830
|
},
|
|
@@ -6,6 +6,7 @@ option java_package = "io.github.wechaty.grpc.puppet";
|
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
8
|
import "google/protobuf/wrappers.proto";
|
|
9
|
+
import "google/protobuf/timestamp.proto";
|
|
9
10
|
|
|
10
11
|
import "wechaty/puppet/util.proto";
|
|
11
12
|
|
|
@@ -28,6 +29,7 @@ message RoomPayloadResponse {
|
|
|
28
29
|
string additional_info = 8;
|
|
29
30
|
string room_remark = 9;
|
|
30
31
|
bool external = 10;
|
|
32
|
+
google.protobuf.Timestamp create_time = 11;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
message RoomAddRequest {
|
|
@@ -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.84",
|
|
7
7
|
"description": "gRPC for Wechaty",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"exports": {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
7
|
import * as wechaty_puppet_util_pb from "../../wechaty/puppet/util_pb";
|
|
7
8
|
|
|
8
9
|
export class RoomListRequest extends jspb.Message {
|
|
@@ -98,6 +99,11 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
98
99
|
getExternal(): boolean;
|
|
99
100
|
setExternal(value: boolean): void;
|
|
100
101
|
|
|
102
|
+
hasCreateTime(): boolean;
|
|
103
|
+
clearCreateTime(): void;
|
|
104
|
+
getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
105
|
+
setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
106
|
+
|
|
101
107
|
serializeBinary(): Uint8Array;
|
|
102
108
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
103
109
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -120,6 +126,7 @@ export namespace RoomPayloadResponse {
|
|
|
120
126
|
additionalInfo: string,
|
|
121
127
|
roomRemark: string,
|
|
122
128
|
external: boolean,
|
|
129
|
+
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -17,6 +17,8 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
20
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
22
|
var wechaty_puppet_util_pb = require('../../wechaty/puppet/util_pb.js');
|
|
21
23
|
goog.object.extend(proto, wechaty_puppet_util_pb);
|
|
22
24
|
goog.exportSymbol('proto.wechaty.puppet.RoomAddRequest', null, global);
|
|
@@ -1114,7 +1116,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1114
1116
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1117
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
1118
|
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
-
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1119
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
1120
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1118
1121
|
};
|
|
1119
1122
|
|
|
1120
1123
|
if (includeInstance) {
|
|
@@ -1191,6 +1194,11 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1191
1194
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
1195
|
msg.setExternal(value);
|
|
1193
1196
|
break;
|
|
1197
|
+
case 11:
|
|
1198
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1199
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1200
|
+
msg.setCreateTime(value);
|
|
1201
|
+
break;
|
|
1194
1202
|
default:
|
|
1195
1203
|
reader.skipField();
|
|
1196
1204
|
break;
|
|
@@ -1290,6 +1298,14 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1290
1298
|
f
|
|
1291
1299
|
);
|
|
1292
1300
|
}
|
|
1301
|
+
f = message.getCreateTime();
|
|
1302
|
+
if (f != null) {
|
|
1303
|
+
writer.writeMessage(
|
|
1304
|
+
11,
|
|
1305
|
+
f,
|
|
1306
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1307
|
+
);
|
|
1308
|
+
}
|
|
1293
1309
|
};
|
|
1294
1310
|
|
|
1295
1311
|
|
|
@@ -1511,6 +1527,43 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value)
|
|
|
1511
1527
|
};
|
|
1512
1528
|
|
|
1513
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* optional google.protobuf.Timestamp create_time = 11;
|
|
1532
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1533
|
+
*/
|
|
1534
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getCreateTime = function() {
|
|
1535
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1536
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1542
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1543
|
+
*/
|
|
1544
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setCreateTime = function(value) {
|
|
1545
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Clears the message field making it undefined.
|
|
1551
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1552
|
+
*/
|
|
1553
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.clearCreateTime = function() {
|
|
1554
|
+
return this.setCreateTime(undefined);
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Returns whether this field is set.
|
|
1560
|
+
* @return {boolean}
|
|
1561
|
+
*/
|
|
1562
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.hasCreateTime = function() {
|
|
1563
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1514
1567
|
|
|
1515
1568
|
|
|
1516
1569
|
|
|
@@ -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.84
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -4105,6 +4105,9 @@ definitions:
|
|
|
4105
4105
|
type: string
|
|
4106
4106
|
external:
|
|
4107
4107
|
type: boolean
|
|
4108
|
+
createTime:
|
|
4109
|
+
type: string
|
|
4110
|
+
format: date-time
|
|
4108
4111
|
puppetRoomPermissionResponse:
|
|
4109
4112
|
type: object
|
|
4110
4113
|
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.84",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5821,6 +5821,10 @@
|
|
|
5821
5821
|
},
|
|
5822
5822
|
"external": {
|
|
5823
5823
|
"type": "boolean"
|
|
5824
|
+
},
|
|
5825
|
+
"createTime": {
|
|
5826
|
+
"type": "string",
|
|
5827
|
+
"format": "date-time"
|
|
5824
5828
|
}
|
|
5825
5829
|
}
|
|
5826
5830
|
},
|
|
@@ -6,6 +6,7 @@ option java_package = "io.github.wechaty.grpc.puppet";
|
|
|
6
6
|
option csharp_namespace = "github.wechaty.grpc.puppet";
|
|
7
7
|
|
|
8
8
|
import "google/protobuf/wrappers.proto";
|
|
9
|
+
import "google/protobuf/timestamp.proto";
|
|
9
10
|
|
|
10
11
|
import "wechaty/puppet/util.proto";
|
|
11
12
|
|
|
@@ -28,6 +29,7 @@ message RoomPayloadResponse {
|
|
|
28
29
|
string additional_info = 8;
|
|
29
30
|
string room_remark = 9;
|
|
30
31
|
bool external = 10;
|
|
32
|
+
google.protobuf.Timestamp create_time = 11;
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
message RoomAddRequest {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
7
|
import * as wechaty_puppet_util_pb from "../../wechaty/puppet/util_pb";
|
|
7
8
|
|
|
8
9
|
export class RoomListRequest extends jspb.Message {
|
|
@@ -98,6 +99,11 @@ export class RoomPayloadResponse extends jspb.Message {
|
|
|
98
99
|
getExternal(): boolean;
|
|
99
100
|
setExternal(value: boolean): void;
|
|
100
101
|
|
|
102
|
+
hasCreateTime(): boolean;
|
|
103
|
+
clearCreateTime(): void;
|
|
104
|
+
getCreateTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
105
|
+
setCreateTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
106
|
+
|
|
101
107
|
serializeBinary(): Uint8Array;
|
|
102
108
|
toObject(includeInstance?: boolean): RoomPayloadResponse.AsObject;
|
|
103
109
|
static toObject(includeInstance: boolean, msg: RoomPayloadResponse): RoomPayloadResponse.AsObject;
|
|
@@ -120,6 +126,7 @@ export namespace RoomPayloadResponse {
|
|
|
120
126
|
additionalInfo: string,
|
|
121
127
|
roomRemark: string,
|
|
122
128
|
external: boolean,
|
|
129
|
+
createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
123
130
|
}
|
|
124
131
|
}
|
|
125
132
|
|
|
@@ -17,6 +17,8 @@ var global = (function() { return this || window || global || self || Function('
|
|
|
17
17
|
|
|
18
18
|
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
19
19
|
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
20
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
20
22
|
var wechaty_puppet_util_pb = require('../../wechaty/puppet/util_pb.js');
|
|
21
23
|
goog.object.extend(proto, wechaty_puppet_util_pb);
|
|
22
24
|
goog.exportSymbol('proto.wechaty.puppet.RoomAddRequest', null, global);
|
|
@@ -1114,7 +1116,8 @@ proto.wechaty.puppet.RoomPayloadResponse.toObject = function(includeInstance, ms
|
|
|
1114
1116
|
handle: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1115
1117
|
additionalInfo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1116
1118
|
roomRemark: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1117
|
-
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
1119
|
+
external: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
1120
|
+
createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
1118
1121
|
};
|
|
1119
1122
|
|
|
1120
1123
|
if (includeInstance) {
|
|
@@ -1191,6 +1194,11 @@ proto.wechaty.puppet.RoomPayloadResponse.deserializeBinaryFromReader = function(
|
|
|
1191
1194
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1192
1195
|
msg.setExternal(value);
|
|
1193
1196
|
break;
|
|
1197
|
+
case 11:
|
|
1198
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1199
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1200
|
+
msg.setCreateTime(value);
|
|
1201
|
+
break;
|
|
1194
1202
|
default:
|
|
1195
1203
|
reader.skipField();
|
|
1196
1204
|
break;
|
|
@@ -1290,6 +1298,14 @@ proto.wechaty.puppet.RoomPayloadResponse.serializeBinaryToWriter = function(mess
|
|
|
1290
1298
|
f
|
|
1291
1299
|
);
|
|
1292
1300
|
}
|
|
1301
|
+
f = message.getCreateTime();
|
|
1302
|
+
if (f != null) {
|
|
1303
|
+
writer.writeMessage(
|
|
1304
|
+
11,
|
|
1305
|
+
f,
|
|
1306
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1307
|
+
);
|
|
1308
|
+
}
|
|
1293
1309
|
};
|
|
1294
1310
|
|
|
1295
1311
|
|
|
@@ -1511,6 +1527,43 @@ proto.wechaty.puppet.RoomPayloadResponse.prototype.setExternal = function(value)
|
|
|
1511
1527
|
};
|
|
1512
1528
|
|
|
1513
1529
|
|
|
1530
|
+
/**
|
|
1531
|
+
* optional google.protobuf.Timestamp create_time = 11;
|
|
1532
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1533
|
+
*/
|
|
1534
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.getCreateTime = function() {
|
|
1535
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1536
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 11));
|
|
1537
|
+
};
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1542
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1543
|
+
*/
|
|
1544
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.setCreateTime = function(value) {
|
|
1545
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Clears the message field making it undefined.
|
|
1551
|
+
* @return {!proto.wechaty.puppet.RoomPayloadResponse} returns this
|
|
1552
|
+
*/
|
|
1553
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.clearCreateTime = function() {
|
|
1554
|
+
return this.setCreateTime(undefined);
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Returns whether this field is set.
|
|
1560
|
+
* @return {boolean}
|
|
1561
|
+
*/
|
|
1562
|
+
proto.wechaty.puppet.RoomPayloadResponse.prototype.hasCreateTime = function() {
|
|
1563
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
|
|
1514
1567
|
|
|
1515
1568
|
|
|
1516
1569
|
|
|
@@ -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.84
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: https://github.com/wechaty/openapi
|
|
@@ -4105,6 +4105,9 @@ definitions:
|
|
|
4105
4105
|
type: string
|
|
4106
4106
|
external:
|
|
4107
4107
|
type: boolean
|
|
4108
|
+
createTime:
|
|
4109
|
+
type: string
|
|
4110
|
+
format: date-time
|
|
4108
4111
|
puppetRoomPermissionResponse:
|
|
4109
4112
|
type: object
|
|
4110
4113
|
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.84",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -5821,6 +5821,10 @@
|
|
|
5821
5821
|
},
|
|
5822
5822
|
"external": {
|
|
5823
5823
|
"type": "boolean"
|
|
5824
|
+
},
|
|
5825
|
+
"createTime": {
|
|
5826
|
+
"type": "string",
|
|
5827
|
+
"format": "date-time"
|
|
5824
5828
|
}
|
|
5825
5829
|
}
|
|
5826
5830
|
},
|
package/package.json
CHANGED
package/src/package-json.ts
CHANGED