@juzi/wechaty-grpc 1.0.77 → 1.0.79

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 (32) hide show
  1. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +74 -20
  2. package/dist/cjs/out/wechaty/puppet/tag_pb.js +522 -48
  3. package/dist/cjs/out/wechaty/puppet.openapi.yaml +39 -9
  4. package/dist/cjs/out/wechaty/puppet.swagger.json +53 -9
  5. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +3 -3
  6. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +1 -1
  7. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +2 -2
  8. package/dist/cjs/out/wechaty/puppet_pb_service.js +3 -3
  9. package/dist/cjs/proto/wechaty/puppet/tag.proto +18 -8
  10. package/dist/cjs/proto/wechaty/puppet.proto +1 -1
  11. package/dist/cjs/src/package-json.js +1 -1
  12. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +74 -20
  13. package/dist/esm/out/wechaty/puppet/tag_pb.js +522 -48
  14. package/dist/esm/out/wechaty/puppet.openapi.yaml +39 -9
  15. package/dist/esm/out/wechaty/puppet.swagger.json +53 -9
  16. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +3 -3
  17. package/dist/esm/out/wechaty/puppet_grpc_pb.js +1 -1
  18. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +2 -2
  19. package/dist/esm/out/wechaty/puppet_pb_service.js +3 -3
  20. package/dist/esm/proto/wechaty/puppet/tag.proto +18 -8
  21. package/dist/esm/proto/wechaty/puppet.proto +1 -1
  22. package/dist/esm/src/package-json.js +1 -1
  23. package/out/wechaty/puppet/tag_pb.d.ts +74 -20
  24. package/out/wechaty/puppet/tag_pb.js +522 -48
  25. package/out/wechaty/puppet.openapi.yaml +39 -9
  26. package/out/wechaty/puppet.swagger.json +53 -9
  27. package/out/wechaty/puppet_grpc_pb.d.ts +3 -3
  28. package/out/wechaty/puppet_grpc_pb.js +1 -1
  29. package/out/wechaty/puppet_pb_service.d.ts +2 -2
  30. package/out/wechaty/puppet_pb_service.js +3 -3
  31. package/package.json +1 -1
  32. package/src/package-json.ts +1 -1
@@ -9,7 +9,7 @@ info:
9
9
 
10
10
  Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
11
  top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
- version: 1.0.77
12
+ version: 1.0.79
13
13
  contact:
14
14
  name: Wechaty
15
15
  url: https://github.com/wechaty/openapi
@@ -2158,7 +2158,7 @@ paths:
2158
2158
  - Puppet
2159
2159
  /tag/modify:
2160
2160
  post:
2161
- operationId: Puppet_tagTagModify
2161
+ operationId: Puppet_TagTagModify
2162
2162
  responses:
2163
2163
  '200':
2164
2164
  description: A successful response.
@@ -4154,15 +4154,24 @@ definitions:
4154
4154
  puppetTagTagAddRequest:
4155
4155
  type: object
4156
4156
  properties:
4157
- tagName:
4157
+ deprecatedTagName:
4158
4158
  type: string
4159
4159
  tagGroupId:
4160
4160
  type: string
4161
+ tagName:
4162
+ type: array
4163
+ items:
4164
+ type: string
4161
4165
  puppetTagTagAddResponse:
4162
4166
  type: object
4163
4167
  properties:
4164
- tagId:
4168
+ deprecatedTagId:
4165
4169
  type: string
4170
+ tagInfo:
4171
+ type: array
4172
+ items:
4173
+ type: object
4174
+ $ref: '#/definitions/puppetTagTagInfo'
4166
4175
  puppetTagTagContactListResponse:
4167
4176
  type: object
4168
4177
  properties:
@@ -4173,10 +4182,21 @@ definitions:
4173
4182
  puppetTagTagDeleteRequest:
4174
4183
  type: object
4175
4184
  properties:
4176
- tagId:
4185
+ deprecatedTagId:
4177
4186
  type: string
4187
+ tagId:
4188
+ type: array
4189
+ items:
4190
+ type: string
4178
4191
  puppetTagTagDeleteResponse:
4179
4192
  type: object
4193
+ puppetTagTagInfo:
4194
+ type: object
4195
+ properties:
4196
+ tagId:
4197
+ type: string
4198
+ tagName:
4199
+ type: string
4180
4200
  puppetTagTagListResponse:
4181
4201
  type: object
4182
4202
  properties:
@@ -4187,17 +4207,27 @@ definitions:
4187
4207
  puppetTagTagModifyRequest:
4188
4208
  type: object
4189
4209
  properties:
4190
- tagId:
4210
+ deprecatedTagId:
4191
4211
  type: string
4192
- tagNewName:
4212
+ deprecatedTagNewName:
4193
4213
  type: string
4214
+ tagNewInfo:
4215
+ type: array
4216
+ items:
4217
+ type: object
4218
+ $ref: '#/definitions/puppetTagTagInfo'
4194
4219
  puppetTagTagModifyResponse:
4195
4220
  type: object
4196
4221
  properties:
4197
- tagId:
4222
+ deprecatedTagId:
4198
4223
  type: string
4199
- tagName:
4224
+ deprecatedTagName:
4200
4225
  type: string
4226
+ tagInfo:
4227
+ type: array
4228
+ items:
4229
+ type: object
4230
+ $ref: '#/definitions/puppetTagTagInfo'
4201
4231
  puppetTagType:
4202
4232
  type: string
4203
4233
  enum:
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Wechaty Puppet Service OpenAPI Specification",
5
5
  "description": "Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of code, you can create a bot on the most popular IMs like WeChat, Whatsapp, WeCom, Gitter, etc.\n\nWechaty Puppet Service is the RESTful API for Wechaty API, which is build on top of the Wechaty Puppet Abstraction and the gRPC proto definition.",
6
- "version": "1.0.77",
6
+ "version": "1.0.79",
7
7
  "contact": {
8
8
  "name": "Wechaty",
9
9
  "url": "https://github.com/wechaty/openapi",
@@ -3259,7 +3259,7 @@
3259
3259
  },
3260
3260
  "/tag/modify": {
3261
3261
  "post": {
3262
- "operationId": "Puppet_tagTagModify",
3262
+ "operationId": "Puppet_TagTagModify",
3263
3263
  "responses": {
3264
3264
  "200": {
3265
3265
  "description": "A successful response.",
@@ -5920,19 +5920,32 @@
5920
5920
  "puppetTagTagAddRequest": {
5921
5921
  "type": "object",
5922
5922
  "properties": {
5923
- "tagName": {
5923
+ "deprecatedTagName": {
5924
5924
  "type": "string"
5925
5925
  },
5926
5926
  "tagGroupId": {
5927
5927
  "type": "string"
5928
+ },
5929
+ "tagName": {
5930
+ "type": "array",
5931
+ "items": {
5932
+ "type": "string"
5933
+ }
5928
5934
  }
5929
5935
  }
5930
5936
  },
5931
5937
  "puppetTagTagAddResponse": {
5932
5938
  "type": "object",
5933
5939
  "properties": {
5934
- "tagId": {
5940
+ "deprecatedTagId": {
5935
5941
  "type": "string"
5942
+ },
5943
+ "tagInfo": {
5944
+ "type": "array",
5945
+ "items": {
5946
+ "type": "object",
5947
+ "$ref": "#/definitions/puppetTagTagInfo"
5948
+ }
5936
5949
  }
5937
5950
  }
5938
5951
  },
@@ -5950,14 +5963,31 @@
5950
5963
  "puppetTagTagDeleteRequest": {
5951
5964
  "type": "object",
5952
5965
  "properties": {
5953
- "tagId": {
5966
+ "deprecatedTagId": {
5954
5967
  "type": "string"
5968
+ },
5969
+ "tagId": {
5970
+ "type": "array",
5971
+ "items": {
5972
+ "type": "string"
5973
+ }
5955
5974
  }
5956
5975
  }
5957
5976
  },
5958
5977
  "puppetTagTagDeleteResponse": {
5959
5978
  "type": "object"
5960
5979
  },
5980
+ "puppetTagTagInfo": {
5981
+ "type": "object",
5982
+ "properties": {
5983
+ "tagId": {
5984
+ "type": "string"
5985
+ },
5986
+ "tagName": {
5987
+ "type": "string"
5988
+ }
5989
+ }
5990
+ },
5961
5991
  "puppetTagTagListResponse": {
5962
5992
  "type": "object",
5963
5993
  "properties": {
@@ -5972,22 +6002,36 @@
5972
6002
  "puppetTagTagModifyRequest": {
5973
6003
  "type": "object",
5974
6004
  "properties": {
5975
- "tagId": {
6005
+ "deprecatedTagId": {
5976
6006
  "type": "string"
5977
6007
  },
5978
- "tagNewName": {
6008
+ "deprecatedTagNewName": {
5979
6009
  "type": "string"
6010
+ },
6011
+ "tagNewInfo": {
6012
+ "type": "array",
6013
+ "items": {
6014
+ "type": "object",
6015
+ "$ref": "#/definitions/puppetTagTagInfo"
6016
+ }
5980
6017
  }
5981
6018
  }
5982
6019
  },
5983
6020
  "puppetTagTagModifyResponse": {
5984
6021
  "type": "object",
5985
6022
  "properties": {
5986
- "tagId": {
6023
+ "deprecatedTagId": {
5987
6024
  "type": "string"
5988
6025
  },
5989
- "tagName": {
6026
+ "deprecatedTagName": {
5990
6027
  "type": "string"
6028
+ },
6029
+ "tagInfo": {
6030
+ "type": "array",
6031
+ "items": {
6032
+ "type": "object",
6033
+ "$ref": "#/definitions/puppetTagTagInfo"
6034
+ }
5991
6035
  }
5992
6036
  }
5993
6037
  },
@@ -107,7 +107,7 @@ interface IPuppetService extends grpc.ServiceDefinition<grpc.UntypedServiceImple
107
107
  tagGroupPayload: IPuppetService_ITagGroupPayload;
108
108
  tagTagAdd: IPuppetService_ITagTagAdd;
109
109
  tagTagDelete: IPuppetService_ITagTagDelete;
110
- tagTagModify: IPuppetService_ItagTagModify;
110
+ tagTagModify: IPuppetService_ITagTagModify;
111
111
  tagPayload: IPuppetService_ITagPayload;
112
112
  tagGroupList: IPuppetService_ITagGroupList;
113
113
  tagGroupTagList: IPuppetService_ITagGroupTagList;
@@ -877,8 +877,8 @@ interface IPuppetService_ITagTagDelete extends grpc.MethodDefinition<wechaty_pup
877
877
  responseSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagTagDeleteResponse>;
878
878
  responseDeserialize: grpc.deserialize<wechaty_puppet_tag_pb.TagTagDeleteResponse>;
879
879
  }
880
- interface IPuppetService_ItagTagModify extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagTagModifyRequest, wechaty_puppet_tag_pb.TagTagModifyResponse> {
881
- path: "/wechaty.Puppet/tagTagModify";
880
+ interface IPuppetService_ITagTagModify extends grpc.MethodDefinition<wechaty_puppet_tag_pb.TagTagModifyRequest, wechaty_puppet_tag_pb.TagTagModifyResponse> {
881
+ path: "/wechaty.Puppet/TagTagModify";
882
882
  requestStream: false;
883
883
  responseStream: false;
884
884
  requestSerialize: grpc.serialize<wechaty_puppet_tag_pb.TagTagModifyRequest>;
@@ -3232,7 +3232,7 @@ tagContactTagAdd: {
3232
3232
  responseDeserialize: deserialize_wechaty_puppet_TagTagDeleteResponse,
3233
3233
  },
3234
3234
  tagTagModify: {
3235
- path: '/wechaty.Puppet/tagTagModify',
3235
+ path: '/wechaty.Puppet/TagTagModify',
3236
3236
  requestStream: false,
3237
3237
  responseStream: false,
3238
3238
  requestType: wechaty_puppet_tag_pb.TagTagModifyRequest,
@@ -766,7 +766,7 @@ type PuppetTagTagDelete = {
766
766
  readonly responseType: typeof wechaty_puppet_tag_pb.TagTagDeleteResponse;
767
767
  };
768
768
 
769
- type PuppettagTagModify = {
769
+ type PuppetTagTagModify = {
770
770
  readonly methodName: string;
771
771
  readonly service: typeof Puppet;
772
772
  readonly requestStream: false;
@@ -1040,7 +1040,7 @@ export class Puppet {
1040
1040
  static readonly TagGroupPayload: PuppetTagGroupPayload;
1041
1041
  static readonly TagTagAdd: PuppetTagTagAdd;
1042
1042
  static readonly TagTagDelete: PuppetTagTagDelete;
1043
- static readonly tagTagModify: PuppettagTagModify;
1043
+ static readonly TagTagModify: PuppetTagTagModify;
1044
1044
  static readonly TagPayload: PuppetTagPayload;
1045
1045
  static readonly TagGroupList: PuppetTagGroupList;
1046
1046
  static readonly TagGroupTagList: PuppetTagGroupTagList;
@@ -772,8 +772,8 @@ Puppet.TagTagDelete = {
772
772
  responseType: wechaty_puppet_tag_pb.TagTagDeleteResponse
773
773
  };
774
774
 
775
- Puppet.tagTagModify = {
776
- methodName: "tagTagModify",
775
+ Puppet.TagTagModify = {
776
+ methodName: "TagTagModify",
777
777
  service: Puppet,
778
778
  requestStream: false,
779
779
  responseStream: false,
@@ -3553,7 +3553,7 @@ PuppetClient.prototype.tagTagModify = function tagTagModify(requestMessage, meta
3553
3553
  if (arguments.length === 2) {
3554
3554
  callback = arguments[1];
3555
3555
  }
3556
- var client = grpc.unary(Puppet.tagTagModify, {
3556
+ var client = grpc.unary(Puppet.TagTagModify, {
3557
3557
  request: requestMessage,
3558
3558
  host: this.serviceHost,
3559
3559
  metadata: metadata,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juzi/wechaty-grpc",
3
- "version": "1.0.77",
3
+ "version": "1.0.79",
4
4
  "description": "gRPC for Wechaty",
5
5
  "type": "module",
6
6
  "exports": {
@@ -4,7 +4,7 @@
4
4
  import type { PackageJson } from 'type-fest'
5
5
  export const packageJson: PackageJson = {
6
6
  "name": "@juzi/wechaty-grpc",
7
- "version": "1.0.77",
7
+ "version": "1.0.79",
8
8
  "description": "gRPC for Wechaty",
9
9
  "type": "module",
10
10
  "exports": {