@juzi/wechaty-grpc 1.0.10 → 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.
Files changed (77) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -1
  2. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +1 -0
  3. package/dist/cjs/out/wechaty/puppet/event_pb.js +2 -1
  4. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +6 -0
  5. package/dist/cjs/out/wechaty/puppet/room_pb.js +58 -2
  6. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +536 -76
  7. package/dist/cjs/out/wechaty/puppet/tag_pb.js +3909 -328
  8. package/dist/cjs/out/wechaty/puppet.openapi.yaml +413 -362
  9. package/dist/cjs/out/wechaty/puppet.swagger.json +652 -556
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +182 -183
  11. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +343 -351
  12. package/dist/cjs/out/wechaty/puppet_pb.d.ts +0 -1
  13. package/dist/cjs/out/wechaty/puppet_pb.js +0 -2
  14. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +130 -131
  15. package/dist/cjs/out/wechaty/puppet_pb_service.js +78 -79
  16. package/dist/cjs/proto/wechaty/puppet/event.proto +1 -0
  17. package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
  18. package/dist/cjs/proto/wechaty/puppet/tag.proto +115 -29
  19. package/dist/cjs/proto/wechaty/puppet.proto +36 -37
  20. package/dist/cjs/src/package-json.js +1 -1
  21. package/dist/cjs/tests/puppet-server-impl.js +13 -13
  22. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  23. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -1
  24. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +1 -0
  25. package/dist/esm/out/wechaty/puppet/event_pb.js +2 -1
  26. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
  27. package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
  28. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +536 -76
  29. package/dist/esm/out/wechaty/puppet/tag_pb.js +3909 -328
  30. package/dist/esm/out/wechaty/puppet.openapi.yaml +413 -362
  31. package/dist/esm/out/wechaty/puppet.swagger.json +652 -556
  32. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +182 -183
  33. package/dist/esm/out/wechaty/puppet_grpc_pb.js +343 -351
  34. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  35. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  36. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +130 -131
  37. package/dist/esm/out/wechaty/puppet_pb_service.js +78 -79
  38. package/dist/esm/proto/wechaty/puppet/event.proto +1 -0
  39. package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
  40. package/dist/esm/proto/wechaty/puppet/tag.proto +115 -29
  41. package/dist/esm/proto/wechaty/puppet.proto +36 -37
  42. package/dist/esm/src/package-json.js +1 -1
  43. package/dist/esm/tests/puppet-server-impl.js +13 -13
  44. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  45. package/out/wechaty/puppet/event_pb.d.ts +1 -0
  46. package/out/wechaty/puppet/event_pb.js +2 -1
  47. package/out/wechaty/puppet/room_pb.d.ts +6 -0
  48. package/out/wechaty/puppet/room_pb.js +58 -2
  49. package/out/wechaty/puppet/tag_pb.d.ts +536 -76
  50. package/out/wechaty/puppet/tag_pb.js +3909 -328
  51. package/out/wechaty/puppet.openapi.yaml +413 -362
  52. package/out/wechaty/puppet.swagger.json +652 -556
  53. package/out/wechaty/puppet_grpc_pb.d.ts +182 -183
  54. package/out/wechaty/puppet_grpc_pb.js +343 -351
  55. package/out/wechaty/puppet_pb.d.ts +0 -1
  56. package/out/wechaty/puppet_pb.js +0 -2
  57. package/out/wechaty/puppet_pb_service.d.ts +130 -131
  58. package/out/wechaty/puppet_pb_service.js +78 -79
  59. package/package.json +1 -1
  60. package/src/package-json.ts +1 -1
  61. package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  62. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  63. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  64. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  65. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  66. package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
  67. package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  68. package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  69. package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  70. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  71. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  72. package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
  73. package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  74. package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  75. package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  76. package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  77. package/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
@@ -2,169 +2,629 @@
2
2
  // file: wechaty/puppet/tag.proto
3
3
 
4
4
  import * as jspb from "google-protobuf";
5
- import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
6
5
 
7
- export class TagContactAddRequest extends jspb.Message {
6
+ export class TagPayload extends jspb.Message {
8
7
  getId(): string;
9
8
  setId(value: string): void;
10
9
 
11
- getContactId(): string;
12
- setContactId(value: string): void;
10
+ getName(): string;
11
+ setName(value: string): void;
12
+
13
+ getGroupId(): string;
14
+ setGroupId(value: string): void;
15
+
16
+ getType(): TagTypeMap[keyof TagTypeMap];
17
+ setType(value: TagTypeMap[keyof TagTypeMap]): void;
13
18
 
14
19
  serializeBinary(): Uint8Array;
15
- toObject(includeInstance?: boolean): TagContactAddRequest.AsObject;
16
- static toObject(includeInstance: boolean, msg: TagContactAddRequest): TagContactAddRequest.AsObject;
20
+ toObject(includeInstance?: boolean): TagPayload.AsObject;
21
+ static toObject(includeInstance: boolean, msg: TagPayload): TagPayload.AsObject;
17
22
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
18
23
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
19
- static serializeBinaryToWriter(message: TagContactAddRequest, writer: jspb.BinaryWriter): void;
20
- static deserializeBinary(bytes: Uint8Array): TagContactAddRequest;
21
- static deserializeBinaryFromReader(message: TagContactAddRequest, reader: jspb.BinaryReader): TagContactAddRequest;
24
+ static serializeBinaryToWriter(message: TagPayload, writer: jspb.BinaryWriter): void;
25
+ static deserializeBinary(bytes: Uint8Array): TagPayload;
26
+ static deserializeBinaryFromReader(message: TagPayload, reader: jspb.BinaryReader): TagPayload;
22
27
  }
23
28
 
24
- export namespace TagContactAddRequest {
29
+ export namespace TagPayload {
25
30
  export type AsObject = {
26
31
  id: string,
27
- contactId: string,
32
+ name: string,
33
+ groupId: string,
34
+ type: TagTypeMap[keyof TagTypeMap],
28
35
  }
29
36
  }
30
37
 
31
- export class TagContactAddResponse extends jspb.Message {
38
+ export class TagIdentifier extends jspb.Message {
39
+ getId(): string;
40
+ setId(value: string): void;
41
+
42
+ getGroupId(): string;
43
+ setGroupId(value: string): void;
44
+
32
45
  serializeBinary(): Uint8Array;
33
- toObject(includeInstance?: boolean): TagContactAddResponse.AsObject;
34
- static toObject(includeInstance: boolean, msg: TagContactAddResponse): TagContactAddResponse.AsObject;
46
+ toObject(includeInstance?: boolean): TagIdentifier.AsObject;
47
+ static toObject(includeInstance: boolean, msg: TagIdentifier): TagIdentifier.AsObject;
35
48
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
36
49
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
37
- static serializeBinaryToWriter(message: TagContactAddResponse, writer: jspb.BinaryWriter): void;
38
- static deserializeBinary(bytes: Uint8Array): TagContactAddResponse;
39
- static deserializeBinaryFromReader(message: TagContactAddResponse, reader: jspb.BinaryReader): TagContactAddResponse;
50
+ static serializeBinaryToWriter(message: TagIdentifier, writer: jspb.BinaryWriter): void;
51
+ static deserializeBinary(bytes: Uint8Array): TagIdentifier;
52
+ static deserializeBinaryFromReader(message: TagIdentifier, reader: jspb.BinaryReader): TagIdentifier;
40
53
  }
41
54
 
42
- export namespace TagContactAddResponse {
55
+ export namespace TagIdentifier {
43
56
  export type AsObject = {
57
+ id: string,
58
+ groupId: string,
44
59
  }
45
60
  }
46
61
 
47
- export class TagContactRemoveRequest extends jspb.Message {
62
+ export class TagGroupPayload extends jspb.Message {
48
63
  getId(): string;
49
64
  setId(value: string): void;
50
65
 
51
- getContactId(): string;
52
- setContactId(value: string): void;
66
+ getName(): string;
67
+ setName(value: string): void;
53
68
 
54
69
  serializeBinary(): Uint8Array;
55
- toObject(includeInstance?: boolean): TagContactRemoveRequest.AsObject;
56
- static toObject(includeInstance: boolean, msg: TagContactRemoveRequest): TagContactRemoveRequest.AsObject;
70
+ toObject(includeInstance?: boolean): TagGroupPayload.AsObject;
71
+ static toObject(includeInstance: boolean, msg: TagGroupPayload): TagGroupPayload.AsObject;
57
72
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
58
73
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
59
- static serializeBinaryToWriter(message: TagContactRemoveRequest, writer: jspb.BinaryWriter): void;
60
- static deserializeBinary(bytes: Uint8Array): TagContactRemoveRequest;
61
- static deserializeBinaryFromReader(message: TagContactRemoveRequest, reader: jspb.BinaryReader): TagContactRemoveRequest;
74
+ static serializeBinaryToWriter(message: TagGroupPayload, writer: jspb.BinaryWriter): void;
75
+ static deserializeBinary(bytes: Uint8Array): TagGroupPayload;
76
+ static deserializeBinaryFromReader(message: TagGroupPayload, reader: jspb.BinaryReader): TagGroupPayload;
62
77
  }
63
78
 
64
- export namespace TagContactRemoveRequest {
79
+ export namespace TagGroupPayload {
65
80
  export type AsObject = {
66
81
  id: string,
67
- contactId: string,
82
+ name: string,
68
83
  }
69
84
  }
70
85
 
71
- export class TagContactRemoveResponse extends jspb.Message {
86
+ export class TagContactTagAddRequest extends jspb.Message {
87
+ clearTagsList(): void;
88
+ getTagsList(): Array<TagIdentifier>;
89
+ setTagsList(value: Array<TagIdentifier>): void;
90
+ addTags(value?: TagIdentifier, index?: number): TagIdentifier;
91
+
92
+ clearContactIdsList(): void;
93
+ getContactIdsList(): Array<string>;
94
+ setContactIdsList(value: Array<string>): void;
95
+ addContactIds(value: string, index?: number): string;
96
+
72
97
  serializeBinary(): Uint8Array;
73
- toObject(includeInstance?: boolean): TagContactRemoveResponse.AsObject;
74
- static toObject(includeInstance: boolean, msg: TagContactRemoveResponse): TagContactRemoveResponse.AsObject;
98
+ toObject(includeInstance?: boolean): TagContactTagAddRequest.AsObject;
99
+ static toObject(includeInstance: boolean, msg: TagContactTagAddRequest): TagContactTagAddRequest.AsObject;
75
100
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
76
101
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
77
- static serializeBinaryToWriter(message: TagContactRemoveResponse, writer: jspb.BinaryWriter): void;
78
- static deserializeBinary(bytes: Uint8Array): TagContactRemoveResponse;
79
- static deserializeBinaryFromReader(message: TagContactRemoveResponse, reader: jspb.BinaryReader): TagContactRemoveResponse;
102
+ static serializeBinaryToWriter(message: TagContactTagAddRequest, writer: jspb.BinaryWriter): void;
103
+ static deserializeBinary(bytes: Uint8Array): TagContactTagAddRequest;
104
+ static deserializeBinaryFromReader(message: TagContactTagAddRequest, reader: jspb.BinaryReader): TagContactTagAddRequest;
80
105
  }
81
106
 
82
- export namespace TagContactRemoveResponse {
107
+ export namespace TagContactTagAddRequest {
83
108
  export type AsObject = {
109
+ tagsList: Array<TagIdentifier.AsObject>,
110
+ contactIdsList: Array<string>,
84
111
  }
85
112
  }
86
113
 
87
- export class TagContactDeleteRequest extends jspb.Message {
88
- getId(): string;
89
- setId(value: string): void;
114
+ export class TagContactTagAddResponse extends jspb.Message {
115
+ serializeBinary(): Uint8Array;
116
+ toObject(includeInstance?: boolean): TagContactTagAddResponse.AsObject;
117
+ static toObject(includeInstance: boolean, msg: TagContactTagAddResponse): TagContactTagAddResponse.AsObject;
118
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
119
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
120
+ static serializeBinaryToWriter(message: TagContactTagAddResponse, writer: jspb.BinaryWriter): void;
121
+ static deserializeBinary(bytes: Uint8Array): TagContactTagAddResponse;
122
+ static deserializeBinaryFromReader(message: TagContactTagAddResponse, reader: jspb.BinaryReader): TagContactTagAddResponse;
123
+ }
124
+
125
+ export namespace TagContactTagAddResponse {
126
+ export type AsObject = {
127
+ }
128
+ }
129
+
130
+ export class TagContactTagRemoveRequest extends jspb.Message {
131
+ clearTagsList(): void;
132
+ getTagsList(): Array<TagIdentifier>;
133
+ setTagsList(value: Array<TagIdentifier>): void;
134
+ addTags(value?: TagIdentifier, index?: number): TagIdentifier;
135
+
136
+ clearContactIdsList(): void;
137
+ getContactIdsList(): Array<string>;
138
+ setContactIdsList(value: Array<string>): void;
139
+ addContactIds(value: string, index?: number): string;
90
140
 
91
141
  serializeBinary(): Uint8Array;
92
- toObject(includeInstance?: boolean): TagContactDeleteRequest.AsObject;
93
- static toObject(includeInstance: boolean, msg: TagContactDeleteRequest): TagContactDeleteRequest.AsObject;
142
+ toObject(includeInstance?: boolean): TagContactTagRemoveRequest.AsObject;
143
+ static toObject(includeInstance: boolean, msg: TagContactTagRemoveRequest): TagContactTagRemoveRequest.AsObject;
94
144
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
95
145
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
96
- static serializeBinaryToWriter(message: TagContactDeleteRequest, writer: jspb.BinaryWriter): void;
97
- static deserializeBinary(bytes: Uint8Array): TagContactDeleteRequest;
98
- static deserializeBinaryFromReader(message: TagContactDeleteRequest, reader: jspb.BinaryReader): TagContactDeleteRequest;
146
+ static serializeBinaryToWriter(message: TagContactTagRemoveRequest, writer: jspb.BinaryWriter): void;
147
+ static deserializeBinary(bytes: Uint8Array): TagContactTagRemoveRequest;
148
+ static deserializeBinaryFromReader(message: TagContactTagRemoveRequest, reader: jspb.BinaryReader): TagContactTagRemoveRequest;
99
149
  }
100
150
 
101
- export namespace TagContactDeleteRequest {
151
+ export namespace TagContactTagRemoveRequest {
102
152
  export type AsObject = {
103
- id: string,
153
+ tagsList: Array<TagIdentifier.AsObject>,
154
+ contactIdsList: Array<string>,
155
+ }
156
+ }
157
+
158
+ export class TagContactTagRemoveResponse extends jspb.Message {
159
+ serializeBinary(): Uint8Array;
160
+ toObject(includeInstance?: boolean): TagContactTagRemoveResponse.AsObject;
161
+ static toObject(includeInstance: boolean, msg: TagContactTagRemoveResponse): TagContactTagRemoveResponse.AsObject;
162
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
163
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
164
+ static serializeBinaryToWriter(message: TagContactTagRemoveResponse, writer: jspb.BinaryWriter): void;
165
+ static deserializeBinary(bytes: Uint8Array): TagContactTagRemoveResponse;
166
+ static deserializeBinaryFromReader(message: TagContactTagRemoveResponse, reader: jspb.BinaryReader): TagContactTagRemoveResponse;
167
+ }
168
+
169
+ export namespace TagContactTagRemoveResponse {
170
+ export type AsObject = {
171
+ }
172
+ }
173
+
174
+ export class TagGroupAddRequest extends jspb.Message {
175
+ getTagGroupName(): string;
176
+ setTagGroupName(value: string): void;
177
+
178
+ serializeBinary(): Uint8Array;
179
+ toObject(includeInstance?: boolean): TagGroupAddRequest.AsObject;
180
+ static toObject(includeInstance: boolean, msg: TagGroupAddRequest): TagGroupAddRequest.AsObject;
181
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
182
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
183
+ static serializeBinaryToWriter(message: TagGroupAddRequest, writer: jspb.BinaryWriter): void;
184
+ static deserializeBinary(bytes: Uint8Array): TagGroupAddRequest;
185
+ static deserializeBinaryFromReader(message: TagGroupAddRequest, reader: jspb.BinaryReader): TagGroupAddRequest;
186
+ }
187
+
188
+ export namespace TagGroupAddRequest {
189
+ export type AsObject = {
190
+ tagGroupName: string,
191
+ }
192
+ }
193
+
194
+ export class TagGroupAddResponse extends jspb.Message {
195
+ getTagGroupId(): string;
196
+ setTagGroupId(value: string): void;
197
+
198
+ serializeBinary(): Uint8Array;
199
+ toObject(includeInstance?: boolean): TagGroupAddResponse.AsObject;
200
+ static toObject(includeInstance: boolean, msg: TagGroupAddResponse): TagGroupAddResponse.AsObject;
201
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
202
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
203
+ static serializeBinaryToWriter(message: TagGroupAddResponse, writer: jspb.BinaryWriter): void;
204
+ static deserializeBinary(bytes: Uint8Array): TagGroupAddResponse;
205
+ static deserializeBinaryFromReader(message: TagGroupAddResponse, reader: jspb.BinaryReader): TagGroupAddResponse;
206
+ }
207
+
208
+ export namespace TagGroupAddResponse {
209
+ export type AsObject = {
210
+ tagGroupId: string,
104
211
  }
105
212
  }
106
213
 
107
- export class TagContactDeleteResponse extends jspb.Message {
214
+ export class TagGroupDeleteRequest extends jspb.Message {
215
+ getTagGroupId(): string;
216
+ setTagGroupId(value: string): void;
217
+
108
218
  serializeBinary(): Uint8Array;
109
- toObject(includeInstance?: boolean): TagContactDeleteResponse.AsObject;
110
- static toObject(includeInstance: boolean, msg: TagContactDeleteResponse): TagContactDeleteResponse.AsObject;
219
+ toObject(includeInstance?: boolean): TagGroupDeleteRequest.AsObject;
220
+ static toObject(includeInstance: boolean, msg: TagGroupDeleteRequest): TagGroupDeleteRequest.AsObject;
111
221
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
112
222
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
113
- static serializeBinaryToWriter(message: TagContactDeleteResponse, writer: jspb.BinaryWriter): void;
114
- static deserializeBinary(bytes: Uint8Array): TagContactDeleteResponse;
115
- static deserializeBinaryFromReader(message: TagContactDeleteResponse, reader: jspb.BinaryReader): TagContactDeleteResponse;
223
+ static serializeBinaryToWriter(message: TagGroupDeleteRequest, writer: jspb.BinaryWriter): void;
224
+ static deserializeBinary(bytes: Uint8Array): TagGroupDeleteRequest;
225
+ static deserializeBinaryFromReader(message: TagGroupDeleteRequest, reader: jspb.BinaryReader): TagGroupDeleteRequest;
116
226
  }
117
227
 
118
- export namespace TagContactDeleteResponse {
228
+ export namespace TagGroupDeleteRequest {
119
229
  export type AsObject = {
230
+ tagGroupId: string,
120
231
  }
121
232
  }
122
233
 
123
- export class TagContactListRequest extends jspb.Message {
124
- hasContactIdStringValueDeprecated(): boolean;
125
- clearContactIdStringValueDeprecated(): void;
126
- getContactIdStringValueDeprecated(): google_protobuf_wrappers_pb.StringValue | undefined;
127
- setContactIdStringValueDeprecated(value?: google_protobuf_wrappers_pb.StringValue): void;
234
+ export class TagGroupDeleteResponse extends jspb.Message {
235
+ serializeBinary(): Uint8Array;
236
+ toObject(includeInstance?: boolean): TagGroupDeleteResponse.AsObject;
237
+ static toObject(includeInstance: boolean, msg: TagGroupDeleteResponse): TagGroupDeleteResponse.AsObject;
238
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
239
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
240
+ static serializeBinaryToWriter(message: TagGroupDeleteResponse, writer: jspb.BinaryWriter): void;
241
+ static deserializeBinary(bytes: Uint8Array): TagGroupDeleteResponse;
242
+ static deserializeBinaryFromReader(message: TagGroupDeleteResponse, reader: jspb.BinaryReader): TagGroupDeleteResponse;
243
+ }
128
244
 
245
+ export namespace TagGroupDeleteResponse {
246
+ export type AsObject = {
247
+ }
248
+ }
249
+
250
+ export class TagTagAddRequest extends jspb.Message {
251
+ getTagName(): string;
252
+ setTagName(value: string): void;
253
+
254
+ getTagGroupId(): string;
255
+ setTagGroupId(value: string): void;
256
+
257
+ serializeBinary(): Uint8Array;
258
+ toObject(includeInstance?: boolean): TagTagAddRequest.AsObject;
259
+ static toObject(includeInstance: boolean, msg: TagTagAddRequest): TagTagAddRequest.AsObject;
260
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
261
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
262
+ static serializeBinaryToWriter(message: TagTagAddRequest, writer: jspb.BinaryWriter): void;
263
+ static deserializeBinary(bytes: Uint8Array): TagTagAddRequest;
264
+ static deserializeBinaryFromReader(message: TagTagAddRequest, reader: jspb.BinaryReader): TagTagAddRequest;
265
+ }
266
+
267
+ export namespace TagTagAddRequest {
268
+ export type AsObject = {
269
+ tagName: string,
270
+ tagGroupId: string,
271
+ }
272
+ }
273
+
274
+ export class TagTagAddResponse extends jspb.Message {
275
+ hasTag(): boolean;
276
+ clearTag(): void;
277
+ getTag(): TagIdentifier | undefined;
278
+ setTag(value?: TagIdentifier): void;
279
+
280
+ serializeBinary(): Uint8Array;
281
+ toObject(includeInstance?: boolean): TagTagAddResponse.AsObject;
282
+ static toObject(includeInstance: boolean, msg: TagTagAddResponse): TagTagAddResponse.AsObject;
283
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
284
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
285
+ static serializeBinaryToWriter(message: TagTagAddResponse, writer: jspb.BinaryWriter): void;
286
+ static deserializeBinary(bytes: Uint8Array): TagTagAddResponse;
287
+ static deserializeBinaryFromReader(message: TagTagAddResponse, reader: jspb.BinaryReader): TagTagAddResponse;
288
+ }
289
+
290
+ export namespace TagTagAddResponse {
291
+ export type AsObject = {
292
+ tag?: TagIdentifier.AsObject,
293
+ }
294
+ }
295
+
296
+ export class TagTagDeleteRequest extends jspb.Message {
297
+ hasTag(): boolean;
298
+ clearTag(): void;
299
+ getTag(): TagIdentifier | undefined;
300
+ setTag(value?: TagIdentifier): void;
301
+
302
+ serializeBinary(): Uint8Array;
303
+ toObject(includeInstance?: boolean): TagTagDeleteRequest.AsObject;
304
+ static toObject(includeInstance: boolean, msg: TagTagDeleteRequest): TagTagDeleteRequest.AsObject;
305
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
306
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
307
+ static serializeBinaryToWriter(message: TagTagDeleteRequest, writer: jspb.BinaryWriter): void;
308
+ static deserializeBinary(bytes: Uint8Array): TagTagDeleteRequest;
309
+ static deserializeBinaryFromReader(message: TagTagDeleteRequest, reader: jspb.BinaryReader): TagTagDeleteRequest;
310
+ }
311
+
312
+ export namespace TagTagDeleteRequest {
313
+ export type AsObject = {
314
+ tag?: TagIdentifier.AsObject,
315
+ }
316
+ }
317
+
318
+ export class TagTagDeleteResponse extends jspb.Message {
319
+ serializeBinary(): Uint8Array;
320
+ toObject(includeInstance?: boolean): TagTagDeleteResponse.AsObject;
321
+ static toObject(includeInstance: boolean, msg: TagTagDeleteResponse): TagTagDeleteResponse.AsObject;
322
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
323
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
324
+ static serializeBinaryToWriter(message: TagTagDeleteResponse, writer: jspb.BinaryWriter): void;
325
+ static deserializeBinary(bytes: Uint8Array): TagTagDeleteResponse;
326
+ static deserializeBinaryFromReader(message: TagTagDeleteResponse, reader: jspb.BinaryReader): TagTagDeleteResponse;
327
+ }
328
+
329
+ export namespace TagTagDeleteResponse {
330
+ export type AsObject = {
331
+ }
332
+ }
333
+
334
+ export class TagGroupListRequest extends jspb.Message {
335
+ serializeBinary(): Uint8Array;
336
+ toObject(includeInstance?: boolean): TagGroupListRequest.AsObject;
337
+ static toObject(includeInstance: boolean, msg: TagGroupListRequest): TagGroupListRequest.AsObject;
338
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
339
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
340
+ static serializeBinaryToWriter(message: TagGroupListRequest, writer: jspb.BinaryWriter): void;
341
+ static deserializeBinary(bytes: Uint8Array): TagGroupListRequest;
342
+ static deserializeBinaryFromReader(message: TagGroupListRequest, reader: jspb.BinaryReader): TagGroupListRequest;
343
+ }
344
+
345
+ export namespace TagGroupListRequest {
346
+ export type AsObject = {
347
+ }
348
+ }
349
+
350
+ export class TagGroupListResponse extends jspb.Message {
351
+ clearTagGroupIdsList(): void;
352
+ getTagGroupIdsList(): Array<string>;
353
+ setTagGroupIdsList(value: Array<string>): void;
354
+ addTagGroupIds(value: string, index?: number): string;
355
+
356
+ serializeBinary(): Uint8Array;
357
+ toObject(includeInstance?: boolean): TagGroupListResponse.AsObject;
358
+ static toObject(includeInstance: boolean, msg: TagGroupListResponse): TagGroupListResponse.AsObject;
359
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
360
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
361
+ static serializeBinaryToWriter(message: TagGroupListResponse, writer: jspb.BinaryWriter): void;
362
+ static deserializeBinary(bytes: Uint8Array): TagGroupListResponse;
363
+ static deserializeBinaryFromReader(message: TagGroupListResponse, reader: jspb.BinaryReader): TagGroupListResponse;
364
+ }
365
+
366
+ export namespace TagGroupListResponse {
367
+ export type AsObject = {
368
+ tagGroupIdsList: Array<string>,
369
+ }
370
+ }
371
+
372
+ export class TagGroupTagListRequest extends jspb.Message {
373
+ getTagGroupId(): string;
374
+ setTagGroupId(value: string): void;
375
+
376
+ serializeBinary(): Uint8Array;
377
+ toObject(includeInstance?: boolean): TagGroupTagListRequest.AsObject;
378
+ static toObject(includeInstance: boolean, msg: TagGroupTagListRequest): TagGroupTagListRequest.AsObject;
379
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
380
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
381
+ static serializeBinaryToWriter(message: TagGroupTagListRequest, writer: jspb.BinaryWriter): void;
382
+ static deserializeBinary(bytes: Uint8Array): TagGroupTagListRequest;
383
+ static deserializeBinaryFromReader(message: TagGroupTagListRequest, reader: jspb.BinaryReader): TagGroupTagListRequest;
384
+ }
385
+
386
+ export namespace TagGroupTagListRequest {
387
+ export type AsObject = {
388
+ tagGroupId: string,
389
+ }
390
+ }
391
+
392
+ export class TagGroupTagListResponse extends jspb.Message {
393
+ clearTagsList(): void;
394
+ getTagsList(): Array<TagIdentifier>;
395
+ setTagsList(value: Array<TagIdentifier>): void;
396
+ addTags(value?: TagIdentifier, index?: number): TagIdentifier;
397
+
398
+ serializeBinary(): Uint8Array;
399
+ toObject(includeInstance?: boolean): TagGroupTagListResponse.AsObject;
400
+ static toObject(includeInstance: boolean, msg: TagGroupTagListResponse): TagGroupTagListResponse.AsObject;
401
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
402
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
403
+ static serializeBinaryToWriter(message: TagGroupTagListResponse, writer: jspb.BinaryWriter): void;
404
+ static deserializeBinary(bytes: Uint8Array): TagGroupTagListResponse;
405
+ static deserializeBinaryFromReader(message: TagGroupTagListResponse, reader: jspb.BinaryReader): TagGroupTagListResponse;
406
+ }
407
+
408
+ export namespace TagGroupTagListResponse {
409
+ export type AsObject = {
410
+ tagsList: Array<TagIdentifier.AsObject>,
411
+ }
412
+ }
413
+
414
+ export class TagTagListRequest extends jspb.Message {
415
+ serializeBinary(): Uint8Array;
416
+ toObject(includeInstance?: boolean): TagTagListRequest.AsObject;
417
+ static toObject(includeInstance: boolean, msg: TagTagListRequest): TagTagListRequest.AsObject;
418
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
419
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
420
+ static serializeBinaryToWriter(message: TagTagListRequest, writer: jspb.BinaryWriter): void;
421
+ static deserializeBinary(bytes: Uint8Array): TagTagListRequest;
422
+ static deserializeBinaryFromReader(message: TagTagListRequest, reader: jspb.BinaryReader): TagTagListRequest;
423
+ }
424
+
425
+ export namespace TagTagListRequest {
426
+ export type AsObject = {
427
+ }
428
+ }
429
+
430
+ export class TagTagListResponse extends jspb.Message {
431
+ clearTagsList(): void;
432
+ getTagsList(): Array<TagIdentifier>;
433
+ setTagsList(value: Array<TagIdentifier>): void;
434
+ addTags(value?: TagIdentifier, index?: number): TagIdentifier;
435
+
436
+ serializeBinary(): Uint8Array;
437
+ toObject(includeInstance?: boolean): TagTagListResponse.AsObject;
438
+ static toObject(includeInstance: boolean, msg: TagTagListResponse): TagTagListResponse.AsObject;
439
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
440
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
441
+ static serializeBinaryToWriter(message: TagTagListResponse, writer: jspb.BinaryWriter): void;
442
+ static deserializeBinary(bytes: Uint8Array): TagTagListResponse;
443
+ static deserializeBinaryFromReader(message: TagTagListResponse, reader: jspb.BinaryReader): TagTagListResponse;
444
+ }
445
+
446
+ export namespace TagTagListResponse {
447
+ export type AsObject = {
448
+ tagsList: Array<TagIdentifier.AsObject>,
449
+ }
450
+ }
451
+
452
+ export class TagContactTagListRequest extends jspb.Message {
129
453
  getContactId(): string;
130
454
  setContactId(value: string): void;
131
455
 
132
456
  serializeBinary(): Uint8Array;
133
- toObject(includeInstance?: boolean): TagContactListRequest.AsObject;
134
- static toObject(includeInstance: boolean, msg: TagContactListRequest): TagContactListRequest.AsObject;
457
+ toObject(includeInstance?: boolean): TagContactTagListRequest.AsObject;
458
+ static toObject(includeInstance: boolean, msg: TagContactTagListRequest): TagContactTagListRequest.AsObject;
135
459
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
136
460
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
137
- static serializeBinaryToWriter(message: TagContactListRequest, writer: jspb.BinaryWriter): void;
138
- static deserializeBinary(bytes: Uint8Array): TagContactListRequest;
139
- static deserializeBinaryFromReader(message: TagContactListRequest, reader: jspb.BinaryReader): TagContactListRequest;
461
+ static serializeBinaryToWriter(message: TagContactTagListRequest, writer: jspb.BinaryWriter): void;
462
+ static deserializeBinary(bytes: Uint8Array): TagContactTagListRequest;
463
+ static deserializeBinaryFromReader(message: TagContactTagListRequest, reader: jspb.BinaryReader): TagContactTagListRequest;
140
464
  }
141
465
 
142
- export namespace TagContactListRequest {
466
+ export namespace TagContactTagListRequest {
143
467
  export type AsObject = {
144
- contactIdStringValueDeprecated?: google_protobuf_wrappers_pb.StringValue.AsObject,
145
468
  contactId: string,
146
469
  }
147
470
  }
148
471
 
149
- export class TagContactListResponse extends jspb.Message {
150
- clearIdsList(): void;
151
- getIdsList(): Array<string>;
152
- setIdsList(value: Array<string>): void;
153
- addIds(value: string, index?: number): string;
472
+ export class TagContactTagListResponse extends jspb.Message {
473
+ clearTagsList(): void;
474
+ getTagsList(): Array<TagIdentifier>;
475
+ setTagsList(value: Array<TagIdentifier>): void;
476
+ addTags(value?: TagIdentifier, index?: number): TagIdentifier;
154
477
 
155
478
  serializeBinary(): Uint8Array;
156
- toObject(includeInstance?: boolean): TagContactListResponse.AsObject;
157
- static toObject(includeInstance: boolean, msg: TagContactListResponse): TagContactListResponse.AsObject;
479
+ toObject(includeInstance?: boolean): TagContactTagListResponse.AsObject;
480
+ static toObject(includeInstance: boolean, msg: TagContactTagListResponse): TagContactTagListResponse.AsObject;
158
481
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
159
482
  static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
160
- static serializeBinaryToWriter(message: TagContactListResponse, writer: jspb.BinaryWriter): void;
161
- static deserializeBinary(bytes: Uint8Array): TagContactListResponse;
162
- static deserializeBinaryFromReader(message: TagContactListResponse, reader: jspb.BinaryReader): TagContactListResponse;
483
+ static serializeBinaryToWriter(message: TagContactTagListResponse, writer: jspb.BinaryWriter): void;
484
+ static deserializeBinary(bytes: Uint8Array): TagContactTagListResponse;
485
+ static deserializeBinaryFromReader(message: TagContactTagListResponse, reader: jspb.BinaryReader): TagContactTagListResponse;
163
486
  }
164
487
 
165
- export namespace TagContactListResponse {
488
+ export namespace TagContactTagListResponse {
166
489
  export type AsObject = {
167
- idsList: Array<string>,
490
+ tagsList: Array<TagIdentifier.AsObject>,
168
491
  }
169
492
  }
170
493
 
494
+ export class TagTagContactListRequest extends jspb.Message {
495
+ hasTag(): boolean;
496
+ clearTag(): void;
497
+ getTag(): TagIdentifier | undefined;
498
+ setTag(value?: TagIdentifier): void;
499
+
500
+ serializeBinary(): Uint8Array;
501
+ toObject(includeInstance?: boolean): TagTagContactListRequest.AsObject;
502
+ static toObject(includeInstance: boolean, msg: TagTagContactListRequest): TagTagContactListRequest.AsObject;
503
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
504
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
505
+ static serializeBinaryToWriter(message: TagTagContactListRequest, writer: jspb.BinaryWriter): void;
506
+ static deserializeBinary(bytes: Uint8Array): TagTagContactListRequest;
507
+ static deserializeBinaryFromReader(message: TagTagContactListRequest, reader: jspb.BinaryReader): TagTagContactListRequest;
508
+ }
509
+
510
+ export namespace TagTagContactListRequest {
511
+ export type AsObject = {
512
+ tag?: TagIdentifier.AsObject,
513
+ }
514
+ }
515
+
516
+ export class TagTagContactListResponse extends jspb.Message {
517
+ clearContactIdsList(): void;
518
+ getContactIdsList(): Array<string>;
519
+ setContactIdsList(value: Array<string>): void;
520
+ addContactIds(value: string, index?: number): string;
521
+
522
+ serializeBinary(): Uint8Array;
523
+ toObject(includeInstance?: boolean): TagTagContactListResponse.AsObject;
524
+ static toObject(includeInstance: boolean, msg: TagTagContactListResponse): TagTagContactListResponse.AsObject;
525
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
526
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
527
+ static serializeBinaryToWriter(message: TagTagContactListResponse, writer: jspb.BinaryWriter): void;
528
+ static deserializeBinary(bytes: Uint8Array): TagTagContactListResponse;
529
+ static deserializeBinaryFromReader(message: TagTagContactListResponse, reader: jspb.BinaryReader): TagTagContactListResponse;
530
+ }
531
+
532
+ export namespace TagTagContactListResponse {
533
+ export type AsObject = {
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,
621
+ }
622
+ }
623
+
624
+ export interface TagTypeMap {
625
+ PERSONAL: 0;
626
+ CORPORATION: 1;
627
+ }
628
+
629
+ export const TagType: TagTypeMap;
630
+