@juzi/wechaty-grpc 1.0.98 → 1.0.100
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/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +130 -0
- package/dist/cjs/out/wechaty/puppet/room_pb.js +1047 -0
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +95 -1
- package/dist/cjs/out/wechaty/puppet.swagger.json +145 -2
- package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/cjs/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/cjs/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
- package/dist/cjs/proto/wechaty/puppet/room.proto +22 -0
- package/dist/cjs/proto/wechaty/puppet.proto +13 -0
- package/dist/cjs/src/package-json.js +1 -1
- package/dist/cjs/src/package-json.js.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/cjs/tests/puppet-server-impl.js +10 -0
- package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/room_pb.d.ts +130 -0
- package/dist/esm/out/wechaty/puppet/room_pb.js +1047 -0
- package/dist/esm/out/wechaty/puppet.openapi.yaml +95 -1
- package/dist/esm/out/wechaty/puppet.swagger.json +145 -2
- package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/dist/esm/out/wechaty/puppet_grpc_pb.js +66 -0
- package/dist/esm/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/dist/esm/out/wechaty/puppet_pb_service.js +80 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
- package/dist/esm/proto/wechaty/puppet/room.proto +22 -0
- package/dist/esm/proto/wechaty/puppet.proto +13 -0
- package/dist/esm/src/package-json.js +1 -1
- package/dist/esm/src/package-json.js.map +1 -1
- package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
- package/dist/esm/tests/puppet-server-impl.js +10 -0
- package/dist/esm/tests/puppet-server-impl.js.map +1 -1
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +4 -0
- package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +31 -1
- package/out/wechaty/puppet/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/room_pb.d.ts +130 -0
- package/out/wechaty/puppet/room_pb.js +1047 -0
- package/out/wechaty/puppet.openapi.yaml +95 -1
- package/out/wechaty/puppet.swagger.json +145 -2
- package/out/wechaty/puppet_grpc_pb.d.ts +34 -0
- package/out/wechaty/puppet_grpc_pb.js +66 -0
- package/out/wechaty/puppet_pb_service.d.ts +38 -0
- package/out/wechaty/puppet_pb_service.js +80 -0
- package/package.json +1 -1
- package/src/package-json.ts +1 -1
|
@@ -653,6 +653,9 @@ export namespace JSONSchema {
|
|
|
653
653
|
getPathParamName(): string;
|
|
654
654
|
setPathParamName(value: string): void;
|
|
655
655
|
|
|
656
|
+
getDeprecated(): boolean;
|
|
657
|
+
setDeprecated(value: boolean): void;
|
|
658
|
+
|
|
656
659
|
serializeBinary(): Uint8Array;
|
|
657
660
|
toObject(includeInstance?: boolean): FieldConfiguration.AsObject;
|
|
658
661
|
static toObject(includeInstance: boolean, msg: FieldConfiguration): FieldConfiguration.AsObject;
|
|
@@ -666,6 +669,7 @@ export namespace JSONSchema {
|
|
|
666
669
|
export namespace FieldConfiguration {
|
|
667
670
|
export type AsObject = {
|
|
668
671
|
pathParamName: string,
|
|
672
|
+
deprecated: boolean,
|
|
669
673
|
}
|
|
670
674
|
}
|
|
671
675
|
|
|
@@ -4750,7 +4750,8 @@ proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.pr
|
|
|
4750
4750
|
*/
|
|
4751
4751
|
proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.toObject = function(includeInstance, msg) {
|
|
4752
4752
|
var f, obj = {
|
|
4753
|
-
pathParamName: jspb.Message.getFieldWithDefault(msg, 47, "")
|
|
4753
|
+
pathParamName: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
4754
|
+
deprecated: jspb.Message.getBooleanFieldWithDefault(msg, 49, false)
|
|
4754
4755
|
};
|
|
4755
4756
|
|
|
4756
4757
|
if (includeInstance) {
|
|
@@ -4791,6 +4792,10 @@ proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.de
|
|
|
4791
4792
|
var value = /** @type {string} */ (reader.readString());
|
|
4792
4793
|
msg.setPathParamName(value);
|
|
4793
4794
|
break;
|
|
4795
|
+
case 49:
|
|
4796
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4797
|
+
msg.setDeprecated(value);
|
|
4798
|
+
break;
|
|
4794
4799
|
default:
|
|
4795
4800
|
reader.skipField();
|
|
4796
4801
|
break;
|
|
@@ -4827,6 +4832,13 @@ proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.se
|
|
|
4827
4832
|
f
|
|
4828
4833
|
);
|
|
4829
4834
|
}
|
|
4835
|
+
f = message.getDeprecated();
|
|
4836
|
+
if (f) {
|
|
4837
|
+
writer.writeBool(
|
|
4838
|
+
49,
|
|
4839
|
+
f
|
|
4840
|
+
);
|
|
4841
|
+
}
|
|
4830
4842
|
};
|
|
4831
4843
|
|
|
4832
4844
|
|
|
@@ -4848,6 +4860,24 @@ proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.pr
|
|
|
4848
4860
|
};
|
|
4849
4861
|
|
|
4850
4862
|
|
|
4863
|
+
/**
|
|
4864
|
+
* optional bool deprecated = 49;
|
|
4865
|
+
* @return {boolean}
|
|
4866
|
+
*/
|
|
4867
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.prototype.getDeprecated = function() {
|
|
4868
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 49, false));
|
|
4869
|
+
};
|
|
4870
|
+
|
|
4871
|
+
|
|
4872
|
+
/**
|
|
4873
|
+
* @param {boolean} value
|
|
4874
|
+
* @return {!proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration} returns this
|
|
4875
|
+
*/
|
|
4876
|
+
proto.grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.FieldConfiguration.prototype.setDeprecated = function(value) {
|
|
4877
|
+
return jspb.Message.setProto3BooleanField(this, 49, value);
|
|
4878
|
+
};
|
|
4879
|
+
|
|
4880
|
+
|
|
4851
4881
|
/**
|
|
4852
4882
|
* optional string ref = 3;
|
|
4853
4883
|
* @return {string}
|
|
@@ -436,7 +436,8 @@ proto.wechaty.puppet.EventType = {
|
|
|
436
436
|
EVENT_TYPE_POST_COMMENT: 30,
|
|
437
437
|
EVENT_TYPE_POST_TAP: 31,
|
|
438
438
|
EVENT_TYPE_ROOM_ANNOUNCE: 32,
|
|
439
|
-
EVENT_TYPE_VERIFY_CODE: 33
|
|
439
|
+
EVENT_TYPE_VERIFY_CODE: 33,
|
|
440
|
+
EVENT_TYPE_VERIFY_SLIDE: 34
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -186,6 +186,136 @@ export namespace RoomAddResponse {
|
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
+
export class RoomAddV2Request extends jspb.Message {
|
|
190
|
+
getId(): string;
|
|
191
|
+
setId(value: string): void;
|
|
192
|
+
|
|
193
|
+
clearContactIdsList(): void;
|
|
194
|
+
getContactIdsList(): Array<string>;
|
|
195
|
+
setContactIdsList(value: Array<string>): void;
|
|
196
|
+
addContactIds(value: string, index?: number): string;
|
|
197
|
+
|
|
198
|
+
getInviteOnly(): boolean;
|
|
199
|
+
setInviteOnly(value: boolean): void;
|
|
200
|
+
|
|
201
|
+
clearQuoteIdsList(): void;
|
|
202
|
+
getQuoteIdsList(): Array<string>;
|
|
203
|
+
setQuoteIdsList(value: Array<string>): void;
|
|
204
|
+
addQuoteIds(value: string, index?: number): string;
|
|
205
|
+
|
|
206
|
+
serializeBinary(): Uint8Array;
|
|
207
|
+
toObject(includeInstance?: boolean): RoomAddV2Request.AsObject;
|
|
208
|
+
static toObject(includeInstance: boolean, msg: RoomAddV2Request): RoomAddV2Request.AsObject;
|
|
209
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
210
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
211
|
+
static serializeBinaryToWriter(message: RoomAddV2Request, writer: jspb.BinaryWriter): void;
|
|
212
|
+
static deserializeBinary(bytes: Uint8Array): RoomAddV2Request;
|
|
213
|
+
static deserializeBinaryFromReader(message: RoomAddV2Request, reader: jspb.BinaryReader): RoomAddV2Request;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export namespace RoomAddV2Request {
|
|
217
|
+
export type AsObject = {
|
|
218
|
+
id: string,
|
|
219
|
+
contactIdsList: Array<string>,
|
|
220
|
+
inviteOnly: boolean,
|
|
221
|
+
quoteIdsList: Array<string>,
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export class RoomAddV2Response extends jspb.Message {
|
|
226
|
+
clearSuccessIdsList(): void;
|
|
227
|
+
getSuccessIdsList(): Array<string>;
|
|
228
|
+
setSuccessIdsList(value: Array<string>): void;
|
|
229
|
+
addSuccessIds(value: string, index?: number): string;
|
|
230
|
+
|
|
231
|
+
clearFailedIdsList(): void;
|
|
232
|
+
getFailedIdsList(): Array<string>;
|
|
233
|
+
setFailedIdsList(value: Array<string>): void;
|
|
234
|
+
addFailedIds(value: string, index?: number): string;
|
|
235
|
+
|
|
236
|
+
clearFailedReasonsList(): void;
|
|
237
|
+
getFailedReasonsList(): Array<string>;
|
|
238
|
+
setFailedReasonsList(value: Array<string>): void;
|
|
239
|
+
addFailedReasons(value: string, index?: number): string;
|
|
240
|
+
|
|
241
|
+
serializeBinary(): Uint8Array;
|
|
242
|
+
toObject(includeInstance?: boolean): RoomAddV2Response.AsObject;
|
|
243
|
+
static toObject(includeInstance: boolean, msg: RoomAddV2Response): RoomAddV2Response.AsObject;
|
|
244
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
245
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
246
|
+
static serializeBinaryToWriter(message: RoomAddV2Response, writer: jspb.BinaryWriter): void;
|
|
247
|
+
static deserializeBinary(bytes: Uint8Array): RoomAddV2Response;
|
|
248
|
+
static deserializeBinaryFromReader(message: RoomAddV2Response, reader: jspb.BinaryReader): RoomAddV2Response;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export namespace RoomAddV2Response {
|
|
252
|
+
export type AsObject = {
|
|
253
|
+
successIdsList: Array<string>,
|
|
254
|
+
failedIdsList: Array<string>,
|
|
255
|
+
failedReasonsList: Array<string>,
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export class RoomDelV2Request extends jspb.Message {
|
|
260
|
+
getId(): string;
|
|
261
|
+
setId(value: string): void;
|
|
262
|
+
|
|
263
|
+
clearContactIdsList(): void;
|
|
264
|
+
getContactIdsList(): Array<string>;
|
|
265
|
+
setContactIdsList(value: Array<string>): void;
|
|
266
|
+
addContactIds(value: string, index?: number): string;
|
|
267
|
+
|
|
268
|
+
serializeBinary(): Uint8Array;
|
|
269
|
+
toObject(includeInstance?: boolean): RoomDelV2Request.AsObject;
|
|
270
|
+
static toObject(includeInstance: boolean, msg: RoomDelV2Request): RoomDelV2Request.AsObject;
|
|
271
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
272
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
273
|
+
static serializeBinaryToWriter(message: RoomDelV2Request, writer: jspb.BinaryWriter): void;
|
|
274
|
+
static deserializeBinary(bytes: Uint8Array): RoomDelV2Request;
|
|
275
|
+
static deserializeBinaryFromReader(message: RoomDelV2Request, reader: jspb.BinaryReader): RoomDelV2Request;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export namespace RoomDelV2Request {
|
|
279
|
+
export type AsObject = {
|
|
280
|
+
id: string,
|
|
281
|
+
contactIdsList: Array<string>,
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export class RoomDelV2Response extends jspb.Message {
|
|
286
|
+
clearSuccessIdsList(): void;
|
|
287
|
+
getSuccessIdsList(): Array<string>;
|
|
288
|
+
setSuccessIdsList(value: Array<string>): void;
|
|
289
|
+
addSuccessIds(value: string, index?: number): string;
|
|
290
|
+
|
|
291
|
+
clearFailedIdsList(): void;
|
|
292
|
+
getFailedIdsList(): Array<string>;
|
|
293
|
+
setFailedIdsList(value: Array<string>): void;
|
|
294
|
+
addFailedIds(value: string, index?: number): string;
|
|
295
|
+
|
|
296
|
+
clearFailedReasonsList(): void;
|
|
297
|
+
getFailedReasonsList(): Array<string>;
|
|
298
|
+
setFailedReasonsList(value: Array<string>): void;
|
|
299
|
+
addFailedReasons(value: string, index?: number): string;
|
|
300
|
+
|
|
301
|
+
serializeBinary(): Uint8Array;
|
|
302
|
+
toObject(includeInstance?: boolean): RoomDelV2Response.AsObject;
|
|
303
|
+
static toObject(includeInstance: boolean, msg: RoomDelV2Response): RoomDelV2Response.AsObject;
|
|
304
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
305
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
306
|
+
static serializeBinaryToWriter(message: RoomDelV2Response, writer: jspb.BinaryWriter): void;
|
|
307
|
+
static deserializeBinary(bytes: Uint8Array): RoomDelV2Response;
|
|
308
|
+
static deserializeBinaryFromReader(message: RoomDelV2Response, reader: jspb.BinaryReader): RoomDelV2Response;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export namespace RoomDelV2Response {
|
|
312
|
+
export type AsObject = {
|
|
313
|
+
successIdsList: Array<string>,
|
|
314
|
+
failedIdsList: Array<string>,
|
|
315
|
+
failedReasonsList: Array<string>,
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
189
319
|
export class RoomAvatarRequest extends jspb.Message {
|
|
190
320
|
getId(): string;
|
|
191
321
|
setId(value: string): void;
|