@juzi/wechaty-grpc 1.0.12 → 1.0.13
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/event_pb.d.ts +1 -0
- package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +119 -35
- package/dist/cjs/out/wechaty/puppet/tag_pb.js +790 -144
- package/dist/cjs/out/wechaty/puppet.openapi.yaml +75 -14
- package/dist/cjs/out/wechaty/puppet.swagger.json +112 -15
- 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/tag.proto +23 -7
- 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/event_pb.d.ts +1 -0
- package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
- package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +119 -35
- package/dist/esm/out/wechaty/puppet/tag_pb.js +790 -144
- package/dist/esm/out/wechaty/puppet.openapi.yaml +75 -14
- package/dist/esm/out/wechaty/puppet.swagger.json +112 -15
- 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/tag.proto +23 -7
- 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/event_pb.d.ts +1 -0
- package/out/wechaty/puppet/event_pb.js +2 -1
- package/out/wechaty/puppet/tag_pb.d.ts +119 -35
- package/out/wechaty/puppet/tag_pb.js +790 -144
- package/out/wechaty/puppet.openapi.yaml +75 -14
- package/out/wechaty/puppet.swagger.json +112 -15
- 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,8 @@ 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
|
|
345
346
|
};
|
|
346
347
|
|
|
347
348
|
goog.object.extend(exports, proto.wechaty.puppet);
|
|
@@ -192,10 +192,8 @@ export namespace TagGroupAddRequest {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
export class TagGroupAddResponse extends jspb.Message {
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
getPayload(): TagGroupPayload | undefined;
|
|
198
|
-
setPayload(value?: TagGroupPayload): void;
|
|
195
|
+
getTagGroupId(): string;
|
|
196
|
+
setTagGroupId(value: string): void;
|
|
199
197
|
|
|
200
198
|
serializeBinary(): Uint8Array;
|
|
201
199
|
toObject(includeInstance?: boolean): TagGroupAddResponse.AsObject;
|
|
@@ -209,7 +207,7 @@ export class TagGroupAddResponse extends jspb.Message {
|
|
|
209
207
|
|
|
210
208
|
export namespace TagGroupAddResponse {
|
|
211
209
|
export type AsObject = {
|
|
212
|
-
|
|
210
|
+
tagGroupId: string,
|
|
213
211
|
}
|
|
214
212
|
}
|
|
215
213
|
|
|
@@ -274,10 +272,10 @@ export namespace TagTagAddRequest {
|
|
|
274
272
|
}
|
|
275
273
|
|
|
276
274
|
export class TagTagAddResponse extends jspb.Message {
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
275
|
+
hasTag(): boolean;
|
|
276
|
+
clearTag(): void;
|
|
277
|
+
getTag(): TagIdentifier | undefined;
|
|
278
|
+
setTag(value?: TagIdentifier): void;
|
|
281
279
|
|
|
282
280
|
serializeBinary(): Uint8Array;
|
|
283
281
|
toObject(includeInstance?: boolean): TagTagAddResponse.AsObject;
|
|
@@ -291,7 +289,7 @@ export class TagTagAddResponse extends jspb.Message {
|
|
|
291
289
|
|
|
292
290
|
export namespace TagTagAddResponse {
|
|
293
291
|
export type AsObject = {
|
|
294
|
-
|
|
292
|
+
tag?: TagIdentifier.AsObject,
|
|
295
293
|
}
|
|
296
294
|
}
|
|
297
295
|
|
|
@@ -350,10 +348,10 @@ export namespace TagGroupListRequest {
|
|
|
350
348
|
}
|
|
351
349
|
|
|
352
350
|
export class TagGroupListResponse extends jspb.Message {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
351
|
+
clearTagGroupIdsList(): void;
|
|
352
|
+
getTagGroupIdsList(): Array<string>;
|
|
353
|
+
setTagGroupIdsList(value: Array<string>): void;
|
|
354
|
+
addTagGroupIds(value: string, index?: number): string;
|
|
357
355
|
|
|
358
356
|
serializeBinary(): Uint8Array;
|
|
359
357
|
toObject(includeInstance?: boolean): TagGroupListResponse.AsObject;
|
|
@@ -367,7 +365,7 @@ export class TagGroupListResponse extends jspb.Message {
|
|
|
367
365
|
|
|
368
366
|
export namespace TagGroupListResponse {
|
|
369
367
|
export type AsObject = {
|
|
370
|
-
|
|
368
|
+
tagGroupIdsList: Array<string>,
|
|
371
369
|
}
|
|
372
370
|
}
|
|
373
371
|
|
|
@@ -392,10 +390,10 @@ export namespace TagGroupTagListRequest {
|
|
|
392
390
|
}
|
|
393
391
|
|
|
394
392
|
export class TagGroupTagListResponse extends jspb.Message {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
393
|
+
clearTagsList(): void;
|
|
394
|
+
getTagsList(): Array<TagIdentifier>;
|
|
395
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
396
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
399
397
|
|
|
400
398
|
serializeBinary(): Uint8Array;
|
|
401
399
|
toObject(includeInstance?: boolean): TagGroupTagListResponse.AsObject;
|
|
@@ -409,7 +407,7 @@ export class TagGroupTagListResponse extends jspb.Message {
|
|
|
409
407
|
|
|
410
408
|
export namespace TagGroupTagListResponse {
|
|
411
409
|
export type AsObject = {
|
|
412
|
-
|
|
410
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
413
411
|
}
|
|
414
412
|
}
|
|
415
413
|
|
|
@@ -430,10 +428,10 @@ export namespace TagTagListRequest {
|
|
|
430
428
|
}
|
|
431
429
|
|
|
432
430
|
export class TagTagListResponse extends jspb.Message {
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
431
|
+
clearTagsList(): void;
|
|
432
|
+
getTagsList(): Array<TagIdentifier>;
|
|
433
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
434
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
437
435
|
|
|
438
436
|
serializeBinary(): Uint8Array;
|
|
439
437
|
toObject(includeInstance?: boolean): TagTagListResponse.AsObject;
|
|
@@ -447,7 +445,7 @@ export class TagTagListResponse extends jspb.Message {
|
|
|
447
445
|
|
|
448
446
|
export namespace TagTagListResponse {
|
|
449
447
|
export type AsObject = {
|
|
450
|
-
|
|
448
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
451
449
|
}
|
|
452
450
|
}
|
|
453
451
|
|
|
@@ -472,10 +470,10 @@ export namespace TagContactTagListRequest {
|
|
|
472
470
|
}
|
|
473
471
|
|
|
474
472
|
export class TagContactTagListResponse extends jspb.Message {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
473
|
+
clearTagsList(): void;
|
|
474
|
+
getTagsList(): Array<TagIdentifier>;
|
|
475
|
+
setTagsList(value: Array<TagIdentifier>): void;
|
|
476
|
+
addTags(value?: TagIdentifier, index?: number): TagIdentifier;
|
|
479
477
|
|
|
480
478
|
serializeBinary(): Uint8Array;
|
|
481
479
|
toObject(includeInstance?: boolean): TagContactTagListResponse.AsObject;
|
|
@@ -489,7 +487,7 @@ export class TagContactTagListResponse extends jspb.Message {
|
|
|
489
487
|
|
|
490
488
|
export namespace TagContactTagListResponse {
|
|
491
489
|
export type AsObject = {
|
|
492
|
-
|
|
490
|
+
tagsList: Array<TagIdentifier.AsObject>,
|
|
493
491
|
}
|
|
494
492
|
}
|
|
495
493
|
|
|
@@ -516,10 +514,10 @@ export namespace TagTagContactListRequest {
|
|
|
516
514
|
}
|
|
517
515
|
|
|
518
516
|
export class TagTagContactListResponse extends jspb.Message {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
517
|
+
clearContactIdsList(): void;
|
|
518
|
+
getContactIdsList(): Array<string>;
|
|
519
|
+
setContactIdsList(value: Array<string>): void;
|
|
520
|
+
addContactIds(value: string, index?: number): string;
|
|
523
521
|
|
|
524
522
|
serializeBinary(): Uint8Array;
|
|
525
523
|
toObject(includeInstance?: boolean): TagTagContactListResponse.AsObject;
|
|
@@ -533,7 +531,93 @@ export class TagTagContactListResponse extends jspb.Message {
|
|
|
533
531
|
|
|
534
532
|
export namespace TagTagContactListResponse {
|
|
535
533
|
export type AsObject = {
|
|
536
|
-
|
|
534
|
+
contactIdsList: Array<string>,
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
export class TagGroupPayloadRequest extends jspb.Message {
|
|
539
|
+
getGroupId(): string;
|
|
540
|
+
setGroupId(value: string): void;
|
|
541
|
+
|
|
542
|
+
serializeBinary(): Uint8Array;
|
|
543
|
+
toObject(includeInstance?: boolean): TagGroupPayloadRequest.AsObject;
|
|
544
|
+
static toObject(includeInstance: boolean, msg: TagGroupPayloadRequest): TagGroupPayloadRequest.AsObject;
|
|
545
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
546
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
547
|
+
static serializeBinaryToWriter(message: TagGroupPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
548
|
+
static deserializeBinary(bytes: Uint8Array): TagGroupPayloadRequest;
|
|
549
|
+
static deserializeBinaryFromReader(message: TagGroupPayloadRequest, reader: jspb.BinaryReader): TagGroupPayloadRequest;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export namespace TagGroupPayloadRequest {
|
|
553
|
+
export type AsObject = {
|
|
554
|
+
groupId: string,
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
export class TagGroupPayloadResponse extends jspb.Message {
|
|
559
|
+
hasPayload(): boolean;
|
|
560
|
+
clearPayload(): void;
|
|
561
|
+
getPayload(): TagGroupPayload | undefined;
|
|
562
|
+
setPayload(value?: TagGroupPayload): void;
|
|
563
|
+
|
|
564
|
+
serializeBinary(): Uint8Array;
|
|
565
|
+
toObject(includeInstance?: boolean): TagGroupPayloadResponse.AsObject;
|
|
566
|
+
static toObject(includeInstance: boolean, msg: TagGroupPayloadResponse): TagGroupPayloadResponse.AsObject;
|
|
567
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
568
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
569
|
+
static serializeBinaryToWriter(message: TagGroupPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
570
|
+
static deserializeBinary(bytes: Uint8Array): TagGroupPayloadResponse;
|
|
571
|
+
static deserializeBinaryFromReader(message: TagGroupPayloadResponse, reader: jspb.BinaryReader): TagGroupPayloadResponse;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export namespace TagGroupPayloadResponse {
|
|
575
|
+
export type AsObject = {
|
|
576
|
+
payload?: TagGroupPayload.AsObject,
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export class TagPayloadRequest extends jspb.Message {
|
|
581
|
+
hasTag(): boolean;
|
|
582
|
+
clearTag(): void;
|
|
583
|
+
getTag(): TagIdentifier | undefined;
|
|
584
|
+
setTag(value?: TagIdentifier): void;
|
|
585
|
+
|
|
586
|
+
serializeBinary(): Uint8Array;
|
|
587
|
+
toObject(includeInstance?: boolean): TagPayloadRequest.AsObject;
|
|
588
|
+
static toObject(includeInstance: boolean, msg: TagPayloadRequest): TagPayloadRequest.AsObject;
|
|
589
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
590
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
591
|
+
static serializeBinaryToWriter(message: TagPayloadRequest, writer: jspb.BinaryWriter): void;
|
|
592
|
+
static deserializeBinary(bytes: Uint8Array): TagPayloadRequest;
|
|
593
|
+
static deserializeBinaryFromReader(message: TagPayloadRequest, reader: jspb.BinaryReader): TagPayloadRequest;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export namespace TagPayloadRequest {
|
|
597
|
+
export type AsObject = {
|
|
598
|
+
tag?: TagIdentifier.AsObject,
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
export class TagPayloadResponse extends jspb.Message {
|
|
603
|
+
hasPayload(): boolean;
|
|
604
|
+
clearPayload(): void;
|
|
605
|
+
getPayload(): TagPayload | undefined;
|
|
606
|
+
setPayload(value?: TagPayload): void;
|
|
607
|
+
|
|
608
|
+
serializeBinary(): Uint8Array;
|
|
609
|
+
toObject(includeInstance?: boolean): TagPayloadResponse.AsObject;
|
|
610
|
+
static toObject(includeInstance: boolean, msg: TagPayloadResponse): TagPayloadResponse.AsObject;
|
|
611
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
612
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
613
|
+
static serializeBinaryToWriter(message: TagPayloadResponse, writer: jspb.BinaryWriter): void;
|
|
614
|
+
static deserializeBinary(bytes: Uint8Array): TagPayloadResponse;
|
|
615
|
+
static deserializeBinaryFromReader(message: TagPayloadResponse, reader: jspb.BinaryReader): TagPayloadResponse;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export namespace TagPayloadResponse {
|
|
619
|
+
export type AsObject = {
|
|
620
|
+
payload?: TagPayload.AsObject,
|
|
537
621
|
}
|
|
538
622
|
}
|
|
539
623
|
|