@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,2386 @@
1
+ swagger: '2.0'
2
+ info:
3
+ title: Wechaty Puppet Service OpenAPI Specification
4
+ description: >-
5
+ Wechaty is a Conversational RPA SDK for chatbot makers. With only 6 lines of
6
+ code, you can create a bot on the most popular IMs like WeChat, Whatsapp,
7
+ WeCom, Gitter, etc.
8
+
9
+
10
+ Wechaty Puppet Service is the RESTful API for Wechaty API, which is build on
11
+ top of the Wechaty Puppet Abstraction and the gRPC proto definition.
12
+ version: 1.0.0
13
+ contact:
14
+ name: Wechaty
15
+ url: 'https://github.com/wechaty/openapi'
16
+ email: wechaty@chatie.io
17
+ license:
18
+ name: Apache-2.0
19
+ url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
20
+ tags:
21
+ - name: Puppet
22
+ consumes:
23
+ - application/json
24
+ produces:
25
+ - application/json
26
+ paths:
27
+ /contacts:
28
+ get:
29
+ summary: >-
30
+ *
31
+
32
+ Huan(202002): consider changing response to a stream in the future for
33
+ better performance
34
+ operationId: Puppet_ContactList
35
+ responses:
36
+ '200':
37
+ description: A successful response.
38
+ schema:
39
+ $ref: '#/definitions/puppetContactListResponse'
40
+ default:
41
+ description: An unexpected error response.
42
+ schema:
43
+ $ref: '#/definitions/rpcStatus'
44
+ tags:
45
+ - Puppet
46
+ '/contacts/-/tags/{id}':
47
+ delete:
48
+ summary: |-
49
+ *
50
+ Operate Sub-Collections
51
+ https://cloud.google.com/apis/design/design_patterns#list_sub-collections
52
+ operationId: Puppet_TagContactDelete
53
+ responses:
54
+ '200':
55
+ description: A successful response.
56
+ schema:
57
+ $ref: '#/definitions/puppetTagContactDeleteResponse'
58
+ default:
59
+ description: An unexpected error response.
60
+ schema:
61
+ $ref: '#/definitions/rpcStatus'
62
+ parameters:
63
+ - name: id
64
+ in: path
65
+ required: true
66
+ type: string
67
+ tags:
68
+ - Puppet
69
+ '/contacts/self/name/{name}':
70
+ put:
71
+ operationId: Puppet_ContactSelfName
72
+ responses:
73
+ '200':
74
+ description: A successful response.
75
+ schema:
76
+ $ref: '#/definitions/puppetContactSelfNameResponse'
77
+ default:
78
+ description: An unexpected error response.
79
+ schema:
80
+ $ref: '#/definitions/rpcStatus'
81
+ parameters:
82
+ - name: name
83
+ in: path
84
+ required: true
85
+ type: string
86
+ tags:
87
+ - Puppet
88
+ /contacts/self/qrcode:
89
+ get:
90
+ summary: '*'
91
+ description: Contact Self
92
+ operationId: Puppet_ContactSelfQRCode
93
+ responses:
94
+ '200':
95
+ description: A successful response.
96
+ schema:
97
+ $ref: '#/definitions/puppetContactSelfQRCodeResponse'
98
+ default:
99
+ description: An unexpected error response.
100
+ schema:
101
+ $ref: '#/definitions/rpcStatus'
102
+ tags:
103
+ - Puppet
104
+ /contacts/self/signature:
105
+ put:
106
+ operationId: Puppet_ContactSelfSignature
107
+ responses:
108
+ '200':
109
+ description: A successful response.
110
+ schema:
111
+ $ref: '#/definitions/puppetContactSelfSignatureResponse'
112
+ default:
113
+ description: An unexpected error response.
114
+ schema:
115
+ $ref: '#/definitions/rpcStatus'
116
+ parameters:
117
+ - name: body
118
+ in: body
119
+ required: true
120
+ schema:
121
+ $ref: '#/definitions/puppetContactSelfSignatureRequest'
122
+ tags:
123
+ - Puppet
124
+ '/contacts/{contactId}/corporation-remark':
125
+ put:
126
+ operationId: Puppet_ContactCorporationRemark
127
+ responses:
128
+ '200':
129
+ description: A successful response.
130
+ schema:
131
+ $ref: '#/definitions/puppetContactCorporationRemarkResponse'
132
+ default:
133
+ description: An unexpected error response.
134
+ schema:
135
+ $ref: '#/definitions/rpcStatus'
136
+ parameters:
137
+ - name: contactId
138
+ in: path
139
+ required: true
140
+ type: string
141
+ - name: body
142
+ in: body
143
+ required: true
144
+ schema:
145
+ type: object
146
+ properties:
147
+ corporationRemarkStringValueDeprecated:
148
+ type: string
149
+ corporationRemark:
150
+ type: string
151
+ tags:
152
+ - Puppet
153
+ '/contacts/{contactId}/description':
154
+ put:
155
+ operationId: Puppet_ContactDescription
156
+ responses:
157
+ '200':
158
+ description: A successful response.
159
+ schema:
160
+ $ref: '#/definitions/puppetContactDescriptionResponse'
161
+ default:
162
+ description: An unexpected error response.
163
+ schema:
164
+ $ref: '#/definitions/rpcStatus'
165
+ parameters:
166
+ - name: contactId
167
+ in: path
168
+ required: true
169
+ type: string
170
+ - name: body
171
+ in: body
172
+ required: true
173
+ schema:
174
+ type: object
175
+ properties:
176
+ descriptionStringValueDeprecated:
177
+ type: string
178
+ description:
179
+ type: string
180
+ tags:
181
+ - Puppet
182
+ '/contacts/{contactId}/phone':
183
+ put:
184
+ operationId: Puppet_ContactPhone
185
+ responses:
186
+ '200':
187
+ description: A successful response.
188
+ schema:
189
+ $ref: '#/definitions/puppetContactPhoneResponse'
190
+ default:
191
+ description: An unexpected error response.
192
+ schema:
193
+ $ref: '#/definitions/rpcStatus'
194
+ parameters:
195
+ - name: contactId
196
+ in: path
197
+ required: true
198
+ type: string
199
+ - name: body
200
+ in: body
201
+ required: true
202
+ schema:
203
+ type: object
204
+ properties:
205
+ phones:
206
+ type: array
207
+ items:
208
+ type: string
209
+ tags:
210
+ - Puppet
211
+ '/contacts/{contactId}/tags':
212
+ get:
213
+ operationId: Puppet_TagContactList
214
+ responses:
215
+ '200':
216
+ description: A successful response.
217
+ schema:
218
+ $ref: '#/definitions/puppetTagContactListResponse'
219
+ default:
220
+ description: An unexpected error response.
221
+ schema:
222
+ $ref: '#/definitions/rpcStatus'
223
+ parameters:
224
+ - name: contactId
225
+ in: path
226
+ required: true
227
+ type: string
228
+ - name: contactIdStringValueDeprecated
229
+ description: |-
230
+ @deprecated:
231
+ Huan(202109): Wrapper types must not be used going forward.
232
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
233
+ in: query
234
+ required: false
235
+ type: string
236
+ tags:
237
+ - Puppet
238
+ '/contacts/{contactId}/tags/{id}':
239
+ delete:
240
+ operationId: Puppet_TagContactRemove
241
+ responses:
242
+ '200':
243
+ description: A successful response.
244
+ schema:
245
+ $ref: '#/definitions/puppetTagContactRemoveResponse'
246
+ default:
247
+ description: An unexpected error response.
248
+ schema:
249
+ $ref: '#/definitions/rpcStatus'
250
+ parameters:
251
+ - name: contactId
252
+ in: path
253
+ required: true
254
+ type: string
255
+ - name: id
256
+ in: path
257
+ required: true
258
+ type: string
259
+ tags:
260
+ - Puppet
261
+ put:
262
+ summary: '*'
263
+ description: Tag
264
+ operationId: Puppet_TagContactAdd
265
+ responses:
266
+ '200':
267
+ description: A successful response.
268
+ schema:
269
+ $ref: '#/definitions/puppetTagContactAddResponse'
270
+ default:
271
+ description: An unexpected error response.
272
+ schema:
273
+ $ref: '#/definitions/rpcStatus'
274
+ parameters:
275
+ - name: contactId
276
+ in: path
277
+ required: true
278
+ type: string
279
+ - name: id
280
+ in: path
281
+ required: true
282
+ type: string
283
+ tags:
284
+ - Puppet
285
+ '/contacts/{id}':
286
+ get:
287
+ summary: Get a contact payload
288
+ description: Contact
289
+ operationId: contactPayload
290
+ responses:
291
+ '200':
292
+ description: Contact payload
293
+ schema:
294
+ $ref: '#/definitions/puppetContactPayloadResponse'
295
+ default:
296
+ description: An unexpected error response.
297
+ schema:
298
+ $ref: '#/definitions/rpcStatus'
299
+ parameters:
300
+ - name: id
301
+ in: path
302
+ required: true
303
+ type: string
304
+ tags:
305
+ - contact
306
+ '/contacts/{id}/alias':
307
+ put:
308
+ operationId: Puppet_ContactAlias
309
+ responses:
310
+ '200':
311
+ description: A successful response.
312
+ schema:
313
+ $ref: '#/definitions/puppetContactAliasResponse'
314
+ default:
315
+ description: An unexpected error response.
316
+ schema:
317
+ $ref: '#/definitions/rpcStatus'
318
+ parameters:
319
+ - name: id
320
+ in: path
321
+ required: true
322
+ type: string
323
+ - name: body
324
+ in: body
325
+ required: true
326
+ schema:
327
+ type: object
328
+ properties:
329
+ aliasStringValueDeprecated:
330
+ type: string
331
+ title: nullable
332
+ alias:
333
+ type: string
334
+ tags:
335
+ - Puppet
336
+ '/contacts/{id}/avatar':
337
+ get:
338
+ operationId: Puppet_ContactAvatar
339
+ responses:
340
+ '200':
341
+ description: A successful response.
342
+ schema:
343
+ $ref: '#/definitions/puppetContactAvatarResponse'
344
+ default:
345
+ description: An unexpected error response.
346
+ schema:
347
+ $ref: '#/definitions/rpcStatus'
348
+ parameters:
349
+ - name: id
350
+ in: path
351
+ required: true
352
+ type: string
353
+ - name: fileboxStringValueDeprecated
354
+ in: query
355
+ required: false
356
+ type: string
357
+ - name: fileBox
358
+ in: query
359
+ required: false
360
+ type: string
361
+ tags:
362
+ - Puppet
363
+ '/contacts/{id}/dirty/{type}':
364
+ put:
365
+ operationId: Puppet_DirtyPayload2
366
+ responses:
367
+ '200':
368
+ description: A successful response.
369
+ schema:
370
+ $ref: '#/definitions/puppetDirtyPayloadResponse'
371
+ default:
372
+ description: An unexpected error response.
373
+ schema:
374
+ $ref: '#/definitions/rpcStatus'
375
+ parameters:
376
+ - name: id
377
+ in: path
378
+ required: true
379
+ type: string
380
+ - name: type
381
+ in: path
382
+ required: true
383
+ type: string
384
+ enum:
385
+ - PAYLOAD_TYPE_UNSPECIFIED
386
+ - PAYLOAD_TYPE_MESSAGE
387
+ - PAYLOAD_TYPE_CONTACT
388
+ - PAYLOAD_TYPE_ROOM
389
+ - PAYLOAD_TYPE_ROOM_MEMBER
390
+ - PAYLOAD_TYPE_FRIENDSHIP
391
+ pattern: PAYLOADTYPECONTACT
392
+ tags:
393
+ - Puppet
394
+ '/conversations/{conversationId}/contact':
395
+ post:
396
+ operationId: Puppet_MessageSendContact
397
+ responses:
398
+ '200':
399
+ description: A successful response.
400
+ schema:
401
+ $ref: '#/definitions/puppetMessageSendContactResponse'
402
+ default:
403
+ description: An unexpected error response.
404
+ schema:
405
+ $ref: '#/definitions/rpcStatus'
406
+ parameters:
407
+ - name: conversationId
408
+ in: path
409
+ required: true
410
+ type: string
411
+ - name: body
412
+ in: body
413
+ required: true
414
+ schema:
415
+ type: object
416
+ properties:
417
+ contactId:
418
+ type: string
419
+ tags:
420
+ - Puppet
421
+ '/conversations/{conversationId}/forward/{messageId}':
422
+ post:
423
+ operationId: Puppet_MessageForward2
424
+ responses:
425
+ '200':
426
+ description: A successful response.
427
+ schema:
428
+ $ref: '#/definitions/puppetMessageForwardResponse'
429
+ default:
430
+ description: An unexpected error response.
431
+ schema:
432
+ $ref: '#/definitions/rpcStatus'
433
+ parameters:
434
+ - name: conversationId
435
+ in: path
436
+ required: true
437
+ type: string
438
+ - name: messageId
439
+ in: path
440
+ required: true
441
+ type: string
442
+ tags:
443
+ - Puppet
444
+ '/conversations/{conversationId}/location':
445
+ post:
446
+ operationId: Puppet_MessageSendLocation
447
+ responses:
448
+ '200':
449
+ description: A successful response.
450
+ schema:
451
+ $ref: '#/definitions/puppetMessageSendLocationResponse'
452
+ default:
453
+ description: An unexpected error response.
454
+ schema:
455
+ $ref: '#/definitions/rpcStatus'
456
+ parameters:
457
+ - name: conversationId
458
+ in: path
459
+ required: true
460
+ type: string
461
+ - name: body
462
+ in: body
463
+ required: true
464
+ schema:
465
+ type: object
466
+ properties:
467
+ location:
468
+ $ref: '#/definitions/puppetLocationPayload'
469
+ tags:
470
+ - Puppet
471
+ '/conversations/{conversationId}/mini-program':
472
+ post:
473
+ operationId: Puppet_MessageSendMiniProgram
474
+ responses:
475
+ '200':
476
+ description: A successful response.
477
+ schema:
478
+ $ref: '#/definitions/puppetMessageSendMiniProgramResponse'
479
+ default:
480
+ description: An unexpected error response.
481
+ schema:
482
+ $ref: '#/definitions/rpcStatus'
483
+ parameters:
484
+ - name: conversationId
485
+ in: path
486
+ required: true
487
+ type: string
488
+ - name: body
489
+ in: body
490
+ required: true
491
+ schema:
492
+ type: object
493
+ properties:
494
+ miniProgramDeprecated:
495
+ type: string
496
+ title: >-
497
+ *
498
+
499
+ Huan(202110): We should use payload instead of JSON.stringify
500
+ string
501
+ The compatible code will be removed after Dec 31, 2022
502
+ miniProgram:
503
+ $ref: '#/definitions/puppetMiniProgramPayload'
504
+ tags:
505
+ - Puppet
506
+ '/conversations/{conversationId}/text':
507
+ post:
508
+ operationId: Puppet_MessageSendText
509
+ responses:
510
+ '200':
511
+ description: A successful response.
512
+ schema:
513
+ $ref: '#/definitions/puppetMessageSendTextResponse'
514
+ default:
515
+ description: An unexpected error response.
516
+ schema:
517
+ $ref: '#/definitions/rpcStatus'
518
+ parameters:
519
+ - name: conversationId
520
+ in: path
521
+ required: true
522
+ type: string
523
+ - name: body
524
+ in: body
525
+ required: true
526
+ schema:
527
+ type: object
528
+ properties:
529
+ text:
530
+ type: string
531
+ mentionalIds:
532
+ type: array
533
+ items:
534
+ type: string
535
+ title: |-
536
+ Huan(202011) FIXME: Issue #99
537
+ https://github.com/wechaty/grpc/issues/99
538
+ tags:
539
+ - Puppet
540
+ '/conversations/{conversationId}/url-link':
541
+ post:
542
+ operationId: Puppet_MessageSendUrl
543
+ responses:
544
+ '200':
545
+ description: A successful response.
546
+ schema:
547
+ $ref: '#/definitions/puppetMessageSendUrlResponse'
548
+ default:
549
+ description: An unexpected error response.
550
+ schema:
551
+ $ref: '#/definitions/rpcStatus'
552
+ parameters:
553
+ - name: conversationId
554
+ in: path
555
+ required: true
556
+ type: string
557
+ - name: body
558
+ in: body
559
+ required: true
560
+ schema:
561
+ type: object
562
+ properties:
563
+ urlLinkDeprecated:
564
+ type: string
565
+ title: >-
566
+ *
567
+
568
+ Huan(202110): We should use payload instead of JSON.stringify
569
+ string
570
+ The compatible code will be removed after Dec 31, 2022
571
+ urlLink:
572
+ $ref: '#/definitions/puppetUrlLinkPayload'
573
+ tags:
574
+ - Puppet
575
+ /ding:
576
+ post:
577
+ operationId: Puppet_Ding
578
+ responses:
579
+ '200':
580
+ description: A successful response.
581
+ schema:
582
+ $ref: '#/definitions/puppetDingResponse'
583
+ default:
584
+ description: An unexpected error response.
585
+ schema:
586
+ $ref: '#/definitions/rpcStatus'
587
+ parameters:
588
+ - name: body
589
+ in: body
590
+ required: true
591
+ schema:
592
+ $ref: '#/definitions/puppetDingRequest'
593
+ tags:
594
+ - Puppet
595
+ '/download/{id}':
596
+ get:
597
+ summary: |-
598
+ *
599
+ File/Blob download & upload
600
+ operationId: Puppet_Download
601
+ responses:
602
+ '200':
603
+ description: A successful response.(streaming responses)
604
+ schema:
605
+ type: object
606
+ properties:
607
+ result:
608
+ $ref: '#/definitions/puppetDownloadResponse'
609
+ error:
610
+ $ref: '#/definitions/rpcStatus'
611
+ title: Stream result of puppetDownloadResponse
612
+ default:
613
+ description: An unexpected error response.
614
+ schema:
615
+ $ref: '#/definitions/rpcStatus'
616
+ parameters:
617
+ - name: id
618
+ in: path
619
+ required: true
620
+ type: string
621
+ tags:
622
+ - Puppet
623
+ /events:
624
+ get:
625
+ summary: '*'
626
+ description: Event - Server Stream
627
+ operationId: Puppet_Event
628
+ responses:
629
+ '200':
630
+ description: A successful response.(streaming responses)
631
+ schema:
632
+ type: object
633
+ properties:
634
+ result:
635
+ $ref: '#/definitions/puppetEventResponse'
636
+ error:
637
+ $ref: '#/definitions/rpcStatus'
638
+ title: Stream result of puppetEventResponse
639
+ default:
640
+ description: An unexpected error response.
641
+ schema:
642
+ $ref: '#/definitions/rpcStatus'
643
+ tags:
644
+ - Puppet
645
+ '/friendship/accept/{id}':
646
+ put:
647
+ operationId: Puppet_FriendshipAccept
648
+ responses:
649
+ '200':
650
+ description: A successful response.
651
+ schema:
652
+ $ref: '#/definitions/puppetFriendshipAcceptResponse'
653
+ default:
654
+ description: An unexpected error response.
655
+ schema:
656
+ $ref: '#/definitions/rpcStatus'
657
+ parameters:
658
+ - name: id
659
+ in: path
660
+ required: true
661
+ type: string
662
+ tags:
663
+ - Puppet
664
+ '/friendship/add/{contactId}':
665
+ put:
666
+ operationId: Puppet_FriendshipAdd
667
+ responses:
668
+ '200':
669
+ description: A successful response.
670
+ schema:
671
+ $ref: '#/definitions/puppetFriendshipAddResponse'
672
+ default:
673
+ description: An unexpected error response.
674
+ schema:
675
+ $ref: '#/definitions/rpcStatus'
676
+ parameters:
677
+ - name: contactId
678
+ in: path
679
+ required: true
680
+ type: string
681
+ - name: body
682
+ in: body
683
+ required: true
684
+ schema:
685
+ type: object
686
+ properties:
687
+ hello:
688
+ type: string
689
+ sourceRoomIdStringValueDeprecated:
690
+ type: string
691
+ sourceContactIdStringValueDeprecated:
692
+ type: string
693
+ referrer:
694
+ $ref: '#/definitions/puppetReferrer'
695
+ tags:
696
+ - Puppet
697
+ '/friendship/search/handle/{weixin}':
698
+ get:
699
+ operationId: Puppet_FriendshipSearchHandle
700
+ responses:
701
+ '200':
702
+ description: A successful response.
703
+ schema:
704
+ $ref: '#/definitions/puppetFriendshipSearchHandleResponse'
705
+ default:
706
+ description: An unexpected error response.
707
+ schema:
708
+ $ref: '#/definitions/rpcStatus'
709
+ parameters:
710
+ - name: weixin
711
+ description: >-
712
+ *
713
+
714
+ Huan(202203): in gRPC, we can freely rename the field name as long
715
+ as the number keep consistent.
716
+ so we can just rename `weixin` to `handle` here.
717
+
718
+ (Huan(20220329): use `weixin` for now, until we upgrade to v2.0
719
+ the `wechaty-grpc@1.0.0` will use the latest v1.x automatically when running `npm install`
720
+ which will causing a breaking change.
721
+ @link https://github.com/wechaty/getting-started/issues/254
722
+
723
+ TODO: rename `weixin` to `handle` in v2.0.0
724
+ in: path
725
+ required: true
726
+ type: string
727
+ tags:
728
+ - Puppet
729
+ '/friendship/search/phone/{phone}':
730
+ get:
731
+ operationId: Puppet_FriendshipSearchPhone
732
+ responses:
733
+ '200':
734
+ description: A successful response.
735
+ schema:
736
+ $ref: '#/definitions/puppetFriendshipSearchPhoneResponse'
737
+ default:
738
+ description: An unexpected error response.
739
+ schema:
740
+ $ref: '#/definitions/rpcStatus'
741
+ parameters:
742
+ - name: phone
743
+ in: path
744
+ required: true
745
+ type: string
746
+ tags:
747
+ - Puppet
748
+ '/friendship/{id}':
749
+ get:
750
+ summary: '*'
751
+ description: Friendship
752
+ operationId: Puppet_FriendshipPayload
753
+ responses:
754
+ '200':
755
+ description: A successful response.
756
+ schema:
757
+ $ref: '#/definitions/puppetFriendshipPayloadResponse'
758
+ default:
759
+ description: An unexpected error response.
760
+ schema:
761
+ $ref: '#/definitions/rpcStatus'
762
+ parameters:
763
+ - name: id
764
+ in: path
765
+ required: true
766
+ type: string
767
+ - name: payloadStringValueDeprecated
768
+ description: |-
769
+ *
770
+ Huan(202003):
771
+ What's the reason we need belowing payload?
772
+ We should remove it if possible.
773
+ in: query
774
+ required: false
775
+ type: string
776
+ - name: payload
777
+ in: query
778
+ required: false
779
+ type: string
780
+ tags:
781
+ - Puppet
782
+ '/friendships/{id}/dirty/{type}':
783
+ put:
784
+ operationId: Puppet_DirtyPayload5
785
+ responses:
786
+ '200':
787
+ description: A successful response.
788
+ schema:
789
+ $ref: '#/definitions/puppetDirtyPayloadResponse'
790
+ default:
791
+ description: An unexpected error response.
792
+ schema:
793
+ $ref: '#/definitions/rpcStatus'
794
+ parameters:
795
+ - name: id
796
+ in: path
797
+ required: true
798
+ type: string
799
+ - name: type
800
+ in: path
801
+ required: true
802
+ type: string
803
+ enum:
804
+ - PAYLOAD_TYPE_UNSPECIFIED
805
+ - PAYLOAD_TYPE_MESSAGE
806
+ - PAYLOAD_TYPE_CONTACT
807
+ - PAYLOAD_TYPE_ROOM
808
+ - PAYLOAD_TYPE_ROOM_MEMBER
809
+ - PAYLOAD_TYPE_FRIENDSHIP
810
+ pattern: PAYLOADTYPEFRIENDSHIP
811
+ tags:
812
+ - Puppet
813
+ /logout:
814
+ put:
815
+ operationId: Puppet_Logout
816
+ responses:
817
+ '200':
818
+ description: A successful response.
819
+ schema:
820
+ $ref: '#/definitions/puppetLogoutResponse'
821
+ default:
822
+ description: An unexpected error response.
823
+ schema:
824
+ $ref: '#/definitions/rpcStatus'
825
+ tags:
826
+ - Puppet
827
+ '/message/{id}':
828
+ get:
829
+ operationId: Puppet_MessagePayload
830
+ responses:
831
+ '200':
832
+ description: A successful response.
833
+ schema:
834
+ $ref: '#/definitions/puppetMessagePayloadResponse'
835
+ default:
836
+ description: An unexpected error response.
837
+ schema:
838
+ $ref: '#/definitions/rpcStatus'
839
+ parameters:
840
+ - name: id
841
+ in: path
842
+ required: true
843
+ type: string
844
+ tags:
845
+ - Puppet
846
+ '/message/{id}/contact':
847
+ get:
848
+ operationId: Puppet_MessageContact
849
+ responses:
850
+ '200':
851
+ description: A successful response.
852
+ schema:
853
+ $ref: '#/definitions/puppetMessageContactResponse'
854
+ default:
855
+ description: An unexpected error response.
856
+ schema:
857
+ $ref: '#/definitions/rpcStatus'
858
+ parameters:
859
+ - name: id
860
+ in: path
861
+ required: true
862
+ type: string
863
+ tags:
864
+ - Puppet
865
+ '/message/{id}/dirty/{type}':
866
+ put:
867
+ operationId: Puppet_DirtyPayload
868
+ responses:
869
+ '200':
870
+ description: A successful response.
871
+ schema:
872
+ $ref: '#/definitions/puppetDirtyPayloadResponse'
873
+ default:
874
+ description: An unexpected error response.
875
+ schema:
876
+ $ref: '#/definitions/rpcStatus'
877
+ parameters:
878
+ - name: id
879
+ in: path
880
+ required: true
881
+ type: string
882
+ - name: type
883
+ in: path
884
+ required: true
885
+ type: string
886
+ enum:
887
+ - PAYLOAD_TYPE_UNSPECIFIED
888
+ - PAYLOAD_TYPE_MESSAGE
889
+ - PAYLOAD_TYPE_CONTACT
890
+ - PAYLOAD_TYPE_ROOM
891
+ - PAYLOAD_TYPE_ROOM_MEMBER
892
+ - PAYLOAD_TYPE_FRIENDSHIP
893
+ pattern: PAYLOADTYPEMESSAGE
894
+ tags:
895
+ - Puppet
896
+ '/message/{id}/location':
897
+ get:
898
+ operationId: Puppet_MessageLocation
899
+ responses:
900
+ '200':
901
+ description: A successful response.
902
+ schema:
903
+ $ref: '#/definitions/puppetMessageLocationResponse'
904
+ default:
905
+ description: An unexpected error response.
906
+ schema:
907
+ $ref: '#/definitions/rpcStatus'
908
+ parameters:
909
+ - name: id
910
+ in: path
911
+ required: true
912
+ type: string
913
+ tags:
914
+ - Puppet
915
+ '/message/{id}/mini-program':
916
+ get:
917
+ operationId: Puppet_MessageMiniProgram
918
+ responses:
919
+ '200':
920
+ description: A successful response.
921
+ schema:
922
+ $ref: '#/definitions/puppetMessageMiniProgramResponse'
923
+ default:
924
+ description: An unexpected error response.
925
+ schema:
926
+ $ref: '#/definitions/rpcStatus'
927
+ parameters:
928
+ - name: id
929
+ in: path
930
+ required: true
931
+ type: string
932
+ tags:
933
+ - Puppet
934
+ '/message/{id}/recall':
935
+ put:
936
+ operationId: Puppet_MessageRecall
937
+ responses:
938
+ '200':
939
+ description: A successful response.
940
+ schema:
941
+ $ref: '#/definitions/puppetMessageRecallResponse'
942
+ default:
943
+ description: An unexpected error response.
944
+ schema:
945
+ $ref: '#/definitions/rpcStatus'
946
+ parameters:
947
+ - name: id
948
+ in: path
949
+ required: true
950
+ type: string
951
+ tags:
952
+ - Puppet
953
+ '/message/{id}/url-link':
954
+ get:
955
+ operationId: Puppet_MessageUrl
956
+ responses:
957
+ '200':
958
+ description: A successful response.
959
+ schema:
960
+ $ref: '#/definitions/puppetMessageUrlResponse'
961
+ default:
962
+ description: An unexpected error response.
963
+ schema:
964
+ $ref: '#/definitions/rpcStatus'
965
+ parameters:
966
+ - name: id
967
+ in: path
968
+ required: true
969
+ type: string
970
+ tags:
971
+ - Puppet
972
+ '/messages/{messageId}/forward/{conversationId}':
973
+ post:
974
+ operationId: Puppet_MessageForward
975
+ responses:
976
+ '200':
977
+ description: A successful response.
978
+ schema:
979
+ $ref: '#/definitions/puppetMessageForwardResponse'
980
+ default:
981
+ description: An unexpected error response.
982
+ schema:
983
+ $ref: '#/definitions/rpcStatus'
984
+ parameters:
985
+ - name: messageId
986
+ in: path
987
+ required: true
988
+ type: string
989
+ - name: conversationId
990
+ in: path
991
+ required: true
992
+ type: string
993
+ tags:
994
+ - Puppet
995
+ '/room-invitations/{id}':
996
+ get:
997
+ summary: '*'
998
+ description: Room Invitation
999
+ operationId: Puppet_RoomInvitationPayload
1000
+ responses:
1001
+ '200':
1002
+ description: A successful response.
1003
+ schema:
1004
+ $ref: '#/definitions/puppetRoomInvitationPayloadResponse'
1005
+ default:
1006
+ description: An unexpected error response.
1007
+ schema:
1008
+ $ref: '#/definitions/rpcStatus'
1009
+ parameters:
1010
+ - name: id
1011
+ in: path
1012
+ required: true
1013
+ type: string
1014
+ - name: payloadStringValueDeprecated
1015
+ description: |-
1016
+ *
1017
+ Huan(202002): `payload` should be removed.
1018
+ The puppet server should take the responsibilities
1019
+ for storing the unaccepted friend-request payload.
1020
+
1021
+ @deprecated: use payload instead.
1022
+ Huan(202109): Wrapper types must not be used going forward.
1023
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
1024
+ in: query
1025
+ required: false
1026
+ type: string
1027
+ - name: payload
1028
+ in: query
1029
+ required: false
1030
+ type: string
1031
+ tags:
1032
+ - Puppet
1033
+ '/room-invitations/{id}/accept':
1034
+ put:
1035
+ operationId: Puppet_RoomInvitationAccept
1036
+ responses:
1037
+ '200':
1038
+ description: A successful response.
1039
+ schema:
1040
+ $ref: '#/definitions/puppetRoomInvitationAcceptResponse'
1041
+ default:
1042
+ description: An unexpected error response.
1043
+ schema:
1044
+ $ref: '#/definitions/rpcStatus'
1045
+ parameters:
1046
+ - name: id
1047
+ in: path
1048
+ required: true
1049
+ type: string
1050
+ tags:
1051
+ - Puppet
1052
+ /rooms:
1053
+ get:
1054
+ operationId: Puppet_RoomList
1055
+ responses:
1056
+ '200':
1057
+ description: A successful response.
1058
+ schema:
1059
+ $ref: '#/definitions/puppetRoomListResponse'
1060
+ default:
1061
+ description: An unexpected error response.
1062
+ schema:
1063
+ $ref: '#/definitions/rpcStatus'
1064
+ tags:
1065
+ - Puppet
1066
+ post:
1067
+ operationId: Puppet_RoomCreate
1068
+ responses:
1069
+ '200':
1070
+ description: A successful response.
1071
+ schema:
1072
+ $ref: '#/definitions/puppetRoomCreateResponse'
1073
+ default:
1074
+ description: An unexpected error response.
1075
+ schema:
1076
+ $ref: '#/definitions/rpcStatus'
1077
+ parameters:
1078
+ - name: body
1079
+ in: body
1080
+ required: true
1081
+ schema:
1082
+ $ref: '#/definitions/puppetRoomCreateRequest'
1083
+ tags:
1084
+ - Puppet
1085
+ '/rooms/{id}':
1086
+ get:
1087
+ summary: '*'
1088
+ description: Room
1089
+ operationId: Puppet_RoomPayload
1090
+ responses:
1091
+ '200':
1092
+ description: A successful response.
1093
+ schema:
1094
+ $ref: '#/definitions/puppetRoomPayloadResponse'
1095
+ default:
1096
+ description: An unexpected error response.
1097
+ schema:
1098
+ $ref: '#/definitions/rpcStatus'
1099
+ parameters:
1100
+ - name: id
1101
+ in: path
1102
+ required: true
1103
+ type: string
1104
+ tags:
1105
+ - Puppet
1106
+ delete:
1107
+ operationId: Puppet_RoomQuit
1108
+ responses:
1109
+ '200':
1110
+ description: A successful response.
1111
+ schema:
1112
+ $ref: '#/definitions/puppetRoomQuitResponse'
1113
+ default:
1114
+ description: An unexpected error response.
1115
+ schema:
1116
+ $ref: '#/definitions/rpcStatus'
1117
+ parameters:
1118
+ - name: id
1119
+ in: path
1120
+ required: true
1121
+ type: string
1122
+ tags:
1123
+ - Puppet
1124
+ '/rooms/{id}/add/{contactId}':
1125
+ put:
1126
+ operationId: Puppet_RoomAdd
1127
+ responses:
1128
+ '200':
1129
+ description: A successful response.
1130
+ schema:
1131
+ $ref: '#/definitions/puppetRoomAddResponse'
1132
+ default:
1133
+ description: An unexpected error response.
1134
+ schema:
1135
+ $ref: '#/definitions/rpcStatus'
1136
+ parameters:
1137
+ - name: id
1138
+ in: path
1139
+ required: true
1140
+ type: string
1141
+ - name: contactId
1142
+ in: path
1143
+ required: true
1144
+ type: string
1145
+ - name: inviteOnly
1146
+ in: query
1147
+ required: false
1148
+ type: boolean
1149
+ tags:
1150
+ - Puppet
1151
+ '/rooms/{id}/announcement':
1152
+ get:
1153
+ operationId: Puppet_RoomAnnounce
1154
+ responses:
1155
+ '200':
1156
+ description: A successful response.
1157
+ schema:
1158
+ $ref: '#/definitions/puppetRoomAnnounceResponse'
1159
+ default:
1160
+ description: An unexpected error response.
1161
+ schema:
1162
+ $ref: '#/definitions/rpcStatus'
1163
+ parameters:
1164
+ - name: id
1165
+ in: path
1166
+ required: true
1167
+ type: string
1168
+ - name: textStringValueDeprecated
1169
+ in: query
1170
+ required: false
1171
+ type: string
1172
+ - name: text
1173
+ in: query
1174
+ required: false
1175
+ type: string
1176
+ tags:
1177
+ - Puppet
1178
+ put:
1179
+ operationId: Puppet_RoomAnnounce2
1180
+ responses:
1181
+ '200':
1182
+ description: A successful response.
1183
+ schema:
1184
+ $ref: '#/definitions/puppetRoomAnnounceResponse'
1185
+ default:
1186
+ description: An unexpected error response.
1187
+ schema:
1188
+ $ref: '#/definitions/rpcStatus'
1189
+ parameters:
1190
+ - name: id
1191
+ in: path
1192
+ required: true
1193
+ type: string
1194
+ - name: body
1195
+ in: body
1196
+ required: true
1197
+ schema:
1198
+ type: object
1199
+ properties:
1200
+ textStringValueDeprecated:
1201
+ type: string
1202
+ text:
1203
+ type: string
1204
+ tags:
1205
+ - Puppet
1206
+ '/rooms/{id}/avatar':
1207
+ get:
1208
+ operationId: Puppet_RoomAvatar
1209
+ responses:
1210
+ '200':
1211
+ description: A successful response.
1212
+ schema:
1213
+ $ref: '#/definitions/puppetRoomAvatarResponse'
1214
+ default:
1215
+ description: An unexpected error response.
1216
+ schema:
1217
+ $ref: '#/definitions/rpcStatus'
1218
+ parameters:
1219
+ - name: id
1220
+ in: path
1221
+ required: true
1222
+ type: string
1223
+ tags:
1224
+ - Puppet
1225
+ '/rooms/{id}/dirty/members/{type}':
1226
+ put:
1227
+ operationId: Puppet_DirtyPayload4
1228
+ responses:
1229
+ '200':
1230
+ description: A successful response.
1231
+ schema:
1232
+ $ref: '#/definitions/puppetDirtyPayloadResponse'
1233
+ default:
1234
+ description: An unexpected error response.
1235
+ schema:
1236
+ $ref: '#/definitions/rpcStatus'
1237
+ parameters:
1238
+ - name: id
1239
+ in: path
1240
+ required: true
1241
+ type: string
1242
+ - name: type
1243
+ in: path
1244
+ required: true
1245
+ type: string
1246
+ enum:
1247
+ - PAYLOAD_TYPE_UNSPECIFIED
1248
+ - PAYLOAD_TYPE_MESSAGE
1249
+ - PAYLOAD_TYPE_CONTACT
1250
+ - PAYLOAD_TYPE_ROOM
1251
+ - PAYLOAD_TYPE_ROOM_MEMBER
1252
+ - PAYLOAD_TYPE_FRIENDSHIP
1253
+ pattern: PAYLOADTYPEROOMMEMBER
1254
+ tags:
1255
+ - Puppet
1256
+ '/rooms/{id}/dirty/{type}':
1257
+ put:
1258
+ operationId: Puppet_DirtyPayload3
1259
+ responses:
1260
+ '200':
1261
+ description: A successful response.
1262
+ schema:
1263
+ $ref: '#/definitions/puppetDirtyPayloadResponse'
1264
+ default:
1265
+ description: An unexpected error response.
1266
+ schema:
1267
+ $ref: '#/definitions/rpcStatus'
1268
+ parameters:
1269
+ - name: id
1270
+ in: path
1271
+ required: true
1272
+ type: string
1273
+ - name: type
1274
+ in: path
1275
+ required: true
1276
+ type: string
1277
+ enum:
1278
+ - PAYLOAD_TYPE_UNSPECIFIED
1279
+ - PAYLOAD_TYPE_MESSAGE
1280
+ - PAYLOAD_TYPE_CONTACT
1281
+ - PAYLOAD_TYPE_ROOM
1282
+ - PAYLOAD_TYPE_ROOM_MEMBER
1283
+ - PAYLOAD_TYPE_FRIENDSHIP
1284
+ pattern: PAYLOADTYPEROOM
1285
+ tags:
1286
+ - Puppet
1287
+ '/rooms/{id}/member/{contactId}':
1288
+ delete:
1289
+ operationId: Puppet_RoomDel
1290
+ responses:
1291
+ '200':
1292
+ description: A successful response.
1293
+ schema:
1294
+ $ref: '#/definitions/puppetRoomDelResponse'
1295
+ default:
1296
+ description: An unexpected error response.
1297
+ schema:
1298
+ $ref: '#/definitions/rpcStatus'
1299
+ parameters:
1300
+ - name: id
1301
+ in: path
1302
+ required: true
1303
+ type: string
1304
+ - name: contactId
1305
+ in: path
1306
+ required: true
1307
+ type: string
1308
+ tags:
1309
+ - Puppet
1310
+ '/rooms/{id}/members':
1311
+ get:
1312
+ operationId: Puppet_RoomMemberList
1313
+ responses:
1314
+ '200':
1315
+ description: A successful response.
1316
+ schema:
1317
+ $ref: '#/definitions/puppetRoomMemberListResponse'
1318
+ default:
1319
+ description: An unexpected error response.
1320
+ schema:
1321
+ $ref: '#/definitions/rpcStatus'
1322
+ parameters:
1323
+ - name: id
1324
+ in: path
1325
+ required: true
1326
+ type: string
1327
+ tags:
1328
+ - Puppet
1329
+ '/rooms/{id}/members/{memberId}':
1330
+ get:
1331
+ summary: '*'
1332
+ description: Room Member
1333
+ operationId: Puppet_RoomMemberPayload
1334
+ responses:
1335
+ '200':
1336
+ description: A successful response.
1337
+ schema:
1338
+ $ref: '#/definitions/puppetRoomMemberPayloadResponse'
1339
+ default:
1340
+ description: An unexpected error response.
1341
+ schema:
1342
+ $ref: '#/definitions/rpcStatus'
1343
+ parameters:
1344
+ - name: id
1345
+ in: path
1346
+ required: true
1347
+ type: string
1348
+ - name: memberId
1349
+ in: path
1350
+ required: true
1351
+ type: string
1352
+ tags:
1353
+ - Puppet
1354
+ '/rooms/{id}/qrcode':
1355
+ get:
1356
+ operationId: Puppet_RoomQRCode
1357
+ responses:
1358
+ '200':
1359
+ description: A successful response.
1360
+ schema:
1361
+ $ref: '#/definitions/puppetRoomQRCodeResponse'
1362
+ default:
1363
+ description: An unexpected error response.
1364
+ schema:
1365
+ $ref: '#/definitions/rpcStatus'
1366
+ parameters:
1367
+ - name: id
1368
+ in: path
1369
+ required: true
1370
+ type: string
1371
+ tags:
1372
+ - Puppet
1373
+ '/rooms/{id}/topic':
1374
+ get:
1375
+ operationId: Puppet_RoomTopic
1376
+ responses:
1377
+ '200':
1378
+ description: A successful response.
1379
+ schema:
1380
+ $ref: '#/definitions/puppetRoomTopicResponse'
1381
+ default:
1382
+ description: An unexpected error response.
1383
+ schema:
1384
+ $ref: '#/definitions/rpcStatus'
1385
+ parameters:
1386
+ - name: id
1387
+ in: path
1388
+ required: true
1389
+ type: string
1390
+ - name: topicStringValueDeprecated
1391
+ in: query
1392
+ required: false
1393
+ type: string
1394
+ - name: topic
1395
+ in: query
1396
+ required: false
1397
+ type: string
1398
+ tags:
1399
+ - Puppet
1400
+ /start:
1401
+ put:
1402
+ summary: '*'
1403
+ description: Base
1404
+ operationId: Puppet_Start
1405
+ responses:
1406
+ '200':
1407
+ description: A successful response.
1408
+ schema:
1409
+ $ref: '#/definitions/puppetStartResponse'
1410
+ default:
1411
+ description: An unexpected error response.
1412
+ schema:
1413
+ $ref: '#/definitions/rpcStatus'
1414
+ tags:
1415
+ - Puppet
1416
+ /stop:
1417
+ put:
1418
+ operationId: Puppet_Stop
1419
+ responses:
1420
+ '200':
1421
+ description: A successful response.
1422
+ schema:
1423
+ $ref: '#/definitions/puppetStopResponse'
1424
+ default:
1425
+ description: An unexpected error response.
1426
+ schema:
1427
+ $ref: '#/definitions/rpcStatus'
1428
+ tags:
1429
+ - Puppet
1430
+ /upload:
1431
+ post:
1432
+ operationId: Puppet_Upload
1433
+ responses:
1434
+ '200':
1435
+ description: A successful response.
1436
+ schema:
1437
+ $ref: '#/definitions/puppetUploadResponse'
1438
+ default:
1439
+ description: An unexpected error response.
1440
+ schema:
1441
+ $ref: '#/definitions/rpcStatus'
1442
+ parameters:
1443
+ - name: body
1444
+ description: ' (streaming inputs)'
1445
+ in: body
1446
+ required: true
1447
+ schema:
1448
+ $ref: '#/definitions/puppetUploadRequest'
1449
+ tags:
1450
+ - Puppet
1451
+ /version:
1452
+ get:
1453
+ operationId: Puppet_Version
1454
+ responses:
1455
+ '200':
1456
+ description: A successful response.
1457
+ schema:
1458
+ $ref: '#/definitions/puppetVersionResponse'
1459
+ default:
1460
+ description: An unexpected error response.
1461
+ schema:
1462
+ $ref: '#/definitions/rpcStatus'
1463
+ tags:
1464
+ - Puppet
1465
+ /wechaty.Puppet/FriendshipSearchWeixin:
1466
+ post:
1467
+ summary: |-
1468
+ *
1469
+ Huan(202203): https://github.com/wechaty/puppet/issues/181
1470
+ @deprecated use FriendshipSearchHandle instead, will be removed in v3.0
1471
+ operationId: Puppet_FriendshipSearchWeixin
1472
+ responses:
1473
+ '200':
1474
+ description: A successful response.
1475
+ schema:
1476
+ $ref: '#/definitions/puppetFriendshipSearchHandleResponse'
1477
+ default:
1478
+ description: An unexpected error response.
1479
+ schema:
1480
+ $ref: '#/definitions/rpcStatus'
1481
+ parameters:
1482
+ - name: body
1483
+ in: body
1484
+ required: true
1485
+ schema:
1486
+ $ref: '#/definitions/puppetFriendshipSearchHandleRequest'
1487
+ tags:
1488
+ - Puppet
1489
+ /wechaty.Puppet/MessageFile:
1490
+ post:
1491
+ operationId: Puppet_MessageFile
1492
+ responses:
1493
+ '200':
1494
+ description: A successful response.
1495
+ schema:
1496
+ $ref: '#/definitions/puppetMessageFileResponse'
1497
+ default:
1498
+ description: An unexpected error response.
1499
+ schema:
1500
+ $ref: '#/definitions/rpcStatus'
1501
+ parameters:
1502
+ - name: body
1503
+ in: body
1504
+ required: true
1505
+ schema:
1506
+ $ref: '#/definitions/puppetMessageFileRequest'
1507
+ tags:
1508
+ - Puppet
1509
+ /wechaty.Puppet/MessageFileStream:
1510
+ post:
1511
+ summary: |-
1512
+ *
1513
+ Deprecated: will be removed after Dec 31, 2022
1514
+ operationId: Puppet_MessageFileStream
1515
+ responses:
1516
+ '200':
1517
+ description: A successful response.(streaming responses)
1518
+ schema:
1519
+ type: object
1520
+ properties:
1521
+ result:
1522
+ $ref: '#/definitions/puppetMessageFileStreamResponse'
1523
+ error:
1524
+ $ref: '#/definitions/rpcStatus'
1525
+ title: Stream result of puppetMessageFileStreamResponse
1526
+ default:
1527
+ description: An unexpected error response.
1528
+ schema:
1529
+ $ref: '#/definitions/rpcStatus'
1530
+ parameters:
1531
+ - name: body
1532
+ in: body
1533
+ required: true
1534
+ schema:
1535
+ $ref: '#/definitions/puppetMessageFileStreamRequest'
1536
+ tags:
1537
+ - Puppet
1538
+ /wechaty.Puppet/MessageImage:
1539
+ post:
1540
+ operationId: Puppet_MessageImage
1541
+ responses:
1542
+ '200':
1543
+ description: A successful response.
1544
+ schema:
1545
+ $ref: '#/definitions/puppetMessageImageResponse'
1546
+ default:
1547
+ description: An unexpected error response.
1548
+ schema:
1549
+ $ref: '#/definitions/rpcStatus'
1550
+ parameters:
1551
+ - name: body
1552
+ in: body
1553
+ required: true
1554
+ schema:
1555
+ $ref: '#/definitions/puppetMessageImageRequest'
1556
+ tags:
1557
+ - Puppet
1558
+ /wechaty.Puppet/MessageImageStream:
1559
+ post:
1560
+ operationId: Puppet_MessageImageStream
1561
+ responses:
1562
+ '200':
1563
+ description: A successful response.(streaming responses)
1564
+ schema:
1565
+ type: object
1566
+ properties:
1567
+ result:
1568
+ $ref: '#/definitions/puppetMessageImageStreamResponse'
1569
+ error:
1570
+ $ref: '#/definitions/rpcStatus'
1571
+ title: Stream result of puppetMessageImageStreamResponse
1572
+ default:
1573
+ description: An unexpected error response.
1574
+ schema:
1575
+ $ref: '#/definitions/rpcStatus'
1576
+ parameters:
1577
+ - name: body
1578
+ in: body
1579
+ required: true
1580
+ schema:
1581
+ $ref: '#/definitions/puppetMessageImageStreamRequest'
1582
+ tags:
1583
+ - Puppet
1584
+ /wechaty.Puppet/MessageSendFile:
1585
+ post:
1586
+ operationId: Puppet_MessageSendFile
1587
+ responses:
1588
+ '200':
1589
+ description: A successful response.
1590
+ schema:
1591
+ $ref: '#/definitions/puppetMessageSendFileResponse'
1592
+ default:
1593
+ description: An unexpected error response.
1594
+ schema:
1595
+ $ref: '#/definitions/rpcStatus'
1596
+ parameters:
1597
+ - name: body
1598
+ in: body
1599
+ required: true
1600
+ schema:
1601
+ $ref: '#/definitions/puppetMessageSendFileRequest'
1602
+ tags:
1603
+ - Puppet
1604
+ /wechaty.Puppet/MessageSendFileStream:
1605
+ post:
1606
+ operationId: Puppet_MessageSendFileStream
1607
+ responses:
1608
+ '200':
1609
+ description: A successful response.
1610
+ schema:
1611
+ $ref: '#/definitions/puppetMessageSendFileStreamResponse'
1612
+ default:
1613
+ description: An unexpected error response.
1614
+ schema:
1615
+ $ref: '#/definitions/rpcStatus'
1616
+ parameters:
1617
+ - name: body
1618
+ description: ' (streaming inputs)'
1619
+ in: body
1620
+ required: true
1621
+ schema:
1622
+ $ref: '#/definitions/puppetMessageSendFileStreamRequest'
1623
+ tags:
1624
+ - Puppet
1625
+ definitions:
1626
+ protobufAny:
1627
+ type: object
1628
+ properties:
1629
+ '@type':
1630
+ type: string
1631
+ additionalProperties: {}
1632
+ puppetContactAliasResponse:
1633
+ type: object
1634
+ properties:
1635
+ aliasStringValueDeprecated:
1636
+ type: string
1637
+ alias:
1638
+ type: string
1639
+ puppetContactAvatarResponse:
1640
+ type: object
1641
+ properties:
1642
+ fileboxStringValueDeprecated:
1643
+ type: string
1644
+ fileBox:
1645
+ type: string
1646
+ puppetContactCorporationRemarkResponse:
1647
+ type: object
1648
+ puppetContactDescriptionResponse:
1649
+ type: object
1650
+ puppetContactGender:
1651
+ type: string
1652
+ enum:
1653
+ - CONTACT_GENDER_UNSPECIFIED
1654
+ - CONTACT_GENDER_MALE
1655
+ - CONTACT_GENDER_FEMALE
1656
+ default: CONTACT_GENDER_UNSPECIFIED
1657
+ puppetContactListResponse:
1658
+ type: object
1659
+ properties:
1660
+ ids:
1661
+ type: array
1662
+ items:
1663
+ type: string
1664
+ puppetContactPayloadResponse:
1665
+ type: object
1666
+ properties:
1667
+ id:
1668
+ type: string
1669
+ gender:
1670
+ $ref: '#/definitions/puppetContactGender'
1671
+ type:
1672
+ $ref: '#/definitions/puppetContactType'
1673
+ name:
1674
+ type: string
1675
+ avatar:
1676
+ type: string
1677
+ address:
1678
+ type: string
1679
+ alias:
1680
+ type: string
1681
+ city:
1682
+ type: string
1683
+ friend:
1684
+ type: boolean
1685
+ province:
1686
+ type: string
1687
+ signature:
1688
+ type: string
1689
+ star:
1690
+ type: boolean
1691
+ weixin:
1692
+ type: string
1693
+ description: >-
1694
+ *
1695
+
1696
+ Huan(202203): in gRPC, we can freely rename the field name as long as
1697
+ the number keep consistent.
1698
+ so we can just rename `weixin` to `handle` here.
1699
+
1700
+ (Huan(20220329): use `weixin` for now, until we upgrade to v2.0
1701
+ the `wechaty-grpc@1.0.0` will use the latest v1.x automatically when running `npm install`
1702
+ which will causing a breaking change.
1703
+ @link https://github.com/wechaty/getting-started/issues/254
1704
+
1705
+ TODO: rename `weixin` to `handle` in v2.0.0
1706
+ corporation:
1707
+ type: string
1708
+ title:
1709
+ type: string
1710
+ description:
1711
+ type: string
1712
+ coworker:
1713
+ type: boolean
1714
+ phones:
1715
+ type: array
1716
+ items:
1717
+ type: string
1718
+ puppetContactPhoneResponse:
1719
+ type: object
1720
+ properties:
1721
+ phones:
1722
+ type: array
1723
+ items:
1724
+ type: string
1725
+ puppetContactSelfNameResponse:
1726
+ type: object
1727
+ puppetContactSelfQRCodeResponse:
1728
+ type: object
1729
+ properties:
1730
+ qrcode:
1731
+ type: string
1732
+ puppetContactSelfSignatureRequest:
1733
+ type: object
1734
+ properties:
1735
+ signature:
1736
+ type: string
1737
+ puppetContactSelfSignatureResponse:
1738
+ type: object
1739
+ puppetContactType:
1740
+ type: string
1741
+ enum:
1742
+ - CONTACT_TYPE_UNSPECIFIED
1743
+ - CONTACT_TYPE_PERSONAL
1744
+ - CONTACT_TYPE_OFFICIAL
1745
+ - CONTACT_TYPE_CORPORATION
1746
+ default: CONTACT_TYPE_UNSPECIFIED
1747
+ puppetDingRequest:
1748
+ type: object
1749
+ properties:
1750
+ data:
1751
+ type: string
1752
+ puppetDingResponse:
1753
+ type: object
1754
+ puppetDirtyPayloadResponse:
1755
+ type: object
1756
+ puppetDownloadResponse:
1757
+ type: object
1758
+ properties:
1759
+ chunk:
1760
+ type: string
1761
+ format: byte
1762
+ puppetEventResponse:
1763
+ type: object
1764
+ properties:
1765
+ type:
1766
+ $ref: '#/definitions/puppetEventType'
1767
+ payload:
1768
+ type: string
1769
+ title: 'TODO: Huan(202002) consider to use a PB Map?'
1770
+ puppetEventType:
1771
+ type: string
1772
+ enum:
1773
+ - EVENT_TYPE_UNSPECIFIED
1774
+ - EVENT_TYPE_HEARTBEAT
1775
+ - EVENT_TYPE_MESSAGE
1776
+ - EVENT_TYPE_DONG
1777
+ - EVENT_TYPE_POST
1778
+ - EVENT_TYPE_ERROR
1779
+ - EVENT_TYPE_FRIENDSHIP
1780
+ - EVENT_TYPE_ROOM_INVITE
1781
+ - EVENT_TYPE_ROOM_JOIN
1782
+ - EVENT_TYPE_ROOM_LEAVE
1783
+ - EVENT_TYPE_ROOM_TOPIC
1784
+ - EVENT_TYPE_SCAN
1785
+ - EVENT_TYPE_READY
1786
+ - EVENT_TYPE_RESET
1787
+ - EVENT_TYPE_LOGIN
1788
+ - EVENT_TYPE_LOGOUT
1789
+ - EVENT_TYPE_DIRTY
1790
+ default: EVENT_TYPE_UNSPECIFIED
1791
+ puppetFileBoxChunk:
1792
+ type: object
1793
+ properties:
1794
+ data:
1795
+ type: string
1796
+ format: byte
1797
+ title: 'oneof payload {'
1798
+ name:
1799
+ type: string
1800
+ puppetFriendshipAcceptResponse:
1801
+ type: object
1802
+ puppetFriendshipAddResponse:
1803
+ type: object
1804
+ puppetFriendshipPayloadResponse:
1805
+ type: object
1806
+ properties:
1807
+ id:
1808
+ type: string
1809
+ contactId:
1810
+ type: string
1811
+ hello:
1812
+ type: string
1813
+ type:
1814
+ $ref: '#/definitions/puppetFriendshipType'
1815
+ stranger:
1816
+ type: string
1817
+ ticket:
1818
+ type: string
1819
+ scene:
1820
+ $ref: '#/definitions/puppetFriendshipSceneType'
1821
+ puppetFriendshipSceneType:
1822
+ type: string
1823
+ enum:
1824
+ - FRIENDSHIP_SCENE_TYPE_UNSPECIFIED
1825
+ - FRIENDSHIP_SCENE_TYPE_QQ
1826
+ - FRIENDSHIP_SCENE_TYPE_EMAIL
1827
+ - FRIENDSHIP_SCENE_TYPE_WEIXIN
1828
+ - FRIENDSHIP_SCENE_TYPE_QQTBD
1829
+ - FRIENDSHIP_SCENE_TYPE_ROOM
1830
+ - FRIENDSHIP_SCENE_TYPE_PHONE
1831
+ - FRIENDSHIP_SCENE_TYPE_CARD
1832
+ - FRIENDSHIP_SCENE_TYPE_LOCATION
1833
+ - FRIENDSHIP_SCENE_TYPE_BOTTLE
1834
+ - FRIENDSHIP_SCENE_TYPE_SHAKING
1835
+ - FRIENDSHIP_SCENE_TYPE_QRCODE
1836
+ default: FRIENDSHIP_SCENE_TYPE_UNSPECIFIED
1837
+ puppetFriendshipSearchHandleRequest:
1838
+ type: object
1839
+ properties:
1840
+ weixin:
1841
+ type: string
1842
+ description: >-
1843
+ *
1844
+
1845
+ Huan(202203): in gRPC, we can freely rename the field name as long as
1846
+ the number keep consistent.
1847
+ so we can just rename `weixin` to `handle` here.
1848
+
1849
+ (Huan(20220329): use `weixin` for now, until we upgrade to v2.0
1850
+ the `wechaty-grpc@1.0.0` will use the latest v1.x automatically when running `npm install`
1851
+ which will causing a breaking change.
1852
+ @link https://github.com/wechaty/getting-started/issues/254
1853
+
1854
+ TODO: rename `weixin` to `handle` in v2.0.0
1855
+ description: >-
1856
+ *
1857
+
1858
+ Huan(202003): we just rename the payload message because gRPC only care
1859
+ about the message structure
1860
+ (and as long as we keep consistent with the old structure).
1861
+
1862
+ @link https://github.com/wechaty/grpc/pull/173
1863
+
1864
+ Rename:
1865
+ 1. `FriendshipSearchWeixinRequest` -> `FriendshipSearchHandleRequest`
1866
+ 2. `FriendshipSearchWeixinReqsponse` -> `FriendshipSearchHandleResponse`
1867
+ puppetFriendshipSearchHandleResponse:
1868
+ type: object
1869
+ properties:
1870
+ contactIdStringValueDeprecated:
1871
+ type: string
1872
+ title: nullable
1873
+ contactId:
1874
+ type: string
1875
+ puppetFriendshipSearchPhoneResponse:
1876
+ type: object
1877
+ properties:
1878
+ contactIdStringValueDeprecated:
1879
+ type: string
1880
+ title: nullable
1881
+ contactId:
1882
+ type: string
1883
+ puppetFriendshipType:
1884
+ type: string
1885
+ enum:
1886
+ - FRIENDSHIP_TYPE_UNSPECIFIED
1887
+ - FRIENDSHIP_TYPE_CONFIRM
1888
+ - FRIENDSHIP_TYPE_RECEIVE
1889
+ - FRIENDSHIP_TYPE_VERIFY
1890
+ default: FRIENDSHIP_TYPE_UNSPECIFIED
1891
+ puppetImageType:
1892
+ type: string
1893
+ enum:
1894
+ - IMAGE_TYPE_UNSPECIFIED
1895
+ - IMAGE_TYPE_THUMBNAIL
1896
+ - IMAGE_TYPE_HD
1897
+ - IMAGE_TYPE_ARTWORK
1898
+ default: IMAGE_TYPE_UNSPECIFIED
1899
+ puppetLocationPayload:
1900
+ type: object
1901
+ properties:
1902
+ accuracy:
1903
+ type: number
1904
+ format: float
1905
+ address:
1906
+ type: string
1907
+ latitude:
1908
+ type: number
1909
+ format: double
1910
+ longitude:
1911
+ type: number
1912
+ format: double
1913
+ name:
1914
+ type: string
1915
+ puppetLogoutResponse:
1916
+ type: object
1917
+ puppetMessageContactResponse:
1918
+ type: object
1919
+ properties:
1920
+ id:
1921
+ type: string
1922
+ puppetMessageFileRequest:
1923
+ type: object
1924
+ properties:
1925
+ id:
1926
+ type: string
1927
+ puppetMessageFileResponse:
1928
+ type: object
1929
+ properties:
1930
+ fileBox:
1931
+ type: string
1932
+ puppetMessageFileStreamRequest:
1933
+ type: object
1934
+ properties:
1935
+ id:
1936
+ type: string
1937
+ puppetMessageFileStreamResponse:
1938
+ type: object
1939
+ properties:
1940
+ fileBoxChunk:
1941
+ $ref: '#/definitions/puppetFileBoxChunk'
1942
+ puppetMessageForwardResponse:
1943
+ type: object
1944
+ properties:
1945
+ idStringValueDeprecated:
1946
+ type: string
1947
+ title: |-
1948
+ *
1949
+ @deprecated: use payload instead.
1950
+ Huan(202109): Wrapper types must not be used going forward.
1951
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
1952
+ id:
1953
+ type: string
1954
+ puppetMessageImageRequest:
1955
+ type: object
1956
+ properties:
1957
+ id:
1958
+ type: string
1959
+ type:
1960
+ $ref: '#/definitions/puppetImageType'
1961
+ puppetMessageImageResponse:
1962
+ type: object
1963
+ properties:
1964
+ fileBox:
1965
+ type: string
1966
+ puppetMessageImageStreamRequest:
1967
+ type: object
1968
+ properties:
1969
+ id:
1970
+ type: string
1971
+ type:
1972
+ $ref: '#/definitions/puppetImageType'
1973
+ puppetMessageImageStreamResponse:
1974
+ type: object
1975
+ properties:
1976
+ fileBoxChunk:
1977
+ $ref: '#/definitions/puppetFileBoxChunk'
1978
+ puppetMessageLocationResponse:
1979
+ type: object
1980
+ properties:
1981
+ location:
1982
+ $ref: '#/definitions/puppetLocationPayload'
1983
+ puppetMessageMiniProgramResponse:
1984
+ type: object
1985
+ properties:
1986
+ miniProgramDeprecated:
1987
+ type: string
1988
+ title: |-
1989
+ *
1990
+ Huan(202110): We should use payload instead of JSON.stringify string
1991
+ The compatible code will be removed after Dec 31, 2022
1992
+ miniProgram:
1993
+ $ref: '#/definitions/puppetMiniProgramPayload'
1994
+ puppetMessagePayloadResponse:
1995
+ type: object
1996
+ properties:
1997
+ id:
1998
+ type: string
1999
+ filename:
2000
+ type: string
2001
+ text:
2002
+ type: string
2003
+ timestampDeprecated:
2004
+ type: string
2005
+ format: uint64
2006
+ title: |-
2007
+ *
2008
+ @deprecated will be removed after Dec 31, 2022
2009
+ Huan(202109): use receive_time(10) instead
2010
+ type:
2011
+ $ref: '#/definitions/puppetMessageType'
2012
+ talkerId:
2013
+ type: string
2014
+ roomId:
2015
+ type: string
2016
+ listenerId:
2017
+ type: string
2018
+ mentionIds:
2019
+ type: array
2020
+ items:
2021
+ type: string
2022
+ receiveTime:
2023
+ type: string
2024
+ format: date-time
2025
+ puppetMessageRecallResponse:
2026
+ type: object
2027
+ properties:
2028
+ success:
2029
+ type: boolean
2030
+ puppetMessageSendContactResponse:
2031
+ type: object
2032
+ properties:
2033
+ idStringValueDeprecated:
2034
+ type: string
2035
+ title: |-
2036
+ *
2037
+ @deprecated:
2038
+ Huan(202109): Wrapper types must not be used going forward.
2039
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2040
+ id:
2041
+ type: string
2042
+ puppetMessageSendFileRequest:
2043
+ type: object
2044
+ properties:
2045
+ conversationId:
2046
+ type: string
2047
+ fileBox:
2048
+ type: string
2049
+ puppetMessageSendFileResponse:
2050
+ type: object
2051
+ properties:
2052
+ idStringValueDeprecated:
2053
+ type: string
2054
+ title: |-
2055
+ *
2056
+ @deprecated:
2057
+ Huan(202109): Wrapper types must not be used going forward.
2058
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2059
+ id:
2060
+ type: string
2061
+ puppetMessageSendFileStreamRequest:
2062
+ type: object
2063
+ properties:
2064
+ conversationId:
2065
+ type: string
2066
+ title: 'oneof payload {'
2067
+ fileBoxChunk:
2068
+ $ref: '#/definitions/puppetFileBoxChunk'
2069
+ puppetMessageSendFileStreamResponse:
2070
+ type: object
2071
+ properties:
2072
+ idStringValueDeprecated:
2073
+ type: string
2074
+ title: |-
2075
+ *
2076
+ @deprecated:
2077
+ Huan(202109): Wrapper types must not be used going forward.
2078
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2079
+ id:
2080
+ type: string
2081
+ puppetMessageSendLocationResponse:
2082
+ type: object
2083
+ properties:
2084
+ id:
2085
+ type: string
2086
+ title: >-
2087
+ *
2088
+
2089
+ Huan(202110): we will not use wrappers any more by following the
2090
+ Google Style Guide:
2091
+ If not using optional would add complexity or ambiguity, then use optional primitive fields,
2092
+ Wrapper types must not be used going forward.
2093
+ — Optional Primitive Fields (https://cloud.google.com/apis/design/design_patterns.md#optional-primitive-fields)
2094
+ puppetMessageSendMiniProgramResponse:
2095
+ type: object
2096
+ properties:
2097
+ idStringValueDeprecated:
2098
+ type: string
2099
+ title: |-
2100
+ *
2101
+ @deprecated:
2102
+ Huan(202109): Wrapper types must not be used going forward.
2103
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2104
+ id:
2105
+ type: string
2106
+ puppetMessageSendTextResponse:
2107
+ type: object
2108
+ properties:
2109
+ idStringValueDeprecated:
2110
+ type: string
2111
+ title: |-
2112
+ *
2113
+ @deprecated:
2114
+ Huan(202109): Wrapper types must not be used going forward.
2115
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2116
+ id:
2117
+ type: string
2118
+ puppetMessageSendUrlResponse:
2119
+ type: object
2120
+ properties:
2121
+ idStringValueDeprecated:
2122
+ type: string
2123
+ title: |-
2124
+ *
2125
+ @deprecated:
2126
+ Huan(202109): Wrapper types must not be used going forward.
2127
+ https://cloud.google.com/apis/design/design_patterns#optional_primitive_fields
2128
+ id:
2129
+ type: string
2130
+ puppetMessageType:
2131
+ type: string
2132
+ enum:
2133
+ - MESSAGE_TYPE_UNSPECIFIED
2134
+ - MESSAGE_TYPE_ATTACHMENT
2135
+ - MESSAGE_TYPE_AUDIO
2136
+ - MESSAGE_TYPE_CONTACT
2137
+ - MESSAGE_TYPE_EMOTICON
2138
+ - MESSAGE_TYPE_IMAGE
2139
+ - MESSAGE_TYPE_TEXT
2140
+ - MESSAGE_TYPE_VIDEO
2141
+ - MESSAGE_TYPE_CHAT_HISTORY
2142
+ - MESSAGE_TYPE_LOCATION
2143
+ - MESSAGE_TYPE_MINI_PROGRAM
2144
+ - MESSAGE_TYPE_TRANSFER
2145
+ - MESSAGE_TYPE_RED_ENVELOPE
2146
+ - MESSAGE_TYPE_RECALLED
2147
+ - MESSAGE_TYPE_URL
2148
+ default: MESSAGE_TYPE_UNSPECIFIED
2149
+ puppetMessageUrlResponse:
2150
+ type: object
2151
+ properties:
2152
+ urlLinkDeprecated:
2153
+ type: string
2154
+ title: |-
2155
+ *
2156
+ Huan(202110): We should use payload instead of JSON.stringify string
2157
+ The compatible code will be removed after Dec 31, 2022
2158
+ urlLink:
2159
+ $ref: '#/definitions/puppetUrlLinkPayload'
2160
+ puppetMiniProgramPayload:
2161
+ type: object
2162
+ properties:
2163
+ appid:
2164
+ type: string
2165
+ description:
2166
+ type: string
2167
+ pagePath:
2168
+ type: string
2169
+ iconUrl:
2170
+ type: string
2171
+ shareId:
2172
+ type: string
2173
+ thumbUrl:
2174
+ type: string
2175
+ title:
2176
+ type: string
2177
+ username:
2178
+ type: string
2179
+ thumbKey:
2180
+ type: string
2181
+ puppetPayloadType:
2182
+ type: string
2183
+ enum:
2184
+ - PAYLOAD_TYPE_UNSPECIFIED
2185
+ - PAYLOAD_TYPE_MESSAGE
2186
+ - PAYLOAD_TYPE_CONTACT
2187
+ - PAYLOAD_TYPE_ROOM
2188
+ - PAYLOAD_TYPE_ROOM_MEMBER
2189
+ - PAYLOAD_TYPE_FRIENDSHIP
2190
+ default: PAYLOAD_TYPE_UNSPECIFIED
2191
+ puppetReferrer:
2192
+ type: object
2193
+ properties:
2194
+ contactId:
2195
+ type: string
2196
+ roomId:
2197
+ type: string
2198
+ title: >-
2199
+ *
2200
+
2201
+ "Referrer" and "Referral" refers to different things. "Referrer" is
2202
+ something or somebody who refers. "Referral" is the act of referring.
2203
+ - https://english.stackexchange.com/questions/33135/referrer-versus-referral-versus-referer
2204
+ puppetRoomAddResponse:
2205
+ type: object
2206
+ puppetRoomAnnounceResponse:
2207
+ type: object
2208
+ properties:
2209
+ textStringValueDeprecated:
2210
+ type: string
2211
+ text:
2212
+ type: string
2213
+ puppetRoomAvatarResponse:
2214
+ type: object
2215
+ properties:
2216
+ fileBox:
2217
+ type: string
2218
+ puppetRoomCreateRequest:
2219
+ type: object
2220
+ properties:
2221
+ contactIds:
2222
+ type: array
2223
+ items:
2224
+ type: string
2225
+ topic:
2226
+ type: string
2227
+ puppetRoomCreateResponse:
2228
+ type: object
2229
+ properties:
2230
+ id:
2231
+ type: string
2232
+ puppetRoomDelResponse:
2233
+ type: object
2234
+ puppetRoomInvitationAcceptResponse:
2235
+ type: object
2236
+ puppetRoomInvitationPayloadResponse:
2237
+ type: object
2238
+ properties:
2239
+ id:
2240
+ type: string
2241
+ inviterId:
2242
+ type: string
2243
+ topic:
2244
+ type: string
2245
+ memberCount:
2246
+ type: integer
2247
+ format: int32
2248
+ memberIds:
2249
+ type: array
2250
+ items:
2251
+ type: string
2252
+ timestampUint64Deprecated:
2253
+ type: string
2254
+ format: uint64
2255
+ title: |-
2256
+ *
2257
+ @deprecated will be removed after Dec 31, 2022
2258
+ Huan(202109): use receive_time(10) instead
2259
+ avatar:
2260
+ type: string
2261
+ invitation:
2262
+ type: string
2263
+ receiverId:
2264
+ type: string
2265
+ receiveTime:
2266
+ type: string
2267
+ format: date-time
2268
+ puppetRoomListResponse:
2269
+ type: object
2270
+ properties:
2271
+ ids:
2272
+ type: array
2273
+ items:
2274
+ type: string
2275
+ puppetRoomMemberListResponse:
2276
+ type: object
2277
+ properties:
2278
+ memberIds:
2279
+ type: array
2280
+ items:
2281
+ type: string
2282
+ puppetRoomMemberPayloadResponse:
2283
+ type: object
2284
+ properties:
2285
+ id:
2286
+ type: string
2287
+ roomAlias:
2288
+ type: string
2289
+ inviterId:
2290
+ type: string
2291
+ avatar:
2292
+ type: string
2293
+ name:
2294
+ type: string
2295
+ puppetRoomPayloadResponse:
2296
+ type: object
2297
+ properties:
2298
+ id:
2299
+ type: string
2300
+ topic:
2301
+ type: string
2302
+ avatar:
2303
+ type: string
2304
+ ownerId:
2305
+ type: string
2306
+ adminIds:
2307
+ type: array
2308
+ items:
2309
+ type: string
2310
+ memberIds:
2311
+ type: array
2312
+ items:
2313
+ type: string
2314
+ handle:
2315
+ type: string
2316
+ puppetRoomQRCodeResponse:
2317
+ type: object
2318
+ properties:
2319
+ qrcode:
2320
+ type: string
2321
+ puppetRoomQuitResponse:
2322
+ type: object
2323
+ puppetRoomTopicResponse:
2324
+ type: object
2325
+ properties:
2326
+ topicStringValueDeprecated:
2327
+ type: string
2328
+ topic:
2329
+ type: string
2330
+ puppetStartResponse:
2331
+ type: object
2332
+ puppetStopResponse:
2333
+ type: object
2334
+ puppetTagContactAddResponse:
2335
+ type: object
2336
+ puppetTagContactDeleteResponse:
2337
+ type: object
2338
+ puppetTagContactListResponse:
2339
+ type: object
2340
+ properties:
2341
+ ids:
2342
+ type: array
2343
+ items:
2344
+ type: string
2345
+ puppetTagContactRemoveResponse:
2346
+ type: object
2347
+ puppetUploadRequest:
2348
+ type: object
2349
+ properties:
2350
+ chunk:
2351
+ type: string
2352
+ format: byte
2353
+ puppetUploadResponse:
2354
+ type: object
2355
+ properties:
2356
+ id:
2357
+ type: string
2358
+ puppetUrlLinkPayload:
2359
+ type: object
2360
+ properties:
2361
+ description:
2362
+ type: string
2363
+ thumbnailUrl:
2364
+ type: string
2365
+ title:
2366
+ type: string
2367
+ url:
2368
+ type: string
2369
+ puppetVersionResponse:
2370
+ type: object
2371
+ properties:
2372
+ version:
2373
+ type: string
2374
+ rpcStatus:
2375
+ type: object
2376
+ properties:
2377
+ code:
2378
+ type: integer
2379
+ format: int32
2380
+ message:
2381
+ type: string
2382
+ details:
2383
+ type: array
2384
+ items:
2385
+ $ref: '#/definitions/protobufAny'
2386
+