@webex/jsdoctrinetest 3.0.0-beta.9 → 3.0.0-bnr.2

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 (667) hide show
  1. package/README.md +2 -2
  2. package/dist/assertions/literal.js +6 -26
  3. package/dist/assertions/literal.js.map +1 -1
  4. package/dist/extract.js +8 -24
  5. package/dist/extract.js.map +1 -1
  6. package/dist/index.js +7 -21
  7. package/dist/index.js.map +1 -1
  8. package/dist/mocha-template.js +2 -9
  9. package/dist/mocha-template.js.map +1 -1
  10. package/dist/parse.js +0 -6
  11. package/dist/parse.js.map +1 -1
  12. package/dist/transform.js +6 -18
  13. package/dist/transform.js.map +1 -1
  14. package/dist/types/@webex/common/src/base64.d.ts +38 -0
  15. package/dist/types/@webex/common/src/browser-detection.d.ts +8 -0
  16. package/dist/types/@webex/common/src/capped-debounce.d.ts +12 -0
  17. package/dist/types/@webex/common/src/check-required.d.ts +11 -0
  18. package/dist/types/@webex/common/src/constants.d.ts +76 -0
  19. package/dist/types/@webex/common/src/defer.d.ts +23 -0
  20. package/dist/types/@webex/common/src/deprecated.d.ts +7 -0
  21. package/dist/types/@webex/common/src/event-envelope.d.ts +13 -0
  22. package/dist/types/@webex/common/src/events.d.ts +15 -0
  23. package/dist/types/@webex/common/src/exception.d.ts +23 -0
  24. package/dist/types/@webex/common/src/in-browser/browser.d.ts +2 -0
  25. package/dist/types/@webex/common/src/in-browser/index.d.ts +1 -0
  26. package/dist/types/@webex/common/src/in-browser/node.d.ts +2 -0
  27. package/dist/types/@webex/common/src/index.d.ts +21 -0
  28. package/dist/types/@webex/common/src/isBuffer.d.ts +2 -0
  29. package/dist/types/@webex/common/src/make-state-datatype.d.ts +11 -0
  30. package/dist/types/@webex/common/src/one-flight.d.ts +9 -0
  31. package/dist/types/@webex/common/src/patterns.d.ts +8 -0
  32. package/dist/types/@webex/common/src/resolve-with.d.ts +22 -0
  33. package/dist/types/@webex/common/src/retry.d.ts +13 -0
  34. package/dist/types/@webex/common/src/tap.d.ts +17 -0
  35. package/dist/types/@webex/common/src/template-container.d.ts +59 -0
  36. package/dist/types/@webex/common/src/uuid-utils.d.ts +112 -0
  37. package/dist/types/@webex/common/src/while-in-flight.d.ts +7 -0
  38. package/dist/types/@webex/common/test/unit/spec/capped-debounce.d.ts +1 -0
  39. package/dist/types/@webex/common/test/unit/spec/common.d.ts +1 -0
  40. package/dist/types/@webex/common/test/unit/spec/exception.d.ts +1 -0
  41. package/dist/types/@webex/common/test/unit/spec/one-flight.d.ts +1 -0
  42. package/dist/types/@webex/common/test/unit/spec/template-container.d.ts +1 -0
  43. package/dist/types/@webex/common/test/unit/spec/while-in-flight.d.ts +1 -0
  44. package/dist/types/@webex/common-evented/src/index.d.ts +9 -0
  45. package/dist/types/@webex/common-evented/test/unit/spec/evented.d.ts +1 -0
  46. package/dist/types/@webex/common-timers/src/index.d.ts +19 -0
  47. package/dist/types/@webex/helper-html/browsers.d.ts +2 -0
  48. package/dist/types/@webex/helper-html/src/html-base.d.ts +12 -0
  49. package/dist/types/@webex/helper-html/src/html.d.ts +5 -0
  50. package/dist/types/@webex/helper-html/src/html.shim.d.ts +33 -0
  51. package/dist/types/@webex/helper-html/src/index.d.ts +1 -0
  52. package/dist/types/@webex/helper-html/test/unit/spec/html.d.ts +1 -0
  53. package/dist/types/@webex/helper-image/src/detect-filetype.d.ts +7 -0
  54. package/dist/types/@webex/helper-image/src/index.d.ts +26 -0
  55. package/dist/types/@webex/helper-image/src/process-image.browser.d.ts +19 -0
  56. package/dist/types/@webex/helper-image/src/process-image.d.ts +17 -0
  57. package/dist/types/@webex/helper-image/test/unit/spec/index.d.ts +1 -0
  58. package/dist/types/@webex/http-core/src/http-error-subtypes.d.ts +8 -0
  59. package/dist/types/@webex/http-core/src/http-error.d.ts +41 -0
  60. package/dist/types/@webex/http-core/src/index.d.ts +7 -0
  61. package/dist/types/@webex/http-core/src/interceptors/http-status.d.ts +17 -0
  62. package/dist/types/@webex/http-core/src/lib/detect.d.ts +6 -0
  63. package/dist/types/@webex/http-core/src/lib/interceptor.d.ts +51 -0
  64. package/dist/types/@webex/http-core/src/lib/xhr.d.ts +6 -0
  65. package/dist/types/@webex/http-core/src/progress-event.d.ts +18 -0
  66. package/dist/types/@webex/http-core/src/request/index.d.ts +5 -0
  67. package/dist/types/@webex/http-core/src/request/request.d.ts +6 -0
  68. package/dist/types/@webex/http-core/src/request/request.shim.d.ts +6 -0
  69. package/dist/types/@webex/http-core/test/integration/spec/http-error.d.ts +1 -0
  70. package/dist/types/@webex/http-core/test/integration/spec/interceptor.d.ts +1 -0
  71. package/dist/types/@webex/http-core/test/integration/spec/progress-event.d.ts +1 -0
  72. package/dist/types/@webex/http-core/test/integration/spec/request.d.ts +1 -0
  73. package/dist/types/@webex/http-core/test/unit/spec/interceptors/http-status.d.ts +1 -0
  74. package/dist/types/@webex/internal-plugin-avatar/src/avatar-url-batcher.d.ts +2 -0
  75. package/dist/types/@webex/internal-plugin-avatar/src/avatar-url-store.d.ts +50 -0
  76. package/dist/types/@webex/internal-plugin-avatar/src/avatar.d.ts +2 -0
  77. package/dist/types/@webex/internal-plugin-avatar/src/config.d.ts +13 -0
  78. package/dist/types/@webex/internal-plugin-avatar/src/index.d.ts +1 -0
  79. package/dist/types/@webex/internal-plugin-avatar/test/integration/spec/avatar.d.ts +1 -0
  80. package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar-url-batcher.d.ts +1 -0
  81. package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar-url-store.d.ts +1 -0
  82. package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar.d.ts +1 -0
  83. package/dist/types/@webex/internal-plugin-board/src/board.d.ts +2 -0
  84. package/dist/types/@webex/internal-plugin-board/src/config.d.ts +11 -0
  85. package/dist/types/@webex/internal-plugin-board/src/index.d.ts +4 -0
  86. package/dist/types/@webex/internal-plugin-board/src/realtime-channel-collection.d.ts +2 -0
  87. package/dist/types/@webex/internal-plugin-board/src/realtime-channel.d.ts +2 -0
  88. package/dist/types/@webex/internal-plugin-board/src/realtime.d.ts +7 -0
  89. package/dist/types/@webex/internal-plugin-board/test/integration/spec/board.d.ts +1 -0
  90. package/dist/types/@webex/internal-plugin-board/test/integration/spec/realtime.d.ts +1 -0
  91. package/dist/types/@webex/internal-plugin-board/test/integration/spec/sharing-mercury.d.ts +1 -0
  92. package/dist/types/@webex/internal-plugin-board/test/unit/spec/board.d.ts +1 -0
  93. package/dist/types/@webex/internal-plugin-board/test/unit/spec/encryption.d.ts +1 -0
  94. package/dist/types/@webex/internal-plugin-board/test/unit/spec/realtime.d.ts +1 -0
  95. package/dist/types/@webex/internal-plugin-calendar/src/calendar.d.ts +2 -0
  96. package/dist/types/@webex/internal-plugin-calendar/src/collection.d.ts +58 -0
  97. package/dist/types/@webex/internal-plugin-calendar/src/config.d.ts +7 -0
  98. package/dist/types/@webex/internal-plugin-calendar/src/constants.d.ts +6 -0
  99. package/dist/types/@webex/internal-plugin-calendar/src/index.d.ts +1 -0
  100. package/dist/types/@webex/internal-plugin-calendar/src/util.d.ts +15 -0
  101. package/dist/types/@webex/internal-plugin-calendar/test/integration/spec/calendar.d.ts +1 -0
  102. package/dist/types/@webex/internal-plugin-calendar/test/unit/spec/calendar.d.ts +1 -0
  103. package/dist/types/@webex/internal-plugin-calendar/test/unit/spec/utils.d.ts +1 -0
  104. package/dist/types/@webex/internal-plugin-conversation/src/activities.d.ts +32 -0
  105. package/dist/types/@webex/internal-plugin-conversation/src/activity-thread-ordering.d.ts +18 -0
  106. package/dist/types/@webex/internal-plugin-conversation/src/config.d.ts +19 -0
  107. package/dist/types/@webex/internal-plugin-conversation/src/constants.d.ts +5 -0
  108. package/dist/types/@webex/internal-plugin-conversation/src/conversation.d.ts +2 -0
  109. package/dist/types/@webex/internal-plugin-conversation/src/convo-error.d.ts +10 -0
  110. package/dist/types/@webex/internal-plugin-conversation/src/decryption-transforms.d.ts +1 -0
  111. package/dist/types/@webex/internal-plugin-conversation/src/encryption-transforms.d.ts +1 -0
  112. package/dist/types/@webex/internal-plugin-conversation/src/index.d.ts +3 -0
  113. package/dist/types/@webex/internal-plugin-conversation/src/share-activity.d.ts +7 -0
  114. package/dist/types/@webex/internal-plugin-conversation/src/to-array.d.ts +9 -0
  115. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/create.d.ts +1 -0
  116. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/encryption.d.ts +1 -0
  117. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/get.d.ts +1 -0
  118. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/mercury.d.ts +1 -0
  119. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/share.d.ts +1 -0
  120. package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/verbs.d.ts +1 -0
  121. package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/conversation.d.ts +1 -0
  122. package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/decrypt-transforms.d.ts +1 -0
  123. package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/encryption-transforms.d.ts +1 -0
  124. package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/share-activity.d.ts +1 -0
  125. package/dist/types/@webex/internal-plugin-device/src/config.d.ts +10 -0
  126. package/dist/types/@webex/internal-plugin-device/src/constants.d.ts +12 -0
  127. package/dist/types/@webex/internal-plugin-device/src/device.d.ts +2 -0
  128. package/dist/types/@webex/internal-plugin-device/src/features/feature-collection.d.ts +9 -0
  129. package/dist/types/@webex/internal-plugin-device/src/features/feature-model.d.ts +29 -0
  130. package/dist/types/@webex/internal-plugin-device/src/features/features-model.d.ts +9 -0
  131. package/dist/types/@webex/internal-plugin-device/src/features/index.d.ts +4 -0
  132. package/dist/types/@webex/internal-plugin-device/src/index.d.ts +8 -0
  133. package/dist/types/@webex/internal-plugin-device/src/interceptors/device-url.d.ts +15 -0
  134. package/dist/types/@webex/internal-plugin-device/src/metrics.d.ts +5 -0
  135. package/dist/types/@webex/internal-plugin-device/test/integration/spec/device.d.ts +1 -0
  136. package/dist/types/@webex/internal-plugin-device/test/integration/spec/webex.d.ts +1 -0
  137. package/dist/types/@webex/internal-plugin-device/test/unit/spec/device.d.ts +1 -0
  138. package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/feature-collection.d.ts +1 -0
  139. package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/feature-model.d.ts +1 -0
  140. package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/features-model.d.ts +1 -0
  141. package/dist/types/@webex/internal-plugin-device/test/unit/spec/interceptors/device-url.d.ts +1 -0
  142. package/dist/types/@webex/internal-plugin-dss/src/constants.d.ts +14 -0
  143. package/dist/types/@webex/internal-plugin-dss/src/dss.d.ts +3 -0
  144. package/dist/types/@webex/internal-plugin-dss/src/index.d.ts +1 -0
  145. package/dist/types/@webex/internal-plugin-dss/src/types.d.ts +28 -0
  146. package/dist/types/@webex/internal-plugin-dss/test/unit/spec/dss.d.ts +4 -0
  147. package/dist/types/@webex/internal-plugin-ediscovery/src/config.d.ts +11 -0
  148. package/dist/types/@webex/internal-plugin-ediscovery/src/ediscovery-error.d.ts +11 -0
  149. package/dist/types/@webex/internal-plugin-ediscovery/src/ediscovery.d.ts +6 -0
  150. package/dist/types/@webex/internal-plugin-ediscovery/src/index.d.ts +4 -0
  151. package/dist/types/@webex/internal-plugin-ediscovery/src/report-request.d.ts +29 -0
  152. package/dist/types/@webex/internal-plugin-ediscovery/src/retry.d.ts +2 -0
  153. package/dist/types/@webex/internal-plugin-ediscovery/src/transforms.d.ts +35 -0
  154. package/dist/types/@webex/internal-plugin-ediscovery/test/integration/spec/ediscovery.d.ts +1 -0
  155. package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/content.d.ts +1 -0
  156. package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/report.d.ts +1 -0
  157. package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/transforms.d.ts +1 -0
  158. package/dist/types/@webex/internal-plugin-encryption/src/config.d.ts +16 -0
  159. package/dist/types/@webex/internal-plugin-encryption/src/encryption.d.ts +2 -0
  160. package/dist/types/@webex/internal-plugin-encryption/src/ensure-buffer.browser.d.ts +10 -0
  161. package/dist/types/@webex/internal-plugin-encryption/src/ensure-buffer.d.ts +7 -0
  162. package/dist/types/@webex/internal-plugin-encryption/src/index.d.ts +3 -0
  163. package/dist/types/@webex/internal-plugin-encryption/src/kms-batcher.d.ts +6 -0
  164. package/dist/types/@webex/internal-plugin-encryption/src/kms-certificate-validation.d.ts +24 -0
  165. package/dist/types/@webex/internal-plugin-encryption/src/kms-dry-error-interceptor.d.ts +25 -0
  166. package/dist/types/@webex/internal-plugin-encryption/src/kms-errors.d.ts +33 -0
  167. package/dist/types/@webex/internal-plugin-encryption/src/kms.d.ts +5 -0
  168. package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/encryption.d.ts +1 -0
  169. package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/kms.d.ts +1 -0
  170. package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/payload-transfom.d.ts +1 -0
  171. package/dist/types/@webex/internal-plugin-encryption/test/unit/spec/encryption.d.ts +1 -0
  172. package/dist/types/@webex/internal-plugin-encryption/test/unit/spec/kms-certificate-validation.d.ts +1 -0
  173. package/dist/types/@webex/internal-plugin-feature/src/config.d.ts +4 -0
  174. package/dist/types/@webex/internal-plugin-feature/src/feature.d.ts +2 -0
  175. package/dist/types/@webex/internal-plugin-feature/src/index.d.ts +1 -0
  176. package/dist/types/@webex/internal-plugin-feature/test/integration/spec/feature.d.ts +1 -0
  177. package/dist/types/@webex/internal-plugin-feature/test/unit/spec/feature.d.ts +1 -0
  178. package/dist/types/@webex/internal-plugin-flag/src/config.d.ts +4 -0
  179. package/dist/types/@webex/internal-plugin-flag/src/flag.d.ts +2 -0
  180. package/dist/types/@webex/internal-plugin-flag/src/index.d.ts +1 -0
  181. package/dist/types/@webex/internal-plugin-flag/test/integration/spec/flag.d.ts +1 -0
  182. package/dist/types/@webex/internal-plugin-flag/test/unit/spec/flag.d.ts +1 -0
  183. package/dist/types/@webex/internal-plugin-llm/src/constants.d.ts +1 -0
  184. package/dist/types/@webex/internal-plugin-llm/src/index.d.ts +1 -0
  185. package/dist/types/@webex/internal-plugin-llm/src/llm.d.ts +88 -0
  186. package/dist/types/@webex/internal-plugin-llm/src/llm.types.d.ts +8 -0
  187. package/dist/types/@webex/internal-plugin-llm/test/unit/spec/llm.d.ts +1 -0
  188. package/dist/types/@webex/internal-plugin-locus/src/event-keys.d.ts +5 -0
  189. package/dist/types/@webex/internal-plugin-locus/src/index.d.ts +4 -0
  190. package/dist/types/@webex/internal-plugin-locus/src/locus.d.ts +12 -0
  191. package/dist/types/@webex/internal-plugin-locus/test/unit/spec/locus.d.ts +1 -0
  192. package/dist/types/@webex/internal-plugin-lyra/src/config.d.ts +4 -0
  193. package/dist/types/@webex/internal-plugin-lyra/src/device.d.ts +7 -0
  194. package/dist/types/@webex/internal-plugin-lyra/src/index.d.ts +3 -0
  195. package/dist/types/@webex/internal-plugin-lyra/src/lyra.d.ts +2 -0
  196. package/dist/types/@webex/internal-plugin-lyra/src/space.d.ts +7 -0
  197. package/dist/types/@webex/internal-plugin-lyra/test/integration/spec/device.d.ts +1 -0
  198. package/dist/types/@webex/internal-plugin-lyra/test/integration/spec/space.d.ts +1 -0
  199. package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/device.d.ts +1 -0
  200. package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/lyra.d.ts +1 -0
  201. package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/space.d.ts +1 -0
  202. package/dist/types/@webex/internal-plugin-mercury/src/config.d.ts +10 -0
  203. package/dist/types/@webex/internal-plugin-mercury/src/errors.d.ts +31 -0
  204. package/dist/types/@webex/internal-plugin-mercury/src/index.d.ts +4 -0
  205. package/dist/types/@webex/internal-plugin-mercury/src/mercury.d.ts +2 -0
  206. package/dist/types/@webex/internal-plugin-mercury/src/socket/index.d.ts +1 -0
  207. package/dist/types/@webex/internal-plugin-mercury/src/socket/socket-base.d.ts +120 -0
  208. package/dist/types/@webex/internal-plugin-mercury/src/socket/socket.d.ts +2 -0
  209. package/dist/types/@webex/internal-plugin-mercury/src/socket/socket.shim.d.ts +2 -0
  210. package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/mercury.d.ts +1 -0
  211. package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/sharable-mercury.d.ts +1 -0
  212. package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/webex.d.ts +1 -0
  213. package/dist/types/@webex/internal-plugin-mercury/test/unit/lib/promise-tick.d.ts +9 -0
  214. package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/_setup.d.ts +0 -0
  215. package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/mercury-events.d.ts +1 -0
  216. package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/mercury.d.ts +1 -0
  217. package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/socket.d.ts +1 -0
  218. package/dist/types/@webex/internal-plugin-metrics/src/batcher.d.ts +2 -0
  219. package/dist/types/@webex/internal-plugin-metrics/src/call-diagnostic-events-batcher.d.ts +2 -0
  220. package/dist/types/@webex/internal-plugin-metrics/src/client-metrics-batcher.d.ts +2 -0
  221. package/dist/types/@webex/internal-plugin-metrics/src/config.d.ts +18 -0
  222. package/dist/types/@webex/internal-plugin-metrics/src/index.d.ts +3 -0
  223. package/dist/types/@webex/internal-plugin-metrics/src/metrics.d.ts +2 -0
  224. package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/batcher.d.ts +1 -0
  225. package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/call-diagnostic-events-batcher.d.ts +1 -0
  226. package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/client-metrics-batcher.d.ts +1 -0
  227. package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/metrics.d.ts +1 -0
  228. package/dist/types/@webex/internal-plugin-presence/src/config.d.ts +8 -0
  229. package/dist/types/@webex/internal-plugin-presence/src/constants.d.ts +14 -0
  230. package/dist/types/@webex/internal-plugin-presence/src/index.d.ts +1 -0
  231. package/dist/types/@webex/internal-plugin-presence/src/presence-batcher.d.ts +6 -0
  232. package/dist/types/@webex/internal-plugin-presence/src/presence-worker.d.ts +68 -0
  233. package/dist/types/@webex/internal-plugin-presence/src/presence.d.ts +6 -0
  234. package/dist/types/@webex/internal-plugin-presence/test/integration/spec/presence.d.ts +1 -0
  235. package/dist/types/@webex/internal-plugin-presence/test/unit/spec/presence-worker.d.ts +1 -0
  236. package/dist/types/@webex/internal-plugin-presence/test/unit/spec/presence.d.ts +1 -0
  237. package/dist/types/@webex/internal-plugin-search/src/config.d.ts +4 -0
  238. package/dist/types/@webex/internal-plugin-search/src/index.d.ts +1 -0
  239. package/dist/types/@webex/internal-plugin-search/src/search.d.ts +2 -0
  240. package/dist/types/@webex/internal-plugin-search/test/integration/spec/search.d.ts +1 -0
  241. package/dist/types/@webex/internal-plugin-support/src/config.d.ts +16 -0
  242. package/dist/types/@webex/internal-plugin-support/src/index.d.ts +1 -0
  243. package/dist/types/@webex/internal-plugin-support/src/support.d.ts +2 -0
  244. package/dist/types/@webex/internal-plugin-support/test/integration/spec/support.d.ts +1 -0
  245. package/dist/types/@webex/internal-plugin-support/test/unit/spec/support.d.ts +1 -0
  246. package/dist/types/@webex/internal-plugin-team/src/config.d.ts +4 -0
  247. package/dist/types/@webex/internal-plugin-team/src/index.d.ts +1 -0
  248. package/dist/types/@webex/internal-plugin-team/src/team.d.ts +2 -0
  249. package/dist/types/@webex/internal-plugin-team/test/integration/spec/actions.d.ts +1 -0
  250. package/dist/types/@webex/internal-plugin-team/test/integration/spec/create.d.ts +1 -0
  251. package/dist/types/@webex/internal-plugin-team/test/integration/spec/get.d.ts +1 -0
  252. package/dist/types/@webex/internal-plugin-team/test/integration/spec/mercury.d.ts +1 -0
  253. package/dist/types/@webex/internal-plugin-team/test/unit/spec/team.d.ts +1 -0
  254. package/dist/types/@webex/internal-plugin-user/src/config.d.ts +17 -0
  255. package/dist/types/@webex/internal-plugin-user/src/index.d.ts +1 -0
  256. package/dist/types/@webex/internal-plugin-user/src/user-uuid-batcher.d.ts +5 -0
  257. package/dist/types/@webex/internal-plugin-user/src/user-uuid-store.d.ts +34 -0
  258. package/dist/types/@webex/internal-plugin-user/src/user.d.ts +5 -0
  259. package/dist/types/@webex/internal-plugin-user/test/integration/spec/user.d.ts +1 -0
  260. package/dist/types/@webex/internal-plugin-user/test/unit/spec/user-uuid-batcher.d.ts +1 -0
  261. package/dist/types/@webex/internal-plugin-user/test/unit/spec/user.d.ts +1 -0
  262. package/dist/types/@webex/internal-plugin-voicea/src/constants.d.ts +28 -0
  263. package/dist/types/@webex/internal-plugin-voicea/src/index.d.ts +1 -0
  264. package/dist/types/@webex/internal-plugin-voicea/src/utils.d.ts +1 -0
  265. package/dist/types/@webex/internal-plugin-voicea/src/voicea.d.ts +78 -0
  266. package/dist/types/@webex/internal-plugin-voicea/src/voicea.types.d.ts +72 -0
  267. package/dist/types/@webex/internal-plugin-voicea/test/unit/spec/utils.d.ts +1 -0
  268. package/dist/types/@webex/internal-plugin-voicea/test/unit/spec/voicea.d.ts +1 -0
  269. package/dist/types/@webex/internal-plugin-wdm/src/index.d.ts +2 -0
  270. package/dist/types/@webex/internal-plugin-wdm/test/integration/spec/webex.d.ts +1 -0
  271. package/dist/types/@webex/internal-plugin-wdm/test/unit/spec/device.d.ts +1 -0
  272. package/dist/types/@webex/jsdoctrinetest/src/assertions/literal.d.ts +12 -0
  273. package/dist/types/@webex/jsdoctrinetest/src/extract.d.ts +20 -0
  274. package/dist/types/@webex/jsdoctrinetest/src/index.d.ts +1 -0
  275. package/dist/types/@webex/jsdoctrinetest/src/mocha-template.d.ts +11 -0
  276. package/dist/types/@webex/jsdoctrinetest/src/parse.d.ts +7 -0
  277. package/dist/types/@webex/jsdoctrinetest/src/transform.d.ts +14 -0
  278. package/dist/types/@webex/jsdoctrinetest/test/unit/spec/default.d.ts +1 -0
  279. package/dist/types/@webex/plugin-attachment-actions/src/attachmentActions.d.ts +51 -0
  280. package/dist/types/@webex/plugin-attachment-actions/src/index.d.ts +2 -0
  281. package/dist/types/@webex/plugin-attachment-actions/test/integration/spec/attachmentActions.d.ts +1 -0
  282. package/dist/types/@webex/plugin-authorization/src/index.browser.d.ts +1 -0
  283. package/dist/types/@webex/plugin-authorization/src/index.d.ts +1 -0
  284. package/dist/types/@webex/plugin-authorization-browser/src/authorization.d.ts +8 -0
  285. package/dist/types/@webex/plugin-authorization-browser/src/config.d.ts +6 -0
  286. package/dist/types/@webex/plugin-authorization-browser/src/index.d.ts +2 -0
  287. package/dist/types/@webex/plugin-authorization-browser/test/automation/fixtures/app.d.ts +1 -0
  288. package/dist/types/@webex/plugin-authorization-browser/test/automation/spec/authorization-code-grant.d.ts +1 -0
  289. package/dist/types/@webex/plugin-authorization-browser/test/automation/spec/implicit-grant.d.ts +1 -0
  290. package/dist/types/@webex/plugin-authorization-browser/test/integration/spec/authorization.d.ts +1 -0
  291. package/dist/types/@webex/plugin-authorization-browser/test/unit/spec/authorization.d.ts +1 -0
  292. package/dist/types/@webex/plugin-authorization-browser-first-party/src/authorization.d.ts +12 -0
  293. package/dist/types/@webex/plugin-authorization-browser-first-party/src/config.d.ts +7 -0
  294. package/dist/types/@webex/plugin-authorization-browser-first-party/src/index.d.ts +2 -0
  295. package/dist/types/@webex/plugin-authorization-browser-first-party/test/automation/fixtures/app.d.ts +1 -0
  296. package/dist/types/@webex/plugin-authorization-browser-first-party/test/automation/spec/authorization-code-grant.d.ts +1 -0
  297. package/dist/types/@webex/plugin-authorization-browser-first-party/test/unit/spec/authorization.d.ts +1 -0
  298. package/dist/types/@webex/plugin-authorization-node/src/authorization.d.ts +7 -0
  299. package/dist/types/@webex/plugin-authorization-node/src/config.d.ts +4 -0
  300. package/dist/types/@webex/plugin-authorization-node/src/index.d.ts +2 -0
  301. package/dist/types/@webex/plugin-authorization-node/test/integration/spec/authorization.d.ts +1 -0
  302. package/dist/types/@webex/plugin-authorization-node/test/unit/spec/authorization.d.ts +1 -0
  303. package/dist/types/@webex/plugin-device-manager/sample/app.d.ts +15 -0
  304. package/dist/types/@webex/plugin-device-manager/src/collection.d.ts +8 -0
  305. package/dist/types/@webex/plugin-device-manager/src/config.d.ts +2 -0
  306. package/dist/types/@webex/plugin-device-manager/src/constants.d.ts +3 -0
  307. package/dist/types/@webex/plugin-device-manager/src/device-manager.d.ts +2 -0
  308. package/dist/types/@webex/plugin-device-manager/src/index.d.ts +2 -0
  309. package/dist/types/@webex/plugin-device-manager/test/unit/spec/index.d.ts +1 -0
  310. package/dist/types/@webex/plugin-device-manager/webex.d.ts +1 -0
  311. package/dist/types/@webex/plugin-logger/src/config.d.ts +19 -0
  312. package/dist/types/@webex/plugin-logger/src/index.d.ts +1 -0
  313. package/dist/types/@webex/plugin-logger/src/logger.d.ts +7 -0
  314. package/dist/types/@webex/plugin-logger/test/unit/spec/logger.d.ts +1 -0
  315. package/dist/types/@webex/plugin-meetings/browsers.d.ts +75 -0
  316. package/dist/types/@webex/plugin-meetings/src/breakouts/breakout.d.ts +8 -0
  317. package/dist/types/@webex/plugin-meetings/src/breakouts/collection.d.ts +5 -0
  318. package/dist/types/@webex/plugin-meetings/src/breakouts/index.d.ts +5 -0
  319. package/dist/types/@webex/plugin-meetings/src/breakouts/request.d.ts +22 -0
  320. package/dist/types/@webex/plugin-meetings/src/breakouts/utils.d.ts +1 -0
  321. package/dist/types/@webex/plugin-meetings/src/common/browser-detection.d.ts +9 -0
  322. package/dist/types/@webex/plugin-meetings/src/common/collection.d.ts +48 -0
  323. package/dist/types/@webex/plugin-meetings/src/common/config.d.ts +2 -0
  324. package/dist/types/@webex/plugin-meetings/src/common/errors/captcha-error.d.ts +15 -0
  325. package/dist/types/@webex/plugin-meetings/src/common/errors/intent-to-join.d.ts +16 -0
  326. package/dist/types/@webex/plugin-meetings/src/common/errors/join-meeting.d.ts +17 -0
  327. package/dist/types/@webex/plugin-meetings/src/common/errors/media.d.ts +15 -0
  328. package/dist/types/@webex/plugin-meetings/src/common/errors/parameter.d.ts +15 -0
  329. package/dist/types/@webex/plugin-meetings/src/common/errors/password-error.d.ts +15 -0
  330. package/dist/types/@webex/plugin-meetings/src/common/errors/permission.d.ts +14 -0
  331. package/dist/types/@webex/plugin-meetings/src/common/errors/reconnection-in-progress.d.ts +9 -0
  332. package/dist/types/@webex/plugin-meetings/src/common/errors/reconnection.d.ts +15 -0
  333. package/dist/types/@webex/plugin-meetings/src/common/errors/stats.d.ts +15 -0
  334. package/dist/types/@webex/plugin-meetings/src/common/errors/webex-errors.d.ts +69 -0
  335. package/dist/types/@webex/plugin-meetings/src/common/errors/webex-meetings-error.d.ts +20 -0
  336. package/dist/types/@webex/plugin-meetings/src/common/events/events-scope.d.ts +17 -0
  337. package/dist/types/@webex/plugin-meetings/src/common/events/events.d.ts +12 -0
  338. package/dist/types/@webex/plugin-meetings/src/common/events/trigger-proxy.d.ts +2 -0
  339. package/dist/types/@webex/plugin-meetings/src/common/events/util.d.ts +2 -0
  340. package/dist/types/@webex/plugin-meetings/src/common/logs/logger-config.d.ts +2 -0
  341. package/dist/types/@webex/plugin-meetings/src/common/logs/logger-proxy.d.ts +2 -0
  342. package/dist/types/@webex/plugin-meetings/src/common/logs/request.d.ts +34 -0
  343. package/dist/types/@webex/plugin-meetings/src/common/queue.d.ts +32 -0
  344. package/dist/types/@webex/plugin-meetings/src/config.d.ts +77 -0
  345. package/dist/types/@webex/plugin-meetings/src/constants.d.ts +899 -0
  346. package/dist/types/@webex/plugin-meetings/src/controls-options-manager/constants.d.ts +4 -0
  347. package/dist/types/@webex/plugin-meetings/src/controls-options-manager/enums.d.ts +5 -0
  348. package/dist/types/@webex/plugin-meetings/src/controls-options-manager/index.d.ts +120 -0
  349. package/dist/types/@webex/plugin-meetings/src/controls-options-manager/util.d.ts +7 -0
  350. package/dist/types/@webex/plugin-meetings/src/index.d.ts +7 -0
  351. package/dist/types/@webex/plugin-meetings/src/locus-info/controlsUtils.d.ts +2 -0
  352. package/dist/types/@webex/plugin-meetings/src/locus-info/embeddedAppsUtils.d.ts +2 -0
  353. package/dist/types/@webex/plugin-meetings/src/locus-info/fullState.d.ts +2 -0
  354. package/dist/types/@webex/plugin-meetings/src/locus-info/hostUtils.d.ts +2 -0
  355. package/dist/types/@webex/plugin-meetings/src/locus-info/index.d.ts +269 -0
  356. package/dist/types/@webex/plugin-meetings/src/locus-info/infoUtils.d.ts +2 -0
  357. package/dist/types/@webex/plugin-meetings/src/locus-info/mediaSharesUtils.d.ts +2 -0
  358. package/dist/types/@webex/plugin-meetings/src/locus-info/parser.d.ts +212 -0
  359. package/dist/types/@webex/plugin-meetings/src/locus-info/selfUtils.d.ts +2 -0
  360. package/dist/types/@webex/plugin-meetings/src/media/index.d.ts +32 -0
  361. package/dist/types/@webex/plugin-meetings/src/media/properties.d.ts +107 -0
  362. package/dist/types/@webex/plugin-meetings/src/media/util.d.ts +2 -0
  363. package/dist/types/@webex/plugin-meetings/src/mediaQualityMetrics/config.d.ts +365 -0
  364. package/dist/types/@webex/plugin-meetings/src/meeting/effectsState.d.ts +42 -0
  365. package/dist/types/@webex/plugin-meetings/src/meeting/in-meeting-actions.d.ts +83 -0
  366. package/dist/types/@webex/plugin-meetings/src/meeting/index.d.ts +1724 -0
  367. package/dist/types/@webex/plugin-meetings/src/meeting/muteState.d.ts +108 -0
  368. package/dist/types/@webex/plugin-meetings/src/meeting/request.d.ts +261 -0
  369. package/dist/types/@webex/plugin-meetings/src/meeting/request.type.d.ts +11 -0
  370. package/dist/types/@webex/plugin-meetings/src/meeting/state.d.ts +9 -0
  371. package/dist/types/@webex/plugin-meetings/src/meeting/util.d.ts +2 -0
  372. package/dist/types/@webex/plugin-meetings/src/meeting-info/collection.d.ts +20 -0
  373. package/dist/types/@webex/plugin-meetings/src/meeting-info/index.d.ts +57 -0
  374. package/dist/types/@webex/plugin-meetings/src/meeting-info/meeting-info-v2.d.ts +93 -0
  375. package/dist/types/@webex/plugin-meetings/src/meeting-info/request.d.ts +22 -0
  376. package/dist/types/@webex/plugin-meetings/src/meeting-info/util.d.ts +2 -0
  377. package/dist/types/@webex/plugin-meetings/src/meeting-info/utilv2.d.ts +2 -0
  378. package/dist/types/@webex/plugin-meetings/src/meetings/collection.d.ts +23 -0
  379. package/dist/types/@webex/plugin-meetings/src/meetings/index.d.ts +297 -0
  380. package/dist/types/@webex/plugin-meetings/src/meetings/request.d.ts +27 -0
  381. package/dist/types/@webex/plugin-meetings/src/meetings/util.d.ts +18 -0
  382. package/dist/types/@webex/plugin-meetings/src/member/index.d.ts +146 -0
  383. package/dist/types/@webex/plugin-meetings/src/member/util.d.ts +2 -0
  384. package/dist/types/@webex/plugin-meetings/src/members/collection.d.ts +24 -0
  385. package/dist/types/@webex/plugin-meetings/src/members/index.d.ts +320 -0
  386. package/dist/types/@webex/plugin-meetings/src/members/request.d.ts +50 -0
  387. package/dist/types/@webex/plugin-meetings/src/members/util.d.ts +2 -0
  388. package/dist/types/@webex/plugin-meetings/src/metrics/config.d.ts +178 -0
  389. package/dist/types/@webex/plugin-meetings/src/metrics/constants.d.ts +57 -0
  390. package/dist/types/@webex/plugin-meetings/src/metrics/index.d.ts +160 -0
  391. package/dist/types/@webex/plugin-meetings/src/multistream/mediaRequestManager.d.ts +51 -0
  392. package/dist/types/@webex/plugin-meetings/src/multistream/receiveSlot.d.ts +66 -0
  393. package/dist/types/@webex/plugin-meetings/src/multistream/receiveSlotManager.d.ts +46 -0
  394. package/dist/types/@webex/plugin-meetings/src/multistream/remoteMedia.d.ts +93 -0
  395. package/dist/types/@webex/plugin-meetings/src/multistream/remoteMediaGroup.d.ts +56 -0
  396. package/dist/types/@webex/plugin-meetings/src/multistream/remoteMediaManager.d.ts +241 -0
  397. package/dist/types/@webex/plugin-meetings/src/networkQualityMonitor/index.d.ts +70 -0
  398. package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/index.d.ts +47 -0
  399. package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/request.d.ts +14 -0
  400. package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/util.d.ts +2 -0
  401. package/dist/types/@webex/plugin-meetings/src/reachability/index.d.ts +140 -0
  402. package/dist/types/@webex/plugin-meetings/src/reachability/request.d.ts +35 -0
  403. package/dist/types/@webex/plugin-meetings/src/reactions/constants.d.ts +3 -0
  404. package/dist/types/@webex/plugin-meetings/src/reactions/reactions.d.ts +4 -0
  405. package/dist/types/@webex/plugin-meetings/src/reactions/reactions.type.d.ts +52 -0
  406. package/dist/types/@webex/plugin-meetings/src/reconnection-manager/index.d.ts +117 -0
  407. package/dist/types/@webex/plugin-meetings/src/recording-controller/enums.d.ts +7 -0
  408. package/dist/types/@webex/plugin-meetings/src/recording-controller/index.d.ts +193 -0
  409. package/dist/types/@webex/plugin-meetings/src/recording-controller/util.d.ts +13 -0
  410. package/dist/types/@webex/plugin-meetings/src/roap/index.d.ts +77 -0
  411. package/dist/types/@webex/plugin-meetings/src/roap/request.d.ts +35 -0
  412. package/dist/types/@webex/plugin-meetings/src/roap/turnDiscovery.d.ts +74 -0
  413. package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/global.d.ts +36 -0
  414. package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/index.d.ts +195 -0
  415. package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/mqaUtil.d.ts +24 -0
  416. package/dist/types/@webex/plugin-meetings/src/transcription/index.d.ts +64 -0
  417. package/dist/types/@webex/plugin-meetings/test/integration/spec/converged-space-meetings.d.ts +1 -0
  418. package/dist/types/@webex/plugin-meetings/test/integration/spec/journey.d.ts +1 -0
  419. package/dist/types/@webex/plugin-meetings/test/integration/spec/space-meeting.d.ts +1 -0
  420. package/dist/types/@webex/plugin-meetings/test/integration/spec/transcription.d.ts +1 -0
  421. package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/breakout.d.ts +1 -0
  422. package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/collection.d.ts +1 -0
  423. package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/index.d.ts +1 -0
  424. package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/request.d.ts +1 -0
  425. package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/utils.d.ts +1 -0
  426. package/dist/types/@webex/plugin-meetings/test/unit/spec/common/browser-detection.d.ts +1 -0
  427. package/dist/types/@webex/plugin-meetings/test/unit/spec/common/queue.d.ts +1 -0
  428. package/dist/types/@webex/plugin-meetings/test/unit/spec/controls-options-manager/index.d.ts +1 -0
  429. package/dist/types/@webex/plugin-meetings/test/unit/spec/controls-options-manager/util.d.ts +1 -0
  430. package/dist/types/@webex/plugin-meetings/test/unit/spec/fixture/locus.d.ts +332 -0
  431. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/controlsUtils.d.ts +1 -0
  432. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/embeddedAppsUtils.d.ts +1 -0
  433. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/index.d.ts +1 -0
  434. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/infoUtils.d.ts +1 -0
  435. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/parser.d.ts +1 -0
  436. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/selfConstant.d.ts +274 -0
  437. package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/selfUtils.d.ts +1 -0
  438. package/dist/types/@webex/plugin-meetings/test/unit/spec/media/index.d.ts +1 -0
  439. package/dist/types/@webex/plugin-meetings/test/unit/spec/media/properties.d.ts +1 -0
  440. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/effectsState.d.ts +1 -0
  441. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.d.ts +1 -0
  442. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/index.d.ts +1 -0
  443. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/muteState.d.ts +1 -0
  444. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/request.d.ts +1 -0
  445. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/utils.d.ts +1 -0
  446. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/meetinginfov2.d.ts +1 -0
  447. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/request.d.ts +1 -0
  448. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/util.d.ts +1 -0
  449. package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/utilv2.d.ts +1 -0
  450. package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/collection.d.ts +1 -0
  451. package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/index.d.ts +1 -0
  452. package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/utils.d.ts +1 -0
  453. package/dist/types/@webex/plugin-meetings/test/unit/spec/member/index.d.ts +1 -0
  454. package/dist/types/@webex/plugin-meetings/test/unit/spec/member/util.d.ts +1 -0
  455. package/dist/types/@webex/plugin-meetings/test/unit/spec/members/index.d.ts +1 -0
  456. package/dist/types/@webex/plugin-meetings/test/unit/spec/members/request.d.ts +1 -0
  457. package/dist/types/@webex/plugin-meetings/test/unit/spec/members/utils.d.ts +1 -0
  458. package/dist/types/@webex/plugin-meetings/test/unit/spec/metrics/index.d.ts +1 -0
  459. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/mediaRequestManager.d.ts +1 -0
  460. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/receiveSlot.d.ts +1 -0
  461. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/receiveSlotManager.d.ts +1 -0
  462. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMedia.d.ts +1 -0
  463. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMediaGroup.d.ts +1 -0
  464. package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMediaManager.d.ts +1 -0
  465. package/dist/types/@webex/plugin-meetings/test/unit/spec/networkQualityMonitor/index.d.ts +1 -0
  466. package/dist/types/@webex/plugin-meetings/test/unit/spec/personal-meeting-room/personal-meeting-room.d.ts +1 -0
  467. package/dist/types/@webex/plugin-meetings/test/unit/spec/reachability/index.d.ts +1 -0
  468. package/dist/types/@webex/plugin-meetings/test/unit/spec/reconnection-manager/index.d.ts +1 -0
  469. package/dist/types/@webex/plugin-meetings/test/unit/spec/recording-controller/index.d.ts +1 -0
  470. package/dist/types/@webex/plugin-meetings/test/unit/spec/recording-controller/util.d.ts +1 -0
  471. package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/index.d.ts +1 -0
  472. package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/request.d.ts +1 -0
  473. package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/turnDiscovery.d.ts +1 -0
  474. package/dist/types/@webex/plugin-meetings/test/unit/spec/stats-analyzer/index.d.ts +1 -0
  475. package/dist/types/@webex/plugin-meetings/test/utils/cmr.d.ts +6 -0
  476. package/dist/types/@webex/plugin-meetings/test/utils/constants.d.ts +5 -0
  477. package/dist/types/@webex/plugin-meetings/test/utils/testUtils.d.ts +27 -0
  478. package/dist/types/@webex/plugin-meetings/test/utils/webex-config.d.ts +63 -0
  479. package/dist/types/@webex/plugin-meetings/test/utils/webex-test-users.d.ts +2 -0
  480. package/dist/types/@webex/plugin-memberships/src/index.d.ts +2 -0
  481. package/dist/types/@webex/plugin-memberships/src/memberships.d.ts +50 -0
  482. package/dist/types/@webex/plugin-memberships/test/integration/spec/memberships.d.ts +1 -0
  483. package/dist/types/@webex/plugin-messages/src/index.d.ts +2 -0
  484. package/dist/types/@webex/plugin-messages/src/messages.d.ts +58 -0
  485. package/dist/types/@webex/plugin-messages/test/integration/spec/messages.d.ts +1 -0
  486. package/dist/types/@webex/plugin-people/src/config.d.ts +9 -0
  487. package/dist/types/@webex/plugin-people/src/index.d.ts +1 -0
  488. package/dist/types/@webex/plugin-people/src/people-batcher.d.ts +6 -0
  489. package/dist/types/@webex/plugin-people/src/people.d.ts +30 -0
  490. package/dist/types/@webex/plugin-people/test/integration/spec/people.d.ts +1 -0
  491. package/dist/types/@webex/plugin-people/test/unit/spec/people-batcher.d.ts +1 -0
  492. package/dist/types/@webex/plugin-people/test/unit/spec/people.d.ts +1 -0
  493. package/dist/types/@webex/plugin-rooms/src/index.d.ts +2 -0
  494. package/dist/types/@webex/plugin-rooms/src/rooms.d.ts +41 -0
  495. package/dist/types/@webex/plugin-rooms/test/integration/spec/rooms.d.ts +1 -0
  496. package/dist/types/@webex/plugin-team-memberships/src/index.d.ts +2 -0
  497. package/dist/types/@webex/plugin-team-memberships/src/team-memberships.d.ts +49 -0
  498. package/dist/types/@webex/plugin-team-memberships/test/integration/spec/team-memberships.d.ts +1 -0
  499. package/dist/types/@webex/plugin-teams/src/index.d.ts +2 -0
  500. package/dist/types/@webex/plugin-teams/src/teams.d.ts +27 -0
  501. package/dist/types/@webex/plugin-teams/test/integration/spec/teams.d.ts +1 -0
  502. package/dist/types/@webex/plugin-webhooks/src/index.d.ts +2 -0
  503. package/dist/types/@webex/plugin-webhooks/src/webhooks.d.ts +48 -0
  504. package/dist/types/@webex/plugin-webhooks/test/integration/spec/webhooks.d.ts +1 -0
  505. package/dist/types/@webex/recipe-private-web-client/src/config.d.ts +10 -0
  506. package/dist/types/@webex/recipe-private-web-client/src/index.d.ts +8 -0
  507. package/dist/types/@webex/storage-adapter-local-forage/src/index.d.ts +35 -0
  508. package/dist/types/@webex/storage-adapter-local-forage/test/unit/spec/storage-adapter-local-forage.d.ts +1 -0
  509. package/dist/types/@webex/storage-adapter-local-storage/src/index.d.ts +66 -0
  510. package/dist/types/@webex/storage-adapter-local-storage/test/unit/spec/storage-adapter-local-storage.d.ts +1 -0
  511. package/dist/types/@webex/storage-adapter-session-storage/src/index.d.ts +66 -0
  512. package/dist/types/@webex/storage-adapter-session-storage/test/unit/spec/storage-adapter-session-storage.d.ts +1 -0
  513. package/dist/types/@webex/storage-adapter-spec/src/index.d.ts +1 -0
  514. package/dist/types/@webex/test-helper-appid/src/create-user.browser.d.ts +2 -0
  515. package/dist/types/@webex/test-helper-appid/src/create-user.d.ts +7 -0
  516. package/dist/types/@webex/test-helper-appid/src/index.d.ts +7 -0
  517. package/dist/types/@webex/test-helper-appid/src/router.d.ts +2 -0
  518. package/dist/types/@webex/test-helper-automation/src/index.d.ts +2 -0
  519. package/dist/types/@webex/test-helper-automation/src/wd/accept-grant.d.ts +1 -0
  520. package/dist/types/@webex/test-helper-automation/src/wd/login.d.ts +1 -0
  521. package/dist/types/@webex/test-helper-automation/src/wd/print-logs.d.ts +1 -0
  522. package/dist/types/@webex/test-helper-automation/src/wd/submit-password.d.ts +1 -0
  523. package/dist/types/@webex/test-helper-chai/src/assertions/index.d.ts +2 -0
  524. package/dist/types/@webex/test-helper-chai/src/assertions/primitives.d.ts +2 -0
  525. package/dist/types/@webex/test-helper-chai/src/assertions/schemas.d.ts +2 -0
  526. package/dist/types/@webex/test-helper-chai/src/assertions/should-to-assert.d.ts +2 -0
  527. package/dist/types/@webex/test-helper-chai/src/index.d.ts +2 -0
  528. package/dist/types/@webex/test-helper-file/src/file.d.ts +5 -0
  529. package/dist/types/@webex/test-helper-file/src/file.shim.d.ts +18 -0
  530. package/dist/types/@webex/test-helper-file/src/index.d.ts +2 -0
  531. package/dist/types/@webex/test-helper-make-local-url/src/index.d.ts +4 -0
  532. package/dist/types/@webex/test-helper-mocha/src/index.d.ts +29 -0
  533. package/dist/types/@webex/test-helper-mock-web-socket/src/index.d.ts +26 -0
  534. package/dist/types/@webex/test-helper-mock-webex/src/index.d.ts +7 -0
  535. package/dist/types/@webex/test-helper-refresh-callback/src/index.d.ts +10 -0
  536. package/dist/types/@webex/test-helper-retry/src/index.d.ts +15 -0
  537. package/dist/types/@webex/test-helper-server/src/cookies.d.ts +2 -0
  538. package/dist/types/@webex/test-helper-server/src/files.d.ts +2 -0
  539. package/dist/types/@webex/test-helper-server/src/form.d.ts +2 -0
  540. package/dist/types/@webex/test-helper-server/src/index.d.ts +1 -0
  541. package/dist/types/@webex/test-helper-server/src/json.d.ts +2 -0
  542. package/dist/types/@webex/test-helper-server/src/reflect.d.ts +10 -0
  543. package/dist/types/@webex/test-helper-test-users/src/index.d.ts +8 -0
  544. package/dist/types/@webex/test-users/src/index.d.ts +115 -0
  545. package/dist/types/@webex/test-users/src/whistler.d.ts +44 -0
  546. package/dist/types/@webex/test-users/test/integration/spec/index.d.ts +1 -0
  547. package/dist/types/@webex/test-users/test/integration/spec/whistler.d.ts +1 -0
  548. package/dist/types/@webex/webex-core/src/config.d.ts +39 -0
  549. package/dist/types/@webex/webex-core/src/credentials-config.d.ts +2 -0
  550. package/dist/types/@webex/webex-core/src/index.d.ts +24 -0
  551. package/dist/types/@webex/webex-core/src/interceptors/auth.d.ts +43 -0
  552. package/dist/types/@webex/webex-core/src/interceptors/default-options.d.ts +31 -0
  553. package/dist/types/@webex/webex-core/src/interceptors/embargo.d.ts +16 -0
  554. package/dist/types/@webex/webex-core/src/interceptors/network-timing.d.ts +30 -0
  555. package/dist/types/@webex/webex-core/src/interceptors/payload-transformer.d.ts +30 -0
  556. package/dist/types/@webex/webex-core/src/interceptors/rate-limit.d.ts +61 -0
  557. package/dist/types/@webex/webex-core/src/interceptors/redirect.d.ts +22 -0
  558. package/dist/types/@webex/webex-core/src/interceptors/request-event.d.ts +36 -0
  559. package/dist/types/@webex/webex-core/src/interceptors/request-logger.d.ts +22 -0
  560. package/dist/types/@webex/webex-core/src/interceptors/request-timing.d.ts +36 -0
  561. package/dist/types/@webex/webex-core/src/interceptors/response-logger.d.ts +30 -0
  562. package/dist/types/@webex/webex-core/src/interceptors/user-agent.d.ts +38 -0
  563. package/dist/types/@webex/webex-core/src/interceptors/webex-tracking-id.d.ts +26 -0
  564. package/dist/types/@webex/webex-core/src/interceptors/webex-user-agent.d.ts +22 -0
  565. package/dist/types/@webex/webex-core/src/lib/batcher.d.ts +6 -0
  566. package/dist/types/@webex/webex-core/src/lib/credentials/credentials.d.ts +5 -0
  567. package/dist/types/@webex/webex-core/src/lib/credentials/grant-errors.d.ts +57 -0
  568. package/dist/types/@webex/webex-core/src/lib/credentials/index.d.ts +4 -0
  569. package/dist/types/@webex/webex-core/src/lib/credentials/scope.d.ts +16 -0
  570. package/dist/types/@webex/webex-core/src/lib/credentials/token-collection.d.ts +2 -0
  571. package/dist/types/@webex/webex-core/src/lib/credentials/token.d.ts +5 -0
  572. package/dist/types/@webex/webex-core/src/lib/page.d.ts +76 -0
  573. package/dist/types/@webex/webex-core/src/lib/services/constants.d.ts +6 -0
  574. package/dist/types/@webex/webex-core/src/lib/services/index.d.ts +10 -0
  575. package/dist/types/@webex/webex-core/src/lib/services/interceptors/server-error.d.ts +16 -0
  576. package/dist/types/@webex/webex-core/src/lib/services/interceptors/service.d.ts +37 -0
  577. package/dist/types/@webex/webex-core/src/lib/services/metrics.d.ts +4 -0
  578. package/dist/types/@webex/webex-core/src/lib/services/service-catalog.d.ts +5 -0
  579. package/dist/types/@webex/webex-core/src/lib/services/service-fed-ramp.d.ts +5 -0
  580. package/dist/types/@webex/webex-core/src/lib/services/service-host.d.ts +217 -0
  581. package/dist/types/@webex/webex-core/src/lib/services/service-registry.d.ts +271 -0
  582. package/dist/types/@webex/webex-core/src/lib/services/service-state.d.ts +46 -0
  583. package/dist/types/@webex/webex-core/src/lib/services/service-url.d.ts +5 -0
  584. package/dist/types/@webex/webex-core/src/lib/services/services.d.ts +5 -0
  585. package/dist/types/@webex/webex-core/src/lib/stateless-webex-plugin.d.ts +48 -0
  586. package/dist/types/@webex/webex-core/src/lib/storage/decorators.d.ts +15 -0
  587. package/dist/types/@webex/webex-core/src/lib/storage/errors.d.ts +10 -0
  588. package/dist/types/@webex/webex-core/src/lib/storage/index.d.ts +5 -0
  589. package/dist/types/@webex/webex-core/src/lib/storage/make-webex-plugin-store.d.ts +8 -0
  590. package/dist/types/@webex/webex-core/src/lib/storage/make-webex-store.d.ts +48 -0
  591. package/dist/types/@webex/webex-core/src/lib/storage/memory-store-adapter.d.ts +18 -0
  592. package/dist/types/@webex/webex-core/src/lib/webex-core-plugin-mixin.d.ts +8 -0
  593. package/dist/types/@webex/webex-core/src/lib/webex-http-error.d.ts +12 -0
  594. package/dist/types/@webex/webex-core/src/lib/webex-internal-core-plugin-mixin.d.ts +8 -0
  595. package/dist/types/@webex/webex-core/src/lib/webex-plugin.d.ts +5 -0
  596. package/dist/types/@webex/webex-core/src/plugins/logger.d.ts +2 -0
  597. package/dist/types/@webex/webex-core/src/webex-core.d.ts +31 -0
  598. package/dist/types/@webex/webex-core/src/webex-internal-core.d.ts +7 -0
  599. package/dist/types/@webex/webex-core/test/integration/spec/credentials/credentials.d.ts +1 -0
  600. package/dist/types/@webex/webex-core/test/integration/spec/credentials/token.d.ts +1 -0
  601. package/dist/types/@webex/webex-core/test/integration/spec/services/service-catalog.d.ts +1 -0
  602. package/dist/types/@webex/webex-core/test/integration/spec/services/services.d.ts +1 -0
  603. package/dist/types/@webex/webex-core/test/integration/spec/webex-core.d.ts +1 -0
  604. package/dist/types/@webex/webex-core/test/unit/spec/_setup.d.ts +1 -0
  605. package/dist/types/@webex/webex-core/test/unit/spec/credentials/credentials.d.ts +1 -0
  606. package/dist/types/@webex/webex-core/test/unit/spec/credentials/token.d.ts +1 -0
  607. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/auth.d.ts +1 -0
  608. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/default-options.d.ts +1 -0
  609. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/embargo.d.ts +1 -0
  610. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/network-timing.d.ts +1 -0
  611. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/payload-transformer.d.ts +1 -0
  612. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/rate-limit.d.ts +1 -0
  613. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/redirect.d.ts +1 -0
  614. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/request-timing.d.ts +1 -0
  615. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/user-agent.d.ts +1 -0
  616. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/webex-tracking-id.d.ts +1 -0
  617. package/dist/types/@webex/webex-core/test/unit/spec/interceptors/webex-user-agent.d.ts +1 -0
  618. package/dist/types/@webex/webex-core/test/unit/spec/lib/batcher.d.ts +1 -0
  619. package/dist/types/@webex/webex-core/test/unit/spec/lib/page.d.ts +1 -0
  620. package/dist/types/@webex/webex-core/test/unit/spec/lib/webex-plugin.d.ts +1 -0
  621. package/dist/types/@webex/webex-core/test/unit/spec/services/interceptors/server-error.d.ts +1 -0
  622. package/dist/types/@webex/webex-core/test/unit/spec/services/interceptors/service.d.ts +1 -0
  623. package/dist/types/@webex/webex-core/test/unit/spec/services/service-catalog.d.ts +1 -0
  624. package/dist/types/@webex/webex-core/test/unit/spec/services/service-host.d.ts +1 -0
  625. package/dist/types/@webex/webex-core/test/unit/spec/services/service-registry.d.ts +1 -0
  626. package/dist/types/@webex/webex-core/test/unit/spec/services/service-state.d.ts +1 -0
  627. package/dist/types/@webex/webex-core/test/unit/spec/services/service-url.d.ts +1 -0
  628. package/dist/types/@webex/webex-core/test/unit/spec/services/services.d.ts +1 -0
  629. package/dist/types/@webex/webex-core/test/unit/spec/storage/persist.d.ts +1 -0
  630. package/dist/types/@webex/webex-core/test/unit/spec/storage/storage-adapter.d.ts +1 -0
  631. package/dist/types/@webex/webex-core/test/unit/spec/storage/wait-for-value.d.ts +1 -0
  632. package/dist/types/@webex/webex-core/test/unit/spec/webex-core.d.ts +1 -0
  633. package/dist/types/@webex/webex-core/test/unit/spec/webex-internal-core.d.ts +1 -0
  634. package/dist/types/@webex/webrtc/src/analyzer.d.ts +0 -0
  635. package/dist/types/@webex/webrtc/src/constants.d.ts +0 -0
  636. package/dist/types/@webex/webrtc/src/extractor.d.ts +0 -0
  637. package/dist/types/@webex/webrtc/src/generator.d.ts +0 -0
  638. package/dist/types/@webex/webrtc/src/history.d.ts +0 -0
  639. package/dist/types/@webex/webrtc/src/ice.d.ts +0 -0
  640. package/dist/types/@webex/webrtc/src/index.d.ts +31 -0
  641. package/dist/types/@webex/webrtc/src/logger.d.ts +0 -0
  642. package/dist/types/@webex/webrtc/src/parser.d.ts +0 -0
  643. package/dist/types/@webex/webrtc/src/stats.d.ts +0 -0
  644. package/dist/types/@webex/webrtc/src/transformer.d.ts +0 -0
  645. package/dist/types/@webex/webrtc/src/validator.d.ts +0 -0
  646. package/dist/types/@webex/xunit-with-logs/src/index.d.ts +43 -0
  647. package/dist/types/webex/browser.d.ts +5 -0
  648. package/dist/types/webex/env.d.ts +2 -0
  649. package/dist/types/webex/src/_setup.d.ts +1 -0
  650. package/dist/types/webex/src/config-storage.d.ts +5 -0
  651. package/dist/types/webex/src/config-storage.shim.d.ts +5 -0
  652. package/dist/types/webex/src/config.d.ts +17 -0
  653. package/dist/types/webex/src/index.d.ts +11 -0
  654. package/dist/types/webex/src/webex.d.ts +9 -0
  655. package/dist/types/webex/test/integration/spec/commonjs.d.ts +1 -0
  656. package/dist/types/webex/test/integration/spec/env.d.ts +1 -0
  657. package/dist/types/webex/test/integration/spec/init.d.ts +1 -0
  658. package/dist/types/webex/test/integration/spec/request.d.ts +1 -0
  659. package/dist/types/webex/test/unit/spec/webex.d.ts +1 -0
  660. package/dist/types/webex/umd/webex.min.d.ts +2 -0
  661. package/package.json +2 -2
  662. package/src/assertions/literal.js +4 -7
  663. package/src/extract.js +28 -26
  664. package/src/index.js +1 -1
  665. package/src/mocha-template.js +2 -2
  666. package/src/parse.js +23 -20
  667. package/src/transform.js +10 -14
@@ -0,0 +1,271 @@
1
+ /**
2
+ * The parameter transfer object for {@link ServiceRegistry#mapRemoteCatalog}.
3
+ * This object is shaped to match the object returned from the **U2C** service.
4
+ *
5
+ * @typedef {Record<string, string>} RSL
6
+ * @typedef {Record<string, Array<Record<string, number | string>>>} RHC
7
+ *
8
+ * @typedef {Object} MapRemoteCatalogPTO
9
+ * @property {string} MapRemoteCatalogPTO.catalog - Service catalog name.
10
+ * @property {RSL} MapRemoteCatalogPTO.serviceLinks - Service links.
11
+ * @property {RHC} MapRemoteCatalogPTO.hostCatalog - Service host catalog.
12
+ */
13
+ /**
14
+ * Service manipulation filter object for retrieving services within the
15
+ * {@link ServiceRegistry} class.
16
+ *
17
+ * @typedef {Object} HostFilter
18
+ * @property {boolean} [HostFilter.active] - Active state to filter.
19
+ * @property {Array<string> | string} [HostFilter.catalog] - Catalogs to filter.
20
+ * @property {Array<string> | string} [HostFilter.cluster] - Clusters to filter.
21
+ * @property {boolean} [HostFilter.local] - Filter to the user's home cluster.
22
+ * @property {boolean} [HostFilter.priority] - Filter for the highest priority.
23
+ * @property {Array<string> | string} [HostFilter.service] - Services to filter.
24
+ * @property {Array<string> | string} [HostFilter.url] - URL to filter.
25
+ */
26
+ /**
27
+ * @class
28
+ * @classdesc - Manages a collection of {@link ServiceHost} class objects.
29
+ */
30
+ export default class ServiceRegistry {
31
+ /**
32
+ * Convert a {@link SERVICE_CATALOGS} identifier or value to its associated
33
+ * idenfier or value.
34
+ *
35
+ * @public
36
+ * @static
37
+ * @memberof ServiceRegistry
38
+ * @param {Object} pto - The parameter transfer object.
39
+ * @property {string | number} pto.id - The identifier to convert in the enum.
40
+ * @property {SERVICE_CATALOGS_ENUM_TYPES} pto.type - The desired output.
41
+ * @returns {string|number} - The matching enum value or index.
42
+ */
43
+ public static mapCatalogName({ id, type }: any): string | number;
44
+ /**
45
+ * Generate a formatted array based on the object received from the **U2C**
46
+ * service for usage in the {@link ServiceRegistry#load} method.
47
+ *
48
+ * @public
49
+ * @static
50
+ * @memberof ServiceRegistry
51
+ * @param {MapRemoteCatalogPTO} pto - The parameter transfer object.
52
+ * @throws - If the target catalog does not exist.
53
+ * @returns {Array<ServiceHost#ServiceHostConstructorPTO>}
54
+ */
55
+ public static mapRemoteCatalog({ catalog, hostCatalog, serviceLinks }: MapRemoteCatalogPTO): Array<ServiceHost>;
56
+ /**
57
+ * The collection of managed {@link ServiceHost}s.
58
+ *
59
+ * @instance
60
+ * @type {Array<ServiceHost>}
61
+ * @private
62
+ * @memberof ServiceRegistry
63
+ */
64
+ private hosts;
65
+ /**
66
+ * An active, local, and priority mapped record of the current
67
+ * {@link ServiceCatalog#hosts}.
68
+ *
69
+ * @public
70
+ * @memberof ServiceCatalog
71
+ * @type {Record<string, string>}
72
+ */
73
+ public get map(): Record<string, string>;
74
+ /**
75
+ * Removes a collection of {@link ServiceHost} class objects from the
76
+ * {@link ServiceRegistry#hosts} array based on the provided
77
+ * {@link HostFilter}.
78
+ *
79
+ * @public
80
+ * @memberof ServiceRegistry
81
+ * @param {HostFilter} filter - The inclusive filter for hosts to remove.
82
+ * @returns {Array<ServiceHost>} - The removed {@link ServiceHost}s.
83
+ */
84
+ public clear(filter: HostFilter): Array<ServiceHost>;
85
+ /**
86
+ * Mark a collection of {@link ServiceHost} class objects from the
87
+ * {@link ServiceRegistry#hosts} array as failed based on the provided
88
+ * {@link HostFilter}.
89
+ *
90
+ * @public
91
+ * @memberof ServiceRegistry
92
+ * @param {HostFilter} filter - The inclusive filter for hosts to mark failed.
93
+ * @returns {Array<ServiceHost>} - The {@link ServiceHost}s marked failed.
94
+ */
95
+ public failed(filter: HostFilter): Array<ServiceHost>;
96
+ /**
97
+ * Filter the {@link ServiceRegistry#hosts} array against their active states.
98
+ *
99
+ * @private
100
+ * @memberof ServiceRegistry
101
+ * @param {boolean} [active] - Filter for the host state.
102
+ * @returns {Array<ServiceHost>} - The filtered host array.
103
+ */
104
+ private filterActive;
105
+ /**
106
+ * Filter the {@link ServiceRegistry#hosts} array against their assigned
107
+ * catalog values.
108
+ *
109
+ * @private
110
+ * @memberof ServiceRegistry
111
+ * @param {Array<string> | string} [catalog] - Catalogs to filter.
112
+ * @returns {Array<ServiceHost>} - The filtered host array.
113
+ */
114
+ private filterCatalog;
115
+ /**
116
+ * Filter the {@link ServiceRegistry#hosts} array against their assigned
117
+ * cluster values.
118
+ *
119
+ * @private
120
+ * @memberof ServiceRegistry
121
+ * @param {Array<string> | string} [cluster] - Clusters to filter for.
122
+ * @returns {Array<ServiceHost>} - The filtered host array.
123
+ */
124
+ private filterCluster;
125
+ /**
126
+ * Filter the {@link ServiceRegistry#hosts} array against their location in
127
+ * reference to the authenticated user.
128
+ *
129
+ * @private
130
+ * @memberof ServiceRegistry
131
+ * @param {boolean} [local] - Filter for the host location.
132
+ * @returns {Array<ServiceHost>} - The filtered host array.
133
+ */
134
+ private filterLocal;
135
+ /**
136
+ * Filter the {@link ServiceRegistry#hosts} array for the highest priority
137
+ * hosts for each specific service.
138
+ *
139
+ * @private
140
+ * @memberof ServiceRegistry
141
+ * @param {boolean} [priority] - Filter for the highest priority
142
+ * @returns {Array<ServiceHost>} - The filtered host array.
143
+ */
144
+ private filterPriority;
145
+ /**
146
+ * Filter the {@link ServiceRegistry#hosts} array for hosts with a specified
147
+ * set of service names.
148
+ *
149
+ * @private
150
+ * @memberof ServiceRegistry
151
+ * @param {Array<string> | string} [service] - Services to filter.
152
+ * @returns {Array<ServiceHost>} - The filtered host array.
153
+ */
154
+ private filterService;
155
+ /**
156
+ * Filter the {@link ServiceRegistry#hosts} array for hosts with a specified
157
+ * set of URLs.
158
+ *
159
+ * @private
160
+ * @memberof ServiceRegistry
161
+ * @param {Array<string> | string} [url] - URL to filter.
162
+ * @returns {Array<ServiceHost>} - The filter host array.
163
+ */
164
+ private filterUrl;
165
+ /**
166
+ * Get an array of {@link ServiceHost}s based on a provided
167
+ * {@link HostFilter} from the {@link ServiceRegistry#hosts} array.
168
+ *
169
+ * @public
170
+ * @memberof ServiceRegistry
171
+ * @param {HostFilter} [filter] - The inclusive filter for hosts to find.
172
+ * @returns {Array<ServiceHost>} - The filtered hosts.
173
+ */
174
+ public find({ active, catalog, cluster, local, priority, service, url }?: HostFilter): Array<ServiceHost>;
175
+ /**
176
+ * Load a formatted array of {@link ServiceHost} constructor parameter
177
+ * transfer objects as instances of {@link ServiceHost} class objects to the
178
+ * {@link ServiceRegistry#hosts} array.
179
+ *
180
+ * @public
181
+ * @memberof ServiceRegistry
182
+ * @param {Array<ServiceHost.ConstructorPTO>} hosts
183
+ * @returns {this}
184
+ */
185
+ public load(hosts?: Array<ServiceHost.ConstructorPTO>): this;
186
+ /**
187
+ * Mark a collection of {@link ServiceHost} class objects from the
188
+ * {@link ServiceRegistry#hosts} array as replaced based on the provided
189
+ * {@link HostFilter}.
190
+ *
191
+ * @public
192
+ * @memberof ServiceRegistry
193
+ * @param {HostFilter} filter - The inclusive filter to mark replaced.
194
+ * @returns {Array<ServiceHost>} - The {@link ServiceHost}s marked replaced.
195
+ */
196
+ public replaced(filter: HostFilter): Array<ServiceHost>;
197
+ /**
198
+ * Reset the failed status of a collection of {@link ServiceHost} class
199
+ * objects from the {@link ServiceRegistry#hosts} array based on the provided
200
+ * {@link HostFilter}.
201
+ *
202
+ * @public
203
+ * @memberof ServiceRegistry
204
+ * @param {HostFilter} filter - The inclusive filter of hosts to reset.
205
+ * @returns {Array<ServiceHost>} - The {@link ServiceHost}s that reset.
206
+ */
207
+ public reset(filter: HostFilter): Array<ServiceHost>;
208
+ }
209
+ /**
210
+ * The parameter transfer object for {@link ServiceRegistrymapRemoteCatalog }.
211
+ * This object is shaped to match the object returned from the **U2C** service.
212
+ */
213
+ export type RSL = Record<string, string>;
214
+ /**
215
+ * The parameter transfer object for {@link ServiceRegistrymapRemoteCatalog }.
216
+ * This object is shaped to match the object returned from the **U2C** service.
217
+ */
218
+ export type RHC = Record<string, Array<Record<string, number | string>>>;
219
+ /**
220
+ * The parameter transfer object for {@link ServiceRegistrymapRemoteCatalog }.
221
+ * This object is shaped to match the object returned from the **U2C** service.
222
+ */
223
+ export type MapRemoteCatalogPTO = {
224
+ /**
225
+ * - Service catalog name.
226
+ */
227
+ catalog: string;
228
+ /**
229
+ * - Service links.
230
+ */
231
+ serviceLinks: RSL;
232
+ /**
233
+ * - Service host catalog.
234
+ */
235
+ hostCatalog: RHC;
236
+ };
237
+ /**
238
+ * Service manipulation filter object for retrieving services within the
239
+ * {@link ServiceRegistry } class.
240
+ */
241
+ export type HostFilter = {
242
+ /**
243
+ * - Active state to filter.
244
+ */
245
+ active?: boolean;
246
+ /**
247
+ * - Catalogs to filter.
248
+ */
249
+ catalog?: Array<string> | string;
250
+ /**
251
+ * - Clusters to filter.
252
+ */
253
+ cluster?: Array<string> | string;
254
+ /**
255
+ * - Filter to the user's home cluster.
256
+ */
257
+ local?: boolean;
258
+ /**
259
+ * - Filter for the highest priority.
260
+ */
261
+ priority?: boolean;
262
+ /**
263
+ * - Services to filter.
264
+ */
265
+ service?: Array<string> | string;
266
+ /**
267
+ * - URL to filter.
268
+ */
269
+ url?: Array<string> | string;
270
+ };
271
+ import ServiceHost from "./service-host";
@@ -0,0 +1,46 @@
1
+ /**
2
+ * The state of a specific catalog to be used by {@link ServiceState}.
3
+ *
4
+ * @typedef {Record<string, boolean>} CatalogState
5
+ * @property {boolean} CatalogState.collecting - If the catalog is collecting.
6
+ * @property {boolean} CatalogState.ready - If the catalog is ready.
7
+ */
8
+ /**
9
+ * @class
10
+ * @classdesc - Manages the state of the service catalogs for a webex instance.
11
+ */
12
+ export default class ServiceState {
13
+ /**
14
+ * Generate a {@link CatalogState}.
15
+ *
16
+ * @public
17
+ * @static
18
+ * @memberof ServiceState
19
+ * @returns {CatalogState} - The generated {@link CatalogState}.
20
+ */
21
+ public static generateCatalogState(): CatalogState;
22
+ /**
23
+ * Set a catalog to be collecting or not.
24
+ *
25
+ * @public
26
+ * @memberof ServiceState
27
+ * @param {string} catalog - Catalog to target.
28
+ * @param {boolean} collecting - If the target is collecting or not.
29
+ * @returns {undefined}
30
+ */
31
+ public setCollecting(catalog: string, collecting: boolean): undefined;
32
+ /**
33
+ * Set a catalog to be ready or not.
34
+ *
35
+ * @public
36
+ * @memberof ServiceState
37
+ * @param {string} catalog - Catalog to target.
38
+ * @param {boolean} ready - If the target is ready or not.
39
+ * @returns {undefined}
40
+ */
41
+ public setReady(catalog: string, ready: boolean): undefined;
42
+ }
43
+ /**
44
+ * The state of a specific catalog to be used by {@link ServiceState }.
45
+ */
46
+ export type CatalogState = Record<string, boolean>;
@@ -0,0 +1,5 @@
1
+ export default ServiceUrl;
2
+ /**
3
+ * @class
4
+ */
5
+ declare const ServiceUrl: any;
@@ -0,0 +1,5 @@
1
+ export default Services;
2
+ /**
3
+ * @class
4
+ */
5
+ declare const Services: any;
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Base plugin class. Doesn't depend on Ampersand State
3
+ */
4
+ export default class StatelessWebexPlugin {
5
+ /**
6
+ * Constructor. One of attrs.webex or options.parent is required
7
+ * @param {Object} attrs
8
+ * @param {WebexCore} [attrs.webex]
9
+ * @param {Object} options
10
+ * @param {WebexCore} [options.parent]
11
+ */
12
+ constructor(attrs?: {
13
+ webex?: WebexCore;
14
+ }, options?: {
15
+ parent?: WebexCore;
16
+ });
17
+ /**
18
+ * The config for this plugin's namespace. If no namespace has been set
19
+ * returns all of webex's config.
20
+ * @type {Object}
21
+ */
22
+ get config(): any;
23
+ /**
24
+ * A reference to the webex logger.
25
+ * @type {Logger}
26
+ */
27
+ get logger(): Logger;
28
+ /**
29
+ * A reference to the main sdk instance
30
+ * @type {WebexCore}
31
+ */
32
+ get webex(): WebexCore;
33
+ ready: boolean;
34
+ /**
35
+ * Proxies to {@link WebexPlugin#webex}'s `request()` method.
36
+ * @see WebexCore#request
37
+ * @param {Array<mixed>} args
38
+ * @returns {Promise}
39
+ */
40
+ request(...args: Array<mixed>): Promise<any>;
41
+ /**
42
+ * Proxies to {@link WebexPlugin#webex}'s `upload()` method.
43
+ * @see WebexCore#upload
44
+ * @param {Array<mixed>} args
45
+ * @returns {Promise}
46
+ */
47
+ upload(...args: Array<mixed>): Promise<any>;
48
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Stores the result of fn before returning it
3
+ * @param {string} key
4
+ * @private
5
+ * @returns {Promise} resolves with the result of fn
6
+ */
7
+ export function persist(...args: any[]): Promise<any>;
8
+ /**
9
+ * Prevents fn from executing until key has been (attempted to be) loaded
10
+ * @param {string} key
11
+ * @param {Function} fn
12
+ * @private
13
+ * @returns {Promise} result of fn
14
+ */
15
+ export function waitForValue(key: string): Promise<any>;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * General storage layer error
3
+ */
4
+ export class StorageError {
5
+ }
6
+ /**
7
+ * StorageError thrown when the storage layer does not contain the request key
8
+ */
9
+ export class NotFoundError extends StorageError {
10
+ }
@@ -0,0 +1,5 @@
1
+ export { default as makeWebexStore } from "./make-webex-store";
2
+ export { default as makeWebexPluginStore } from "./make-webex-plugin-store";
3
+ export { default as MemoryStoreAdapter } from "./memory-store-adapter";
4
+ export { persist, waitForValue } from "./decorators";
5
+ export { StorageError, NotFoundError } from "./errors";
@@ -0,0 +1,8 @@
1
+ /**
2
+ * [makeWebexPluginStorage description]
3
+ * @param {[type]} type
4
+ * @param {[type]} context
5
+ * @private
6
+ * @returns {[type]}
7
+ */
8
+ export default function makeWebexPluginStorage(type: any, context: [any]): [any];
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Makes a WebexStore for the specified type bound to the specified webex instance
3
+ * @param {string} type
4
+ * @param {ProxyWebex} webex
5
+ * @private
6
+ * @returns {WebexStore}
7
+ */
8
+ export default function makeWebexStore(type: string, webex: ProxyWebex): {
9
+ /**
10
+ * Provides easy access to the storage adapter identified in config.
11
+ * @returns {Object}
12
+ */
13
+ readonly adapter: any;
14
+ /**
15
+ * @returns {WeakMap}
16
+ */
17
+ readonly bindings: WeakMap<any, any>;
18
+ /**
19
+ * Clears the store
20
+ * @returns {Promise}
21
+ */
22
+ clear(): Promise<any>;
23
+ /**
24
+ * Deletes the specified key from the store
25
+ * @param {string} namespace
26
+ * @param {string} key
27
+ * @returns {[type]}
28
+ */
29
+ del(namespace: string, key: string): [string];
30
+ /**
31
+ * Retrieves the value specified by key from the store. Rejects with
32
+ * NotFoundError if no value can be found
33
+ * @param {string} namespace
34
+ * @param {string} key
35
+ * @returns {Promise}
36
+ */
37
+ get(namespace: string, key: string): Promise<any>;
38
+ /**
39
+ * Writes a value to the store. Deletes the specified key from the store
40
+ * if passed `undefined`
41
+ * @param {string} namespace
42
+ * @param {string} key
43
+ * @param {any} value
44
+ * @returns {Promise} Resolves with value (to simplify write-through caching)
45
+ */
46
+ put(namespace: string, key: string, value: any): Promise<any>;
47
+ _getBinding(namespace: any): Promise<any>;
48
+ };
@@ -0,0 +1,18 @@
1
+ declare namespace _default {
2
+ export { _bind as bind };
3
+ export function preload(data: any): {
4
+ bind(namespace: any, options?: {}): Promise<any>;
5
+ };
6
+ }
7
+ export default _default;
8
+ /**
9
+ * Binds a namespace
10
+ * @param {string} namespace
11
+ * @param {Object} options
12
+ * @param {Object} options.data
13
+ * @private
14
+ * @returns {Promise<Object>}
15
+ */
16
+ declare function _bind(namespace: string, options?: {
17
+ data: any;
18
+ }): Promise<any>;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Mixes a plugin system into an AmpState object (specifically, into WebexCore)
3
+ * @param {AmpState} State
4
+ * @param {Object} config
5
+ * @param {Object} interceptors
6
+ * @returns {AmpState}
7
+ */
8
+ export default function mixinWebexCorePlugins(State: AmpState, config: any, interceptors: any): AmpState;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Webex-specific http error class
3
+ */
4
+ export default class WebexHttpError {
5
+ /**
6
+ * Very similar to {@link HttpError#parse()}, but additionally adds some
7
+ * useful headers to the message string
8
+ * @param {HttpResponse} res
9
+ * @returns {string}
10
+ */
11
+ parse(res: HttpResponse): string;
12
+ }
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Mixes a plugin system into an AmpState object (specifically, into WebexCore)
3
+ * @param {AmpState} State
4
+ * @param {Object} config
5
+ * @param {Object} interceptors
6
+ * @returns {AmpState}
7
+ */
8
+ export default function mixinWebexInternalCorePlugins(State: AmpState, config: any, interceptors: any): AmpState;
@@ -0,0 +1,5 @@
1
+ export default WebexPlugin;
2
+ /**
3
+ * @class
4
+ */
5
+ declare const WebexPlugin: any;
@@ -0,0 +1,2 @@
1
+ export default Logger;
2
+ declare const Logger: any;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @method registerPlugin
3
+ * @param {string} name
4
+ * @param {function} constructor
5
+ * @param {Object} options
6
+ * @param {Array<string>} options.proxies
7
+ * @param {Object} options.interceptors
8
+ * @returns {null}
9
+ */
10
+ export function registerPlugin(name: string, constructor: Function, options?: {
11
+ proxies: Array<string>;
12
+ interceptors: any;
13
+ }): null;
14
+ /**
15
+ * Registers plugins used by internal products that do not talk to public APIs.
16
+ * @method registerInternalPlugin
17
+ * @param {string} name
18
+ * @param {function} constructor
19
+ * @param {Object} options
20
+ * @param {Object} options.interceptors
21
+ * @private
22
+ * @returns {null}
23
+ */
24
+ export function registerInternalPlugin(name: string, constructor: Function, options: {
25
+ interceptors: any;
26
+ }): null;
27
+ export default WebexCore;
28
+ /**
29
+ * @class
30
+ */
31
+ declare const WebexCore: any;
@@ -0,0 +1,7 @@
1
+ export default WebexInternalCore;
2
+ /**
3
+ * WebexInternalCore is an extra layer of nesting to make it blatantly clear that
4
+ * private plugins are, in fact, private.
5
+ * @class
6
+ */
7
+ declare const WebexInternalCore: any;