@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.
- package/README.md +2 -2
- package/dist/assertions/literal.js +6 -26
- package/dist/assertions/literal.js.map +1 -1
- package/dist/extract.js +8 -24
- package/dist/extract.js.map +1 -1
- package/dist/index.js +7 -21
- package/dist/index.js.map +1 -1
- package/dist/mocha-template.js +2 -9
- package/dist/mocha-template.js.map +1 -1
- package/dist/parse.js +0 -6
- package/dist/parse.js.map +1 -1
- package/dist/transform.js +6 -18
- package/dist/transform.js.map +1 -1
- package/dist/types/@webex/common/src/base64.d.ts +38 -0
- package/dist/types/@webex/common/src/browser-detection.d.ts +8 -0
- package/dist/types/@webex/common/src/capped-debounce.d.ts +12 -0
- package/dist/types/@webex/common/src/check-required.d.ts +11 -0
- package/dist/types/@webex/common/src/constants.d.ts +76 -0
- package/dist/types/@webex/common/src/defer.d.ts +23 -0
- package/dist/types/@webex/common/src/deprecated.d.ts +7 -0
- package/dist/types/@webex/common/src/event-envelope.d.ts +13 -0
- package/dist/types/@webex/common/src/events.d.ts +15 -0
- package/dist/types/@webex/common/src/exception.d.ts +23 -0
- package/dist/types/@webex/common/src/in-browser/browser.d.ts +2 -0
- package/dist/types/@webex/common/src/in-browser/index.d.ts +1 -0
- package/dist/types/@webex/common/src/in-browser/node.d.ts +2 -0
- package/dist/types/@webex/common/src/index.d.ts +21 -0
- package/dist/types/@webex/common/src/isBuffer.d.ts +2 -0
- package/dist/types/@webex/common/src/make-state-datatype.d.ts +11 -0
- package/dist/types/@webex/common/src/one-flight.d.ts +9 -0
- package/dist/types/@webex/common/src/patterns.d.ts +8 -0
- package/dist/types/@webex/common/src/resolve-with.d.ts +22 -0
- package/dist/types/@webex/common/src/retry.d.ts +13 -0
- package/dist/types/@webex/common/src/tap.d.ts +17 -0
- package/dist/types/@webex/common/src/template-container.d.ts +59 -0
- package/dist/types/@webex/common/src/uuid-utils.d.ts +112 -0
- package/dist/types/@webex/common/src/while-in-flight.d.ts +7 -0
- package/dist/types/@webex/common/test/unit/spec/capped-debounce.d.ts +1 -0
- package/dist/types/@webex/common/test/unit/spec/common.d.ts +1 -0
- package/dist/types/@webex/common/test/unit/spec/exception.d.ts +1 -0
- package/dist/types/@webex/common/test/unit/spec/one-flight.d.ts +1 -0
- package/dist/types/@webex/common/test/unit/spec/template-container.d.ts +1 -0
- package/dist/types/@webex/common/test/unit/spec/while-in-flight.d.ts +1 -0
- package/dist/types/@webex/common-evented/src/index.d.ts +9 -0
- package/dist/types/@webex/common-evented/test/unit/spec/evented.d.ts +1 -0
- package/dist/types/@webex/common-timers/src/index.d.ts +19 -0
- package/dist/types/@webex/helper-html/browsers.d.ts +2 -0
- package/dist/types/@webex/helper-html/src/html-base.d.ts +12 -0
- package/dist/types/@webex/helper-html/src/html.d.ts +5 -0
- package/dist/types/@webex/helper-html/src/html.shim.d.ts +33 -0
- package/dist/types/@webex/helper-html/src/index.d.ts +1 -0
- package/dist/types/@webex/helper-html/test/unit/spec/html.d.ts +1 -0
- package/dist/types/@webex/helper-image/src/detect-filetype.d.ts +7 -0
- package/dist/types/@webex/helper-image/src/index.d.ts +26 -0
- package/dist/types/@webex/helper-image/src/process-image.browser.d.ts +19 -0
- package/dist/types/@webex/helper-image/src/process-image.d.ts +17 -0
- package/dist/types/@webex/helper-image/test/unit/spec/index.d.ts +1 -0
- package/dist/types/@webex/http-core/src/http-error-subtypes.d.ts +8 -0
- package/dist/types/@webex/http-core/src/http-error.d.ts +41 -0
- package/dist/types/@webex/http-core/src/index.d.ts +7 -0
- package/dist/types/@webex/http-core/src/interceptors/http-status.d.ts +17 -0
- package/dist/types/@webex/http-core/src/lib/detect.d.ts +6 -0
- package/dist/types/@webex/http-core/src/lib/interceptor.d.ts +51 -0
- package/dist/types/@webex/http-core/src/lib/xhr.d.ts +6 -0
- package/dist/types/@webex/http-core/src/progress-event.d.ts +18 -0
- package/dist/types/@webex/http-core/src/request/index.d.ts +5 -0
- package/dist/types/@webex/http-core/src/request/request.d.ts +6 -0
- package/dist/types/@webex/http-core/src/request/request.shim.d.ts +6 -0
- package/dist/types/@webex/http-core/test/integration/spec/http-error.d.ts +1 -0
- package/dist/types/@webex/http-core/test/integration/spec/interceptor.d.ts +1 -0
- package/dist/types/@webex/http-core/test/integration/spec/progress-event.d.ts +1 -0
- package/dist/types/@webex/http-core/test/integration/spec/request.d.ts +1 -0
- package/dist/types/@webex/http-core/test/unit/spec/interceptors/http-status.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-avatar/src/avatar-url-batcher.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-avatar/src/avatar-url-store.d.ts +50 -0
- package/dist/types/@webex/internal-plugin-avatar/src/avatar.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-avatar/src/config.d.ts +13 -0
- package/dist/types/@webex/internal-plugin-avatar/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-avatar/test/integration/spec/avatar.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar-url-batcher.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar-url-store.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-avatar/test/unit/spec/avatar.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/src/board.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-board/src/config.d.ts +11 -0
- package/dist/types/@webex/internal-plugin-board/src/index.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-board/src/realtime-channel-collection.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-board/src/realtime-channel.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-board/src/realtime.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-board/test/integration/spec/board.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/test/integration/spec/realtime.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/test/integration/spec/sharing-mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/test/unit/spec/board.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/test/unit/spec/encryption.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-board/test/unit/spec/realtime.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-calendar/src/calendar.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-calendar/src/collection.d.ts +58 -0
- package/dist/types/@webex/internal-plugin-calendar/src/config.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-calendar/src/constants.d.ts +6 -0
- package/dist/types/@webex/internal-plugin-calendar/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-calendar/src/util.d.ts +15 -0
- package/dist/types/@webex/internal-plugin-calendar/test/integration/spec/calendar.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-calendar/test/unit/spec/calendar.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-calendar/test/unit/spec/utils.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/src/activities.d.ts +32 -0
- package/dist/types/@webex/internal-plugin-conversation/src/activity-thread-ordering.d.ts +18 -0
- package/dist/types/@webex/internal-plugin-conversation/src/config.d.ts +19 -0
- package/dist/types/@webex/internal-plugin-conversation/src/constants.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-conversation/src/conversation.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-conversation/src/convo-error.d.ts +10 -0
- package/dist/types/@webex/internal-plugin-conversation/src/decryption-transforms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/src/encryption-transforms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/src/index.d.ts +3 -0
- package/dist/types/@webex/internal-plugin-conversation/src/share-activity.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-conversation/src/to-array.d.ts +9 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/create.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/encryption.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/get.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/share.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/integration/spec/verbs.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/conversation.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/decrypt-transforms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/encryption-transforms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-conversation/test/unit/spec/share-activity.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/src/config.d.ts +10 -0
- package/dist/types/@webex/internal-plugin-device/src/constants.d.ts +12 -0
- package/dist/types/@webex/internal-plugin-device/src/device.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-device/src/features/feature-collection.d.ts +9 -0
- package/dist/types/@webex/internal-plugin-device/src/features/feature-model.d.ts +29 -0
- package/dist/types/@webex/internal-plugin-device/src/features/features-model.d.ts +9 -0
- package/dist/types/@webex/internal-plugin-device/src/features/index.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-device/src/index.d.ts +8 -0
- package/dist/types/@webex/internal-plugin-device/src/interceptors/device-url.d.ts +15 -0
- package/dist/types/@webex/internal-plugin-device/src/metrics.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-device/test/integration/spec/device.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/integration/spec/webex.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/unit/spec/device.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/feature-collection.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/feature-model.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/unit/spec/features/features-model.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-device/test/unit/spec/interceptors/device-url.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-dss/src/constants.d.ts +14 -0
- package/dist/types/@webex/internal-plugin-dss/src/dss.d.ts +3 -0
- package/dist/types/@webex/internal-plugin-dss/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-dss/src/types.d.ts +28 -0
- package/dist/types/@webex/internal-plugin-dss/test/unit/spec/dss.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/config.d.ts +11 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/ediscovery-error.d.ts +11 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/ediscovery.d.ts +6 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/index.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/report-request.d.ts +29 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/retry.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-ediscovery/src/transforms.d.ts +35 -0
- package/dist/types/@webex/internal-plugin-ediscovery/test/integration/spec/ediscovery.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/content.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/report.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-ediscovery/test/unit/spec/transforms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-encryption/src/config.d.ts +16 -0
- package/dist/types/@webex/internal-plugin-encryption/src/encryption.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-encryption/src/ensure-buffer.browser.d.ts +10 -0
- package/dist/types/@webex/internal-plugin-encryption/src/ensure-buffer.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-encryption/src/index.d.ts +3 -0
- package/dist/types/@webex/internal-plugin-encryption/src/kms-batcher.d.ts +6 -0
- package/dist/types/@webex/internal-plugin-encryption/src/kms-certificate-validation.d.ts +24 -0
- package/dist/types/@webex/internal-plugin-encryption/src/kms-dry-error-interceptor.d.ts +25 -0
- package/dist/types/@webex/internal-plugin-encryption/src/kms-errors.d.ts +33 -0
- package/dist/types/@webex/internal-plugin-encryption/src/kms.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/encryption.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/kms.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-encryption/test/integration/spec/payload-transfom.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-encryption/test/unit/spec/encryption.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-encryption/test/unit/spec/kms-certificate-validation.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-feature/src/config.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-feature/src/feature.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-feature/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-feature/test/integration/spec/feature.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-feature/test/unit/spec/feature.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-flag/src/config.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-flag/src/flag.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-flag/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-flag/test/integration/spec/flag.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-flag/test/unit/spec/flag.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-llm/src/constants.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-llm/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-llm/src/llm.d.ts +88 -0
- package/dist/types/@webex/internal-plugin-llm/src/llm.types.d.ts +8 -0
- package/dist/types/@webex/internal-plugin-llm/test/unit/spec/llm.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-locus/src/event-keys.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-locus/src/index.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-locus/src/locus.d.ts +12 -0
- package/dist/types/@webex/internal-plugin-locus/test/unit/spec/locus.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-lyra/src/config.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-lyra/src/device.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-lyra/src/index.d.ts +3 -0
- package/dist/types/@webex/internal-plugin-lyra/src/lyra.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-lyra/src/space.d.ts +7 -0
- package/dist/types/@webex/internal-plugin-lyra/test/integration/spec/device.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-lyra/test/integration/spec/space.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/device.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/lyra.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-lyra/test/unit/spec/space.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/src/config.d.ts +10 -0
- package/dist/types/@webex/internal-plugin-mercury/src/errors.d.ts +31 -0
- package/dist/types/@webex/internal-plugin-mercury/src/index.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-mercury/src/mercury.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-mercury/src/socket/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/src/socket/socket-base.d.ts +120 -0
- package/dist/types/@webex/internal-plugin-mercury/src/socket/socket.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-mercury/src/socket/socket.shim.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/sharable-mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/test/integration/spec/webex.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/test/unit/lib/promise-tick.d.ts +9 -0
- package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/_setup.d.ts +0 -0
- package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/mercury-events.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-mercury/test/unit/spec/socket.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-metrics/src/batcher.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-metrics/src/call-diagnostic-events-batcher.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-metrics/src/client-metrics-batcher.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-metrics/src/config.d.ts +18 -0
- package/dist/types/@webex/internal-plugin-metrics/src/index.d.ts +3 -0
- package/dist/types/@webex/internal-plugin-metrics/src/metrics.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/batcher.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/call-diagnostic-events-batcher.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/client-metrics-batcher.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-metrics/test/unit/spec/metrics.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-presence/src/config.d.ts +8 -0
- package/dist/types/@webex/internal-plugin-presence/src/constants.d.ts +14 -0
- package/dist/types/@webex/internal-plugin-presence/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-presence/src/presence-batcher.d.ts +6 -0
- package/dist/types/@webex/internal-plugin-presence/src/presence-worker.d.ts +68 -0
- package/dist/types/@webex/internal-plugin-presence/src/presence.d.ts +6 -0
- package/dist/types/@webex/internal-plugin-presence/test/integration/spec/presence.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-presence/test/unit/spec/presence-worker.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-presence/test/unit/spec/presence.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-search/src/config.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-search/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-search/src/search.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-search/test/integration/spec/search.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-support/src/config.d.ts +16 -0
- package/dist/types/@webex/internal-plugin-support/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-support/src/support.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-support/test/integration/spec/support.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-support/test/unit/spec/support.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/src/config.d.ts +4 -0
- package/dist/types/@webex/internal-plugin-team/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/src/team.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-team/test/integration/spec/actions.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/test/integration/spec/create.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/test/integration/spec/get.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/test/integration/spec/mercury.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-team/test/unit/spec/team.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-user/src/config.d.ts +17 -0
- package/dist/types/@webex/internal-plugin-user/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-user/src/user-uuid-batcher.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-user/src/user-uuid-store.d.ts +34 -0
- package/dist/types/@webex/internal-plugin-user/src/user.d.ts +5 -0
- package/dist/types/@webex/internal-plugin-user/test/integration/spec/user.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-user/test/unit/spec/user-uuid-batcher.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-user/test/unit/spec/user.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-voicea/src/constants.d.ts +28 -0
- package/dist/types/@webex/internal-plugin-voicea/src/index.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-voicea/src/utils.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-voicea/src/voicea.d.ts +78 -0
- package/dist/types/@webex/internal-plugin-voicea/src/voicea.types.d.ts +72 -0
- package/dist/types/@webex/internal-plugin-voicea/test/unit/spec/utils.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-voicea/test/unit/spec/voicea.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-wdm/src/index.d.ts +2 -0
- package/dist/types/@webex/internal-plugin-wdm/test/integration/spec/webex.d.ts +1 -0
- package/dist/types/@webex/internal-plugin-wdm/test/unit/spec/device.d.ts +1 -0
- package/dist/types/@webex/jsdoctrinetest/src/assertions/literal.d.ts +12 -0
- package/dist/types/@webex/jsdoctrinetest/src/extract.d.ts +20 -0
- package/dist/types/@webex/jsdoctrinetest/src/index.d.ts +1 -0
- package/dist/types/@webex/jsdoctrinetest/src/mocha-template.d.ts +11 -0
- package/dist/types/@webex/jsdoctrinetest/src/parse.d.ts +7 -0
- package/dist/types/@webex/jsdoctrinetest/src/transform.d.ts +14 -0
- package/dist/types/@webex/jsdoctrinetest/test/unit/spec/default.d.ts +1 -0
- package/dist/types/@webex/plugin-attachment-actions/src/attachmentActions.d.ts +51 -0
- package/dist/types/@webex/plugin-attachment-actions/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-attachment-actions/test/integration/spec/attachmentActions.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization/src/index.browser.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization/src/index.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser/src/authorization.d.ts +8 -0
- package/dist/types/@webex/plugin-authorization-browser/src/config.d.ts +6 -0
- package/dist/types/@webex/plugin-authorization-browser/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-authorization-browser/test/automation/fixtures/app.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser/test/automation/spec/authorization-code-grant.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser/test/automation/spec/implicit-grant.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser/test/integration/spec/authorization.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser/test/unit/spec/authorization.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/src/authorization.d.ts +12 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/src/config.d.ts +7 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/test/automation/fixtures/app.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/test/automation/spec/authorization-code-grant.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-browser-first-party/test/unit/spec/authorization.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-node/src/authorization.d.ts +7 -0
- package/dist/types/@webex/plugin-authorization-node/src/config.d.ts +4 -0
- package/dist/types/@webex/plugin-authorization-node/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-authorization-node/test/integration/spec/authorization.d.ts +1 -0
- package/dist/types/@webex/plugin-authorization-node/test/unit/spec/authorization.d.ts +1 -0
- package/dist/types/@webex/plugin-device-manager/sample/app.d.ts +15 -0
- package/dist/types/@webex/plugin-device-manager/src/collection.d.ts +8 -0
- package/dist/types/@webex/plugin-device-manager/src/config.d.ts +2 -0
- package/dist/types/@webex/plugin-device-manager/src/constants.d.ts +3 -0
- package/dist/types/@webex/plugin-device-manager/src/device-manager.d.ts +2 -0
- package/dist/types/@webex/plugin-device-manager/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-device-manager/test/unit/spec/index.d.ts +1 -0
- package/dist/types/@webex/plugin-device-manager/webex.d.ts +1 -0
- package/dist/types/@webex/plugin-logger/src/config.d.ts +19 -0
- package/dist/types/@webex/plugin-logger/src/index.d.ts +1 -0
- package/dist/types/@webex/plugin-logger/src/logger.d.ts +7 -0
- package/dist/types/@webex/plugin-logger/test/unit/spec/logger.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/browsers.d.ts +75 -0
- package/dist/types/@webex/plugin-meetings/src/breakouts/breakout.d.ts +8 -0
- package/dist/types/@webex/plugin-meetings/src/breakouts/collection.d.ts +5 -0
- package/dist/types/@webex/plugin-meetings/src/breakouts/index.d.ts +5 -0
- package/dist/types/@webex/plugin-meetings/src/breakouts/request.d.ts +22 -0
- package/dist/types/@webex/plugin-meetings/src/breakouts/utils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/src/common/browser-detection.d.ts +9 -0
- package/dist/types/@webex/plugin-meetings/src/common/collection.d.ts +48 -0
- package/dist/types/@webex/plugin-meetings/src/common/config.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/captcha-error.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/intent-to-join.d.ts +16 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/join-meeting.d.ts +17 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/media.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/parameter.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/password-error.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/permission.d.ts +14 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/reconnection.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/stats.d.ts +15 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/webex-errors.d.ts +69 -0
- package/dist/types/@webex/plugin-meetings/src/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/types/@webex/plugin-meetings/src/common/events/events-scope.d.ts +17 -0
- package/dist/types/@webex/plugin-meetings/src/common/events/events.d.ts +12 -0
- package/dist/types/@webex/plugin-meetings/src/common/events/trigger-proxy.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/common/events/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/common/logs/logger-config.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/common/logs/logger-proxy.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/common/logs/request.d.ts +34 -0
- package/dist/types/@webex/plugin-meetings/src/common/queue.d.ts +32 -0
- package/dist/types/@webex/plugin-meetings/src/config.d.ts +77 -0
- package/dist/types/@webex/plugin-meetings/src/constants.d.ts +899 -0
- package/dist/types/@webex/plugin-meetings/src/controls-options-manager/constants.d.ts +4 -0
- package/dist/types/@webex/plugin-meetings/src/controls-options-manager/enums.d.ts +5 -0
- package/dist/types/@webex/plugin-meetings/src/controls-options-manager/index.d.ts +120 -0
- package/dist/types/@webex/plugin-meetings/src/controls-options-manager/util.d.ts +7 -0
- package/dist/types/@webex/plugin-meetings/src/index.d.ts +7 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/controlsUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/fullState.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/hostUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/index.d.ts +269 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/infoUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/parser.d.ts +212 -0
- package/dist/types/@webex/plugin-meetings/src/locus-info/selfUtils.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/media/index.d.ts +32 -0
- package/dist/types/@webex/plugin-meetings/src/media/properties.d.ts +107 -0
- package/dist/types/@webex/plugin-meetings/src/media/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/mediaQualityMetrics/config.d.ts +365 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/effectsState.d.ts +42 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/in-meeting-actions.d.ts +83 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/index.d.ts +1724 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/muteState.d.ts +108 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/request.d.ts +261 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/request.type.d.ts +11 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/state.d.ts +9 -0
- package/dist/types/@webex/plugin-meetings/src/meeting/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/collection.d.ts +20 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/index.d.ts +57 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/request.d.ts +22 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/meeting-info/utilv2.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/meetings/collection.d.ts +23 -0
- package/dist/types/@webex/plugin-meetings/src/meetings/index.d.ts +297 -0
- package/dist/types/@webex/plugin-meetings/src/meetings/request.d.ts +27 -0
- package/dist/types/@webex/plugin-meetings/src/meetings/util.d.ts +18 -0
- package/dist/types/@webex/plugin-meetings/src/member/index.d.ts +146 -0
- package/dist/types/@webex/plugin-meetings/src/member/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/members/collection.d.ts +24 -0
- package/dist/types/@webex/plugin-meetings/src/members/index.d.ts +320 -0
- package/dist/types/@webex/plugin-meetings/src/members/request.d.ts +50 -0
- package/dist/types/@webex/plugin-meetings/src/members/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/metrics/config.d.ts +178 -0
- package/dist/types/@webex/plugin-meetings/src/metrics/constants.d.ts +57 -0
- package/dist/types/@webex/plugin-meetings/src/metrics/index.d.ts +160 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/mediaRequestManager.d.ts +51 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/receiveSlot.d.ts +66 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/receiveSlotManager.d.ts +46 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/remoteMedia.d.ts +93 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/remoteMediaGroup.d.ts +56 -0
- package/dist/types/@webex/plugin-meetings/src/multistream/remoteMediaManager.d.ts +241 -0
- package/dist/types/@webex/plugin-meetings/src/networkQualityMonitor/index.d.ts +70 -0
- package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/index.d.ts +47 -0
- package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/request.d.ts +14 -0
- package/dist/types/@webex/plugin-meetings/src/personal-meeting-room/util.d.ts +2 -0
- package/dist/types/@webex/plugin-meetings/src/reachability/index.d.ts +140 -0
- package/dist/types/@webex/plugin-meetings/src/reachability/request.d.ts +35 -0
- package/dist/types/@webex/plugin-meetings/src/reactions/constants.d.ts +3 -0
- package/dist/types/@webex/plugin-meetings/src/reactions/reactions.d.ts +4 -0
- package/dist/types/@webex/plugin-meetings/src/reactions/reactions.type.d.ts +52 -0
- package/dist/types/@webex/plugin-meetings/src/reconnection-manager/index.d.ts +117 -0
- package/dist/types/@webex/plugin-meetings/src/recording-controller/enums.d.ts +7 -0
- package/dist/types/@webex/plugin-meetings/src/recording-controller/index.d.ts +193 -0
- package/dist/types/@webex/plugin-meetings/src/recording-controller/util.d.ts +13 -0
- package/dist/types/@webex/plugin-meetings/src/roap/index.d.ts +77 -0
- package/dist/types/@webex/plugin-meetings/src/roap/request.d.ts +35 -0
- package/dist/types/@webex/plugin-meetings/src/roap/turnDiscovery.d.ts +74 -0
- package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/index.d.ts +195 -0
- package/dist/types/@webex/plugin-meetings/src/statsAnalyzer/mqaUtil.d.ts +24 -0
- package/dist/types/@webex/plugin-meetings/src/transcription/index.d.ts +64 -0
- package/dist/types/@webex/plugin-meetings/test/integration/spec/converged-space-meetings.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/integration/spec/journey.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/integration/spec/space-meeting.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/integration/spec/transcription.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/breakout.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/collection.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/request.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/breakouts/utils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/common/browser-detection.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/common/queue.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/controls-options-manager/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/controls-options-manager/util.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/fixture/locus.d.ts +332 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/controlsUtils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/embeddedAppsUtils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/infoUtils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/parser.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/selfConstant.d.ts +274 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/locus-info/selfUtils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/media/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/media/properties.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/effectsState.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/in-meeting-actions.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/muteState.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/request.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting/utils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/meetinginfov2.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/request.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/util.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meeting-info/utilv2.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/collection.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/meetings/utils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/member/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/member/util.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/members/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/members/request.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/members/utils.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/metrics/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/mediaRequestManager.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/receiveSlot.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/receiveSlotManager.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMedia.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMediaGroup.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/multistream/remoteMediaManager.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/networkQualityMonitor/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/personal-meeting-room/personal-meeting-room.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/reachability/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/reconnection-manager/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/recording-controller/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/recording-controller/util.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/request.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/roap/turnDiscovery.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/unit/spec/stats-analyzer/index.d.ts +1 -0
- package/dist/types/@webex/plugin-meetings/test/utils/cmr.d.ts +6 -0
- package/dist/types/@webex/plugin-meetings/test/utils/constants.d.ts +5 -0
- package/dist/types/@webex/plugin-meetings/test/utils/testUtils.d.ts +27 -0
- package/dist/types/@webex/plugin-meetings/test/utils/webex-config.d.ts +63 -0
- package/dist/types/@webex/plugin-meetings/test/utils/webex-test-users.d.ts +2 -0
- package/dist/types/@webex/plugin-memberships/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-memberships/src/memberships.d.ts +50 -0
- package/dist/types/@webex/plugin-memberships/test/integration/spec/memberships.d.ts +1 -0
- package/dist/types/@webex/plugin-messages/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-messages/src/messages.d.ts +58 -0
- package/dist/types/@webex/plugin-messages/test/integration/spec/messages.d.ts +1 -0
- package/dist/types/@webex/plugin-people/src/config.d.ts +9 -0
- package/dist/types/@webex/plugin-people/src/index.d.ts +1 -0
- package/dist/types/@webex/plugin-people/src/people-batcher.d.ts +6 -0
- package/dist/types/@webex/plugin-people/src/people.d.ts +30 -0
- package/dist/types/@webex/plugin-people/test/integration/spec/people.d.ts +1 -0
- package/dist/types/@webex/plugin-people/test/unit/spec/people-batcher.d.ts +1 -0
- package/dist/types/@webex/plugin-people/test/unit/spec/people.d.ts +1 -0
- package/dist/types/@webex/plugin-rooms/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-rooms/src/rooms.d.ts +41 -0
- package/dist/types/@webex/plugin-rooms/test/integration/spec/rooms.d.ts +1 -0
- package/dist/types/@webex/plugin-team-memberships/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-team-memberships/src/team-memberships.d.ts +49 -0
- package/dist/types/@webex/plugin-team-memberships/test/integration/spec/team-memberships.d.ts +1 -0
- package/dist/types/@webex/plugin-teams/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-teams/src/teams.d.ts +27 -0
- package/dist/types/@webex/plugin-teams/test/integration/spec/teams.d.ts +1 -0
- package/dist/types/@webex/plugin-webhooks/src/index.d.ts +2 -0
- package/dist/types/@webex/plugin-webhooks/src/webhooks.d.ts +48 -0
- package/dist/types/@webex/plugin-webhooks/test/integration/spec/webhooks.d.ts +1 -0
- package/dist/types/@webex/recipe-private-web-client/src/config.d.ts +10 -0
- package/dist/types/@webex/recipe-private-web-client/src/index.d.ts +8 -0
- package/dist/types/@webex/storage-adapter-local-forage/src/index.d.ts +35 -0
- package/dist/types/@webex/storage-adapter-local-forage/test/unit/spec/storage-adapter-local-forage.d.ts +1 -0
- package/dist/types/@webex/storage-adapter-local-storage/src/index.d.ts +66 -0
- package/dist/types/@webex/storage-adapter-local-storage/test/unit/spec/storage-adapter-local-storage.d.ts +1 -0
- package/dist/types/@webex/storage-adapter-session-storage/src/index.d.ts +66 -0
- package/dist/types/@webex/storage-adapter-session-storage/test/unit/spec/storage-adapter-session-storage.d.ts +1 -0
- package/dist/types/@webex/storage-adapter-spec/src/index.d.ts +1 -0
- package/dist/types/@webex/test-helper-appid/src/create-user.browser.d.ts +2 -0
- package/dist/types/@webex/test-helper-appid/src/create-user.d.ts +7 -0
- package/dist/types/@webex/test-helper-appid/src/index.d.ts +7 -0
- package/dist/types/@webex/test-helper-appid/src/router.d.ts +2 -0
- package/dist/types/@webex/test-helper-automation/src/index.d.ts +2 -0
- package/dist/types/@webex/test-helper-automation/src/wd/accept-grant.d.ts +1 -0
- package/dist/types/@webex/test-helper-automation/src/wd/login.d.ts +1 -0
- package/dist/types/@webex/test-helper-automation/src/wd/print-logs.d.ts +1 -0
- package/dist/types/@webex/test-helper-automation/src/wd/submit-password.d.ts +1 -0
- package/dist/types/@webex/test-helper-chai/src/assertions/index.d.ts +2 -0
- package/dist/types/@webex/test-helper-chai/src/assertions/primitives.d.ts +2 -0
- package/dist/types/@webex/test-helper-chai/src/assertions/schemas.d.ts +2 -0
- package/dist/types/@webex/test-helper-chai/src/assertions/should-to-assert.d.ts +2 -0
- package/dist/types/@webex/test-helper-chai/src/index.d.ts +2 -0
- package/dist/types/@webex/test-helper-file/src/file.d.ts +5 -0
- package/dist/types/@webex/test-helper-file/src/file.shim.d.ts +18 -0
- package/dist/types/@webex/test-helper-file/src/index.d.ts +2 -0
- package/dist/types/@webex/test-helper-make-local-url/src/index.d.ts +4 -0
- package/dist/types/@webex/test-helper-mocha/src/index.d.ts +29 -0
- package/dist/types/@webex/test-helper-mock-web-socket/src/index.d.ts +26 -0
- package/dist/types/@webex/test-helper-mock-webex/src/index.d.ts +7 -0
- package/dist/types/@webex/test-helper-refresh-callback/src/index.d.ts +10 -0
- package/dist/types/@webex/test-helper-retry/src/index.d.ts +15 -0
- package/dist/types/@webex/test-helper-server/src/cookies.d.ts +2 -0
- package/dist/types/@webex/test-helper-server/src/files.d.ts +2 -0
- package/dist/types/@webex/test-helper-server/src/form.d.ts +2 -0
- package/dist/types/@webex/test-helper-server/src/index.d.ts +1 -0
- package/dist/types/@webex/test-helper-server/src/json.d.ts +2 -0
- package/dist/types/@webex/test-helper-server/src/reflect.d.ts +10 -0
- package/dist/types/@webex/test-helper-test-users/src/index.d.ts +8 -0
- package/dist/types/@webex/test-users/src/index.d.ts +115 -0
- package/dist/types/@webex/test-users/src/whistler.d.ts +44 -0
- package/dist/types/@webex/test-users/test/integration/spec/index.d.ts +1 -0
- package/dist/types/@webex/test-users/test/integration/spec/whistler.d.ts +1 -0
- package/dist/types/@webex/webex-core/src/config.d.ts +39 -0
- package/dist/types/@webex/webex-core/src/credentials-config.d.ts +2 -0
- package/dist/types/@webex/webex-core/src/index.d.ts +24 -0
- package/dist/types/@webex/webex-core/src/interceptors/auth.d.ts +43 -0
- package/dist/types/@webex/webex-core/src/interceptors/default-options.d.ts +31 -0
- package/dist/types/@webex/webex-core/src/interceptors/embargo.d.ts +16 -0
- package/dist/types/@webex/webex-core/src/interceptors/network-timing.d.ts +30 -0
- package/dist/types/@webex/webex-core/src/interceptors/payload-transformer.d.ts +30 -0
- package/dist/types/@webex/webex-core/src/interceptors/rate-limit.d.ts +61 -0
- package/dist/types/@webex/webex-core/src/interceptors/redirect.d.ts +22 -0
- package/dist/types/@webex/webex-core/src/interceptors/request-event.d.ts +36 -0
- package/dist/types/@webex/webex-core/src/interceptors/request-logger.d.ts +22 -0
- package/dist/types/@webex/webex-core/src/interceptors/request-timing.d.ts +36 -0
- package/dist/types/@webex/webex-core/src/interceptors/response-logger.d.ts +30 -0
- package/dist/types/@webex/webex-core/src/interceptors/user-agent.d.ts +38 -0
- package/dist/types/@webex/webex-core/src/interceptors/webex-tracking-id.d.ts +26 -0
- package/dist/types/@webex/webex-core/src/interceptors/webex-user-agent.d.ts +22 -0
- package/dist/types/@webex/webex-core/src/lib/batcher.d.ts +6 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/credentials.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/grant-errors.d.ts +57 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/index.d.ts +4 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/scope.d.ts +16 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/token-collection.d.ts +2 -0
- package/dist/types/@webex/webex-core/src/lib/credentials/token.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/page.d.ts +76 -0
- package/dist/types/@webex/webex-core/src/lib/services/constants.d.ts +6 -0
- package/dist/types/@webex/webex-core/src/lib/services/index.d.ts +10 -0
- package/dist/types/@webex/webex-core/src/lib/services/interceptors/server-error.d.ts +16 -0
- package/dist/types/@webex/webex-core/src/lib/services/interceptors/service.d.ts +37 -0
- package/dist/types/@webex/webex-core/src/lib/services/metrics.d.ts +4 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-catalog.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-fed-ramp.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-host.d.ts +217 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-registry.d.ts +271 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-state.d.ts +46 -0
- package/dist/types/@webex/webex-core/src/lib/services/service-url.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/services/services.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/stateless-webex-plugin.d.ts +48 -0
- package/dist/types/@webex/webex-core/src/lib/storage/decorators.d.ts +15 -0
- package/dist/types/@webex/webex-core/src/lib/storage/errors.d.ts +10 -0
- package/dist/types/@webex/webex-core/src/lib/storage/index.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/lib/storage/make-webex-plugin-store.d.ts +8 -0
- package/dist/types/@webex/webex-core/src/lib/storage/make-webex-store.d.ts +48 -0
- package/dist/types/@webex/webex-core/src/lib/storage/memory-store-adapter.d.ts +18 -0
- package/dist/types/@webex/webex-core/src/lib/webex-core-plugin-mixin.d.ts +8 -0
- package/dist/types/@webex/webex-core/src/lib/webex-http-error.d.ts +12 -0
- package/dist/types/@webex/webex-core/src/lib/webex-internal-core-plugin-mixin.d.ts +8 -0
- package/dist/types/@webex/webex-core/src/lib/webex-plugin.d.ts +5 -0
- package/dist/types/@webex/webex-core/src/plugins/logger.d.ts +2 -0
- package/dist/types/@webex/webex-core/src/webex-core.d.ts +31 -0
- package/dist/types/@webex/webex-core/src/webex-internal-core.d.ts +7 -0
- package/dist/types/@webex/webex-core/test/integration/spec/credentials/credentials.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/integration/spec/credentials/token.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/integration/spec/services/service-catalog.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/integration/spec/services/services.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/integration/spec/webex-core.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/_setup.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/credentials/credentials.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/credentials/token.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/auth.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/default-options.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/embargo.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/network-timing.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/payload-transformer.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/rate-limit.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/redirect.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/request-timing.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/user-agent.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/webex-tracking-id.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/interceptors/webex-user-agent.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/lib/batcher.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/lib/page.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/lib/webex-plugin.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/interceptors/server-error.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/interceptors/service.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/service-catalog.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/service-host.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/service-registry.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/service-state.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/service-url.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/services/services.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/storage/persist.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/storage/storage-adapter.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/storage/wait-for-value.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/webex-core.d.ts +1 -0
- package/dist/types/@webex/webex-core/test/unit/spec/webex-internal-core.d.ts +1 -0
- package/dist/types/@webex/webrtc/src/analyzer.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/constants.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/extractor.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/generator.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/history.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/ice.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/index.d.ts +31 -0
- package/dist/types/@webex/webrtc/src/logger.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/parser.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/stats.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/transformer.d.ts +0 -0
- package/dist/types/@webex/webrtc/src/validator.d.ts +0 -0
- package/dist/types/@webex/xunit-with-logs/src/index.d.ts +43 -0
- package/dist/types/webex/browser.d.ts +5 -0
- package/dist/types/webex/env.d.ts +2 -0
- package/dist/types/webex/src/_setup.d.ts +1 -0
- package/dist/types/webex/src/config-storage.d.ts +5 -0
- package/dist/types/webex/src/config-storage.shim.d.ts +5 -0
- package/dist/types/webex/src/config.d.ts +17 -0
- package/dist/types/webex/src/index.d.ts +11 -0
- package/dist/types/webex/src/webex.d.ts +9 -0
- package/dist/types/webex/test/integration/spec/commonjs.d.ts +1 -0
- package/dist/types/webex/test/integration/spec/env.d.ts +1 -0
- package/dist/types/webex/test/integration/spec/init.d.ts +1 -0
- package/dist/types/webex/test/integration/spec/request.d.ts +1 -0
- package/dist/types/webex/test/unit/spec/webex.d.ts +1 -0
- package/dist/types/webex/umd/webex.min.d.ts +2 -0
- package/package.json +2 -2
- package/src/assertions/literal.js +4 -7
- package/src/extract.js +28 -26
- package/src/index.js +1 -1
- package/src/mocha-template.js +2 -2
- package/src/parse.js +23 -20
- package/src/transform.js +10 -14
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export = reflect;
|
|
2
|
+
/*!
|
|
3
|
+
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* @param {http.IncomingMessage} req
|
|
7
|
+
* @param {http.ServerResponse} res
|
|
8
|
+
* @returns {undefined}
|
|
9
|
+
*/
|
|
10
|
+
declare function reflect(req: http.IncomingMessage, res: http.ServerResponse): undefined;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} AccessTokenObject
|
|
3
|
+
* @property {string} token.access_token
|
|
4
|
+
* @property {Number} token.expires_in
|
|
5
|
+
* @property {string} token.token_type
|
|
6
|
+
* @property {string} token.refresh_token
|
|
7
|
+
* @property {Number} token.refresh_token_expires_in
|
|
8
|
+
* @property {string} token.expires
|
|
9
|
+
* @property {string} token.refresh_token_expires
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @typedef {Object} CreateUserOptions
|
|
13
|
+
* @property {boolean} [authCodeOnly] generates auth_code
|
|
14
|
+
* @param {string} [clientId] defaults to WEBEX_CLIENT_ID
|
|
15
|
+
* @param {string} [clientSecret] defaults to WEBEX_CLIENT_SECRET
|
|
16
|
+
* @param {string} [cigServiceUrl] defaults to WEBEX_TEST_USERS_CI_GATEWAY_SERVICE_URL
|
|
17
|
+
* @property {string} [displayName]
|
|
18
|
+
* @property {string} [emailAddress]
|
|
19
|
+
* @property {Array.<string>} [entitlements]
|
|
20
|
+
* @param {string} [idbrokerUrl] defaults to IDBROKER_BASE_URL
|
|
21
|
+
* @property {string} [machineType] used when creating a machine user/device
|
|
22
|
+
* @property {string} [orgId] organization ID to create the user under
|
|
23
|
+
* @property {string} [password] defaults to a random password
|
|
24
|
+
* @property {string} [roles] defaults to []
|
|
25
|
+
* @property {string} [scope] defaults to WEBEX_SCOPE
|
|
26
|
+
* @property {string} [type] used to create a machine
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* @typedef {Object} TestUserObject
|
|
30
|
+
* @property {string} password
|
|
31
|
+
* @property {string} emailAddress
|
|
32
|
+
* @property {string} displayName
|
|
33
|
+
* @property {string} id
|
|
34
|
+
* @property {string} userName
|
|
35
|
+
* @property {string} email
|
|
36
|
+
* @property {string} name
|
|
37
|
+
* @property {string} givenName
|
|
38
|
+
* @property {string} type
|
|
39
|
+
* @property {Array.<string>} entitlements
|
|
40
|
+
* @property {string} orgId
|
|
41
|
+
* @property {AccessTokenObject} token
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Creates a test user
|
|
45
|
+
* @param {CreateUserOptions} options
|
|
46
|
+
* @returns {Promise.<TestUserObject>}
|
|
47
|
+
*/
|
|
48
|
+
export function createTestUser(options?: CreateUserOptions): Promise<TestUserObject>;
|
|
49
|
+
/**
|
|
50
|
+
* Exchanges a user name/password for an access token
|
|
51
|
+
* @param {Object} options
|
|
52
|
+
* @param {string} options.id
|
|
53
|
+
* @param {string} options.email
|
|
54
|
+
* @param {string} options.password
|
|
55
|
+
* @param {string} options.clientId
|
|
56
|
+
* @param {string} options.clientSecret
|
|
57
|
+
* @param {string} options.cigServiceUrl
|
|
58
|
+
* @returns {Promise.<AccessTokenObject>}
|
|
59
|
+
*/
|
|
60
|
+
export function loginTestUser(options: {
|
|
61
|
+
id: string;
|
|
62
|
+
email: string;
|
|
63
|
+
password: string;
|
|
64
|
+
clientId: string;
|
|
65
|
+
clientSecret: string;
|
|
66
|
+
cigServiceUrl: string;
|
|
67
|
+
}): Promise<AccessTokenObject>;
|
|
68
|
+
/**
|
|
69
|
+
* Removes a test user
|
|
70
|
+
* @param {Object} options
|
|
71
|
+
* @param {string} options.id user id to remove
|
|
72
|
+
* @param {string} options.cigServiceUrl
|
|
73
|
+
* @param {Object} options.token
|
|
74
|
+
* @param {string} options.token.authorization
|
|
75
|
+
* @param {string} [options.token.refresh_token]
|
|
76
|
+
* @returns {Promise}
|
|
77
|
+
*/
|
|
78
|
+
export function removeTestUser(options?: {
|
|
79
|
+
id: string;
|
|
80
|
+
cigServiceUrl: string;
|
|
81
|
+
token: {
|
|
82
|
+
authorization: string;
|
|
83
|
+
refresh_token?: string;
|
|
84
|
+
};
|
|
85
|
+
}): Promise<any>;
|
|
86
|
+
export type AccessTokenObject = {
|
|
87
|
+
access_token: string;
|
|
88
|
+
expires_in: number;
|
|
89
|
+
token_type: string;
|
|
90
|
+
refresh_token: string;
|
|
91
|
+
refresh_token_expires_in: number;
|
|
92
|
+
expires: string;
|
|
93
|
+
refresh_token_expires: string;
|
|
94
|
+
};
|
|
95
|
+
export type CreateUserOptions = {
|
|
96
|
+
/**
|
|
97
|
+
* generates auth_code
|
|
98
|
+
*/
|
|
99
|
+
authCodeOnly?: boolean;
|
|
100
|
+
};
|
|
101
|
+
export type TestUserObject = {
|
|
102
|
+
password: string;
|
|
103
|
+
emailAddress: string;
|
|
104
|
+
displayName: string;
|
|
105
|
+
id: string;
|
|
106
|
+
userName: string;
|
|
107
|
+
email: string;
|
|
108
|
+
name: string;
|
|
109
|
+
givenName: string;
|
|
110
|
+
type: string;
|
|
111
|
+
entitlements: Array<string>;
|
|
112
|
+
orgId: string;
|
|
113
|
+
token: AccessTokenObject;
|
|
114
|
+
};
|
|
115
|
+
export { default as createWhistlerTestUser, removeTestUser as removeWhistlerTestUser } from "./whistler";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} TestUserObject
|
|
3
|
+
* @property {string} password
|
|
4
|
+
* @property {string} emailAddress
|
|
5
|
+
* @property {string} displayName
|
|
6
|
+
* @property {string} token
|
|
7
|
+
* @property {string} reservationUrl
|
|
8
|
+
* @property {object} responseMetaData - whistler given properties
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @typedef {Object} CreateUserOptions
|
|
12
|
+
* @param {Object} [options]
|
|
13
|
+
* @param {string} [whistlerServiceUrl] defaults to WHISTLER_API_SERVICE_URL
|
|
14
|
+
* @param {string} [options.clientId] defaults to WEBEX_CLIENT_ID
|
|
15
|
+
* @param {string} [options.clientSecret] defaults to WEBEX_CLIENT_SECRET
|
|
16
|
+
* @param {string} [options.idbrokerUrl] defaults to IDBROKER_BASE_URL
|
|
17
|
+
* @param {string} [options.orgId] organization ID to create the user under
|
|
18
|
+
* @param {string} [options.machineAccount] defaults to WHISTLER_MACHINE_ACCOUNT
|
|
19
|
+
* @param {string} [options.machinePassword] defaults to WHISTLER_MACHINE_PASSWORD
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Creates a test user
|
|
23
|
+
* @param {CreateUserOptions} options
|
|
24
|
+
* @returns {Promise.<TestUserObject>}
|
|
25
|
+
*/
|
|
26
|
+
export default function createTestUser(options?: CreateUserOptions): Promise<TestUserObject>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {Object} options
|
|
30
|
+
* @returns {Promise}
|
|
31
|
+
*/
|
|
32
|
+
export function removeTestUser(options?: any): Promise<any>;
|
|
33
|
+
export type TestUserObject = {
|
|
34
|
+
password: string;
|
|
35
|
+
emailAddress: string;
|
|
36
|
+
displayName: string;
|
|
37
|
+
token: string;
|
|
38
|
+
reservationUrl: string;
|
|
39
|
+
/**
|
|
40
|
+
* - whistler given properties
|
|
41
|
+
*/
|
|
42
|
+
responseMetaData: object;
|
|
43
|
+
};
|
|
44
|
+
export type CreateUserOptions = any;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
const maxAppLevelRedirects: number;
|
|
3
|
+
const maxLocusRedirects: number;
|
|
4
|
+
const maxAuthenticationReplays: number;
|
|
5
|
+
const maxReconnectAttempts: number;
|
|
6
|
+
const onBeforeLogout: any[];
|
|
7
|
+
const trackingIdPrefix: string;
|
|
8
|
+
const trackingIdSuffix: string;
|
|
9
|
+
const AlternateLogger: any;
|
|
10
|
+
const credentials: any;
|
|
11
|
+
const fedramp: string | boolean;
|
|
12
|
+
namespace services {
|
|
13
|
+
const discovery: any;
|
|
14
|
+
const validateDomains: boolean;
|
|
15
|
+
const servicesNotNeedValidation: string[];
|
|
16
|
+
const allowedDomains: Array<string>;
|
|
17
|
+
}
|
|
18
|
+
namespace device {
|
|
19
|
+
export namespace preDiscoveryServices {
|
|
20
|
+
const hydra: string;
|
|
21
|
+
const hydraServiceUrl: string;
|
|
22
|
+
}
|
|
23
|
+
const validateDomains_1: boolean;
|
|
24
|
+
export { validateDomains_1 as validateDomains };
|
|
25
|
+
}
|
|
26
|
+
namespace metrics {
|
|
27
|
+
const type: string[];
|
|
28
|
+
}
|
|
29
|
+
namespace payloadTransformer {
|
|
30
|
+
const predicates: any[];
|
|
31
|
+
const transforms: any[];
|
|
32
|
+
}
|
|
33
|
+
namespace storage {
|
|
34
|
+
export { MemoryStoreAdapter as boundedAdapter };
|
|
35
|
+
export { MemoryStoreAdapter as unboundedAdapter };
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export default _default;
|
|
39
|
+
import { MemoryStoreAdapter } from "./lib/storage";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export { default as WebexHttpError } from "./lib/webex-http-error";
|
|
2
|
+
export { default as StatelessWebexPlugin } from "./lib/stateless-webex-plugin";
|
|
3
|
+
export { default as WebexPlugin } from "./lib/webex-plugin";
|
|
4
|
+
export { default as AuthInterceptor } from "./interceptors/auth";
|
|
5
|
+
export { default as NetworkTimingInterceptor } from "./interceptors/network-timing";
|
|
6
|
+
export { default as PayloadTransformerInterceptor } from "./interceptors/payload-transformer";
|
|
7
|
+
export { default as RedirectInterceptor } from "./interceptors/redirect";
|
|
8
|
+
export { default as ResponseLoggerInterceptor } from "./interceptors/response-logger";
|
|
9
|
+
export { default as RequestEventInterceptor } from "./interceptors/request-event";
|
|
10
|
+
export { default as RequestLoggerInterceptor } from "./interceptors/request-logger";
|
|
11
|
+
export { default as RequestTimingInterceptor } from "./interceptors/request-timing";
|
|
12
|
+
export { default as UserAgentInterceptor } from "./interceptors/user-agent";
|
|
13
|
+
export { default as WebexTrackingIdInterceptor } from "./interceptors/webex-tracking-id";
|
|
14
|
+
export { default as WebexUserAgentInterceptor } from "./interceptors/webex-user-agent";
|
|
15
|
+
export { default as RateLimitInterceptor } from "./interceptors/rate-limit";
|
|
16
|
+
export { default as EmbargoInterceptor } from "./interceptors/embargo";
|
|
17
|
+
export { default as DefaultOptionsInterceptor } from "./interceptors/default-options";
|
|
18
|
+
export { default as Batcher } from "./lib/batcher";
|
|
19
|
+
export { default as Page } from "./lib/page";
|
|
20
|
+
export { default as config } from "./config";
|
|
21
|
+
export { Credentials, filterScope, grantErrors, sortScope, Token } from "./lib/credentials";
|
|
22
|
+
export { constants as serviceConstants, ServiceCatalog, ServiceRegistry, ServiceState, ServiceInterceptor, ServerErrorInterceptor, Services, ServiceHost, ServiceUrl } from "./lib/services";
|
|
23
|
+
export { makeWebexStore, makeWebexPluginStore, MemoryStoreAdapter, NotFoundError, persist, StorageError, waitForValue } from "./lib/storage";
|
|
24
|
+
export { default, registerPlugin, registerInternalPlugin } from "./webex-core";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class AuthInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {AuthInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): AuthInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see {@link Interceptor#onRequest}
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @returns {Object}
|
|
13
|
+
*/
|
|
14
|
+
onRequest(options: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* Determines if the provided options object needs an authorization header.
|
|
17
|
+
*
|
|
18
|
+
* @param {Object} options
|
|
19
|
+
* @returns {Promise<boolean>}
|
|
20
|
+
*/
|
|
21
|
+
requiresCredentials(options: any): Promise<boolean>;
|
|
22
|
+
/**
|
|
23
|
+
* @see {@link Interceptor#onResponseError}
|
|
24
|
+
* @param {Object} options
|
|
25
|
+
* @param {Error} reason
|
|
26
|
+
* @returns {Object}
|
|
27
|
+
*/
|
|
28
|
+
onResponseError(options: any, reason: Error): any;
|
|
29
|
+
/**
|
|
30
|
+
* Replays the request
|
|
31
|
+
* @param {Object} options
|
|
32
|
+
* @returns {Object}
|
|
33
|
+
*/
|
|
34
|
+
replay(options: any): any;
|
|
35
|
+
/**
|
|
36
|
+
* Indicates whether or not the current request should refresh its access
|
|
37
|
+
* token in event of a 401
|
|
38
|
+
* @param {Error} reason
|
|
39
|
+
* @param {Object} options
|
|
40
|
+
* @returns {Promise<boolean>}
|
|
41
|
+
*/
|
|
42
|
+
shouldAttemptReauth(reason: Error, options: any): Promise<boolean>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Allows the user of the SDK to set default options that apply every http request made by the SDK
|
|
3
|
+
* For example a default timeout could be set for all requests like this :
|
|
4
|
+
*
|
|
5
|
+
* webex = WebexSdk.init({
|
|
6
|
+
* credentials: {
|
|
7
|
+
* supertoken: superToken
|
|
8
|
+
* },
|
|
9
|
+
* config: {
|
|
10
|
+
* credentials: {
|
|
11
|
+
* client_id,
|
|
12
|
+
* client_secret
|
|
13
|
+
* },
|
|
14
|
+
* defaultRequestOptions: {
|
|
15
|
+
* timeout: 15000
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* });
|
|
19
|
+
*/
|
|
20
|
+
export default class DefaultOptionsInterceptor {
|
|
21
|
+
/**
|
|
22
|
+
* @returns {DefaultOptionsInterceptor}
|
|
23
|
+
*/
|
|
24
|
+
static create(): DefaultOptionsInterceptor;
|
|
25
|
+
/**
|
|
26
|
+
* @see Interceptor#onRequest
|
|
27
|
+
* @param {Object} options
|
|
28
|
+
* @returns {Object}
|
|
29
|
+
*/
|
|
30
|
+
onRequest(options: any): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class EmbargoInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {EmbargoInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): EmbargoInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see Interceptor#onResponseError
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @param {Error} reason
|
|
13
|
+
* @returns {Promise}
|
|
14
|
+
*/
|
|
15
|
+
onResponseError(options: any, reason: Error): Promise<any>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class NetworkTimingInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @param {Object} options
|
|
7
|
+
* @returns {NetworkTimingInterceptor}
|
|
8
|
+
*/
|
|
9
|
+
static create(options: any): NetworkTimingInterceptor;
|
|
10
|
+
/**
|
|
11
|
+
* @see Interceptor#onRequest
|
|
12
|
+
* @param {Object} options
|
|
13
|
+
* @returns {Object}
|
|
14
|
+
*/
|
|
15
|
+
onRequest(options: any): any;
|
|
16
|
+
/**
|
|
17
|
+
* @see Interceptor#onResponse
|
|
18
|
+
* @param {Object} options
|
|
19
|
+
* @param {HttpResponse} response
|
|
20
|
+
* @returns {Object}
|
|
21
|
+
*/
|
|
22
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
23
|
+
/**
|
|
24
|
+
* @see Interceptor#onResponseError
|
|
25
|
+
* @param {Object} options
|
|
26
|
+
* @param {Error} reason
|
|
27
|
+
* @returns {Object}
|
|
28
|
+
*/
|
|
29
|
+
onResponseError(options: any, reason: Error): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class PayloadTransformerInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @param {Object} options
|
|
7
|
+
* @returns {PayloadTransformerInterceptor}
|
|
8
|
+
*/
|
|
9
|
+
static create(): PayloadTransformerInterceptor;
|
|
10
|
+
/**
|
|
11
|
+
* @see Interceptor#onRequest
|
|
12
|
+
* @param {Object} options
|
|
13
|
+
* @returns {Object}
|
|
14
|
+
*/
|
|
15
|
+
onRequest(options: any): any;
|
|
16
|
+
/**
|
|
17
|
+
* @see Interceptor#onResponse
|
|
18
|
+
* @param {Object} options
|
|
19
|
+
* @param {HttpResponse} response
|
|
20
|
+
* @returns {Object}
|
|
21
|
+
*/
|
|
22
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
23
|
+
/**
|
|
24
|
+
* @see Interceptor#onResponseError
|
|
25
|
+
* @param {Object} options
|
|
26
|
+
* @param {Error} reason
|
|
27
|
+
* @returns {Object}
|
|
28
|
+
*/
|
|
29
|
+
onResponseError(options: any, reason: Error): any;
|
|
30
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class RateLimitInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {RateLimitInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): RateLimitInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* constructor
|
|
11
|
+
* @param {mixed} args
|
|
12
|
+
* @returns {Exception}
|
|
13
|
+
*/
|
|
14
|
+
constructor(...args: mixed);
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link Interceptor#onRequest}
|
|
17
|
+
* @param {Object} options
|
|
18
|
+
* @returns {Object}
|
|
19
|
+
*/
|
|
20
|
+
onRequest(options: any): any;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link Interceptor#onResponseError}
|
|
23
|
+
* @param {Object} options
|
|
24
|
+
* @param {Error} reason
|
|
25
|
+
* @returns {Object}
|
|
26
|
+
*/
|
|
27
|
+
onResponseError(options: any, reason: Error): any;
|
|
28
|
+
/**
|
|
29
|
+
* @param {object} options associated with the request
|
|
30
|
+
* @returns {number} retry after time in milliseconds
|
|
31
|
+
*/
|
|
32
|
+
extractRetryAfterTime(options: object): number;
|
|
33
|
+
/**
|
|
34
|
+
* Set the system time at which the rate limiting
|
|
35
|
+
* will expire in the rateLimitExpiryTime map.
|
|
36
|
+
* Assumes retryAfter is in milliseconds
|
|
37
|
+
* @param {string} uri API issuing the rate limiting
|
|
38
|
+
* @param {number} retryAfter milliseconds until rate limiting expires
|
|
39
|
+
* @returns {bool} true is value was successfully set
|
|
40
|
+
*/
|
|
41
|
+
setRateLimitExpiry(uri: string, retryAfter: number): bool;
|
|
42
|
+
/**
|
|
43
|
+
* returns true if the API is currently rate limited
|
|
44
|
+
* @param {string} uri
|
|
45
|
+
* @returns {Boolean} indicates whether or not the API is rate currently rate limited
|
|
46
|
+
*/
|
|
47
|
+
getRateLimitStatus(uri: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* split the URI and returns the API name of idBroker
|
|
50
|
+
* @param {string} uri
|
|
51
|
+
* @returns {string}
|
|
52
|
+
*/
|
|
53
|
+
getApiName(uri: string): string;
|
|
54
|
+
/**
|
|
55
|
+
* check URI against list of currently rate limited
|
|
56
|
+
* URIs, and determines if retry-after
|
|
57
|
+
* @param {String} uri pattern to check
|
|
58
|
+
* @returns {bool}
|
|
59
|
+
*/
|
|
60
|
+
isRateLimited(uri: string): bool;
|
|
61
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class RedirectInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {RedirectInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): RedirectInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see Interceptor#onRequest
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @returns {Object}
|
|
13
|
+
*/
|
|
14
|
+
onRequest(options: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* @see Interceptor#onResponse
|
|
17
|
+
* @param {Object} options
|
|
18
|
+
* @param {HttpResponse} response
|
|
19
|
+
* @returns {Object}
|
|
20
|
+
*/
|
|
21
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class RequestEventInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {RequestEventInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): RequestEventInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see Interceptor#onRequest
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @returns {Object}
|
|
13
|
+
*/
|
|
14
|
+
onRequest(options: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* @see Interceptor#onRequest
|
|
17
|
+
* @param {Object} options
|
|
18
|
+
* @param {Error} reason
|
|
19
|
+
* @returns {Object}
|
|
20
|
+
*/
|
|
21
|
+
onRequestError(options: any, reason: Error): any;
|
|
22
|
+
/**
|
|
23
|
+
* @see Interceptor#onResponse
|
|
24
|
+
* @param {Object} options
|
|
25
|
+
* @param {HttpResponse} response
|
|
26
|
+
* @returns {Object}
|
|
27
|
+
*/
|
|
28
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
29
|
+
/**
|
|
30
|
+
* @see Interceptor#onResponseError
|
|
31
|
+
* @param {Object} options
|
|
32
|
+
* @param {Error} reason
|
|
33
|
+
* @returns {Object}
|
|
34
|
+
*/
|
|
35
|
+
onResponseError(options: any, reason: Error): any;
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class RequestLoggerInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {RequestLoggerInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): RequestLoggerInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see Interceptor#onRequest
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @returns {Object}
|
|
13
|
+
*/
|
|
14
|
+
onRequest(options: any): any;
|
|
15
|
+
/**
|
|
16
|
+
* @see Interceptor#onRequest
|
|
17
|
+
* @param {Object} options
|
|
18
|
+
* @param {Error} reason
|
|
19
|
+
* @returns {Object}
|
|
20
|
+
*/
|
|
21
|
+
onRequestError(options: any, reason: Error): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class RequestTimingInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @param {Object} options
|
|
7
|
+
* @returns {RequestTimingInterceptor}
|
|
8
|
+
*/
|
|
9
|
+
static create(options: any): RequestTimingInterceptor;
|
|
10
|
+
/**
|
|
11
|
+
* @see Interceptor#onRequest
|
|
12
|
+
* @param {Object} options
|
|
13
|
+
* @returns {Object}
|
|
14
|
+
*/
|
|
15
|
+
onRequest(options: any): any;
|
|
16
|
+
/**
|
|
17
|
+
* @see Interceptor#onRequestError
|
|
18
|
+
* @param {Object} options
|
|
19
|
+
* @returns {Object}
|
|
20
|
+
*/
|
|
21
|
+
onRequestError(options: any): any;
|
|
22
|
+
/**
|
|
23
|
+
* @see Interceptor#onResponse
|
|
24
|
+
* @param {Object} options
|
|
25
|
+
* @param {HttpResponse} response
|
|
26
|
+
* @returns {Object}
|
|
27
|
+
*/
|
|
28
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
29
|
+
/**
|
|
30
|
+
* @see Interceptor#onResponseError
|
|
31
|
+
* @param {Object} options
|
|
32
|
+
* @param {Error} reason
|
|
33
|
+
* @returns {Object}
|
|
34
|
+
*/
|
|
35
|
+
onResponseError(options: any, reason: Error): any;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @class
|
|
3
|
+
*/
|
|
4
|
+
export default class ResponseLoggerInterceptor {
|
|
5
|
+
/**
|
|
6
|
+
* @returns {ResponseLoggerInterceptor}
|
|
7
|
+
*/
|
|
8
|
+
static create(): ResponseLoggerInterceptor;
|
|
9
|
+
/**
|
|
10
|
+
* @see Interceptor#onRequest
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
* @param {HttpResponse} response
|
|
13
|
+
* @returns {Object}
|
|
14
|
+
*/
|
|
15
|
+
onResponse(options: any, response: HttpResponse): any;
|
|
16
|
+
/**
|
|
17
|
+
* @see Interceptor#onRequest
|
|
18
|
+
* @param {Object} options
|
|
19
|
+
* @param {Object} reason
|
|
20
|
+
* @returns {Object}
|
|
21
|
+
*/
|
|
22
|
+
onResponseError(options: any, reason: any): any;
|
|
23
|
+
/**
|
|
24
|
+
* Prints the basic header
|
|
25
|
+
* @param {Object} options
|
|
26
|
+
* @param {HttpResponse|WebexHttpError} response
|
|
27
|
+
* @returns {undefined}
|
|
28
|
+
*/
|
|
29
|
+
printResponseHeader(options: any, response: HttpResponse | WebexHttpError): undefined;
|
|
30
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sets a 'user-agent' header on all requests if one is not present.
|
|
3
|
+
* Defaults to '@webex/http-core' though a custom user-agent can be set
|
|
4
|
+
* using the appName and appVersion configuration. e.g.
|
|
5
|
+
*
|
|
6
|
+
* webex = WebexSdk.init({
|
|
7
|
+
* credentials: {
|
|
8
|
+
* supertoken: superToken
|
|
9
|
+
* },
|
|
10
|
+
* config: {
|
|
11
|
+
* credentials: {
|
|
12
|
+
* client_id,
|
|
13
|
+
* client_secret
|
|
14
|
+
* },
|
|
15
|
+
* appName: 'custom-user-agent',
|
|
16
|
+
* appVersion: '1.0',
|
|
17
|
+
* }
|
|
18
|
+
* });
|
|
19
|
+
*/
|
|
20
|
+
export default class UserAgentInterceptor {
|
|
21
|
+
/**
|
|
22
|
+
* @returns {UserAgentInterceptor}
|
|
23
|
+
*/
|
|
24
|
+
static create(): UserAgentInterceptor;
|
|
25
|
+
/**
|
|
26
|
+
* @param {Object} [options={}]
|
|
27
|
+
* @param {WebexCore} [options.webex]
|
|
28
|
+
* @private
|
|
29
|
+
* @returns {UserAgentInterceptor}
|
|
30
|
+
*/
|
|
31
|
+
private constructor();
|
|
32
|
+
/**
|
|
33
|
+
* @see Interceptor#onRequest
|
|
34
|
+
* @param {Object} options
|
|
35
|
+
* @returns {Object}
|
|
36
|
+
*/
|
|
37
|
+
onRequest(options: any): any;
|
|
38
|
+
}
|