@juzi/wechaty-grpc 1.0.52 → 1.0.54
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/examples/promisify.d.ts +5 -5
- package/dist/cjs/examples/promisify.d.ts.map +1 -1
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +91 -2
- package/dist/cjs/out/wechaty/puppet/moment_pb.d.ts +36 -0
- package/dist/cjs/out/wechaty/puppet/moment_pb.js +275 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +37 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +55 -1
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +5 -1
- package/dist/cjs/proto/wechaty/puppet/moment.proto +6 -0
- package/dist/cjs/proto/wechaty/puppet.proto +7 -0
- package/dist/cjs/src/chunk-transformer.d.ts +1 -1
- package/dist/cjs/src/chunk-transformer.d.ts.map +1 -1
- package/dist/cjs/src/config.d.ts +1 -1
- package/dist/cjs/src/config.d.ts.map +1 -1
- package/dist/cjs/src/package-json.d.ts.map +1 -1
- package/dist/cjs/src/package-json.js +5 -4
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +5 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/examples/promisify.d.ts +5 -5
- package/dist/esm/examples/promisify.d.ts.map +1 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +91 -2
- package/dist/esm/out/wechaty/puppet/moment_pb.d.ts +36 -0
- package/dist/esm/out/wechaty/puppet/moment_pb.js +275 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +37 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +55 -1
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +5 -1
- package/dist/esm/proto/wechaty/puppet/moment.proto +6 -0
- package/dist/esm/proto/wechaty/puppet.proto +7 -0
- package/dist/esm/src/chunk-transformer.d.ts +1 -1
- package/dist/esm/src/chunk-transformer.d.ts.map +1 -1
- package/dist/esm/src/config.d.ts +1 -1
- package/dist/esm/src/config.d.ts.map +1 -1
- package/dist/esm/src/package-json.d.ts.map +1 -1
- package/dist/esm/src/package-json.js +5 -4
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +5 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/wechaty/puppet/event_pb.d.ts +12 -0
- package/out/wechaty/puppet/event_pb.js +91 -2
- package/out/wechaty/puppet/moment_pb.d.ts +36 -0
- package/out/wechaty/puppet/moment_pb.js +275 -0
- package/out/wechaty/puppet.openapi.yaml +37 -1
- package/out/wechaty/puppet.swagger.json +55 -1
- package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
- package/out/wechaty/puppet_grpc_pb.js +33 -0
- package/out/wechaty/puppet_pb_service.d.ts +19 -0
- package/out/wechaty/puppet_pb_service.js +40 -0
- package/package.json +5 -4
- package/src/package-json.ts +5 -4
|
@@ -92,7 +92,8 @@ proto.wechaty.puppet.EventRequest.prototype.toObject = function(opt_includeInsta
|
|
|
92
92
|
*/
|
|
93
93
|
proto.wechaty.puppet.EventRequest.toObject = function(includeInstance, msg) {
|
|
94
94
|
var f, obj = {
|
|
95
|
-
|
|
95
|
+
seq: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
96
|
+
accountId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
96
97
|
};
|
|
97
98
|
|
|
98
99
|
if (includeInstance) {
|
|
@@ -129,6 +130,14 @@ proto.wechaty.puppet.EventRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
129
130
|
}
|
|
130
131
|
var field = reader.getFieldNumber();
|
|
131
132
|
switch (field) {
|
|
133
|
+
case 1:
|
|
134
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
135
|
+
msg.setSeq(value);
|
|
136
|
+
break;
|
|
137
|
+
case 2:
|
|
138
|
+
var value = /** @type {string} */ (reader.readString());
|
|
139
|
+
msg.setAccountId(value);
|
|
140
|
+
break;
|
|
132
141
|
default:
|
|
133
142
|
reader.skipField();
|
|
134
143
|
break;
|
|
@@ -158,6 +167,56 @@ proto.wechaty.puppet.EventRequest.prototype.serializeBinary = function() {
|
|
|
158
167
|
*/
|
|
159
168
|
proto.wechaty.puppet.EventRequest.serializeBinaryToWriter = function(message, writer) {
|
|
160
169
|
var f = undefined;
|
|
170
|
+
f = message.getSeq();
|
|
171
|
+
if (f !== 0) {
|
|
172
|
+
writer.writeInt32(
|
|
173
|
+
1,
|
|
174
|
+
f
|
|
175
|
+
);
|
|
176
|
+
}
|
|
177
|
+
f = message.getAccountId();
|
|
178
|
+
if (f.length > 0) {
|
|
179
|
+
writer.writeString(
|
|
180
|
+
2,
|
|
181
|
+
f
|
|
182
|
+
);
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* optional int32 seq = 1;
|
|
189
|
+
* @return {number}
|
|
190
|
+
*/
|
|
191
|
+
proto.wechaty.puppet.EventRequest.prototype.getSeq = function() {
|
|
192
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @param {number} value
|
|
198
|
+
* @return {!proto.wechaty.puppet.EventRequest} returns this
|
|
199
|
+
*/
|
|
200
|
+
proto.wechaty.puppet.EventRequest.prototype.setSeq = function(value) {
|
|
201
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* optional string account_id = 2;
|
|
207
|
+
* @return {string}
|
|
208
|
+
*/
|
|
209
|
+
proto.wechaty.puppet.EventRequest.prototype.getAccountId = function() {
|
|
210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @param {string} value
|
|
216
|
+
* @return {!proto.wechaty.puppet.EventRequest} returns this
|
|
217
|
+
*/
|
|
218
|
+
proto.wechaty.puppet.EventRequest.prototype.setAccountId = function(value) {
|
|
219
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
161
220
|
};
|
|
162
221
|
|
|
163
222
|
|
|
@@ -194,7 +253,8 @@ proto.wechaty.puppet.EventResponse.prototype.toObject = function(opt_includeInst
|
|
|
194
253
|
proto.wechaty.puppet.EventResponse.toObject = function(includeInstance, msg) {
|
|
195
254
|
var f, obj = {
|
|
196
255
|
type: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
197
|
-
payload: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
256
|
+
payload: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
257
|
+
seq: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
198
258
|
};
|
|
199
259
|
|
|
200
260
|
if (includeInstance) {
|
|
@@ -239,6 +299,10 @@ proto.wechaty.puppet.EventResponse.deserializeBinaryFromReader = function(msg, r
|
|
|
239
299
|
var value = /** @type {string} */ (reader.readString());
|
|
240
300
|
msg.setPayload(value);
|
|
241
301
|
break;
|
|
302
|
+
case 3:
|
|
303
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
304
|
+
msg.setSeq(value);
|
|
305
|
+
break;
|
|
242
306
|
default:
|
|
243
307
|
reader.skipField();
|
|
244
308
|
break;
|
|
@@ -282,6 +346,13 @@ proto.wechaty.puppet.EventResponse.serializeBinaryToWriter = function(message, w
|
|
|
282
346
|
f
|
|
283
347
|
);
|
|
284
348
|
}
|
|
349
|
+
f = message.getSeq();
|
|
350
|
+
if (f !== 0) {
|
|
351
|
+
writer.writeInt32(
|
|
352
|
+
3,
|
|
353
|
+
f
|
|
354
|
+
);
|
|
355
|
+
}
|
|
285
356
|
};
|
|
286
357
|
|
|
287
358
|
|
|
@@ -321,6 +392,24 @@ proto.wechaty.puppet.EventResponse.prototype.setPayload = function(value) {
|
|
|
321
392
|
};
|
|
322
393
|
|
|
323
394
|
|
|
395
|
+
/**
|
|
396
|
+
* optional int32 seq = 3;
|
|
397
|
+
* @return {number}
|
|
398
|
+
*/
|
|
399
|
+
proto.wechaty.puppet.EventResponse.prototype.getSeq = function() {
|
|
400
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @param {number} value
|
|
406
|
+
* @return {!proto.wechaty.puppet.EventResponse} returns this
|
|
407
|
+
*/
|
|
408
|
+
proto.wechaty.puppet.EventResponse.prototype.setSeq = function(value) {
|
|
409
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
|
|
324
413
|
/**
|
|
325
414
|
* @enum {number}
|
|
326
415
|
*/
|
|
@@ -164,3 +164,39 @@ export namespace MomentVisibleListResponse {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
export class MomentUnpublishRequest extends jspb.Message {
|
|
168
|
+
getMomentId(): string;
|
|
169
|
+
setMomentId(value: string): void;
|
|
170
|
+
|
|
171
|
+
serializeBinary(): Uint8Array;
|
|
172
|
+
toObject(includeInstance?: boolean): MomentUnpublishRequest.AsObject;
|
|
173
|
+
static toObject(includeInstance: boolean, msg: MomentUnpublishRequest): MomentUnpublishRequest.AsObject;
|
|
174
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
175
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
176
|
+
static serializeBinaryToWriter(message: MomentUnpublishRequest, writer: jspb.BinaryWriter): void;
|
|
177
|
+
static deserializeBinary(bytes: Uint8Array): MomentUnpublishRequest;
|
|
178
|
+
static deserializeBinaryFromReader(message: MomentUnpublishRequest, reader: jspb.BinaryReader): MomentUnpublishRequest;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export namespace MomentUnpublishRequest {
|
|
182
|
+
export type AsObject = {
|
|
183
|
+
momentId: string,
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export class MomentUnpublishResponse extends jspb.Message {
|
|
188
|
+
serializeBinary(): Uint8Array;
|
|
189
|
+
toObject(includeInstance?: boolean): MomentUnpublishResponse.AsObject;
|
|
190
|
+
static toObject(includeInstance: boolean, msg: MomentUnpublishResponse): MomentUnpublishResponse.AsObject;
|
|
191
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
192
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
193
|
+
static serializeBinaryToWriter(message: MomentUnpublishResponse, writer: jspb.BinaryWriter): void;
|
|
194
|
+
static deserializeBinary(bytes: Uint8Array): MomentUnpublishResponse;
|
|
195
|
+
static deserializeBinaryFromReader(message: MomentUnpublishResponse, reader: jspb.BinaryReader): MomentUnpublishResponse;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export namespace MomentUnpublishResponse {
|
|
199
|
+
export type AsObject = {
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
@@ -23,6 +23,8 @@ goog.exportSymbol('proto.wechaty.puppet.MomentPublishRequest', null, global);
|
|
|
23
23
|
goog.exportSymbol('proto.wechaty.puppet.MomentPublishResponse', null, global);
|
|
24
24
|
goog.exportSymbol('proto.wechaty.puppet.MomentSignatureRequest', null, global);
|
|
25
25
|
goog.exportSymbol('proto.wechaty.puppet.MomentSignatureResponse', null, global);
|
|
26
|
+
goog.exportSymbol('proto.wechaty.puppet.MomentUnpublishRequest', null, global);
|
|
27
|
+
goog.exportSymbol('proto.wechaty.puppet.MomentUnpublishResponse', null, global);
|
|
26
28
|
goog.exportSymbol('proto.wechaty.puppet.MomentVisibleListRequest', null, global);
|
|
27
29
|
goog.exportSymbol('proto.wechaty.puppet.MomentVisibleListResponse', null, global);
|
|
28
30
|
/**
|
|
@@ -193,6 +195,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
193
195
|
*/
|
|
194
196
|
proto.wechaty.puppet.MomentVisibleListResponse.displayName = 'proto.wechaty.puppet.MomentVisibleListResponse';
|
|
195
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Generated by JsPbCodeGenerator.
|
|
200
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
201
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
202
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
203
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
204
|
+
* valid.
|
|
205
|
+
* @extends {jspb.Message}
|
|
206
|
+
* @constructor
|
|
207
|
+
*/
|
|
208
|
+
proto.wechaty.puppet.MomentUnpublishRequest = function(opt_data) {
|
|
209
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
210
|
+
};
|
|
211
|
+
goog.inherits(proto.wechaty.puppet.MomentUnpublishRequest, jspb.Message);
|
|
212
|
+
if (goog.DEBUG && !COMPILED) {
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* @override
|
|
216
|
+
*/
|
|
217
|
+
proto.wechaty.puppet.MomentUnpublishRequest.displayName = 'proto.wechaty.puppet.MomentUnpublishRequest';
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Generated by JsPbCodeGenerator.
|
|
221
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
222
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
223
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
224
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
225
|
+
* valid.
|
|
226
|
+
* @extends {jspb.Message}
|
|
227
|
+
* @constructor
|
|
228
|
+
*/
|
|
229
|
+
proto.wechaty.puppet.MomentUnpublishResponse = function(opt_data) {
|
|
230
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
231
|
+
};
|
|
232
|
+
goog.inherits(proto.wechaty.puppet.MomentUnpublishResponse, jspb.Message);
|
|
233
|
+
if (goog.DEBUG && !COMPILED) {
|
|
234
|
+
/**
|
|
235
|
+
* @public
|
|
236
|
+
* @override
|
|
237
|
+
*/
|
|
238
|
+
proto.wechaty.puppet.MomentUnpublishResponse.displayName = 'proto.wechaty.puppet.MomentUnpublishResponse';
|
|
239
|
+
}
|
|
196
240
|
|
|
197
241
|
|
|
198
242
|
|
|
@@ -1251,4 +1295,235 @@ proto.wechaty.puppet.MomentVisibleListResponse.prototype.clearContactIdsList = f
|
|
|
1251
1295
|
};
|
|
1252
1296
|
|
|
1253
1297
|
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1302
|
+
/**
|
|
1303
|
+
* Creates an object representation of this proto.
|
|
1304
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1305
|
+
* Optional fields that are not set will be set to undefined.
|
|
1306
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1307
|
+
* For the list of reserved names please see:
|
|
1308
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1309
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1310
|
+
* JSPB instance for transitional soy proto support:
|
|
1311
|
+
* http://goto/soy-param-migration
|
|
1312
|
+
* @return {!Object}
|
|
1313
|
+
*/
|
|
1314
|
+
proto.wechaty.puppet.MomentUnpublishRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1315
|
+
return proto.wechaty.puppet.MomentUnpublishRequest.toObject(opt_includeInstance, this);
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* Static version of the {@see toObject} method.
|
|
1321
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1322
|
+
* the JSPB instance for transitional soy proto support:
|
|
1323
|
+
* http://goto/soy-param-migration
|
|
1324
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishRequest} msg The msg instance to transform.
|
|
1325
|
+
* @return {!Object}
|
|
1326
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1327
|
+
*/
|
|
1328
|
+
proto.wechaty.puppet.MomentUnpublishRequest.toObject = function(includeInstance, msg) {
|
|
1329
|
+
var f, obj = {
|
|
1330
|
+
momentId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1331
|
+
};
|
|
1332
|
+
|
|
1333
|
+
if (includeInstance) {
|
|
1334
|
+
obj.$jspbMessageInstance = msg;
|
|
1335
|
+
}
|
|
1336
|
+
return obj;
|
|
1337
|
+
};
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1343
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1344
|
+
* @return {!proto.wechaty.puppet.MomentUnpublishRequest}
|
|
1345
|
+
*/
|
|
1346
|
+
proto.wechaty.puppet.MomentUnpublishRequest.deserializeBinary = function(bytes) {
|
|
1347
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1348
|
+
var msg = new proto.wechaty.puppet.MomentUnpublishRequest;
|
|
1349
|
+
return proto.wechaty.puppet.MomentUnpublishRequest.deserializeBinaryFromReader(msg, reader);
|
|
1350
|
+
};
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1355
|
+
* given reader into the given message object.
|
|
1356
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishRequest} msg The message object to deserialize into.
|
|
1357
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1358
|
+
* @return {!proto.wechaty.puppet.MomentUnpublishRequest}
|
|
1359
|
+
*/
|
|
1360
|
+
proto.wechaty.puppet.MomentUnpublishRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1361
|
+
while (reader.nextField()) {
|
|
1362
|
+
if (reader.isEndGroup()) {
|
|
1363
|
+
break;
|
|
1364
|
+
}
|
|
1365
|
+
var field = reader.getFieldNumber();
|
|
1366
|
+
switch (field) {
|
|
1367
|
+
case 1:
|
|
1368
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1369
|
+
msg.setMomentId(value);
|
|
1370
|
+
break;
|
|
1371
|
+
default:
|
|
1372
|
+
reader.skipField();
|
|
1373
|
+
break;
|
|
1374
|
+
}
|
|
1375
|
+
}
|
|
1376
|
+
return msg;
|
|
1377
|
+
};
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1382
|
+
* @return {!Uint8Array}
|
|
1383
|
+
*/
|
|
1384
|
+
proto.wechaty.puppet.MomentUnpublishRequest.prototype.serializeBinary = function() {
|
|
1385
|
+
var writer = new jspb.BinaryWriter();
|
|
1386
|
+
proto.wechaty.puppet.MomentUnpublishRequest.serializeBinaryToWriter(this, writer);
|
|
1387
|
+
return writer.getResultBuffer();
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1393
|
+
* format), writing to the given BinaryWriter.
|
|
1394
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishRequest} message
|
|
1395
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1396
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1397
|
+
*/
|
|
1398
|
+
proto.wechaty.puppet.MomentUnpublishRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1399
|
+
var f = undefined;
|
|
1400
|
+
f = message.getMomentId();
|
|
1401
|
+
if (f.length > 0) {
|
|
1402
|
+
writer.writeString(
|
|
1403
|
+
1,
|
|
1404
|
+
f
|
|
1405
|
+
);
|
|
1406
|
+
}
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
/**
|
|
1411
|
+
* optional string moment_id = 1;
|
|
1412
|
+
* @return {string}
|
|
1413
|
+
*/
|
|
1414
|
+
proto.wechaty.puppet.MomentUnpublishRequest.prototype.getMomentId = function() {
|
|
1415
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1416
|
+
};
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* @param {string} value
|
|
1421
|
+
* @return {!proto.wechaty.puppet.MomentUnpublishRequest} returns this
|
|
1422
|
+
*/
|
|
1423
|
+
proto.wechaty.puppet.MomentUnpublishRequest.prototype.setMomentId = function(value) {
|
|
1424
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1425
|
+
};
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1432
|
+
/**
|
|
1433
|
+
* Creates an object representation of this proto.
|
|
1434
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1435
|
+
* Optional fields that are not set will be set to undefined.
|
|
1436
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1437
|
+
* For the list of reserved names please see:
|
|
1438
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1439
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1440
|
+
* JSPB instance for transitional soy proto support:
|
|
1441
|
+
* http://goto/soy-param-migration
|
|
1442
|
+
* @return {!Object}
|
|
1443
|
+
*/
|
|
1444
|
+
proto.wechaty.puppet.MomentUnpublishResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1445
|
+
return proto.wechaty.puppet.MomentUnpublishResponse.toObject(opt_includeInstance, this);
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Static version of the {@see toObject} method.
|
|
1451
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1452
|
+
* the JSPB instance for transitional soy proto support:
|
|
1453
|
+
* http://goto/soy-param-migration
|
|
1454
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishResponse} msg The msg instance to transform.
|
|
1455
|
+
* @return {!Object}
|
|
1456
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1457
|
+
*/
|
|
1458
|
+
proto.wechaty.puppet.MomentUnpublishResponse.toObject = function(includeInstance, msg) {
|
|
1459
|
+
var f, obj = {
|
|
1460
|
+
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
if (includeInstance) {
|
|
1464
|
+
obj.$jspbMessageInstance = msg;
|
|
1465
|
+
}
|
|
1466
|
+
return obj;
|
|
1467
|
+
};
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1473
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1474
|
+
* @return {!proto.wechaty.puppet.MomentUnpublishResponse}
|
|
1475
|
+
*/
|
|
1476
|
+
proto.wechaty.puppet.MomentUnpublishResponse.deserializeBinary = function(bytes) {
|
|
1477
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1478
|
+
var msg = new proto.wechaty.puppet.MomentUnpublishResponse;
|
|
1479
|
+
return proto.wechaty.puppet.MomentUnpublishResponse.deserializeBinaryFromReader(msg, reader);
|
|
1480
|
+
};
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
/**
|
|
1484
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1485
|
+
* given reader into the given message object.
|
|
1486
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishResponse} msg The message object to deserialize into.
|
|
1487
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1488
|
+
* @return {!proto.wechaty.puppet.MomentUnpublishResponse}
|
|
1489
|
+
*/
|
|
1490
|
+
proto.wechaty.puppet.MomentUnpublishResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1491
|
+
while (reader.nextField()) {
|
|
1492
|
+
if (reader.isEndGroup()) {
|
|
1493
|
+
break;
|
|
1494
|
+
}
|
|
1495
|
+
var field = reader.getFieldNumber();
|
|
1496
|
+
switch (field) {
|
|
1497
|
+
default:
|
|
1498
|
+
reader.skipField();
|
|
1499
|
+
break;
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
return msg;
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1508
|
+
* @return {!Uint8Array}
|
|
1509
|
+
*/
|
|
1510
|
+
proto.wechaty.puppet.MomentUnpublishResponse.prototype.serializeBinary = function() {
|
|
1511
|
+
var writer = new jspb.BinaryWriter();
|
|
1512
|
+
proto.wechaty.puppet.MomentUnpublishResponse.serializeBinaryToWriter(this, writer);
|
|
1513
|
+
return writer.getResultBuffer();
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1519
|
+
* format), writing to the given BinaryWriter.
|
|
1520
|
+
* @param {!proto.wechaty.puppet.MomentUnpublishResponse} message
|
|
1521
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1522
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1523
|
+
*/
|
|
1524
|
+
proto.wechaty.puppet.MomentUnpublishResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1525
|
+
var f = undefined;
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
|
|
1254
1529
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -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.54
|
|
13
13
|
contact:
|
|
14
14
|
name: Wechaty
|
|
15
15
|
url: 'https://github.com/wechaty/openapi'
|
|
@@ -774,6 +774,18 @@ paths:
|
|
|
774
774
|
description: An unexpected error response.
|
|
775
775
|
schema:
|
|
776
776
|
$ref: '#/definitions/rpcStatus'
|
|
777
|
+
parameters:
|
|
778
|
+
- name: seq
|
|
779
|
+
description: the seq of the last event
|
|
780
|
+
in: query
|
|
781
|
+
required: false
|
|
782
|
+
type: integer
|
|
783
|
+
format: int32
|
|
784
|
+
- name: accountId
|
|
785
|
+
description: the accountId of the last event
|
|
786
|
+
in: query
|
|
787
|
+
required: false
|
|
788
|
+
type: string
|
|
777
789
|
tags:
|
|
778
790
|
- Puppet
|
|
779
791
|
'/friendship/accept/{id}':
|
|
@@ -1303,6 +1315,25 @@ paths:
|
|
|
1303
1315
|
$ref: '#/definitions/rpcStatus'
|
|
1304
1316
|
tags:
|
|
1305
1317
|
- Puppet
|
|
1318
|
+
'/moment/{momentId}':
|
|
1319
|
+
delete:
|
|
1320
|
+
operationId: Puppet_MomentUnpublish
|
|
1321
|
+
responses:
|
|
1322
|
+
'200':
|
|
1323
|
+
description: A successful response.
|
|
1324
|
+
schema:
|
|
1325
|
+
$ref: '#/definitions/puppetMomentUnpublishResponse'
|
|
1326
|
+
default:
|
|
1327
|
+
description: An unexpected error response.
|
|
1328
|
+
schema:
|
|
1329
|
+
$ref: '#/definitions/rpcStatus'
|
|
1330
|
+
parameters:
|
|
1331
|
+
- name: momentId
|
|
1332
|
+
in: path
|
|
1333
|
+
required: true
|
|
1334
|
+
type: string
|
|
1335
|
+
tags:
|
|
1336
|
+
- Puppet
|
|
1306
1337
|
/post/like:
|
|
1307
1338
|
post:
|
|
1308
1339
|
operationId: Puppet_postTap
|
|
@@ -2477,6 +2508,9 @@ definitions:
|
|
|
2477
2508
|
type: string
|
|
2478
2509
|
description: 'JSON.stringify({ ... })'
|
|
2479
2510
|
title: 'TODO: Huan(202002) consider to use a PB Map?'
|
|
2511
|
+
seq:
|
|
2512
|
+
type: integer
|
|
2513
|
+
format: int32
|
|
2480
2514
|
puppetEventType:
|
|
2481
2515
|
type: string
|
|
2482
2516
|
enum:
|
|
@@ -2993,6 +3027,8 @@ definitions:
|
|
|
2993
3027
|
properties:
|
|
2994
3028
|
text:
|
|
2995
3029
|
type: string
|
|
3030
|
+
puppetMomentUnpublishResponse:
|
|
3031
|
+
type: object
|
|
2996
3032
|
puppetMomentVisibleListResponse:
|
|
2997
3033
|
type: object
|
|
2998
3034
|
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.54",
|
|
7
7
|
"contact": {
|
|
8
8
|
"name": "Wechaty",
|
|
9
9
|
"url": "https://github.com/wechaty/openapi",
|
|
@@ -1134,6 +1134,23 @@
|
|
|
1134
1134
|
}
|
|
1135
1135
|
}
|
|
1136
1136
|
},
|
|
1137
|
+
"parameters": [
|
|
1138
|
+
{
|
|
1139
|
+
"name": "seq",
|
|
1140
|
+
"description": "the seq of the last event",
|
|
1141
|
+
"in": "query",
|
|
1142
|
+
"required": false,
|
|
1143
|
+
"type": "integer",
|
|
1144
|
+
"format": "int32"
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
"name": "accountId",
|
|
1148
|
+
"description": "the accountId of the last event",
|
|
1149
|
+
"in": "query",
|
|
1150
|
+
"required": false,
|
|
1151
|
+
"type": "string"
|
|
1152
|
+
}
|
|
1153
|
+
],
|
|
1137
1154
|
"tags": [
|
|
1138
1155
|
"Puppet"
|
|
1139
1156
|
]
|
|
@@ -1927,6 +1944,36 @@
|
|
|
1927
1944
|
]
|
|
1928
1945
|
}
|
|
1929
1946
|
},
|
|
1947
|
+
"/moment/{momentId}": {
|
|
1948
|
+
"delete": {
|
|
1949
|
+
"operationId": "Puppet_MomentUnpublish",
|
|
1950
|
+
"responses": {
|
|
1951
|
+
"200": {
|
|
1952
|
+
"description": "A successful response.",
|
|
1953
|
+
"schema": {
|
|
1954
|
+
"$ref": "#/definitions/puppetMomentUnpublishResponse"
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1957
|
+
"default": {
|
|
1958
|
+
"description": "An unexpected error response.",
|
|
1959
|
+
"schema": {
|
|
1960
|
+
"$ref": "#/definitions/rpcStatus"
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
"parameters": [
|
|
1965
|
+
{
|
|
1966
|
+
"name": "momentId",
|
|
1967
|
+
"in": "path",
|
|
1968
|
+
"required": true,
|
|
1969
|
+
"type": "string"
|
|
1970
|
+
}
|
|
1971
|
+
],
|
|
1972
|
+
"tags": [
|
|
1973
|
+
"Puppet"
|
|
1974
|
+
]
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1930
1977
|
"/post/like": {
|
|
1931
1978
|
"post": {
|
|
1932
1979
|
"operationId": "Puppet_postTap",
|
|
@@ -3639,6 +3686,10 @@
|
|
|
3639
3686
|
"type": "string",
|
|
3640
3687
|
"description": "JSON.stringify({ ... })",
|
|
3641
3688
|
"title": "TODO: Huan(202002) consider to use a PB Map?"
|
|
3689
|
+
},
|
|
3690
|
+
"seq": {
|
|
3691
|
+
"type": "integer",
|
|
3692
|
+
"format": "int32"
|
|
3642
3693
|
}
|
|
3643
3694
|
}
|
|
3644
3695
|
},
|
|
@@ -4232,6 +4283,9 @@
|
|
|
4232
4283
|
}
|
|
4233
4284
|
}
|
|
4234
4285
|
},
|
|
4286
|
+
"puppetMomentUnpublishResponse": {
|
|
4287
|
+
"type": "object"
|
|
4288
|
+
},
|
|
4235
4289
|
"puppetMomentVisibleListResponse": {
|
|
4236
4290
|
"type": "object",
|
|
4237
4291
|
"properties": {
|
|
@@ -100,6 +100,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
|
|
|
100
100
|
tagContactTagList: IPuppetService_ITagContactTagList;
|
|
101
101
|
tagTagContactList: IPuppetService_ITagTagContactList;
|
|
102
102
|
momentPublish: IPuppetService_ImomentPublish;
|
|
103
|
+
momentUnpublish: IPuppetService_IMomentUnpublish;
|
|
103
104
|
postTap: IPuppetService_IpostTap;
|
|
104
105
|
momentSignature: IPuppetService_ImomentSignature;
|
|
105
106
|
momentCoverage: IPuppetService_ImomentCoverage;
|
|
@@ -803,6 +804,15 @@ interface IPuppetService_ImomentPublish extends grpc.MethodDefinition<wechaty_pu
|
|
|
803
804
|
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
804
805
|
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
805
806
|
}
|
|
807
|
+
interface IPuppetService_IMomentUnpublish extends grpc.MethodDefinition<wechaty_puppet_moment_pb.MomentUnpublishRequest, wechaty_puppet_moment_pb.MomentUnpublishResponse> {
|
|
808
|
+
path: "/wechaty.Puppet/MomentUnpublish";
|
|
809
|
+
requestStream: false;
|
|
810
|
+
responseStream: false;
|
|
811
|
+
requestSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentUnpublishRequest>;
|
|
812
|
+
requestDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentUnpublishRequest>;
|
|
813
|
+
responseSerialize: grpc.serialize<wechaty_puppet_moment_pb.MomentUnpublishResponse>;
|
|
814
|
+
responseDeserialize: grpc.deserialize<wechaty_puppet_moment_pb.MomentUnpublishResponse>;
|
|
815
|
+
}
|
|
806
816
|
interface IPuppetService_IpostTap extends grpc.MethodDefinition<wechaty_puppet_post_pb.PostTapRequest, wechaty_puppet_post_pb.PostTapResponse> {
|
|
807
817
|
path: "/wechaty.Puppet/postTap";
|
|
808
818
|
requestStream: false;
|
|
@@ -956,6 +966,7 @@ export interface IPuppetServer extends grpc.UntypedServiceImplementation {
|
|
|
956
966
|
tagContactTagList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagContactTagListRequest, wechaty_puppet_tag_pb.TagContactTagListResponse>;
|
|
957
967
|
tagTagContactList: grpc.handleUnaryCall<wechaty_puppet_tag_pb.TagTagContactListRequest, wechaty_puppet_tag_pb.TagTagContactListResponse>;
|
|
958
968
|
momentPublish: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentPublishRequest, wechaty_puppet_moment_pb.MomentPublishResponse>;
|
|
969
|
+
momentUnpublish: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentUnpublishRequest, wechaty_puppet_moment_pb.MomentUnpublishResponse>;
|
|
959
970
|
postTap: grpc.handleUnaryCall<wechaty_puppet_post_pb.PostTapRequest, wechaty_puppet_post_pb.PostTapResponse>;
|
|
960
971
|
momentSignature: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentSignatureRequest, wechaty_puppet_moment_pb.MomentSignatureResponse>;
|
|
961
972
|
momentCoverage: grpc.handleUnaryCall<wechaty_puppet_moment_pb.MomentCoverageRequest, wechaty_puppet_moment_pb.MomentCoverageResponse>;
|
|
@@ -1197,6 +1208,9 @@ export interface IPuppetClient {
|
|
|
1197
1208
|
momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1198
1209
|
momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1199
1210
|
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;
|
|
1211
|
+
momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1212
|
+
momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1213
|
+
momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1200
1214
|
postTap(request: wechaty_puppet_post_pb.PostTapRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|
|
1201
1215
|
postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|
|
1202
1216
|
postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|
|
@@ -1455,6 +1469,9 @@ export class PuppetClient extends grpc.Client implements IPuppetClient {
|
|
|
1455
1469
|
public momentPublish(request: wechaty_puppet_moment_pb.MomentPublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentPublishResponse) => void): grpc.ClientUnaryCall;
|
|
1456
1470
|
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;
|
|
1457
1471
|
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;
|
|
1472
|
+
public momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1473
|
+
public momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1474
|
+
public momentUnpublish(request: wechaty_puppet_moment_pb.MomentUnpublishRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_moment_pb.MomentUnpublishResponse) => void): grpc.ClientUnaryCall;
|
|
1458
1475
|
public postTap(request: wechaty_puppet_post_pb.PostTapRequest, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|
|
1459
1476
|
public postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|
|
1460
1477
|
public postTap(request: wechaty_puppet_post_pb.PostTapRequest, metadata: grpc.Metadata, options: Partial<grpc.CallOptions>, callback: (error: grpc.ServiceError | null, response: wechaty_puppet_post_pb.PostTapResponse) => void): grpc.ClientUnaryCall;
|