@juzi/wechaty-grpc 1.0.12 → 1.0.15
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/base_pb.d.ts +2 -0
- package/dist/cjs/out/wechaty/puppet/base_pb.js +3 -1
- package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +7 -0
- package/dist/cjs/out/wechaty/puppet/contact_pb.js +57 -2
- package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +2 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +3 -1
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +123 -35
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +821 -145
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +94 -14
- package/dist/cjs/out/wechaty/puppet.swagger.json +140 -21
- 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/base.proto +2 -0
- package/dist/cjs/proto/wechaty/puppet/contact.proto +4 -0
- package/dist/cjs/proto/wechaty/puppet/event.proto +2 -0
- package/dist/cjs/proto/wechaty/puppet/tag.proto +26 -9
- package/dist/cjs/proto/wechaty/puppet.proto +14 -0
- package/dist/cjs/src/package-json.js +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/wechaty/puppet/base_pb.d.ts +2 -0
- package/dist/esm/out/wechaty/puppet/base_pb.js +3 -1
- package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +7 -0
- package/dist/esm/out/wechaty/puppet/contact_pb.js +57 -2
- package/dist/esm/out/wechaty/puppet/event_pb.d.ts +2 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +3 -1
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +123 -35
- package/dist/esm/out/wechaty/puppet/tag_pb.js +821 -145
- package/dist/esm/out/wechaty/puppet.openapi.yaml +94 -14
- package/dist/esm/out/wechaty/puppet.swagger.json +140 -21
- 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/base.proto +2 -0
- package/dist/esm/proto/wechaty/puppet/contact.proto +4 -0
- package/dist/esm/proto/wechaty/puppet/event.proto +2 -0
- package/dist/esm/proto/wechaty/puppet/tag.proto +26 -9
- package/dist/esm/proto/wechaty/puppet.proto +14 -0
- package/dist/esm/src/package-json.js +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/wechaty/puppet/base_pb.d.ts +2 -0
- package/out/wechaty/puppet/base_pb.js +3 -1
- package/out/wechaty/puppet/contact_pb.d.ts +7 -0
- package/out/wechaty/puppet/contact_pb.js +57 -2
- package/out/wechaty/puppet/event_pb.d.ts +2 -0
- package/out/wechaty/puppet/event_pb.js +3 -1
- package/out/wechaty/puppet/tag_pb.d.ts +123 -35
- package/out/wechaty/puppet/tag_pb.js +821 -145
- package/out/wechaty/puppet.openapi.yaml +94 -14
- package/out/wechaty/puppet.swagger.json +140 -21
- 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
|
@@ -341,7 +341,9 @@ proto.wechaty.puppet.EventType = {
|
|
|
341
341
|
EVENT_TYPE_RESET: 24,
|
|
342
342
|
EVENT_TYPE_LOGIN: 25,
|
|
343
343
|
EVENT_TYPE_LOGOUT: 26,
|
|
344
|
-
EVENT_TYPE_DIRTY: 27
|
|
344
|
+
EVENT_TYPE_DIRTY: 27,
|
|
345
|
+
EVENT_TYPE_TAG: 28,
|
|
346
|
+
EVENT_TYPE_TAG_GROUP: 29
|
|
345
347
|
};
|
|
346
348
|
|
|
347
349
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -66,6 +66,9 @@ export class TagGroupPayload extends jspb.Message {
|
|
|
66
66
|
getName(): string;
|
|
67
67
|
setName(value: string): void;
|
|
68
68
|
|
|
69
|
+
getType(): TagTypeMap[keyof TagTypeMap];
|
|
70
|
+
setType(value: TagTypeMap[keyof TagTypeMap]): void;
|
|
71
|
+
|
|
69
72
|
serializeBinary(): Uint8Array;
|
|
70
73
|
toObject(includeInstance?: boolean): TagGroupPayload.AsObject;
|
|
71
74
|
static toObject(includeInstance: boolean, msg: TagGroupPayload): TagGroupPayload.AsObject;
|
|
@@ -80,6 +83,7 @@ export namespace TagGroupPayload {
|
|
|
80
83
|
export type AsObject = {
|
|
81
84
|
id: string,
|
|
82
85
|
name: string,
|
|
86
|
+
type: TagTypeMap[keyof TagTypeMap],
|
|
83
87
|
}
|
|
84
88
|
}
|
|
85
89
|
|
|
@@ -192,10 +196,8 @@ export namespace TagGroupAddRequest {
|
|
|
192
196
|
}
|
|
193
197
|
|
|
194
198
|
export class TagGroupAddResponse extends jspb.Message {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
getPayload(): TagGroupPayload | undefined;
|
|
198
|
-
setPayload(value?: TagGroupPayload): void;
|
|
199
|
+
getTagGroupId(): string;
|
|
200
|
+
setTagGroupId(value: string): void;
|
|
199
201
|
|
|
200
202
|
serializeBinary(): Uint8Array;
|
|
201
203
|
toObject(includeInstance?: boolean): TagGroupAddResponse.AsObject;
|
|
@@ -209,7 +211,7 @@ export class TagGroupAddResponse extends jspb.Message {
|
|
|
209
211
|
|
|
210
212
|
export namespace TagGroupAddResponse {
|
|
211
213
|
export type AsObject = {
|
|
212
|
-
|
|
214
|
+
tagGroupId: string,
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
217
|
|
|
@@ -274,10 +276,10 @@ export namespace TagTagAddRequest {
|
|
|
274
276
|
}
|
|
275
277
|
|
|
276
278
|
export class TagTagAddResponse extends jspb.Message {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
hasTag(): boolean;
|
|
280
|
+
clearTag(): void;
|
|
281
|
+
getTag(): TagIdentifier | undefined;
|
|
282
|
+
setTag(value?: TagIdentifier): void;
|
|
281
283
|
|
|
282
284
|
serializeBinary(): Uint8Array;
|
|
283
285
|
toObject(includeInstance?: boolean): TagTagAddResponse.AsObject;
|
|
@@ -291,7 +293,7 @@ export class TagTagAddResponse extends jspb.Message {
|
|
|
291
293
|
|
|
292
294
|
export namespace TagTagAddResponse {
|
|
293
295
|
export type AsObject = {
|
|
294
|
-
|
|
296
|
+
tag?: TagIdentifier.AsObject,
|
|
295
297
|
}
|
|
296
298
|
}
|
|
297
299
|
|
|
@@ -350,10 +352,10 @@ export namespace TagGroupListRequest {
|
|
|
350
352
|
}
|
|
351
353
|
|
|
352
354
|
export class TagGroupListResponse extends jspb.Message {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
355
|
+
clearTagGroupIdsList(): void;
|
|
356
|
+
getTagGroupIdsList(): Array<string>;
|
|
357
|
+
setTagGroupIdsList(value: Array<string>): void;
|
|
358
|
+
addTagGroupIds(value: string, index?: number): string;
|
|
357
359
|
|
|
358
360
|
serializeBinary(): Uint8Array;
|
|
359
361
|
toObject(includeInstance?: boolean): TagGroupListResponse.AsObject;
|
|
@@ -367,7 +369,7 @@ export class TagGroupListResponse extends jspb.Message {
|
|
|
367
369
|
|
|
368
370
|
export namespace TagGroupListResponse {
|
|
369
371
|
export type AsObject = {
|
|
370
|
-
|
|
372
|
+
tagGroupIdsList: Array<string>,
|
|
371
373
|
}
|
|
372
374
|
}
|
|
373
375
|
|
|
@@ -392,10 +394,10 @@ export namespace TagGroupTagListRequest {
|
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
export class TagGroupTagListResponse extends jspb.Message {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
397
|
+
clearTagsList(): void;
|
|
398
|
+
getTagsList(): Array<TagIdentifier>;
|
|
399
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
400
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
399
401
|
|
|
400
402
|
serializeBinary(): Uint8Array;
|
|
401
403
|
toObject(includeInstance?: boolean): TagGroupTagListResponse.AsObject;
|
|
@@ -409,7 +411,7 @@ export class TagGroupTagListResponse extends jspb.Message {
|
|
|
409
411
|
|
|
410
412
|
export namespace TagGroupTagListResponse {
|
|
411
413
|
export type AsObject = {
|
|
412
|
-
|
|
414
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
413
415
|
}
|
|
414
416
|
}
|
|
415
417
|
|
|
@@ -430,10 +432,10 @@ export namespace TagTagListRequest {
|
|
|
430
432
|
}
|
|
431
433
|
|
|
432
434
|
export class TagTagListResponse extends jspb.Message {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
clearTagsList(): void;
|
|
436
|
+
getTagsList(): Array<TagIdentifier>;
|
|
437
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
438
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
437
439
|
|
|
438
440
|
serializeBinary(): Uint8Array;
|
|
439
441
|
toObject(includeInstance?: boolean): TagTagListResponse.AsObject;
|
|
@@ -447,7 +449,7 @@ export class TagTagListResponse extends jspb.Message {
|
|
|
447
449
|
|
|
448
450
|
export namespace TagTagListResponse {
|
|
449
451
|
export type AsObject = {
|
|
450
|
-
|
|
452
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
451
453
|
}
|
|
452
454
|
}
|
|
453
455
|
|
|
@@ -472,10 +474,10 @@ export namespace TagContactTagListRequest {
|
|
|
472
474
|
}
|
|
473
475
|
|
|
474
476
|
export class TagContactTagListResponse extends jspb.Message {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
clearTagsList(): void;
|
|
478
|
+
getTagsList(): Array<TagIdentifier>;
|
|
479
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
480
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
479
481
|
|
|
480
482
|
serializeBinary(): Uint8Array;
|
|
481
483
|
toObject(includeInstance?: boolean): TagContactTagListResponse.AsObject;
|
|
@@ -489,7 +491,7 @@ export class TagContactTagListResponse extends jspb.Message {
|
|
|
489
491
|
|
|
490
492
|
export namespace TagContactTagListResponse {
|
|
491
493
|
export type AsObject = {
|
|
492
|
-
|
|
494
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
493
495
|
}
|
|
494
496
|
}
|
|
495
497
|
|
|
@@ -516,10 +518,10 @@ export namespace TagTagContactListRequest {
|
|
|
516
518
|
}
|
|
517
519
|
|
|
518
520
|
export class TagTagContactListResponse extends jspb.Message {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
clearContactIdsList(): void;
|
|
522
|
+
getContactIdsList(): Array<string>;
|
|
523
|
+
setContactIdsList(value: Array<string>): void;
|
|
524
|
+
addContactIds(value: string, index?: number): string;
|
|
523
525
|
|
|
524
526
|
serializeBinary(): Uint8Array;
|
|
525
527
|
toObject(includeInstance?: boolean): TagTagContactListResponse.AsObject;
|
|
@@ -533,7 +535,93 @@ export class TagTagContactListResponse extends jspb.Message {
|
|
|
533
535
|
|
|
534
536
|
export namespace TagTagContactListResponse {
|
|
535
537
|
export type AsObject = {
|
|
536
|
-
|
|
538
|
+
contactIdsList: Array<string>,
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export class TagGroupPayloadRequest extends jspb.Message {
|
|
543
|
+
getGroupId(): string;
|
|
544
|
+
setGroupId(value: string): void;
|
|
545
|
+
|
|
546
|
+
serializeBinary(): Uint8Array;
|
|
547
|
+
toObject(includeInstance?: boolean): TagGroupPayloadRequest.AsObject;
|
|
548
|
+
static toObject(includeInstance: boolean, msg: TagGroupPayloadRequest): TagGroupPayloadRequest.AsObject;
|
|
549
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
550
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
551
|
+
static serializeBinaryToWriter(message: TagGroupPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
552
|
+
static deserializeBinary(bytes: Uint8Array): TagGroupPayloadRequest;
|
|
553
|
+
static deserializeBinaryFromReader(message: TagGroupPayloadRequest, reader: jspb.BinaryReader): TagGroupPayloadRequest;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export namespace TagGroupPayloadRequest {
|
|
557
|
+
export type AsObject = {
|
|
558
|
+
groupId: string,
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export class TagGroupPayloadResponse extends jspb.Message {
|
|
563
|
+
hasPayload(): boolean;
|
|
564
|
+
clearPayload(): void;
|
|
565
|
+
getPayload(): TagGroupPayload | undefined;
|
|
566
|
+
setPayload(value?: TagGroupPayload): void;
|
|
567
|
+
|
|
568
|
+
serializeBinary(): Uint8Array;
|
|
569
|
+
toObject(includeInstance?: boolean): TagGroupPayloadResponse.AsObject;
|
|
570
|
+
static toObject(includeInstance: boolean, msg: TagGroupPayloadResponse): TagGroupPayloadResponse.AsObject;
|
|
571
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
572
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
573
|
+
static serializeBinaryToWriter(message: TagGroupPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
574
|
+
static deserializeBinary(bytes: Uint8Array): TagGroupPayloadResponse;
|
|
575
|
+
static deserializeBinaryFromReader(message: TagGroupPayloadResponse, reader: jspb.BinaryReader): TagGroupPayloadResponse;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export namespace TagGroupPayloadResponse {
|
|
579
|
+
export type AsObject = {
|
|
580
|
+
payload?: TagGroupPayload.AsObject,
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export class TagPayloadRequest extends jspb.Message {
|
|
585
|
+
hasTag(): boolean;
|
|
586
|
+
clearTag(): void;
|
|
587
|
+
getTag(): TagIdentifier | undefined;
|
|
588
|
+
setTag(value?: TagIdentifier): void;
|
|
589
|
+
|
|
590
|
+
serializeBinary(): Uint8Array;
|
|
591
|
+
toObject(includeInstance?: boolean): TagPayloadRequest.AsObject;
|
|
592
|
+
static toObject(includeInstance: boolean, msg: TagPayloadRequest): TagPayloadRequest.AsObject;
|
|
593
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
594
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
595
|
+
static serializeBinaryToWriter(message: TagPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
596
|
+
static deserializeBinary(bytes: Uint8Array): TagPayloadRequest;
|
|
597
|
+
static deserializeBinaryFromReader(message: TagPayloadRequest, reader: jspb.BinaryReader): TagPayloadRequest;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export namespace TagPayloadRequest {
|
|
601
|
+
export type AsObject = {
|
|
602
|
+
tag?: TagIdentifier.AsObject,
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export class TagPayloadResponse extends jspb.Message {
|
|
607
|
+
hasPayload(): boolean;
|
|
608
|
+
clearPayload(): void;
|
|
609
|
+
getPayload(): TagPayload | undefined;
|
|
610
|
+
setPayload(value?: TagPayload): void;
|
|
611
|
+
|
|
612
|
+
serializeBinary(): Uint8Array;
|
|
613
|
+
toObject(includeInstance?: boolean): TagPayloadResponse.AsObject;
|
|
614
|
+
static toObject(includeInstance: boolean, msg: TagPayloadResponse): TagPayloadResponse.AsObject;
|
|
615
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
616
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
617
|
+
static serializeBinaryToWriter(message: TagPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
618
|
+
static deserializeBinary(bytes: Uint8Array): TagPayloadResponse;
|
|
619
|
+
static deserializeBinaryFromReader(message: TagPayloadResponse, reader: jspb.BinaryReader): TagPayloadResponse;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
export namespace TagPayloadResponse {
|
|
623
|
+
export type AsObject = {
|
|
624
|
+
payload?: TagPayload.AsObject,
|
|
537
625
|
}
|
|
538
626
|
}
|
|
539
627
|
|