@tencent-rtc/mcp 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 (286) hide show
  1. package/@tencent/aegis-node-sdk/CHANGELOG.md +8 -0
  2. package/@tencent/aegis-node-sdk/LICENSE +21 -0
  3. package/@tencent/aegis-node-sdk/README.md +562 -0
  4. package/@tencent/aegis-node-sdk/lib/aegis.min.js +1 -0
  5. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/config.d.ts +14 -0
  6. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/global.d.ts +1 -0
  7. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/index.d.ts +9 -0
  8. package/@tencent/aegis-node-sdk/lib/packages/core/src/constant/report-ignore.d.ts +2 -0
  9. package/@tencent/aegis-node-sdk/lib/packages/core/src/core.d.ts +85 -0
  10. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/afterRequestHooks.d.ts +3 -0
  11. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/beforeRequestHooks.d.ts +9 -0
  12. package/@tencent/aegis-node-sdk/lib/packages/core/src/hooks/modifyRequestHooks.d.ts +3 -0
  13. package/@tencent/aegis-node-sdk/lib/packages/core/src/index.d.ts +9 -0
  14. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/config.d.ts +62 -0
  15. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/env.d.ts +11 -0
  16. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/index.d.ts +4 -0
  17. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/log.d.ts +130 -0
  18. package/@tencent/aegis-node-sdk/lib/packages/core/src/interface/send.d.ts +34 -0
  19. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/format.d.ts +2 -0
  20. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/index.d.ts +18 -0
  21. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/length-limit.d.ts +8 -0
  22. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/pv.d.ts +8 -0
  23. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/remove-payload.d.ts +2 -0
  24. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/repeat-limit.d.ts +4 -0
  25. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/report.d.ts +10 -0
  26. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/sample.d.ts +3 -0
  27. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/throttle.d.ts +3 -0
  28. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/index.d.ts +34 -0
  29. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/jwt.d.ts +12 -0
  30. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/ot-js.d.ts +14 -0
  31. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/trace/uuid.d.ts +2 -0
  32. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/whitelist.d.ts +12 -0
  33. package/@tencent/aegis-node-sdk/lib/packages/core/src/pipes/write-before.d.ts +3 -0
  34. package/@tencent/aegis-node-sdk/lib/packages/core/src/plugin.d.ts +33 -0
  35. package/@tencent/aegis-node-sdk/lib/packages/core/src/polyfill.d.ts +0 -0
  36. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/destroy.d.ts +2 -0
  37. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/event-emitter.d.ts +18 -0
  38. package/@tencent/aegis-node-sdk/lib/packages/core/src/util/index.d.ts +60 -0
  39. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/index.d.ts +15 -0
  40. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/interface/selector.d.ts +5 -0
  41. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/pipes/batch-report-pipe.d.ts +6 -0
  42. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_base.d.ts +18 -0
  43. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/protocol/protocol_http.d.ts +12 -0
  44. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/ip_selector.d.ts +10 -0
  45. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/polaris_selector.d.ts +20 -0
  46. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/selector/selector_base.d.ts +27 -0
  47. package/@tencent/aegis-node-sdk/lib/packages/node-sdk/src/util/eval_require.d.ts +2 -0
  48. package/@tencent/aegis-node-sdk/package.json +19 -0
  49. package/@tencent/polaris/README.md +407 -0
  50. package/@tencent/polaris/dist/consumer/health.d.ts +126 -0
  51. package/@tencent/polaris/dist/consumer/health.js +283 -0
  52. package/@tencent/polaris/dist/consumer/health.js.map +1 -0
  53. package/@tencent/polaris/dist/consumer/index.d.ts +120 -0
  54. package/@tencent/polaris/dist/consumer/index.js +348 -0
  55. package/@tencent/polaris/dist/consumer/index.js.map +1 -0
  56. package/@tencent/polaris/dist/consumer/monitor.d.ts +145 -0
  57. package/@tencent/polaris/dist/consumer/monitor.js +343 -0
  58. package/@tencent/polaris/dist/consumer/monitor.js.map +1 -0
  59. package/@tencent/polaris/dist/consumer/selector.d.ts +73 -0
  60. package/@tencent/polaris/dist/consumer/selector.js +316 -0
  61. package/@tencent/polaris/dist/consumer/selector.js.map +1 -0
  62. package/@tencent/polaris/dist/errors.d.ts +373 -0
  63. package/@tencent/polaris/dist/errors.js +154 -0
  64. package/@tencent/polaris/dist/errors.js.map +1 -0
  65. package/@tencent/polaris/dist/global.d.ts +16 -0
  66. package/@tencent/polaris/dist/global.js +18 -0
  67. package/@tencent/polaris/dist/global.js.map +1 -0
  68. package/@tencent/polaris/dist/index.d.ts +62 -0
  69. package/@tencent/polaris/dist/index.js +145 -0
  70. package/@tencent/polaris/dist/index.js.map +1 -0
  71. package/@tencent/polaris/dist/instance.d.ts +109 -0
  72. package/@tencent/polaris/dist/instance.js +38 -0
  73. package/@tencent/polaris/dist/instance.js.map +1 -0
  74. package/@tencent/polaris/dist/limiter/bucket.d.ts +51 -0
  75. package/@tencent/polaris/dist/limiter/bucket.js +152 -0
  76. package/@tencent/polaris/dist/limiter/bucket.js.map +1 -0
  77. package/@tencent/polaris/dist/limiter/index.d.ts +73 -0
  78. package/@tencent/polaris/dist/limiter/index.js +149 -0
  79. package/@tencent/polaris/dist/limiter/index.js.map +1 -0
  80. package/@tencent/polaris/dist/limiter/ratelimit.d.ts +27 -0
  81. package/@tencent/polaris/dist/limiter/ratelimit.js +134 -0
  82. package/@tencent/polaris/dist/limiter/ratelimit.js.map +1 -0
  83. package/@tencent/polaris/dist/limiter/ratelimiter/base.d.ts +17 -0
  84. package/@tencent/polaris/dist/limiter/ratelimiter/base.js +15 -0
  85. package/@tencent/polaris/dist/limiter/ratelimiter/base.js.map +1 -0
  86. package/@tencent/polaris/dist/limiter/ratelimiter/global.d.ts +59 -0
  87. package/@tencent/polaris/dist/limiter/ratelimiter/global.js +397 -0
  88. package/@tencent/polaris/dist/limiter/ratelimiter/global.js.map +1 -0
  89. package/@tencent/polaris/dist/limiter/ratelimiter/index.d.ts +3 -0
  90. package/@tencent/polaris/dist/limiter/ratelimiter/index.js +19 -0
  91. package/@tencent/polaris/dist/limiter/ratelimiter/index.js.map +1 -0
  92. package/@tencent/polaris/dist/limiter/ratelimiter/local.d.ts +17 -0
  93. package/@tencent/polaris/dist/limiter/ratelimiter/local.js +52 -0
  94. package/@tencent/polaris/dist/limiter/ratelimiter/local.js.map +1 -0
  95. package/@tencent/polaris/dist/location.d.ts +48 -0
  96. package/@tencent/polaris/dist/location.js +67 -0
  97. package/@tencent/polaris/dist/location.js.map +1 -0
  98. package/@tencent/polaris/dist/logging.d.ts +106 -0
  99. package/@tencent/polaris/dist/logging.js +130 -0
  100. package/@tencent/polaris/dist/logging.js.map +1 -0
  101. package/@tencent/polaris/dist/metadata.d.ts +78 -0
  102. package/@tencent/polaris/dist/metadata.js +119 -0
  103. package/@tencent/polaris/dist/metadata.js.map +1 -0
  104. package/@tencent/polaris/dist/plugins/breaker/polaris.d.ts +47 -0
  105. package/@tencent/polaris/dist/plugins/breaker/polaris.js +162 -0
  106. package/@tencent/polaris/dist/plugins/breaker/polaris.js.map +1 -0
  107. package/@tencent/polaris/dist/plugins/lb/base.d.ts +24 -0
  108. package/@tencent/polaris/dist/plugins/lb/base.js +32 -0
  109. package/@tencent/polaris/dist/plugins/lb/base.js.map +1 -0
  110. package/@tencent/polaris/dist/plugins/lb/edf.d.ts +24 -0
  111. package/@tencent/polaris/dist/plugins/lb/edf.js +77 -0
  112. package/@tencent/polaris/dist/plugins/lb/edf.js.map +1 -0
  113. package/@tencent/polaris/dist/plugins/lb/hashring.d.ts +24 -0
  114. package/@tencent/polaris/dist/plugins/lb/hashring.js +53 -0
  115. package/@tencent/polaris/dist/plugins/lb/hashring.js.map +1 -0
  116. package/@tencent/polaris/dist/plugins/lb/sticky.d.ts +31 -0
  117. package/@tencent/polaris/dist/plugins/lb/sticky.js +88 -0
  118. package/@tencent/polaris/dist/plugins/lb/sticky.js.map +1 -0
  119. package/@tencent/polaris/dist/plugins/lb/swrr.d.ts +25 -0
  120. package/@tencent/polaris/dist/plugins/lb/swrr.js +72 -0
  121. package/@tencent/polaris/dist/plugins/lb/swrr.js.map +1 -0
  122. package/@tencent/polaris/dist/plugins/lb/wr.d.ts +17 -0
  123. package/@tencent/polaris/dist/plugins/lb/wr.js +50 -0
  124. package/@tencent/polaris/dist/plugins/lb/wr.js.map +1 -0
  125. package/@tencent/polaris/dist/plugins/lb/wrr.d.ts +19 -0
  126. package/@tencent/polaris/dist/plugins/lb/wrr.js +81 -0
  127. package/@tencent/polaris/dist/plugins/lb/wrr.js.map +1 -0
  128. package/@tencent/polaris/dist/plugins/logging/console.d.ts +10 -0
  129. package/@tencent/polaris/dist/plugins/logging/console.js +38 -0
  130. package/@tencent/polaris/dist/plugins/logging/console.js.map +1 -0
  131. package/@tencent/polaris/dist/plugins/naming/local-server/index.d.ts +32 -0
  132. package/@tencent/polaris/dist/plugins/naming/local-server/index.js +88 -0
  133. package/@tencent/polaris/dist/plugins/naming/local-server/index.js.map +1 -0
  134. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.d.ts +124 -0
  135. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js +398 -0
  136. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/base.js.map +1 -0
  137. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.d.ts +27 -0
  138. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js +287 -0
  139. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/discover.js.map +1 -0
  140. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.d.ts +15 -0
  141. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js +43 -0
  142. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/index.js.map +1 -0
  143. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.d.ts +28 -0
  144. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js +249 -0
  145. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/monitor.js.map +1 -0
  146. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.d.ts +19 -0
  147. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js +222 -0
  148. package/@tencent/polaris/dist/plugins/naming/polaris-server/adapter/ratelimit.js.map +1 -0
  149. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.d.ts +26 -0
  150. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js +99 -0
  151. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/bidi.js.map +1 -0
  152. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.d.ts +60 -0
  153. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js +259 -0
  154. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/index.js.map +1 -0
  155. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/discover.proto +24 -0
  156. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/monitor.proto +18 -0
  157. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/grpc/pb/ratelimit.proto +12 -0
  158. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.d.ts +39 -0
  159. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js +115 -0
  160. package/@tencent/polaris/dist/plugins/naming/polaris-server/connector/http/index.js.map +1 -0
  161. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/api.proto +24 -0
  162. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/client.proto +22 -0
  163. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/model.proto +28 -0
  164. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/ratelimit.proto +80 -0
  165. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/request.proto +18 -0
  166. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/response.proto +65 -0
  167. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/routing.proto +66 -0
  168. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/service.proto +95 -0
  169. package/@tencent/polaris/dist/plugins/naming/polaris-server/discover-pb/types.d.ts +1568 -0
  170. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.d.ts +36 -0
  171. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js +51 -0
  172. package/@tencent/polaris/dist/plugins/naming/polaris-server/index.js.map +1 -0
  173. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/api.proto +18 -0
  174. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/circuitbreak.proto +67 -0
  175. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/request.proto +82 -0
  176. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/response.proto +11 -0
  177. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkcache.proto +46 -0
  178. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdkconfiguration.proto +16 -0
  179. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/sdktoken.proto +10 -0
  180. package/@tencent/polaris/dist/plugins/naming/polaris-server/monitor-pb/types.d.ts +1102 -0
  181. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.d.ts +29 -0
  182. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js +77 -0
  183. package/@tencent/polaris/dist/plugins/naming/polaris-server/pool.js.map +1 -0
  184. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/api.proto +12 -0
  185. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/ratelimit.proto +28 -0
  186. package/@tencent/polaris/dist/plugins/naming/polaris-server/ratelimit-pb/types.d.ts +395 -0
  187. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.d.ts +13 -0
  188. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js +116 -0
  189. package/@tencent/polaris/dist/plugins/naming/polaris-server/rules.js.map +1 -0
  190. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.d.ts +67 -0
  191. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js +67 -0
  192. package/@tencent/polaris/dist/plugins/naming/polaris-server/types.js.map +1 -0
  193. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.d.ts +99 -0
  194. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js +217 -0
  195. package/@tencent/polaris/dist/plugins/naming/polaris-server/utils.js.map +1 -0
  196. package/@tencent/polaris/dist/plugins/registry/memory.d.ts +10 -0
  197. package/@tencent/polaris/dist/plugins/registry/memory.js +50 -0
  198. package/@tencent/polaris/dist/plugins/registry/memory.js.map +1 -0
  199. package/@tencent/polaris/dist/plugins/router/polaris/nearby.d.ts +51 -0
  200. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js +145 -0
  201. package/@tencent/polaris/dist/plugins/router/polaris/nearby.js.map +1 -0
  202. package/@tencent/polaris/dist/plugins/router/polaris/rule.d.ts +11 -0
  203. package/@tencent/polaris/dist/plugins/router/polaris/rule.js +174 -0
  204. package/@tencent/polaris/dist/plugins/router/polaris/rule.js.map +1 -0
  205. package/@tencent/polaris/dist/plugins/router/trpc/canary.d.ts +25 -0
  206. package/@tencent/polaris/dist/plugins/router/trpc/canary.js +36 -0
  207. package/@tencent/polaris/dist/plugins/router/trpc/canary.js.map +1 -0
  208. package/@tencent/polaris/dist/plugins/router/trpc/env.d.ts +10 -0
  209. package/@tencent/polaris/dist/plugins/router/trpc/env.js +34 -0
  210. package/@tencent/polaris/dist/plugins/router/trpc/env.js.map +1 -0
  211. package/@tencent/polaris/dist/plugins/router/trpc/set.d.ts +56 -0
  212. package/@tencent/polaris/dist/plugins/router/trpc/set.js +106 -0
  213. package/@tencent/polaris/dist/plugins/router/trpc/set.js.map +1 -0
  214. package/@tencent/polaris/dist/plugins/shaping/unirate.d.ts +31 -0
  215. package/@tencent/polaris/dist/plugins/shaping/unirate.js +124 -0
  216. package/@tencent/polaris/dist/plugins/shaping/unirate.js.map +1 -0
  217. package/@tencent/polaris/dist/plugins/shaping/warmup.d.ts +61 -0
  218. package/@tencent/polaris/dist/plugins/shaping/warmup.js +171 -0
  219. package/@tencent/polaris/dist/plugins/shaping/warmup.js.map +1 -0
  220. package/@tencent/polaris/dist/plugins/weight/polaris.d.ts +23 -0
  221. package/@tencent/polaris/dist/plugins/weight/polaris.js +159 -0
  222. package/@tencent/polaris/dist/plugins/weight/polaris.js.map +1 -0
  223. package/@tencent/polaris/dist/plugins.d.ts +619 -0
  224. package/@tencent/polaris/dist/plugins.js +91 -0
  225. package/@tencent/polaris/dist/plugins.js.map +1 -0
  226. package/@tencent/polaris/dist/polaris.d.ts +33 -0
  227. package/@tencent/polaris/dist/polaris.js +59 -0
  228. package/@tencent/polaris/dist/polaris.js.map +1 -0
  229. package/@tencent/polaris/dist/provider/index.d.ts +102 -0
  230. package/@tencent/polaris/dist/provider/index.js +168 -0
  231. package/@tencent/polaris/dist/provider/index.js.map +1 -0
  232. package/@tencent/polaris/dist/registry.d.ts +174 -0
  233. package/@tencent/polaris/dist/registry.js +660 -0
  234. package/@tencent/polaris/dist/registry.js.map +1 -0
  235. package/@tencent/polaris/dist/rules.d.ts +163 -0
  236. package/@tencent/polaris/dist/rules.js +24 -0
  237. package/@tencent/polaris/dist/rules.js.map +1 -0
  238. package/@tencent/polaris/dist/scripts/postinstall.d.ts +1 -0
  239. package/@tencent/polaris/dist/scripts/postinstall.js +71 -0
  240. package/@tencent/polaris/dist/scripts/postinstall.js.map +1 -0
  241. package/@tencent/polaris/dist/service.d.ts +18 -0
  242. package/@tencent/polaris/dist/service.js +3 -0
  243. package/@tencent/polaris/dist/service.js.map +1 -0
  244. package/@tencent/polaris/dist/skeleton.d.ts +87 -0
  245. package/@tencent/polaris/dist/skeleton.js +282 -0
  246. package/@tencent/polaris/dist/skeleton.js.map +1 -0
  247. package/@tencent/polaris/dist/utils.d.ts +36 -0
  248. package/@tencent/polaris/dist/utils.js +74 -0
  249. package/@tencent/polaris/dist/utils.js.map +1 -0
  250. package/@tencent/polaris/dist/weak.d.ts +11 -0
  251. package/@tencent/polaris/dist/weak.js +44 -0
  252. package/@tencent/polaris/dist/weak.js.map +1 -0
  253. package/@tencent/polaris/package.json +114 -0
  254. package/README.md +61 -0
  255. package/cursor-setting.png +0 -0
  256. package/index.js +16 -0
  257. package/index.js.map +1 -0
  258. package/mcp-server-prompt.png +0 -0
  259. package/mcp.json +8 -0
  260. package/package.json +49 -0
  261. package/resource/doc/tuicallkit/android/.gitkeep +0 -0
  262. package/resource/doc/tuicallkit/android/api_TUICallKit.md +610 -0
  263. package/resource/doc/tuicallkit/android/api_TUICallObserver.md +784 -0
  264. package/resource/doc/tuicallkit/android/how_to_integrated_android_callkit.md +286 -0
  265. package/resource/doc/tuicallkit/faq/faq.md +127 -0
  266. package/resource/doc/tuicallkit/flutter/api_TUICallDefine.md +938 -0
  267. package/resource/doc/tuicallkit/flutter/api_TUICallKit.md +469 -0
  268. package/resource/doc/tuicallkit/flutter/api_TUICallObserver.md +897 -0
  269. package/resource/doc/tuicallkit/flutter/how_to_integrated_flutter_callkit.md +226 -0
  270. package/resource/doc/tuicallkit/flutter/how_to_run_flutter_callkit_demo.md +101 -0
  271. package/resource/doc/tuicallkit/iOS/api_TUICallKit.md +398 -0
  272. package/resource/doc/tuicallkit/iOS/api_TUICallObserver.md +781 -0
  273. package/resource/doc/tuicallkit/iOS/how_to_integrated_iOS_callkit.md +268 -0
  274. package/resource/doc/tuicallkit/iOS/how_to_run_iOS_callkit_demo.md +98 -0
  275. package/resource/doc/tuicallkit/react/.gitkeep +0 -0
  276. package/resource/doc/tuicallkit/react/api_TUICallKit.md +354 -0
  277. package/resource/doc/tuicallkit/react/how_to_integrated_react_callkit.md +166 -0
  278. package/resource/doc/tuicallkit/react/how_to_run_react_callkit_demo.md +61 -0
  279. package/resource/doc/tuicallkit/vue/.gitkeep +0 -0
  280. package/resource/doc/tuicallkit/vue/api_TUICallKit.md +354 -0
  281. package/resource/doc/tuicallkit/vue/how_to_integrated_vue_callkit.md +187 -0
  282. package/resource/doc/tuicallkit/vue/how_to_run_vue_callkit_demo.md +61 -0
  283. package/server.js +132 -0
  284. package/server.js.map +1 -0
  285. package/streamableHttp.js +74 -0
  286. package/streamableHttp.js.map +1 -0
@@ -0,0 +1,1568 @@
1
+ import * as $protobuf from "protobufjs";
2
+ /** Namespace v1. */
3
+ export namespace v1 {
4
+
5
+ /** Represents a ServerAPI */
6
+ class ServerAPI extends $protobuf.rpc.Service {
7
+
8
+ /**
9
+ * Constructs a new ServerAPI service.
10
+ * @param rpcImpl RPC implementation
11
+ * @param [requestDelimited=false] Whether requests are length-delimited
12
+ * @param [responseDelimited=false] Whether responses are length-delimited
13
+ */
14
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
15
+
16
+ /**
17
+ * Calls ReportClient.
18
+ * @param request Client message or plain object
19
+ * @param callback Node-style callback called with the error, if any, and Response
20
+ */
21
+ public reportClient(request: v1.IClient, callback: v1.ServerAPI.ReportClientCallback): void;
22
+
23
+ /**
24
+ * Calls ReportClient.
25
+ * @param request Client message or plain object
26
+ * @returns Promise
27
+ */
28
+ public reportClient(request: v1.IClient): Promise<v1.Response>;
29
+
30
+ /**
31
+ * Calls RegisterInstance.
32
+ * @param request Instance message or plain object
33
+ * @param callback Node-style callback called with the error, if any, and Response
34
+ */
35
+ public registerInstance(request: v1.IInstance, callback: v1.ServerAPI.RegisterInstanceCallback): void;
36
+
37
+ /**
38
+ * Calls RegisterInstance.
39
+ * @param request Instance message or plain object
40
+ * @returns Promise
41
+ */
42
+ public registerInstance(request: v1.IInstance): Promise<v1.Response>;
43
+
44
+ /**
45
+ * Calls DeregisterInstance.
46
+ * @param request Instance message or plain object
47
+ * @param callback Node-style callback called with the error, if any, and Response
48
+ */
49
+ public deregisterInstance(request: v1.IInstance, callback: v1.ServerAPI.DeregisterInstanceCallback): void;
50
+
51
+ /**
52
+ * Calls DeregisterInstance.
53
+ * @param request Instance message or plain object
54
+ * @returns Promise
55
+ */
56
+ public deregisterInstance(request: v1.IInstance): Promise<v1.Response>;
57
+
58
+ /**
59
+ * Calls Discover.
60
+ * @param request DiscoverRequest message or plain object
61
+ * @param callback Node-style callback called with the error, if any, and DiscoverResponse
62
+ */
63
+ public discover(request: v1.IDiscoverRequest, callback: v1.ServerAPI.DiscoverCallback): void;
64
+
65
+ /**
66
+ * Calls Discover.
67
+ * @param request DiscoverRequest message or plain object
68
+ * @returns Promise
69
+ */
70
+ public discover(request: v1.IDiscoverRequest): Promise<v1.DiscoverResponse>;
71
+
72
+ /**
73
+ * Calls Heartbeat.
74
+ * @param request Instance message or plain object
75
+ * @param callback Node-style callback called with the error, if any, and Response
76
+ */
77
+ public heartbeat(request: v1.IInstance, callback: v1.ServerAPI.HeartbeatCallback): void;
78
+
79
+ /**
80
+ * Calls Heartbeat.
81
+ * @param request Instance message or plain object
82
+ * @returns Promise
83
+ */
84
+ public heartbeat(request: v1.IInstance): Promise<v1.Response>;
85
+ }
86
+
87
+ namespace ServerAPI {
88
+
89
+ /**
90
+ * Callback as used by {@link v1.ServerAPI#reportClient}.
91
+ * @param error Error, if any
92
+ * @param [response] Response
93
+ */
94
+ type ReportClientCallback = (error: (Error|null), response?: v1.Response) => void;
95
+
96
+ /**
97
+ * Callback as used by {@link v1.ServerAPI#registerInstance}.
98
+ * @param error Error, if any
99
+ * @param [response] Response
100
+ */
101
+ type RegisterInstanceCallback = (error: (Error|null), response?: v1.Response) => void;
102
+
103
+ /**
104
+ * Callback as used by {@link v1.ServerAPI#deregisterInstance}.
105
+ * @param error Error, if any
106
+ * @param [response] Response
107
+ */
108
+ type DeregisterInstanceCallback = (error: (Error|null), response?: v1.Response) => void;
109
+
110
+ /**
111
+ * Callback as used by {@link v1.ServerAPI#discover}.
112
+ * @param error Error, if any
113
+ * @param [response] DiscoverResponse
114
+ */
115
+ type DiscoverCallback = (error: (Error|null), response?: v1.DiscoverResponse) => void;
116
+
117
+ /**
118
+ * Callback as used by {@link v1.ServerAPI#heartbeat}.
119
+ * @param error Error, if any
120
+ * @param [response] Response
121
+ */
122
+ type HeartbeatCallback = (error: (Error|null), response?: v1.Response) => void;
123
+ }
124
+
125
+ /** Properties of a Client. */
126
+ interface IClient {
127
+
128
+ /** Client host */
129
+ host?: (google.protobuf.IStringValue|null);
130
+
131
+ /** Client type */
132
+ type?: (v1.Client.ClientType|null);
133
+
134
+ /** Client version */
135
+ version?: (google.protobuf.IStringValue|null);
136
+
137
+ /** Client location */
138
+ location?: (v1.ILocation|null);
139
+ }
140
+
141
+ /** Represents a Client. */
142
+ class Client implements IClient {
143
+
144
+ /**
145
+ * Constructs a new Client.
146
+ * @param [properties] Properties to set
147
+ */
148
+ constructor(properties?: v1.IClient);
149
+
150
+ /** Client host. */
151
+ public host?: (google.protobuf.IStringValue|null);
152
+
153
+ /** Client type. */
154
+ public type: v1.Client.ClientType;
155
+
156
+ /** Client version. */
157
+ public version?: (google.protobuf.IStringValue|null);
158
+
159
+ /** Client location. */
160
+ public location?: (v1.ILocation|null);
161
+ }
162
+
163
+ namespace Client {
164
+
165
+ /** ClientType enum. */
166
+ enum ClientType {
167
+ UNKNOWN = 0,
168
+ SDK = 1,
169
+ AGENT = 2
170
+ }
171
+ }
172
+
173
+ /** Properties of a Location. */
174
+ interface ILocation {
175
+
176
+ /** Location region */
177
+ region?: (google.protobuf.IStringValue|null);
178
+
179
+ /** Location zone */
180
+ zone?: (google.protobuf.IStringValue|null);
181
+
182
+ /** Location campus */
183
+ campus?: (google.protobuf.IStringValue|null);
184
+ }
185
+
186
+ /** Represents a Location. */
187
+ class Location implements ILocation {
188
+
189
+ /**
190
+ * Constructs a new Location.
191
+ * @param [properties] Properties to set
192
+ */
193
+ constructor(properties?: v1.ILocation);
194
+
195
+ /** Location region. */
196
+ public region?: (google.protobuf.IStringValue|null);
197
+
198
+ /** Location zone. */
199
+ public zone?: (google.protobuf.IStringValue|null);
200
+
201
+ /** Location campus. */
202
+ public campus?: (google.protobuf.IStringValue|null);
203
+ }
204
+
205
+ /** Properties of a MatchString. */
206
+ interface IMatchString {
207
+
208
+ /** MatchString type */
209
+ type?: (v1.MatchString.MatchStringType|null);
210
+
211
+ /** MatchString value */
212
+ value?: (google.protobuf.IStringValue|null);
213
+
214
+ /** MatchString value_type */
215
+ value_type?: (v1.MatchString.ValueType|null);
216
+ }
217
+
218
+ /** Represents a MatchString. */
219
+ class MatchString implements IMatchString {
220
+
221
+ /**
222
+ * Constructs a new MatchString.
223
+ * @param [properties] Properties to set
224
+ */
225
+ constructor(properties?: v1.IMatchString);
226
+
227
+ /** MatchString type. */
228
+ public type: v1.MatchString.MatchStringType;
229
+
230
+ /** MatchString value. */
231
+ public value?: (google.protobuf.IStringValue|null);
232
+
233
+ /** MatchString value_type. */
234
+ public value_type: v1.MatchString.ValueType;
235
+ }
236
+
237
+ namespace MatchString {
238
+
239
+ /** MatchStringType enum. */
240
+ enum MatchStringType {
241
+ EXACT = 0,
242
+ REGEX = 1
243
+ }
244
+
245
+ /** ValueType enum. */
246
+ enum ValueType {
247
+ TEXT = 0,
248
+ PARAMETER = 1,
249
+ VARIABLE = 2
250
+ }
251
+ }
252
+
253
+ /** Properties of a Namespace. */
254
+ interface INamespace {
255
+
256
+ /** Namespace name */
257
+ name?: (google.protobuf.IStringValue|null);
258
+
259
+ /** Namespace comment */
260
+ comment?: (google.protobuf.IStringValue|null);
261
+
262
+ /** Namespace owners */
263
+ owners?: (google.protobuf.IStringValue|null);
264
+
265
+ /** Namespace token */
266
+ token?: (google.protobuf.IStringValue|null);
267
+
268
+ /** Namespace ctime */
269
+ ctime?: (google.protobuf.IStringValue|null);
270
+
271
+ /** Namespace mtime */
272
+ mtime?: (google.protobuf.IStringValue|null);
273
+ }
274
+
275
+ /** Represents a Namespace. */
276
+ class Namespace implements INamespace {
277
+
278
+ /**
279
+ * Constructs a new Namespace.
280
+ * @param [properties] Properties to set
281
+ */
282
+ constructor(properties?: v1.INamespace);
283
+
284
+ /** Namespace name. */
285
+ public name?: (google.protobuf.IStringValue|null);
286
+
287
+ /** Namespace comment. */
288
+ public comment?: (google.protobuf.IStringValue|null);
289
+
290
+ /** Namespace owners. */
291
+ public owners?: (google.protobuf.IStringValue|null);
292
+
293
+ /** Namespace token. */
294
+ public token?: (google.protobuf.IStringValue|null);
295
+
296
+ /** Namespace ctime. */
297
+ public ctime?: (google.protobuf.IStringValue|null);
298
+
299
+ /** Namespace mtime. */
300
+ public mtime?: (google.protobuf.IStringValue|null);
301
+ }
302
+
303
+ /** Properties of a Service. */
304
+ interface IService {
305
+
306
+ /** Service name */
307
+ name?: (google.protobuf.IStringValue|null);
308
+
309
+ /** Service namespace */
310
+ namespace?: (google.protobuf.IStringValue|null);
311
+
312
+ /** Service metadata */
313
+ metadata?: ({ [k: string]: string }|null);
314
+
315
+ /** Service ports */
316
+ ports?: (google.protobuf.IStringValue|null);
317
+
318
+ /** Service business */
319
+ business?: (google.protobuf.IStringValue|null);
320
+
321
+ /** Service department */
322
+ department?: (google.protobuf.IStringValue|null);
323
+
324
+ /** Service cmdb_mod1 */
325
+ cmdb_mod1?: (google.protobuf.IStringValue|null);
326
+
327
+ /** Service cmdb_mod2 */
328
+ cmdb_mod2?: (google.protobuf.IStringValue|null);
329
+
330
+ /** Service cmdb_mod3 */
331
+ cmdb_mod3?: (google.protobuf.IStringValue|null);
332
+
333
+ /** Service comment */
334
+ comment?: (google.protobuf.IStringValue|null);
335
+
336
+ /** Service owners */
337
+ owners?: (google.protobuf.IStringValue|null);
338
+
339
+ /** Service token */
340
+ token?: (google.protobuf.IStringValue|null);
341
+
342
+ /** Service ctime */
343
+ ctime?: (google.protobuf.IStringValue|null);
344
+
345
+ /** Service mtime */
346
+ mtime?: (google.protobuf.IStringValue|null);
347
+
348
+ /** Service revision */
349
+ revision?: (google.protobuf.IStringValue|null);
350
+ }
351
+
352
+ /** Represents a Service. */
353
+ class Service implements IService {
354
+
355
+ /**
356
+ * Constructs a new Service.
357
+ * @param [properties] Properties to set
358
+ */
359
+ constructor(properties?: v1.IService);
360
+
361
+ /** Service name. */
362
+ public name?: (google.protobuf.IStringValue|null);
363
+
364
+ /** Service namespace. */
365
+ public namespace?: (google.protobuf.IStringValue|null);
366
+
367
+ /** Service metadata. */
368
+ public metadata: { [k: string]: string };
369
+
370
+ /** Service ports. */
371
+ public ports?: (google.protobuf.IStringValue|null);
372
+
373
+ /** Service business. */
374
+ public business?: (google.protobuf.IStringValue|null);
375
+
376
+ /** Service department. */
377
+ public department?: (google.protobuf.IStringValue|null);
378
+
379
+ /** Service cmdb_mod1. */
380
+ public cmdb_mod1?: (google.protobuf.IStringValue|null);
381
+
382
+ /** Service cmdb_mod2. */
383
+ public cmdb_mod2?: (google.protobuf.IStringValue|null);
384
+
385
+ /** Service cmdb_mod3. */
386
+ public cmdb_mod3?: (google.protobuf.IStringValue|null);
387
+
388
+ /** Service comment. */
389
+ public comment?: (google.protobuf.IStringValue|null);
390
+
391
+ /** Service owners. */
392
+ public owners?: (google.protobuf.IStringValue|null);
393
+
394
+ /** Service token. */
395
+ public token?: (google.protobuf.IStringValue|null);
396
+
397
+ /** Service ctime. */
398
+ public ctime?: (google.protobuf.IStringValue|null);
399
+
400
+ /** Service mtime. */
401
+ public mtime?: (google.protobuf.IStringValue|null);
402
+
403
+ /** Service revision. */
404
+ public revision?: (google.protobuf.IStringValue|null);
405
+ }
406
+
407
+ /** AliasType enum. */
408
+ enum AliasType {
409
+ DEFAULT = 0,
410
+ CL5SID = 1
411
+ }
412
+
413
+ /** Properties of a ServiceAlias. */
414
+ interface IServiceAlias {
415
+
416
+ /** ServiceAlias service */
417
+ service?: (google.protobuf.IStringValue|null);
418
+
419
+ /** ServiceAlias namespace */
420
+ namespace?: (google.protobuf.IStringValue|null);
421
+
422
+ /** ServiceAlias alias */
423
+ alias?: (google.protobuf.IStringValue|null);
424
+
425
+ /** ServiceAlias type */
426
+ type?: (v1.AliasType|null);
427
+
428
+ /** ServiceAlias owners */
429
+ owners?: (google.protobuf.IStringValue|null);
430
+
431
+ /** ServiceAlias service_token */
432
+ service_token?: (google.protobuf.IStringValue|null);
433
+
434
+ /** ServiceAlias ctime */
435
+ ctime?: (google.protobuf.IStringValue|null);
436
+
437
+ /** ServiceAlias mtime */
438
+ mtime?: (google.protobuf.IStringValue|null);
439
+ }
440
+
441
+ /** Represents a ServiceAlias. */
442
+ class ServiceAlias implements IServiceAlias {
443
+
444
+ /**
445
+ * Constructs a new ServiceAlias.
446
+ * @param [properties] Properties to set
447
+ */
448
+ constructor(properties?: v1.IServiceAlias);
449
+
450
+ /** ServiceAlias service. */
451
+ public service?: (google.protobuf.IStringValue|null);
452
+
453
+ /** ServiceAlias namespace. */
454
+ public namespace?: (google.protobuf.IStringValue|null);
455
+
456
+ /** ServiceAlias alias. */
457
+ public alias?: (google.protobuf.IStringValue|null);
458
+
459
+ /** ServiceAlias type. */
460
+ public type: v1.AliasType;
461
+
462
+ /** ServiceAlias owners. */
463
+ public owners?: (google.protobuf.IStringValue|null);
464
+
465
+ /** ServiceAlias service_token. */
466
+ public service_token?: (google.protobuf.IStringValue|null);
467
+
468
+ /** ServiceAlias ctime. */
469
+ public ctime?: (google.protobuf.IStringValue|null);
470
+
471
+ /** ServiceAlias mtime. */
472
+ public mtime?: (google.protobuf.IStringValue|null);
473
+ }
474
+
475
+ /** Properties of an Instance. */
476
+ interface IInstance {
477
+
478
+ /** Instance id */
479
+ id?: (google.protobuf.IStringValue|null);
480
+
481
+ /** Instance service */
482
+ service?: (google.protobuf.IStringValue|null);
483
+
484
+ /** Instance namespace */
485
+ namespace?: (google.protobuf.IStringValue|null);
486
+
487
+ /** Instance vpc_id */
488
+ vpc_id?: (google.protobuf.IStringValue|null);
489
+
490
+ /** Instance host */
491
+ host?: (google.protobuf.IStringValue|null);
492
+
493
+ /** Instance port */
494
+ port?: (google.protobuf.IUInt32Value|null);
495
+
496
+ /** Instance protocol */
497
+ protocol?: (google.protobuf.IStringValue|null);
498
+
499
+ /** Instance version */
500
+ version?: (google.protobuf.IStringValue|null);
501
+
502
+ /** Instance priority */
503
+ priority?: (google.protobuf.IUInt32Value|null);
504
+
505
+ /** Instance weight */
506
+ weight?: (google.protobuf.IUInt32Value|null);
507
+
508
+ /** Instance enable_health_check */
509
+ enable_health_check?: (google.protobuf.IBoolValue|null);
510
+
511
+ /** Instance health_check */
512
+ health_check?: (v1.IHealthCheck|null);
513
+
514
+ /** Instance healthy */
515
+ healthy?: (google.protobuf.IBoolValue|null);
516
+
517
+ /** Instance isolate */
518
+ isolate?: (google.protobuf.IBoolValue|null);
519
+
520
+ /** Instance location */
521
+ location?: (v1.ILocation|null);
522
+
523
+ /** Instance metadata */
524
+ metadata?: ({ [k: string]: string }|null);
525
+
526
+ /** Instance logic_set */
527
+ logic_set?: (google.protobuf.IStringValue|null);
528
+
529
+ /** Instance ctime */
530
+ ctime?: (google.protobuf.IStringValue|null);
531
+
532
+ /** Instance mtime */
533
+ mtime?: (google.protobuf.IStringValue|null);
534
+
535
+ /** Instance revision */
536
+ revision?: (google.protobuf.IStringValue|null);
537
+
538
+ /** Instance service_token */
539
+ service_token?: (google.protobuf.IStringValue|null);
540
+ }
541
+
542
+ /** Represents an Instance. */
543
+ class Instance implements IInstance {
544
+
545
+ /**
546
+ * Constructs a new Instance.
547
+ * @param [properties] Properties to set
548
+ */
549
+ constructor(properties?: v1.IInstance);
550
+
551
+ /** Instance id. */
552
+ public id?: (google.protobuf.IStringValue|null);
553
+
554
+ /** Instance service. */
555
+ public service?: (google.protobuf.IStringValue|null);
556
+
557
+ /** Instance namespace. */
558
+ public namespace?: (google.protobuf.IStringValue|null);
559
+
560
+ /** Instance vpc_id. */
561
+ public vpc_id?: (google.protobuf.IStringValue|null);
562
+
563
+ /** Instance host. */
564
+ public host?: (google.protobuf.IStringValue|null);
565
+
566
+ /** Instance port. */
567
+ public port?: (google.protobuf.IUInt32Value|null);
568
+
569
+ /** Instance protocol. */
570
+ public protocol?: (google.protobuf.IStringValue|null);
571
+
572
+ /** Instance version. */
573
+ public version?: (google.protobuf.IStringValue|null);
574
+
575
+ /** Instance priority. */
576
+ public priority?: (google.protobuf.IUInt32Value|null);
577
+
578
+ /** Instance weight. */
579
+ public weight?: (google.protobuf.IUInt32Value|null);
580
+
581
+ /** Instance enable_health_check. */
582
+ public enable_health_check?: (google.protobuf.IBoolValue|null);
583
+
584
+ /** Instance health_check. */
585
+ public health_check?: (v1.IHealthCheck|null);
586
+
587
+ /** Instance healthy. */
588
+ public healthy?: (google.protobuf.IBoolValue|null);
589
+
590
+ /** Instance isolate. */
591
+ public isolate?: (google.protobuf.IBoolValue|null);
592
+
593
+ /** Instance location. */
594
+ public location?: (v1.ILocation|null);
595
+
596
+ /** Instance metadata. */
597
+ public metadata: { [k: string]: string };
598
+
599
+ /** Instance logic_set. */
600
+ public logic_set?: (google.protobuf.IStringValue|null);
601
+
602
+ /** Instance ctime. */
603
+ public ctime?: (google.protobuf.IStringValue|null);
604
+
605
+ /** Instance mtime. */
606
+ public mtime?: (google.protobuf.IStringValue|null);
607
+
608
+ /** Instance revision. */
609
+ public revision?: (google.protobuf.IStringValue|null);
610
+
611
+ /** Instance service_token. */
612
+ public service_token?: (google.protobuf.IStringValue|null);
613
+ }
614
+
615
+ /** Properties of a HealthCheck. */
616
+ interface IHealthCheck {
617
+
618
+ /** HealthCheck type */
619
+ type?: (v1.HealthCheck.HealthCheckType|null);
620
+
621
+ /** HealthCheck heartbeat */
622
+ heartbeat?: (v1.IHeartbeatHealthCheck|null);
623
+ }
624
+
625
+ /** Represents a HealthCheck. */
626
+ class HealthCheck implements IHealthCheck {
627
+
628
+ /**
629
+ * Constructs a new HealthCheck.
630
+ * @param [properties] Properties to set
631
+ */
632
+ constructor(properties?: v1.IHealthCheck);
633
+
634
+ /** HealthCheck type. */
635
+ public type: v1.HealthCheck.HealthCheckType;
636
+
637
+ /** HealthCheck heartbeat. */
638
+ public heartbeat?: (v1.IHeartbeatHealthCheck|null);
639
+ }
640
+
641
+ namespace HealthCheck {
642
+
643
+ /** HealthCheckType enum. */
644
+ enum HealthCheckType {
645
+ UNKNOWN = 0,
646
+ HEARTBEAT = 1
647
+ }
648
+ }
649
+
650
+ /** Properties of a HeartbeatHealthCheck. */
651
+ interface IHeartbeatHealthCheck {
652
+
653
+ /** HeartbeatHealthCheck ttl */
654
+ ttl?: (google.protobuf.IUInt32Value|null);
655
+ }
656
+
657
+ /** Represents a HeartbeatHealthCheck. */
658
+ class HeartbeatHealthCheck implements IHeartbeatHealthCheck {
659
+
660
+ /**
661
+ * Constructs a new HeartbeatHealthCheck.
662
+ * @param [properties] Properties to set
663
+ */
664
+ constructor(properties?: v1.IHeartbeatHealthCheck);
665
+
666
+ /** HeartbeatHealthCheck ttl. */
667
+ public ttl?: (google.protobuf.IUInt32Value|null);
668
+ }
669
+
670
+ /** Properties of a DiscoverRequest. */
671
+ interface IDiscoverRequest {
672
+
673
+ /** DiscoverRequest type */
674
+ type?: (v1.DiscoverRequest.DiscoverRequestType|null);
675
+
676
+ /** DiscoverRequest service */
677
+ service?: (v1.IService|null);
678
+ }
679
+
680
+ /** Represents a DiscoverRequest. */
681
+ class DiscoverRequest implements IDiscoverRequest {
682
+
683
+ /**
684
+ * Constructs a new DiscoverRequest.
685
+ * @param [properties] Properties to set
686
+ */
687
+ constructor(properties?: v1.IDiscoverRequest);
688
+
689
+ /** DiscoverRequest type. */
690
+ public type: v1.DiscoverRequest.DiscoverRequestType;
691
+
692
+ /** DiscoverRequest service. */
693
+ public service?: (v1.IService|null);
694
+ }
695
+
696
+ namespace DiscoverRequest {
697
+
698
+ /** DiscoverRequestType enum. */
699
+ enum DiscoverRequestType {
700
+ UNKNOWN = 0,
701
+ INSTANCE = 1,
702
+ CLUSTER = 2,
703
+ ROUTING = 3,
704
+ RATE_LIMIT = 4
705
+ }
706
+ }
707
+
708
+ /** Properties of a SimpleResponse. */
709
+ interface ISimpleResponse {
710
+
711
+ /** SimpleResponse code */
712
+ code?: (google.protobuf.IUInt32Value|null);
713
+
714
+ /** SimpleResponse info */
715
+ info?: (google.protobuf.IStringValue|null);
716
+ }
717
+
718
+ /** Represents a SimpleResponse. */
719
+ class SimpleResponse implements ISimpleResponse {
720
+
721
+ /**
722
+ * Constructs a new SimpleResponse.
723
+ * @param [properties] Properties to set
724
+ */
725
+ constructor(properties?: v1.ISimpleResponse);
726
+
727
+ /** SimpleResponse code. */
728
+ public code?: (google.protobuf.IUInt32Value|null);
729
+
730
+ /** SimpleResponse info. */
731
+ public info?: (google.protobuf.IStringValue|null);
732
+ }
733
+
734
+ /** Properties of a Response. */
735
+ interface IResponse {
736
+
737
+ /** Response code */
738
+ code?: (google.protobuf.IUInt32Value|null);
739
+
740
+ /** Response info */
741
+ info?: (google.protobuf.IStringValue|null);
742
+
743
+ /** Response client */
744
+ client?: (v1.IClient|null);
745
+
746
+ /** Response namespace */
747
+ namespace?: (v1.INamespace|null);
748
+
749
+ /** Response service */
750
+ service?: (v1.IService|null);
751
+
752
+ /** Response instance */
753
+ instance?: (v1.IInstance|null);
754
+
755
+ /** Response routing */
756
+ routing?: (v1.IRouting|null);
757
+
758
+ /** Response alias */
759
+ alias?: (v1.IServiceAlias|null);
760
+
761
+ /** Response rateLimit */
762
+ rateLimit?: (v1.IRule|null);
763
+ }
764
+
765
+ /** Represents a Response. */
766
+ class Response implements IResponse {
767
+
768
+ /**
769
+ * Constructs a new Response.
770
+ * @param [properties] Properties to set
771
+ */
772
+ constructor(properties?: v1.IResponse);
773
+
774
+ /** Response code. */
775
+ public code?: (google.protobuf.IUInt32Value|null);
776
+
777
+ /** Response info. */
778
+ public info?: (google.protobuf.IStringValue|null);
779
+
780
+ /** Response client. */
781
+ public client?: (v1.IClient|null);
782
+
783
+ /** Response namespace. */
784
+ public namespace?: (v1.INamespace|null);
785
+
786
+ /** Response service. */
787
+ public service?: (v1.IService|null);
788
+
789
+ /** Response instance. */
790
+ public instance?: (v1.IInstance|null);
791
+
792
+ /** Response routing. */
793
+ public routing?: (v1.IRouting|null);
794
+
795
+ /** Response alias. */
796
+ public alias?: (v1.IServiceAlias|null);
797
+
798
+ /** Response rateLimit. */
799
+ public rateLimit?: (v1.IRule|null);
800
+ }
801
+
802
+ /** Properties of a BatchWriteResponse. */
803
+ interface IBatchWriteResponse {
804
+
805
+ /** BatchWriteResponse code */
806
+ code?: (google.protobuf.IUInt32Value|null);
807
+
808
+ /** BatchWriteResponse info */
809
+ info?: (google.protobuf.IStringValue|null);
810
+
811
+ /** BatchWriteResponse size */
812
+ size?: (google.protobuf.IUInt32Value|null);
813
+
814
+ /** BatchWriteResponse responses */
815
+ responses?: (v1.IResponse[]|null);
816
+ }
817
+
818
+ /** Represents a BatchWriteResponse. */
819
+ class BatchWriteResponse implements IBatchWriteResponse {
820
+
821
+ /**
822
+ * Constructs a new BatchWriteResponse.
823
+ * @param [properties] Properties to set
824
+ */
825
+ constructor(properties?: v1.IBatchWriteResponse);
826
+
827
+ /** BatchWriteResponse code. */
828
+ public code?: (google.protobuf.IUInt32Value|null);
829
+
830
+ /** BatchWriteResponse info. */
831
+ public info?: (google.protobuf.IStringValue|null);
832
+
833
+ /** BatchWriteResponse size. */
834
+ public size?: (google.protobuf.IUInt32Value|null);
835
+
836
+ /** BatchWriteResponse responses. */
837
+ public responses: v1.IResponse[];
838
+ }
839
+
840
+ /** Properties of a BatchQueryResponse. */
841
+ interface IBatchQueryResponse {
842
+
843
+ /** BatchQueryResponse code */
844
+ code?: (google.protobuf.IUInt32Value|null);
845
+
846
+ /** BatchQueryResponse info */
847
+ info?: (google.protobuf.IStringValue|null);
848
+
849
+ /** BatchQueryResponse amount */
850
+ amount?: (google.protobuf.IUInt32Value|null);
851
+
852
+ /** BatchQueryResponse size */
853
+ size?: (google.protobuf.IUInt32Value|null);
854
+
855
+ /** BatchQueryResponse namespaces */
856
+ namespaces?: (v1.INamespace[]|null);
857
+
858
+ /** BatchQueryResponse services */
859
+ services?: (v1.IService[]|null);
860
+
861
+ /** BatchQueryResponse instances */
862
+ instances?: (v1.IInstance[]|null);
863
+
864
+ /** BatchQueryResponse routings */
865
+ routings?: (v1.IRouting[]|null);
866
+
867
+ /** BatchQueryResponse aliases */
868
+ aliases?: (v1.IServiceAlias[]|null);
869
+
870
+ /** BatchQueryResponse rateLimits */
871
+ rateLimits?: (v1.IRule[]|null);
872
+ }
873
+
874
+ /** Represents a BatchQueryResponse. */
875
+ class BatchQueryResponse implements IBatchQueryResponse {
876
+
877
+ /**
878
+ * Constructs a new BatchQueryResponse.
879
+ * @param [properties] Properties to set
880
+ */
881
+ constructor(properties?: v1.IBatchQueryResponse);
882
+
883
+ /** BatchQueryResponse code. */
884
+ public code?: (google.protobuf.IUInt32Value|null);
885
+
886
+ /** BatchQueryResponse info. */
887
+ public info?: (google.protobuf.IStringValue|null);
888
+
889
+ /** BatchQueryResponse amount. */
890
+ public amount?: (google.protobuf.IUInt32Value|null);
891
+
892
+ /** BatchQueryResponse size. */
893
+ public size?: (google.protobuf.IUInt32Value|null);
894
+
895
+ /** BatchQueryResponse namespaces. */
896
+ public namespaces: v1.INamespace[];
897
+
898
+ /** BatchQueryResponse services. */
899
+ public services: v1.IService[];
900
+
901
+ /** BatchQueryResponse instances. */
902
+ public instances: v1.IInstance[];
903
+
904
+ /** BatchQueryResponse routings. */
905
+ public routings: v1.IRouting[];
906
+
907
+ /** BatchQueryResponse aliases. */
908
+ public aliases: v1.IServiceAlias[];
909
+
910
+ /** BatchQueryResponse rateLimits. */
911
+ public rateLimits: v1.IRule[];
912
+ }
913
+
914
+ /** Properties of a DiscoverResponse. */
915
+ interface IDiscoverResponse {
916
+
917
+ /** DiscoverResponse code */
918
+ code?: (google.protobuf.IUInt32Value|null);
919
+
920
+ /** DiscoverResponse info */
921
+ info?: (google.protobuf.IStringValue|null);
922
+
923
+ /** DiscoverResponse type */
924
+ type?: (v1.DiscoverResponse.DiscoverResponseType|null);
925
+
926
+ /** DiscoverResponse service */
927
+ service?: (v1.IService|null);
928
+
929
+ /** DiscoverResponse instances */
930
+ instances?: (v1.IInstance[]|null);
931
+
932
+ /** DiscoverResponse routing */
933
+ routing?: (v1.IRouting|null);
934
+
935
+ /** DiscoverResponse rateLimit */
936
+ rateLimit?: (v1.IRateLimit|null);
937
+ }
938
+
939
+ /** Represents a DiscoverResponse. */
940
+ class DiscoverResponse implements IDiscoverResponse {
941
+
942
+ /**
943
+ * Constructs a new DiscoverResponse.
944
+ * @param [properties] Properties to set
945
+ */
946
+ constructor(properties?: v1.IDiscoverResponse);
947
+
948
+ /** DiscoverResponse code. */
949
+ public code?: (google.protobuf.IUInt32Value|null);
950
+
951
+ /** DiscoverResponse info. */
952
+ public info?: (google.protobuf.IStringValue|null);
953
+
954
+ /** DiscoverResponse type. */
955
+ public type: v1.DiscoverResponse.DiscoverResponseType;
956
+
957
+ /** DiscoverResponse service. */
958
+ public service?: (v1.IService|null);
959
+
960
+ /** DiscoverResponse instances. */
961
+ public instances: v1.IInstance[];
962
+
963
+ /** DiscoverResponse routing. */
964
+ public routing?: (v1.IRouting|null);
965
+
966
+ /** DiscoverResponse rateLimit. */
967
+ public rateLimit?: (v1.IRateLimit|null);
968
+ }
969
+
970
+ namespace DiscoverResponse {
971
+
972
+ /** DiscoverResponseType enum. */
973
+ enum DiscoverResponseType {
974
+ UNKNOWN = 0,
975
+ INSTANCE = 1,
976
+ CLUSTER = 2,
977
+ ROUTING = 3,
978
+ RATE_LIMIT = 4
979
+ }
980
+ }
981
+
982
+ /** Properties of a Routing. */
983
+ interface IRouting {
984
+
985
+ /** Routing service */
986
+ service?: (google.protobuf.IStringValue|null);
987
+
988
+ /** Routing namespace */
989
+ namespace?: (google.protobuf.IStringValue|null);
990
+
991
+ /** Routing inbounds */
992
+ inbounds?: (v1.IRoute[]|null);
993
+
994
+ /** Routing outbounds */
995
+ outbounds?: (v1.IRoute[]|null);
996
+
997
+ /** Routing ctime */
998
+ ctime?: (google.protobuf.IStringValue|null);
999
+
1000
+ /** Routing mtime */
1001
+ mtime?: (google.protobuf.IStringValue|null);
1002
+
1003
+ /** Routing revision */
1004
+ revision?: (google.protobuf.IStringValue|null);
1005
+
1006
+ /** Routing service_token */
1007
+ service_token?: (google.protobuf.IStringValue|null);
1008
+ }
1009
+
1010
+ /** Represents a Routing. */
1011
+ class Routing implements IRouting {
1012
+
1013
+ /**
1014
+ * Constructs a new Routing.
1015
+ * @param [properties] Properties to set
1016
+ */
1017
+ constructor(properties?: v1.IRouting);
1018
+
1019
+ /** Routing service. */
1020
+ public service?: (google.protobuf.IStringValue|null);
1021
+
1022
+ /** Routing namespace. */
1023
+ public namespace?: (google.protobuf.IStringValue|null);
1024
+
1025
+ /** Routing inbounds. */
1026
+ public inbounds: v1.IRoute[];
1027
+
1028
+ /** Routing outbounds. */
1029
+ public outbounds: v1.IRoute[];
1030
+
1031
+ /** Routing ctime. */
1032
+ public ctime?: (google.protobuf.IStringValue|null);
1033
+
1034
+ /** Routing mtime. */
1035
+ public mtime?: (google.protobuf.IStringValue|null);
1036
+
1037
+ /** Routing revision. */
1038
+ public revision?: (google.protobuf.IStringValue|null);
1039
+
1040
+ /** Routing service_token. */
1041
+ public service_token?: (google.protobuf.IStringValue|null);
1042
+ }
1043
+
1044
+ /** Properties of a Route. */
1045
+ interface IRoute {
1046
+
1047
+ /** Route sources */
1048
+ sources?: (v1.ISource[]|null);
1049
+
1050
+ /** Route destinations */
1051
+ destinations?: (v1.IDestination[]|null);
1052
+ }
1053
+
1054
+ /** Represents a Route. */
1055
+ class Route implements IRoute {
1056
+
1057
+ /**
1058
+ * Constructs a new Route.
1059
+ * @param [properties] Properties to set
1060
+ */
1061
+ constructor(properties?: v1.IRoute);
1062
+
1063
+ /** Route sources. */
1064
+ public sources: v1.ISource[];
1065
+
1066
+ /** Route destinations. */
1067
+ public destinations: v1.IDestination[];
1068
+ }
1069
+
1070
+ /** Properties of a Source. */
1071
+ interface ISource {
1072
+
1073
+ /** Source service */
1074
+ service?: (google.protobuf.IStringValue|null);
1075
+
1076
+ /** Source namespace */
1077
+ namespace?: (google.protobuf.IStringValue|null);
1078
+
1079
+ /** Source metadata */
1080
+ metadata?: ({ [k: string]: v1.IMatchString }|null);
1081
+ }
1082
+
1083
+ /** Represents a Source. */
1084
+ class Source implements ISource {
1085
+
1086
+ /**
1087
+ * Constructs a new Source.
1088
+ * @param [properties] Properties to set
1089
+ */
1090
+ constructor(properties?: v1.ISource);
1091
+
1092
+ /** Source service. */
1093
+ public service?: (google.protobuf.IStringValue|null);
1094
+
1095
+ /** Source namespace. */
1096
+ public namespace?: (google.protobuf.IStringValue|null);
1097
+
1098
+ /** Source metadata. */
1099
+ public metadata: { [k: string]: v1.IMatchString };
1100
+ }
1101
+
1102
+ /** Properties of a Destination. */
1103
+ interface IDestination {
1104
+
1105
+ /** Destination service */
1106
+ service?: (google.protobuf.IStringValue|null);
1107
+
1108
+ /** Destination namespace */
1109
+ namespace?: (google.protobuf.IStringValue|null);
1110
+
1111
+ /** Destination metadata */
1112
+ metadata?: ({ [k: string]: v1.IMatchString }|null);
1113
+
1114
+ /** Destination priority */
1115
+ priority?: (google.protobuf.IUInt32Value|null);
1116
+
1117
+ /** Destination weight */
1118
+ weight?: (google.protobuf.IUInt32Value|null);
1119
+
1120
+ /** Destination transfer */
1121
+ transfer?: (google.protobuf.IStringValue|null);
1122
+ }
1123
+
1124
+ /** Represents a Destination. */
1125
+ class Destination implements IDestination {
1126
+
1127
+ /**
1128
+ * Constructs a new Destination.
1129
+ * @param [properties] Properties to set
1130
+ */
1131
+ constructor(properties?: v1.IDestination);
1132
+
1133
+ /** Destination service. */
1134
+ public service?: (google.protobuf.IStringValue|null);
1135
+
1136
+ /** Destination namespace. */
1137
+ public namespace?: (google.protobuf.IStringValue|null);
1138
+
1139
+ /** Destination metadata. */
1140
+ public metadata: { [k: string]: v1.IMatchString };
1141
+
1142
+ /** Destination priority. */
1143
+ public priority?: (google.protobuf.IUInt32Value|null);
1144
+
1145
+ /** Destination weight. */
1146
+ public weight?: (google.protobuf.IUInt32Value|null);
1147
+
1148
+ /** Destination transfer. */
1149
+ public transfer?: (google.protobuf.IStringValue|null);
1150
+ }
1151
+
1152
+ /** Properties of a RateLimit. */
1153
+ interface IRateLimit {
1154
+
1155
+ /** RateLimit rules */
1156
+ rules?: (v1.IRule[]|null);
1157
+
1158
+ /** RateLimit revision */
1159
+ revision?: (google.protobuf.IStringValue|null);
1160
+ }
1161
+
1162
+ /** Represents a RateLimit. */
1163
+ class RateLimit implements IRateLimit {
1164
+
1165
+ /**
1166
+ * Constructs a new RateLimit.
1167
+ * @param [properties] Properties to set
1168
+ */
1169
+ constructor(properties?: v1.IRateLimit);
1170
+
1171
+ /** RateLimit rules. */
1172
+ public rules: v1.IRule[];
1173
+
1174
+ /** RateLimit revision. */
1175
+ public revision?: (google.protobuf.IStringValue|null);
1176
+ }
1177
+
1178
+ /** Properties of a Rule. */
1179
+ interface IRule {
1180
+
1181
+ /** Rule id */
1182
+ id?: (google.protobuf.IStringValue|null);
1183
+
1184
+ /** Rule service */
1185
+ service?: (google.protobuf.IStringValue|null);
1186
+
1187
+ /** Rule namespace */
1188
+ namespace?: (google.protobuf.IStringValue|null);
1189
+
1190
+ /** Rule cluster */
1191
+ cluster?: (google.protobuf.IStringValue|null);
1192
+
1193
+ /** Rule priority */
1194
+ priority?: (google.protobuf.IUInt32Value|null);
1195
+
1196
+ /** Rule resource */
1197
+ resource?: (v1.Rule.Resource|null);
1198
+
1199
+ /** Rule type */
1200
+ type?: (v1.Rule.Type|null);
1201
+
1202
+ /** Rule labels */
1203
+ labels?: ({ [k: string]: v1.IMatchString }|null);
1204
+
1205
+ /** Rule amounts */
1206
+ amounts?: (v1.IAmount[]|null);
1207
+
1208
+ /** Rule action */
1209
+ action?: (google.protobuf.IStringValue|null);
1210
+
1211
+ /** Rule disable */
1212
+ disable?: (google.protobuf.IBoolValue|null);
1213
+
1214
+ /** Rule report */
1215
+ report?: (v1.IReport|null);
1216
+
1217
+ /** Rule ctime */
1218
+ ctime?: (google.protobuf.IStringValue|null);
1219
+
1220
+ /** Rule mtime */
1221
+ mtime?: (google.protobuf.IStringValue|null);
1222
+
1223
+ /** Rule revision */
1224
+ revision?: (google.protobuf.IStringValue|null);
1225
+
1226
+ /** Rule service_token */
1227
+ service_token?: (google.protobuf.IStringValue|null);
1228
+ }
1229
+
1230
+ /** Represents a Rule. */
1231
+ class Rule implements IRule {
1232
+
1233
+ /**
1234
+ * Constructs a new Rule.
1235
+ * @param [properties] Properties to set
1236
+ */
1237
+ constructor(properties?: v1.IRule);
1238
+
1239
+ /** Rule id. */
1240
+ public id?: (google.protobuf.IStringValue|null);
1241
+
1242
+ /** Rule service. */
1243
+ public service?: (google.protobuf.IStringValue|null);
1244
+
1245
+ /** Rule namespace. */
1246
+ public namespace?: (google.protobuf.IStringValue|null);
1247
+
1248
+ /** Rule cluster. */
1249
+ public cluster?: (google.protobuf.IStringValue|null);
1250
+
1251
+ /** Rule priority. */
1252
+ public priority?: (google.protobuf.IUInt32Value|null);
1253
+
1254
+ /** Rule resource. */
1255
+ public resource: v1.Rule.Resource;
1256
+
1257
+ /** Rule type. */
1258
+ public type: v1.Rule.Type;
1259
+
1260
+ /** Rule labels. */
1261
+ public labels: { [k: string]: v1.IMatchString };
1262
+
1263
+ /** Rule amounts. */
1264
+ public amounts: v1.IAmount[];
1265
+
1266
+ /** Rule action. */
1267
+ public action?: (google.protobuf.IStringValue|null);
1268
+
1269
+ /** Rule disable. */
1270
+ public disable?: (google.protobuf.IBoolValue|null);
1271
+
1272
+ /** Rule report. */
1273
+ public report?: (v1.IReport|null);
1274
+
1275
+ /** Rule ctime. */
1276
+ public ctime?: (google.protobuf.IStringValue|null);
1277
+
1278
+ /** Rule mtime. */
1279
+ public mtime?: (google.protobuf.IStringValue|null);
1280
+
1281
+ /** Rule revision. */
1282
+ public revision?: (google.protobuf.IStringValue|null);
1283
+
1284
+ /** Rule service_token. */
1285
+ public service_token?: (google.protobuf.IStringValue|null);
1286
+ }
1287
+
1288
+ namespace Rule {
1289
+
1290
+ /** Resource enum. */
1291
+ enum Resource {
1292
+ QPS = 0,
1293
+ CONCURRENCY = 1
1294
+ }
1295
+
1296
+ /** Type enum. */
1297
+ enum Type {
1298
+ GLOBAL = 0,
1299
+ LOCAL = 1
1300
+ }
1301
+ }
1302
+
1303
+ /** Properties of an Amount. */
1304
+ interface IAmount {
1305
+
1306
+ /** Amount maxAmount */
1307
+ maxAmount?: (google.protobuf.IUInt32Value|null);
1308
+
1309
+ /** Amount validDuration */
1310
+ validDuration?: (google.protobuf.IDuration|null);
1311
+ }
1312
+
1313
+ /** Represents an Amount. */
1314
+ class Amount implements IAmount {
1315
+
1316
+ /**
1317
+ * Constructs a new Amount.
1318
+ * @param [properties] Properties to set
1319
+ */
1320
+ constructor(properties?: v1.IAmount);
1321
+
1322
+ /** Amount maxAmount. */
1323
+ public maxAmount?: (google.protobuf.IUInt32Value|null);
1324
+
1325
+ /** Amount validDuration. */
1326
+ public validDuration?: (google.protobuf.IDuration|null);
1327
+ }
1328
+
1329
+ /** Properties of a Report. */
1330
+ interface IReport {
1331
+
1332
+ /** Report interval */
1333
+ interval?: (google.protobuf.IDuration|null);
1334
+
1335
+ /** Report amountPercent */
1336
+ amountPercent?: (google.protobuf.IUInt32Value|null);
1337
+ }
1338
+
1339
+ /** Represents a Report. */
1340
+ class Report implements IReport {
1341
+
1342
+ /**
1343
+ * Constructs a new Report.
1344
+ * @param [properties] Properties to set
1345
+ */
1346
+ constructor(properties?: v1.IReport);
1347
+
1348
+ /** Report interval. */
1349
+ public interval?: (google.protobuf.IDuration|null);
1350
+
1351
+ /** Report amountPercent. */
1352
+ public amountPercent?: (google.protobuf.IUInt32Value|null);
1353
+ }
1354
+ }
1355
+
1356
+ /** Namespace google. */
1357
+ export namespace google {
1358
+
1359
+ /** Namespace protobuf. */
1360
+ namespace protobuf {
1361
+
1362
+ /** Properties of a DoubleValue. */
1363
+ interface IDoubleValue {
1364
+
1365
+ /** DoubleValue value */
1366
+ value?: (number|null);
1367
+ }
1368
+
1369
+ /** Represents a DoubleValue. */
1370
+ class DoubleValue implements IDoubleValue {
1371
+
1372
+ /**
1373
+ * Constructs a new DoubleValue.
1374
+ * @param [properties] Properties to set
1375
+ */
1376
+ constructor(properties?: google.protobuf.IDoubleValue);
1377
+
1378
+ /** DoubleValue value. */
1379
+ public value: number;
1380
+ }
1381
+
1382
+ /** Properties of a FloatValue. */
1383
+ interface IFloatValue {
1384
+
1385
+ /** FloatValue value */
1386
+ value?: (number|null);
1387
+ }
1388
+
1389
+ /** Represents a FloatValue. */
1390
+ class FloatValue implements IFloatValue {
1391
+
1392
+ /**
1393
+ * Constructs a new FloatValue.
1394
+ * @param [properties] Properties to set
1395
+ */
1396
+ constructor(properties?: google.protobuf.IFloatValue);
1397
+
1398
+ /** FloatValue value. */
1399
+ public value: number;
1400
+ }
1401
+
1402
+ /** Properties of an Int64Value. */
1403
+ interface IInt64Value {
1404
+
1405
+ /** Int64Value value */
1406
+ value?: (number|null);
1407
+ }
1408
+
1409
+ /** Represents an Int64Value. */
1410
+ class Int64Value implements IInt64Value {
1411
+
1412
+ /**
1413
+ * Constructs a new Int64Value.
1414
+ * @param [properties] Properties to set
1415
+ */
1416
+ constructor(properties?: google.protobuf.IInt64Value);
1417
+
1418
+ /** Int64Value value. */
1419
+ public value: number;
1420
+ }
1421
+
1422
+ /** Properties of a UInt64Value. */
1423
+ interface IUInt64Value {
1424
+
1425
+ /** UInt64Value value */
1426
+ value?: (number|null);
1427
+ }
1428
+
1429
+ /** Represents a UInt64Value. */
1430
+ class UInt64Value implements IUInt64Value {
1431
+
1432
+ /**
1433
+ * Constructs a new UInt64Value.
1434
+ * @param [properties] Properties to set
1435
+ */
1436
+ constructor(properties?: google.protobuf.IUInt64Value);
1437
+
1438
+ /** UInt64Value value. */
1439
+ public value: number;
1440
+ }
1441
+
1442
+ /** Properties of an Int32Value. */
1443
+ interface IInt32Value {
1444
+
1445
+ /** Int32Value value */
1446
+ value?: (number|null);
1447
+ }
1448
+
1449
+ /** Represents an Int32Value. */
1450
+ class Int32Value implements IInt32Value {
1451
+
1452
+ /**
1453
+ * Constructs a new Int32Value.
1454
+ * @param [properties] Properties to set
1455
+ */
1456
+ constructor(properties?: google.protobuf.IInt32Value);
1457
+
1458
+ /** Int32Value value. */
1459
+ public value: number;
1460
+ }
1461
+
1462
+ /** Properties of a UInt32Value. */
1463
+ interface IUInt32Value {
1464
+
1465
+ /** UInt32Value value */
1466
+ value?: (number|null);
1467
+ }
1468
+
1469
+ /** Represents a UInt32Value. */
1470
+ class UInt32Value implements IUInt32Value {
1471
+
1472
+ /**
1473
+ * Constructs a new UInt32Value.
1474
+ * @param [properties] Properties to set
1475
+ */
1476
+ constructor(properties?: google.protobuf.IUInt32Value);
1477
+
1478
+ /** UInt32Value value. */
1479
+ public value: number;
1480
+ }
1481
+
1482
+ /** Properties of a BoolValue. */
1483
+ interface IBoolValue {
1484
+
1485
+ /** BoolValue value */
1486
+ value?: (boolean|null);
1487
+ }
1488
+
1489
+ /** Represents a BoolValue. */
1490
+ class BoolValue implements IBoolValue {
1491
+
1492
+ /**
1493
+ * Constructs a new BoolValue.
1494
+ * @param [properties] Properties to set
1495
+ */
1496
+ constructor(properties?: google.protobuf.IBoolValue);
1497
+
1498
+ /** BoolValue value. */
1499
+ public value: boolean;
1500
+ }
1501
+
1502
+ /** Properties of a StringValue. */
1503
+ interface IStringValue {
1504
+
1505
+ /** StringValue value */
1506
+ value?: (string|null);
1507
+ }
1508
+
1509
+ /** Represents a StringValue. */
1510
+ class StringValue implements IStringValue {
1511
+
1512
+ /**
1513
+ * Constructs a new StringValue.
1514
+ * @param [properties] Properties to set
1515
+ */
1516
+ constructor(properties?: google.protobuf.IStringValue);
1517
+
1518
+ /** StringValue value. */
1519
+ public value: string;
1520
+ }
1521
+
1522
+ /** Properties of a BytesValue. */
1523
+ interface IBytesValue {
1524
+
1525
+ /** BytesValue value */
1526
+ value?: (Uint8Array|null);
1527
+ }
1528
+
1529
+ /** Represents a BytesValue. */
1530
+ class BytesValue implements IBytesValue {
1531
+
1532
+ /**
1533
+ * Constructs a new BytesValue.
1534
+ * @param [properties] Properties to set
1535
+ */
1536
+ constructor(properties?: google.protobuf.IBytesValue);
1537
+
1538
+ /** BytesValue value. */
1539
+ public value: Uint8Array;
1540
+ }
1541
+
1542
+ /** Properties of a Duration. */
1543
+ interface IDuration {
1544
+
1545
+ /** Duration seconds */
1546
+ seconds?: (number|null);
1547
+
1548
+ /** Duration nanos */
1549
+ nanos?: (number|null);
1550
+ }
1551
+
1552
+ /** Represents a Duration. */
1553
+ class Duration implements IDuration {
1554
+
1555
+ /**
1556
+ * Constructs a new Duration.
1557
+ * @param [properties] Properties to set
1558
+ */
1559
+ constructor(properties?: google.protobuf.IDuration);
1560
+
1561
+ /** Duration seconds. */
1562
+ public seconds: number;
1563
+
1564
+ /** Duration nanos. */
1565
+ public nanos: number;
1566
+ }
1567
+ }
1568
+ }