@juzi/wechaty-grpc 1.0.0

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 (636) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +351 -0
  3. package/dist/cjs/commonjs/README.md +15 -0
  4. package/dist/cjs/commonjs/code-root.cjs +10 -0
  5. package/dist/cjs/commonjs/code-root.cjs.d.ts +1 -0
  6. package/dist/cjs/commonjs/code-root.spec.ts +9 -0
  7. package/dist/cjs/commonjs/generated/google.cjs +9 -0
  8. package/dist/cjs/commonjs/generated/google.cjs.d.ts +2 -0
  9. package/dist/cjs/commonjs/generated/google.spec.ts +13 -0
  10. package/dist/cjs/commonjs/generated/puppet.cjs +39 -0
  11. package/dist/cjs/commonjs/generated/puppet.cjs.d.ts +42 -0
  12. package/dist/cjs/commonjs/generated/puppet.spec.ts +19 -0
  13. package/dist/cjs/commonjs/package.json +1 -0
  14. package/dist/cjs/examples/auth/client.d.ts +3 -0
  15. package/dist/cjs/examples/auth/client.d.ts.map +1 -0
  16. package/dist/cjs/examples/auth/client.js +52 -0
  17. package/dist/cjs/examples/auth/client.js.map +1 -0
  18. package/dist/cjs/examples/auth/raw-https/client.d.ts +2 -0
  19. package/dist/cjs/examples/auth/raw-https/client.d.ts.map +1 -0
  20. package/dist/cjs/examples/auth/raw-https/client.js +21 -0
  21. package/dist/cjs/examples/auth/raw-https/client.js.map +1 -0
  22. package/dist/cjs/examples/auth/raw-https/server.d.ts +2 -0
  23. package/dist/cjs/examples/auth/raw-https/server.d.ts.map +1 -0
  24. package/dist/cjs/examples/auth/raw-https/server.js +18 -0
  25. package/dist/cjs/examples/auth/raw-https/server.js.map +1 -0
  26. package/dist/cjs/examples/auth/server.d.ts +2 -0
  27. package/dist/cjs/examples/auth/server.d.ts.map +1 -0
  28. package/dist/cjs/examples/auth/server.js +117 -0
  29. package/dist/cjs/examples/auth/server.js.map +1 -0
  30. package/dist/cjs/examples/client.d.ts +5 -0
  31. package/dist/cjs/examples/client.d.ts.map +1 -0
  32. package/dist/cjs/examples/client.js +83 -0
  33. package/dist/cjs/examples/client.js.map +1 -0
  34. package/dist/cjs/examples/promisify.d.ts +49 -0
  35. package/dist/cjs/examples/promisify.d.ts.map +1 -0
  36. package/dist/cjs/examples/promisify.js +6 -0
  37. package/dist/cjs/examples/promisify.js.map +1 -0
  38. package/dist/cjs/examples/server.d.ts +2 -0
  39. package/dist/cjs/examples/server.d.ts.map +1 -0
  40. package/dist/cjs/examples/server.js +83 -0
  41. package/dist/cjs/examples/server.js.map +1 -0
  42. package/dist/cjs/out/google/api/annotations_grpc_pb.js +1 -0
  43. package/dist/cjs/out/google/api/annotations_pb.d.ts +9 -0
  44. package/dist/cjs/out/google/api/annotations_pb.js +48 -0
  45. package/dist/cjs/out/google/api/annotations_pb_service.d.ts +3 -0
  46. package/dist/cjs/out/google/api/annotations_pb_service.js +3 -0
  47. package/dist/cjs/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
  48. package/dist/cjs/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
  49. package/dist/cjs/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
  50. package/dist/cjs/out/google/api/health_check/v1/health_check_pb.js +333 -0
  51. package/dist/cjs/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
  52. package/dist/cjs/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
  53. package/dist/cjs/out/google/api/http_grpc_pb.js +1 -0
  54. package/dist/cjs/out/google/api/http_pb.d.ts +136 -0
  55. package/dist/cjs/out/google/api/http_pb.js +1006 -0
  56. package/dist/cjs/out/google/api/http_pb_service.d.ts +3 -0
  57. package/dist/cjs/out/google/api/http_pb_service.js +3 -0
  58. package/dist/cjs/out/package.json +1 -0
  59. package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
  60. package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
  61. package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
  62. package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
  63. package/dist/cjs/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
  64. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
  65. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
  66. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
  67. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
  68. package/dist/cjs/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
  69. package/dist/cjs/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
  70. package/dist/cjs/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
  71. package/dist/cjs/out/wechaty/deprecated/file-box_pb.js +1368 -0
  72. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
  73. package/dist/cjs/out/wechaty/deprecated/file-box_pb_service.js +3 -0
  74. package/dist/cjs/out/wechaty/puppet/base_grpc_pb.js +1 -0
  75. package/dist/cjs/out/wechaty/puppet/base_pb.d.ts +224 -0
  76. package/dist/cjs/out/wechaty/puppet/base_pb.js +1624 -0
  77. package/dist/cjs/out/wechaty/puppet/base_pb_service.d.ts +3 -0
  78. package/dist/cjs/out/wechaty/puppet/base_pb_service.js +3 -0
  79. package/dist/cjs/out/wechaty/puppet/contact_grpc_pb.js +1 -0
  80. package/dist/cjs/out/wechaty/puppet/contact_pb.d.ts +535 -0
  81. package/dist/cjs/out/wechaty/puppet/contact_pb.js +4013 -0
  82. package/dist/cjs/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
  83. package/dist/cjs/out/wechaty/puppet/contact_pb_service.js +3 -0
  84. package/dist/cjs/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
  85. package/dist/cjs/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
  86. package/dist/cjs/out/wechaty/puppet/download-upload_pb.js +674 -0
  87. package/dist/cjs/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
  88. package/dist/cjs/out/wechaty/puppet/download-upload_pb_service.js +3 -0
  89. package/dist/cjs/out/wechaty/puppet/event_grpc_pb.js +1 -0
  90. package/dist/cjs/out/wechaty/puppet/event_pb.d.ts +67 -0
  91. package/dist/cjs/out/wechaty/puppet/event_pb.js +347 -0
  92. package/dist/cjs/out/wechaty/puppet/event_pb_service.d.ts +3 -0
  93. package/dist/cjs/out/wechaty/puppet/event_pb_service.js +3 -0
  94. package/dist/cjs/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
  95. package/dist/cjs/out/wechaty/puppet/friendship_pb.d.ts +293 -0
  96. package/dist/cjs/out/wechaty/puppet/friendship_pb.js +2060 -0
  97. package/dist/cjs/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
  98. package/dist/cjs/out/wechaty/puppet/friendship_pb_service.js +3 -0
  99. package/dist/cjs/out/wechaty/puppet/image_grpc_pb.js +1 -0
  100. package/dist/cjs/out/wechaty/puppet/image_pb.d.ts +14 -0
  101. package/dist/cjs/out/wechaty/puppet/image_pb.js +29 -0
  102. package/dist/cjs/out/wechaty/puppet/image_pb_service.d.ts +3 -0
  103. package/dist/cjs/out/wechaty/puppet/image_pb_service.js +3 -0
  104. package/dist/cjs/out/wechaty/puppet/location_grpc_pb.js +1 -0
  105. package/dist/cjs/out/wechaty/puppet/location_pb.d.ts +41 -0
  106. package/dist/cjs/out/wechaty/puppet/location_pb.js +290 -0
  107. package/dist/cjs/out/wechaty/puppet/location_pb_service.d.ts +3 -0
  108. package/dist/cjs/out/wechaty/puppet/location_pb_service.js +3 -0
  109. package/dist/cjs/out/wechaty/puppet/message_grpc_pb.js +1 -0
  110. package/dist/cjs/out/wechaty/puppet/message_pb.d.ts +773 -0
  111. package/dist/cjs/out/wechaty/puppet/message_pb.js +5777 -0
  112. package/dist/cjs/out/wechaty/puppet/message_pb_service.d.ts +3 -0
  113. package/dist/cjs/out/wechaty/puppet/message_pb_service.js +3 -0
  114. package/dist/cjs/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
  115. package/dist/cjs/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
  116. package/dist/cjs/out/wechaty/puppet/mini-program_pb.js +410 -0
  117. package/dist/cjs/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
  118. package/dist/cjs/out/wechaty/puppet/mini-program_pb_service.js +3 -0
  119. package/dist/cjs/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
  120. package/dist/cjs/out/wechaty/puppet/referrer_pb.d.ts +29 -0
  121. package/dist/cjs/out/wechaty/puppet/referrer_pb.js +200 -0
  122. package/dist/cjs/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
  123. package/dist/cjs/out/wechaty/puppet/referrer_pb_service.js +3 -0
  124. package/dist/cjs/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
  125. package/dist/cjs/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
  126. package/dist/cjs/out/wechaty/puppet/room-invitation_pb.js +999 -0
  127. package/dist/cjs/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
  128. package/dist/cjs/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
  129. package/dist/cjs/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
  130. package/dist/cjs/out/wechaty/puppet/room-member_pb.d.ts +107 -0
  131. package/dist/cjs/out/wechaty/puppet/room-member_pb.js +802 -0
  132. package/dist/cjs/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
  133. package/dist/cjs/out/wechaty/puppet/room-member_pb_service.js +3 -0
  134. package/dist/cjs/out/wechaty/puppet/room_grpc_pb.js +1 -0
  135. package/dist/cjs/out/wechaty/puppet/room_pb.d.ts +474 -0
  136. package/dist/cjs/out/wechaty/puppet/room_pb.js +3641 -0
  137. package/dist/cjs/out/wechaty/puppet/room_pb_service.d.ts +3 -0
  138. package/dist/cjs/out/wechaty/puppet/room_pb_service.js +3 -0
  139. package/dist/cjs/out/wechaty/puppet/tag_grpc_pb.js +1 -0
  140. package/dist/cjs/out/wechaty/puppet/tag_pb.d.ts +170 -0
  141. package/dist/cjs/out/wechaty/puppet/tag_pb.js +1286 -0
  142. package/dist/cjs/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
  143. package/dist/cjs/out/wechaty/puppet/tag_pb_service.js +3 -0
  144. package/dist/cjs/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
  145. package/dist/cjs/out/wechaty/puppet/url-link_pb.d.ts +37 -0
  146. package/dist/cjs/out/wechaty/puppet/url-link_pb.js +260 -0
  147. package/dist/cjs/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
  148. package/dist/cjs/out/wechaty/puppet/url-link_pb_service.js +3 -0
  149. package/dist/cjs/out/wechaty/puppet.openapi.yaml +2386 -0
  150. package/dist/cjs/out/wechaty/puppet.swagger.json +3419 -0
  151. package/dist/cjs/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
  152. package/dist/cjs/out/wechaty/puppet_grpc_pb.js +2079 -0
  153. package/dist/cjs/out/wechaty/puppet_pb.d.ts +18 -0
  154. package/dist/cjs/out/wechaty/puppet_pb.js +43 -0
  155. package/dist/cjs/out/wechaty/puppet_pb_service.d.ts +1166 -0
  156. package/dist/cjs/out/wechaty/puppet_pb_service.js +2524 -0
  157. package/dist/cjs/package.json +3 -0
  158. package/dist/cjs/proto/wechaty/deprecated/file-box.proto +61 -0
  159. package/dist/cjs/proto/wechaty/puppet/base.proto +46 -0
  160. package/dist/cjs/proto/wechaty/puppet/contact.proto +122 -0
  161. package/dist/cjs/proto/wechaty/puppet/download-upload.proto +19 -0
  162. package/dist/cjs/proto/wechaty/puppet/event.proto +38 -0
  163. package/dist/cjs/proto/wechaty/puppet/friendship.proto +106 -0
  164. package/dist/cjs/proto/wechaty/puppet/image.proto +13 -0
  165. package/dist/cjs/proto/wechaty/puppet/location.proto +14 -0
  166. package/dist/cjs/proto/wechaty/puppet/message.proto +230 -0
  167. package/dist/cjs/proto/wechaty/puppet/mini-program.proto +18 -0
  168. package/dist/cjs/proto/wechaty/puppet/referrer.proto +16 -0
  169. package/dist/cjs/proto/wechaty/puppet/room-invitation.proto +51 -0
  170. package/dist/cjs/proto/wechaty/puppet/room-member.proto +25 -0
  171. package/dist/cjs/proto/wechaty/puppet/room.proto +87 -0
  172. package/dist/cjs/proto/wechaty/puppet/tag.proto +43 -0
  173. package/dist/cjs/proto/wechaty/puppet/url-link.proto +13 -0
  174. package/dist/cjs/proto/wechaty/puppet.proto +505 -0
  175. package/dist/cjs/src/chunk-transformer.d.ts +24 -0
  176. package/dist/cjs/src/chunk-transformer.d.ts.map +1 -0
  177. package/dist/cjs/src/chunk-transformer.js +36 -0
  178. package/dist/cjs/src/chunk-transformer.js.map +1 -0
  179. package/dist/cjs/src/chunk-transformer.spec.d.ts +3 -0
  180. package/dist/cjs/src/chunk-transformer.spec.d.ts.map +1 -0
  181. package/dist/cjs/src/chunk-transformer.spec.js +9 -0
  182. package/dist/cjs/src/chunk-transformer.spec.js.map +1 -0
  183. package/dist/cjs/src/cjs.d.ts +5 -0
  184. package/dist/cjs/src/cjs.d.ts.map +1 -0
  185. package/dist/cjs/src/cjs.js +13 -0
  186. package/dist/cjs/src/cjs.js.map +1 -0
  187. package/dist/cjs/src/cjs.spec.d.ts +3 -0
  188. package/dist/cjs/src/cjs.spec.d.ts.map +1 -0
  189. package/dist/cjs/src/cjs.spec.js +27 -0
  190. package/dist/cjs/src/cjs.spec.js.map +1 -0
  191. package/dist/cjs/src/config.d.ts +12 -0
  192. package/dist/cjs/src/config.d.ts.map +1 -0
  193. package/dist/cjs/src/config.js +12 -0
  194. package/dist/cjs/src/config.js.map +1 -0
  195. package/dist/cjs/src/google.d.ts +8 -0
  196. package/dist/cjs/src/google.d.ts.map +1 -0
  197. package/dist/cjs/src/google.js +15 -0
  198. package/dist/cjs/src/google.js.map +1 -0
  199. package/dist/cjs/src/google.spec.d.ts +3 -0
  200. package/dist/cjs/src/google.spec.d.ts.map +1 -0
  201. package/dist/cjs/src/google.spec.js +11 -0
  202. package/dist/cjs/src/google.spec.js.map +1 -0
  203. package/dist/cjs/src/mod.d.ts +9 -0
  204. package/dist/cjs/src/mod.d.ts.map +1 -0
  205. package/dist/cjs/src/mod.js +44 -0
  206. package/dist/cjs/src/mod.js.map +1 -0
  207. package/dist/cjs/src/mod.spec.d.ts +3 -0
  208. package/dist/cjs/src/mod.spec.d.ts.map +1 -0
  209. package/dist/cjs/src/mod.spec.js +22 -0
  210. package/dist/cjs/src/mod.spec.js.map +1 -0
  211. package/dist/cjs/src/openapi.d.ts +4 -0
  212. package/dist/cjs/src/openapi.d.ts.map +1 -0
  213. package/dist/cjs/src/openapi.js +21 -0
  214. package/dist/cjs/src/openapi.js.map +1 -0
  215. package/dist/cjs/src/openapi.spec.d.ts +3 -0
  216. package/dist/cjs/src/openapi.spec.d.ts.map +1 -0
  217. package/dist/cjs/src/openapi.spec.js +20 -0
  218. package/dist/cjs/src/openapi.spec.js.map +1 -0
  219. package/dist/cjs/src/package-json.d.ts +6 -0
  220. package/dist/cjs/src/package-json.d.ts.map +1 -0
  221. package/dist/cjs/src/package-json.js +97 -0
  222. package/dist/cjs/src/package-json.js.map +1 -0
  223. package/dist/cjs/src/package-json.spec.d.ts +3 -0
  224. package/dist/cjs/src/package-json.spec.d.ts.map +1 -0
  225. package/dist/cjs/src/package-json.spec.js +10 -0
  226. package/dist/cjs/src/package-json.spec.js.map +1 -0
  227. package/dist/cjs/src/proto.d.ts +4 -0
  228. package/dist/cjs/src/proto.d.ts.map +1 -0
  229. package/dist/cjs/src/proto.js +25 -0
  230. package/dist/cjs/src/proto.js.map +1 -0
  231. package/dist/cjs/src/proto.spec.d.ts +3 -0
  232. package/dist/cjs/src/proto.spec.d.ts.map +1 -0
  233. package/dist/cjs/src/proto.spec.js +13 -0
  234. package/dist/cjs/src/proto.spec.js.map +1 -0
  235. package/dist/cjs/tests/health-check.spec.d.ts +3 -0
  236. package/dist/cjs/tests/health-check.spec.d.ts.map +1 -0
  237. package/dist/cjs/tests/health-check.spec.js +70 -0
  238. package/dist/cjs/tests/health-check.spec.js.map +1 -0
  239. package/dist/cjs/tests/integration.spec.d.ts +3 -0
  240. package/dist/cjs/tests/integration.spec.d.ts.map +1 -0
  241. package/dist/cjs/tests/integration.spec.js +111 -0
  242. package/dist/cjs/tests/integration.spec.js.map +1 -0
  243. package/dist/cjs/tests/nullable.spec.d.ts +3 -0
  244. package/dist/cjs/tests/nullable.spec.d.ts.map +1 -0
  245. package/dist/cjs/tests/nullable.spec.js +90 -0
  246. package/dist/cjs/tests/nullable.spec.js.map +1 -0
  247. package/dist/cjs/tests/puppet-server-impl.d.ts +8 -0
  248. package/dist/cjs/tests/puppet-server-impl.d.ts.map +1 -0
  249. package/dist/cjs/tests/puppet-server-impl.js +310 -0
  250. package/dist/cjs/tests/puppet-server-impl.js.map +1 -0
  251. package/dist/cjs/tests/streaming.spec.d.ts +3 -0
  252. package/dist/cjs/tests/streaming.spec.d.ts.map +1 -0
  253. package/dist/cjs/tests/streaming.spec.js +8 -0
  254. package/dist/cjs/tests/streaming.spec.js.map +1 -0
  255. package/dist/esm/commonjs/README.md +15 -0
  256. package/dist/esm/commonjs/code-root.cjs +10 -0
  257. package/dist/esm/commonjs/code-root.cjs.d.ts +1 -0
  258. package/dist/esm/commonjs/code-root.spec.ts +9 -0
  259. package/dist/esm/commonjs/generated/google.cjs +9 -0
  260. package/dist/esm/commonjs/generated/google.cjs.d.ts +2 -0
  261. package/dist/esm/commonjs/generated/google.spec.ts +13 -0
  262. package/dist/esm/commonjs/generated/puppet.cjs +39 -0
  263. package/dist/esm/commonjs/generated/puppet.cjs.d.ts +42 -0
  264. package/dist/esm/commonjs/generated/puppet.spec.ts +19 -0
  265. package/dist/esm/commonjs/package.json +1 -0
  266. package/dist/esm/examples/auth/client.d.ts +3 -0
  267. package/dist/esm/examples/auth/client.d.ts.map +1 -0
  268. package/dist/esm/examples/auth/client.js +45 -0
  269. package/dist/esm/examples/auth/client.js.map +1 -0
  270. package/dist/esm/examples/auth/raw-https/client.d.ts +2 -0
  271. package/dist/esm/examples/auth/raw-https/client.d.ts.map +1 -0
  272. package/dist/esm/examples/auth/raw-https/client.js +16 -0
  273. package/dist/esm/examples/auth/raw-https/client.js.map +1 -0
  274. package/dist/esm/examples/auth/raw-https/server.d.ts +2 -0
  275. package/dist/esm/examples/auth/raw-https/server.d.ts.map +1 -0
  276. package/dist/esm/examples/auth/raw-https/server.js +13 -0
  277. package/dist/esm/examples/auth/raw-https/server.js.map +1 -0
  278. package/dist/esm/examples/auth/server.d.ts +2 -0
  279. package/dist/esm/examples/auth/server.d.ts.map +1 -0
  280. package/dist/esm/examples/auth/server.js +112 -0
  281. package/dist/esm/examples/auth/server.js.map +1 -0
  282. package/dist/esm/examples/client.d.ts +5 -0
  283. package/dist/esm/examples/client.d.ts.map +1 -0
  284. package/dist/esm/examples/client.js +77 -0
  285. package/dist/esm/examples/client.js.map +1 -0
  286. package/dist/esm/examples/promisify.d.ts +49 -0
  287. package/dist/esm/examples/promisify.d.ts.map +1 -0
  288. package/dist/esm/examples/promisify.js +3 -0
  289. package/dist/esm/examples/promisify.js.map +1 -0
  290. package/dist/esm/examples/server.d.ts +2 -0
  291. package/dist/esm/examples/server.d.ts.map +1 -0
  292. package/dist/esm/examples/server.js +78 -0
  293. package/dist/esm/examples/server.js.map +1 -0
  294. package/dist/esm/out/google/api/annotations_grpc_pb.js +1 -0
  295. package/dist/esm/out/google/api/annotations_pb.d.ts +9 -0
  296. package/dist/esm/out/google/api/annotations_pb.js +48 -0
  297. package/dist/esm/out/google/api/annotations_pb_service.d.ts +3 -0
  298. package/dist/esm/out/google/api/annotations_pb_service.js +3 -0
  299. package/dist/esm/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
  300. package/dist/esm/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
  301. package/dist/esm/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
  302. package/dist/esm/out/google/api/health_check/v1/health_check_pb.js +333 -0
  303. package/dist/esm/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
  304. package/dist/esm/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
  305. package/dist/esm/out/google/api/http_grpc_pb.js +1 -0
  306. package/dist/esm/out/google/api/http_pb.d.ts +136 -0
  307. package/dist/esm/out/google/api/http_pb.js +1006 -0
  308. package/dist/esm/out/google/api/http_pb_service.d.ts +3 -0
  309. package/dist/esm/out/google/api/http_pb_service.js +3 -0
  310. package/dist/esm/out/package.json +1 -0
  311. package/dist/esm/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
  312. package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
  313. package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
  314. package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
  315. package/dist/esm/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
  316. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
  317. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
  318. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
  319. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
  320. package/dist/esm/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
  321. package/dist/esm/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
  322. package/dist/esm/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
  323. package/dist/esm/out/wechaty/deprecated/file-box_pb.js +1368 -0
  324. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
  325. package/dist/esm/out/wechaty/deprecated/file-box_pb_service.js +3 -0
  326. package/dist/esm/out/wechaty/puppet/base_grpc_pb.js +1 -0
  327. package/dist/esm/out/wechaty/puppet/base_pb.d.ts +224 -0
  328. package/dist/esm/out/wechaty/puppet/base_pb.js +1624 -0
  329. package/dist/esm/out/wechaty/puppet/base_pb_service.d.ts +3 -0
  330. package/dist/esm/out/wechaty/puppet/base_pb_service.js +3 -0
  331. package/dist/esm/out/wechaty/puppet/contact_grpc_pb.js +1 -0
  332. package/dist/esm/out/wechaty/puppet/contact_pb.d.ts +535 -0
  333. package/dist/esm/out/wechaty/puppet/contact_pb.js +4013 -0
  334. package/dist/esm/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
  335. package/dist/esm/out/wechaty/puppet/contact_pb_service.js +3 -0
  336. package/dist/esm/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
  337. package/dist/esm/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
  338. package/dist/esm/out/wechaty/puppet/download-upload_pb.js +674 -0
  339. package/dist/esm/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
  340. package/dist/esm/out/wechaty/puppet/download-upload_pb_service.js +3 -0
  341. package/dist/esm/out/wechaty/puppet/event_grpc_pb.js +1 -0
  342. package/dist/esm/out/wechaty/puppet/event_pb.d.ts +67 -0
  343. package/dist/esm/out/wechaty/puppet/event_pb.js +347 -0
  344. package/dist/esm/out/wechaty/puppet/event_pb_service.d.ts +3 -0
  345. package/dist/esm/out/wechaty/puppet/event_pb_service.js +3 -0
  346. package/dist/esm/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
  347. package/dist/esm/out/wechaty/puppet/friendship_pb.d.ts +293 -0
  348. package/dist/esm/out/wechaty/puppet/friendship_pb.js +2060 -0
  349. package/dist/esm/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
  350. package/dist/esm/out/wechaty/puppet/friendship_pb_service.js +3 -0
  351. package/dist/esm/out/wechaty/puppet/image_grpc_pb.js +1 -0
  352. package/dist/esm/out/wechaty/puppet/image_pb.d.ts +14 -0
  353. package/dist/esm/out/wechaty/puppet/image_pb.js +29 -0
  354. package/dist/esm/out/wechaty/puppet/image_pb_service.d.ts +3 -0
  355. package/dist/esm/out/wechaty/puppet/image_pb_service.js +3 -0
  356. package/dist/esm/out/wechaty/puppet/location_grpc_pb.js +1 -0
  357. package/dist/esm/out/wechaty/puppet/location_pb.d.ts +41 -0
  358. package/dist/esm/out/wechaty/puppet/location_pb.js +290 -0
  359. package/dist/esm/out/wechaty/puppet/location_pb_service.d.ts +3 -0
  360. package/dist/esm/out/wechaty/puppet/location_pb_service.js +3 -0
  361. package/dist/esm/out/wechaty/puppet/message_grpc_pb.js +1 -0
  362. package/dist/esm/out/wechaty/puppet/message_pb.d.ts +773 -0
  363. package/dist/esm/out/wechaty/puppet/message_pb.js +5777 -0
  364. package/dist/esm/out/wechaty/puppet/message_pb_service.d.ts +3 -0
  365. package/dist/esm/out/wechaty/puppet/message_pb_service.js +3 -0
  366. package/dist/esm/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
  367. package/dist/esm/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
  368. package/dist/esm/out/wechaty/puppet/mini-program_pb.js +410 -0
  369. package/dist/esm/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
  370. package/dist/esm/out/wechaty/puppet/mini-program_pb_service.js +3 -0
  371. package/dist/esm/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
  372. package/dist/esm/out/wechaty/puppet/referrer_pb.d.ts +29 -0
  373. package/dist/esm/out/wechaty/puppet/referrer_pb.js +200 -0
  374. package/dist/esm/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
  375. package/dist/esm/out/wechaty/puppet/referrer_pb_service.js +3 -0
  376. package/dist/esm/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
  377. package/dist/esm/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
  378. package/dist/esm/out/wechaty/puppet/room-invitation_pb.js +999 -0
  379. package/dist/esm/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
  380. package/dist/esm/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
  381. package/dist/esm/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
  382. package/dist/esm/out/wechaty/puppet/room-member_pb.d.ts +107 -0
  383. package/dist/esm/out/wechaty/puppet/room-member_pb.js +802 -0
  384. package/dist/esm/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
  385. package/dist/esm/out/wechaty/puppet/room-member_pb_service.js +3 -0
  386. package/dist/esm/out/wechaty/puppet/room_grpc_pb.js +1 -0
  387. package/dist/esm/out/wechaty/puppet/room_pb.d.ts +474 -0
  388. package/dist/esm/out/wechaty/puppet/room_pb.js +3641 -0
  389. package/dist/esm/out/wechaty/puppet/room_pb_service.d.ts +3 -0
  390. package/dist/esm/out/wechaty/puppet/room_pb_service.js +3 -0
  391. package/dist/esm/out/wechaty/puppet/tag_grpc_pb.js +1 -0
  392. package/dist/esm/out/wechaty/puppet/tag_pb.d.ts +170 -0
  393. package/dist/esm/out/wechaty/puppet/tag_pb.js +1286 -0
  394. package/dist/esm/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
  395. package/dist/esm/out/wechaty/puppet/tag_pb_service.js +3 -0
  396. package/dist/esm/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
  397. package/dist/esm/out/wechaty/puppet/url-link_pb.d.ts +37 -0
  398. package/dist/esm/out/wechaty/puppet/url-link_pb.js +260 -0
  399. package/dist/esm/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
  400. package/dist/esm/out/wechaty/puppet/url-link_pb_service.js +3 -0
  401. package/dist/esm/out/wechaty/puppet.openapi.yaml +2386 -0
  402. package/dist/esm/out/wechaty/puppet.swagger.json +3419 -0
  403. package/dist/esm/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
  404. package/dist/esm/out/wechaty/puppet_grpc_pb.js +2079 -0
  405. package/dist/esm/out/wechaty/puppet_pb.d.ts +18 -0
  406. package/dist/esm/out/wechaty/puppet_pb.js +43 -0
  407. package/dist/esm/out/wechaty/puppet_pb_service.d.ts +1166 -0
  408. package/dist/esm/out/wechaty/puppet_pb_service.js +2524 -0
  409. package/dist/esm/proto/wechaty/deprecated/file-box.proto +61 -0
  410. package/dist/esm/proto/wechaty/puppet/base.proto +46 -0
  411. package/dist/esm/proto/wechaty/puppet/contact.proto +122 -0
  412. package/dist/esm/proto/wechaty/puppet/download-upload.proto +19 -0
  413. package/dist/esm/proto/wechaty/puppet/event.proto +38 -0
  414. package/dist/esm/proto/wechaty/puppet/friendship.proto +106 -0
  415. package/dist/esm/proto/wechaty/puppet/image.proto +13 -0
  416. package/dist/esm/proto/wechaty/puppet/location.proto +14 -0
  417. package/dist/esm/proto/wechaty/puppet/message.proto +230 -0
  418. package/dist/esm/proto/wechaty/puppet/mini-program.proto +18 -0
  419. package/dist/esm/proto/wechaty/puppet/referrer.proto +16 -0
  420. package/dist/esm/proto/wechaty/puppet/room-invitation.proto +51 -0
  421. package/dist/esm/proto/wechaty/puppet/room-member.proto +25 -0
  422. package/dist/esm/proto/wechaty/puppet/room.proto +87 -0
  423. package/dist/esm/proto/wechaty/puppet/tag.proto +43 -0
  424. package/dist/esm/proto/wechaty/puppet/url-link.proto +13 -0
  425. package/dist/esm/proto/wechaty/puppet.proto +505 -0
  426. package/dist/esm/src/chunk-transformer.d.ts +24 -0
  427. package/dist/esm/src/chunk-transformer.d.ts.map +1 -0
  428. package/dist/esm/src/chunk-transformer.js +32 -0
  429. package/dist/esm/src/chunk-transformer.js.map +1 -0
  430. package/dist/esm/src/chunk-transformer.spec.d.ts +3 -0
  431. package/dist/esm/src/chunk-transformer.spec.d.ts.map +1 -0
  432. package/dist/esm/src/chunk-transformer.spec.js +7 -0
  433. package/dist/esm/src/chunk-transformer.spec.js.map +1 -0
  434. package/dist/esm/src/cjs.d.ts +5 -0
  435. package/dist/esm/src/cjs.d.ts.map +1 -0
  436. package/dist/esm/src/cjs.js +5 -0
  437. package/dist/esm/src/cjs.js.map +1 -0
  438. package/dist/esm/src/cjs.spec.d.ts +3 -0
  439. package/dist/esm/src/cjs.spec.d.ts.map +1 -0
  440. package/dist/esm/src/cjs.spec.js +25 -0
  441. package/dist/esm/src/cjs.spec.js.map +1 -0
  442. package/dist/esm/src/config.d.ts +12 -0
  443. package/dist/esm/src/config.d.ts.map +1 -0
  444. package/dist/esm/src/config.js +9 -0
  445. package/dist/esm/src/config.js.map +1 -0
  446. package/dist/esm/src/google.d.ts +8 -0
  447. package/dist/esm/src/google.d.ts.map +1 -0
  448. package/dist/esm/src/google.js +8 -0
  449. package/dist/esm/src/google.js.map +1 -0
  450. package/dist/esm/src/google.spec.d.ts +3 -0
  451. package/dist/esm/src/google.spec.d.ts.map +1 -0
  452. package/dist/esm/src/google.spec.js +9 -0
  453. package/dist/esm/src/google.spec.js.map +1 -0
  454. package/dist/esm/src/mod.d.ts +9 -0
  455. package/dist/esm/src/mod.d.ts.map +1 -0
  456. package/dist/esm/src/mod.js +9 -0
  457. package/dist/esm/src/mod.js.map +1 -0
  458. package/dist/esm/src/mod.spec.d.ts +3 -0
  459. package/dist/esm/src/mod.spec.d.ts.map +1 -0
  460. package/dist/esm/src/mod.spec.js +20 -0
  461. package/dist/esm/src/mod.spec.js.map +1 -0
  462. package/dist/esm/src/openapi.d.ts +4 -0
  463. package/dist/esm/src/openapi.d.ts.map +1 -0
  464. package/dist/esm/src/openapi.js +15 -0
  465. package/dist/esm/src/openapi.js.map +1 -0
  466. package/dist/esm/src/openapi.spec.d.ts +3 -0
  467. package/dist/esm/src/openapi.spec.d.ts.map +1 -0
  468. package/dist/esm/src/openapi.spec.js +18 -0
  469. package/dist/esm/src/openapi.spec.js.map +1 -0
  470. package/dist/esm/src/package-json.d.ts +6 -0
  471. package/dist/esm/src/package-json.d.ts.map +1 -0
  472. package/dist/esm/src/package-json.js +94 -0
  473. package/dist/esm/src/package-json.js.map +1 -0
  474. package/dist/esm/src/package-json.spec.d.ts +3 -0
  475. package/dist/esm/src/package-json.spec.d.ts.map +1 -0
  476. package/dist/esm/src/package-json.spec.js +8 -0
  477. package/dist/esm/src/package-json.spec.js.map +1 -0
  478. package/dist/esm/src/proto.d.ts +4 -0
  479. package/dist/esm/src/proto.d.ts.map +1 -0
  480. package/dist/esm/src/proto.js +19 -0
  481. package/dist/esm/src/proto.js.map +1 -0
  482. package/dist/esm/src/proto.spec.d.ts +3 -0
  483. package/dist/esm/src/proto.spec.d.ts.map +1 -0
  484. package/dist/esm/src/proto.spec.js +11 -0
  485. package/dist/esm/src/proto.spec.js.map +1 -0
  486. package/dist/esm/tests/health-check.spec.d.ts +3 -0
  487. package/dist/esm/tests/health-check.spec.d.ts.map +1 -0
  488. package/dist/esm/tests/health-check.spec.js +68 -0
  489. package/dist/esm/tests/health-check.spec.js.map +1 -0
  490. package/dist/esm/tests/integration.spec.d.ts +3 -0
  491. package/dist/esm/tests/integration.spec.d.ts.map +1 -0
  492. package/dist/esm/tests/integration.spec.js +106 -0
  493. package/dist/esm/tests/integration.spec.js.map +1 -0
  494. package/dist/esm/tests/nullable.spec.d.ts +3 -0
  495. package/dist/esm/tests/nullable.spec.d.ts.map +1 -0
  496. package/dist/esm/tests/nullable.spec.js +85 -0
  497. package/dist/esm/tests/nullable.spec.js.map +1 -0
  498. package/dist/esm/tests/puppet-server-impl.d.ts +8 -0
  499. package/dist/esm/tests/puppet-server-impl.d.ts.map +1 -0
  500. package/dist/esm/tests/puppet-server-impl.js +307 -0
  501. package/dist/esm/tests/puppet-server-impl.js.map +1 -0
  502. package/dist/esm/tests/streaming.spec.d.ts +3 -0
  503. package/dist/esm/tests/streaming.spec.d.ts.map +1 -0
  504. package/dist/esm/tests/streaming.spec.js +6 -0
  505. package/dist/esm/tests/streaming.spec.js.map +1 -0
  506. package/out/google/api/annotations_grpc_pb.js +1 -0
  507. package/out/google/api/annotations_pb.d.ts +9 -0
  508. package/out/google/api/annotations_pb.js +48 -0
  509. package/out/google/api/annotations_pb_service.d.ts +3 -0
  510. package/out/google/api/annotations_pb_service.js +3 -0
  511. package/out/google/api/health_check/v1/health_check_grpc_pb.d.ts +56 -0
  512. package/out/google/api/health_check/v1/health_check_grpc_pb.js +90 -0
  513. package/out/google/api/health_check/v1/health_check_pb.d.ts +54 -0
  514. package/out/google/api/health_check/v1/health_check_pb.js +333 -0
  515. package/out/google/api/health_check/v1/health_check_pb_service.d.ts +74 -0
  516. package/out/google/api/health_check/v1/health_check_pb_service.js +109 -0
  517. package/out/google/api/http_grpc_pb.js +1 -0
  518. package/out/google/api/http_pb.d.ts +136 -0
  519. package/out/google/api/http_pb.js +1006 -0
  520. package/out/google/api/http_pb_service.d.ts +3 -0
  521. package/out/google/api/http_pb_service.js +3 -0
  522. package/out/package.json +1 -0
  523. package/out/protoc-gen-openapiv2/options/annotations_grpc_pb.js +1 -0
  524. package/out/protoc-gen-openapiv2/options/annotations_pb.d.ts +17 -0
  525. package/out/protoc-gen-openapiv2/options/annotations_pb.js +152 -0
  526. package/out/protoc-gen-openapiv2/options/annotations_pb_service.d.ts +3 -0
  527. package/out/protoc-gen-openapiv2/options/annotations_pb_service.js +3 -0
  528. package/out/protoc-gen-openapiv2/options/openapiv2_grpc_pb.js +1 -0
  529. package/out/protoc-gen-openapiv2/options/openapiv2_pb.d.ts +747 -0
  530. package/out/protoc-gen-openapiv2/options/openapiv2_pb.js +5603 -0
  531. package/out/protoc-gen-openapiv2/options/openapiv2_pb_service.d.ts +3 -0
  532. package/out/protoc-gen-openapiv2/options/openapiv2_pb_service.js +3 -0
  533. package/out/wechaty/deprecated/file-box_grpc_pb.js +1 -0
  534. package/out/wechaty/deprecated/file-box_pb.d.ts +179 -0
  535. package/out/wechaty/deprecated/file-box_pb.js +1368 -0
  536. package/out/wechaty/deprecated/file-box_pb_service.d.ts +3 -0
  537. package/out/wechaty/deprecated/file-box_pb_service.js +3 -0
  538. package/out/wechaty/puppet/base_grpc_pb.js +1 -0
  539. package/out/wechaty/puppet/base_pb.d.ts +224 -0
  540. package/out/wechaty/puppet/base_pb.js +1624 -0
  541. package/out/wechaty/puppet/base_pb_service.d.ts +3 -0
  542. package/out/wechaty/puppet/base_pb_service.js +3 -0
  543. package/out/wechaty/puppet/contact_grpc_pb.js +1 -0
  544. package/out/wechaty/puppet/contact_pb.d.ts +535 -0
  545. package/out/wechaty/puppet/contact_pb.js +4013 -0
  546. package/out/wechaty/puppet/contact_pb_service.d.ts +3 -0
  547. package/out/wechaty/puppet/contact_pb_service.js +3 -0
  548. package/out/wechaty/puppet/download-upload_grpc_pb.js +1 -0
  549. package/out/wechaty/puppet/download-upload_pb.d.ts +89 -0
  550. package/out/wechaty/puppet/download-upload_pb.js +674 -0
  551. package/out/wechaty/puppet/download-upload_pb_service.d.ts +3 -0
  552. package/out/wechaty/puppet/download-upload_pb_service.js +3 -0
  553. package/out/wechaty/puppet/event_grpc_pb.js +1 -0
  554. package/out/wechaty/puppet/event_pb.d.ts +67 -0
  555. package/out/wechaty/puppet/event_pb.js +347 -0
  556. package/out/wechaty/puppet/event_pb_service.d.ts +3 -0
  557. package/out/wechaty/puppet/event_pb_service.js +3 -0
  558. package/out/wechaty/puppet/friendship_grpc_pb.js +1 -0
  559. package/out/wechaty/puppet/friendship_pb.d.ts +293 -0
  560. package/out/wechaty/puppet/friendship_pb.js +2060 -0
  561. package/out/wechaty/puppet/friendship_pb_service.d.ts +3 -0
  562. package/out/wechaty/puppet/friendship_pb_service.js +3 -0
  563. package/out/wechaty/puppet/image_grpc_pb.js +1 -0
  564. package/out/wechaty/puppet/image_pb.d.ts +14 -0
  565. package/out/wechaty/puppet/image_pb.js +29 -0
  566. package/out/wechaty/puppet/image_pb_service.d.ts +3 -0
  567. package/out/wechaty/puppet/image_pb_service.js +3 -0
  568. package/out/wechaty/puppet/location_grpc_pb.js +1 -0
  569. package/out/wechaty/puppet/location_pb.d.ts +41 -0
  570. package/out/wechaty/puppet/location_pb.js +290 -0
  571. package/out/wechaty/puppet/location_pb_service.d.ts +3 -0
  572. package/out/wechaty/puppet/location_pb_service.js +3 -0
  573. package/out/wechaty/puppet/message_grpc_pb.js +1 -0
  574. package/out/wechaty/puppet/message_pb.d.ts +773 -0
  575. package/out/wechaty/puppet/message_pb.js +5777 -0
  576. package/out/wechaty/puppet/message_pb_service.d.ts +3 -0
  577. package/out/wechaty/puppet/message_pb_service.js +3 -0
  578. package/out/wechaty/puppet/mini-program_grpc_pb.js +1 -0
  579. package/out/wechaty/puppet/mini-program_pb.d.ts +57 -0
  580. package/out/wechaty/puppet/mini-program_pb.js +410 -0
  581. package/out/wechaty/puppet/mini-program_pb_service.d.ts +3 -0
  582. package/out/wechaty/puppet/mini-program_pb_service.js +3 -0
  583. package/out/wechaty/puppet/referrer_grpc_pb.js +1 -0
  584. package/out/wechaty/puppet/referrer_pb.d.ts +29 -0
  585. package/out/wechaty/puppet/referrer_pb.js +200 -0
  586. package/out/wechaty/puppet/referrer_pb_service.d.ts +3 -0
  587. package/out/wechaty/puppet/referrer_pb_service.js +3 -0
  588. package/out/wechaty/puppet/room-invitation_grpc_pb.js +1 -0
  589. package/out/wechaty/puppet/room-invitation_pb.d.ts +133 -0
  590. package/out/wechaty/puppet/room-invitation_pb.js +999 -0
  591. package/out/wechaty/puppet/room-invitation_pb_service.d.ts +3 -0
  592. package/out/wechaty/puppet/room-invitation_pb_service.js +3 -0
  593. package/out/wechaty/puppet/room-member_grpc_pb.js +1 -0
  594. package/out/wechaty/puppet/room-member_pb.d.ts +107 -0
  595. package/out/wechaty/puppet/room-member_pb.js +802 -0
  596. package/out/wechaty/puppet/room-member_pb_service.d.ts +3 -0
  597. package/out/wechaty/puppet/room-member_pb_service.js +3 -0
  598. package/out/wechaty/puppet/room_grpc_pb.js +1 -0
  599. package/out/wechaty/puppet/room_pb.d.ts +474 -0
  600. package/out/wechaty/puppet/room_pb.js +3641 -0
  601. package/out/wechaty/puppet/room_pb_service.d.ts +3 -0
  602. package/out/wechaty/puppet/room_pb_service.js +3 -0
  603. package/out/wechaty/puppet/tag_grpc_pb.js +1 -0
  604. package/out/wechaty/puppet/tag_pb.d.ts +170 -0
  605. package/out/wechaty/puppet/tag_pb.js +1286 -0
  606. package/out/wechaty/puppet/tag_pb_service.d.ts +3 -0
  607. package/out/wechaty/puppet/tag_pb_service.js +3 -0
  608. package/out/wechaty/puppet/url-link_grpc_pb.js +1 -0
  609. package/out/wechaty/puppet/url-link_pb.d.ts +37 -0
  610. package/out/wechaty/puppet/url-link_pb.js +260 -0
  611. package/out/wechaty/puppet/url-link_pb_service.d.ts +3 -0
  612. package/out/wechaty/puppet/url-link_pb_service.js +3 -0
  613. package/out/wechaty/puppet.openapi.yaml +2386 -0
  614. package/out/wechaty/puppet.swagger.json +3419 -0
  615. package/out/wechaty/puppet_grpc_pb.d.ts +1069 -0
  616. package/out/wechaty/puppet_grpc_pb.js +2079 -0
  617. package/out/wechaty/puppet_pb.d.ts +18 -0
  618. package/out/wechaty/puppet_pb.js +43 -0
  619. package/out/wechaty/puppet_pb_service.d.ts +1166 -0
  620. package/out/wechaty/puppet_pb_service.js +2524 -0
  621. package/package.json +93 -0
  622. package/src/chunk-transformer.spec.ts +18 -0
  623. package/src/chunk-transformer.ts +58 -0
  624. package/src/cjs.spec.ts +36 -0
  625. package/src/cjs.ts +10 -0
  626. package/src/config.ts +19 -0
  627. package/src/google.spec.ts +13 -0
  628. package/src/google.ts +10 -0
  629. package/src/mod.spec.ts +30 -0
  630. package/src/mod.ts +31 -0
  631. package/src/openapi.spec.ts +22 -0
  632. package/src/openapi.ts +30 -0
  633. package/src/package-json.spec.ts +10 -0
  634. package/src/package-json.ts +97 -0
  635. package/src/proto.spec.ts +16 -0
  636. package/src/proto.ts +34 -0
@@ -0,0 +1,1286 @@
1
+ // source: wechaty/puppet/tag.proto
2
+ /**
3
+ * @fileoverview
4
+ * @enhanceable
5
+ * @suppress {missingRequire} reports error on implicit type usages.
6
+ * @suppress {messageConventions} JS Compiler reports an error if a variable or
7
+ * field starts with 'MSG_' and isn't a translatable message.
8
+ * @public
9
+ */
10
+ // GENERATED CODE -- DO NOT EDIT!
11
+ /* eslint-disable */
12
+ // @ts-nocheck
13
+
14
+ var jspb = require('google-protobuf');
15
+ var goog = jspb;
16
+ var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
17
+
18
+ var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
19
+ goog.object.extend(proto, google_protobuf_wrappers_pb);
20
+ goog.exportSymbol('proto.wechaty.puppet.TagContactAddRequest', null, global);
21
+ goog.exportSymbol('proto.wechaty.puppet.TagContactAddResponse', null, global);
22
+ goog.exportSymbol('proto.wechaty.puppet.TagContactDeleteRequest', null, global);
23
+ goog.exportSymbol('proto.wechaty.puppet.TagContactDeleteResponse', null, global);
24
+ goog.exportSymbol('proto.wechaty.puppet.TagContactListRequest', null, global);
25
+ goog.exportSymbol('proto.wechaty.puppet.TagContactListResponse', null, global);
26
+ goog.exportSymbol('proto.wechaty.puppet.TagContactRemoveRequest', null, global);
27
+ goog.exportSymbol('proto.wechaty.puppet.TagContactRemoveResponse', null, global);
28
+ /**
29
+ * Generated by JsPbCodeGenerator.
30
+ * @param {Array=} opt_data Optional initial data array, typically from a
31
+ * server response, or constructed directly in Javascript. The array is used
32
+ * in place and becomes part of the constructed object. It is not cloned.
33
+ * If no data is provided, the constructed object will be empty, but still
34
+ * valid.
35
+ * @extends {jspb.Message}
36
+ * @constructor
37
+ */
38
+ proto.wechaty.puppet.TagContactAddRequest = function(opt_data) {
39
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
40
+ };
41
+ goog.inherits(proto.wechaty.puppet.TagContactAddRequest, jspb.Message);
42
+ if (goog.DEBUG && !COMPILED) {
43
+ /**
44
+ * @public
45
+ * @override
46
+ */
47
+ proto.wechaty.puppet.TagContactAddRequest.displayName = 'proto.wechaty.puppet.TagContactAddRequest';
48
+ }
49
+ /**
50
+ * Generated by JsPbCodeGenerator.
51
+ * @param {Array=} opt_data Optional initial data array, typically from a
52
+ * server response, or constructed directly in Javascript. The array is used
53
+ * in place and becomes part of the constructed object. It is not cloned.
54
+ * If no data is provided, the constructed object will be empty, but still
55
+ * valid.
56
+ * @extends {jspb.Message}
57
+ * @constructor
58
+ */
59
+ proto.wechaty.puppet.TagContactAddResponse = function(opt_data) {
60
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
61
+ };
62
+ goog.inherits(proto.wechaty.puppet.TagContactAddResponse, jspb.Message);
63
+ if (goog.DEBUG && !COMPILED) {
64
+ /**
65
+ * @public
66
+ * @override
67
+ */
68
+ proto.wechaty.puppet.TagContactAddResponse.displayName = 'proto.wechaty.puppet.TagContactAddResponse';
69
+ }
70
+ /**
71
+ * Generated by JsPbCodeGenerator.
72
+ * @param {Array=} opt_data Optional initial data array, typically from a
73
+ * server response, or constructed directly in Javascript. The array is used
74
+ * in place and becomes part of the constructed object. It is not cloned.
75
+ * If no data is provided, the constructed object will be empty, but still
76
+ * valid.
77
+ * @extends {jspb.Message}
78
+ * @constructor
79
+ */
80
+ proto.wechaty.puppet.TagContactRemoveRequest = function(opt_data) {
81
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
82
+ };
83
+ goog.inherits(proto.wechaty.puppet.TagContactRemoveRequest, jspb.Message);
84
+ if (goog.DEBUG && !COMPILED) {
85
+ /**
86
+ * @public
87
+ * @override
88
+ */
89
+ proto.wechaty.puppet.TagContactRemoveRequest.displayName = 'proto.wechaty.puppet.TagContactRemoveRequest';
90
+ }
91
+ /**
92
+ * Generated by JsPbCodeGenerator.
93
+ * @param {Array=} opt_data Optional initial data array, typically from a
94
+ * server response, or constructed directly in Javascript. The array is used
95
+ * in place and becomes part of the constructed object. It is not cloned.
96
+ * If no data is provided, the constructed object will be empty, but still
97
+ * valid.
98
+ * @extends {jspb.Message}
99
+ * @constructor
100
+ */
101
+ proto.wechaty.puppet.TagContactRemoveResponse = function(opt_data) {
102
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
103
+ };
104
+ goog.inherits(proto.wechaty.puppet.TagContactRemoveResponse, jspb.Message);
105
+ if (goog.DEBUG && !COMPILED) {
106
+ /**
107
+ * @public
108
+ * @override
109
+ */
110
+ proto.wechaty.puppet.TagContactRemoveResponse.displayName = 'proto.wechaty.puppet.TagContactRemoveResponse';
111
+ }
112
+ /**
113
+ * Generated by JsPbCodeGenerator.
114
+ * @param {Array=} opt_data Optional initial data array, typically from a
115
+ * server response, or constructed directly in Javascript. The array is used
116
+ * in place and becomes part of the constructed object. It is not cloned.
117
+ * If no data is provided, the constructed object will be empty, but still
118
+ * valid.
119
+ * @extends {jspb.Message}
120
+ * @constructor
121
+ */
122
+ proto.wechaty.puppet.TagContactDeleteRequest = function(opt_data) {
123
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
124
+ };
125
+ goog.inherits(proto.wechaty.puppet.TagContactDeleteRequest, jspb.Message);
126
+ if (goog.DEBUG && !COMPILED) {
127
+ /**
128
+ * @public
129
+ * @override
130
+ */
131
+ proto.wechaty.puppet.TagContactDeleteRequest.displayName = 'proto.wechaty.puppet.TagContactDeleteRequest';
132
+ }
133
+ /**
134
+ * Generated by JsPbCodeGenerator.
135
+ * @param {Array=} opt_data Optional initial data array, typically from a
136
+ * server response, or constructed directly in Javascript. The array is used
137
+ * in place and becomes part of the constructed object. It is not cloned.
138
+ * If no data is provided, the constructed object will be empty, but still
139
+ * valid.
140
+ * @extends {jspb.Message}
141
+ * @constructor
142
+ */
143
+ proto.wechaty.puppet.TagContactDeleteResponse = function(opt_data) {
144
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
145
+ };
146
+ goog.inherits(proto.wechaty.puppet.TagContactDeleteResponse, jspb.Message);
147
+ if (goog.DEBUG && !COMPILED) {
148
+ /**
149
+ * @public
150
+ * @override
151
+ */
152
+ proto.wechaty.puppet.TagContactDeleteResponse.displayName = 'proto.wechaty.puppet.TagContactDeleteResponse';
153
+ }
154
+ /**
155
+ * Generated by JsPbCodeGenerator.
156
+ * @param {Array=} opt_data Optional initial data array, typically from a
157
+ * server response, or constructed directly in Javascript. The array is used
158
+ * in place and becomes part of the constructed object. It is not cloned.
159
+ * If no data is provided, the constructed object will be empty, but still
160
+ * valid.
161
+ * @extends {jspb.Message}
162
+ * @constructor
163
+ */
164
+ proto.wechaty.puppet.TagContactListRequest = function(opt_data) {
165
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
166
+ };
167
+ goog.inherits(proto.wechaty.puppet.TagContactListRequest, jspb.Message);
168
+ if (goog.DEBUG && !COMPILED) {
169
+ /**
170
+ * @public
171
+ * @override
172
+ */
173
+ proto.wechaty.puppet.TagContactListRequest.displayName = 'proto.wechaty.puppet.TagContactListRequest';
174
+ }
175
+ /**
176
+ * Generated by JsPbCodeGenerator.
177
+ * @param {Array=} opt_data Optional initial data array, typically from a
178
+ * server response, or constructed directly in Javascript. The array is used
179
+ * in place and becomes part of the constructed object. It is not cloned.
180
+ * If no data is provided, the constructed object will be empty, but still
181
+ * valid.
182
+ * @extends {jspb.Message}
183
+ * @constructor
184
+ */
185
+ proto.wechaty.puppet.TagContactListResponse = function(opt_data) {
186
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.wechaty.puppet.TagContactListResponse.repeatedFields_, null);
187
+ };
188
+ goog.inherits(proto.wechaty.puppet.TagContactListResponse, jspb.Message);
189
+ if (goog.DEBUG && !COMPILED) {
190
+ /**
191
+ * @public
192
+ * @override
193
+ */
194
+ proto.wechaty.puppet.TagContactListResponse.displayName = 'proto.wechaty.puppet.TagContactListResponse';
195
+ }
196
+
197
+
198
+
199
+ if (jspb.Message.GENERATE_TO_OBJECT) {
200
+ /**
201
+ * Creates an object representation of this proto.
202
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
203
+ * Optional fields that are not set will be set to undefined.
204
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
205
+ * For the list of reserved names please see:
206
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
207
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
208
+ * JSPB instance for transitional soy proto support:
209
+ * http://goto/soy-param-migration
210
+ * @return {!Object}
211
+ */
212
+ proto.wechaty.puppet.TagContactAddRequest.prototype.toObject = function(opt_includeInstance) {
213
+ return proto.wechaty.puppet.TagContactAddRequest.toObject(opt_includeInstance, this);
214
+ };
215
+
216
+
217
+ /**
218
+ * Static version of the {@see toObject} method.
219
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
220
+ * the JSPB instance for transitional soy proto support:
221
+ * http://goto/soy-param-migration
222
+ * @param {!proto.wechaty.puppet.TagContactAddRequest} msg The msg instance to transform.
223
+ * @return {!Object}
224
+ * @suppress {unusedLocalVariables} f is only used for nested messages
225
+ */
226
+ proto.wechaty.puppet.TagContactAddRequest.toObject = function(includeInstance, msg) {
227
+ var f, obj = {
228
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
229
+ contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
230
+ };
231
+
232
+ if (includeInstance) {
233
+ obj.$jspbMessageInstance = msg;
234
+ }
235
+ return obj;
236
+ };
237
+ }
238
+
239
+
240
+ /**
241
+ * Deserializes binary data (in protobuf wire format).
242
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
243
+ * @return {!proto.wechaty.puppet.TagContactAddRequest}
244
+ */
245
+ proto.wechaty.puppet.TagContactAddRequest.deserializeBinary = function(bytes) {
246
+ var reader = new jspb.BinaryReader(bytes);
247
+ var msg = new proto.wechaty.puppet.TagContactAddRequest;
248
+ return proto.wechaty.puppet.TagContactAddRequest.deserializeBinaryFromReader(msg, reader);
249
+ };
250
+
251
+
252
+ /**
253
+ * Deserializes binary data (in protobuf wire format) from the
254
+ * given reader into the given message object.
255
+ * @param {!proto.wechaty.puppet.TagContactAddRequest} msg The message object to deserialize into.
256
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
257
+ * @return {!proto.wechaty.puppet.TagContactAddRequest}
258
+ */
259
+ proto.wechaty.puppet.TagContactAddRequest.deserializeBinaryFromReader = function(msg, reader) {
260
+ while (reader.nextField()) {
261
+ if (reader.isEndGroup()) {
262
+ break;
263
+ }
264
+ var field = reader.getFieldNumber();
265
+ switch (field) {
266
+ case 1:
267
+ var value = /** @type {string} */ (reader.readString());
268
+ msg.setId(value);
269
+ break;
270
+ case 2:
271
+ var value = /** @type {string} */ (reader.readString());
272
+ msg.setContactId(value);
273
+ break;
274
+ default:
275
+ reader.skipField();
276
+ break;
277
+ }
278
+ }
279
+ return msg;
280
+ };
281
+
282
+
283
+ /**
284
+ * Serializes the message to binary data (in protobuf wire format).
285
+ * @return {!Uint8Array}
286
+ */
287
+ proto.wechaty.puppet.TagContactAddRequest.prototype.serializeBinary = function() {
288
+ var writer = new jspb.BinaryWriter();
289
+ proto.wechaty.puppet.TagContactAddRequest.serializeBinaryToWriter(this, writer);
290
+ return writer.getResultBuffer();
291
+ };
292
+
293
+
294
+ /**
295
+ * Serializes the given message to binary data (in protobuf wire
296
+ * format), writing to the given BinaryWriter.
297
+ * @param {!proto.wechaty.puppet.TagContactAddRequest} message
298
+ * @param {!jspb.BinaryWriter} writer
299
+ * @suppress {unusedLocalVariables} f is only used for nested messages
300
+ */
301
+ proto.wechaty.puppet.TagContactAddRequest.serializeBinaryToWriter = function(message, writer) {
302
+ var f = undefined;
303
+ f = message.getId();
304
+ if (f.length > 0) {
305
+ writer.writeString(
306
+ 1,
307
+ f
308
+ );
309
+ }
310
+ f = message.getContactId();
311
+ if (f.length > 0) {
312
+ writer.writeString(
313
+ 2,
314
+ f
315
+ );
316
+ }
317
+ };
318
+
319
+
320
+ /**
321
+ * optional string id = 1;
322
+ * @return {string}
323
+ */
324
+ proto.wechaty.puppet.TagContactAddRequest.prototype.getId = function() {
325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
326
+ };
327
+
328
+
329
+ /**
330
+ * @param {string} value
331
+ * @return {!proto.wechaty.puppet.TagContactAddRequest} returns this
332
+ */
333
+ proto.wechaty.puppet.TagContactAddRequest.prototype.setId = function(value) {
334
+ return jspb.Message.setProto3StringField(this, 1, value);
335
+ };
336
+
337
+
338
+ /**
339
+ * optional string contact_id = 2;
340
+ * @return {string}
341
+ */
342
+ proto.wechaty.puppet.TagContactAddRequest.prototype.getContactId = function() {
343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
344
+ };
345
+
346
+
347
+ /**
348
+ * @param {string} value
349
+ * @return {!proto.wechaty.puppet.TagContactAddRequest} returns this
350
+ */
351
+ proto.wechaty.puppet.TagContactAddRequest.prototype.setContactId = function(value) {
352
+ return jspb.Message.setProto3StringField(this, 2, value);
353
+ };
354
+
355
+
356
+
357
+
358
+
359
+ if (jspb.Message.GENERATE_TO_OBJECT) {
360
+ /**
361
+ * Creates an object representation of this proto.
362
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
363
+ * Optional fields that are not set will be set to undefined.
364
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
365
+ * For the list of reserved names please see:
366
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
367
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
368
+ * JSPB instance for transitional soy proto support:
369
+ * http://goto/soy-param-migration
370
+ * @return {!Object}
371
+ */
372
+ proto.wechaty.puppet.TagContactAddResponse.prototype.toObject = function(opt_includeInstance) {
373
+ return proto.wechaty.puppet.TagContactAddResponse.toObject(opt_includeInstance, this);
374
+ };
375
+
376
+
377
+ /**
378
+ * Static version of the {@see toObject} method.
379
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
380
+ * the JSPB instance for transitional soy proto support:
381
+ * http://goto/soy-param-migration
382
+ * @param {!proto.wechaty.puppet.TagContactAddResponse} msg The msg instance to transform.
383
+ * @return {!Object}
384
+ * @suppress {unusedLocalVariables} f is only used for nested messages
385
+ */
386
+ proto.wechaty.puppet.TagContactAddResponse.toObject = function(includeInstance, msg) {
387
+ var f, obj = {
388
+
389
+ };
390
+
391
+ if (includeInstance) {
392
+ obj.$jspbMessageInstance = msg;
393
+ }
394
+ return obj;
395
+ };
396
+ }
397
+
398
+
399
+ /**
400
+ * Deserializes binary data (in protobuf wire format).
401
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
402
+ * @return {!proto.wechaty.puppet.TagContactAddResponse}
403
+ */
404
+ proto.wechaty.puppet.TagContactAddResponse.deserializeBinary = function(bytes) {
405
+ var reader = new jspb.BinaryReader(bytes);
406
+ var msg = new proto.wechaty.puppet.TagContactAddResponse;
407
+ return proto.wechaty.puppet.TagContactAddResponse.deserializeBinaryFromReader(msg, reader);
408
+ };
409
+
410
+
411
+ /**
412
+ * Deserializes binary data (in protobuf wire format) from the
413
+ * given reader into the given message object.
414
+ * @param {!proto.wechaty.puppet.TagContactAddResponse} msg The message object to deserialize into.
415
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
416
+ * @return {!proto.wechaty.puppet.TagContactAddResponse}
417
+ */
418
+ proto.wechaty.puppet.TagContactAddResponse.deserializeBinaryFromReader = function(msg, reader) {
419
+ while (reader.nextField()) {
420
+ if (reader.isEndGroup()) {
421
+ break;
422
+ }
423
+ var field = reader.getFieldNumber();
424
+ switch (field) {
425
+ default:
426
+ reader.skipField();
427
+ break;
428
+ }
429
+ }
430
+ return msg;
431
+ };
432
+
433
+
434
+ /**
435
+ * Serializes the message to binary data (in protobuf wire format).
436
+ * @return {!Uint8Array}
437
+ */
438
+ proto.wechaty.puppet.TagContactAddResponse.prototype.serializeBinary = function() {
439
+ var writer = new jspb.BinaryWriter();
440
+ proto.wechaty.puppet.TagContactAddResponse.serializeBinaryToWriter(this, writer);
441
+ return writer.getResultBuffer();
442
+ };
443
+
444
+
445
+ /**
446
+ * Serializes the given message to binary data (in protobuf wire
447
+ * format), writing to the given BinaryWriter.
448
+ * @param {!proto.wechaty.puppet.TagContactAddResponse} message
449
+ * @param {!jspb.BinaryWriter} writer
450
+ * @suppress {unusedLocalVariables} f is only used for nested messages
451
+ */
452
+ proto.wechaty.puppet.TagContactAddResponse.serializeBinaryToWriter = function(message, writer) {
453
+ var f = undefined;
454
+ };
455
+
456
+
457
+
458
+
459
+
460
+ if (jspb.Message.GENERATE_TO_OBJECT) {
461
+ /**
462
+ * Creates an object representation of this proto.
463
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
464
+ * Optional fields that are not set will be set to undefined.
465
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
466
+ * For the list of reserved names please see:
467
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
468
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
469
+ * JSPB instance for transitional soy proto support:
470
+ * http://goto/soy-param-migration
471
+ * @return {!Object}
472
+ */
473
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.toObject = function(opt_includeInstance) {
474
+ return proto.wechaty.puppet.TagContactRemoveRequest.toObject(opt_includeInstance, this);
475
+ };
476
+
477
+
478
+ /**
479
+ * Static version of the {@see toObject} method.
480
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
481
+ * the JSPB instance for transitional soy proto support:
482
+ * http://goto/soy-param-migration
483
+ * @param {!proto.wechaty.puppet.TagContactRemoveRequest} msg The msg instance to transform.
484
+ * @return {!Object}
485
+ * @suppress {unusedLocalVariables} f is only used for nested messages
486
+ */
487
+ proto.wechaty.puppet.TagContactRemoveRequest.toObject = function(includeInstance, msg) {
488
+ var f, obj = {
489
+ id: jspb.Message.getFieldWithDefault(msg, 1, ""),
490
+ contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
491
+ };
492
+
493
+ if (includeInstance) {
494
+ obj.$jspbMessageInstance = msg;
495
+ }
496
+ return obj;
497
+ };
498
+ }
499
+
500
+
501
+ /**
502
+ * Deserializes binary data (in protobuf wire format).
503
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
504
+ * @return {!proto.wechaty.puppet.TagContactRemoveRequest}
505
+ */
506
+ proto.wechaty.puppet.TagContactRemoveRequest.deserializeBinary = function(bytes) {
507
+ var reader = new jspb.BinaryReader(bytes);
508
+ var msg = new proto.wechaty.puppet.TagContactRemoveRequest;
509
+ return proto.wechaty.puppet.TagContactRemoveRequest.deserializeBinaryFromReader(msg, reader);
510
+ };
511
+
512
+
513
+ /**
514
+ * Deserializes binary data (in protobuf wire format) from the
515
+ * given reader into the given message object.
516
+ * @param {!proto.wechaty.puppet.TagContactRemoveRequest} msg The message object to deserialize into.
517
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
518
+ * @return {!proto.wechaty.puppet.TagContactRemoveRequest}
519
+ */
520
+ proto.wechaty.puppet.TagContactRemoveRequest.deserializeBinaryFromReader = function(msg, reader) {
521
+ while (reader.nextField()) {
522
+ if (reader.isEndGroup()) {
523
+ break;
524
+ }
525
+ var field = reader.getFieldNumber();
526
+ switch (field) {
527
+ case 1:
528
+ var value = /** @type {string} */ (reader.readString());
529
+ msg.setId(value);
530
+ break;
531
+ case 2:
532
+ var value = /** @type {string} */ (reader.readString());
533
+ msg.setContactId(value);
534
+ break;
535
+ default:
536
+ reader.skipField();
537
+ break;
538
+ }
539
+ }
540
+ return msg;
541
+ };
542
+
543
+
544
+ /**
545
+ * Serializes the message to binary data (in protobuf wire format).
546
+ * @return {!Uint8Array}
547
+ */
548
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.serializeBinary = function() {
549
+ var writer = new jspb.BinaryWriter();
550
+ proto.wechaty.puppet.TagContactRemoveRequest.serializeBinaryToWriter(this, writer);
551
+ return writer.getResultBuffer();
552
+ };
553
+
554
+
555
+ /**
556
+ * Serializes the given message to binary data (in protobuf wire
557
+ * format), writing to the given BinaryWriter.
558
+ * @param {!proto.wechaty.puppet.TagContactRemoveRequest} message
559
+ * @param {!jspb.BinaryWriter} writer
560
+ * @suppress {unusedLocalVariables} f is only used for nested messages
561
+ */
562
+ proto.wechaty.puppet.TagContactRemoveRequest.serializeBinaryToWriter = function(message, writer) {
563
+ var f = undefined;
564
+ f = message.getId();
565
+ if (f.length > 0) {
566
+ writer.writeString(
567
+ 1,
568
+ f
569
+ );
570
+ }
571
+ f = message.getContactId();
572
+ if (f.length > 0) {
573
+ writer.writeString(
574
+ 2,
575
+ f
576
+ );
577
+ }
578
+ };
579
+
580
+
581
+ /**
582
+ * optional string id = 1;
583
+ * @return {string}
584
+ */
585
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.getId = function() {
586
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
587
+ };
588
+
589
+
590
+ /**
591
+ * @param {string} value
592
+ * @return {!proto.wechaty.puppet.TagContactRemoveRequest} returns this
593
+ */
594
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.setId = function(value) {
595
+ return jspb.Message.setProto3StringField(this, 1, value);
596
+ };
597
+
598
+
599
+ /**
600
+ * optional string contact_id = 2;
601
+ * @return {string}
602
+ */
603
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.getContactId = function() {
604
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
605
+ };
606
+
607
+
608
+ /**
609
+ * @param {string} value
610
+ * @return {!proto.wechaty.puppet.TagContactRemoveRequest} returns this
611
+ */
612
+ proto.wechaty.puppet.TagContactRemoveRequest.prototype.setContactId = function(value) {
613
+ return jspb.Message.setProto3StringField(this, 2, value);
614
+ };
615
+
616
+
617
+
618
+
619
+
620
+ if (jspb.Message.GENERATE_TO_OBJECT) {
621
+ /**
622
+ * Creates an object representation of this proto.
623
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
624
+ * Optional fields that are not set will be set to undefined.
625
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
626
+ * For the list of reserved names please see:
627
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
628
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
629
+ * JSPB instance for transitional soy proto support:
630
+ * http://goto/soy-param-migration
631
+ * @return {!Object}
632
+ */
633
+ proto.wechaty.puppet.TagContactRemoveResponse.prototype.toObject = function(opt_includeInstance) {
634
+ return proto.wechaty.puppet.TagContactRemoveResponse.toObject(opt_includeInstance, this);
635
+ };
636
+
637
+
638
+ /**
639
+ * Static version of the {@see toObject} method.
640
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
641
+ * the JSPB instance for transitional soy proto support:
642
+ * http://goto/soy-param-migration
643
+ * @param {!proto.wechaty.puppet.TagContactRemoveResponse} msg The msg instance to transform.
644
+ * @return {!Object}
645
+ * @suppress {unusedLocalVariables} f is only used for nested messages
646
+ */
647
+ proto.wechaty.puppet.TagContactRemoveResponse.toObject = function(includeInstance, msg) {
648
+ var f, obj = {
649
+
650
+ };
651
+
652
+ if (includeInstance) {
653
+ obj.$jspbMessageInstance = msg;
654
+ }
655
+ return obj;
656
+ };
657
+ }
658
+
659
+
660
+ /**
661
+ * Deserializes binary data (in protobuf wire format).
662
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
663
+ * @return {!proto.wechaty.puppet.TagContactRemoveResponse}
664
+ */
665
+ proto.wechaty.puppet.TagContactRemoveResponse.deserializeBinary = function(bytes) {
666
+ var reader = new jspb.BinaryReader(bytes);
667
+ var msg = new proto.wechaty.puppet.TagContactRemoveResponse;
668
+ return proto.wechaty.puppet.TagContactRemoveResponse.deserializeBinaryFromReader(msg, reader);
669
+ };
670
+
671
+
672
+ /**
673
+ * Deserializes binary data (in protobuf wire format) from the
674
+ * given reader into the given message object.
675
+ * @param {!proto.wechaty.puppet.TagContactRemoveResponse} msg The message object to deserialize into.
676
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
677
+ * @return {!proto.wechaty.puppet.TagContactRemoveResponse}
678
+ */
679
+ proto.wechaty.puppet.TagContactRemoveResponse.deserializeBinaryFromReader = function(msg, reader) {
680
+ while (reader.nextField()) {
681
+ if (reader.isEndGroup()) {
682
+ break;
683
+ }
684
+ var field = reader.getFieldNumber();
685
+ switch (field) {
686
+ default:
687
+ reader.skipField();
688
+ break;
689
+ }
690
+ }
691
+ return msg;
692
+ };
693
+
694
+
695
+ /**
696
+ * Serializes the message to binary data (in protobuf wire format).
697
+ * @return {!Uint8Array}
698
+ */
699
+ proto.wechaty.puppet.TagContactRemoveResponse.prototype.serializeBinary = function() {
700
+ var writer = new jspb.BinaryWriter();
701
+ proto.wechaty.puppet.TagContactRemoveResponse.serializeBinaryToWriter(this, writer);
702
+ return writer.getResultBuffer();
703
+ };
704
+
705
+
706
+ /**
707
+ * Serializes the given message to binary data (in protobuf wire
708
+ * format), writing to the given BinaryWriter.
709
+ * @param {!proto.wechaty.puppet.TagContactRemoveResponse} message
710
+ * @param {!jspb.BinaryWriter} writer
711
+ * @suppress {unusedLocalVariables} f is only used for nested messages
712
+ */
713
+ proto.wechaty.puppet.TagContactRemoveResponse.serializeBinaryToWriter = function(message, writer) {
714
+ var f = undefined;
715
+ };
716
+
717
+
718
+
719
+
720
+
721
+ if (jspb.Message.GENERATE_TO_OBJECT) {
722
+ /**
723
+ * Creates an object representation of this proto.
724
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
725
+ * Optional fields that are not set will be set to undefined.
726
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
727
+ * For the list of reserved names please see:
728
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
729
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
730
+ * JSPB instance for transitional soy proto support:
731
+ * http://goto/soy-param-migration
732
+ * @return {!Object}
733
+ */
734
+ proto.wechaty.puppet.TagContactDeleteRequest.prototype.toObject = function(opt_includeInstance) {
735
+ return proto.wechaty.puppet.TagContactDeleteRequest.toObject(opt_includeInstance, this);
736
+ };
737
+
738
+
739
+ /**
740
+ * Static version of the {@see toObject} method.
741
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
742
+ * the JSPB instance for transitional soy proto support:
743
+ * http://goto/soy-param-migration
744
+ * @param {!proto.wechaty.puppet.TagContactDeleteRequest} msg The msg instance to transform.
745
+ * @return {!Object}
746
+ * @suppress {unusedLocalVariables} f is only used for nested messages
747
+ */
748
+ proto.wechaty.puppet.TagContactDeleteRequest.toObject = function(includeInstance, msg) {
749
+ var f, obj = {
750
+ id: jspb.Message.getFieldWithDefault(msg, 1, "")
751
+ };
752
+
753
+ if (includeInstance) {
754
+ obj.$jspbMessageInstance = msg;
755
+ }
756
+ return obj;
757
+ };
758
+ }
759
+
760
+
761
+ /**
762
+ * Deserializes binary data (in protobuf wire format).
763
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
764
+ * @return {!proto.wechaty.puppet.TagContactDeleteRequest}
765
+ */
766
+ proto.wechaty.puppet.TagContactDeleteRequest.deserializeBinary = function(bytes) {
767
+ var reader = new jspb.BinaryReader(bytes);
768
+ var msg = new proto.wechaty.puppet.TagContactDeleteRequest;
769
+ return proto.wechaty.puppet.TagContactDeleteRequest.deserializeBinaryFromReader(msg, reader);
770
+ };
771
+
772
+
773
+ /**
774
+ * Deserializes binary data (in protobuf wire format) from the
775
+ * given reader into the given message object.
776
+ * @param {!proto.wechaty.puppet.TagContactDeleteRequest} msg The message object to deserialize into.
777
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
778
+ * @return {!proto.wechaty.puppet.TagContactDeleteRequest}
779
+ */
780
+ proto.wechaty.puppet.TagContactDeleteRequest.deserializeBinaryFromReader = function(msg, reader) {
781
+ while (reader.nextField()) {
782
+ if (reader.isEndGroup()) {
783
+ break;
784
+ }
785
+ var field = reader.getFieldNumber();
786
+ switch (field) {
787
+ case 1:
788
+ var value = /** @type {string} */ (reader.readString());
789
+ msg.setId(value);
790
+ break;
791
+ default:
792
+ reader.skipField();
793
+ break;
794
+ }
795
+ }
796
+ return msg;
797
+ };
798
+
799
+
800
+ /**
801
+ * Serializes the message to binary data (in protobuf wire format).
802
+ * @return {!Uint8Array}
803
+ */
804
+ proto.wechaty.puppet.TagContactDeleteRequest.prototype.serializeBinary = function() {
805
+ var writer = new jspb.BinaryWriter();
806
+ proto.wechaty.puppet.TagContactDeleteRequest.serializeBinaryToWriter(this, writer);
807
+ return writer.getResultBuffer();
808
+ };
809
+
810
+
811
+ /**
812
+ * Serializes the given message to binary data (in protobuf wire
813
+ * format), writing to the given BinaryWriter.
814
+ * @param {!proto.wechaty.puppet.TagContactDeleteRequest} message
815
+ * @param {!jspb.BinaryWriter} writer
816
+ * @suppress {unusedLocalVariables} f is only used for nested messages
817
+ */
818
+ proto.wechaty.puppet.TagContactDeleteRequest.serializeBinaryToWriter = function(message, writer) {
819
+ var f = undefined;
820
+ f = message.getId();
821
+ if (f.length > 0) {
822
+ writer.writeString(
823
+ 1,
824
+ f
825
+ );
826
+ }
827
+ };
828
+
829
+
830
+ /**
831
+ * optional string id = 1;
832
+ * @return {string}
833
+ */
834
+ proto.wechaty.puppet.TagContactDeleteRequest.prototype.getId = function() {
835
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
836
+ };
837
+
838
+
839
+ /**
840
+ * @param {string} value
841
+ * @return {!proto.wechaty.puppet.TagContactDeleteRequest} returns this
842
+ */
843
+ proto.wechaty.puppet.TagContactDeleteRequest.prototype.setId = function(value) {
844
+ return jspb.Message.setProto3StringField(this, 1, value);
845
+ };
846
+
847
+
848
+
849
+
850
+
851
+ if (jspb.Message.GENERATE_TO_OBJECT) {
852
+ /**
853
+ * Creates an object representation of this proto.
854
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
855
+ * Optional fields that are not set will be set to undefined.
856
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
857
+ * For the list of reserved names please see:
858
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
859
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
860
+ * JSPB instance for transitional soy proto support:
861
+ * http://goto/soy-param-migration
862
+ * @return {!Object}
863
+ */
864
+ proto.wechaty.puppet.TagContactDeleteResponse.prototype.toObject = function(opt_includeInstance) {
865
+ return proto.wechaty.puppet.TagContactDeleteResponse.toObject(opt_includeInstance, this);
866
+ };
867
+
868
+
869
+ /**
870
+ * Static version of the {@see toObject} method.
871
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
872
+ * the JSPB instance for transitional soy proto support:
873
+ * http://goto/soy-param-migration
874
+ * @param {!proto.wechaty.puppet.TagContactDeleteResponse} msg The msg instance to transform.
875
+ * @return {!Object}
876
+ * @suppress {unusedLocalVariables} f is only used for nested messages
877
+ */
878
+ proto.wechaty.puppet.TagContactDeleteResponse.toObject = function(includeInstance, msg) {
879
+ var f, obj = {
880
+
881
+ };
882
+
883
+ if (includeInstance) {
884
+ obj.$jspbMessageInstance = msg;
885
+ }
886
+ return obj;
887
+ };
888
+ }
889
+
890
+
891
+ /**
892
+ * Deserializes binary data (in protobuf wire format).
893
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
894
+ * @return {!proto.wechaty.puppet.TagContactDeleteResponse}
895
+ */
896
+ proto.wechaty.puppet.TagContactDeleteResponse.deserializeBinary = function(bytes) {
897
+ var reader = new jspb.BinaryReader(bytes);
898
+ var msg = new proto.wechaty.puppet.TagContactDeleteResponse;
899
+ return proto.wechaty.puppet.TagContactDeleteResponse.deserializeBinaryFromReader(msg, reader);
900
+ };
901
+
902
+
903
+ /**
904
+ * Deserializes binary data (in protobuf wire format) from the
905
+ * given reader into the given message object.
906
+ * @param {!proto.wechaty.puppet.TagContactDeleteResponse} msg The message object to deserialize into.
907
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
908
+ * @return {!proto.wechaty.puppet.TagContactDeleteResponse}
909
+ */
910
+ proto.wechaty.puppet.TagContactDeleteResponse.deserializeBinaryFromReader = function(msg, reader) {
911
+ while (reader.nextField()) {
912
+ if (reader.isEndGroup()) {
913
+ break;
914
+ }
915
+ var field = reader.getFieldNumber();
916
+ switch (field) {
917
+ default:
918
+ reader.skipField();
919
+ break;
920
+ }
921
+ }
922
+ return msg;
923
+ };
924
+
925
+
926
+ /**
927
+ * Serializes the message to binary data (in protobuf wire format).
928
+ * @return {!Uint8Array}
929
+ */
930
+ proto.wechaty.puppet.TagContactDeleteResponse.prototype.serializeBinary = function() {
931
+ var writer = new jspb.BinaryWriter();
932
+ proto.wechaty.puppet.TagContactDeleteResponse.serializeBinaryToWriter(this, writer);
933
+ return writer.getResultBuffer();
934
+ };
935
+
936
+
937
+ /**
938
+ * Serializes the given message to binary data (in protobuf wire
939
+ * format), writing to the given BinaryWriter.
940
+ * @param {!proto.wechaty.puppet.TagContactDeleteResponse} message
941
+ * @param {!jspb.BinaryWriter} writer
942
+ * @suppress {unusedLocalVariables} f is only used for nested messages
943
+ */
944
+ proto.wechaty.puppet.TagContactDeleteResponse.serializeBinaryToWriter = function(message, writer) {
945
+ var f = undefined;
946
+ };
947
+
948
+
949
+
950
+
951
+
952
+ if (jspb.Message.GENERATE_TO_OBJECT) {
953
+ /**
954
+ * Creates an object representation of this proto.
955
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
956
+ * Optional fields that are not set will be set to undefined.
957
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
958
+ * For the list of reserved names please see:
959
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
960
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
961
+ * JSPB instance for transitional soy proto support:
962
+ * http://goto/soy-param-migration
963
+ * @return {!Object}
964
+ */
965
+ proto.wechaty.puppet.TagContactListRequest.prototype.toObject = function(opt_includeInstance) {
966
+ return proto.wechaty.puppet.TagContactListRequest.toObject(opt_includeInstance, this);
967
+ };
968
+
969
+
970
+ /**
971
+ * Static version of the {@see toObject} method.
972
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
973
+ * the JSPB instance for transitional soy proto support:
974
+ * http://goto/soy-param-migration
975
+ * @param {!proto.wechaty.puppet.TagContactListRequest} msg The msg instance to transform.
976
+ * @return {!Object}
977
+ * @suppress {unusedLocalVariables} f is only used for nested messages
978
+ */
979
+ proto.wechaty.puppet.TagContactListRequest.toObject = function(includeInstance, msg) {
980
+ var f, obj = {
981
+ contactIdStringValueDeprecated: (f = msg.getContactIdStringValueDeprecated()) && google_protobuf_wrappers_pb.StringValue.toObject(includeInstance, f),
982
+ contactId: jspb.Message.getFieldWithDefault(msg, 2, "")
983
+ };
984
+
985
+ if (includeInstance) {
986
+ obj.$jspbMessageInstance = msg;
987
+ }
988
+ return obj;
989
+ };
990
+ }
991
+
992
+
993
+ /**
994
+ * Deserializes binary data (in protobuf wire format).
995
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
996
+ * @return {!proto.wechaty.puppet.TagContactListRequest}
997
+ */
998
+ proto.wechaty.puppet.TagContactListRequest.deserializeBinary = function(bytes) {
999
+ var reader = new jspb.BinaryReader(bytes);
1000
+ var msg = new proto.wechaty.puppet.TagContactListRequest;
1001
+ return proto.wechaty.puppet.TagContactListRequest.deserializeBinaryFromReader(msg, reader);
1002
+ };
1003
+
1004
+
1005
+ /**
1006
+ * Deserializes binary data (in protobuf wire format) from the
1007
+ * given reader into the given message object.
1008
+ * @param {!proto.wechaty.puppet.TagContactListRequest} msg The message object to deserialize into.
1009
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1010
+ * @return {!proto.wechaty.puppet.TagContactListRequest}
1011
+ */
1012
+ proto.wechaty.puppet.TagContactListRequest.deserializeBinaryFromReader = function(msg, reader) {
1013
+ while (reader.nextField()) {
1014
+ if (reader.isEndGroup()) {
1015
+ break;
1016
+ }
1017
+ var field = reader.getFieldNumber();
1018
+ switch (field) {
1019
+ case 1:
1020
+ var value = new google_protobuf_wrappers_pb.StringValue;
1021
+ reader.readMessage(value,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader);
1022
+ msg.setContactIdStringValueDeprecated(value);
1023
+ break;
1024
+ case 2:
1025
+ var value = /** @type {string} */ (reader.readString());
1026
+ msg.setContactId(value);
1027
+ break;
1028
+ default:
1029
+ reader.skipField();
1030
+ break;
1031
+ }
1032
+ }
1033
+ return msg;
1034
+ };
1035
+
1036
+
1037
+ /**
1038
+ * Serializes the message to binary data (in protobuf wire format).
1039
+ * @return {!Uint8Array}
1040
+ */
1041
+ proto.wechaty.puppet.TagContactListRequest.prototype.serializeBinary = function() {
1042
+ var writer = new jspb.BinaryWriter();
1043
+ proto.wechaty.puppet.TagContactListRequest.serializeBinaryToWriter(this, writer);
1044
+ return writer.getResultBuffer();
1045
+ };
1046
+
1047
+
1048
+ /**
1049
+ * Serializes the given message to binary data (in protobuf wire
1050
+ * format), writing to the given BinaryWriter.
1051
+ * @param {!proto.wechaty.puppet.TagContactListRequest} message
1052
+ * @param {!jspb.BinaryWriter} writer
1053
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1054
+ */
1055
+ proto.wechaty.puppet.TagContactListRequest.serializeBinaryToWriter = function(message, writer) {
1056
+ var f = undefined;
1057
+ f = message.getContactIdStringValueDeprecated();
1058
+ if (f != null) {
1059
+ writer.writeMessage(
1060
+ 1,
1061
+ f,
1062
+ google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter
1063
+ );
1064
+ }
1065
+ f = message.getContactId();
1066
+ if (f.length > 0) {
1067
+ writer.writeString(
1068
+ 2,
1069
+ f
1070
+ );
1071
+ }
1072
+ };
1073
+
1074
+
1075
+ /**
1076
+ * optional google.protobuf.StringValue contact_id_string_value_deprecated = 1;
1077
+ * @return {?proto.google.protobuf.StringValue}
1078
+ */
1079
+ proto.wechaty.puppet.TagContactListRequest.prototype.getContactIdStringValueDeprecated = function() {
1080
+ return /** @type{?proto.google.protobuf.StringValue} */ (
1081
+ jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.StringValue, 1));
1082
+ };
1083
+
1084
+
1085
+ /**
1086
+ * @param {?proto.google.protobuf.StringValue|undefined} value
1087
+ * @return {!proto.wechaty.puppet.TagContactListRequest} returns this
1088
+ */
1089
+ proto.wechaty.puppet.TagContactListRequest.prototype.setContactIdStringValueDeprecated = function(value) {
1090
+ return jspb.Message.setWrapperField(this, 1, value);
1091
+ };
1092
+
1093
+
1094
+ /**
1095
+ * Clears the message field making it undefined.
1096
+ * @return {!proto.wechaty.puppet.TagContactListRequest} returns this
1097
+ */
1098
+ proto.wechaty.puppet.TagContactListRequest.prototype.clearContactIdStringValueDeprecated = function() {
1099
+ return this.setContactIdStringValueDeprecated(undefined);
1100
+ };
1101
+
1102
+
1103
+ /**
1104
+ * Returns whether this field is set.
1105
+ * @return {boolean}
1106
+ */
1107
+ proto.wechaty.puppet.TagContactListRequest.prototype.hasContactIdStringValueDeprecated = function() {
1108
+ return jspb.Message.getField(this, 1) != null;
1109
+ };
1110
+
1111
+
1112
+ /**
1113
+ * optional string contact_id = 2;
1114
+ * @return {string}
1115
+ */
1116
+ proto.wechaty.puppet.TagContactListRequest.prototype.getContactId = function() {
1117
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1118
+ };
1119
+
1120
+
1121
+ /**
1122
+ * @param {string} value
1123
+ * @return {!proto.wechaty.puppet.TagContactListRequest} returns this
1124
+ */
1125
+ proto.wechaty.puppet.TagContactListRequest.prototype.setContactId = function(value) {
1126
+ return jspb.Message.setProto3StringField(this, 2, value);
1127
+ };
1128
+
1129
+
1130
+
1131
+ /**
1132
+ * List of repeated fields within this message type.
1133
+ * @private {!Array<number>}
1134
+ * @const
1135
+ */
1136
+ proto.wechaty.puppet.TagContactListResponse.repeatedFields_ = [1];
1137
+
1138
+
1139
+
1140
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1141
+ /**
1142
+ * Creates an object representation of this proto.
1143
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1144
+ * Optional fields that are not set will be set to undefined.
1145
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1146
+ * For the list of reserved names please see:
1147
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1148
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1149
+ * JSPB instance for transitional soy proto support:
1150
+ * http://goto/soy-param-migration
1151
+ * @return {!Object}
1152
+ */
1153
+ proto.wechaty.puppet.TagContactListResponse.prototype.toObject = function(opt_includeInstance) {
1154
+ return proto.wechaty.puppet.TagContactListResponse.toObject(opt_includeInstance, this);
1155
+ };
1156
+
1157
+
1158
+ /**
1159
+ * Static version of the {@see toObject} method.
1160
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1161
+ * the JSPB instance for transitional soy proto support:
1162
+ * http://goto/soy-param-migration
1163
+ * @param {!proto.wechaty.puppet.TagContactListResponse} msg The msg instance to transform.
1164
+ * @return {!Object}
1165
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1166
+ */
1167
+ proto.wechaty.puppet.TagContactListResponse.toObject = function(includeInstance, msg) {
1168
+ var f, obj = {
1169
+ idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
1170
+ };
1171
+
1172
+ if (includeInstance) {
1173
+ obj.$jspbMessageInstance = msg;
1174
+ }
1175
+ return obj;
1176
+ };
1177
+ }
1178
+
1179
+
1180
+ /**
1181
+ * Deserializes binary data (in protobuf wire format).
1182
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1183
+ * @return {!proto.wechaty.puppet.TagContactListResponse}
1184
+ */
1185
+ proto.wechaty.puppet.TagContactListResponse.deserializeBinary = function(bytes) {
1186
+ var reader = new jspb.BinaryReader(bytes);
1187
+ var msg = new proto.wechaty.puppet.TagContactListResponse;
1188
+ return proto.wechaty.puppet.TagContactListResponse.deserializeBinaryFromReader(msg, reader);
1189
+ };
1190
+
1191
+
1192
+ /**
1193
+ * Deserializes binary data (in protobuf wire format) from the
1194
+ * given reader into the given message object.
1195
+ * @param {!proto.wechaty.puppet.TagContactListResponse} msg The message object to deserialize into.
1196
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1197
+ * @return {!proto.wechaty.puppet.TagContactListResponse}
1198
+ */
1199
+ proto.wechaty.puppet.TagContactListResponse.deserializeBinaryFromReader = function(msg, reader) {
1200
+ while (reader.nextField()) {
1201
+ if (reader.isEndGroup()) {
1202
+ break;
1203
+ }
1204
+ var field = reader.getFieldNumber();
1205
+ switch (field) {
1206
+ case 1:
1207
+ var value = /** @type {string} */ (reader.readString());
1208
+ msg.addIds(value);
1209
+ break;
1210
+ default:
1211
+ reader.skipField();
1212
+ break;
1213
+ }
1214
+ }
1215
+ return msg;
1216
+ };
1217
+
1218
+
1219
+ /**
1220
+ * Serializes the message to binary data (in protobuf wire format).
1221
+ * @return {!Uint8Array}
1222
+ */
1223
+ proto.wechaty.puppet.TagContactListResponse.prototype.serializeBinary = function() {
1224
+ var writer = new jspb.BinaryWriter();
1225
+ proto.wechaty.puppet.TagContactListResponse.serializeBinaryToWriter(this, writer);
1226
+ return writer.getResultBuffer();
1227
+ };
1228
+
1229
+
1230
+ /**
1231
+ * Serializes the given message to binary data (in protobuf wire
1232
+ * format), writing to the given BinaryWriter.
1233
+ * @param {!proto.wechaty.puppet.TagContactListResponse} message
1234
+ * @param {!jspb.BinaryWriter} writer
1235
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1236
+ */
1237
+ proto.wechaty.puppet.TagContactListResponse.serializeBinaryToWriter = function(message, writer) {
1238
+ var f = undefined;
1239
+ f = message.getIdsList();
1240
+ if (f.length > 0) {
1241
+ writer.writeRepeatedString(
1242
+ 1,
1243
+ f
1244
+ );
1245
+ }
1246
+ };
1247
+
1248
+
1249
+ /**
1250
+ * repeated string ids = 1;
1251
+ * @return {!Array<string>}
1252
+ */
1253
+ proto.wechaty.puppet.TagContactListResponse.prototype.getIdsList = function() {
1254
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
1255
+ };
1256
+
1257
+
1258
+ /**
1259
+ * @param {!Array<string>} value
1260
+ * @return {!proto.wechaty.puppet.TagContactListResponse} returns this
1261
+ */
1262
+ proto.wechaty.puppet.TagContactListResponse.prototype.setIdsList = function(value) {
1263
+ return jspb.Message.setField(this, 1, value || []);
1264
+ };
1265
+
1266
+
1267
+ /**
1268
+ * @param {string} value
1269
+ * @param {number=} opt_index
1270
+ * @return {!proto.wechaty.puppet.TagContactListResponse} returns this
1271
+ */
1272
+ proto.wechaty.puppet.TagContactListResponse.prototype.addIds = function(value, opt_index) {
1273
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
1274
+ };
1275
+
1276
+
1277
+ /**
1278
+ * Clears the list making it empty but non-null.
1279
+ * @return {!proto.wechaty.puppet.TagContactListResponse} returns this
1280
+ */
1281
+ proto.wechaty.puppet.TagContactListResponse.prototype.clearIdsList = function() {
1282
+ return this.setIdsList([]);
1283
+ };
1284
+
1285
+
1286
+ goog.object.extend(exports, proto.wechaty.puppet);