@juzi/wechaty-grpc 1.0.9 → 1.0.12

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 (81) hide show
  1. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +0 -1
  2. package/dist/cjs/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  3. package/dist/cjs/out/wechaty/puppet/friendship_pb.js +3 -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 +452 -76
  7. package/dist/cjs/out/wechaty/puppet/tag_pb.js +3287 -352
  8. package/dist/cjs/out/wechaty/puppet.openapi.yaml +323 -331
  9. package/dist/cjs/out/wechaty/puppet.swagger.json +573 -572
  10. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  11. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +283 -357
  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 +110 -149
  15. package/dist/cjs/out/wechaty/puppet_pb_service.js +66 -147
  16. package/dist/cjs/proto/wechaty/puppet/friendship.proto +2 -0
  17. package/dist/cjs/proto/wechaty/puppet/room.proto +14 -13
  18. package/dist/cjs/proto/wechaty/puppet/tag.proto +99 -29
  19. package/dist/cjs/proto/wechaty/puppet.proto +28 -43
  20. package/dist/cjs/src/package-json.js +1 -1
  21. package/dist/cjs/src/package-json.js.map +1 -1
  22. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  23. package/dist/cjs/tests/puppet-server-impl.js +11 -21
  24. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  25. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +0 -1
  26. package/dist/esm/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  27. package/dist/esm/out/wechaty/puppet/friendship_pb.js +3 -1
  28. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +6 -0
  29. package/dist/esm/out/wechaty/puppet/room_pb.js +58 -2
  30. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +452 -76
  31. package/dist/esm/out/wechaty/puppet/tag_pb.js +3287 -352
  32. package/dist/esm/out/wechaty/puppet.openapi.yaml +323 -331
  33. package/dist/esm/out/wechaty/puppet.swagger.json +573 -572
  34. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  35. package/dist/esm/out/wechaty/puppet_grpc_pb.js +283 -357
  36. package/dist/esm/out/wechaty/puppet_pb.d.ts +0 -1
  37. package/dist/esm/out/wechaty/puppet_pb.js +0 -2
  38. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +110 -149
  39. package/dist/esm/out/wechaty/puppet_pb_service.js +66 -147
  40. package/dist/esm/proto/wechaty/puppet/friendship.proto +2 -0
  41. package/dist/esm/proto/wechaty/puppet/room.proto +14 -13
  42. package/dist/esm/proto/wechaty/puppet/tag.proto +99 -29
  43. package/dist/esm/proto/wechaty/puppet.proto +28 -43
  44. package/dist/esm/src/package-json.js +1 -1
  45. package/dist/esm/src/package-json.js.map +1 -1
  46. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  47. package/dist/esm/tests/puppet-server-impl.js +11 -21
  48. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  49. package/out/wechaty/puppet/friendship_pb.d.ts +2 -0
  50. package/out/wechaty/puppet/friendship_pb.js +3 -1
  51. package/out/wechaty/puppet/room_pb.d.ts +6 -0
  52. package/out/wechaty/puppet/room_pb.js +58 -2
  53. package/out/wechaty/puppet/tag_pb.d.ts +452 -76
  54. package/out/wechaty/puppet/tag_pb.js +3287 -352
  55. package/out/wechaty/puppet.openapi.yaml +323 -331
  56. package/out/wechaty/puppet.swagger.json +573 -572
  57. package/out/wechaty/puppet_grpc_pb.d.ts +154 -189
  58. package/out/wechaty/puppet_grpc_pb.js +283 -357
  59. package/out/wechaty/puppet_pb.d.ts +0 -1
  60. package/out/wechaty/puppet_pb.js +0 -2
  61. package/out/wechaty/puppet_pb_service.d.ts +110 -149
  62. package/out/wechaty/puppet_pb_service.js +66 -147
  63. package/package.json +1 -1
  64. package/src/package-json.ts +1 -1
  65. package/dist/cjs/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  66. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  67. package/dist/cjs/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  68. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  69. package/dist/cjs/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  70. package/dist/cjs/proto/wechaty/puppet/corp-tag.proto +0 -90
  71. package/dist/esm/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  72. package/dist/esm/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  73. package/dist/esm/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  74. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  75. package/dist/esm/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
  76. package/dist/esm/proto/wechaty/puppet/corp-tag.proto +0 -90
  77. package/out/wechaty/puppet/corp-tag_grpc_pb.js +0 -1
  78. package/out/wechaty/puppet/corp-tag_pb.d.ts +0 -431
  79. package/out/wechaty/puppet/corp-tag_pb.js +0 -3315
  80. package/out/wechaty/puppet/corp-tag_pb_service.d.ts +0 -3
  81. package/out/wechaty/puppet/corp-tag_pb_service.js +0 -3
@@ -2,169 +2,545 @@
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,
104
191
  }
105
192
  }
106
193
 
107
- export class TagContactDeleteResponse extends jspb.Message {
194
+ export class TagGroupAddResponse extends jspb.Message {
195
+ hasPayload(): boolean;
196
+ clearPayload(): void;
197
+ getPayload(): TagGroupPayload | undefined;
198
+ setPayload(value?: TagGroupPayload): void;
199
+
200
+ serializeBinary(): Uint8Array;
201
+ toObject(includeInstance?: boolean): TagGroupAddResponse.AsObject;
202
+ static toObject(includeInstance: boolean, msg: TagGroupAddResponse): TagGroupAddResponse.AsObject;
203
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
204
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
205
+ static serializeBinaryToWriter(message: TagGroupAddResponse, writer: jspb.BinaryWriter): void;
206
+ static deserializeBinary(bytes: Uint8Array): TagGroupAddResponse;
207
+ static deserializeBinaryFromReader(message: TagGroupAddResponse, reader: jspb.BinaryReader): TagGroupAddResponse;
208
+ }
209
+
210
+ export namespace TagGroupAddResponse {
211
+ export type AsObject = {
212
+ payload?: TagGroupPayload.AsObject,
213
+ }
214
+ }
215
+
216
+ export class TagGroupDeleteRequest extends jspb.Message {
217
+ getTagGroupId(): string;
218
+ setTagGroupId(value: string): void;
219
+
220
+ serializeBinary(): Uint8Array;
221
+ toObject(includeInstance?: boolean): TagGroupDeleteRequest.AsObject;
222
+ static toObject(includeInstance: boolean, msg: TagGroupDeleteRequest): TagGroupDeleteRequest.AsObject;
223
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
224
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
225
+ static serializeBinaryToWriter(message: TagGroupDeleteRequest, writer: jspb.BinaryWriter): void;
226
+ static deserializeBinary(bytes: Uint8Array): TagGroupDeleteRequest;
227
+ static deserializeBinaryFromReader(message: TagGroupDeleteRequest, reader: jspb.BinaryReader): TagGroupDeleteRequest;
228
+ }
229
+
230
+ export namespace TagGroupDeleteRequest {
231
+ export type AsObject = {
232
+ tagGroupId: string,
233
+ }
234
+ }
235
+
236
+ export class TagGroupDeleteResponse extends jspb.Message {
108
237
  serializeBinary(): Uint8Array;
109
- toObject(includeInstance?: boolean): TagContactDeleteResponse.AsObject;
110
- static toObject(includeInstance: boolean, msg: TagContactDeleteResponse): TagContactDeleteResponse.AsObject;
238
+ toObject(includeInstance?: boolean): TagGroupDeleteResponse.AsObject;
239
+ static toObject(includeInstance: boolean, msg: TagGroupDeleteResponse): TagGroupDeleteResponse.AsObject;
111
240
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
112
241
  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;
242
+ static serializeBinaryToWriter(message: TagGroupDeleteResponse, writer: jspb.BinaryWriter): void;
243
+ static deserializeBinary(bytes: Uint8Array): TagGroupDeleteResponse;
244
+ static deserializeBinaryFromReader(message: TagGroupDeleteResponse, reader: jspb.BinaryReader): TagGroupDeleteResponse;
116
245
  }
117
246
 
118
- export namespace TagContactDeleteResponse {
247
+ export namespace TagGroupDeleteResponse {
119
248
  export type AsObject = {
120
249
  }
121
250
  }
122
251
 
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;
252
+ export class TagTagAddRequest extends jspb.Message {
253
+ getTagName(): string;
254
+ setTagName(value: string): void;
255
+
256
+ getTagGroupId(): string;
257
+ setTagGroupId(value: string): void;
128
258
 
259
+ serializeBinary(): Uint8Array;
260
+ toObject(includeInstance?: boolean): TagTagAddRequest.AsObject;
261
+ static toObject(includeInstance: boolean, msg: TagTagAddRequest): TagTagAddRequest.AsObject;
262
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
263
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
264
+ static serializeBinaryToWriter(message: TagTagAddRequest, writer: jspb.BinaryWriter): void;
265
+ static deserializeBinary(bytes: Uint8Array): TagTagAddRequest;
266
+ static deserializeBinaryFromReader(message: TagTagAddRequest, reader: jspb.BinaryReader): TagTagAddRequest;
267
+ }
268
+
269
+ export namespace TagTagAddRequest {
270
+ export type AsObject = {
271
+ tagName: string,
272
+ tagGroupId: string,
273
+ }
274
+ }
275
+
276
+ export class TagTagAddResponse extends jspb.Message {
277
+ hasPayload(): boolean;
278
+ clearPayload(): void;
279
+ getPayload(): TagPayload | undefined;
280
+ setPayload(value?: TagPayload): void;
281
+
282
+ serializeBinary(): Uint8Array;
283
+ toObject(includeInstance?: boolean): TagTagAddResponse.AsObject;
284
+ static toObject(includeInstance: boolean, msg: TagTagAddResponse): TagTagAddResponse.AsObject;
285
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
286
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
287
+ static serializeBinaryToWriter(message: TagTagAddResponse, writer: jspb.BinaryWriter): void;
288
+ static deserializeBinary(bytes: Uint8Array): TagTagAddResponse;
289
+ static deserializeBinaryFromReader(message: TagTagAddResponse, reader: jspb.BinaryReader): TagTagAddResponse;
290
+ }
291
+
292
+ export namespace TagTagAddResponse {
293
+ export type AsObject = {
294
+ payload?: TagPayload.AsObject,
295
+ }
296
+ }
297
+
298
+ export class TagTagDeleteRequest extends jspb.Message {
299
+ hasTag(): boolean;
300
+ clearTag(): void;
301
+ getTag(): TagIdentifier | undefined;
302
+ setTag(value?: TagIdentifier): void;
303
+
304
+ serializeBinary(): Uint8Array;
305
+ toObject(includeInstance?: boolean): TagTagDeleteRequest.AsObject;
306
+ static toObject(includeInstance: boolean, msg: TagTagDeleteRequest): TagTagDeleteRequest.AsObject;
307
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
308
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
309
+ static serializeBinaryToWriter(message: TagTagDeleteRequest, writer: jspb.BinaryWriter): void;
310
+ static deserializeBinary(bytes: Uint8Array): TagTagDeleteRequest;
311
+ static deserializeBinaryFromReader(message: TagTagDeleteRequest, reader: jspb.BinaryReader): TagTagDeleteRequest;
312
+ }
313
+
314
+ export namespace TagTagDeleteRequest {
315
+ export type AsObject = {
316
+ tag?: TagIdentifier.AsObject,
317
+ }
318
+ }
319
+
320
+ export class TagTagDeleteResponse extends jspb.Message {
321
+ serializeBinary(): Uint8Array;
322
+ toObject(includeInstance?: boolean): TagTagDeleteResponse.AsObject;
323
+ static toObject(includeInstance: boolean, msg: TagTagDeleteResponse): TagTagDeleteResponse.AsObject;
324
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
325
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
326
+ static serializeBinaryToWriter(message: TagTagDeleteResponse, writer: jspb.BinaryWriter): void;
327
+ static deserializeBinary(bytes: Uint8Array): TagTagDeleteResponse;
328
+ static deserializeBinaryFromReader(message: TagTagDeleteResponse, reader: jspb.BinaryReader): TagTagDeleteResponse;
329
+ }
330
+
331
+ export namespace TagTagDeleteResponse {
332
+ export type AsObject = {
333
+ }
334
+ }
335
+
336
+ export class TagGroupListRequest extends jspb.Message {
337
+ serializeBinary(): Uint8Array;
338
+ toObject(includeInstance?: boolean): TagGroupListRequest.AsObject;
339
+ static toObject(includeInstance: boolean, msg: TagGroupListRequest): TagGroupListRequest.AsObject;
340
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
341
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
342
+ static serializeBinaryToWriter(message: TagGroupListRequest, writer: jspb.BinaryWriter): void;
343
+ static deserializeBinary(bytes: Uint8Array): TagGroupListRequest;
344
+ static deserializeBinaryFromReader(message: TagGroupListRequest, reader: jspb.BinaryReader): TagGroupListRequest;
345
+ }
346
+
347
+ export namespace TagGroupListRequest {
348
+ export type AsObject = {
349
+ }
350
+ }
351
+
352
+ export class TagGroupListResponse extends jspb.Message {
353
+ clearPayloadsList(): void;
354
+ getPayloadsList(): Array<TagGroupPayload>;
355
+ setPayloadsList(value: Array<TagGroupPayload>): void;
356
+ addPayloads(value?: TagGroupPayload, index?: number): TagGroupPayload;
357
+
358
+ serializeBinary(): Uint8Array;
359
+ toObject(includeInstance?: boolean): TagGroupListResponse.AsObject;
360
+ static toObject(includeInstance: boolean, msg: TagGroupListResponse): TagGroupListResponse.AsObject;
361
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
362
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
363
+ static serializeBinaryToWriter(message: TagGroupListResponse, writer: jspb.BinaryWriter): void;
364
+ static deserializeBinary(bytes: Uint8Array): TagGroupListResponse;
365
+ static deserializeBinaryFromReader(message: TagGroupListResponse, reader: jspb.BinaryReader): TagGroupListResponse;
366
+ }
367
+
368
+ export namespace TagGroupListResponse {
369
+ export type AsObject = {
370
+ payloadsList: Array<TagGroupPayload.AsObject>,
371
+ }
372
+ }
373
+
374
+ export class TagGroupTagListRequest extends jspb.Message {
375
+ getTagGroupId(): string;
376
+ setTagGroupId(value: string): void;
377
+
378
+ serializeBinary(): Uint8Array;
379
+ toObject(includeInstance?: boolean): TagGroupTagListRequest.AsObject;
380
+ static toObject(includeInstance: boolean, msg: TagGroupTagListRequest): TagGroupTagListRequest.AsObject;
381
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
382
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
383
+ static serializeBinaryToWriter(message: TagGroupTagListRequest, writer: jspb.BinaryWriter): void;
384
+ static deserializeBinary(bytes: Uint8Array): TagGroupTagListRequest;
385
+ static deserializeBinaryFromReader(message: TagGroupTagListRequest, reader: jspb.BinaryReader): TagGroupTagListRequest;
386
+ }
387
+
388
+ export namespace TagGroupTagListRequest {
389
+ export type AsObject = {
390
+ tagGroupId: string,
391
+ }
392
+ }
393
+
394
+ export class TagGroupTagListResponse extends jspb.Message {
395
+ clearPayloadsList(): void;
396
+ getPayloadsList(): Array<TagPayload>;
397
+ setPayloadsList(value: Array<TagPayload>): void;
398
+ addPayloads(value?: TagPayload, index?: number): TagPayload;
399
+
400
+ serializeBinary(): Uint8Array;
401
+ toObject(includeInstance?: boolean): TagGroupTagListResponse.AsObject;
402
+ static toObject(includeInstance: boolean, msg: TagGroupTagListResponse): TagGroupTagListResponse.AsObject;
403
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
404
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
405
+ static serializeBinaryToWriter(message: TagGroupTagListResponse, writer: jspb.BinaryWriter): void;
406
+ static deserializeBinary(bytes: Uint8Array): TagGroupTagListResponse;
407
+ static deserializeBinaryFromReader(message: TagGroupTagListResponse, reader: jspb.BinaryReader): TagGroupTagListResponse;
408
+ }
409
+
410
+ export namespace TagGroupTagListResponse {
411
+ export type AsObject = {
412
+ payloadsList: Array<TagPayload.AsObject>,
413
+ }
414
+ }
415
+
416
+ export class TagTagListRequest extends jspb.Message {
417
+ serializeBinary(): Uint8Array;
418
+ toObject(includeInstance?: boolean): TagTagListRequest.AsObject;
419
+ static toObject(includeInstance: boolean, msg: TagTagListRequest): TagTagListRequest.AsObject;
420
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
421
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
422
+ static serializeBinaryToWriter(message: TagTagListRequest, writer: jspb.BinaryWriter): void;
423
+ static deserializeBinary(bytes: Uint8Array): TagTagListRequest;
424
+ static deserializeBinaryFromReader(message: TagTagListRequest, reader: jspb.BinaryReader): TagTagListRequest;
425
+ }
426
+
427
+ export namespace TagTagListRequest {
428
+ export type AsObject = {
429
+ }
430
+ }
431
+
432
+ export class TagTagListResponse extends jspb.Message {
433
+ clearPayloadsList(): void;
434
+ getPayloadsList(): Array<TagPayload>;
435
+ setPayloadsList(value: Array<TagPayload>): void;
436
+ addPayloads(value?: TagPayload, index?: number): TagPayload;
437
+
438
+ serializeBinary(): Uint8Array;
439
+ toObject(includeInstance?: boolean): TagTagListResponse.AsObject;
440
+ static toObject(includeInstance: boolean, msg: TagTagListResponse): TagTagListResponse.AsObject;
441
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
442
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
443
+ static serializeBinaryToWriter(message: TagTagListResponse, writer: jspb.BinaryWriter): void;
444
+ static deserializeBinary(bytes: Uint8Array): TagTagListResponse;
445
+ static deserializeBinaryFromReader(message: TagTagListResponse, reader: jspb.BinaryReader): TagTagListResponse;
446
+ }
447
+
448
+ export namespace TagTagListResponse {
449
+ export type AsObject = {
450
+ payloadsList: Array<TagPayload.AsObject>,
451
+ }
452
+ }
453
+
454
+ export class TagContactTagListRequest extends jspb.Message {
129
455
  getContactId(): string;
130
456
  setContactId(value: string): void;
131
457
 
132
458
  serializeBinary(): Uint8Array;
133
- toObject(includeInstance?: boolean): TagContactListRequest.AsObject;
134
- static toObject(includeInstance: boolean, msg: TagContactListRequest): TagContactListRequest.AsObject;
459
+ toObject(includeInstance?: boolean): TagContactTagListRequest.AsObject;
460
+ static toObject(includeInstance: boolean, msg: TagContactTagListRequest): TagContactTagListRequest.AsObject;
135
461
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
136
462
  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;
463
+ static serializeBinaryToWriter(message: TagContactTagListRequest, writer: jspb.BinaryWriter): void;
464
+ static deserializeBinary(bytes: Uint8Array): TagContactTagListRequest;
465
+ static deserializeBinaryFromReader(message: TagContactTagListRequest, reader: jspb.BinaryReader): TagContactTagListRequest;
140
466
  }
141
467
 
142
- export namespace TagContactListRequest {
468
+ export namespace TagContactTagListRequest {
143
469
  export type AsObject = {
144
- contactIdStringValueDeprecated?: google_protobuf_wrappers_pb.StringValue.AsObject,
145
470
  contactId: string,
146
471
  }
147
472
  }
148
473
 
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;
474
+ export class TagContactTagListResponse extends jspb.Message {
475
+ clearPayloadsList(): void;
476
+ getPayloadsList(): Array<TagPayload>;
477
+ setPayloadsList(value: Array<TagPayload>): void;
478
+ addPayloads(value?: TagPayload, index?: number): TagPayload;
154
479
 
155
480
  serializeBinary(): Uint8Array;
156
- toObject(includeInstance?: boolean): TagContactListResponse.AsObject;
157
- static toObject(includeInstance: boolean, msg: TagContactListResponse): TagContactListResponse.AsObject;
481
+ toObject(includeInstance?: boolean): TagContactTagListResponse.AsObject;
482
+ static toObject(includeInstance: boolean, msg: TagContactTagListResponse): TagContactTagListResponse.AsObject;
158
483
  static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
159
484
  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;
485
+ static serializeBinaryToWriter(message: TagContactTagListResponse, writer: jspb.BinaryWriter): void;
486
+ static deserializeBinary(bytes: Uint8Array): TagContactTagListResponse;
487
+ static deserializeBinaryFromReader(message: TagContactTagListResponse, reader: jspb.BinaryReader): TagContactTagListResponse;
163
488
  }
164
489
 
165
- export namespace TagContactListResponse {
490
+ export namespace TagContactTagListResponse {
166
491
  export type AsObject = {
167
- idsList: Array<string>,
492
+ payloadsList: Array<TagPayload.AsObject>,
168
493
  }
169
494
  }
170
495
 
496
+ export class TagTagContactListRequest extends jspb.Message {
497
+ hasTag(): boolean;
498
+ clearTag(): void;
499
+ getTag(): TagIdentifier | undefined;
500
+ setTag(value?: TagIdentifier): void;
501
+
502
+ serializeBinary(): Uint8Array;
503
+ toObject(includeInstance?: boolean): TagTagContactListRequest.AsObject;
504
+ static toObject(includeInstance: boolean, msg: TagTagContactListRequest): TagTagContactListRequest.AsObject;
505
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
506
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
507
+ static serializeBinaryToWriter(message: TagTagContactListRequest, writer: jspb.BinaryWriter): void;
508
+ static deserializeBinary(bytes: Uint8Array): TagTagContactListRequest;
509
+ static deserializeBinaryFromReader(message: TagTagContactListRequest, reader: jspb.BinaryReader): TagTagContactListRequest;
510
+ }
511
+
512
+ export namespace TagTagContactListRequest {
513
+ export type AsObject = {
514
+ tag?: TagIdentifier.AsObject,
515
+ }
516
+ }
517
+
518
+ export class TagTagContactListResponse extends jspb.Message {
519
+ clearPayloadsList(): void;
520
+ getPayloadsList(): Array<string>;
521
+ setPayloadsList(value: Array<string>): void;
522
+ addPayloads(value: string, index?: number): string;
523
+
524
+ serializeBinary(): Uint8Array;
525
+ toObject(includeInstance?: boolean): TagTagContactListResponse.AsObject;
526
+ static toObject(includeInstance: boolean, msg: TagTagContactListResponse): TagTagContactListResponse.AsObject;
527
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
528
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
529
+ static serializeBinaryToWriter(message: TagTagContactListResponse, writer: jspb.BinaryWriter): void;
530
+ static deserializeBinary(bytes: Uint8Array): TagTagContactListResponse;
531
+ static deserializeBinaryFromReader(message: TagTagContactListResponse, reader: jspb.BinaryReader): TagTagContactListResponse;
532
+ }
533
+
534
+ export namespace TagTagContactListResponse {
535
+ export type AsObject = {
536
+ payloadsList: Array<string>,
537
+ }
538
+ }
539
+
540
+ export interface TagTypeMap {
541
+ PERSONAL: 0;
542
+ CORPORATION: 1;
543
+ }
544
+
545
+ export const TagType: TagTypeMap;
546
+