@juzi/wechaty-grpc 1.0.80 → 1.0.81

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 (40) hide show
  1. package/dist/cjs/out/wechaty/puppet/wecom_pb.d.ts +87 -0
  2. package/dist/cjs/out/wechaty/puppet/wecom_pb.js +642 -0
  3. package/dist/cjs/out/wechaty/puppet.openapi.yaml +46 -1
  4. package/dist/cjs/out/wechaty/puppet.swagger.json +69 -1
  5. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  6. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +33 -0
  7. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +19 -0
  8. package/dist/cjs/out/wechaty/puppet_pb_service.js +40 -0
  9. package/dist/cjs/proto/wechaty/puppet/wecom.proto +20 -0
  10. package/dist/cjs/proto/wechaty/puppet.proto +6 -0
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/cjs/tests/integration.spec.js +1 -1
  13. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -1
  14. package/dist/cjs/tests/puppet-server-impl.js +5 -0
  15. package/dist/cjs/tests/puppet-server-impl.js.map +1 -1
  16. package/dist/esm/out/wechaty/puppet/wecom_pb.d.ts +87 -0
  17. package/dist/esm/out/wechaty/puppet/wecom_pb.js +642 -0
  18. package/dist/esm/out/wechaty/puppet.openapi.yaml +46 -1
  19. package/dist/esm/out/wechaty/puppet.swagger.json +69 -1
  20. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  21. package/dist/esm/out/wechaty/puppet_grpc_pb.js +33 -0
  22. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +19 -0
  23. package/dist/esm/out/wechaty/puppet_pb_service.js +40 -0
  24. package/dist/esm/proto/wechaty/puppet/wecom.proto +20 -0
  25. package/dist/esm/proto/wechaty/puppet.proto +6 -0
  26. package/dist/esm/src/package-json.js +1 -1
  27. package/dist/esm/tests/integration.spec.js +1 -1
  28. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -1
  29. package/dist/esm/tests/puppet-server-impl.js +5 -0
  30. package/dist/esm/tests/puppet-server-impl.js.map +1 -1
  31. package/out/wechaty/puppet/wecom_pb.d.ts +87 -0
  32. package/out/wechaty/puppet/wecom_pb.js +642 -0
  33. package/out/wechaty/puppet.openapi.yaml +46 -1
  34. package/out/wechaty/puppet.swagger.json +69 -1
  35. package/out/wechaty/puppet_grpc_pb.d.ts +17 -0
  36. package/out/wechaty/puppet_grpc_pb.js +33 -0
  37. package/out/wechaty/puppet_pb_service.d.ts +19 -0
  38. package/out/wechaty/puppet_pb_service.js +40 -0
  39. package/package.json +1 -1
  40. package/src/package-json.ts +1 -1
@@ -225,3 +225,90 @@ export namespace ApplyRoomAntiSpamStrategyResponse {
225
225
  }
226
226
  }
227
227
 
228
+ export class CorpMessageInterceptionStrategy extends jspb.Message {
229
+ getName(): string;
230
+ setName(value: string): void;
231
+
232
+ clearWordsList(): void;
233
+ getWordsList(): Array<string>;
234
+ setWordsList(value: Array<string>): void;
235
+ addWords(value: string, index?: number): string;
236
+
237
+ getPhoneNumber(): boolean;
238
+ setPhoneNumber(value: boolean): void;
239
+
240
+ getEmail(): boolean;
241
+ setEmail(value: boolean): void;
242
+
243
+ getRedPocket(): boolean;
244
+ setRedPocket(value: boolean): void;
245
+
246
+ getType(): CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap];
247
+ setType(value: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap]): void;
248
+
249
+ serializeBinary(): Uint8Array;
250
+ toObject(includeInstance?: boolean): CorpMessageInterceptionStrategy.AsObject;
251
+ static toObject(includeInstance: boolean, msg: CorpMessageInterceptionStrategy): CorpMessageInterceptionStrategy.AsObject;
252
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
253
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
254
+ static serializeBinaryToWriter(message: CorpMessageInterceptionStrategy, writer: jspb.BinaryWriter): void;
255
+ static deserializeBinary(bytes: Uint8Array): CorpMessageInterceptionStrategy;
256
+ static deserializeBinaryFromReader(message: CorpMessageInterceptionStrategy, reader: jspb.BinaryReader): CorpMessageInterceptionStrategy;
257
+ }
258
+
259
+ export namespace CorpMessageInterceptionStrategy {
260
+ export type AsObject = {
261
+ name: string,
262
+ wordsList: Array<string>,
263
+ phoneNumber: boolean,
264
+ email: boolean,
265
+ redPocket: boolean,
266
+ type: CorpMessageInterceptionTypeMap[keyof CorpMessageInterceptionTypeMap],
267
+ }
268
+ }
269
+
270
+ export class GetCorpMessageInterceptionStrategiesRequest extends jspb.Message {
271
+ serializeBinary(): Uint8Array;
272
+ toObject(includeInstance?: boolean): GetCorpMessageInterceptionStrategiesRequest.AsObject;
273
+ static toObject(includeInstance: boolean, msg: GetCorpMessageInterceptionStrategiesRequest): GetCorpMessageInterceptionStrategiesRequest.AsObject;
274
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
275
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
276
+ static serializeBinaryToWriter(message: GetCorpMessageInterceptionStrategiesRequest, writer: jspb.BinaryWriter): void;
277
+ static deserializeBinary(bytes: Uint8Array): GetCorpMessageInterceptionStrategiesRequest;
278
+ static deserializeBinaryFromReader(message: GetCorpMessageInterceptionStrategiesRequest, reader: jspb.BinaryReader): GetCorpMessageInterceptionStrategiesRequest;
279
+ }
280
+
281
+ export namespace GetCorpMessageInterceptionStrategiesRequest {
282
+ export type AsObject = {
283
+ }
284
+ }
285
+
286
+ export class GetCorpMessageInterceptionStrategiesResponse extends jspb.Message {
287
+ clearStrategiesList(): void;
288
+ getStrategiesList(): Array<CorpMessageInterceptionStrategy>;
289
+ setStrategiesList(value: Array<CorpMessageInterceptionStrategy>): void;
290
+ addStrategies(value?: CorpMessageInterceptionStrategy, index?: number): CorpMessageInterceptionStrategy;
291
+
292
+ serializeBinary(): Uint8Array;
293
+ toObject(includeInstance?: boolean): GetCorpMessageInterceptionStrategiesResponse.AsObject;
294
+ static toObject(includeInstance: boolean, msg: GetCorpMessageInterceptionStrategiesResponse): GetCorpMessageInterceptionStrategiesResponse.AsObject;
295
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
296
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
297
+ static serializeBinaryToWriter(message: GetCorpMessageInterceptionStrategiesResponse, writer: jspb.BinaryWriter): void;
298
+ static deserializeBinary(bytes: Uint8Array): GetCorpMessageInterceptionStrategiesResponse;
299
+ static deserializeBinaryFromReader(message: GetCorpMessageInterceptionStrategiesResponse, reader: jspb.BinaryReader): GetCorpMessageInterceptionStrategiesResponse;
300
+ }
301
+
302
+ export namespace GetCorpMessageInterceptionStrategiesResponse {
303
+ export type AsObject = {
304
+ strategiesList: Array<CorpMessageInterceptionStrategy.AsObject>,
305
+ }
306
+ }
307
+
308
+ export interface CorpMessageInterceptionTypeMap {
309
+ INTERCEPTION_TYPE_HARD: 0;
310
+ INTERCEPTION_TYPE_SOFT: 1;
311
+ }
312
+
313
+ export const CorpMessageInterceptionType: CorpMessageInterceptionTypeMap;
314
+